var OLloaded=0,pmCnt=1,pMtr=new Array(),OLv,OLudf,OLrefXY;
var OLpct=new Array("83%","67%","83%","100%","117%","150%","200%","267%");
var OLbubblePI=0,OLcrossframePI=0,OLdebugPI=0,OLdraggablePI=0,OLexclusivePI=0,OLfilterPI=0;
var OLfunctionPI=0,OLhidePI=0,OLiframePI=0,OLovertwoPI=0,OLscrollPI=0,OLshadowPI=0;
if(typeof OLgateOK=="undefined"){
var OLgateOK=1;
}
var OLxPos=0;
var OLyPos=0;
OLregCmds("inarray,caparray,caption,sticky,nofollow,background,noclose,mouseoff,offdelay,right,left,"+"center,offsetx,offsety,fgcolor,bgcolor,cgcolor,textcolor,capcolor,closecolor,width,wrap,"+"wrapmax,height,border,base,status,autostatus,autostatuscap,snapx,snapy,fixx,fixy,relx,rely,"+"midx,midy,ref,refc,refp,refx,refy,fgbackground,bgbackground,cgbackground,padx,pady,fullhtml,"+"below,above,vcenter,capicon,textfont,captionfont,closefont,textsize,captionsize,closesize,"+"timeout,delay,hauto,vauto,nojustx,nojusty,closetext,closeclick,closetitle,fgclass,bgclass,"+"cgclass,capbelow,textpadding,textfontclass,captionpadding,captionfontclass,closefontclass,"+"donothing,divid,divclass");
if(typeof ol_divid=="undefined"){
var ol_divid="overDiv";
}
if(typeof ol_divclass=="undefined"){
var ol_divclass="overDiv";
}
if(typeof ol_fgcolor=="undefined"){
var ol_fgcolor="#CCCCFF";
}
if(typeof ol_bgcolor=="undefined"){
var ol_bgcolor="#333399";
}
if(typeof ol_cgcolor=="undefined"){
var ol_cgcolor="#333399";
}
if(typeof ol_textcolor=="undefined"){
var ol_textcolor="#000000";
}
if(typeof ol_capcolor=="undefined"){
var ol_capcolor="#FFFFFF";
}
if(typeof ol_closecolor=="undefined"){
var ol_closecolor="#EEEEFF";
}
if(typeof ol_textfont=="undefined"){
var ol_textfont="Verdana,Arial,Helvetica";
}
if(typeof ol_captionfont=="undefined"){
var ol_captionfont="Verdana,Arial,Helvetica";
}
if(typeof ol_closefont=="undefined"){
var ol_closefont="Verdana,Arial,Helvetica";
}
if(typeof ol_textsize=="undefined"){
var ol_textsize=1;
}
if(typeof ol_captionsize=="undefined"){
var ol_captionsize=1;
}
if(typeof ol_closesize=="undefined"){
var ol_closesize=1;
}
if(typeof ol_fgclass=="undefined"){
var ol_fgclass="";
}
if(typeof ol_bgclass=="undefined"){
var ol_bgclass="";
}
if(typeof ol_cgclass=="undefined"){
var ol_cgclass="";
}
if(typeof ol_textpadding=="undefined"){
var ol_textpadding=2;
}
if(typeof ol_textfontclass=="undefined"){
var ol_textfontclass="";
}
if(typeof ol_captionpadding=="undefined"){
var ol_captionpadding=2;
}
if(typeof ol_captionfontclass=="undefined"){
var ol_captionfontclass="";
}
if(typeof ol_closefontclass=="undefined"){
var ol_closefontclass="";
}
if(typeof ol_close=="undefined"){
var ol_close="Close";
}
if(typeof ol_closeclick=="undefined"){
var ol_closeclick=0;
}
if(typeof ol_closetitle=="undefined"){
var ol_closetitle="Click to Close";
}
if(typeof ol_text=="undefined"){
var ol_text="Default Text";
}
if(typeof ol_cap=="undefined"){
var ol_cap="";
}
if(typeof ol_capbelow=="undefined"){
var ol_capbelow=0;
}
if(typeof ol_background=="undefined"){
var ol_background="";
}
if(typeof ol_width=="undefined"){
var ol_width=200;
}
if(typeof ol_wrap=="undefined"){
var ol_wrap=0;
}
if(typeof ol_wrapmax=="undefined"){
var ol_wrapmax=0;
}
if(typeof ol_height=="undefined"){
var ol_height=-1;
}
if(typeof ol_border=="undefined"){
var ol_border=1;
}
if(typeof ol_base=="undefined"){
var ol_base=0;
}
if(typeof ol_offsetx=="undefined"){
var ol_offsetx=10;
}
if(typeof ol_offsety=="undefined"){
var ol_offsety=10;
}
if(typeof ol_sticky=="undefined"){
var ol_sticky=0;
}
if(typeof ol_nofollow=="undefined"){
var ol_nofollow=0;
}
if(typeof ol_noclose=="undefined"){
var ol_noclose=0;
}
if(typeof ol_mouseoff=="undefined"){
var ol_mouseoff=0;
}
if(typeof ol_offdelay=="undefined"){
var ol_offdelay=300;
}
if(typeof ol_hpos=="undefined"){
var ol_hpos=RIGHT;
}
if(typeof ol_vpos=="undefined"){
var ol_vpos=BELOW;
}
if(typeof ol_status=="undefined"){
var ol_status="";
}
if(typeof ol_autostatus=="undefined"){
var ol_autostatus=0;
}
if(typeof ol_snapx=="undefined"){
var ol_snapx=0;
}
if(typeof ol_snapy=="undefined"){
var ol_snapy=0;
}
if(typeof ol_fixx=="undefined"){
var ol_fixx=-1;
}
if(typeof ol_fixy=="undefined"){
var ol_fixy=-1;
}
if(typeof ol_relx=="undefined"){
var ol_relx=null;
}
if(typeof ol_rely=="undefined"){
var ol_rely=null;
}
if(typeof ol_midx=="undefined"){
var ol_midx=null;
}
if(typeof ol_midy=="undefined"){
var ol_midy=null;
}
if(typeof ol_ref=="undefined"){
var ol_ref="";
}
if(typeof ol_refc=="undefined"){
var ol_refc="UL";
}
if(typeof ol_refp=="undefined"){
var ol_refp="UL";
}
if(typeof ol_refx=="undefined"){
var ol_refx=0;
}
if(typeof ol_refy=="undefined"){
var ol_refy=0;
}
if(typeof ol_fgbackground=="undefined"){
var ol_fgbackground="";
}
if(typeof ol_bgbackground=="undefined"){
var ol_bgbackground="";
}
if(typeof ol_cgbackground=="undefined"){
var ol_cgbackground="";
}
if(typeof ol_padxl=="undefined"){
var ol_padxl=1;
}
if(typeof ol_padxr=="undefined"){
var ol_padxr=1;
}
if(typeof ol_padyt=="undefined"){
var ol_padyt=1;
}
if(typeof ol_padyb=="undefined"){
var ol_padyb=1;
}
if(typeof ol_fullhtml=="undefined"){
var ol_fullhtml=0;
}
if(typeof ol_capicon=="undefined"){
var ol_capicon="";
}
if(typeof ol_frame=="undefined"){
var ol_frame=self;
}
if(typeof ol_timeout=="undefined"){
var ol_timeout=0;
}
if(typeof ol_delay=="undefined"){
var ol_delay=0;
}
if(typeof ol_hauto=="undefined"){
var ol_hauto=0;
}
if(typeof ol_vauto=="undefined"){
var ol_vauto=0;
}
if(typeof ol_nojustx=="undefined"){
var ol_nojustx=0;
}
if(typeof ol_nojusty=="undefined"){
var ol_nojusty=0;
}
if(typeof ol_texts=="undefined"){
var ol_texts=new Array("Text 0","Text 1");
}
if(typeof ol_caps=="undefined"){
var ol_caps=new Array("Caption 0","Caption 1");
}
var o3_divid="overDiv",o3_divclass="overDiv",o3_text="",o3_cap="",o3_sticky=0,o3_nofollow=0,o3_background="",o3_noclose=0,o3_mouseoff=0;
var o3_offdelay=300,o3_hpos=RIGHT,o3_offsetx=10,o3_offsety=10,o3_fgcolor="",o3_bgcolor="";
var o3_cgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",o3_width=200,o3_wrap=0;
var o3_wrapmax=0,o3_height=-1,o3_border=1,o3_base=0,o3_status="",o3_autostatus=0,o3_snapx=0;
var o3_snapy=0,o3_fixx=-1,o3_fixy=-1,o3_relx=null,o3_rely=null,o3_midx=null,o3_midy=null;
var o3_ref="",o3_refc="UL",o3_refp="UL",o3_refx=0,o3_refy=0,o3_fgbackground="";
var o3_bgbackground="",o3_cgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0;
var o3_fullhtml=0,o3_vpos=BELOW,o3_capicon="",o3_textfont="Verdana,Arial,Helvetica";
var o3_captionfont="Verdana,Arial,Helvetica",o3_closefont="Verdana,Arial,Helvetica";
var o3_textsize=1,o3_captionsize=1,o3_closesize=1,o3_frame=self,o3_timeout=0,o3_delay=0;
var o3_hauto=0,o3_vauto=0,o3_nojustx=0,o3_nojusty=0,o3_close="Close",o3_closeclick=0;
var o3_closetitle="",o3_fgclass="",o3_bgclass="",o3_cgclass="",o3_textpadding=2;
var o3_textfontclass="",o3_captionpadding=2,o3_captionfontclass="",o3_closefontclass="";
var o3_capbelow=0,CSSOFF=DONOTHING,CSSCLASS=DONOTHING;
var o3_x=0,o3_y=0,o3_showingsticky=0,o3_allowmove=0,o3_removecounter=0;
var o3_delayid=0,o3_timerid=0,o3_showid=0;
var over=null,OLfnRef="",OLhover=0;
var OLua=navigator.userAgent.toLowerCase();
var OLns4=(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==4);
var OLns6=(document.getElementById)?1:0;
var OLie4=(document.all)?1:0;
var OLmac=(OLua.indexOf("mac")>=0)?1:0;
var OLsaf=(OLua.indexOf("safari")>=0)?1:0;
var OLkon=(OLua.indexOf("konqueror")>=0)?1:0;
var OLopr=(OLua.indexOf("opera")>=0)?1:0;
var OLop7=(OLopr&&document.createTextNode)?1:0;
if(OLopr){
OLns4=OLns6=0;
if(!OLop7){
OLie4=0;
}
}
var OLieM=((OLie4&&OLmac)&&!(OLsaf||OLkon||OLopr))?1:0;
var OLdr="document.body";
var OLie5=0,OLie55=0;
if(OLie4&&!OLopr){
if((OLv=OLua.match(/msie (\d\.\d+)\.*/i))&&(OLv=parseFloat(OLv[1]))>=5){
OLie5=1;
OLns6=0;
if(OLv>=5.5){
OLie55=1;
}
if(typeof document.compatMode!="undefined"&&document.compatMode=="CSS1Compat"){
OLdr="document.documentElement";
}
}
if(OLns6){
OLie4=0;
}
}
if(OLns4){
window.onresize=function(){
location.reload();
};
}
var OLchkMseCapture=1,OLcapExtent;
if(OLns4||OLie4||OLns6){
OLmouseCapture();
}else{
overlib=nd=cClick=OLpageDefaults=no_overlib;
ver3fix=true;
}
function overlib(){
if(!(OLloaded&&OLgateOK)){
return;
}
if((OLexclusivePI)&&OLisExclusive(overlib.arguments)){
return true;
}
if(OLchkMseCapture){
OLmouseCapture();
}
if(over){
cClick(true);
}
OLloadP1or2();
o3_close=ol_close;
o3_closeclick=ol_closeclick;
o3_closetitle=ol_closetitle;
o3_noclose=ol_noclose;
o3_mouseoff=ol_mouseoff;
o3_offdelay=ol_offdelay;
o3_sticky=ol_sticky;
o3_closecolor=ol_closecolor;
o3_closefont=ol_closefont;
o3_closesize=ol_closesize;
o3_closefontclass=ol_closefontclass;
OLsetRunTimeVar();
OLfnRef="";
OLhover=0;
o3_frame=ol_frame;
OLparseTokens("o3_",overlib.arguments);
if(OLns4){
over=o3_frame.document.layers[o3_divid];
}else{
if(OLie4){
over=o3_frame.document.all[o3_divid];
}else{
if(OLns6){
over=o3_frame.document.getElementById(o3_divid);
}
}
}
over.className=o3_divclass;
if(OLbubblePI&&o3_bubble){
OLchkForBubbleEffect();
}
if(OLdebugPI&&o3_allowdebug!=""){
OLsetDebugCanShow(o3_allowdebug);
}
if(OLshadowPI){
OLinitShadow();
}
if(OLiframePI){
OLinitIframe();
}
if(OLfilterPI){
OLinitFilterLyr();
}
if(OLexclusivePI&&o3_exclusive&&o3_exclusivestatus!=""){
o3_status=o3_exclusivestatus;
}else{
if(o3_autostatus==2&&o3_cap!=""){
o3_status=o3_cap;
}else{
if(o3_autostatus==1&&o3_text!=""){
o3_status=o3_text;
}
}
}
if(o3_delay==0){
return OLmain();
}else{
o3_delayid=setTimeout("OLmain()",o3_delay);
if(o3_status!=""){
self.status=o3_status;
return true;
}else{
if(!(OLop7&&event&&event.type=="mouseover")){
return false;
}
}
}
};
function nd(_1){
if(!(OLloaded&&OLgateOK)){
return;
}
if((OLexclusivePI)&&OLisExclusive()){
return true;
}
if(_1&&!o3_delay){
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
o3_timerid=(OLhover&&!OLcursorOff())?0:setTimeout("cClick()",(o3_timeout=_1));
}else{
if(o3_removecounter>=1){
o3_showingsticky=0;
}
if(o3_showingsticky==0){
o3_allowmove=0;
if(over){
OLhideObject(over);
}
}else{
o3_removecounter++;
}
}
return true;
};
function cClick(_2){
if(OLloaded&&OLgateOK){
OLhover=0;
if(over){
OLhideObject(over);
}
o3_showingsticky=0;
}
ol_elem=document.getElementById(o3_divid);
ol_elem.innerHTML="";
if(!_2){
OLxPos=0;
OLyPos=0;
}
return false;
};
function OLpageDefaults(){
OLparseTokens("ol_",OLpageDefaults.arguments);
};
function no_overlib(){
return ver3fix;
};
function OLmain(){
o3_delay=0;
if(o3_frame==self){
if(o3_noclose){
OLoptMOUSEOFF(0);
}else{
if(o3_mouseoff){
OLoptMOUSEOFF(1);
}
}
}
OLdoLyr();
o3_allowmove=0;
if(o3_timeout>0){
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
o3_timerid=setTimeout("cClick()",o3_timeout);
}
if(o3_ref){
OLrefXY=OLgetRefXY(o3_ref);
if(OLrefXY[0]==null){
o3_ref="";
o3_midx=0;
o3_midy=0;
}
}
if(OLdraggablePI){
OLcheckDrag();
}
OLdisp(o3_status);
if(o3_status!=""){
return true;
}else{
if(!(OLop7&&event&&event.type=="mouseover")){
return false;
}
}
};
function OLloadP1or2(){
o3_text=ol_text;
o3_cap=ol_cap;
o3_capbelow=ol_capbelow;
o3_textpadding=ol_textpadding;
o3_captionpadding=ol_captionpadding;
o3_border=ol_border;
o3_base=ol_base;
o3_status=ol_status;
o3_autostatus=ol_autostatus;
o3_nofollow=ol_nofollow;
o3_width=ol_width;
o3_wrap=ol_wrap;
o3_wrapmax=ol_wrapmax;
o3_height=ol_height;
o3_hpos=ol_hpos;
o3_vpos=ol_vpos;
o3_offsetx=ol_offsetx;
o3_offsety=ol_offsety;
o3_snapx=ol_snapx;
o3_snapy=ol_snapy;
o3_relx=ol_relx;
o3_rely=ol_rely;
o3_midx=ol_midx;
o3_midy=ol_midy;
o3_ref=ol_ref;
o3_refc=ol_refc;
o3_refp=ol_refp;
o3_refx=ol_refx;
o3_refy=ol_refy;
o3_fixx=ol_fixx;
o3_fixy=ol_fixy;
o3_nojustx=ol_nojustx;
o3_nojusty=ol_nojusty;
o3_hauto=ol_hauto;
o3_vauto=ol_vauto;
o3_timeout=ol_timeout;
o3_delay=ol_delay;
o3_fgcolor=ol_fgcolor;
o3_bgcolor=ol_bgcolor;
o3_cgcolor=ol_cgcolor;
o3_textcolor=ol_textcolor;
o3_capcolor=ol_capcolor;
o3_textfont=ol_textfont;
o3_captionfont=ol_captionfont;
o3_textsize=ol_textsize;
o3_captionsize=ol_captionsize;
o3_fgbackground=ol_fgbackground;
o3_bgbackground=ol_bgbackground;
o3_cgbackground=ol_cgbackground;
o3_capicon=ol_capicon;
o3_background=ol_background;
o3_padxl=ol_padxl;
o3_padxr=ol_padxr;
o3_padyt=ol_padyt;
o3_padyb=ol_padyb;
o3_fullhtml=ol_fullhtml;
o3_fgclass=ol_fgclass;
o3_bgclass=ol_bgclass;
o3_cgclass=ol_cgclass;
o3_textfontclass=ol_textfontclass;
o3_captionfontclass=ol_captionfontclass;
};
function OLdoLGF(){
return (o3_background!=""||o3_fullhtml)?OLcontentBackground(o3_text,o3_background,o3_fullhtml):(o3_cap=="")?OLcontentSimple(o3_text):(o3_sticky)?OLcontentCaption(o3_text,o3_cap,o3_close):OLcontentCaption(o3_text,o3_cap,"");
};
function OLdoLyr(){
if(o3_background==""&&!o3_fullhtml){
if(o3_fgbackground!=""){
o3_fgbackground=" background=\""+o3_fgbackground+"\"";
}
if(o3_bgbackground!=""){
o3_bgbackground=" background=\""+o3_bgbackground+"\"";
}
if(o3_cgbackground!=""){
o3_cgbackground=" background=\""+o3_cgbackground+"\"";
}
if(o3_fgcolor!=""){
o3_fgcolor=" bgcolor=\""+o3_fgcolor+"\"";
}
if(o3_bgcolor!=""){
o3_bgcolor=" bgcolor=\""+o3_bgcolor+"\"";
}
if(o3_cgcolor!=""){
o3_cgcolor=" bgcolor=\""+o3_cgcolor+"\"";
}
if(o3_height>0){
o3_height=" height=\""+o3_height+"\"";
}else{
o3_height="";
}
}
var _3=OLdoLGF();
if(o3_sticky){
if(o3_timerid>0){
clearTimeout(o3_timerid);
o3_timerid=0;
}
o3_showingsticky=1;
o3_removecounter=0;
}
if(o3_wrap&&!o3_fullhtml){
OLlayerWrite(_3);
o3_width=(OLns4?over.clip.width:over.offsetWidth);
o3_wrap=0;
if(o3_wrapmax>0&&o3_width>o3_wrapmax){
o3_width=o3_wrapmax;
}
_3=OLdoLGF();
}
OLlayerWrite(_3);
o3_width=(OLns4?over.clip.width:over.offsetWidth);
if(OLbubblePI&&o3_bubble){
OLgenerateBubble(_3);
}
};
function OLcontentSimple(_4){
var _5="<table"+(o3_wrap?"":" width=\""+o3_width+"\"")+o3_height+" border=\"0\" cellpadding=\""+o3_border+"\" cellspacing=\"0\""+(o3_bgclass?" class=\""+o3_bgclass+"\"":o3_bgcolor+o3_bgbackground)+"><tr><td><table width=\"100%\""+o3_height+" border=\"0\" cellpadding=\""+o3_textpadding+"\" cellspacing=\"0\""+(o3_fgclass?" class=\""+o3_fgclass+"\"":o3_fgcolor+o3_fgbackground)+"><tr><td valign=\"top\""+(o3_fgclass?" class=\""+o3_fgclass+"\"":"")+">"+OLlgfUtil(0,o3_textfontclass,"div",o3_textcolor,o3_textfont,o3_textsize)+_4+OLlgfUtil(1,"","div")+"</td></tr></table>"+((o3_base>0&&!o3_wrap)?("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td height=\""+o3_base+"\"></td></tr></table>"):"")+"</td></tr></table>";
OLsetBackground("");
return _5;
};
function OLcontentCaption(_6,_7,_8){
var _9="",_a="onmouseover",_b,_c,_d,_e;
if(o3_closeclick==1){
_a=(o3_closetitle?"title=\""+o3_closetitle+"\" ":"")+"onclick";
}
if(o3_capicon!=""){
o3_capicon="<img src=\""+o3_capicon+"\" /> ";
}
if(_8!=""){
_9="<div class=\"overlibclose\"><a href=\"javascript:return "+OLfnRef+"cClick();\" "+_a+"=\"return "+OLfnRef+"cClick();\">"+_8+"</a></div>";
}
_b="<div class=\"overlibcaption\">"+_7+"</div>";
_c="<div id=\"overlibcontent\">"+_6+"</div>";
_e="<div id=\"overlibfooter\"><a href=\"javascript:void(0);\" onclick=\"return cClick();\" title=\""+o3_closetitle+"\">"+o3_closetitle+"</a></div>";
_d="<div id=\"overlibheader\" class=\"overlibheader\">"+_b+_9+"</div>"+_c+_e;
OLsetBackground("");
return _d;
};
function OLcontentBackground(_f,_10,_11){
var txt;
if(_11){
txt=_f;
}else{
txt="<table"+(o3_wrap?"":" width=\""+o3_width+"\"")+" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" "+"height=\""+o3_height+"\"><tr><td colspan=\"3\" height=\""+o3_padyt+"\"></td></tr><tr><td width=\""+o3_padxl+"\"></td><td valign=\"top\""+(o3_wrap?"":" width=\""+(o3_width-o3_padxl-o3_padxr)+"\"")+">"+OLlgfUtil(0,o3_textfontclass,"div",o3_textcolor,o3_textfont,o3_textsize)+_f+OLlgfUtil(1,"","div")+"</td><td width=\""+o3_padxr+"\"></td></tr><tr><td colspan=\"3\" height=\""+o3_padyb+"\"></td></tr></table>";
}
OLsetBackground(_10);
return txt;
};
function OLlgfUtil(end,tfc,ele,col,fac,siz){
if(end){
return ("</"+(OLns4?"font":ele)+">");
}else{
return (tfc?"<div class=\""+tfc+"\">":("<"+(OLns4?"font color=\""+col+"\" face=\""+OLquoteMultiNameFonts(fac)+"\" size=\""+siz:ele+" style=\"color:"+col+";font-family:"+OLquoteMultiNameFonts(fac)+";font-size:"+siz+";"+(ele=="span"?"text-decoration:underline;":""))+"\">"));
}
};
function OLquoteMultiNameFonts(_12){
var i,v,pM=_12.split(",");
for(i=0;i<pM.length;i++){
v=pM[i];
v=v.replace(/^\s+/,"").replace(/\s+$/,"");
if(/\s/.test(v)&&!/['"]/.test(v)){
v="'"+v+"'";
pM[i]=v;
}
}
return pM.join();
};
function OLsetBackground(pic){
if(pic==""){
if(OLns4){
over.background.src=null;
}else{
if(OLie4||OLns6){
over.style.backgroundImage="none";
}
}
}else{
if(OLns4){
over.background.src=pic;
}else{
if(OLie4||OLns6){
over.style.backgroundImage="url("+pic+")";
}
}
}
};
function OLdisp(_13){
if(o3_allowmove==0){
if(OLshadowPI){
OLdispShadow();
}
if(OLiframePI){
OLdispIfShim();
}
OLplaceLayer();
o3_showid=setTimeout("OLshowObject(over)",1);
o3_allowmove=(o3_sticky||o3_nofollow)?0:1;
}
if(_13!=""){
self.status=_13;
}
};
function OLplaceLayer(){
var X,Y,_14,_15,pWd=o3_width,pHt,iWd=100,iHt=100,SB=0,LM=0,CX=0,TM=0,BM=0,CY=0;
if(eval("o3_frame."+OLdr)&&typeof eval("o3_frame."+OLdr).clientWidth=="number"&&eval("o3_frame."+OLdr).clientWidth>0){
iWd=eval("o3_frame."+OLdr).clientWidth;
}else{
if(typeof (o3_frame.innerWidth)=="number"){
SB=Math.ceil(1.4*(o3_frame.outerWidth-o3_frame.innerWidth));
if(SB>20){
SB=20;
}
iWd=o3_frame.innerWidth;
}
}
_14=(OLie4)?eval("o3_frame."+OLdr).scrollLeft:o3_frame.pageXOffset;
if(OLie55&&OLfilterPI&&o3_filtershadow){
SB=CX=5;
}else{
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){
SB+=((o3_shadowx>0)?o3_shadowx:0);
LM=((o3_shadowx<0)?Math.abs(o3_shadowx):0);
CX=Math.abs(o3_shadowx);
}
}
if(o3_ref!=""||o3_fixx>-1||o3_relx!=null||o3_midx!=null){
if(o3_ref!=""){
X=OLrefXY[0];
if(OLie55&&OLfilterPI&&o3_filtershadow){
if(o3_refp=="UR"||o3_refp=="LR"){
X-=5;
}
}else{
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){
if(o3_shadowx<0&&(o3_refp=="UL"||o3_refp=="LL")){
X+=o3_shadowx;
}else{
if(o3_shadowx>0&&(o3_refp=="UR"||o3_refp=="LR")){
X-=o3_shadowx;
}
}
}
}
}else{
if(o3_midx!=null){
X=parseInt(_14+((iWd-pWd-SB-LM)/2)+o3_midx);
}else{
if(o3_relx!=null){
if(o3_relx>=0){
X=_14+o3_relx+LM;
}else{
X=_14+o3_relx+iWd-pWd-SB;
}
}else{
X=o3_fixx+LM;
}
}
}
}else{
if(o3_hauto){
if(o3_hpos==LEFT&&o3_x-_14<iWd/2&&o3_x-pWd-o3_offsetx<_14+LM){
o3_hpos=RIGHT;
}else{
if(o3_hpos==RIGHT&&o3_x-_14>iWd/2&&o3_x+pWd+o3_offsetx>_14+iWd-SB){
o3_hpos=LEFT;
}
}
}
X=(o3_hpos==CENTER)?parseInt(o3_x-((pWd+CX)/2)+o3_offsetx):(o3_hpos==LEFT)?o3_x-o3_offsetx-pWd:o3_x+o3_offsetx;
if(o3_snapx>1){
var _16=X%o3_snapx;
if(o3_hpos==LEFT){
X=X-(o3_snapx+_16);
}else{
X=X+(o3_snapx-_16);
}
}
}
if(!o3_nojustx&&X+pWd>_14+iWd-SB){
X=iWd+_14-pWd-SB;
}
if(!o3_nojustx&&X-LM<_14){
X=_14+LM;
}
_15=OLie4?eval("o3_frame."+OLdr).scrollTop:o3_frame.pageYOffset;
if(OLie4||(o3_frame.document.body&&typeof o3_frame.document.body.clientHeight=="number"&&o3_frame.document.body.clientHeight>0)){
iHt=eval("o3_frame."+OLdr).clientHeight;
}else{
if(typeof (o3_frame.innerHeight)=="number"){
iHt=o3_frame.innerHeight;
}
}
if(OLbubblePI&&o3_bubble){
pHt=OLbubbleHt;
}else{
pHt=OLns4?over.clip.height:over.offsetHeight;
}
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){
TM=(o3_shadowy<0)?Math.abs(o3_shadowy):0;
if(OLie55&&OLfilterPI&&o3_filtershadow){
BM=CY=5;
}else{
BM=(o3_shadowy>0)?o3_shadowy:0;
}
CY=Math.abs(o3_shadowy);
}
if(o3_ref!=""||o3_fixy>-1||o3_rely!=null||o3_midy!=null){
if(o3_ref!=""){
Y=OLrefXY[1];
if(OLie55&&OLfilterPI&&o3_filtershadow){
if(o3_refp=="LL"||o3_refp=="LR"){
Y-=5;
}
}else{
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){
if(o3_shadowy<0&&(o3_refp=="UL"||o3_refp=="UR")){
Y+=o3_shadowy;
}else{
if(o3_shadowy>0&&(o3_refp=="LL"||o3_refp=="LR")){
Y-=o3_shadowy;
}
}
}
}
}else{
if(o3_midy!=null){
Y=parseInt(_15+((iHt-pHt-CY)/2)+o3_midy);
}else{
if(o3_rely!=null){
if(o3_rely>=0){
Y=_15+o3_rely+TM;
}else{
Y=_15+o3_rely+iHt-pHt-BM;
}
}else{
Y=o3_fixy+TM;
}
}
}
}else{
if(o3_vauto){
if(o3_vpos==ABOVE&&o3_y-_15<iHt/2&&o3_y-pHt-o3_offsety<_15){
o3_vpos=BELOW;
}else{
if(o3_vpos==BELOW&&o3_y-_15>iHt/2&&o3_y+pHt+o3_offsety+(OLns4?17:0)>_15+iHt-BM){
o3_vpos=ABOVE;
}
}
}
Y=(o3_vpos==VCENTER)?parseInt(o3_y-((pHt+CY)/2)+o3_offsety):(o3_vpos==ABOVE)?o3_y-(pHt+o3_offsety+BM):o3_y+o3_offsety+TM;
if(o3_snapy>1){
var _16=Y%o3_snapy;
if(pHt>0&&o3_vpos==ABOVE){
Y=Y-(o3_snapy+_16);
}else{
Y=Y+(o3_snapy-_16);
}
}
}
if(!o3_nojusty&&Y+pHt+BM>_15+iHt){
Y=_15+iHt-pHt-BM;
}
if(!o3_nojusty&&Y-TM<_15){
Y=_15+TM;
}
OLrepositionTo(over,X,Y);
if(OLns6){
iHt=o3_frame.innerHeight;
OLrepositionTo(over,X,Y);
}
if(OLshadowPI){
OLrepositionShadow(X,Y);
}
if(OLiframePI){
OLrepositionIfShim(X,Y);
}
if(OLscrollPI){
OLchkScroll(X-_14,Y-_15);
}
};
function OLgetRefXY(ref){
var mn=ref,_17=OLgetRefById(mn,o3_frame.document),_18,of,_19;
if(_17==null){
_17=OLgetRefByName(mn,o3_frame.document);
}
if(_17==null){
return [null,null];
}
_18=_17;
_19=[o3_refx,o3_refy];
if(OLns4){
if(typeof _17.length!="undefined"&&_17.length>1){
_18=_17[0];
_19[0]+=_17[0].x+_17[1].pageX;
_19[1]+=_17[0].y+_17[1].pageY;
}else{
if((_17.toString().indexOf("Image")!=-1)||(_17.toString().indexOf("Anchor")!=-1)){
_19[0]+=_17.x;
_19[1]+=_17.y;
}else{
_19[0]+=_17.pageX;
_19[1]+=_17.pageY;
}
}
}else{
_19[0]+=OLpageLoc(_17,"Left");
_19[1]+=OLpageLoc(_17,"Top");
}
of=OLgetRefOffsets(_18);
_19[0]+=of[0];
_19[1]+=of[1];
return _19;
};
function OLgetRefOffsets(_1a){
var mc=o3_refc.toUpperCase(),mp=o3_refp.toUpperCase(),mW=mH=pW=pH=0,off=[0,0];
pW=(OLbubblePI&&o3_bubble)?o3_width:OLns4?over.clip.width:over.offsetWidth;
pH=(OLbubblePI&&o3_bubble)?OLbubbleHt:OLns4?over.clip.height:over.offsetHeight;
if((!OLop7)&&_1a.toString().indexOf("Image")!=-1){
mW=_1a.width;
mH=_1a.height;
}else{
if((!OLop7)&&_1a.toString().indexOf("Anchor")!=-1){
mc=o3_refc="UL";
}else{
mW=(OLns4)?_1a.clip.width:_1a.offsetWidth;
mH=(OLns4)?_1a.clip.height:_1a.offsetHeight;
}
}
if(mc=="UL"){
off=(mp=="UR")?[-pW,0]:(mp=="LL")?[0,-pH]:(mp=="LR")?[-pW,-pH]:[0,0];
}else{
if(mc=="UR"){
off=(mp=="UR")?[mW-pW,0]:(mp=="LL")?[mW,-pH]:(mp=="LR")?[mW-pW,-pH]:[mW,0];
}else{
if(mc=="LL"){
off=(mp=="UR")?[-pW,mH]:(mp=="LL")?[0,mH-pH]:(mp=="LR")?[-pW,mH-pH]:[0,mH];
}else{
if(mc=="LR"){
off=(mp=="UR")?[mW-pW,mH]:(mp=="LL")?[mW,mH-pH]:(mp=="LR")?[mW-pW,mH-pH]:[mW,mH];
}
}
}
}
return off;
};
function OLpageLoc(o,t){
var l=0;
while(o.offsetParent&&o.offsetParent.tagName.toLowerCase()!="html"){
l+=o["offset"+t];
o=o.offsetParent;
}
l+=o["offset"+t];
return l;
};
function OLgetRefById(l,d){
var r="",j;
d=(d||document);
if(d.all){
return d.all[l];
}else{
if(d.getElementById){
return d.getElementById(l);
}else{
if(d.layers&&d.layers.length>0){
if(d.layers[l]){
return d.layers[l];
}
for(j=0;j<d.layers.length;j++){
r=OLgetRefById(l,d.layers[j].document);
if(r){
return r;
}
}
}
}
}
return null;
};
function OLgetRefByName(l,d){
var r=null,j;
d=(d||document);
if(typeof d.images[l]!="undefined"&&d.images[l]){
return d.images[l];
}else{
if(typeof d.anchors[l]!="undefined"&&d.anchors[l]){
return d.anchors[l];
}else{
if(d.layers&&d.layers.length>0){
for(j=0;j<d.layers.length;j++){
r=OLgetRefByName(l,d.layers[j].document);
if(r&&r.length>0){
return r;
}else{
if(r){
return [r,d.layers[j]];
}
}
}
}
}
}
return null;
};
function OLmouseMove(e){
var e=(e)?e:event;
if(e.pageX){
o3_x=e.pageX;
o3_y=e.pageY;
}else{
if(e.clientX){
o3_x=e.clientX+eval("o3_frame."+OLdr).scrollLeft;
o3_y=e.clientY+eval("o3_frame."+OLdr).scrollTop;
}
}
if(o3_allowmove){
OLplaceLayer();
if(OLhidePI){
OLhideUtil(0,1,1,0,0,0);
}
}
if(OLhover&&OLcursorOff()){
if(o3_offdelay<1){
cClick();
}else{
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
o3_timerid=setTimeout("cClick()",o3_offdelay);
}
}
};
function OLmouseCapture(){
var fN,_1b=OLmouseMove,re=/function[ ]+(\w+)\(/;
OLcapExtent=document;
if(document.onmousemove||(!OLie4&&window.onmousemove)){
if(window.onmousemove){
OLcapExtent=window;
}
fN=OLcapExtent.onmousemove.toString().match(re);
if(!fN||fN[1]=="anonymous"||fN[1]=="OLmouseMove"){
OLchkMseCapture=0;
return;
}
var str=fN[1]+"(e);"+"OLmouseMove(e);";
_1b=new Function("e",str);
}
OLcapExtent.onmousemove=_1b;
if(OLns4){
OLcapExtent.captureEvents(Event.MOUSEMOVE);
}
};
function OLparseTokens(pf,ar){
var v,md=-1,par=(pf!="ol_");
OLudf=(par&&!ar.length?1:0);
for(i=0;i<ar.length;i++){
if(md<0){
if(typeof ar[i]=="number"){
OLudf=(par?1:0);
i--;
}else{
switch(pf){
case "ol_":
ol_text=ar[i];
break;
default:
o3_text=ar[i];
}
}
md=0;
}else{
if(ar[i]==INARRAY){
OLudf=0;
eval(pf+"text=ol_texts["+ar[++i]+"]");
continue;
}
if(ar[i]==CAPARRAY){
eval(pf+"cap=ol_caps["+ar[++i]+"]");
continue;
}
if(ar[i]==CAPTION){
eval(pf+"cap='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==DIVID){
eval(pf+"divid='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==DIVCLASS){
eval(pf+"divclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==STICKY){
eval(pf+"sticky=("+pf+"sticky==0)?1:0");
continue;
}
if(ar[i]==-STICKY){
eval(pf+"sticky=0");
continue;
}
if(ar[i]==NOFOLLOW){
eval(pf+"nofollow=("+pf+"nofollow==0)?1:0");
continue;
}
if(ar[i]==-NOFOLLOW){
eval(pf+"nofollow=0");
continue;
}
if(ar[i]==BACKGROUND){
eval(pf+"background='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==NOCLOSE){
eval(pf+"noclose=("+pf+"noclose==0)?1:0");
continue;
}
if(ar[i]==-NOCLOSE){
eval(pf+"noclose=0");
continue;
}
if(ar[i]==MOUSEOFF){
eval(pf+"mouseoff=("+pf+"mouseoff==0)?1:0");
continue;
}
if(ar[i]==-MOUSEOFF){
eval(pf+"mouseoff=0");
continue;
}
if(ar[i]==OFFDELAY){
eval(pf+"offdelay="+ar[++i]);
continue;
}
if(ar[i]==RIGHT||ar[i]==LEFT||ar[i]==CENTER){
eval(pf+"hpos="+ar[i]);
continue;
}
if(ar[i]==OFFSETX){
eval(pf+"offsetx="+ar[++i]);
continue;
}
if(ar[i]==OFFSETY){
eval(pf+"offsety="+ar[++i]);
continue;
}
if(ar[i]==FGCOLOR){
eval(pf+"fgcolor=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==BGCOLOR){
eval(pf+"bgcolor=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==CGCOLOR){
eval(pf+"cgcolor=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==TEXTCOLOR){
eval(pf+"textcolor='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPCOLOR){
eval(pf+"capcolor='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CLOSECOLOR){
eval(pf+"closecolor='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==WIDTH){
eval(pf+"width="+ar[++i]);
continue;
}
if(ar[i]==WRAP){
eval(pf+"wrap=("+pf+"wrap==0)?1:0");
continue;
}
if(ar[i]==-WRAP){
eval(pf+"wrap=0");
continue;
}
if(ar[i]==WRAPMAX){
eval(pf+"wrapmax="+ar[++i]);
continue;
}
if(ar[i]==HEIGHT){
eval(pf+"height="+ar[++i]);
continue;
}
if(ar[i]==BORDER){
eval(pf+"border="+ar[++i]);
continue;
}
if(ar[i]==BASE){
eval(pf+"base="+ar[++i]);
continue;
}
if(ar[i]==STATUS){
eval(pf+"status='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==AUTOSTATUS){
eval(pf+"autostatus=("+pf+"autostatus==1)?0:1");
continue;
}
if(ar[i]==-AUTOSTATUS){
eval(pf+"autostatus=("+pf+"autostatus==2)?2:0");
continue;
}
if(ar[i]==AUTOSTATUSCAP){
eval(pf+"autostatus=("+pf+"autostatus==2)?0:2");
continue;
}
if(ar[i]==-AUTOSTATUSCAP){
eval(pf+"autostatus=("+pf+"autostatus==1)?1:0");
continue;
}
if(ar[i]==CLOSETEXT){
eval(pf+"close='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==SNAPX){
eval(pf+"snapx="+ar[++i]);
continue;
}
if(ar[i]==SNAPY){
eval(pf+"snapy="+ar[++i]);
continue;
}
if(ar[i]==FIXX){
eval(pf+"fixx="+ar[++i]);
continue;
}
if(ar[i]==FIXY){
eval(pf+"fixy="+ar[++i]);
continue;
}
if(ar[i]==RELX){
eval(pf+"relx="+ar[++i]);
continue;
}
if(ar[i]==RELY){
eval(pf+"rely="+ar[++i]);
continue;
}
if(ar[i]==MIDX){
eval(pf+"midx="+ar[++i]);
continue;
}
if(ar[i]==MIDY){
eval(pf+"midy="+ar[++i]);
continue;
}
if(ar[i]==REF){
eval(pf+"ref='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==REFC){
eval(pf+"refc='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==REFP){
eval(pf+"refp='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==REFX){
eval(pf+"refx="+ar[++i]);
continue;
}
if(ar[i]==REFY){
eval(pf+"refy="+ar[++i]);
continue;
}
if(ar[i]==FGBACKGROUND){
eval(pf+"fgbackground='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==BGBACKGROUND){
eval(pf+"bgbackground='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CGBACKGROUND){
eval(pf+"cgbackground='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==PADX){
eval(pf+"padxl="+ar[++i]);
eval(pf+"padxr="+ar[++i]);
continue;
}
if(ar[i]==PADY){
eval(pf+"padyt="+ar[++i]);
eval(pf+"padyb="+ar[++i]);
continue;
}
if(ar[i]==FULLHTML){
eval(pf+"fullhtml=("+pf+"fullhtml==0)?1:0");
continue;
}
if(ar[i]==-FULLHTML){
eval(pf+"fullhtml=0");
continue;
}
if(ar[i]==BELOW||ar[i]==ABOVE||ar[i]==VCENTER){
eval(pf+"vpos="+ar[i]);
continue;
}
if(ar[i]==CAPICON){
eval(pf+"capicon=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==TEXTFONT){
eval(pf+"textfont='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPTIONFONT){
eval(pf+"captionfont='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CLOSEFONT){
eval(pf+"closefont='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==TEXTSIZE){
eval(pf+"textsize='"+ar[++i]+"'");
continue;
}
if(ar[i]==CAPTIONSIZE){
eval(pf+"captionsize='"+ar[++i]+"'");
continue;
}
if(ar[i]==CLOSESIZE){
eval(pf+"closesize='"+ar[++i]+"'");
continue;
}
if(ar[i]==TIMEOUT){
eval(pf+"timeout="+ar[++i]);
continue;
}
if(ar[i]==DELAY){
eval(pf+"delay="+ar[++i]);
continue;
}
if(ar[i]==HAUTO){
eval(pf+"hauto=("+pf+"hauto==0)?1:0");
continue;
}
if(ar[i]==-HAUTO){
eval(pf+"hauto=0");
continue;
}
if(ar[i]==VAUTO){
eval(pf+"vauto=("+pf+"vauto==0)?1:0");
continue;
}
if(ar[i]==-VAUTO){
eval(pf+"vauto=0");
continue;
}
if(ar[i]==NOJUSTX){
eval(pf+"nojustx=("+pf+"nojustx==0)?1:0");
continue;
}
if(ar[i]==-NOJUSTX){
eval(pf+"nojustx=0");
continue;
}
if(ar[i]==NOJUSTY){
eval(pf+"nojusty=("+pf+"nojusty==0)?1:0");
continue;
}
if(ar[i]==-NOJUSTY){
eval(pf+"nojusty=0");
continue;
}
if(ar[i]==CLOSECLICK){
eval(pf+"closeclick=("+pf+"closeclick==0)?1:0");
continue;
}
if(ar[i]==-CLOSECLICK){
eval(pf+"closeclick=0");
continue;
}
if(ar[i]==CLOSETITLE){
eval(pf+"closetitle='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==FGCLASS){
eval(pf+"fgclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==BGCLASS){
eval(pf+"bgclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CGCLASS){
eval(pf+"cgclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==TEXTPADDING){
eval(pf+"textpadding="+ar[++i]);
continue;
}
if(ar[i]==TEXTFONTCLASS){
eval(pf+"textfontclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPTIONPADDING){
eval(pf+"captionpadding="+ar[++i]);
continue;
}
if(ar[i]==CAPTIONFONTCLASS){
eval(pf+"captionfontclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CLOSEFONTCLASS){
eval(pf+"closefontclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPBELOW){
eval(pf+"capbelow=("+pf+"capbelow==0)?1:0");
continue;
}
if(ar[i]==-CAPBELOW){
eval(pf+"capbelow=0");
continue;
}
if(ar[i]==DONOTHING){
continue;
}
i=OLparseCmdLine(pf,i,ar);
}
}
if((OLfunctionPI)&&OLudf&&o3_function){
o3_text=o3_function();
}
if(pf=="o3_"){
OLfontSize();
}
};
function OLlayerWrite(txt){
txt+="\n";
if(OLns4){
over.document.write(txt);
over.document.close();
}else{
if(typeof over.innerHTML!="undefined"){
if(OLieM){
over.innerHTML="";
}
over.innerHTML=txt;
}else{
range=o3_frame.document.createRange();
range.setStartAfter(over);
domfrag=range.createContextualFragment(txt);
while(over.hasChildNodes()){
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
}
}
};
function OLshowObject(obj){
var _1c=(OLns4?obj:obj.style);
o3_showid=0;
if(((OLfilterPI)&&!OLchkFilter(_1c))||!OLfilterPI){
_1c.visibility="visible";
}
if(OLshadowPI){
OLshowShadow();
}
if(OLiframePI){
OLshowIfShim();
}
if(OLhidePI){
OLhideUtil(1,1,0);
}
};
function OLhideObject(obj){
var _1d=(OLns4?obj:obj.style);
if(o3_showid>0){
clearTimeout(o3_showid);
o3_showid=0;
}
if(OLiframePI){
OLhideIfShim();
}
if(OLshadowPI){
OLhideShadow();
}
_1d.visibility="hidden";
if(OLhidePI){
OLhideUtil(0,0,1);
}
if((OLfilterPI)&&o3_filter){
OLcleanupFilter(_1d);
}
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
if(o3_delayid>0){
clearTimeout(o3_delayid);
}
o3_timerid=0;
o3_delayid=0;
self.status="";
if(OLdraggablePI&&o3_dragging){
OLclearDrag();
}
if(over.onmouseover){
over.onmouseover=null;
}
if(OLscrollPI){
OLclearScroll();
}
};
function OLrepositionTo(obj,xL,yL,_1e){
if(!_1e){
if(OLxPos){
xL=OLxPos;
}
if(OLyPos){
yL=OLyPos;
}
}
var _1f=(OLns4?obj:obj.style);
_1f.left=(OLns4?xL:xL+"px");
_1f.top=(OLns4?yL:yL+"px");
OLxPos=xL;
OLyPos=yL;
};
function OLcursorOff(){
if(OLovertwoPI&&over==over2){
return false;
}
var _20=(OLns4?over:over.style),pHt=OLns4?over.clip.height:over.offsetHeight;
var _21=parseInt(_20.left),top=parseInt(_20.top);
var _22=_21+o3_width,_23=top+((OLbubblePI&&o3_bubble)?OLbubbleHt:pHt);
if(o3_x<_21||o3_x>_22||o3_y<top||o3_y>_23){
return true;
}
return false;
};
function OLoptMOUSEOFF(_24){
if(!_24){
o3_close="";
}
over.onmouseover=function(){
OLhover=1;
if(o3_timerid>0){
clearTimeout(o3_timerid);
o3_timerid=0;
}
};
};
function OLescSglQt(str){
return str.toString().replace(/'/g,"\\'");
};
function OLhasDims(str){
return /[%\-a-z]+$/.test(str);
};
function OLfontSize(){
var i;
if(OLhasDims(o3_textsize)){
if(OLns4){
o3_textsize="2";
}
}else{
if(!OLns4){
i=parseInt(o3_textsize);
o3_textsize=(i>0&&i<8)?OLpct[i]:OLpct[0];
}
}
if(OLhasDims(o3_captionsize)){
if(OLns4){
o3_captionsize="2";
}
}else{
if(!OLns4){
i=parseInt(o3_captionsize);
o3_captionsize=(i>0&&i<8)?OLpct[i]:OLpct[0];
}
}
if(OLhasDims(o3_closesize)){
if(OLns4){
o3_closesize="2";
}
}else{
if(!OLns4){
i=parseInt(o3_closesize);
o3_closesize=(i>0&&i<8)?OLpct[i]:OLpct[0];
}
}
};
function OLsetRunTimeVar(){
if(typeof runTime!="undefined"&&runTime.length){
for(var k=0;k<runTime.length;k++){
runTime[k]();
}
}
};
function OLparseCmdLine(pf,i,_25){
if(typeof cmdLine!="undefined"&&cmdLine.length){
for(var k=0;k<cmdLine.length;k++){
var j=cmdLine[k](pf,i,_25);
if(j>-1){
i=j;
break;
}
}
}
return i;
};
function OLisFunc(_26){
var rtn=true;
if(typeof _26=="object"){
for(var i=0;i<_26.length;i++){
if(typeof _26[i]=="function"){
continue;
}
rtn=false;
break;
}
}else{
if(typeof _26!="function"){
rtn=false;
}
}
return rtn;
};
function OLregCmds(_27){
if(typeof _27!="string"){
return;
}
var pM=_27.split(",");
pMtr=pMtr.concat(pM);
for(var i=0;i<pM.length;i++){
eval(pM[i].toUpperCase()+"="+pmCnt++);
}
};
function OLregRunTimeFunc(_28){
if(OLisFunc(_28)){
if(typeof runTime=="undefined"){
runTime=new Array();
}
if(typeof _28=="object"){
runTime=runTime.concat(_28);
}else{
runTime[runTime.length++]=_28;
}
}
};
function OLregCmdLineFunc(_29){
if(OLisFunc(_29)){
if(typeof cmdLine=="undefined"){
cmdLine=new Array();
}
if(typeof _29=="object"){
cmdLine=cmdLine.concat(_29);
}else{
cmdLine[cmdLine.length++]=_29;
}
}
};
OLloaded=1;
OLloaded=0;
OLregCmds("draggable");
if(typeof ol_draggable=="undefined"){
var ol_draggable=0;
}
var o3_draggable=0,o3_dragging=0,OLmMv;
function OLloadDraggable(){
o3_draggable=ol_draggable;
};
function OLparseDraggable(pf,i,ar){
var k=i;
if(k<ar.length){
if(ar[k]==DRAGGABLE){
eval(pf+"draggable=("+pf+"draggable==0)?1:0");
return k;
}
if(ar[k]==-DRAGGABLE){
eval(pf+"draggable=0");
return k;
}
}
return -1;
};
function OLcheckDrag(){
if(o3_draggable&&o3_sticky&&(o3_frame==self)){
if(!o3_dragging){
OLinitDrag();
}
}else{
if(o3_dragging){
OLclearDrag();
}
}
};
function OLinitDrag(){
OLmMv=OLcapExtent.onmousemove;
if(OLns4){
document.captureEvents(Event.MOUSEDOWN|Event.CLICK);
document.onmousedown=OLgrabEl;
document.onclick=function(e){
return routeEvent(e);
};
}else{
document.getElementById("overlibheader").onmousedown=OLgrabEl;
document.getElementById("overlibheader").style.cursor="move";
}
o3_dragging=1;
return true;
};
function OLgrabEl(e){
var e=(e)?e:event;
var cKy=(OLns4?e.modifiers&Event.ALT_MASK:(!OLop7)?e.altKey:e.ctrlKey);
if(cKy){
if(OLie4&&over.onselectstart!="undefined"){
over.onselectstart=null;
}
if(!OLns4){
over.style.cursor="auto";
}
document.onmouseup=function(){
if(!OLns4){
if(OLie4&&over.onselectstart!="undefined"){
over.onselectstart=function(){
return false;
};
}
if(!OLns4){
over.style.cursor="move";
}
}
};
return (OLns4?routeEvent(e):true);
}
OLmMv(e);
if(OLns4){
cX=e.pageX;
cY=e.pageY;
}else{
cX=o3_x-(parseInt(over.style.left));
cY=o3_y-(parseInt(over.style.top));
if((OLshadowPI)&&bkdrop&&o3_shadow){
cbX=o3_x-(parseInt(bkdrop.style.left));
cbY=o3_y-(parseInt(bkdrop.style.top));
}
}
if(OLns4){
document.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);
}
OLcapExtent.onmousemove=OLmoveEl;
document.onmouseup=function(){
OLcapExtent.onmousemove=OLmMv;
document.onmouseup=null;
};
return (OLns4?routeEvent(e):false);
};
function OLmoveEl(e){
OLmMv(e);
if(OLns4){
newX=e.pageX;
newY=e.pageY;
over.moveBy(newX-cX,newY-cY);
if((OLshadowPI)&&bkdrop&&o3_shadow){
bkdrop.moveBy(newX-cX,newY-cY);
}
cX=newX;
cY=newY;
}else{
OLrepositionTo(over,o3_x-cX,o3_y-cY,true);
if((OLiframePI)&&OLie55&&OLifShim){
OLrepositionTo(OLifShim,o3_x-cX,o3_y-cY,true);
}
if((OLshadowPI)&&bkdrop&&o3_shadow){
OLrepositionTo(bkdrop,o3_x-cbX,o3_y-cbY,true);
if((OLiframePI)&&OLie55&&OLifShimShadow){
OLrepositionTo(OLifShimShadow,o3_x-cbX,o3_y-cbY,true);
}
}
}
if(OLhidePI){
OLhideUtil(0,1,1,0,0,0);
}
return false;
};
function OLclearDrag(){
if(OLns4){
document.releaseEvents(Event.MOUSEDOWN|Event.MOUSEUP|Event.CLICK);
document.onmousedown=document.onmouseup=document.onclick=null;
}else{
if(OLie4||OLns6){
over.onmousedown=null;
if(OLie4&&over.onselectstart!="undefined"){
over.onselectstart=null;
}
over.style.cursor="auto";
}
}
o3_dragging=0;
};
OLregRunTimeFunc(OLloadDraggable);
OLregCmdLineFunc(OLparseDraggable);
OLdraggablePI=1;
OLloaded=1;
function displayContent(url,_2a,_2b,_2c,_2d){
var _2e="";
if(_2c){
_2e+=",DIVCLASS,'"+_2c+"'";
}
if(_2d){
_2e+=","+_2d;
}
if(!_2b){
_2b="Close";
}
if(_2e){
if(_2e.search("DIVID")==-1){
_2e+=",DIVID,'overDiv'";
}
var ol="overlib('Please wait...',CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption"+_2e+");";
eval(ol);
}else{
overlib("Please wait...",CAPTION,_2a,STICKY,CLOSECLICK,CLOSETEXT,"x",CLOSETITLE,_2b);
}
var _2f=getXmlHttpObject();
_2f.open("GET",url,true);
_2f.onreadystatechange=function(){
if(_2f.readyState==4){
if(_2f.status==200){
var _30=_2f.responseText;
document.getElementById("overlibcontent").innerHTML=_30;
}else{
alert("Problem retrieving XML data");
}
}
};
_2f.send(null);
};
function displayOverlib(_31,_32,_33,_34,_35){
var _36="";
if(_34){
_36+=",DIVCLASS,'"+_34+"'";
}
if(_35){
_36+=","+_35;
}
if(!_33){
_33="Close";
}
if(_36){
if(_36.search("DIVID")==-1){
_36+=",DIVID,'overDiv'";
}
var ol="overlib(content,CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption,VAUTO"+_36+");";
eval(ol);
}else{
overlib(_31,CAPTION,_32,STICKY,CLOSECLICK,CLOSETEXT,"x",CLOSETITLE,_33,VAUTO);
}
};
function cancelOverDiv(){
cClick();
};
function getXmlHttpObject(){
var _37;
try{
_37=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
_37=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(E){
_37=false;
}
}
if(!_37&&typeof XMLHttpRequest!=undefined){
_37=new XMLHttpRequest();
}else{
if(!_37){
_37=new ActiveXObject("Msxml2.XMLHTTP");
}
}
return _37;
};
function getCalendar(_38,_39,_3a){
var _3b=false;
var day=false;
var _3c=false;
var _3d=document.getElementById(_38).value;
if(_3d.match(/(.*)\/(.*)\/(.*)/)){
var _3e=_3d.split("/");
day=_3e[0];
_3b=_3e[1];
_3c=_3e[2];
}
var url="/manage/calendar-name-"+_38+"-day-"+day+"-month-"+_3b+"-year-"+_3c;
displayContent(url,_39,_3a,"calendar");
};
function dateReporter(_3f,_40){
document.getElementById(_3f).value=_40;
cancelOverDiv();
};
var baseURL="http://"+window.location.hostname+"/manage/";
function unhtmlentities(str){
var _41=document.createElement("div");
_41.innerHTML=str;
return _41.innerHTML;
};
var ToolMan={events:function(){
if(!ToolMan._eventsFactory){
throw "ToolMan Events module isn't loaded";
}
return ToolMan._eventsFactory;
},css:function(){
if(!ToolMan._cssFactory){
throw "ToolMan CSS module isn't loaded";
}
return ToolMan._cssFactory;
},coordinates:function(){
if(!ToolMan._coordinatesFactory){
throw "ToolMan Coordinates module isn't loaded";
}
return ToolMan._coordinatesFactory;
},drag:function(){
if(!ToolMan._dragFactory){
throw "ToolMan Drag module isn't loaded";
}
return ToolMan._dragFactory;
},dragsort:function(){
if(!ToolMan._dragsortFactory){
throw "ToolMan DragSort module isn't loaded";
}
return ToolMan._dragsortFactory;
},helpers:function(){
return ToolMan._helpers;
},cookies:function(){
if(!ToolMan._cookieOven){
throw "ToolMan Cookie module isn't loaded";
}
return ToolMan._cookieOven;
},junkdrawer:function(){
return ToolMan._junkdrawer;
}};
ToolMan._helpers={map:function(_42,_43){
for(var i=0,n=_42.length;i<n;i++){
_43(_42[i]);
}
},nextItem:function(_44,_45){
if(_44==null){
return;
}
var _46=_44.nextSibling;
while(_46!=null){
if(_46.nodeName==_45){
return _46;
}
_46=_46.nextSibling;
}
return null;
},previousItem:function(_47,_48){
var _49=_47.previousSibling;
while(_49!=null){
if(_49.nodeName==_48){
return _49;
}
_49=_49.previousSibling;
}
return null;
},moveBefore:function(_4a,_4b){
var _4c=_4a.parentNode;
_4c.removeChild(_4a);
_4c.insertBefore(_4a,_4b);
},moveAfter:function(_4d,_4e){
var _4f=_4d.parentNode;
_4f.removeChild(_4d);
_4f.insertBefore(_4d,_4e?_4e.nextSibling:null);
}};
ToolMan._junkdrawer={serializeList:function(_50){
var _51=_50.getElementsByTagName("li");
var _52=new Array();
for(var i=0,n=_51.length;i<n;i++){
var _53=_51[i];
_52.push(ToolMan.junkdrawer()._identifier(_53));
}
return _52.join("|");
},inspectListOrder:function(id){
alert(ToolMan.junkdrawer().serializeList(document.getElementById(id)));
},restoreListOrder:function(_54){
var _55=document.getElementById(_54);
if(_55==null){
return;
}
var _56=ToolMan.cookies().get("list-"+_54);
if(!_56){
return;
}
var IDs=_56.split("|");
var _57=ToolMan.junkdrawer()._itemsByID(_55);
for(var i=0,n=IDs.length;i<n;i++){
var _58=IDs[i];
if(_58 in _57){
var _59=_57[_58];
_55.removeChild(_59);
_55.insertBefore(_59,null);
}
}
},_identifier:function(_5a){
var _5b=ToolMan.junkdrawer().trim;
var _5c;
_5c=_5b(_5a.getAttribute("id"));
if(_5c!=null&&_5c.length>0){
return _5c;
}
_5c=_5b(_5a.getAttribute("itemID"));
if(_5c!=null&&_5c.length>0){
return _5c;
}
return _5b(_5a.innerHTML);
},_itemsByID:function(_5d){
var _5e=new Array();
var _5f=_5d.getElementsByTagName("li");
for(var i=0,n=_5f.length;i<n;i++){
var _60=_5f[i];
_5e[ToolMan.junkdrawer()._identifier(_60)]=_60;
}
return _5e;
},trim:function(_61){
if(_61==null){
return null;
}
return _61.replace(/^(\s+)?(.*\S)(\s+)?$/,"$2");
}};
ToolMan._eventsFactory={fix:function(_62){
if(!_62){
_62=window.event;
}
if(_62.target){
if(_62.target.nodeType==3){
_62.target=_62.target.parentNode;
}
}else{
if(_62.srcElement){
_62.target=_62.srcElement;
}
}
return _62;
},register:function(_63,_64,_65){
if(_63.addEventListener){
_63.addEventListener(_64,_65,false);
}else{
if(_63.attachEvent){
if(!_63._listeners){
_63._listeners=new Array();
}
if(!_63._listeners[_64]){
_63._listeners[_64]=new Array();
}
var _66=function(){
_65.apply(_63,new Array());
};
_63._listeners[_64][_65]=_66;
_63.attachEvent("on"+_64,_66);
}
}
},unregister:function(_67,_68,_69){
if(_67.removeEventListener){
_67.removeEventListener(_68,_69,false);
}else{
if(_67.detachEvent){
if(_67._listeners&&_67._listeners[_68]&&_67._listeners[_68][_69]){
_67.detachEvent("on"+_68,_67._listeners[_68][_69]);
}
}
}
}};
ToolMan._cssFactory={readStyle:function(_6a,_6b){
if(_6a.style[_6b]){
return _6a.style[_6b];
}else{
if(_6a.currentStyle){
return _6a.currentStyle[_6b];
}else{
if(document.defaultView&&document.defaultView.getComputedStyle){
var _6c=document.defaultView.getComputedStyle(_6a,null);
return _6c.getPropertyValue(_6b);
}else{
return null;
}
}
}
}};
ToolMan._coordinatesFactory={create:function(x,y){
return new _ToolManCoordinate(this,x,y);
},origin:function(){
return this.create(0,0);
},topLeftPosition:function(_6d){
var _6e=parseInt(ToolMan.css().readStyle(_6d,"left"));
var _6e=isNaN(_6e)?0:_6e;
var top=parseInt(ToolMan.css().readStyle(_6d,"top"));
var top=isNaN(top)?0:top;
return this.create(_6e,top);
},bottomRightPosition:function(_6f){
return this.topLeftPosition(_6f).plus(this._size(_6f));
},topLeftOffset:function(_70){
var _71=this._offset(_70);
var _72=_70.offsetParent;
while(_72){
_71=_71.plus(this._offset(_72));
_72=_72.offsetParent;
}
return _71;
},bottomRightOffset:function(_73){
return this.topLeftOffset(_73).plus(this.create(_73.offsetWidth,_73.offsetHeight));
},scrollOffset:function(){
if(window.pageXOffset){
return this.create(window.pageXOffset,window.pageYOffset);
}else{
if(document.documentElement){
return this.create(document.body.scrollLeft+document.documentElement.scrollLeft,document.body.scrollTop+document.documentElement.scrollTop);
}else{
if(document.body.scrollLeft>=0){
return this.create(document.body.scrollLeft,document.body.scrollTop);
}else{
return this.create(0,0);
}
}
}
},clientSize:function(){
if(window.innerHeight>=0){
return this.create(window.innerWidth,window.innerHeight);
}else{
if(document.documentElement){
return this.create(document.documentElement.clientWidth,document.documentElement.clientHeight);
}else{
if(document.body.clientHeight>=0){
return this.create(document.body.clientWidth,document.body.clientHeight);
}else{
return this.create(0,0);
}
}
}
},mousePosition:function(_74){
_74=ToolMan.events().fix(_74);
return this.create(_74.clientX,_74.clientY);
},mouseOffset:function(_75){
_75=ToolMan.events().fix(_75);
if(_75.pageX>=0||_75.pageX<0){
return this.create(_75.pageX,_75.pageY);
}else{
if(_75.clientX>=0||_75.clientX<0){
return this.mousePosition(_75).plus(this.scrollOffset());
}
}
},_size:function(_76){
return this.create(_76.offsetWidth,_76.offsetHeight);
},_offset:function(_77){
return this.create(_77.offsetLeft,_77.offsetTop);
}};
function _ToolManCoordinate(_78,x,y){
this.factory=_78;
this.x=isNaN(x)?0:x;
this.y=isNaN(y)?0:y;
};
_ToolManCoordinate.prototype={toString:function(){
return "("+this.x+","+this.y+")";
},plus:function(_79){
return this.factory.create(this.x+_79.x,this.y+_79.y);
},minus:function(_7a){
return this.factory.create(this.x-_7a.x,this.y-_7a.y);
},min:function(_7b){
return this.factory.create(Math.min(this.x,_7b.x),Math.min(this.y,_7b.y));
},max:function(_7c){
return this.factory.create(Math.max(this.x,_7c.x),Math.max(this.y,_7c.y));
},constrainTo:function(one,two){
var min=one.min(two);
var max=one.max(two);
return this.max(min).min(max);
},distance:function(_7d){
return Math.sqrt(Math.pow(this.x-_7d.x,2)+Math.pow(this.y-_7d.y,2));
},reposition:function(_7e){
_7e.style["top"]=this.y+"px";
_7e.style["left"]=this.x+"px";
}};
ToolMan._dragFactory={createSimpleGroup:function(_7f,_80){
_80=_80?_80:_7f;
var _81=this.createGroup(_7f);
_81.setHandle(_80);
_81.transparentDrag();
_81.onTopWhileDragging();
return _81;
},createGroup:function(_82){
var _83=new _ToolManDragGroup(this,_82);
var _84=ToolMan.css().readStyle(_82,"position");
if(_84=="static"){
_82.style["position"]="relative";
}else{
if(_84=="absolute"){
ToolMan.coordinates().topLeftOffset(_82).reposition(_82);
}
}
_83.register("draginit",this._showDragEventStatus);
_83.register("dragmove",this._showDragEventStatus);
_83.register("dragend",this._showDragEventStatus);
return _83;
},_showDragEventStatus:function(_85){
window.status=_85.toString();
},constraints:function(){
return this._constraintFactory;
},_createEvent:function(_86,_87,_88){
return new _ToolManDragEvent(_86,_87,_88);
}};
function _ToolManDragGroup(_89,_8a){
this.factory=_89;
this.element=_8a;
this._handle=null;
this._thresholdDistance=0;
this._transforms=new Array();
this._listeners=new Array();
this._listeners["draginit"]=new Array();
this._listeners["dragstart"]=new Array();
this._listeners["dragmove"]=new Array();
this._listeners["dragend"]=new Array();
};
_ToolManDragGroup.prototype={setHandle:function(_8b){
var _8c=ToolMan.events();
_8b.toolManDragGroup=this;
_8c.register(_8b,"mousedown",this._dragInit);
_8b.onmousedown=function(){
return false;
};
if(this.element!=_8b){
_8c.unregister(this.element,"mousedown",this._dragInit);
}
},register:function(_8d,_8e){
this._listeners[_8d].push(_8e);
},addTransform:function(_8f){
this._transforms.push(_8f);
},verticalOnly:function(){
this.addTransform(this.factory.constraints().vertical());
},horizontalOnly:function(){
this.addTransform(this.factory.constraints().horizontal());
},setThreshold:function(_90){
this._thresholdDistance=_90;
},transparentDrag:function(_91){
var _91=typeof (_91)!="undefined"?_91:0.75;
var _92=ToolMan.css().readStyle(this.element,"opacity");
this.register("dragstart",function(_93){
var _94=_93.group.element;
_94.style.opacity=_91;
_94.style.filter="alpha(opacity="+(_91*100)+")";
});
this.register("dragend",function(_95){
var _96=_95.group.element;
_96.style.opacity=_92;
_96.style.filter="alpha(opacity=100)";
});
},onTopWhileDragging:function(_97){
var _97=typeof (_97)!="undefined"?_97:100000;
var _98=ToolMan.css().readStyle(this.element,"z-index");
this.register("dragstart",function(_99){
_99.group.element.style.zIndex=_97;
});
this.register("dragend",function(_9a){
_9a.group.element.style.zIndex=_98;
});
},_dragInit:function(_9b){
_9b=ToolMan.events().fix(_9b);
var _9c=document.toolManDragGroup=this.toolManDragGroup;
var _9d=_9c.factory._createEvent("draginit",_9b,_9c);
_9c._isThresholdExceeded=false;
_9c._initialMouseOffset=_9d.mouseOffset;
_9c._grabOffset=_9d.mouseOffset.minus(_9d.topLeftOffset);
ToolMan.events().register(document,"mousemove",_9c._drag);
document.onmousemove=function(){
return false;
};
ToolMan.events().register(document,"mouseup",_9c._dragEnd);
_9c._notifyListeners(_9d);
},_drag:function(_9e){
_9e=ToolMan.events().fix(_9e);
var _9f=ToolMan.coordinates();
var _a0=this.toolManDragGroup;
if(!_a0){
return;
}
var _a1=_a0.factory._createEvent("dragmove",_9e,_a0);
var _a2=_a1.mouseOffset.minus(_a0._grabOffset);
if(!_a0._isThresholdExceeded){
var _a3=_a1.mouseOffset.distance(_a0._initialMouseOffset);
if(_a3<_a0._thresholdDistance){
return;
}
_a0._isThresholdExceeded=true;
_a0._notifyListeners(_a0.factory._createEvent("dragstart",_9e,_a0));
}
for(i in _a0._transforms){
var _a4=_a0._transforms[i];
_a2=_a4(_a2,_a1);
}
var _a5=_a2.minus(_a1.topLeftOffset);
var _a6=_a1.topLeftPosition.plus(_a5);
_a6.reposition(_a0.element);
_a1.transformedMouseOffset=_a2.plus(_a0._grabOffset);
_a0._notifyListeners(_a1);
var _a7=_a2.minus(_9f.topLeftOffset(_a0.element));
if(_a7.x!=0||_a7.y!=0){
_9f.topLeftPosition(_a0.element).plus(_a7).reposition(_a0.element);
}
},_dragEnd:function(_a8){
_a8=ToolMan.events().fix(_a8);
var _a9=this.toolManDragGroup;
var _aa=_a9.factory._createEvent("dragend",_a8,_a9);
_a9._notifyListeners(_aa);
this.toolManDragGroup=null;
ToolMan.events().unregister(document,"mousemove",_a9._drag);
document.onmousemove=null;
ToolMan.events().unregister(document,"mouseup",_a9._dragEnd);
},_notifyListeners:function(_ab){
var _ac=this._listeners[_ab.type];
for(i in _ac){
_ac[i](_ab);
}
}};
function _ToolManDragEvent(_ad,_ae,_af){
this.type=_ad;
this.group=_af;
this.mousePosition=ToolMan.coordinates().mousePosition(_ae);
this.mouseOffset=ToolMan.coordinates().mouseOffset(_ae);
this.transformedMouseOffset=this.mouseOffset;
this.topLeftPosition=ToolMan.coordinates().topLeftPosition(_af.element);
this.topLeftOffset=ToolMan.coordinates().topLeftOffset(_af.element);
};
_ToolManDragEvent.prototype={toString:function(){
return "mouse: "+this.mousePosition+this.mouseOffset+"    "+"xmouse: "+this.transformedMouseOffset+"    "+"left,top: "+this.topLeftPosition+this.topLeftOffset;
}};
ToolMan._dragFactory._constraintFactory={vertical:function(){
return function(_b0,_b1){
var x=_b1.topLeftOffset.x;
return _b0.x!=x?_b0.factory.create(x,_b0.y):_b0;
};
},horizontal:function(){
return function(_b2,_b3){
var y=_b3.topLeftOffset.y;
return _b2.y!=y?_b2.factory.create(_b2.x,y):_b2;
};
}};
ToolMan._dragsortFactory={makeSortable:function(_b4){
var _b5=ToolMan.drag().createSimpleGroup(_b4);
_b5.register("dragstart",this._onDragStart);
_b5.register("dragmove",this._onDragMove);
_b5.register("dragend",this._onDragEnd);
return _b5;
},makeListSortable:function(_b6){
var _b7=ToolMan.helpers();
var _b8=ToolMan.coordinates();
var _b9=_b6.getElementsByTagName("li");
_b7.map(_b9,function(_ba){
var _bb=dragsort.makeSortable(_ba);
_bb.setThreshold(4);
var min,max;
_bb.addTransform(function(_bc,_bd){
return _bc.constrainTo(min,max);
});
_bb.register("dragstart",function(){
var _be=_b6.getElementsByTagName("li");
min=max=_b8.topLeftOffset(_be[0]);
for(var i=1,n=_be.length;i<n;i++){
var _bf=_b8.topLeftOffset(_be[i]);
min=min.min(_bf);
max=max.max(_bf);
}
});
});
for(var i=1,n=arguments.length;i<n;i++){
_b7.map(_b9,arguments[i]);
}
},_onDragStart:function(_c0){
},_onDragMove:function(_c1){
var _c2=ToolMan.helpers();
var _c3=ToolMan.coordinates();
var _c4=_c1.group.element;
var _c5=_c1.transformedMouseOffset;
var _c6=null;
var _c7=_c2.previousItem(_c4,_c4.nodeName);
while(_c7!=null){
var _c8=_c3.bottomRightOffset(_c7);
if(_c5.y<=_c8.y&&_c5.x<=_c8.x){
_c6=_c7;
}
_c7=_c2.previousItem(_c7,_c4.nodeName);
}
if(_c6!=null){
_c2.moveBefore(_c4,_c6);
return;
}
var _c9=_c2.nextItem(_c4,_c4.nodeName);
while(_c9!=null){
var _ca=_c3.topLeftOffset(_c9);
if(_ca.y<=_c5.y&&_ca.x<=_c5.x){
_c6=_c9;
}
_c9=_c2.nextItem(_c9,_c4.nodeName);
}
if(_c6!=null){
_c2.moveBefore(_c4,_c2.nextItem(_c6,_c4.nodeName));
return;
}
},_onDragEnd:function(_cb){
ToolMan.coordinates().create(0,0).reposition(_cb.group.element);
}};
ToolMan._cookieOven={set:function(_cc,_cd,_ce){
if(_ce){
var _cf=new Date();
_cf.setTime(_cf.getTime()+(_ce*24*60*60*1000));
var _d0="; expires="+_cf.toGMTString();
}else{
var _d0="";
}
document.cookie=_cc+"="+_cd+_d0+"; path=/";
},get:function(_d1){
var _d2=_d1+"=";
var _d3=document.cookie.split(";");
for(var i=0,n=_d3.length;i<n;i++){
var c=_d3[i];
while(c.charAt(0)==" "){
c=c.substring(1,c.length);
}
if(c.indexOf(_d2)==0){
return c.substring(_d2.length,c.length);
}
}
return null;
},eraseCookie:function(_d4){
createCookie(_d4,"",-1);
}};
var dragsort;
var junkdrawer;
function verticalOnly(_d5){
_d5.toolManDragGroup.verticalOnly();
};
function initSortList(_d6){
junkdrawer.restoreListOrder(_d6);
if(document.getElementById(_d6)){
dragsort.makeListSortable(document.getElementById(_d6),verticalOnly);
}
};
function updateHiddenField(_d7,_d8){
var _d9=document.getElementById(_d7).getElementsByTagName("li");
var _da=new Array();
var _db="";
for(var i=0,n=_d9.length;i<n;i++){
var _dc=_d9[i].innerHTML;
var _dd=_dc.match(/Delete\('(.*)'\)/);
if(_dd){
_dd=_dd[1].split("'");
_db+="_"+_dd[0];
}
}
window.document.getElementById(_d8).value=_db;
};
var wikiAreaId;
function initWikiToolBar(_de){
if(document.getElementById){
if(typeof (wikiToolBar)!="function"){
loadJavascriptSync("/manage/core/0.15b/js/wikitoolbar/toolbar.js");
}
if(typeof (wikiToolBar)!="function"){
wikiAreaId=_de;
setTimeout("loadWikiToolBar(wikiAreaId)",500);
}else{
loadWikiToolBar(_de);
}
}
};
function loadWikiToolBar(_df){
var tb=new wikiToolBar(document.getElementById(_df+"zoom"),"/manage/core/0.15b/images_manage/wikiToolbar/");
tb.btStrong("Forte emphase");
tb.btEm("Emphase");
tb.btQ("RÃ©fÃ©rence");
tb.btCode("Code");
tb.btH1("Titre de niveau 1");
tb.btH2("Titre de niveau 2");
tb.btH3("Titre de niveau 3");
tb.addSpace(10);
tb.btBr("Saut de ligne");
tb.btHr("Ligne horizontale");
tb.addSpace(10);
tb.btBquote("Bloc de citation");
tb.btPre("Texte prÃ©formatÃ©");
tb.btList("Liste non ordonnÃ©e","ul");
tb.btList("Liste ordonnÃ©e","ol");
tb.btDl("DÃ©finition","Terme","DÃ©finition");
tb.btAcronym("Sigle","Sigle","DÃ©finition");
tb.btCite("Citation","Citation","Langue","fr","Source");
tb.addSpace(10);
tb.btLink("Lien","Texte du lien","URL ?","Langue ?","fr");
tb.btImgLink("Image","URL ?","Texte alternatif");
tb.addSpace(10);
tb.btEmajineImg("Image du centre de ressource","/manage/ressources/index.php?ch=insert_ressource&displaycontent=True&ressource=image,diaporama,flash&input_id="+_df+"&lang=&type=1");
tb.btEmajineLink("Lien du centre de ressource","/manage/ressources/index.php?ch=insert_ressource&displaycontent=True&ressource=link,media&input_id="+_df+"&lang=&type=2");
tb.btEmajineLinkRub("Lien vers une rubrique","/manage/global_scripts/index.php?ch=insert_rubriques&displaycontent=True&input_id="+_df+"&lang=&type=1");
tb.draw("");
};
function reportImgWiki(_e0,src,alt,_e1){
if(FCKAPI){
if(typeof _e1!="undefined"){
var _e2=FCKAPI.EditorDocument.createElement("DIV");
_e2.innerHTML=_e1;
FCKAPI.InsertElement(_e2);
}else{
var _e3=FCKAPI.EditorDocument.createElement("IMG");
var _e4=new Image();
_e4.src=src;
_e3.setAttribute("alt",alt,0);
_e4.onload=function(){
_e3.src=this.src;
FCKAPI.InsertElement(_e3);
};
}
}else{
var _e5=new wikiToolBar(document.getElementById(_e0+"zoom"),"/manage/core/0.15b/images_manage/wikiToolbar/");
_e5.insImg(src,alt);
}
cancelInsertDiv();
};
function reportLinkWiki(_e6,_e7,_e8,_e9){
if(FCKAPI){
FCKAPI.InsertHtml("<a href='"+_e7+"' hreflang='"+_e9+"'>"+_e8+"</a>");
}else{
var _ea=new wikiToolBar(document.getElementById(_e6+"zoom"),"/manage/core/0.15b/images_manage/wikiToolbar/");
_ea.insLink(_e7,_e8,_e9);
}
cancelInsertDiv();
};
var FCKAPI;
var FCKPageAreaId;
var FCKOverlibAreaId;
function setWIKIOrFCKEditor(_eb,_ec,_ed){
var _ee=document.getElementById(_ec);
if(_ee.value&&typeof _ed==="undefined"){
if(confirm(unhtmlentities("Si vous changer le mode d'&eacute;dition, les donn&eacute;es seront perdues.\nVoulez-vous vraiment changer le mode d'&eacute;dition?"))){
_ee.value="";
}else{
_eb.selectedIndex=_eb.selectedIndex?0:1;
}
}
if(_eb.selectedIndex){
document.getElementById(_ec+"_viewwiki").style.display="none";
document.getElementById(_ec+"_viewfcke").style.display="inline";
}else{
document.getElementById(_ec+"_viewwiki").style.display="inline";
document.getElementById(_ec+"_viewfcke").style.display="none";
}
};
function initFCKEditorToolBar(_ef){
FCKAPI=null;
__FCKeditorNS=null;
FCKEditorAPI=null;
FCKPageAreaId=_ef;
FCKOverlibAreaId=_ef+"zoom";
document.getElementById("pleasewait").style.display="block";
if(typeof (FCKeditor)!="function"){
loadJavascriptSync("/manage/core/0.15b/js/fckeditor/fckeditor.js");
}
if(typeof (FCKeditor)!="function"){
setTimeout("loadFCKEditorToolBar(FCKOverlibAreaId)",500);
}else{
loadFCKEditorToolBar(FCKOverlibAreaId);
}
};
function loadFCKEditorToolBar(_f0){
var _f1="/manage/core/0.15b/js/fckeditor/";
var _f2=new FCKeditor(_f0,"100%","500px","Advanced");
_f2.BasePath=_f1;
_f2.ReplaceTextarea();
};
function FCKeditor_OnComplete(ref){
FCKAPI=ref;
FCKAPI.hasChanged=false;
document.getElementById("pleasewait").style.display="none";
FCKSetIframeszIndex();
var _f3=Emajine_Layers_Obj.emajine_layer_get_element_id_by_token("overDivZoom");
var _f4=document.getElementById("emajine_layer_footer_"+_f3).firstChild;
_f4.onmousedown=FCKOnClose;
var _f5=document.getElementById("emajine_layer_close_"+_f3).firstChild;
_f5.onmousedown=FCKOnClose;
};
function FCKSetIframeszIndex(){
var _f6=document.getElementById("page");
var inc=0;
while(inc<40){
if(_f6.nextSibling){
_f6=_f6.nextSibling;
if(_f6.tagName=="IFRAME"){
_f6.style.zIndex="10000";
}
}else{
break;
}
inc++;
}
};
function FCKOnClose(e){
if(document.getElementById(FCKPageAreaId+"_styles")){
var _f7;
_f7=FCKAPI.GetXHTML();
var _f8=_f7.indexOf("<!--BeginOfStyles-->");
var _f9=_f7.indexOf("<!--EndOfStyles-->")+18;
var _fa=_f7.substring(0,_f8);
_fa=_fa+_f7.substr(_f9,_f7.length);
document.getElementById(FCKPageAreaId).value=_fa;
}else{
document.getElementById(FCKPageAreaId).value=FCKAPI.GetXHTML();
}
FCKAPI.EditorDocument.designMode="off";
};
function updateZoom(_fb){
var _fc="";
var _fd="";
if(document.getElementById(_fb+"_styles")){
_fd=document.getElementById(_fb+"_styles").innerHTML;
if(_fd.substring(0,1)=="/"){
_fc="<!--BeginOfStyles--><link rel=\"stylesheet\" type=\"text/css\" href=\""+document.getElementById(_fb+"_styles").innerHTML+"\" media=\"screen\" title=\"Normal\" /><!--EndOfStyles-->";
}else{
_fc="<!--BeginOfStyles--><style type=\"text/css\">"+document.getElementById(_fb+"_styles").innerHTML+"</style><!--EndOfStyles-->";
}
}
document.getElementById(_fb+"zoom").value=_fc+document.getElementById(_fb).value;
};
function updateTextarea(_fe){
document.getElementById(_fe).value=document.getElementById(_fe+"zoom").value;
};
function showzoompreview(_ff){
document.getElementById("zoompreview").className="active";
document.getElementById("zoomeditor").className="default";
document.getElementById("zoomorthography").className="default";
document.getElementById("zoomvalidator").className="default";
if(FCKAPI){
document.getElementById("overlibzoom").style.display="none";
document.getElementById("overlibvalidator").style.display="none";
document.getElementById("overliborthography").style.display="none";
document.getElementById("overlibpreview").innerHTML=FCKAPI.GetXHTML();
document.getElementById("overlibpreview").style.display="block";
}else{
var _100=preparePostValue(document.getElementById(_ff+"zoom").value);
xmlhttp.open("POST",baseURL+"getzoompreview",true);
xmlhttp.onreadystatechange=function(){
if(xmlhttp.readyState==4){
var _101=xmlhttp.responseText;
document.getElementById("overlibzoom").style.display="none";
document.getElementById("overlibvalidator").style.display="none";
document.getElementById("overliborthography").style.display="none";
document.getElementById("overlibpreview").innerHTML=_101;
document.getElementById("overlibpreview").style.display="block";
}
getJavascript("getzoompreview-js");
};
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.send("content="+_100);
}
};
function showzoomorthography(_102){
document.getElementById("zoomorthography").className="active";
document.getElementById("zoomeditor").className="default";
document.getElementById("zoompreview").className="default";
document.getElementById("zoomvalidator").className="default";
document.getElementById("overliborthography").style.display="block";
document.getElementById("overlibzoom").style.display="none";
document.getElementById("overlibvalidator").style.display="none";
document.getElementById("overlibpreview").style.display="none";
document.getElementById("overliborthography").innerHTML="<p>Veuillez patienter...</p>";
if(FCKAPI){
var _103=FCKAPI.GetXHTML();
_103=_103.replace(/<a /gi,"<a_neutralized ");
_103=_103.replace(/<\/a>/gi,"</a_neutralized>");
_103=preparePostValue(_103);
}else{
var _103=preparePostValue(document.getElementById(_102+"zoom").value);
}
xmlhttp.open("POST",baseURL+"getzoomorthography",true);
xmlhttp.onreadystatechange=function(){
if(xmlhttp.readyState==4){
var _104=xmlhttp.responseText;
document.getElementById("overliborthography").innerHTML=_104;
}
getJavascript("getzoomorthography-js");
};
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
if(!FCKAPI){
xmlhttp.send("content="+_103+"&id_area="+_102);
}else{
xmlhttp.send("content="+_103+"&id_area="+_102+"&fck=1");
}
};
function showzoomvalidator(_105){
document.getElementById("zoomvalidator").className="active";
document.getElementById("zoompreview").className="default";
document.getElementById("zoomeditor").className="default";
document.getElementById("zoomorthography").className="default";
document.getElementById("pleasewait").style.display="block";
if(FCKAPI){
var _106=preparePostValue(FCKAPI.GetXHTML());
}else{
var _106=preparePostValue(document.getElementById(_105+"zoom").value);
}
xmlhttp.open("POST",baseURL+"getzoomvalidator",true);
xmlhttp.onreadystatechange=function(){
if(xmlhttp.readyState==4){
var _107=xmlhttp.responseText;
document.getElementById("overlibzoom").style.display="none";
document.getElementById("overliborthography").style.display="none";
document.getElementById("overlibpreview").style.display="none";
document.getElementById("overlibvalidator").innerHTML=_107;
document.getElementById("overlibvalidator").style.display="block";
document.getElementById("pleasewait").style.display="none";
}
getJavascript("getzoompreview-js");
};
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.send("content="+_106);
};
function refreshZoomEditor(_108){
var _109=document.getElementById("orthography_editor").innerHTML;
if(FCKAPI){
_109=_109.replace(/<strong([^>]*)class=(")?corrected(")?([^>]*)>([^<]*)<\/strong>/gi,"$5");
_109=_109.replace(/<strong([^>]*)class=(")?misspeling(")?([^>]*)>([^<]*)<\/strong>/gi,"$5");
_109=_109.replace(/<a_neutralized /gi,"<a ");
_109=_109.replace(/<\/a_neutralized>/gi,"</a>");
FCKAPI.SetHTML(_109);
}else{
_109=_109.replace(/\n/g,"");
_109=_109.replace(/<br>/gi,"\n");
_109=_109.replace(/&lt;/g,"<");
_109=_109.replace(/&gt;/g,">");
_109=_109.replace(/&amp;/g,"&");
_109=_109.replace(/<strong([^>]*)class=(")?corrected(")?([^>]*)>([^<]*)<\/strong>/gi,"$5");
_109=_109.replace(/<strong([^>]*)class=(")?misspeling(")?([^>]*)>([^<]*)<\/strong>/gi,"$5");
document.getElementById(_108+"zoom").value=_109;
}
updateTextarea(_108);
};
var spellingSuggestionsDiv=null;
function showZoomSuggestions(word,id){
if(spellingSuggestionsDiv){
spellingSuggestionsDiv.parentNode.removeChild(spellingSuggestionsDiv);
spellingSuggestionsDiv=null;
}
spellingSuggestionsDiv=document.createElement("DIV");
spellingSuggestionsDiv.className="suggestion_box";
spellingSuggestionsDiv.style.position="absolute";
spellingSuggestionsDiv.style.left=findPosX(id)+"px";
spellingSuggestionsDiv.style.top=findPosY(id)+16+"px";
spellingSuggestionsDiv.ignoreNextClick=true;
document.body.appendChild(spellingSuggestionsDiv);
var _10a=preparePostValue(word);
var id=preparePostValue(id);
xmlhttp.open("POST",baseURL+"getzoomorthography-suggestions",false,null,null);
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.send("word="+_10a+"&id="+id);
if(xmlhttp.readyState==4){
var _10b=xmlhttp.responseText;
spellingSuggestionsDiv.innerHTML=_10b;
}
};
function replaceWord(id,word){
document.getElementById(id).innerHTML=word;
document.getElementById(id).className="corrected";
};
function replaceCustomWord(id){
var word=document.getElementById("orthography_custom_replace").value;
document.getElementById(id).innerHTML=word;
document.getElementById(id).className="corrected";
};
function findPosX(_10c){
var _10d=0;
var obj=document.getElementById(_10c);
if(obj.offsetParent){
while(obj.offsetParent){
_10d+=obj.offsetLeft-obj.scrollLeft;
obj=obj.offsetParent;
}
}else{
if(obj.x){
_10d+=obj.x;
}
}
return _10d;
};
function findPosY(_10e){
var _10f=0;
var _10f=0;
var obj=document.getElementById(_10e);
if(obj.offsetParent){
while(obj.offsetParent){
_10f+=obj.offsetTop-obj.scrollTop;
obj=obj.offsetParent;
}
}else{
if(obj.y){
_10f+=obj.y;
}
}
return _10f;
};
function checkClickLocation(e){
if(spellingSuggestionsDiv){
if(spellingSuggestionsDiv.ignoreNextClick){
spellingSuggestionsDiv.ignoreNextClick=false;
}else{
if(e){
var _110=e.target;
}else{
var _110=window.event.srcElement;
}
var _111=document.getElementById("orthography_custom_replace");
if(_110!=spellingSuggestionsDiv&&spellingSuggestionsDiv.parentNode&&_110!=_111){
spellingSuggestionsDiv.parentNode.removeChild(spellingSuggestionsDiv);
spellingSuggestionsDiv=null;
}
}
}
return true;
};
function showzoomeditor(){
document.getElementById("zoomeditor").className="active";
document.getElementById("zoompreview").className="default";
document.getElementById("zoomorthography").className="default";
document.getElementById("zoomvalidator").className="default";
document.getElementById("overlibpreview").style.display="none";
document.getElementById("overliborthography").style.display="none";
document.getElementById("overlibvalidator").style.display="none";
document.getElementById("overlibzoom").style.display="block";
if(FCKAPI){
if(!document.all){
FCKAPI.EditorDocument.designMode="on";
}
}
};
function reportSingleElement(name,_112,nom){
if(document.getElementById(name+"_divjs")){
eval(document.getElementById(name+"_divjs").innerHTML);
}
document.getElementById(name).value=_112;
document.getElementById(name+"div").innerHTML=nom+"&nbsp;";
var _113=document.createElement("a");
_113.href="javascript:deleteSingleElement('"+name+"')";
_113.innerHTML="Supprimer";
document.getElementById(name+"div").appendChild(_113);
cancelInsertDiv();
};
function deleteSingleElement(name){
if(confirm("Etes-vous sÃ»r de vouloir supprimer cet Ã©lÃ©ment ?")){
window.document.getElementById(name).value="";
window.document.getElementById(name+"div").innerHTML="";
}
};
function categoryReporter(name,_114,nom){
if(name.substr(name.length-2,2)=="[]"){
name=name.substr(0,name.length-2);
document.getElementById(name).value=document.getElementById(name).value+"_"+_114;
document.getElementById(name+"div").innerHTML+="<div id=\""+name+"_"+_114+"\">"+nom+"&nbsp;<a href=\"javascript:categoryDelete('"+name+"',"+_114+")\">Supprimer</a></div>";
}else{
document.getElementById(name).value=_114;
document.getElementById(name+"div").innerHTML="<div id=\""+name+"_"+_114+"\">"+nom+"&nbsp;<a href=\"javascript:categoryDelete('"+name+"',"+_114+")\">Supprimer</a></div>";
}
cancelInsertDiv();
};
function categoryDelete(name,data){
if(confirm("Etes-vous sÃ»r de vouloir supprimer cet Ã©lÃ©ment ?")){
window.document.getElementById(name+"_"+data).innerHTML="";
var _115=window.document.getElementById(name).value;
var vals=_115.split("_");
_115="";
for(i in vals){
if(vals[i]&&vals[i]!=data){
_115+=vals[i]+"_";
}
}
_115=_115.substr(0,_115.length-1);
window.document.getElementById(name).value=_115;
}
};
function multiRessourcesReporter(_116,nom,url,name){
var _117=document.getElementById(name).value;
var re=new RegExp("_"+_116+"$");
var var1=_117.match(re);
re=new RegExp("_"+_116+"_");
var var2=_117.match(re);
if(!var1&&!var2){
document.getElementById(name).value+="_"+_116;
var span=name+"div";
var list=document.getElementById(span).innerHTML;
document.getElementById(span).innerHTML=list.replace("</ul>","<li><img src=\"/manage/core/0.15b/images_manage/updown.png\" alt=\"up and down\" />"+nom+"&nbsp;<span class=\"actions\"><a href=\""+url+"\" onclick=\"window.open(this.href); return false;\">Editer</a>&nbsp;<a href=\"javascript:multiRessourcesDelete('"+_116+"','"+name+"')\">Supprimer</a></span></li></ul>");
list=document.getElementById(span).innerHTML;
document.getElementById(span).innerHTML=list.replace("</UL>","<li><img src=\"/manage/core/0.15b/images_manage/updown.png\" alt=\"up and down\" />"+nom+"&nbsp;<span class=\"actions\"><a href=\""+url+"\" onclick=\"window.open(this.href); return false;\">Editer</a>&nbsp;<a href=\"javascript:multiRessourcesDelete('"+_116+"','"+name+"')\">Supprimer</a></span></li></ul>");
initSortList("list_"+name);
}else{
alert(unhtmlentities("Cette ressource a d&eacute;j&agrave; &eacute;t&eacute; ajout&eacute;e !!!"));
}
};
function multiRessourcesDelete(data,name){
if(confirm("Etes-vous sÃ»r de vouloir supprimer cet Ã©lÃ©ment ?")){
var _118=window.document.getElementById(name).value;
_118=_118.replace("_"+data+"_","_");
var re=new RegExp("_"+data+"$");
_118=_118.replace(re,"");
window.document.getElementById(name).value=_118;
var _119=window.document.getElementById("list_"+name).getElementsByTagName("li");
var list="<ul id=\"list_"+name+"\" class=\"elements_list\">";
for(var i=0,n=_119.length;i<n;i++){
var item=_119[i].innerHTML;
var _11a=item.match(/multiRessourcesDelete\('(.*)'\)/);
if(_11a){
_11a=_11a[1].split("'");
if(_11a[0]!=data){
list+="<li>"+item+"</li>";
}
}
}
window.document.getElementById(name+"div").innerHTML=list+"</ul>";
initSortList("list_"+name);
}
};
function rubriquesReporter(_11b,nom,name){
var _11c=document.getElementById(name).value;
var re=new RegExp("_"+_11b+"$");
var var1=_11c.match(re);
re=new RegExp("_"+_11b+"_");
var var2=_11c.match(re);
if(!var1&&!var2){
document.getElementById(name).value+="_"+_11b;
var span=name+"div";
var list=document.getElementById(span).innerHTML;
document.getElementById(span).innerHTML=list.replace("</ul>","<li><img src=\"/manage/core/0.15b/images_manage/updown.png\" alt=\"up and down\" />"+nom+"&nbsp;<span class=\"actions\" /><a href=\"javascript:rubriquesDelete('"+_11b+"','"+name+"')\">Supprimer</a></span></li></ul>");
list=document.getElementById(span).innerHTML;
document.getElementById(span).innerHTML=list.replace("</UL>","<li><img src=\"/manage/core/0.15b/images_manage/updown.png\" alt=\"up and down\" />"+nom+"&nbsp;<span class=\"actions\" /><a href=\"javascript:rubriquesDelete('"+_11b+"','"+name+"')\">Supprimer</a></span></li></ul>");
initSortList("list_"+name);
}else{
alert(unhtmlentities("Cette ressource a d&eacute;j&agrave; &eacute;t&eacute; ajout&eacute;e !!!"));
}
};
function rubriquesDelete(data,name){
if(confirm("Etes-vous sÃ»r de vouloir supprimer cet Ã©lÃ©ment ?")){
var _11d=window.document.getElementById(name).value;
_11d=_11d.replace("_"+data+"_","_");
var re=new RegExp("_"+data+"$");
_11d=_11d.replace(re,"");
window.document.getElementById(name).value=_11d;
var _11e=window.document.getElementById("list_"+name).getElementsByTagName("li");
var list="<ul id=\"list_"+name+"\" class=\"elements_list\">";
for(var i=0,n=_11e.length;i<n;i++){
var item=_11e[i].innerHTML;
var _11f=item.match(/Delete\('(.*)'\)/);
if(_11f){
_11f=_11f[1].split("'");
if(_11f[0]!=data){
list+="<li>"+item+"</li>";
}
}
}
window.document.getElementById(name+"div").innerHTML=list+"</ul>";
initSortList("list_"+name);
}
};
function fillSelect(url,_120,_121,_122){
if(document.getElementById(_120)=="undefined"){
return false;
}
var _123=getXmlHttpObject();
_123.open("POST",url,true);
_123.onreadystatechange=function(){
if(_123.readyState==4){
if(_123.status==200){
var _124=document.getElementById(_120);
_124.options.length=0;
if(_123.responseXML){
var _125=_123.responseXML.getElementsByTagName("option");
var i,len=_125.length;
if(len>0){
for(i=0;i<len;i++){
_124.options[i]=new Option(_125[i].firstChild.data,_125[i].getAttribute("value"));
}
}else{
var _126=_123.responseXML.getElementsByTagName("message");
len=_126.length;
for(i=0;i<len;i++){
_124.options[i]=new Option(_126[i].firstChild.data,"");
_124.options[i].className="combo_message";
}
}
}
}
}
};
_123.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
strData="";
try{
strData=document.getElementById(_121).value;
}
catch(e){
}
_123.send("strData="+encodeURIComponent(strData)+"&"+implodeArray(_122));
};
function implodeArray(_127,key){
if(typeof (_127)!="object"){
return _127+"="+_127;
}
this.out=new String();
this._implodeArray=function(arr,k){
var out=new String();
for(d in arr){
if(typeof (arr[d])=="object"){
if(k){
out+=this._implodeArray(arr[d],k+"["+d+"]");
}else{
out+=this._implodeArray(arr[d],d);
}
}else{
if(k){
out+=k+"["+d+"]="+encodeURIComponent(arr[d])+"&";
}else{
out+=d+"="+encodeURIComponent(arr[d])+"&";
}
}
}
return out;
};
this.out=this._implodeArray(_127,key);
return this.out.substring(0,this.out.length-1);
};
var comboMultipleInputValue="";
function comboMultipleSendRequest(_128,_129,_12a,url,data,_12b,_12c){
if(!_12b){
_12b=1;
}
var _12d=document.getElementById(_129);
if(_128.value==""){
_12d.style.display="none";
}else{
_12d.style.display="inline";
if(_128.value.length<_12b){
_12d.options.length=0;
_12d.options[0]=new Option(_12c,"");
}else{
if(_128.value.length>comboMultipleInputValue.length){
_12d.options.length=0;
_12d.options[0]=new Option(_12a,"");
fillSelect(url,_129,_128.id,data);
}
}
}
comboMultipleInputValue=_128.value;
};
function comboMultipleDrop(_12e,_12f,ulId,_130){
var _131=_12e.options[_12e.selectedIndex].value;
var _132=_12e.options[_12e.selectedIndex].text;
if(_131){
var _133=document.getElementById(ulId);
var _134=_133.getElementsByTagName("input");
var _135=false;
for(_136 in _134){
if(_134[_136].value==_131){
_135=true;
}
}
if(_135==false){
_133.innerHTML+=_130.replace(/{value}/,_131).replace(/{content}/,_132);
}
}
_12e.style.display="none";
var _136=document.getElementById(_12f);
_136.select();
_136.focus();
};
function collapse(id){
var list=document.getElementById("list_"+id);
var link=document.getElementById("collapse_"+id);
if(list.style.display=="none"){
list.style.display="block";
link.innerHTML="[-]";
}else{
list.style.display="none";
link.innerHTML="[+]";
}
};
function changeSelect(name,_137){
document.getElementById(name).value=_137;
var _138=document.getElementById(name).options;
for(var i=0;i<_138.length;i++){
var opt=_138[i].value;
if(opt==_137){
window.document.getElementById(opt+name).innerHTML="<img src=\"/manage/core/0.15b/images_manage/ressources/structuredDocument/selector.gif\" alt=\"Selection\" />";
}else{
window.document.getElementById(opt+name).innerHTML="&nbsp;";
}
}
};
function link_ressource_set_type(){
var _139=document.getElementById("type").value;
var _13a=new Array;
var _13b=new Array;
switch(_139){
case "text_url":
_13a=["url"];
_13b=["picture","media","rubrique","form"];
break;
case "text_media":
_13a=["media"];
_13b=["picture","url","rubrique","form"];
break;
case "text_heading":
_13a=["rubrique"];
_13b=["picture","url","media","form"];
break;
case "text_form":
_13a=["form"];
_13b=["picture","url","media","rubrique"];
break;
case "media_url":
_13a=["picture","url"];
_13b=["media","rubrique","form"];
break;
case "media_media":
_13a=["picture","media"];
_13b=["url","rubrique","form"];
break;
case "media_heading":
_13a=["picture","rubrique"];
_13b=["url","media","form"];
break;
case "media_form":
_13a=["picture","form"];
_13b=["url","media","rubrique"];
break;
}
for(var i in _13a){
document.getElementById("div"+_13a[i]).style.display="block";
}
for(var i in _13b){
document.getElementById("div"+_13b[i]).style.display="none";
}
};
function getCalendar(name,_13c,_13d){
var _13e=false;
var day=false;
var year=false;
var _13f=document.getElementById(name).value;
if(_13f.match(/(.*)\/(.*)\/(.*)/)){
var date=_13f.split("/");
day=date[0];
_13e=date[1];
year=date[2];
}
var url="/manage/calendar-name-"+name+"-day-"+day+"-month-"+_13e+"-year-"+year;
displayContent(url,_13c,_13d,"calendar");
};
function dateReporter(name,date){
document.getElementById(name).value=date;
cancelOverDiv();
};
function dumpObject(_140){
var _141="";
document.body.appendChild(document.createElement("hr"));
document.body.appendChild(document.createTextNode(">> \""+_140+"\" <<"));
document.body.appendChild(document.createElement("br"));
if(typeof (_140)=="object"){
for(prop in _140){
try{
_141=eval("object2dump."+prop);
}
catch(e){
_141="UNKNOWN";
}
document.body.appendChild(document.createTextNode(prop+" : "+_141));
document.body.appendChild(document.createElement("br"));
}
document.body.appendChild(document.createElement("hr"));
}
};
function drop_recipient_rule(id,_142){
if(_142){
var d=document.createElement("div");
d.innerHTML=_142;
var fr=document.getElementById("form_rules");
var r;
if(r=document.getElementById("form_rule_"+id)){
r.innerHTML=d.firstChild.innerHTML;
}else{
fr.appendChild(d.firstChild);
}
}
};
function switch_event_serveral_days(ckb){
div=document.getElementById("dtdediv");
if(document.getElementById("te_span_one_day")){
current_h=document.getElementById("dthte").value;
current_mn=document.getElementById("dtmte").value;
}
if(ckb.checked){
div.style.display="block";
if(document.getElementById("te_span_one_day")){
document.getElementById("te_span_several_days").innerHTML=document.getElementById("te_span_one_day").innerHTML;
document.getElementById("te_span_one_day").innerHTML="";
}
}else{
div.style.display="none";
if(document.getElementById("te_span_one_day")){
document.getElementById("te_span_one_day").innerHTML=document.getElementById("te_span_several_days").innerHTML;
document.getElementById("te_span_several_days").innerHTML="";
}
}
if(document.getElementById("te_span_one_day")){
document.getElementById("dthte").value=current_h;
document.getElementById("dtmte").value=current_mn;
}
};
function removeNode(node){
node.parentNode.removeChild(node);
};
function Add_Option(_143){
var Obj=document.getElementById(_143);
var Opt=document.createElement("OPTION");
var _144=Obj.getElementsByTagName("OPTION")[0];
if(_144!=null&&_144.innerHTML==""){
Obj.options[0]=null;
}
if(document.getElementById(_143+"txt").value!=""){
Opt.innerHTML=document.getElementById(_143+"txt").value;
Opt.selected=true;
Obj.appendChild(Opt);
document.getElementById(_143+"txt").value="";
}
};
function Delete_Option(_145){
var Obj=document.getElementById(_145);
var Opt=document.createElement("OPTION");
var nb=Obj.length;
if(Obj.selectedIndex!=-1){
for(i=nb-1;i>=0;i--){
if(Obj.options[i].selected){
Obj.options[i]=null;
}
}
}else{
alert("SÃ©lectionnez la valeur Ã  supprimer");
}
};
var xmlhttp;
try{
xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(E){
xmlhttp=false;
}
}
if(!xmlhttp&&typeof XMLHttpRequest!=undefined){
xmlhttp=new XMLHttpRequest();
}else{
xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
}
var OLloaded=0,pmCnt=1,pMtr=new Array(),OLv,OLudf,OLrefXY;
var OLpct=new Array("83%","67%","83%","100%","117%","150%","200%","267%");
var OLbubblePI=0,OLcrossframePI=0,OLdebugPI=0,OLdraggablePI=0,OLexclusivePI=0,OLfilterPI=0;
var OLfunctionPI=0,OLhidePI=0,OLiframePI=0,OLovertwoPI=0,OLscrollPI=0,OLshadowPI=0;
if(typeof OLgateOK=="undefined"){
var OLgateOK=1;
}
var OLxPos=0;
var OLyPos=0;
OLregCmds("inarray,caparray,caption,sticky,nofollow,background,noclose,mouseoff,offdelay,right,left,"+"center,offsetx,offsety,fgcolor,bgcolor,cgcolor,textcolor,capcolor,closecolor,width,wrap,"+"wrapmax,height,border,base,status,autostatus,autostatuscap,snapx,snapy,fixx,fixy,relx,rely,"+"midx,midy,ref,refc,refp,refx,refy,fgbackground,bgbackground,cgbackground,padx,pady,fullhtml,"+"below,above,vcenter,capicon,textfont,captionfont,closefont,textsize,captionsize,closesize,"+"timeout,delay,hauto,vauto,nojustx,nojusty,closetext,closeclick,closetitle,fgclass,bgclass,"+"cgclass,capbelow,textpadding,textfontclass,captionpadding,captionfontclass,closefontclass,"+"donothing,divid,divclass");
if(typeof ol_divid=="undefined"){
var ol_divid="overDiv";
}
if(typeof ol_divclass=="undefined"){
var ol_divclass="overDiv";
}
if(typeof ol_fgcolor=="undefined"){
var ol_fgcolor="#CCCCFF";
}
if(typeof ol_bgcolor=="undefined"){
var ol_bgcolor="#333399";
}
if(typeof ol_cgcolor=="undefined"){
var ol_cgcolor="#333399";
}
if(typeof ol_textcolor=="undefined"){
var ol_textcolor="#000000";
}
if(typeof ol_capcolor=="undefined"){
var ol_capcolor="#FFFFFF";
}
if(typeof ol_closecolor=="undefined"){
var ol_closecolor="#EEEEFF";
}
if(typeof ol_textfont=="undefined"){
var ol_textfont="Verdana,Arial,Helvetica";
}
if(typeof ol_captionfont=="undefined"){
var ol_captionfont="Verdana,Arial,Helvetica";
}
if(typeof ol_closefont=="undefined"){
var ol_closefont="Verdana,Arial,Helvetica";
}
if(typeof ol_textsize=="undefined"){
var ol_textsize=1;
}
if(typeof ol_captionsize=="undefined"){
var ol_captionsize=1;
}
if(typeof ol_closesize=="undefined"){
var ol_closesize=1;
}
if(typeof ol_fgclass=="undefined"){
var ol_fgclass="";
}
if(typeof ol_bgclass=="undefined"){
var ol_bgclass="";
}
if(typeof ol_cgclass=="undefined"){
var ol_cgclass="";
}
if(typeof ol_textpadding=="undefined"){
var ol_textpadding=2;
}
if(typeof ol_textfontclass=="undefined"){
var ol_textfontclass="";
}
if(typeof ol_captionpadding=="undefined"){
var ol_captionpadding=2;
}
if(typeof ol_captionfontclass=="undefined"){
var ol_captionfontclass="";
}
if(typeof ol_closefontclass=="undefined"){
var ol_closefontclass="";
}
if(typeof ol_close=="undefined"){
var ol_close="Close";
}
if(typeof ol_closeclick=="undefined"){
var ol_closeclick=0;
}
if(typeof ol_closetitle=="undefined"){
var ol_closetitle="Click to Close";
}
if(typeof ol_text=="undefined"){
var ol_text="Default Text";
}
if(typeof ol_cap=="undefined"){
var ol_cap="";
}
if(typeof ol_capbelow=="undefined"){
var ol_capbelow=0;
}
if(typeof ol_background=="undefined"){
var ol_background="";
}
if(typeof ol_width=="undefined"){
var ol_width=200;
}
if(typeof ol_wrap=="undefined"){
var ol_wrap=0;
}
if(typeof ol_wrapmax=="undefined"){
var ol_wrapmax=0;
}
if(typeof ol_height=="undefined"){
var ol_height=-1;
}
if(typeof ol_border=="undefined"){
var ol_border=1;
}
if(typeof ol_base=="undefined"){
var ol_base=0;
}
if(typeof ol_offsetx=="undefined"){
var ol_offsetx=10;
}
if(typeof ol_offsety=="undefined"){
var ol_offsety=10;
}
if(typeof ol_sticky=="undefined"){
var ol_sticky=0;
}
if(typeof ol_nofollow=="undefined"){
var ol_nofollow=0;
}
if(typeof ol_noclose=="undefined"){
var ol_noclose=0;
}
if(typeof ol_mouseoff=="undefined"){
var ol_mouseoff=0;
}
if(typeof ol_offdelay=="undefined"){
var ol_offdelay=300;
}
if(typeof ol_hpos=="undefined"){
var ol_hpos=RIGHT;
}
if(typeof ol_vpos=="undefined"){
var ol_vpos=BELOW;
}
if(typeof ol_status=="undefined"){
var ol_status="";
}
if(typeof ol_autostatus=="undefined"){
var ol_autostatus=0;
}
if(typeof ol_snapx=="undefined"){
var ol_snapx=0;
}
if(typeof ol_snapy=="undefined"){
var ol_snapy=0;
}
if(typeof ol_fixx=="undefined"){
var ol_fixx=-1;
}
if(typeof ol_fixy=="undefined"){
var ol_fixy=-1;
}
if(typeof ol_relx=="undefined"){
var ol_relx=null;
}
if(typeof ol_rely=="undefined"){
var ol_rely=null;
}
if(typeof ol_midx=="undefined"){
var ol_midx=null;
}
if(typeof ol_midy=="undefined"){
var ol_midy=null;
}
if(typeof ol_ref=="undefined"){
var ol_ref="";
}
if(typeof ol_refc=="undefined"){
var ol_refc="UL";
}
if(typeof ol_refp=="undefined"){
var ol_refp="UL";
}
if(typeof ol_refx=="undefined"){
var ol_refx=0;
}
if(typeof ol_refy=="undefined"){
var ol_refy=0;
}
if(typeof ol_fgbackground=="undefined"){
var ol_fgbackground="";
}
if(typeof ol_bgbackground=="undefined"){
var ol_bgbackground="";
}
if(typeof ol_cgbackground=="undefined"){
var ol_cgbackground="";
}
if(typeof ol_padxl=="undefined"){
var ol_padxl=1;
}
if(typeof ol_padxr=="undefined"){
var ol_padxr=1;
}
if(typeof ol_padyt=="undefined"){
var ol_padyt=1;
}
if(typeof ol_padyb=="undefined"){
var ol_padyb=1;
}
if(typeof ol_fullhtml=="undefined"){
var ol_fullhtml=0;
}
if(typeof ol_capicon=="undefined"){
var ol_capicon="";
}
if(typeof ol_frame=="undefined"){
var ol_frame=self;
}
if(typeof ol_timeout=="undefined"){
var ol_timeout=0;
}
if(typeof ol_delay=="undefined"){
var ol_delay=0;
}
if(typeof ol_hauto=="undefined"){
var ol_hauto=0;
}
if(typeof ol_vauto=="undefined"){
var ol_vauto=0;
}
if(typeof ol_nojustx=="undefined"){
var ol_nojustx=0;
}
if(typeof ol_nojusty=="undefined"){
var ol_nojusty=0;
}
if(typeof ol_texts=="undefined"){
var ol_texts=new Array("Text 0","Text 1");
}
if(typeof ol_caps=="undefined"){
var ol_caps=new Array("Caption 0","Caption 1");
}
var o3_divid="overDiv",o3_divclass="overDiv",o3_text="",o3_cap="",o3_sticky=0,o3_nofollow=0,o3_background="",o3_noclose=0,o3_mouseoff=0;
var o3_offdelay=300,o3_hpos=RIGHT,o3_offsetx=10,o3_offsety=10,o3_fgcolor="",o3_bgcolor="";
var o3_cgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",o3_width=200,o3_wrap=0;
var o3_wrapmax=0,o3_height=-1,o3_border=1,o3_base=0,o3_status="",o3_autostatus=0,o3_snapx=0;
var o3_snapy=0,o3_fixx=-1,o3_fixy=-1,o3_relx=null,o3_rely=null,o3_midx=null,o3_midy=null;
var o3_ref="",o3_refc="UL",o3_refp="UL",o3_refx=0,o3_refy=0,o3_fgbackground="";
var o3_bgbackground="",o3_cgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0;
var o3_fullhtml=0,o3_vpos=BELOW,o3_capicon="",o3_textfont="Verdana,Arial,Helvetica";
var o3_captionfont="Verdana,Arial,Helvetica",o3_closefont="Verdana,Arial,Helvetica";
var o3_textsize=1,o3_captionsize=1,o3_closesize=1,o3_frame=self,o3_timeout=0,o3_delay=0;
var o3_hauto=0,o3_vauto=0,o3_nojustx=0,o3_nojusty=0,o3_close="Close",o3_closeclick=0;
var o3_closetitle="",o3_fgclass="",o3_bgclass="",o3_cgclass="",o3_textpadding=2;
var o3_textfontclass="",o3_captionpadding=2,o3_captionfontclass="",o3_closefontclass="";
var o3_capbelow=0,CSSOFF=DONOTHING,CSSCLASS=DONOTHING;
var o3_x=0,o3_y=0,o3_showingsticky=0,o3_allowmove=0,o3_removecounter=0;
var o3_delayid=0,o3_timerid=0,o3_showid=0;
var over=null,OLfnRef="",OLhover=0;
var OLua=navigator.userAgent.toLowerCase();
var OLns4=(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==4);
var OLns6=(document.getElementById)?1:0;
var OLie4=(document.all)?1:0;
var OLmac=(OLua.indexOf("mac")>=0)?1:0;
var OLsaf=(OLua.indexOf("safari")>=0)?1:0;
var OLkon=(OLua.indexOf("konqueror")>=0)?1:0;
var OLopr=(OLua.indexOf("opera")>=0)?1:0;
var OLop7=(OLopr&&document.createTextNode)?1:0;
if(OLopr){
OLns4=OLns6=0;
if(!OLop7){
OLie4=0;
}
}
var OLieM=((OLie4&&OLmac)&&!(OLsaf||OLkon||OLopr))?1:0;
var OLdr="document.body";
var OLie5=0,OLie55=0;
if(OLie4&&!OLopr){
if((OLv=OLua.match(/msie (\d\.\d+)\.*/i))&&(OLv=parseFloat(OLv[1]))>=5){
OLie5=1;
OLns6=0;
if(OLv>=5.5){
OLie55=1;
}
if(typeof document.compatMode!="undefined"&&document.compatMode=="CSS1Compat"){
OLdr="document.documentElement";
}
}
if(OLns6){
OLie4=0;
}
}
if(OLns4){
window.onresize=function(){
location.reload();
};
}
var OLchkMseCapture=1,OLcapExtent;
if(OLns4||OLie4||OLns6){
OLmouseCapture();
}else{
overlib=nd=cClick=OLpageDefaults=no_overlib;
ver3fix=true;
}
function overlib(){
if(!(OLloaded&&OLgateOK)){
return;
}
if((OLexclusivePI)&&OLisExclusive(overlib.arguments)){
return true;
}
if(OLchkMseCapture){
OLmouseCapture();
}
if(over){
cClick(true);
}
OLloadP1or2();
o3_close=ol_close;
o3_closeclick=ol_closeclick;
o3_closetitle=ol_closetitle;
o3_noclose=ol_noclose;
o3_mouseoff=ol_mouseoff;
o3_offdelay=ol_offdelay;
o3_sticky=ol_sticky;
o3_closecolor=ol_closecolor;
o3_closefont=ol_closefont;
o3_closesize=ol_closesize;
o3_closefontclass=ol_closefontclass;
OLsetRunTimeVar();
OLfnRef="";
OLhover=0;
o3_frame=ol_frame;
OLparseTokens("o3_",overlib.arguments);
if(OLns4){
over=o3_frame.document.layers[o3_divid];
}else{
if(OLie4){
over=o3_frame.document.all[o3_divid];
}else{
if(OLns6){
over=o3_frame.document.getElementById(o3_divid);
}
}
}
over.className=o3_divclass;
if(OLbubblePI&&o3_bubble){
OLchkForBubbleEffect();
}
if(OLdebugPI&&o3_allowdebug!=""){
OLsetDebugCanShow(o3_allowdebug);
}
if(OLshadowPI){
OLinitShadow();
}
if(OLiframePI){
OLinitIframe();
}
if(OLfilterPI){
OLinitFilterLyr();
}
if(OLexclusivePI&&o3_exclusive&&o3_exclusivestatus!=""){
o3_status=o3_exclusivestatus;
}else{
if(o3_autostatus==2&&o3_cap!=""){
o3_status=o3_cap;
}else{
if(o3_autostatus==1&&o3_text!=""){
o3_status=o3_text;
}
}
}
if(o3_delay==0){
return OLmain();
}else{
o3_delayid=setTimeout("OLmain()",o3_delay);
if(o3_status!=""){
self.status=o3_status;
return true;
}else{
if(!(OLop7&&event&&event.type=="mouseover")){
return false;
}
}
}
};
function nd(time){
if(!(OLloaded&&OLgateOK)){
return;
}
if((OLexclusivePI)&&OLisExclusive()){
return true;
}
if(time&&!o3_delay){
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
o3_timerid=(OLhover&&!OLcursorOff())?0:setTimeout("cClick()",(o3_timeout=time));
}else{
if(o3_removecounter>=1){
o3_showingsticky=0;
}
if(o3_showingsticky==0){
o3_allowmove=0;
if(over){
OLhideObject(over);
}
}else{
o3_removecounter++;
}
}
return true;
};
function cClick(pos){
if(OLloaded&&OLgateOK){
OLhover=0;
if(over){
OLhideObject(over);
}
o3_showingsticky=0;
}
ol_elem=document.getElementById(o3_divid);
ol_elem.innerHTML="";
if(!pos){
OLxPos=0;
OLyPos=0;
}
return false;
};
function OLpageDefaults(){
OLparseTokens("ol_",OLpageDefaults.arguments);
};
function no_overlib(){
return ver3fix;
};
function OLmain(){
o3_delay=0;
if(o3_frame==self){
if(o3_noclose){
OLoptMOUSEOFF(0);
}else{
if(o3_mouseoff){
OLoptMOUSEOFF(1);
}
}
}
OLdoLyr();
o3_allowmove=0;
if(o3_timeout>0){
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
o3_timerid=setTimeout("cClick()",o3_timeout);
}
if(o3_ref){
OLrefXY=OLgetRefXY(o3_ref);
if(OLrefXY[0]==null){
o3_ref="";
o3_midx=0;
o3_midy=0;
}
}
if(OLdraggablePI){
OLcheckDrag();
}
OLdisp(o3_status);
if(o3_status!=""){
return true;
}else{
if(!(OLop7&&event&&event.type=="mouseover")){
return false;
}
}
};
function OLloadP1or2(){
o3_text=ol_text;
o3_cap=ol_cap;
o3_capbelow=ol_capbelow;
o3_textpadding=ol_textpadding;
o3_captionpadding=ol_captionpadding;
o3_border=ol_border;
o3_base=ol_base;
o3_status=ol_status;
o3_autostatus=ol_autostatus;
o3_nofollow=ol_nofollow;
o3_width=ol_width;
o3_wrap=ol_wrap;
o3_wrapmax=ol_wrapmax;
o3_height=ol_height;
o3_hpos=ol_hpos;
o3_vpos=ol_vpos;
o3_offsetx=ol_offsetx;
o3_offsety=ol_offsety;
o3_snapx=ol_snapx;
o3_snapy=ol_snapy;
o3_relx=ol_relx;
o3_rely=ol_rely;
o3_midx=ol_midx;
o3_midy=ol_midy;
o3_ref=ol_ref;
o3_refc=ol_refc;
o3_refp=ol_refp;
o3_refx=ol_refx;
o3_refy=ol_refy;
o3_fixx=ol_fixx;
o3_fixy=ol_fixy;
o3_nojustx=ol_nojustx;
o3_nojusty=ol_nojusty;
o3_hauto=ol_hauto;
o3_vauto=ol_vauto;
o3_timeout=ol_timeout;
o3_delay=ol_delay;
o3_fgcolor=ol_fgcolor;
o3_bgcolor=ol_bgcolor;
o3_cgcolor=ol_cgcolor;
o3_textcolor=ol_textcolor;
o3_capcolor=ol_capcolor;
o3_textfont=ol_textfont;
o3_captionfont=ol_captionfont;
o3_textsize=ol_textsize;
o3_captionsize=ol_captionsize;
o3_fgbackground=ol_fgbackground;
o3_bgbackground=ol_bgbackground;
o3_cgbackground=ol_cgbackground;
o3_capicon=ol_capicon;
o3_background=ol_background;
o3_padxl=ol_padxl;
o3_padxr=ol_padxr;
o3_padyt=ol_padyt;
o3_padyb=ol_padyb;
o3_fullhtml=ol_fullhtml;
o3_fgclass=ol_fgclass;
o3_bgclass=ol_bgclass;
o3_cgclass=ol_cgclass;
o3_textfontclass=ol_textfontclass;
o3_captionfontclass=ol_captionfontclass;
};
function OLdoLGF(){
return (o3_background!=""||o3_fullhtml)?OLcontentBackground(o3_text,o3_background,o3_fullhtml):(o3_cap=="")?OLcontentSimple(o3_text):(o3_sticky)?OLcontentCaption(o3_text,o3_cap,o3_close):OLcontentCaption(o3_text,o3_cap,"");
};
function OLdoLyr(){
if(o3_background==""&&!o3_fullhtml){
if(o3_fgbackground!=""){
o3_fgbackground=" background=\""+o3_fgbackground+"\"";
}
if(o3_bgbackground!=""){
o3_bgbackground=" background=\""+o3_bgbackground+"\"";
}
if(o3_cgbackground!=""){
o3_cgbackground=" background=\""+o3_cgbackground+"\"";
}
if(o3_fgcolor!=""){
o3_fgcolor=" bgcolor=\""+o3_fgcolor+"\"";
}
if(o3_bgcolor!=""){
o3_bgcolor=" bgcolor=\""+o3_bgcolor+"\"";
}
if(o3_cgcolor!=""){
o3_cgcolor=" bgcolor=\""+o3_cgcolor+"\"";
}
if(o3_height>0){
o3_height=" height=\""+o3_height+"\"";
}else{
o3_height="";
}
}
var _146=OLdoLGF();
if(o3_sticky){
if(o3_timerid>0){
clearTimeout(o3_timerid);
o3_timerid=0;
}
o3_showingsticky=1;
o3_removecounter=0;
}
if(o3_wrap&&!o3_fullhtml){
OLlayerWrite(_146);
o3_width=(OLns4?over.clip.width:over.offsetWidth);
o3_wrap=0;
if(o3_wrapmax>0&&o3_width>o3_wrapmax){
o3_width=o3_wrapmax;
}
_146=OLdoLGF();
}
OLlayerWrite(_146);
o3_width=(OLns4?over.clip.width:over.offsetWidth);
if(OLbubblePI&&o3_bubble){
OLgenerateBubble(_146);
}
};
function OLcontentSimple(text){
var txt="<table"+(o3_wrap?"":" width=\""+o3_width+"\"")+o3_height+" border=\"0\" cellpadding=\""+o3_border+"\" cellspacing=\"0\""+(o3_bgclass?" class=\""+o3_bgclass+"\"":o3_bgcolor+o3_bgbackground)+"><tr><td><table width=\"100%\""+o3_height+" border=\"0\" cellpadding=\""+o3_textpadding+"\" cellspacing=\"0\""+(o3_fgclass?" class=\""+o3_fgclass+"\"":o3_fgcolor+o3_fgbackground)+"><tr><td valign=\"top\""+(o3_fgclass?" class=\""+o3_fgclass+"\"":"")+">"+OLlgfUtil(0,o3_textfontclass,"div",o3_textcolor,o3_textfont,o3_textsize)+text+OLlgfUtil(1,"","div")+"</td></tr></table>"+((o3_base>0&&!o3_wrap)?("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td height=\""+o3_base+"\"></td></tr></table>"):"")+"</td></tr></table>";
OLsetBackground("");
return txt;
};
function OLcontentCaption(text,_147,_148){
var _149="",_14a="onmouseover",_14b,_14c,txt,_14d;
if(o3_closeclick==1){
_14a=(o3_closetitle?"title=\""+o3_closetitle+"\" ":"")+"onclick";
}
if(o3_capicon!=""){
o3_capicon="<img src=\""+o3_capicon+"\" /> ";
}
if(_148!=""){
_149="<div class=\"overlibclose\"><a href=\"javascript:return "+OLfnRef+"cClick();\" "+_14a+"=\"return "+OLfnRef+"cClick();\">"+_148+"</a></div>";
}
_14b="<div class=\"overlibcaption\">"+_147+"</div>";
_14c="<div id=\"overlibcontent\">"+text+"</div>";
_14d="<div id=\"overlibfooter\"><a href=\"javascript:void(0);\" onclick=\"return cClick();\" title=\""+o3_closetitle+"\">"+o3_closetitle+"</a></div>";
txt="<div id=\"overlibheader\" class=\"overlibheader\">"+_14b+_149+"</div>"+_14c+_14d;
OLsetBackground("");
return txt;
};
function OLcontentBackground(text,_14e,_14f){
var txt;
if(_14f){
txt=text;
}else{
txt="<table"+(o3_wrap?"":" width=\""+o3_width+"\"")+" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" "+"height=\""+o3_height+"\"><tr><td colspan=\"3\" height=\""+o3_padyt+"\"></td></tr><tr><td width=\""+o3_padxl+"\"></td><td valign=\"top\""+(o3_wrap?"":" width=\""+(o3_width-o3_padxl-o3_padxr)+"\"")+">"+OLlgfUtil(0,o3_textfontclass,"div",o3_textcolor,o3_textfont,o3_textsize)+text+OLlgfUtil(1,"","div")+"</td><td width=\""+o3_padxr+"\"></td></tr><tr><td colspan=\"3\" height=\""+o3_padyb+"\"></td></tr></table>";
}
OLsetBackground(_14e);
return txt;
};
function OLlgfUtil(end,tfc,ele,col,fac,siz){
if(end){
return ("</"+(OLns4?"font":ele)+">");
}else{
return (tfc?"<div class=\""+tfc+"\">":("<"+(OLns4?"font color=\""+col+"\" face=\""+OLquoteMultiNameFonts(fac)+"\" size=\""+siz:ele+" style=\"color:"+col+";font-family:"+OLquoteMultiNameFonts(fac)+";font-size:"+siz+";"+(ele=="span"?"text-decoration:underline;":""))+"\">"));
}
};
function OLquoteMultiNameFonts(_150){
var i,v,pM=_150.split(",");
for(i=0;i<pM.length;i++){
v=pM[i];
v=v.replace(/^\s+/,"").replace(/\s+$/,"");
if(/\s/.test(v)&&!/['"]/.test(v)){
v="'"+v+"'";
pM[i]=v;
}
}
return pM.join();
};
function OLsetBackground(pic){
if(pic==""){
if(OLns4){
over.background.src=null;
}else{
if(OLie4||OLns6){
over.style.backgroundImage="none";
}
}
}else{
if(OLns4){
over.background.src=pic;
}else{
if(OLie4||OLns6){
over.style.backgroundImage="url("+pic+")";
}
}
}
};
function OLdisp(_151){
if(o3_allowmove==0){
if(OLshadowPI){
OLdispShadow();
}
if(OLiframePI){
OLdispIfShim();
}
OLplaceLayer();
o3_showid=setTimeout("OLshowObject(over)",1);
o3_allowmove=(o3_sticky||o3_nofollow)?0:1;
}
if(_151!=""){
self.status=_151;
}
};
function OLplaceLayer(){
var X,Y,_152,_153,pWd=o3_width,pHt,iWd=100,iHt=100,SB=0,LM=0,CX=0,TM=0,BM=0,CY=0;
if(eval("o3_frame."+OLdr)&&typeof eval("o3_frame."+OLdr).clientWidth=="number"&&eval("o3_frame."+OLdr).clientWidth>0){
iWd=eval("o3_frame."+OLdr).clientWidth;
}else{
if(typeof (o3_frame.innerWidth)=="number"){
SB=Math.ceil(1.4*(o3_frame.outerWidth-o3_frame.innerWidth));
if(SB>20){
SB=20;
}
iWd=o3_frame.innerWidth;
}
}
_152=(OLie4)?eval("o3_frame."+OLdr).scrollLeft:o3_frame.pageXOffset;
if(OLie55&&OLfilterPI&&o3_filtershadow){
SB=CX=5;
}else{
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){
SB+=((o3_shadowx>0)?o3_shadowx:0);
LM=((o3_shadowx<0)?Math.abs(o3_shadowx):0);
CX=Math.abs(o3_shadowx);
}
}
if(o3_ref!=""||o3_fixx>-1||o3_relx!=null||o3_midx!=null){
if(o3_ref!=""){
X=OLrefXY[0];
if(OLie55&&OLfilterPI&&o3_filtershadow){
if(o3_refp=="UR"||o3_refp=="LR"){
X-=5;
}
}else{
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){
if(o3_shadowx<0&&(o3_refp=="UL"||o3_refp=="LL")){
X+=o3_shadowx;
}else{
if(o3_shadowx>0&&(o3_refp=="UR"||o3_refp=="LR")){
X-=o3_shadowx;
}
}
}
}
}else{
if(o3_midx!=null){
X=parseInt(_152+((iWd-pWd-SB-LM)/2)+o3_midx);
}else{
if(o3_relx!=null){
if(o3_relx>=0){
X=_152+o3_relx+LM;
}else{
X=_152+o3_relx+iWd-pWd-SB;
}
}else{
X=o3_fixx+LM;
}
}
}
}else{
if(o3_hauto){
if(o3_hpos==LEFT&&o3_x-_152<iWd/2&&o3_x-pWd-o3_offsetx<_152+LM){
o3_hpos=RIGHT;
}else{
if(o3_hpos==RIGHT&&o3_x-_152>iWd/2&&o3_x+pWd+o3_offsetx>_152+iWd-SB){
o3_hpos=LEFT;
}
}
}
X=(o3_hpos==CENTER)?parseInt(o3_x-((pWd+CX)/2)+o3_offsetx):(o3_hpos==LEFT)?o3_x-o3_offsetx-pWd:o3_x+o3_offsetx;
if(o3_snapx>1){
var _154=X%o3_snapx;
if(o3_hpos==LEFT){
X=X-(o3_snapx+_154);
}else{
X=X+(o3_snapx-_154);
}
}
}
if(!o3_nojustx&&X+pWd>_152+iWd-SB){
X=iWd+_152-pWd-SB;
}
if(!o3_nojustx&&X-LM<_152){
X=_152+LM;
}
_153=OLie4?eval("o3_frame."+OLdr).scrollTop:o3_frame.pageYOffset;
if(OLie4||(o3_frame.document.body&&typeof o3_frame.document.body.clientHeight=="number"&&o3_frame.document.body.clientHeight>0)){
iHt=eval("o3_frame."+OLdr).clientHeight;
}else{
if(typeof (o3_frame.innerHeight)=="number"){
iHt=o3_frame.innerHeight;
}
}
if(OLbubblePI&&o3_bubble){
pHt=OLbubbleHt;
}else{
pHt=OLns4?over.clip.height:over.offsetHeight;
}
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){
TM=(o3_shadowy<0)?Math.abs(o3_shadowy):0;
if(OLie55&&OLfilterPI&&o3_filtershadow){
BM=CY=5;
}else{
BM=(o3_shadowy>0)?o3_shadowy:0;
}
CY=Math.abs(o3_shadowy);
}
if(o3_ref!=""||o3_fixy>-1||o3_rely!=null||o3_midy!=null){
if(o3_ref!=""){
Y=OLrefXY[1];
if(OLie55&&OLfilterPI&&o3_filtershadow){
if(o3_refp=="LL"||o3_refp=="LR"){
Y-=5;
}
}else{
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){
if(o3_shadowy<0&&(o3_refp=="UL"||o3_refp=="UR")){
Y+=o3_shadowy;
}else{
if(o3_shadowy>0&&(o3_refp=="LL"||o3_refp=="LR")){
Y-=o3_shadowy;
}
}
}
}
}else{
if(o3_midy!=null){
Y=parseInt(_153+((iHt-pHt-CY)/2)+o3_midy);
}else{
if(o3_rely!=null){
if(o3_rely>=0){
Y=_153+o3_rely+TM;
}else{
Y=_153+o3_rely+iHt-pHt-BM;
}
}else{
Y=o3_fixy+TM;
}
}
}
}else{
if(o3_vauto){
if(o3_vpos==ABOVE&&o3_y-_153<iHt/2&&o3_y-pHt-o3_offsety<_153){
o3_vpos=BELOW;
}else{
if(o3_vpos==BELOW&&o3_y-_153>iHt/2&&o3_y+pHt+o3_offsety+(OLns4?17:0)>_153+iHt-BM){
o3_vpos=ABOVE;
}
}
}
Y=(o3_vpos==VCENTER)?parseInt(o3_y-((pHt+CY)/2)+o3_offsety):(o3_vpos==ABOVE)?o3_y-(pHt+o3_offsety+BM):o3_y+o3_offsety+TM;
if(o3_snapy>1){
var _154=Y%o3_snapy;
if(pHt>0&&o3_vpos==ABOVE){
Y=Y-(o3_snapy+_154);
}else{
Y=Y+(o3_snapy-_154);
}
}
}
if(!o3_nojusty&&Y+pHt+BM>_153+iHt){
Y=_153+iHt-pHt-BM;
}
if(!o3_nojusty&&Y-TM<_153){
Y=_153+TM;
}
OLrepositionTo(over,X,Y);
if(OLns6){
iHt=o3_frame.innerHeight;
OLrepositionTo(over,X,Y);
}
if(OLshadowPI){
OLrepositionShadow(X,Y);
}
if(OLiframePI){
OLrepositionIfShim(X,Y);
}
if(OLscrollPI){
OLchkScroll(X-_152,Y-_153);
}
};
function OLgetRefXY(ref){
var mn=ref,mref=OLgetRefById(mn,o3_frame.document),_155,of,_156;
if(mref==null){
mref=OLgetRefByName(mn,o3_frame.document);
}
if(mref==null){
return [null,null];
}
_155=mref;
_156=[o3_refx,o3_refy];
if(OLns4){
if(typeof mref.length!="undefined"&&mref.length>1){
_155=mref[0];
_156[0]+=mref[0].x+mref[1].pageX;
_156[1]+=mref[0].y+mref[1].pageY;
}else{
if((mref.toString().indexOf("Image")!=-1)||(mref.toString().indexOf("Anchor")!=-1)){
_156[0]+=mref.x;
_156[1]+=mref.y;
}else{
_156[0]+=mref.pageX;
_156[1]+=mref.pageY;
}
}
}else{
_156[0]+=OLpageLoc(mref,"Left");
_156[1]+=OLpageLoc(mref,"Top");
}
of=OLgetRefOffsets(_155);
_156[0]+=of[0];
_156[1]+=of[1];
return _156;
};
function OLgetRefOffsets(_157){
var mc=o3_refc.toUpperCase(),mp=o3_refp.toUpperCase(),mW=mH=pW=pH=0,off=[0,0];
pW=(OLbubblePI&&o3_bubble)?o3_width:OLns4?over.clip.width:over.offsetWidth;
pH=(OLbubblePI&&o3_bubble)?OLbubbleHt:OLns4?over.clip.height:over.offsetHeight;
if((!OLop7)&&_157.toString().indexOf("Image")!=-1){
mW=_157.width;
mH=_157.height;
}else{
if((!OLop7)&&_157.toString().indexOf("Anchor")!=-1){
mc=o3_refc="UL";
}else{
mW=(OLns4)?_157.clip.width:_157.offsetWidth;
mH=(OLns4)?_157.clip.height:_157.offsetHeight;
}
}
if(mc=="UL"){
off=(mp=="UR")?[-pW,0]:(mp=="LL")?[0,-pH]:(mp=="LR")?[-pW,-pH]:[0,0];
}else{
if(mc=="UR"){
off=(mp=="UR")?[mW-pW,0]:(mp=="LL")?[mW,-pH]:(mp=="LR")?[mW-pW,-pH]:[mW,0];
}else{
if(mc=="LL"){
off=(mp=="UR")?[-pW,mH]:(mp=="LL")?[0,mH-pH]:(mp=="LR")?[-pW,mH-pH]:[0,mH];
}else{
if(mc=="LR"){
off=(mp=="UR")?[mW-pW,mH]:(mp=="LL")?[mW,mH-pH]:(mp=="LR")?[mW-pW,mH-pH]:[mW,mH];
}
}
}
}
return off;
};
function OLpageLoc(o,t){
var l=0;
while(o.offsetParent&&o.offsetParent.tagName.toLowerCase()!="html"){
l+=o["offset"+t];
o=o.offsetParent;
}
l+=o["offset"+t];
return l;
};
function OLgetRefById(l,d){
var r="",j;
d=(d||document);
if(d.all){
return d.all[l];
}else{
if(d.getElementById){
return d.getElementById(l);
}else{
if(d.layers&&d.layers.length>0){
if(d.layers[l]){
return d.layers[l];
}
for(j=0;j<d.layers.length;j++){
r=OLgetRefById(l,d.layers[j].document);
if(r){
return r;
}
}
}
}
}
return null;
};
function OLgetRefByName(l,d){
var r=null,j;
d=(d||document);
if(typeof d.images[l]!="undefined"&&d.images[l]){
return d.images[l];
}else{
if(typeof d.anchors[l]!="undefined"&&d.anchors[l]){
return d.anchors[l];
}else{
if(d.layers&&d.layers.length>0){
for(j=0;j<d.layers.length;j++){
r=OLgetRefByName(l,d.layers[j].document);
if(r&&r.length>0){
return r;
}else{
if(r){
return [r,d.layers[j]];
}
}
}
}
}
}
return null;
};
function OLmouseMove(e){
var e=(e)?e:event;
if(e.pageX){
o3_x=e.pageX;
o3_y=e.pageY;
}else{
if(e.clientX){
o3_x=e.clientX+eval("o3_frame."+OLdr).scrollLeft;
o3_y=e.clientY+eval("o3_frame."+OLdr).scrollTop;
}
}
if(o3_allowmove){
OLplaceLayer();
if(OLhidePI){
OLhideUtil(0,1,1,0,0,0);
}
}
if(OLhover&&OLcursorOff()){
if(o3_offdelay<1){
cClick();
}else{
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
o3_timerid=setTimeout("cClick()",o3_offdelay);
}
}
};
function OLmouseCapture(){
var fN,_158=OLmouseMove,re=/function[ ]+(\w+)\(/;
OLcapExtent=document;
if(document.onmousemove||(!OLie4&&window.onmousemove)){
if(window.onmousemove){
OLcapExtent=window;
}
fN=OLcapExtent.onmousemove.toString().match(re);
if(!fN||fN[1]=="anonymous"||fN[1]=="OLmouseMove"){
OLchkMseCapture=0;
return;
}
var str=fN[1]+"(e);"+"OLmouseMove(e);";
_158=new Function("e",str);
}
OLcapExtent.onmousemove=_158;
if(OLns4){
OLcapExtent.captureEvents(Event.MOUSEMOVE);
}
};
function OLparseTokens(pf,ar){
var v,md=-1,par=(pf!="ol_");
OLudf=(par&&!ar.length?1:0);
for(i=0;i<ar.length;i++){
if(md<0){
if(typeof ar[i]=="number"){
OLudf=(par?1:0);
i--;
}else{
switch(pf){
case "ol_":
ol_text=ar[i];
break;
default:
o3_text=ar[i];
}
}
md=0;
}else{
if(ar[i]==INARRAY){
OLudf=0;
eval(pf+"text=ol_texts["+ar[++i]+"]");
continue;
}
if(ar[i]==CAPARRAY){
eval(pf+"cap=ol_caps["+ar[++i]+"]");
continue;
}
if(ar[i]==CAPTION){
eval(pf+"cap='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==DIVID){
eval(pf+"divid='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==DIVCLASS){
eval(pf+"divclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==STICKY){
eval(pf+"sticky=("+pf+"sticky==0)?1:0");
continue;
}
if(ar[i]==-STICKY){
eval(pf+"sticky=0");
continue;
}
if(ar[i]==NOFOLLOW){
eval(pf+"nofollow=("+pf+"nofollow==0)?1:0");
continue;
}
if(ar[i]==-NOFOLLOW){
eval(pf+"nofollow=0");
continue;
}
if(ar[i]==BACKGROUND){
eval(pf+"background='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==NOCLOSE){
eval(pf+"noclose=("+pf+"noclose==0)?1:0");
continue;
}
if(ar[i]==-NOCLOSE){
eval(pf+"noclose=0");
continue;
}
if(ar[i]==MOUSEOFF){
eval(pf+"mouseoff=("+pf+"mouseoff==0)?1:0");
continue;
}
if(ar[i]==-MOUSEOFF){
eval(pf+"mouseoff=0");
continue;
}
if(ar[i]==OFFDELAY){
eval(pf+"offdelay="+ar[++i]);
continue;
}
if(ar[i]==RIGHT||ar[i]==LEFT||ar[i]==CENTER){
eval(pf+"hpos="+ar[i]);
continue;
}
if(ar[i]==OFFSETX){
eval(pf+"offsetx="+ar[++i]);
continue;
}
if(ar[i]==OFFSETY){
eval(pf+"offsety="+ar[++i]);
continue;
}
if(ar[i]==FGCOLOR){
eval(pf+"fgcolor=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==BGCOLOR){
eval(pf+"bgcolor=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==CGCOLOR){
eval(pf+"cgcolor=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==TEXTCOLOR){
eval(pf+"textcolor='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPCOLOR){
eval(pf+"capcolor='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CLOSECOLOR){
eval(pf+"closecolor='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==WIDTH){
eval(pf+"width="+ar[++i]);
continue;
}
if(ar[i]==WRAP){
eval(pf+"wrap=("+pf+"wrap==0)?1:0");
continue;
}
if(ar[i]==-WRAP){
eval(pf+"wrap=0");
continue;
}
if(ar[i]==WRAPMAX){
eval(pf+"wrapmax="+ar[++i]);
continue;
}
if(ar[i]==HEIGHT){
eval(pf+"height="+ar[++i]);
continue;
}
if(ar[i]==BORDER){
eval(pf+"border="+ar[++i]);
continue;
}
if(ar[i]==BASE){
eval(pf+"base="+ar[++i]);
continue;
}
if(ar[i]==STATUS){
eval(pf+"status='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==AUTOSTATUS){
eval(pf+"autostatus=("+pf+"autostatus==1)?0:1");
continue;
}
if(ar[i]==-AUTOSTATUS){
eval(pf+"autostatus=("+pf+"autostatus==2)?2:0");
continue;
}
if(ar[i]==AUTOSTATUSCAP){
eval(pf+"autostatus=("+pf+"autostatus==2)?0:2");
continue;
}
if(ar[i]==-AUTOSTATUSCAP){
eval(pf+"autostatus=("+pf+"autostatus==1)?1:0");
continue;
}
if(ar[i]==CLOSETEXT){
eval(pf+"close='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==SNAPX){
eval(pf+"snapx="+ar[++i]);
continue;
}
if(ar[i]==SNAPY){
eval(pf+"snapy="+ar[++i]);
continue;
}
if(ar[i]==FIXX){
eval(pf+"fixx="+ar[++i]);
continue;
}
if(ar[i]==FIXY){
eval(pf+"fixy="+ar[++i]);
continue;
}
if(ar[i]==RELX){
eval(pf+"relx="+ar[++i]);
continue;
}
if(ar[i]==RELY){
eval(pf+"rely="+ar[++i]);
continue;
}
if(ar[i]==MIDX){
eval(pf+"midx="+ar[++i]);
continue;
}
if(ar[i]==MIDY){
eval(pf+"midy="+ar[++i]);
continue;
}
if(ar[i]==REF){
eval(pf+"ref='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==REFC){
eval(pf+"refc='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==REFP){
eval(pf+"refp='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==REFX){
eval(pf+"refx="+ar[++i]);
continue;
}
if(ar[i]==REFY){
eval(pf+"refy="+ar[++i]);
continue;
}
if(ar[i]==FGBACKGROUND){
eval(pf+"fgbackground='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==BGBACKGROUND){
eval(pf+"bgbackground='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CGBACKGROUND){
eval(pf+"cgbackground='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==PADX){
eval(pf+"padxl="+ar[++i]);
eval(pf+"padxr="+ar[++i]);
continue;
}
if(ar[i]==PADY){
eval(pf+"padyt="+ar[++i]);
eval(pf+"padyb="+ar[++i]);
continue;
}
if(ar[i]==FULLHTML){
eval(pf+"fullhtml=("+pf+"fullhtml==0)?1:0");
continue;
}
if(ar[i]==-FULLHTML){
eval(pf+"fullhtml=0");
continue;
}
if(ar[i]==BELOW||ar[i]==ABOVE||ar[i]==VCENTER){
eval(pf+"vpos="+ar[i]);
continue;
}
if(ar[i]==CAPICON){
eval(pf+"capicon=\""+ar[++i]+"\"");
continue;
}
if(ar[i]==TEXTFONT){
eval(pf+"textfont='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPTIONFONT){
eval(pf+"captionfont='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CLOSEFONT){
eval(pf+"closefont='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==TEXTSIZE){
eval(pf+"textsize='"+ar[++i]+"'");
continue;
}
if(ar[i]==CAPTIONSIZE){
eval(pf+"captionsize='"+ar[++i]+"'");
continue;
}
if(ar[i]==CLOSESIZE){
eval(pf+"closesize='"+ar[++i]+"'");
continue;
}
if(ar[i]==TIMEOUT){
eval(pf+"timeout="+ar[++i]);
continue;
}
if(ar[i]==DELAY){
eval(pf+"delay="+ar[++i]);
continue;
}
if(ar[i]==HAUTO){
eval(pf+"hauto=("+pf+"hauto==0)?1:0");
continue;
}
if(ar[i]==-HAUTO){
eval(pf+"hauto=0");
continue;
}
if(ar[i]==VAUTO){
eval(pf+"vauto=("+pf+"vauto==0)?1:0");
continue;
}
if(ar[i]==-VAUTO){
eval(pf+"vauto=0");
continue;
}
if(ar[i]==NOJUSTX){
eval(pf+"nojustx=("+pf+"nojustx==0)?1:0");
continue;
}
if(ar[i]==-NOJUSTX){
eval(pf+"nojustx=0");
continue;
}
if(ar[i]==NOJUSTY){
eval(pf+"nojusty=("+pf+"nojusty==0)?1:0");
continue;
}
if(ar[i]==-NOJUSTY){
eval(pf+"nojusty=0");
continue;
}
if(ar[i]==CLOSECLICK){
eval(pf+"closeclick=("+pf+"closeclick==0)?1:0");
continue;
}
if(ar[i]==-CLOSECLICK){
eval(pf+"closeclick=0");
continue;
}
if(ar[i]==CLOSETITLE){
eval(pf+"closetitle='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==FGCLASS){
eval(pf+"fgclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==BGCLASS){
eval(pf+"bgclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CGCLASS){
eval(pf+"cgclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==TEXTPADDING){
eval(pf+"textpadding="+ar[++i]);
continue;
}
if(ar[i]==TEXTFONTCLASS){
eval(pf+"textfontclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPTIONPADDING){
eval(pf+"captionpadding="+ar[++i]);
continue;
}
if(ar[i]==CAPTIONFONTCLASS){
eval(pf+"captionfontclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CLOSEFONTCLASS){
eval(pf+"closefontclass='"+OLescSglQt(ar[++i])+"'");
continue;
}
if(ar[i]==CAPBELOW){
eval(pf+"capbelow=("+pf+"capbelow==0)?1:0");
continue;
}
if(ar[i]==-CAPBELOW){
eval(pf+"capbelow=0");
continue;
}
if(ar[i]==DONOTHING){
continue;
}
i=OLparseCmdLine(pf,i,ar);
}
}
if((OLfunctionPI)&&OLudf&&o3_function){
o3_text=o3_function();
}
if(pf=="o3_"){
OLfontSize();
}
};
function OLlayerWrite(txt){
txt+="\n";
if(OLns4){
over.document.write(txt);
over.document.close();
}else{
if(typeof over.innerHTML!="undefined"){
if(OLieM){
over.innerHTML="";
}
over.innerHTML=txt;
}else{
range=o3_frame.document.createRange();
range.setStartAfter(over);
domfrag=range.createContextualFragment(txt);
while(over.hasChildNodes()){
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
}
}
};
function OLshowObject(obj){
var _159=(OLns4?obj:obj.style);
o3_showid=0;
if(((OLfilterPI)&&!OLchkFilter(_159))||!OLfilterPI){
_159.visibility="visible";
}
if(OLshadowPI){
OLshowShadow();
}
if(OLiframePI){
OLshowIfShim();
}
if(OLhidePI){
OLhideUtil(1,1,0);
}
};
function OLhideObject(obj){
var _15a=(OLns4?obj:obj.style);
if(o3_showid>0){
clearTimeout(o3_showid);
o3_showid=0;
}
if(OLiframePI){
OLhideIfShim();
}
if(OLshadowPI){
OLhideShadow();
}
_15a.visibility="hidden";
if(OLhidePI){
OLhideUtil(0,0,1);
}
if((OLfilterPI)&&o3_filter){
OLcleanupFilter(_15a);
}
if(o3_timerid>0){
clearTimeout(o3_timerid);
}
if(o3_delayid>0){
clearTimeout(o3_delayid);
}
o3_timerid=0;
o3_delayid=0;
self.status="";
if(OLdraggablePI&&o3_dragging){
OLclearDrag();
}
if(over.onmouseover){
over.onmouseover=null;
}
if(OLscrollPI){
OLclearScroll();
}
};
function OLrepositionTo(obj,xL,yL,_15b){
if(!_15b){
if(OLxPos){
xL=OLxPos;
}
if(OLyPos){
yL=OLyPos;
}
}
var _15c=(OLns4?obj:obj.style);
_15c.left=(OLns4?xL:xL+"px");
_15c.top=(OLns4?yL:yL+"px");
OLxPos=xL;
OLyPos=yL;
};
function OLcursorOff(){
if(OLovertwoPI&&over==over2){
return false;
}
var _15d=(OLns4?over:over.style),pHt=OLns4?over.clip.height:over.offsetHeight;
var left=parseInt(_15d.left),top=parseInt(_15d.top);
var _15e=left+o3_width,_15f=top+((OLbubblePI&&o3_bubble)?OLbubbleHt:pHt);
if(o3_x<left||o3_x>_15e||o3_y<top||o3_y>_15f){
return true;
}
return false;
};
function OLoptMOUSEOFF(_160){
if(!_160){
o3_close="";
}
over.onmouseover=function(){
OLhover=1;
if(o3_timerid>0){
clearTimeout(o3_timerid);
o3_timerid=0;
}
};
};
function OLescSglQt(str){
return str.toString().replace(/'/g,"\\'");
};
function OLhasDims(str){
return /[%\-a-z]+$/.test(str);
};
function OLfontSize(){
var i;
if(OLhasDims(o3_textsize)){
if(OLns4){
o3_textsize="2";
}
}else{
if(!OLns4){
i=parseInt(o3_textsize);
o3_textsize=(i>0&&i<8)?OLpct[i]:OLpct[0];
}
}
if(OLhasDims(o3_captionsize)){
if(OLns4){
o3_captionsize="2";
}
}else{
if(!OLns4){
i=parseInt(o3_captionsize);
o3_captionsize=(i>0&&i<8)?OLpct[i]:OLpct[0];
}
}
if(OLhasDims(o3_closesize)){
if(OLns4){
o3_closesize="2";
}
}else{
if(!OLns4){
i=parseInt(o3_closesize);
o3_closesize=(i>0&&i<8)?OLpct[i]:OLpct[0];
}
}
};
function OLsetRunTimeVar(){
if(typeof runTime!="undefined"&&runTime.length){
for(var k=0;k<runTime.length;k++){
runTime[k]();
}
}
};
function OLparseCmdLine(pf,i,args){
if(typeof cmdLine!="undefined"&&cmdLine.length){
for(var k=0;k<cmdLine.length;k++){
var j=cmdLine[k](pf,i,args);
if(j>-1){
i=j;
break;
}
}
}
return i;
};
function OLisFunc(_161){
var rtn=true;
if(typeof _161=="object"){
for(var i=0;i<_161.length;i++){
if(typeof _161[i]=="function"){
continue;
}
rtn=false;
break;
}
}else{
if(typeof _161!="function"){
rtn=false;
}
}
return rtn;
};
function OLregCmds(_162){
if(typeof _162!="string"){
return;
}
var pM=_162.split(",");
pMtr=pMtr.concat(pM);
for(var i=0;i<pM.length;i++){
eval(pM[i].toUpperCase()+"="+pmCnt++);
}
};
function OLregRunTimeFunc(_163){
if(OLisFunc(_163)){
if(typeof runTime=="undefined"){
runTime=new Array();
}
if(typeof _163=="object"){
runTime=runTime.concat(_163);
}else{
runTime[runTime.length++]=_163;
}
}
};
function OLregCmdLineFunc(_164){
if(OLisFunc(_164)){
if(typeof cmdLine=="undefined"){
cmdLine=new Array();
}
if(typeof _164=="object"){
cmdLine=cmdLine.concat(_164);
}else{
cmdLine[cmdLine.length++]=_164;
}
}
};
OLloaded=1;
OLloaded=0;
OLregCmds("draggable");
if(typeof ol_draggable=="undefined"){
var ol_draggable=0;
}
var o3_draggable=0,o3_dragging=0,OLmMv;
function OLloadDraggable(){
o3_draggable=ol_draggable;
};
function OLparseDraggable(pf,i,ar){
var k=i;
if(k<ar.length){
if(ar[k]==DRAGGABLE){
eval(pf+"draggable=("+pf+"draggable==0)?1:0");
return k;
}
if(ar[k]==-DRAGGABLE){
eval(pf+"draggable=0");
return k;
}
}
return -1;
};
function OLcheckDrag(){
if(o3_draggable&&o3_sticky&&(o3_frame==self)){
if(!o3_dragging){
OLinitDrag();
}
}else{
if(o3_dragging){
OLclearDrag();
}
}
};
function OLinitDrag(){
OLmMv=OLcapExtent.onmousemove;
if(OLns4){
document.captureEvents(Event.MOUSEDOWN|Event.CLICK);
document.onmousedown=OLgrabEl;
document.onclick=function(e){
return routeEvent(e);
};
}else{
document.getElementById("overlibheader").onmousedown=OLgrabEl;
document.getElementById("overlibheader").style.cursor="move";
}
o3_dragging=1;
return true;
};
function OLgrabEl(e){
var e=(e)?e:event;
var cKy=(OLns4?e.modifiers&Event.ALT_MASK:(!OLop7)?e.altKey:e.ctrlKey);
if(cKy){
if(OLie4&&over.onselectstart!="undefined"){
over.onselectstart=null;
}
if(!OLns4){
over.style.cursor="auto";
}
document.onmouseup=function(){
if(!OLns4){
if(OLie4&&over.onselectstart!="undefined"){
over.onselectstart=function(){
return false;
};
}
if(!OLns4){
over.style.cursor="move";
}
}
};
return (OLns4?routeEvent(e):true);
}
OLmMv(e);
if(OLns4){
cX=e.pageX;
cY=e.pageY;
}else{
cX=o3_x-(parseInt(over.style.left));
cY=o3_y-(parseInt(over.style.top));
if((OLshadowPI)&&bkdrop&&o3_shadow){
cbX=o3_x-(parseInt(bkdrop.style.left));
cbY=o3_y-(parseInt(bkdrop.style.top));
}
}
if(OLns4){
document.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);
}
OLcapExtent.onmousemove=OLmoveEl;
document.onmouseup=function(){
OLcapExtent.onmousemove=OLmMv;
document.onmouseup=null;
};
return (OLns4?routeEvent(e):false);
};
function OLmoveEl(e){
OLmMv(e);
if(OLns4){
newX=e.pageX;
newY=e.pageY;
over.moveBy(newX-cX,newY-cY);
if((OLshadowPI)&&bkdrop&&o3_shadow){
bkdrop.moveBy(newX-cX,newY-cY);
}
cX=newX;
cY=newY;
}else{
OLrepositionTo(over,o3_x-cX,o3_y-cY,true);
if((OLiframePI)&&OLie55&&OLifShim){
OLrepositionTo(OLifShim,o3_x-cX,o3_y-cY,true);
}
if((OLshadowPI)&&bkdrop&&o3_shadow){
OLrepositionTo(bkdrop,o3_x-cbX,o3_y-cbY,true);
if((OLiframePI)&&OLie55&&OLifShimShadow){
OLrepositionTo(OLifShimShadow,o3_x-cbX,o3_y-cbY,true);
}
}
}
if(OLhidePI){
OLhideUtil(0,1,1,0,0,0);
}
return false;
};
function OLclearDrag(){
if(OLns4){
document.releaseEvents(Event.MOUSEDOWN|Event.MOUSEUP|Event.CLICK);
document.onmousedown=document.onmouseup=document.onclick=null;
}else{
if(OLie4||OLns6){
over.onmousedown=null;
if(OLie4&&over.onselectstart!="undefined"){
over.onselectstart=null;
}
over.style.cursor="auto";
}
}
o3_dragging=0;
};
OLregRunTimeFunc(OLloadDraggable);
OLregCmdLineFunc(OLparseDraggable);
OLdraggablePI=1;
OLloaded=1;
OLloaded=0;
OLregCmds("hideselectboxes,hidebyid,hidebyidall,hidebyidns4");
if(typeof ol_hideselectboxes=="undefined"){
var ol_hideselectboxes=0;
}
if(typeof ol_hidebyid=="undefined"){
var ol_hidebyid="";
}
if(typeof ol_hidebyidall=="undefined"){
var ol_hidebyidall="";
}
if(typeof ol_hidebyidns4=="undefined"){
var ol_hidebyidns4="";
}
var o3_hideselectboxes=0,o3_hidebyid="",o3_hidebyidall="",o3_hidebyidns4="";
var OLselNum,OLselectOK=(OLop7||((OLselNum=navigator.userAgent.match(/Gecko\/(\d{8})/i))&&parseInt(OLselNum[1])>=20030624))?1:0;
function OLloadHide(){
o3_hideselectboxes=ol_hideselectboxes;
o3_hidebyid=ol_hidebyid;
o3_hidebyidall=ol_hidebyidall;
o3_hidebyidns4=ol_hidebyidns4;
};
function OLparseHide(pf,i,ar){
var k=i;
if(k<ar.length){
if(ar[k]==HIDESELECTBOXES){
eval(pf+"hideselectboxes=("+pf+"hideselectboxes==0)?1:0");
return k;
}
if(ar[k]==-HIDESELECTBOXES){
eval(pf+"hideselectboxes=0");
return k;
}
if(ar[k]==HIDEBYID){
eval(pf+"hidebyid='"+OLescSglQt(ar[++k])+"'");
return k;
}
if(ar[k]==HIDEBYIDALL){
eval(pf+"hidebyidall='"+OLescSglQt(ar[++k])+"'");
return k;
}
if(ar[k]==HIDEBYIDNS4){
eval(pf+"hidebyidns4='"+OLescSglQt(ar[++k])+"'");
return k;
}
}
return -1;
};
function OLchkHide(hide){
if(OLiframePI&&OLie55){
return;
}
var _165,_166,i;
if(o3_hidebyid&&typeof o3_hidebyid=="string"&&!(o3_hideselectboxes&&OLns6)&&!OLop7&&!OLns4){
_165=o3_hidebyid.replace(/[ ]/ig,"").split(",");
for(i=0;i<_165.length;i++){
_166=(OLie4?o3_frame.document.all[_165[i]]:OLns6?o3_frame.document.getElementById(_165[i]):null);
if(_166!="undefined"&&_166){
_166.style.visibility=(hide?"hidden":"visible");
}
}
}
if(o3_hidebyidall&&typeof o3_hidebyidall=="string"){
_165=o3_hidebyidall.replace(/[ ]/ig,"").split(",");
for(i=0;i<_165.length;i++){
_166=(OLie4?o3_frame.document.all[_165[i]]:OLns6?o3_frame.document.getElementById(_165[i]):OLns4?o3_frame.document.eval(_165[i]):null);
if(_166!="undefined"&&_166){
_166=(OLns4)?_166:_166.style;
_166.visibility=(hide?"hidden":"visible");
}
}
}
if(o3_hidebyidns4&&OLns4&&typeof o3_hidebyid=="string"){
_165=o3_hidebyidns4.replace(/[ ]/ig,"").split(",");
for(i=0;i<_165.length;i++){
_166=o3_frame.document.eval(_165[i]);
if(_166!="undefined"&&_166){
_166.visibility=(hide?"hidden":"visible");
}
}
}
};
function OLselectBoxes(hide,all){
var px=over.offsetLeft,py=over.offsetTop,pw=over.offsetWidth,ph=over.offsetHeight;
var bx=px,by=py,bw=pw,bh=ph;
if(!this.object){
this.object=o3_frame.document.getElementsByTagName("object");
}
if(this.object.length>0){
var sx,sy,sw,sh,i,obj=this.object,objp;
for(i=0;i<obj.length;i++){
sx=0;
sy=0;
if(obj[i].offsetParent){
objp=obj[i];
while(objp.offsetParent&&objp.offsetParent.tagName.toLowerCase()!="body"){
objp=objp.offsetParent;
sx+=objp.offsetLeft;
sy+=objp.offsetTop;
}
sx+=obj[i].offsetLeft;
sy+=obj[i].offsetTop;
sw=obj[i].offsetWidth;
sh=obj[i].offsetHeight;
if(hide){
if((px+pw>sx&&px<sx+sw&&py+ph>sy&&py<sy+sh)||(bx+bw>sx&&bx<sx+sw&&by+bh>sy&&by<sy+sh)){
if(obj[i].style.visibility!="hidden"){
obj[i].style.visibility="hidden";
}
}
}else{
if(all||(px+pw<sx||px>sx+sw||py+ph<sy||py>sy+sh)&&(bx+bw<sx||bx>sx+sw||by+bh<sy||by>sy+sh)){
if(obj[i].style.visibility!="visible"){
obj[i].style.visibility="visible";
}
}
}
}
}
}
if((OLiframePI&&OLie55)||OLselectOK||OLns4){
return;
}
if(!this.sel){
this.sel=o3_frame.document.getElementsByTagName("select");
}
if((OLshadowPI)&&bkdrop&&o3_shadow){
bx=bkdrop.offsetLeft;
by=bkdrop.offsetTop;
bw=bkdrop.offsetWidth;
bh=bkdrop.offsetHeight;
}
var sx,sy,sw,sh,i,sel=this.sel,selp;
for(i=0;i<sel.length;i++){
sx=0;
sy=0;
if(sel[i].offsetParent){
selp=sel[i];
while(selp.offsetParent&&selp.offsetParent.tagName.toLowerCase()!="body"){
selp=selp.offsetParent;
sx+=selp.offsetLeft;
sy+=selp.offsetTop;
}
sx+=sel[i].offsetLeft;
sy+=sel[i].offsetTop;
sw=sel[i].offsetWidth;
sh=sel[i].offsetHeight;
if(!OLie4&&sel[i].size<2){
continue;
}else{
if(hide){
if((px+pw>sx&&px<sx+sw&&py+ph>sy&&py<sy+sh)||(bx+bw>sx&&bx<sx+sw&&by+bh>sy&&by<sy+sh)){
if(sel[i].style.visibility!="hidden"){
sel[i].style.visibility="hidden";
}
}
}else{
if(all||(px+pw<sx||px>sx+sw||py+ph<sy||py>sy+sh)&&(bx+bw<sx||bx>sx+sw||by+bh<sy||by>sy+sh)){
if(sel[i].style.visibility!="visible"){
sel[i].style.visibility="visible";
}
}
}
}
}
}
};
function OLhideUtil(a1,a2,a3,a4,a5,a6){
if(a4==null){
OLchkHide(a1);
if(o3_hideselectboxes){
OLselectBoxes(a2,a3);
}
}else{
OLchkHide(a1);
OLchkHide(a2);
if(o3_hideselectboxes){
OLselectBoxes(a3,a4);
OLselectBoxes(a5,a6);
}
}
};
OLregRunTimeFunc(OLloadHide);
OLregCmdLineFunc(OLparseHide);
OLhidePI=1;
OLloaded=1;
OLloaded=0;
var OLifShim=null,OLifShimShadow=null,OLifShimOvertwo=null,OLifShimSrc="";
function OLinitIframe(){
if(!OLie55){
return;
}
OLifShimSrc=(document.URL.indexOf("https://")==0)?"/blank.html":"javascript:void(0)";
var _167;
if((OLovertwoPI)&&over2&&over==over2){
_167=o3_frame.document.all["overIframeOvertwo"];
if(_167=="undefined"||!_167||OLifShimOvertwo!=_167){
OLifShimOvertwo=null;
OLgetIfShimOvertwoRef();
}
return;
}
_167=o3_frame.document.all["overIframe"];
if(_167=="undefined"||!_167||OLifShim!=_167){
OLifShim=null;
OLgetIfShimRef();
}
if((OLshadowPI)&&o3_shadow){
_167=o3_frame.document.all["overIframeShadow"];
if(_167=="undefined"||!_167||OLifShimShadow!=_167){
OLifShimShadow=null;
OLgetIfShimShadowRef();
}
}
};
function OLsetIfShimRef(obj,i,s,z){
with(obj){
id=i;
src=s;
}
with(obj.style){
position="absolute";
top=0;
left=0;
width=1;
height=1;
visibility="hidden";
zIndex=over.style.zIndex-z;
filter="Alpha(style=0,opacity=0)";
}
};
function OLgetIfShimRef(){
if(OLifShim||!OLie55){
return;
}
var body=o3_frame.document.all.tags("body")[0];
OLifShim=o3_frame.document.createElement("iframe");
if(typeof OLifShim.style.filter!="string"){
if(typeof OLifShim!="undefined"){
OLifShim.style.display="none";
}
OLifShim=null;
OLie55=false;
return;
}
body.insertBefore(OLifShim,body.firstChild);
OLsetIfShimRef(OLifShim,"overIframe",OLifShimSrc,2);
};
function OLgetIfShimShadowRef(){
if(OLifShimShadow||!OLie55){
return;
}
var body=o3_frame.document.all.tags("body")[0];
OLifShimShadow=o3_frame.document.createElement("iframe");
if(typeof OLifShimShadow.style.filter!="string"){
if(typeof OLifShimShadow!="undefined"){
OLifShimShadow.style.display="none";
}
OLifShimShadow=null;
OLie55=false;
return;
}
body.insertBefore(OLifShimShadow,body.firstChild);
OLsetIfShimRef(OLifShimShadow,"overIframeShadow",OLifShimSrc,3);
};
function OLgetIfShimOvertwoRef(){
if(OLifShimOvertwo||!OLie55){
return;
}
var body=o3_frame.document.all.tags("body")[0];
OLifShimOvertwo=o3_frame.document.createElement("iframe");
if(typeof OLifShimOvertwo.style.filter!="string"){
if(typeof OLifShimOvertwo!="undefined"){
OLifShimOvertwo.style.display="none";
}
OLifShimOvertwo=null;
OLie55=false;
return;
}
body.insertBefore(OLifShimOvertwo,body.firstChild);
OLsetIfShimRef(OLifShimOvertwo,"overIframeOvertwo",OLifShimSrc,1);
};
function OLsetDispIfShim(obj,w,h){
with(obj.style){
width=w+"px";
height=h+"px";
clip="rect(0px "+w+"px "+h+"px 0px)";
}
obj.filters.alpha.enabled=true;
};
function OLdispIfShim(){
if(!OLie55){
return;
}
var wd=over.offsetWidth,ht=over.offsetHeight;
if((OLovertwoPI)&&over2&&over==over2){
if(!OLifShimOvertwo){
return;
}
OLsetDispIfShim(OLifShimOvertwo,wd,ht);
return;
}
if(!OLifShim){
return;
}
OLsetDispIfShim(OLifShim,wd,ht);
if((!OLshadowPI)||!o3_shadow||!OLifShimShadow){
return;
}
OLsetDispIfShim(OLifShimShadow,wd,ht);
};
function OLshowIfShim(){
if(OLifShim){
OLifShim.style.visibility="visible";
if((OLshadowPI)&&o3_shadow&&OLifShimShadow){
OLifShimShadow.style.visibility="visible";
}
}
};
function OLhideIfShim(){
if(OLifShim){
OLifShim.style.visibility="hidden";
}
if((OLshadowPI)&&o3_shadow&&OLifShimShadow){
OLifShimShadow.style.visibility="hidden";
}
};
function OLrepositionIfShim(X,Y){
if(OLie55){
if((OLovertwoPI)&&over2&&over==over2){
if(OLifShimOvertwo){
OLrepositionTo(OLifShimOvertwo,X,Y);
}
}else{
if(OLifShim){
OLrepositionTo(OLifShim,X,Y);
if((OLshadowPI)&&o3_shadow&&OLifShimShadow){
OLrepositionTo(OLifShimShadow,X+o3_shadowx,Y+o3_shadowy);
}
}
}
}
};
OLiframePI=1;
OLloaded=1;
var alreadyinclude=new Array;
function updateDivContent(url,_168,_169,_16a,_16b){
var _16c=getXmlHttpObject();
_16c.open("GET",url,true);
_16c.onreadystatechange=function(){
getProgressBar(_16c);
if(_16c.readyState==4){
if(_16c.status==200){
var _16d=getResponseText(_16c);
if(_16b!=true){
document.getElementById(_168).innerHTML=_16d;
}else{
document.getElementById(_168).innerHTML+=_16d;
}
if(_169){
if(_169==="auto"){
getAutoJavascript(_16d,_168);
}else{
if(typeof _16a=="undefined"){
_16a=url+"&js=1";
}
getJavascript(_16a);
}
}
getFieldFocus(_168);
}else{
alert("Problem retrieving XML data");
}
}
};
_16c.send(null);
};
function displayContent(url,_16e,_16f,_170,_171,_172,_173,_174){
var _175="";
if(_170){
_175+=",DIVCLASS,'"+_170+"'";
}
if(_171){
_175+=","+_171;
}
if(!_16f){
_16f="Close";
}
if(_175){
if(_175.search("DIVID")==-1){
_175+=",DIVID,'overDiv'";
}
var ol="overlib('Please wait...',CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption,DRAGGABLE,HIDESELECTBOXES"+_175+");";
eval(ol);
}else{
overlib("Please wait...",CAPTION,_16e,STICKY,CLOSECLICK,CLOSETEXT,"x",CLOSETITLE,_16f,DRAGGABLE,HIDESELECTBOXES);
}
var _176=getXmlHttpObject();
_176.open("GET",url,true);
_176.onreadystatechange=function(){
if(_176.readyState==4){
if(_176.status==200){
var _177=getResponseText(_176);
var _178=_177.split("-->");
if(_178[1]=="redirect"){
window.location=_178[2];
}else{
document.getElementById("overlibcontent").innerHTML=_177;
getFieldFocus("overlibcontent");
if(_172){
if(_172==="auto"){
getAutoJavascript(_177,"overlibcontent");
}else{
if(typeof _173=="undefined"){
_173=url+"&js=1";
}
getJavascript(_173);
}
}
if(OLiframePI){
OLdispIfShim();
}
}
if(_174){
eval(_174);
}
}else{
alert("Problem retrieving XML data");
}
}
};
_176.send(null);
};
function displayOverlib(_179,_17a,_17b,_17c,_17d){
var _17e="";
if(_17c){
_17e+=",DIVCLASS,'"+_17c+"'";
}
if(_17d){
_17e+=","+_17d;
}
if(!_17b){
_17b="Close";
}
if(_17e){
if(_17e.search("DIVID")==-1){
_17e+=",DIVID,'overDiv'";
}
var ol="overlib(content,CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption,DRAGGABLE,HIDESELECTBOXES,VAUTO"+_17e+");";
eval(ol);
}else{
overlib(_179,CAPTION,_17a,STICKY,CLOSECLICK,CLOSETEXT,"x",CLOSETITLE,_17b,DRAGGABLE,HIDESELECTBOXES,VAUTO);
}
};
function cancelOverDiv(){
cClick();
};
function submitOverForm(url,_17f,_180,_181,_182,_183,_184,_185){
var get="&";
if(_17f){
var _186=document.getElementsByTagName("form");
for(var x=0;x<_186.length;x++){
if(_186[x].getAttribute("id")==_17f){
frm=_186[x];
}
}
if(frm){
for(var i=0;i<frm.length;i++){
if(frm.elements[i].name){
if(frm.elements[i].type=="select-multiple"){
var _187="";
opt=frm.elements[i].options;
for(var cpt=0;cpt<opt.length;cpt++){
if(opt[cpt].selected){
_187+=preparePostValue(opt[cpt].value)+"!";
}
}
get+=frm.elements[i].name+"="+_187+"&";
}else{
if(frm.elements[i].type=="checkbox"||frm.elements[i].type=="radio"){
if(frm.elements[i].checked){
get+=frm.elements[i].name+"="+preparePostValue(frm.elements[i].value)+"&";
}
}else{
get+=frm.elements[i].name+"="+preparePostValue(frm.elements[i].value)+"&";
}
}
}
}
}
}
var _188=getXmlHttpObject();
_188.open("POST",url,true,null,null);
_188.onreadystatechange=function(){
getProgressBar(_188);
if(_188.readyState==4){
if(_188.status==200){
if(_180||_181){
var _189=false;
var _18a=getResponseText(_188);
var _18b=_180;
if(_181){
if(_181=="overeditcontent"){
_181="emajine_layer_content_overEdit"+insertElementLayerID;
}
var _18c=_18a.match(/error-(.*)/);
if(_18c){
document.getElementById(_181).innerHTML=_18a.replace("error-","");
getFieldFocus(_181);
if(_183){
eval(_183);
}
_18b=_181;
_189=true;
}
}
if(_180&&!_189){
if(_180=="overeditcontent"){
_180="emajine_layer_content_overEdit"+insertElementLayerID;
}
document.getElementById(_180).innerHTML=_18a;
getFieldFocus(_180);
}
if(_182&&!_189){
eval(_182);
}
}
if(_184){
if(_184==="auto"){
getAutoJavascript(_18a,_18b);
}else{
if(typeof _185=="undefined"){
_185=url+"&js=1";
}
getJavascript(_185);
}
}
}else{
alert("Problem retrieving XML data");
}
}
};
_188.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
_188.send(get);
};
function preparePostValue(_18d){
return encodeURIComponent(_18d);
};
var requestLock=false;
function sendRequest(url,_18e,lock,sync){
if(typeof sync=="undefined"){
sync=false;
}
if(lock){
if(requestLock){
return void (0);
}else{
document.getElementById("pleasewait").style.display="block";
requestLock=true;
}
}
var _18f=getXmlHttpObject();
if(sync){
_18f.open("GET",url,false);
_18f.send(null);
if(_18f.status==200){
var _190=getResponseText(_18f);
if(_18e){
eval(_18e);
}
document.getElementById("pleasewait").style.display="none";
requestLock=false;
}
}else{
_18f.open("GET",url,true);
_18f.onreadystatechange=function(){
if(_18f.readyState==4){
if(_18f.status==200){
var _191=getResponseText(_18f);
if(_18e){
eval(_18e);
}
document.getElementById("pleasewait").style.display="none";
requestLock=false;
}
}
};
_18f.send(null);
}
};
function removeElement(_192){
var elmt;
if(elmt=document.getElementById(_192)){
elmt.parentNode.removeChild(elmt);
return true;
}
return false;
};
function getResponseText(_193){
if(_193.responseText.indexOf("<!--endOfProgressBar-->")!=-1){
return _193.responseText.substr(_193.responseText.indexOf("<!--endOfProgressBar-->")+23);
}
return _193.responseText;
};
function getProgressBar(_194){
if(!document.getElementById("pleasewait")){
var _195=document.createElement("div");
_195.id="pleasewait";
_195.className="static";
_195.setAttribute("style","position: absolute; display: block; z-index: 1000;text-align:center;");
var _196=document.createElement("h1");
_196.innerHTML="Veuillez patientez";
_195.appendChild(_196);
var _197=document.createElement("img");
_197.src="/common_images/ajax-loader.gif";
_195.appendChild(_197);
document.getElementsByTagName("body")[0].appendChild(_195);
}else{
_195=document.getElementById("pleasewait");
}
var _198=_194.readyState;
if(_198==4){
_195.style.display="none";
}else{
if(_198==3){
var _199=_194.responseText;
if(typeof _199!=="undefined"&&_199.match(/^[0-9,]*$/)){
var nb=0;
if(_199.lastIndexOf(",")!=-1){
nb=_199.substr(_199.lastIndexOf(",")+1);
}
if(!document.getElementById("emajineProgressBarPercent")){
var _19a=document.createElement("div");
_19a.id="emajineProgressBar";
var _19b=document.createElement("div");
_19b.id="emajineProgressBarPercent";
_19b.innerHTML="&nbsp;";
_19a.appendChild(_19b);
_195.appendChild(_19a);
}else{
var _19a=document.getElementById("emajineProgressBar");
var _19b=document.getElementById("emajineProgressBarPercent");
_19b.style.width="0%";
}
_195.className="progressBar";
_19a.style.display="block";
_19b.style.width=nb+"%";
}
}else{
if(_198==1){
_195.style.display="block";
var _19c=_195.offsetHeight;
var _19d=_195.offsetWidth;
_195.style.display="none";
var _19e=document.documentElement;
var _19f=_19e.clientHeight;
var _1a0=_19e.offsetWidth;
var sTop=_19e.scrollTop;
var _1a1=_19e.scrollLeft;
var posY=(_19f/2)-(_19c/2)+sTop;
var posX=(_1a0/2)-(_19d/2)+_1a1;
_195.style.top=posY+"px";
_195.style.left=posX+"px";
_195.className="static";
if(document.getElementById("emajineProgressBar")){
document.getElementById("emajineProgressBar").style.display="none";
}
}
_195.style.display="block";
}
}
};
function getAutoJavascript(_1a2,_1a3){
var _1a4=document.getElementById(_1a3).getElementsByTagName("script");
if(_1a4.length>0){
for(var i in _1a4){
if(typeof _1a4[i].type!=="undefined"){
if(_1a4[i].src){
}else{
if(_1a4[i].innerHTML){
var _1a5=_1a4[i].innerHTML;
var _1a6=document.getElementsByTagName("head").item(0);
var _1a7=document.createElement("script");
if(typeof _1a7!="object"){
_1a7=document.standardCreateElement("script");
}
_1a7.setAttribute("type","text/javascript");
_1a7.text=_1a5;
_1a7.defer="false";
_1a6.appendChild(_1a7);
}
}
}
}
}
};
function getJavascript(_1a8){
loadJavascriptSync(_1a8);
};
function loadJavascriptSync(_1a9){
var _1aa=getXmlHttpObject();
_1aa.open("GET",_1a9,false);
_1aa.send(null);
if(_1aa.status==200){
var _1ab=getResponseText(_1aa);
var _1ac=document.getElementsByTagName("head").item(0);
var _1ad=document.createElement("script");
if(typeof _1ad!="object"){
_1ad=document.standardCreateElement("script");
}
_1ad.setAttribute("type","text/javascript");
_1ad.setAttribute("defer","false");
_1ad.text=_1ab;
_1ad.defer="false";
_1ac.appendChild(_1ad);
return true;
}
return false;
};
function loadJavascriptAsync(_1ae){
var _1af=getXmlHttpObject();
_1af.open("GET",_1ae,true);
_1af.onreadystatechange=function(){
if(_1af.readyState==4){
if(_1af.status==200){
var _1b0=getResponseText(_1af);
var _1b1=document.getElementsByTagName("head").item(0);
var _1b2=document.createElement("script");
if(typeof _1b2!="object"){
_1b2=document.standardCreateElement("script");
}
_1b2.setAttribute("type","text/javascript");
_1b2.text=_1b0;
_1b2.defer="false";
_1b1.appendChild(_1b2);
}
}
};
_1af.send(null);
};
function getFieldFocus(_1b3){
var _1b4=document.getElementById(_1b3).getElementsByTagName("form");
if(_1b4.length>0&&_1b4[0].length>0){
for(var i=0;i<_1b4[0].length;i++){
if(typeof _1b4[0].elements[i].name!="undefined"){
_1b4[0].elements[i].focus();
return true;
}
}
}
return false;
};
function getXmlHttpObject(){
var _1b5;
try{
_1b5=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
_1b5=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(E){
_1b5=false;
}
}
if(!_1b5&&typeof XMLHttpRequest!=undefined){
_1b5=new XMLHttpRequest();
}else{
if(!_1b5){
_1b5=new ActiveXObject("Msxml2.XMLHTTP");
}
}
return _1b5;
};
var baseURL="http://"+window.location.hostname+"/manage/";
var insertElementLayerID=0;
var lastOverEdit=false;
var Emajine_Layers=function(){
this._emajine_layers_stack=new Array();
this._emajine_layers_active_zindex=550;
this._emajine_layers_mask_zindex=150;
this.layer_css_class="emajine_class";
this.layer_close_title="Fermer";
this.layer_position="0";
};
Emajine_Layers.prototype.open_emajine_layer=function(_1b6,_1b7){
if(this._emajine_layers_stack.length===0){
this._create_emajine_mask_layer();
this._emajine_layers_active_zindex=550;
}
this.layer_id=_1b6;
this.layer_caption=_1b7;
var _1b8=this.emajine_layer_exists();
if(_1b8===false){
this._create_emajine_layer();
}
this.layer_div=document.getElementById(this.layer_id);
this._pile_up_emajine_layers_stack();
if(_1b8===false){
this._set_emajine_layer_structure();
}
};
Emajine_Layers.prototype._create_emajine_mask_layer=function(){
var _1b9=document.createElement("DIV");
var _1ba=document.documentElement.scrollHeight;
_1b9.style.position="absolute";
_1b9.style.left="0px";
_1b9.style.top="0px";
_1b9.style.height=_1ba+"px";
_1b9.style.zIndex=this._emajine_layers_mask_zindex;
_1b9.setAttribute("id","mask");
document.body.appendChild(_1b9);
this.emajine_layer_hide_elements("select");
this.emajine_layer_hide_elements("object");
};
Emajine_Layers.prototype._remove_emajine_mask_layer=function(){
var _1bb=document.getElementById("mask");
document.body.removeChild(_1bb);
this.emajine_layer_show_elements("select");
this.emajine_layer_show_elements("object");
};
Emajine_Layers.prototype._create_emajine_layer=function(){
var _1bc=document.createElement("DIV");
_1bc.className=this.layer_css_class;
_1bc.setAttribute("id",this.layer_id);
_1bc.style.position="absolute";
_1bc.style.display="none";
document.body.appendChild(_1bc);
this._emajine_layers_active_zindex++;
this._emajine_layers_stack.push(this.layer_id);
};
Emajine_Layers.prototype._pile_up_emajine_layers_stack=function(_1bd){
for(var x in this._emajine_layers_stack){
if(typeof _1bd!=="undefined"){
if(document.getElementById(this._emajine_layers_stack[x]).style.zIndex>_1bd){
document.getElementById(this._emajine_layers_stack[x]).style.zIndex--;
}
}else{
if(this._emajine_layers_stack[x]===this.layer_id){
this.layer_div.style.zIndex=this._emajine_layers_active_zindex;
}
}
}
this.emajine_layer_hide_elements("select");
this.emajine_layer_hide_elements("object");
};
Emajine_Layers.prototype.display_layer_content=function(_1be){
document.getElementById("emajine_layer_content_"+this.layer_id).innerHTML=_1be;
};
Emajine_Layers.prototype.display_xmlhttprequest_layer_content=function(url,_1bf,_1c0){
var _1c1=getXmlHttpObject();
var _1c2="emajine_layer_content_"+this.layer_id;
var obj=this;
_1c1.open("GET",url,true,null,null);
_1c1.onreadystatechange=function(){
getProgressBar(_1c1);
if(_1c1.readyState==4){
if(_1c1.status==200){
var _1c3=getResponseText(_1c1);
document.getElementById(_1c2).innerHTML=_1c3;
obj.position_emajine_layer();
if(_1bf){
if(_1bf==="auto"){
getAutoJavascript(_1c3,_1c2);
}else{
if(typeof _1c0==="undefined"){
_1c0=url+"&js=1";
}
getJavascript(_1c0);
}
}
getFieldFocus(_1c2);
}else{
alert("Problem retrieving XML data");
}
}
};
_1c1.send(null);
};
Emajine_Layers.prototype.position_emajine_layer=function(){
if(this.layer_position=="center"){
this.layer_div.style.display="block";
var _1c4=this.layer_div.offsetHeight;
var _1c5=this.layer_div.offsetWidth;
this.layer_div.style.display="none";
var _1c6=document.documentElement;
var _1c7=_1c6.clientHeight;
var _1c8=_1c6.offsetWidth;
var sTop=_1c6.scrollTop;
var _1c9=_1c6.scrollLeft;
var posY=(_1c7/2)-(_1c4/2)+sTop;
var posX=(_1c8/2)-(_1c5/2)+_1c9;
if(posY<0){
posY=0;
}
this.layer_div.style.top=posY+"px";
this.layer_div.style.left=posX+"px";
}else{
var _1ca=document.documentElement.scrollTop;
this.layer_div.style.left="0px";
this.layer_div.style.top=_1ca+"px";
}
this.layer_div.style.display="block";
};
Emajine_Layers.prototype.cancel_emajine_layer=function(_1cb){
var _1cc=document.getElementById(_1cb);
var _1cd=_1cc.style.zIndex;
document.body.removeChild(_1cc);
for(var x in this._emajine_layers_stack){
if(this._emajine_layers_stack[x]===_1cb){
break;
}
}
this._emajine_layers_stack.splice(x,1);
this._pile_up_emajine_layers_stack(_1cd);
if(this._emajine_layers_stack.length===0){
this._remove_emajine_mask_layer();
}else{
this.emajine_layer_show_elements("select");
this.emajine_layer_show_elements("object");
}
};
Emajine_Layers.prototype._set_emajine_layer_structure=function(){
var _1ce="<div class=\"emajine_layer_header\">"+"<span class=\"emajine_layer_caption\" id=\"emajine_layer_caption_"+this.layer_id+"\">"+this.layer_caption+"</span>"+"<span class=\"emajine_layer_close\" id=\"emajine_layer_close_"+this.layer_id+"\">"+"<a href=\"javascript:void(0);\" title=\""+this.layer_close_title+"\" onclick=\"Emajine_Layers_Obj.cancel_emajine_layer('"+this.layer_id+"')\">"+this.layer_close_title+"</a>"+"</span>"+"</div>"+"<div class=\"emajine_layer_content\" id=\"emajine_layer_content_"+this.layer_id+"\">"+"</div>"+"<div class=\"emajine_layer_footer\" id=\"emajine_layer_footer_"+this.layer_id+"\">"+"<a href=\"javascript:void(0);\" title=\""+this.layer_close_title+"\" onclick=\"Emajine_Layers_Obj.cancel_emajine_layer('"+this.layer_id+"')\">"+this.layer_close_title+"</a>"+"</div>";
this.layer_div.innerHTML=_1ce;
};
Emajine_Layers.prototype.set_emajine_layer_css_class=function(_1cf){
this.layer_css_class=_1cf;
};
Emajine_Layers.prototype.set_emajine_layer_close_title=function(_1d0){
this.layer_close_title=_1d0;
};
Emajine_Layers.prototype.set_emajine_layer_position=function(_1d1){
this.layer_position=_1d1;
};
Emajine_Layers.prototype.emajine_layer_exists=function(){
for(var x in this._emajine_layers_stack){
if(this._emajine_layers_stack[x]===this.layer_id){
return true;
}
}
return false;
};
Emajine_Layers.prototype.emajine_layer_show_elements=function(_1d2){
var _1d3=document.getElementsByTagName(_1d2);
for(i=0;i!=_1d3.length;i++){
_1d3[i].style.visibility="visible";
}
};
Emajine_Layers.prototype.emajine_layer_hide_elements=function(_1d4){
var _1d5=document.getElementsByTagName(_1d4);
for(i=0;i!=_1d5.length;i++){
_1d5[i].style.visibility="hidden";
}
};
Emajine_Layers.prototype.emajine_layer_get_stack=function(){
return this._emajine_layers_stack;
};
Emajine_Layers.prototype.emajine_layer_get_element_id_by_token=function(_1d6){
var tmp=Emajine_Layers_Obj.emajine_layer_get_stack();
tmp=tmp.reverse();
for(var x=0;x<tmp.length;x++){
if(tmp[x].indexOf(_1d6)!=-1){
return tmp[x];
}
}
};
Emajine_Layers_Obj=new Emajine_Layers();
function open_div(_1d7,_1d8,url,js){
Emajine_Layers_Obj.set_emajine_layer_css_class("ressource_layer");
var _1d9=false;
var _1da=null;
if(js){
if(js==="auto"){
_1d9="auto";
}else{
_1d9=true;
_1da=js;
}
}
Emajine_Layers_Obj.set_emajine_layer_position("top");
Emajine_Layers_Obj.open_emajine_layer(_1d7,_1d8);
Emajine_Layers_Obj.display_xmlhttprequest_layer_content(url,_1d9,_1da);
};
open_ressource_div=open_div;
function insertRessourceContent(url,_1db,_1dc){
if(typeof _1db=="undefined"){
_1db="_insert_element_";
}
if(typeof _1dc=="undefined"){
_1dc="overDivInsert"+insertElementLayerID;
insertElementLayerID++;
}
url+="&layer_id="+_1dc;
Emajine_Layers_Obj.set_emajine_layer_css_class("overDivInsert");
Emajine_Layers_Obj.set_emajine_layer_position("center");
Emajine_Layers_Obj.open_emajine_layer(_1dc,_1db);
Emajine_Layers_Obj.display_xmlhttprequest_layer_content(baseURL+url,"auto");
};
function cancelInsertDiv(){
Emajine_Layers_Obj.cancel_emajine_layer(Emajine_Layers_Obj.emajine_layer_get_element_id_by_token("overDivInsert"));
};
function showZoom(_1dd,_1de){
layer_id="overDivZoom"+insertElementLayerID;
insertElementLayerID++;
Emajine_Layers_Obj.set_emajine_layer_css_class("overZoom");
Emajine_Layers_Obj.set_emajine_layer_position("top");
Emajine_Layers_Obj.open_emajine_layer(layer_id,_1de);
var _1df=document.documentElement.scrollTop;
document.getElementById(layer_id).style.top=(5+_1df)+"px";
document.getElementById(layer_id).style.left="5px";
var _1e0="emajine_layer_content_"+layer_id;
document.getElementById(_1e0).innerHTML=_1dd;
Emajine_Layers_Obj.layer_div.style.display="block";
};
function getEditBloc(url,_1e1,_1e2,_1e3,_1e4){
layer_id="overEdit"+insertElementLayerID;
lastOverEdit=layer_id;
insertElementLayerID++;
Emajine_Layers_Obj.set_emajine_layer_css_class("overEdit");
Emajine_Layers_Obj.set_emajine_layer_position("center");
var _1e5=false;
var _1e6=null;
if(_1e3){
if(_1e3==="auto"){
_1e5="auto";
}else{
_1e5=true;
_1e6=_1e4;
}
}
Emajine_Layers_Obj.open_emajine_layer(layer_id,_1e1);
Emajine_Layers_Obj.display_xmlhttprequest_layer_content(baseURL+url,_1e5,_1e6);
};
function cancelEditBloc(){
Emajine_Layers_Obj.cancel_emajine_layer(Emajine_Layers_Obj.emajine_layer_get_element_id_by_token("overEdit"));
};
function rollover(_1e7,src){
var img=_1e7.getElementsByTagName("img");
if(img.length>0){
img=img[0];
if(src==""){
img.style.display="none";
}else{
img.style.display="inline";
img.src=src;
}
}
};
function esvtk_trackprint(p){if (p["esvtk_v"]=="1") p["esvtk_t"]="p"; esvtk_track(p);};
function esvtk_trackprintonce(p){if (p["esvtk_v"]=="1") p["esvtk_t"]="po";esvtk_track(p);};
function esvtk_trackonclick(p){if (p["esvtk_v"]=="1") p["esvtk_t"]="c";esvtk_track(p);};
function esvtk_void(m){ return;};
function esvtk_track(p){try{
var proto=window.location.protocol.toLowerCase();
var burl = (('https:'!=proto)?"http://aka":"https://ssl")+"tracking.esearchvision.com/esi/";
var i=0;
var m=new Image();m.width=1;m.border=0;	
if (p["esvtk_v"]=="1"){	
var urlp="esvid="+encodeURIComponent(p["esvtk_esvid"]);
for(var k in p){if (typeof p[k]=="object"){i++;for (var l in p[k]) urlp+="&"+l+"_"+i+"="+encodeURIComponent(p[k][l]);}else if (typeof p[k]!="function" && k!="esvtk_forcecount" && k!="esvtk_esvid" && k!="esvtk_v" && k!="esvtk_t") urlp+="&"+k+"="+(k=="esvcid"?p[k]:encodeURIComponent(p[k]));}		
if (p["esvtk_t"]!="p") m.src=burl+(i>0?"multi.gif?":"once.gif?")+urlp+(p['esvtk_forcecount']=='1'?"&esvtk_r="+Math.random():"");
else m.src=burl+"pix.gif?"+urlp+"&esvtk_r="+Math.random();
m.onload=function() { esvtk_void(m); };
}}catch(e){}};
(function(){
if(typeof _1e9!="undefined"){
var _1ea=_1e9;
}
var _1e9=window.jQuery=function(_1eb,_1ec){
return this instanceof _1e9?this.init(_1eb,_1ec):new _1e9(_1eb,_1ec);
};
if(typeof $!="undefined"){
var _1ed=$;
}
window.$=_1e9;
var _1ee=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/;
_1e9.fn=_1e9.prototype={init:function(_1ef,_1f0){
_1ef=_1ef||document;
if(typeof _1ef=="string"){
var m=_1ee.exec(_1ef);
if(m&&(m[1]||!_1f0)){
if(m[1]){
_1ef=_1e9.clean([m[1]],_1f0);
}else{
var tmp=document.getElementById(m[3]);
if(tmp){
if(tmp.id!=m[3]){
return _1e9().find(_1ef);
}else{
this[0]=tmp;
this.length=1;
return this;
}
}else{
_1ef=[];
}
}
}else{
return new _1e9(_1f0).find(_1ef);
}
}else{
if(_1e9.isFunction(_1ef)){
return new _1e9(document)[_1e9.fn.ready?"ready":"load"](_1ef);
}
}
return this.setArray(_1ef.constructor==Array&&_1ef||(_1ef.jquery||_1ef.length&&_1ef!=window&&!_1ef.nodeType&&_1ef[0]!=undefined&&_1ef[0].nodeType)&&_1e9.makeArray(_1ef)||[_1ef]);
},jquery:"1.2.1",size:function(){
return this.length;
},length:0,get:function(num){
return num==undefined?_1e9.makeArray(this):this[num];
},pushStack:function(a){
var ret=_1e9(a);
ret.prevObject=this;
return ret;
},setArray:function(a){
this.length=0;
Array.prototype.push.apply(this,a);
return this;
},each:function(fn,args){
return _1e9.each(this,fn,args);
},index:function(obj){
var pos=-1;
this.each(function(i){
if(this==obj){
pos=i;
}
});
return pos;
},attr:function(key,_1f1,type){
var obj=key;
if(key.constructor==String){
if(_1f1==undefined){
return this.length&&_1e9[type||"attr"](this[0],key)||undefined;
}else{
obj={};
obj[key]=_1f1;
}
}
return this.each(function(_1f2){
for(var prop in obj){
_1e9.attr(type?this.style:this,prop,_1e9.prop(this,obj[prop],type,_1f2,prop));
}
});
},css:function(key,_1f3){
return this.attr(key,_1f3,"curCSS");
},text:function(e){
if(typeof e!="object"&&e!=null){
return this.empty().append(document.createTextNode(e));
}
var t="";
_1e9.each(e||this,function(){
_1e9.each(this.childNodes,function(){
if(this.nodeType!=8){
t+=this.nodeType!=1?this.nodeValue:_1e9.fn.text([this]);
}
});
});
return t;
},wrapAll:function(html){
if(this[0]){
_1e9(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){
var elem=this;
while(elem.firstChild){
elem=elem.firstChild;
}
return elem;
}).append(this);
}
return this;
},wrapInner:function(html){
return this.each(function(){
_1e9(this).contents().wrapAll(html);
});
},wrap:function(html){
return this.each(function(){
_1e9(this).wrapAll(html);
});
},append:function(){
return this.domManip(arguments,true,1,function(a){
this.appendChild(a);
});
},prepend:function(){
return this.domManip(arguments,true,-1,function(a){
this.insertBefore(a,this.firstChild);
});
},before:function(){
return this.domManip(arguments,false,1,function(a){
this.parentNode.insertBefore(a,this);
});
},after:function(){
return this.domManip(arguments,false,-1,function(a){
this.parentNode.insertBefore(a,this.nextSibling);
});
},end:function(){
return this.prevObject||_1e9([]);
},find:function(t){
var data=_1e9.map(this,function(a){
return _1e9.find(t,a);
});
return this.pushStack(/[^+>] [^+>]/.test(t)||t.indexOf("..")>-1?_1e9.unique(data):data);
},clone:function(_1f4){
var ret=this.map(function(){
return this.outerHTML?_1e9(this.outerHTML)[0]:this.cloneNode(true);
});
var _1f5=ret.find("*").andSelf().each(function(){
if(this[_201]!=undefined){
this[_201]=null;
}
});
if(_1f4===true){
this.find("*").andSelf().each(function(i){
var _1f6=_1e9.data(this,"events");
for(var type in _1f6){
for(var _1f7 in _1f6[type]){
_1e9.event.add(_1f5[i],type,_1f6[type][_1f7],_1f6[type][_1f7].data);
}
}
});
}
return ret;
},filter:function(t){
return this.pushStack(_1e9.isFunction(t)&&_1e9.grep(this,function(el,_1f8){
return t.apply(el,[_1f8]);
})||_1e9.multiFilter(t,this));
},not:function(t){
return this.pushStack(t.constructor==String&&_1e9.multiFilter(t,this,true)||_1e9.grep(this,function(a){
return (t.constructor==Array||t.jquery)?_1e9.inArray(a,t)<0:a!=t;
}));
},add:function(t){
return this.pushStack(_1e9.merge(this.get(),t.constructor==String?_1e9(t).get():t.length!=undefined&&(!t.nodeName||_1e9.nodeName(t,"form"))?t:[t]));
},is:function(expr){
return expr?_1e9.multiFilter(expr,this).length>0:false;
},hasClass:function(expr){
return this.is("."+expr);
},val:function(val){
if(val==undefined){
if(this.length){
var elem=this[0];
if(_1e9.nodeName(elem,"select")){
var _1f9=elem.selectedIndex,a=[],_1fa=elem.options,one=elem.type=="select-one";
if(_1f9<0){
return null;
}
for(var i=one?_1f9:0,max=one?_1f9+1:_1fa.length;i<max;i++){
var _1fb=_1fa[i];
if(_1fb.selected){
var val=_1e9.browser.msie&&!_1fb.attributes["value"].specified?_1fb.text:_1fb.value;
if(one){
return val;
}
a.push(val);
}
}
return a;
}else{
return this[0].value.replace(/\r/g,"");
}
}
}else{
return this.each(function(){
if(val.constructor==Array&&/radio|checkbox/.test(this.type)){
this.checked=(_1e9.inArray(this.value,val)>=0||_1e9.inArray(this.name,val)>=0);
}else{
if(_1e9.nodeName(this,"select")){
var tmp=val.constructor==Array?val:[val];
_1e9("option",this).each(function(){
this.selected=(_1e9.inArray(this.value,tmp)>=0||_1e9.inArray(this.text,tmp)>=0);
});
if(!tmp.length){
this.selectedIndex=-1;
}
}else{
this.value=val;
}
}
});
}
},html:function(val){
return val==undefined?(this.length?this[0].innerHTML:null):this.empty().append(val);
},replaceWith:function(val){
return this.after(val).remove();
},eq:function(i){
return this.slice(i,i+1);
},slice:function(){
return this.pushStack(Array.prototype.slice.apply(this,arguments));
},map:function(fn){
return this.pushStack(_1e9.map(this,function(elem,i){
return fn.call(elem,i,elem);
}));
},andSelf:function(){
return this.add(this.prevObject);
},domManip:function(args,_1fc,dir,fn){
var _1fd=this.length>1,a;
return this.each(function(){
if(!a){
a=_1e9.clean(args,this.ownerDocument);
if(dir<0){
a.reverse();
}
}
var obj=this;
if(_1fc&&_1e9.nodeName(this,"table")&&_1e9.nodeName(a[0],"tr")){
obj=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));
}
_1e9.each(a,function(){
var elem=_1fd?this.cloneNode(true):this;
if(!_1fe(0,elem)){
fn.call(obj,elem);
}
});
});
}};
function _1fe(i,elem){
var _1ff=_1e9.nodeName(elem,"script");
if(_1ff){
if(elem.src){
_1e9.ajax({url:elem.src,async:false,dataType:"script"});
}else{
_1e9.globalEval(elem.text||elem.textContent||elem.innerHTML||"");
}
if(elem.parentNode){
elem.parentNode.removeChild(elem);
}
}else{
if(elem.nodeType==1){
_1e9("script",elem).each(_1fe);
}
}
return _1ff;
};
_1e9.extend=_1e9.fn.extend=function(){
var _200=arguments[0]||{},a=1,al=arguments.length,deep=false;
if(_200.constructor==Boolean){
deep=_200;
_200=arguments[1]||{};
}
if(al==1){
_200=this;
a=0;
}
var prop;
for(;a<al;a++){
if((prop=arguments[a])!=null){
for(var i in prop){
if(_200==prop[i]){
continue;
}
if(deep&&typeof prop[i]=="object"&&_200[i]){
_1e9.extend(_200[i],prop[i]);
}else{
if(prop[i]!=undefined){
_200[i]=prop[i];
}
}
}
}
}
return _200;
};
var _201="jQuery"+(new Date()).getTime(),uuid=0,win={};
_1e9.extend({noConflict:function(deep){
window.$=_1ed;
if(deep){
window.jQuery=_1ea;
}
return _1e9;
},isFunction:function(fn){
return !!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/function/i.test(fn+"");
},isXMLDoc:function(elem){
return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body;
},globalEval:function(data){
data=_1e9.trim(data);
if(data){
if(window.execScript){
window.execScript(data);
}else{
if(_1e9.browser.safari){
window.setTimeout(data,0);
}else{
eval.call(window,data);
}
}
}
},nodeName:function(elem,name){
return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();
},cache:{},data:function(elem,name,data){
elem=elem==window?win:elem;
var id=elem[_201];
if(!id){
id=elem[_201]=++uuid;
}
if(name&&!_1e9.cache[id]){
_1e9.cache[id]={};
}
if(data!=undefined){
_1e9.cache[id][name]=data;
}
return name?_1e9.cache[id][name]:id;
},removeData:function(elem,name){
elem=elem==window?win:elem;
var id=elem[_201];
if(name){
if(_1e9.cache[id]){
delete _1e9.cache[id][name];
name="";
for(name in _1e9.cache[id]){
break;
}
if(!name){
_1e9.removeData(elem);
}
}
}else{
try{
delete elem[_201];
}
catch(e){
if(elem.removeAttribute){
elem.removeAttribute(_201);
}
}
delete _1e9.cache[id];
}
},each:function(obj,fn,args){
if(args){
if(obj.length==undefined){
for(var i in obj){
fn.apply(obj[i],args);
}
}else{
for(var i=0,ol=obj.length;i<ol;i++){
if(fn.apply(obj[i],args)===false){
break;
}
}
}
}else{
if(obj.length==undefined){
for(var i in obj){
fn.call(obj[i],i,obj[i]);
}
}else{
for(var i=0,ol=obj.length,val=obj[0];i<ol&&fn.call(val,i,val)!==false;val=obj[++i]){
}
}
}
return obj;
},prop:function(elem,_202,type,_203,prop){
if(_1e9.isFunction(_202)){
_202=_202.call(elem,[_203]);
}
var _204=/z-?index|font-?weight|opacity|zoom|line-?height/i;
return _202&&_202.constructor==Number&&type=="curCSS"&&!_204.test(prop)?_202+"px":_202;
},className:{add:function(elem,c){
_1e9.each((c||"").split(/\s+/),function(i,cur){
if(!_1e9.className.has(elem.className,cur)){
elem.className+=(elem.className?" ":"")+cur;
}
});
},remove:function(elem,c){
elem.className=c!=undefined?_1e9.grep(elem.className.split(/\s+/),function(cur){
return !_1e9.className.has(c,cur);
}).join(" "):"";
},has:function(t,c){
return _1e9.inArray(c,(t.className||t).toString().split(/\s+/))>-1;
}},swap:function(e,o,f){
for(var i in o){
e.style["old"+i]=e.style[i];
e.style[i]=o[i];
}
f.apply(e,[]);
for(var i in o){
e.style[i]=e.style["old"+i];
}
},css:function(e,p){
if(p=="height"||p=="width"){
var old={},_205,_206,d=["Top","Bottom","Right","Left"];
_1e9.each(d,function(){
old["padding"+this]=0;
old["border"+this+"Width"]=0;
});
_1e9.swap(e,old,function(){
if(_1e9(e).is(":visible")){
_205=e.offsetHeight;
_206=e.offsetWidth;
}else{
e=_1e9(e.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(e.parentNode)[0];
var _207=_1e9.css(e.parentNode,"position")||"static";
if(_207=="static"){
e.parentNode.style.position="relative";
}
_205=e.clientHeight;
_206=e.clientWidth;
if(_207=="static"){
e.parentNode.style.position="static";
}
e.parentNode.removeChild(e);
}
});
return p=="height"?_205:_206;
}
return _1e9.curCSS(e,p);
},curCSS:function(elem,prop,_208){
var ret,_209=[],swap=[];
function _20a(a){
if(!_1e9.browser.safari){
return false;
}
var ret=document.defaultView.getComputedStyle(a,null);
return !ret||ret.getPropertyValue("color")=="";
};
if(prop=="opacity"&&_1e9.browser.msie){
ret=_1e9.attr(elem.style,"opacity");
return ret==""?"1":ret;
}
if(prop.match(/float/i)){
prop=_217;
}
if(!_208&&elem.style[prop]){
ret=elem.style[prop];
}else{
if(document.defaultView&&document.defaultView.getComputedStyle){
if(prop.match(/float/i)){
prop="float";
}
prop=prop.replace(/([A-Z])/g,"-$1").toLowerCase();
var cur=document.defaultView.getComputedStyle(elem,null);
if(cur&&!_20a(elem)){
ret=cur.getPropertyValue(prop);
}else{
for(var a=elem;a&&_20a(a);a=a.parentNode){
_209.unshift(a);
}
for(a=0;a<_209.length;a++){
if(_20a(_209[a])){
swap[a]=_209[a].style.display;
_209[a].style.display="block";
}
}
ret=prop=="display"&&swap[_209.length-1]!=null?"none":document.defaultView.getComputedStyle(elem,null).getPropertyValue(prop)||"";
for(a=0;a<swap.length;a++){
if(swap[a]!=null){
_209[a].style.display=swap[a];
}
}
}
if(prop=="opacity"&&ret==""){
ret="1";
}
}else{
if(elem.currentStyle){
var _20b=prop.replace(/\-(\w)/g,function(m,c){
return c.toUpperCase();
});
ret=elem.currentStyle[prop]||elem.currentStyle[_20b];
if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){
var _20c=elem.style.left;
var _20d=elem.runtimeStyle.left;
elem.runtimeStyle.left=elem.currentStyle.left;
elem.style.left=ret||0;
ret=elem.style.pixelLeft+"px";
elem.style.left=_20c;
elem.runtimeStyle.left=_20d;
}
}
}
}
return ret;
},clean:function(a,doc){
var r=[];
doc=doc||document;
_1e9.each(a,function(i,arg){
if(!arg){
return;
}
if(arg.constructor==Number){
arg=arg.toString();
}
if(typeof arg=="string"){
arg=arg.replace(/(<(\w+)[^>]*?)\/>/g,function(m,all,tag){
return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area)$/i)?m:all+"></"+tag+">";
});
var s=_1e9.trim(arg).toLowerCase(),div=doc.createElement("div"),tb=[];
var wrap=!s.indexOf("<opt")&&[1,"<select>","</select>"]||!s.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||s.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!s.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!s.indexOf("<td")||!s.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!s.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||_1e9.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];
div.innerHTML=wrap[1]+arg+wrap[2];
while(wrap[0]--){
div=div.lastChild;
}
if(_1e9.browser.msie){
if(!s.indexOf("<table")&&s.indexOf("<tbody")<0){
tb=div.firstChild&&div.firstChild.childNodes;
}else{
if(wrap[1]=="<table>"&&s.indexOf("<tbody")<0){
tb=div.childNodes;
}
}
for(var n=tb.length-1;n>=0;--n){
if(_1e9.nodeName(tb[n],"tbody")&&!tb[n].childNodes.length){
tb[n].parentNode.removeChild(tb[n]);
}
}
if(/^\s/.test(arg)){
div.insertBefore(doc.createTextNode(arg.match(/^\s*/)[0]),div.firstChild);
}
}
arg=_1e9.makeArray(div.childNodes);
}
if(0===arg.length&&(!_1e9.nodeName(arg,"form")&&!_1e9.nodeName(arg,"select"))){
return;
}
if(arg[0]==undefined||_1e9.nodeName(arg,"form")||arg.options){
r.push(arg);
}else{
r=_1e9.merge(r,arg);
}
});
return r;
},attr:function(elem,name,_20e){
var fix=_1e9.isXMLDoc(elem)?{}:_1e9.props;
if(name=="selected"&&_1e9.browser.safari){
elem.parentNode.selectedIndex;
}
if(fix[name]){
if(_20e!=undefined){
elem[fix[name]]=_20e;
}
return elem[fix[name]];
}else{
if(_1e9.browser.msie&&name=="style"){
return _1e9.attr(elem.style,"cssText",_20e);
}else{
if(_20e==undefined&&_1e9.browser.msie&&_1e9.nodeName(elem,"form")&&(name=="action"||name=="method")){
return elem.getAttributeNode(name).nodeValue;
}else{
if(elem.tagName){
if(_20e!=undefined){
if(name=="type"&&_1e9.nodeName(elem,"input")&&elem.parentNode){
throw "type property can't be changed";
}
elem.setAttribute(name,_20e);
}
if(_1e9.browser.msie&&/href|src/.test(name)&&!_1e9.isXMLDoc(elem)){
return elem.getAttribute(name,2);
}
return elem.getAttribute(name);
}else{
if(name=="opacity"&&_1e9.browser.msie){
if(_20e!=undefined){
elem.zoom=1;
elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(_20e).toString()=="NaN"?"":"alpha(opacity="+_20e*100+")");
}
return elem.filter?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100).toString():"";
}
name=name.replace(/-([a-z])/ig,function(z,b){
return b.toUpperCase();
});
if(_20e!=undefined){
elem[name]=_20e;
}
return elem[name];
}
}
}
}
},trim:function(t){
return (t||"").replace(/^\s+|\s+$/g,"");
},makeArray:function(a){
var r=[];
if(typeof a!="array"){
for(var i=0,al=a.length;i<al;i++){
r.push(a[i]);
}
}else{
r=a.slice(0);
}
return r;
},inArray:function(b,a){
for(var i=0,al=a.length;i<al;i++){
if(a[i]==b){
return i;
}
}
return -1;
},merge:function(_20f,_210){
if(_1e9.browser.msie){
for(var i=0;_210[i];i++){
if(_210[i].nodeType!=8){
_20f.push(_210[i]);
}
}
}else{
for(var i=0;_210[i];i++){
_20f.push(_210[i]);
}
}
return _20f;
},unique:function(_211){
var r=[],done={};
try{
for(var i=0,fl=_211.length;i<fl;i++){
var id=_1e9.data(_211[i]);
if(!done[id]){
done[id]=true;
r.push(_211[i]);
}
}
}
catch(e){
r=_211;
}
return r;
},grep:function(_212,fn,inv){
if(typeof fn=="string"){
fn=eval("false||function(a,i){return "+fn+"}");
}
var _213=[];
for(var i=0,el=_212.length;i<el;i++){
if(!inv&&fn(_212[i],i)||inv&&!fn(_212[i],i)){
_213.push(_212[i]);
}
}
return _213;
},map:function(_214,fn){
if(typeof fn=="string"){
fn=eval("false||function(a){return "+fn+"}");
}
var _215=[];
for(var i=0,el=_214.length;i<el;i++){
var val=fn(_214[i],i);
if(val!==null&&val!=undefined){
if(val.constructor!=Array){
val=[val];
}
_215=_215.concat(val);
}
}
return _215;
}});
var _216=navigator.userAgent.toLowerCase();
_1e9.browser={version:(_216.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(_216),opera:/opera/.test(_216),msie:/msie/.test(_216)&&!/opera/.test(_216),mozilla:/mozilla/.test(_216)&&!/(compatible|webkit)/.test(_216)};
var _217=_1e9.browser.msie?"styleFloat":"cssFloat";
_1e9.extend({boxModel:!_1e9.browser.msie||document.compatMode=="CSS1Compat",styleFloat:_1e9.browser.msie?"styleFloat":"cssFloat",props:{"for":"htmlFor","class":"className","float":_217,cssFloat:_217,styleFloat:_217,innerHTML:"innerHTML",className:"className",value:"value",disabled:"disabled",checked:"checked",readonly:"readOnly",selected:"selected",maxlength:"maxLength"}});
_1e9.each({parent:"a.parentNode",parents:"jQuery.dir(a,'parentNode')",next:"jQuery.nth(a,2,'nextSibling')",prev:"jQuery.nth(a,2,'previousSibling')",nextAll:"jQuery.dir(a,'nextSibling')",prevAll:"jQuery.dir(a,'previousSibling')",siblings:"jQuery.sibling(a.parentNode.firstChild,a)",children:"jQuery.sibling(a.firstChild)",contents:"jQuery.nodeName(a,'iframe')?a.contentDocument||a.contentWindow.document:jQuery.makeArray(a.childNodes)"},function(i,n){
_1e9.fn[i]=function(a){
var ret=_1e9.map(this,n);
if(a&&typeof a=="string"){
ret=_1e9.multiFilter(a,ret);
}
return this.pushStack(_1e9.unique(ret));
};
});
_1e9.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(i,n){
_1e9.fn[i]=function(){
var a=arguments;
return this.each(function(){
for(var j=0,al=a.length;j<al;j++){
_1e9(a[j])[n](this);
}
});
};
});
_1e9.each({removeAttr:function(key){
_1e9.attr(this,key,"");
this.removeAttribute(key);
},addClass:function(c){
_1e9.className.add(this,c);
},removeClass:function(c){
_1e9.className.remove(this,c);
},toggleClass:function(c){
_1e9.className[_1e9.className.has(this,c)?"remove":"add"](this,c);
},remove:function(a){
if(!a||_1e9.filter(a,[this]).r.length){
_1e9.removeData(this);
this.parentNode.removeChild(this);
}
},empty:function(){
_1e9("*",this).each(function(){
_1e9.removeData(this);
});
while(this.firstChild){
this.removeChild(this.firstChild);
}
}},function(i,n){
_1e9.fn[i]=function(){
return this.each(n,arguments);
};
});
_1e9.each(["Height","Width"],function(i,name){
var n=name.toLowerCase();
_1e9.fn[n]=function(h){
return this[0]==window?_1e9.browser.safari&&self["inner"+name]||_1e9.boxModel&&Math.max(document.documentElement["client"+name],document.body["client"+name])||document.body["client"+name]:this[0]==document?Math.max(document.body["scroll"+name],document.body["offset"+name]):h==undefined?(this.length?_1e9.css(this[0],n):null):this.css(n,h.constructor==String?h:h+"px");
};
});
var _218=_1e9.browser.safari&&parseInt(_1e9.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w?-?*_-]|\\\\.)",_219=new RegExp("^>\\s*("+_218+"+)"),_21a=new RegExp("^("+_218+"+)(#)("+_218+"+)"),_21b=new RegExp("^([#.]?)("+_218+"*)");
_1e9.extend({expr:{"":"m[2]=='*'||jQuery.nodeName(a,m[2])","#":"a.getAttribute('id')==m[2]",":":{lt:"i<m[3]-0",gt:"i>m[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","first-child":"a.parentNode.getElementsByTagName('*')[0]==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"!jQuery.nth(a.parentNode.lastChild,2,'previousSibling')",parent:"a.firstChild",empty:"!a.firstChild",contains:"(a.textContent||a.innerText||jQuery(a).text()||'').indexOf(m[3])>=0",visible:"\"hidden\"!=a.type&&jQuery.css(a,\"display\")!=\"none\"&&jQuery.css(a,\"visibility\")!=\"hidden\"",hidden:"\"hidden\"==a.type||jQuery.css(a,\"display\")==\"none\"||jQuery.css(a,\"visibility\")==\"hidden\"",enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected||jQuery.attr(a,'selected')",text:"'text'==a.type",radio:"'radio'==a.type",checkbox:"'checkbox'==a.type",file:"'file'==a.type",password:"'password'==a.type",submit:"'submit'==a.type",image:"'image'==a.type",reset:"'reset'==a.type",button:"\"button\"==a.type||jQuery.nodeName(a,\"button\")",input:"/input|select|textarea|button/i.test(a.nodeName)",has:"jQuery.find(m[3],a).length",header:"/h\\d/i.test(a.nodeName)",animated:"jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length"}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+_218+"+)")],multiFilter:function(expr,_21c,not){
var old,cur=[];
while(expr&&expr!=old){
old=expr;
var f=_1e9.filter(expr,_21c,not);
expr=f.t.replace(/^\s*,\s*/,"");
cur=not?_21c=f.r:_1e9.merge(cur,f.r);
}
return cur;
},find:function(t,_21d){
if(typeof t!="string"){
return [t];
}
if(_21d&&!_21d.nodeType){
_21d=null;
}
_21d=_21d||document;
var ret=[_21d],done=[],last;
while(t&&last!=t){
var r=[];
last=t;
t=_1e9.trim(t);
var _21e=false;
var re=_219;
var m=re.exec(t);
if(m){
var _21f=m[1].toUpperCase();
for(var i=0;ret[i];i++){
for(var c=ret[i].firstChild;c;c=c.nextSibling){
if(c.nodeType==1&&(_21f=="*"||c.nodeName.toUpperCase()==_21f.toUpperCase())){
r.push(c);
}
}
}
ret=r;
t=t.replace(re,"");
if(t.indexOf(" ")==0){
continue;
}
_21e=true;
}else{
re=/^([>+~])\s*(\w*)/i;
if((m=re.exec(t))!=null){
r=[];
var _21f=m[2],_220={};
m=m[1];
for(var j=0,rl=ret.length;j<rl;j++){
var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;
for(;n;n=n.nextSibling){
if(n.nodeType==1){
var id=_1e9.data(n);
if(m=="~"&&_220[id]){
break;
}
if(!_21f||n.nodeName.toUpperCase()==_21f.toUpperCase()){
if(m=="~"){
_220[id]=true;
}
r.push(n);
}
if(m=="+"){
break;
}
}
}
}
ret=r;
t=_1e9.trim(t.replace(re,""));
_21e=true;
}
}
if(t&&!_21e){
if(!t.indexOf(",")){
if(_21d==ret[0]){
ret.shift();
}
done=_1e9.merge(done,ret);
r=ret=[_21d];
t=" "+t.substr(1,t.length);
}else{
var re2=_21a;
var m=re2.exec(t);
if(m){
m=[0,m[2],m[3],m[1]];
}else{
re2=_21b;
m=re2.exec(t);
}
m[2]=m[2].replace(/\\/g,"");
var elem=ret[ret.length-1];
if(m[1]=="#"&&elem&&elem.getElementById&&!_1e9.isXMLDoc(elem)){
var oid=elem.getElementById(m[2]);
if((_1e9.browser.msie||_1e9.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2]){
oid=_1e9("[@id=\""+m[2]+"\"]",elem)[0];
}
ret=r=oid&&(!m[3]||_1e9.nodeName(oid,m[3]))?[oid]:[];
}else{
for(var i=0;ret[i];i++){
var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];
if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object"){
tag="param";
}
r=_1e9.merge(r,ret[i].getElementsByTagName(tag));
}
if(m[1]=="."){
r=_1e9.classFilter(r,m[2]);
}
if(m[1]=="#"){
var tmp=[];
for(var i=0;r[i];i++){
if(r[i].getAttribute("id")==m[2]){
tmp=[r[i]];
break;
}
}
r=tmp;
}
ret=r;
}
t=t.replace(re2,"");
}
}
if(t){
var val=_1e9.filter(t,r);
ret=r=val.r;
t=_1e9.trim(val.t);
}
}
if(t){
ret=[];
}
if(ret&&_21d==ret[0]){
ret.shift();
}
done=_1e9.merge(done,ret);
return done;
},classFilter:function(r,m,not){
m=" "+m+" ";
var tmp=[];
for(var i=0;r[i];i++){
var pass=(" "+r[i].className+" ").indexOf(m)>=0;
if(!not&&pass||not&&!pass){
tmp.push(r[i]);
}
}
return tmp;
},filter:function(t,r,not){
var last;
while(t&&t!=last){
last=t;
var p=_1e9.parse,m;
for(var i=0;p[i];i++){
m=p[i].exec(t);
if(m){
t=t.substring(m[0].length);
m[2]=m[2].replace(/\\/g,"");
break;
}
}
if(!m){
break;
}
if(m[1]==":"&&m[2]=="not"){
r=_1e9.filter(m[3],r,true).r;
}else{
if(m[1]=="."){
r=_1e9.classFilter(r,m[2],not);
}else{
if(m[1]=="["){
var tmp=[],type=m[3];
for(var i=0,rl=r.length;i<rl;i++){
var a=r[i],z=a[_1e9.props[m[2]]||m[2]];
if(z==null||/href|src|selected/.test(m[2])){
z=_1e9.attr(a,m[2])||"";
}
if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not){
tmp.push(a);
}
}
r=tmp;
}else{
if(m[1]==":"&&m[2]=="nth-child"){
var _221={},tmp=[],test=/(\d*)n\+?(\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"n+"+m[3]||m[3]),_222=(test[1]||1)-0,last=test[2]-0;
for(var i=0,rl=r.length;i<rl;i++){
var node=r[i],_223=node.parentNode,id=_1e9.data(_223);
if(!_221[id]){
var c=1;
for(var n=_223.firstChild;n;n=n.nextSibling){
if(n.nodeType==1){
n.nodeIndex=c++;
}
}
_221[id]=true;
}
var add=false;
if(_222==1){
if(last==0||node.nodeIndex==last){
add=true;
}
}else{
if((node.nodeIndex+last)%_222==0){
add=true;
}
}
if(add^not){
tmp.push(node);
}
}
r=tmp;
}else{
var f=_1e9.expr[m[1]];
if(typeof f!="string"){
f=_1e9.expr[m[1]][m[2]];
}
f=eval("false||function(a,i){return "+f+"}");
r=_1e9.grep(r,f,not);
}
}
}
}
}
return {r:r,t:t};
},dir:function(elem,dir){
var _224=[];
var cur=elem[dir];
while(cur&&cur!=document){
if(cur.nodeType==1){
_224.push(cur);
}
cur=cur[dir];
}
return _224;
},nth:function(cur,_225,dir,elem){
_225=_225||1;
var num=0;
for(;cur;cur=cur[dir]){
if(cur.nodeType==1&&++num==_225){
break;
}
}
return cur;
},sibling:function(n,elem){
var r=[];
for(;n;n=n.nextSibling){
if(n.nodeType==1&&(!elem||n!=elem)){
r.push(n);
}
}
return r;
}});
_1e9.event={add:function(_226,type,_227,data){
if(_1e9.browser.msie&&_226.setInterval!=undefined){
_226=window;
}
if(!_227.guid){
_227.guid=this.guid++;
}
if(data!=undefined){
var fn=_227;
_227=function(){
return fn.apply(this,arguments);
};
_227.data=data;
_227.guid=fn.guid;
}
var _228=type.split(".");
type=_228[0];
_227.type=_228[1];
var _229=_1e9.data(_226,"events")||_1e9.data(_226,"events",{});
var _22a=_1e9.data(_226,"handle",function(){
var val;
if(typeof _1e9=="undefined"||_1e9.event.triggered){
return val;
}
val=_1e9.event.handle.apply(_226,arguments);
return val;
});
var _22b=_229[type];
if(!_22b){
_22b=_229[type]={};
if(_226.addEventListener){
_226.addEventListener(type,_22a,false);
}else{
_226.attachEvent("on"+type,_22a);
}
}
_22b[_227.guid]=_227;
this.global[type]=true;
},guid:1,global:{},remove:function(_22c,type,_22d){
var _22e=_1e9.data(_22c,"events"),ret,_22f;
if(typeof type=="string"){
var _230=type.split(".");
type=_230[0];
}
if(_22e){
if(type&&type.type){
_22d=type.handler;
type=type.type;
}
if(!type){
for(type in _22e){
this.remove(_22c,type);
}
}else{
if(_22e[type]){
if(_22d){
delete _22e[type][_22d.guid];
}else{
for(_22d in _22e[type]){
if(!_230[1]||_22e[type][_22d].type==_230[1]){
delete _22e[type][_22d];
}
}
}
for(ret in _22e[type]){
break;
}
if(!ret){
if(_22c.removeEventListener){
_22c.removeEventListener(type,_1e9.data(_22c,"handle"),false);
}else{
_22c.detachEvent("on"+type,_1e9.data(_22c,"handle"));
}
ret=null;
delete _22e[type];
}
}
}
for(ret in _22e){
break;
}
if(!ret){
_1e9.removeData(_22c,"events");
_1e9.removeData(_22c,"handle");
}
}
},trigger:function(type,data,_231,_232,_233){
data=_1e9.makeArray(data||[]);
if(!_231){
if(this.global[type]){
_1e9("*").add([window,document]).trigger(type,data);
}
}else{
var val,ret,fn=_1e9.isFunction(_231[type]||null),evt=!data[0]||!data[0].preventDefault;
if(evt){
data.unshift(this.fix({type:type,target:_231}));
}
data[0].type=type;
if(_1e9.isFunction(_1e9.data(_231,"handle"))){
val=_1e9.data(_231,"handle").apply(_231,data);
}
if(!fn&&_231["on"+type]&&_231["on"+type].apply(_231,data)===false){
val=false;
}
if(evt){
data.shift();
}
if(_233&&_233.apply(_231,data)===false){
val=false;
}
if(fn&&_232!==false&&val!==false&&!(_1e9.nodeName(_231,"a")&&type=="click")){
this.triggered=true;
_231[type]();
}
this.triggered=false;
}
return val;
},handle:function(_234){
var val;
_234=_1e9.event.fix(_234||window.event||{});
var _235=_234.type.split(".");
_234.type=_235[0];
var c=_1e9.data(this,"events")&&_1e9.data(this,"events")[_234.type],args=Array.prototype.slice.call(arguments,1);
args.unshift(_234);
for(var j in c){
args[0].handler=c[j];
args[0].data=c[j].data;
if(!_235[1]||c[j].type==_235[1]){
var tmp=c[j].apply(this,args);
if(val!==false){
val=tmp;
}
if(tmp===false){
_234.preventDefault();
_234.stopPropagation();
}
}
}
if(_1e9.browser.msie){
_234.target=_234.preventDefault=_234.stopPropagation=_234.handler=_234.data=null;
}
return val;
},fix:function(_236){
var _237=_236;
_236=_1e9.extend({},_237);
_236.preventDefault=function(){
if(_237.preventDefault){
_237.preventDefault();
}
_237.returnValue=false;
};
_236.stopPropagation=function(){
if(_237.stopPropagation){
_237.stopPropagation();
}
_237.cancelBubble=true;
};
if(!_236.target&&_236.srcElement){
_236.target=_236.srcElement;
}
if(_1e9.browser.safari&&_236.target.nodeType==3){
_236.target=_237.target.parentNode;
}
if(!_236.relatedTarget&&_236.fromElement){
_236.relatedTarget=_236.fromElement==_236.target?_236.toElement:_236.fromElement;
}
if(_236.pageX==null&&_236.clientX!=null){
var e=document.documentElement,b=document.body;
_236.pageX=_236.clientX+(e&&e.scrollLeft||b.scrollLeft||0);
_236.pageY=_236.clientY+(e&&e.scrollTop||b.scrollTop||0);
}
if(!_236.which&&(_236.charCode||_236.keyCode)){
_236.which=_236.charCode||_236.keyCode;
}
if(!_236.metaKey&&_236.ctrlKey){
_236.metaKey=_236.ctrlKey;
}
if(!_236.which&&_236.button){
_236.which=(_236.button&1?1:(_236.button&2?3:(_236.button&4?2:0)));
}
return _236;
}};
_1e9.fn.extend({bind:function(type,data,fn){
return type=="unload"?this.one(type,data,fn):this.each(function(){
_1e9.event.add(this,type,fn||data,fn&&data);
});
},one:function(type,data,fn){
return this.each(function(){
_1e9.event.add(this,type,function(_238){
_1e9(this).unbind(_238);
return (fn||data).apply(this,arguments);
},fn&&data);
});
},unbind:function(type,fn){
return this.each(function(){
_1e9.event.remove(this,type,fn);
});
},trigger:function(type,data,fn){
return this.each(function(){
_1e9.event.trigger(type,data,this,true,fn);
});
},triggerHandler:function(type,data,fn){
if(this[0]){
return _1e9.event.trigger(type,data,this[0],false,fn);
}
},toggle:function(){
var a=arguments;
return this.click(function(e){
this.lastToggle=0==this.lastToggle?1:0;
e.preventDefault();
return a[this.lastToggle].apply(this,[e])||false;
});
},hover:function(f,g){
function _239(e){
var p=e.relatedTarget;
while(p&&p!=this){
try{
p=p.parentNode;
}
catch(e){
p=this;
}
}
if(p==this){
return false;
}
return (e.type=="mouseover"?f:g).apply(this,[e]);
};
return this.mouseover(_239).mouseout(_239);
},ready:function(f){
_23a();
if(_1e9.isReady){
f.apply(document,[_1e9]);
}else{
_1e9.readyList.push(function(){
return f.apply(this,[_1e9]);
});
}
return this;
}});
_1e9.extend({isReady:false,readyList:[],ready:function(){
if(!_1e9.isReady){
_1e9.isReady=true;
if(_1e9.readyList){
_1e9.each(_1e9.readyList,function(){
this.apply(document);
});
_1e9.readyList=null;
}
if(_1e9.browser.mozilla||_1e9.browser.opera){
document.removeEventListener("DOMContentLoaded",_1e9.ready,false);
}
if(!window.frames.length){
_1e9(window).load(function(){
_1e9("#__ie_init").remove();
});
}
}
}});
_1e9.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,o){
_1e9.fn[o]=function(f){
return f?this.bind(o,f):this.trigger(o);
};
});
var _23b=false;
function _23a(){
if(_23b){
return;
}
_23b=true;
if(_1e9.browser.mozilla||_1e9.browser.opera){
document.addEventListener("DOMContentLoaded",_1e9.ready,false);
}else{
if(_1e9.browser.msie){
document.write("<scr"+"ipt id=__ie_init defer=true "+"src=//:></script>");
var _23c=document.getElementById("__ie_init");
if(_23c){
_23c.onreadystatechange=function(){
if(this.readyState!="complete"){
return;
}
_1e9.ready();
};
}
_23c=null;
}else{
if(_1e9.browser.safari){
_1e9.safariTimer=setInterval(function(){
if(document.readyState=="loaded"||document.readyState=="complete"){
clearInterval(_1e9.safariTimer);
_1e9.safariTimer=null;
_1e9.ready();
}
},10);
}
}
}
_1e9.event.add(window,"load",_1e9.ready);
};
_1e9.fn.extend({load:function(url,_23d,_23e){
if(_1e9.isFunction(url)){
return this.bind("load",url);
}
var off=url.indexOf(" ");
if(off>=0){
var _23f=url.slice(off,url.length);
url=url.slice(0,off);
}
_23e=_23e||function(){
};
var type="GET";
if(_23d){
if(_1e9.isFunction(_23d)){
_23e=_23d;
_23d=null;
}else{
_23d=_1e9.param(_23d);
type="POST";
}
}
var self=this;
_1e9.ajax({url:url,type:type,data:_23d,complete:function(res,_240){
if(_240=="success"||_240=="notmodified"){
self.html(_23f?_1e9("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(_23f):res.responseText);
}
setTimeout(function(){
self.each(_23e,[res.responseText,_240,res]);
},13);
}});
return this;
},serialize:function(){
return _1e9.param(this.serializeArray());
},serializeArray:function(){
return this.map(function(){
return _1e9.nodeName(this,"form")?_1e9.makeArray(this.elements):this;
}).filter(function(){
return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));
}).map(function(i,elem){
var val=_1e9(this).val();
return val==null?null:val.constructor==Array?_1e9.map(val,function(val,i){
return {name:elem.name,value:val};
}):{name:elem.name,value:val};
}).get();
}});
_1e9.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){
_1e9.fn[o]=function(f){
return this.bind(o,f);
};
});
var jsc=(new Date).getTime();
_1e9.extend({get:function(url,data,_241,type){
if(_1e9.isFunction(data)){
_241=data;
data=null;
}
return _1e9.ajax({type:"GET",url:url,data:data,success:_241,dataType:type});
},getScript:function(url,_242){
return _1e9.get(url,null,_242,"script");
},getJSON:function(url,data,_243){
return _1e9.get(url,data,_243,"json");
},post:function(url,data,_244,type){
if(_1e9.isFunction(data)){
_244=data;
data={};
}
return _1e9.ajax({type:"POST",url:url,data:data,success:_244,dataType:type});
},ajaxSetup:function(_245){
_1e9.extend(_1e9.ajaxSettings,_245);
},ajaxSettings:{global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null},lastModified:{},ajax:function(s){
var _246,jsre=/=(\?|%3F)/g,_247,data;
s=_1e9.extend(true,s,_1e9.extend(true,{},_1e9.ajaxSettings,s));
if(s.data&&s.processData&&typeof s.data!="string"){
s.data=_1e9.param(s.data);
}
if(s.dataType=="jsonp"){
if(s.type.toLowerCase()=="get"){
if(!s.url.match(jsre)){
s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";
}
}else{
if(!s.data||!s.data.match(jsre)){
s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";
}
}
s.dataType="json";
}
if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){
_246="jsonp"+jsc++;
if(s.data){
s.data=s.data.replace(jsre,"="+_246);
}
s.url=s.url.replace(jsre,"="+_246);
s.dataType="script";
window[_246]=function(tmp){
data=tmp;
_248();
_249();
window[_246]=undefined;
try{
delete window[_246];
}
catch(e){
}
};
}
if(s.dataType=="script"&&s.cache==null){
s.cache=false;
}
if(s.cache===false&&s.type.toLowerCase()=="get"){
s.url+=(s.url.match(/\?/)?"&":"?")+"_="+(new Date()).getTime();
}
if(s.data&&s.type.toLowerCase()=="get"){
s.url+=(s.url.match(/\?/)?"&":"?")+s.data;
s.data=null;
}
if(s.global&&!_1e9.active++){
_1e9.event.trigger("ajaxStart");
}
if(!s.url.indexOf("http")&&s.dataType=="script"){
var head=document.getElementsByTagName("head")[0];
var _24a=document.createElement("script");
_24a.src=s.url;
if(!_246&&(s.success||s.complete)){
var done=false;
_24a.onload=_24a.onreadystatechange=function(){
if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){
done=true;
_248();
_249();
head.removeChild(_24a);
}
};
}
head.appendChild(_24a);
return;
}
var _24b=false;
var xml=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();
xml.open(s.type,s.url,s.async);
if(s.data){
xml.setRequestHeader("Content-Type",s.contentType);
}
if(s.ifModified){
xml.setRequestHeader("If-Modified-Since",_1e9.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");
}
xml.setRequestHeader("X-Requested-With","XMLHttpRequest");
if(s.beforeSend){
s.beforeSend(xml);
}
if(s.global){
_1e9.event.trigger("ajaxSend",[xml,s]);
}
var _24c=function(_24d){
if(!_24b&&xml&&(xml.readyState==4||_24d=="timeout")){
_24b=true;
if(ival){
clearInterval(ival);
ival=null;
}
_247=_24d=="timeout"&&"timeout"||!_1e9.httpSuccess(xml)&&"error"||s.ifModified&&_1e9.httpNotModified(xml,s.url)&&"notmodified"||"success";
if(_247=="success"){
try{
data=_1e9.httpData(xml,s.dataType);
}
catch(e){
_247="parsererror";
}
}
if(_247=="success"){
var _24e;
try{
_24e=xml.getResponseHeader("Last-Modified");
}
catch(e){
}
if(s.ifModified&&_24e){
_1e9.lastModified[s.url]=_24e;
}
if(!_246){
_248();
}
}else{
_1e9.handleError(s,xml,_247);
}
_249();
if(s.async){
xml=null;
}
}
};
if(s.async){
var ival=setInterval(_24c,13);
if(s.timeout>0){
setTimeout(function(){
if(xml){
xml.abort();
if(!_24b){
_24c("timeout");
}
}
},s.timeout);
}
}
try{
xml.send(s.data);
}
catch(e){
_1e9.handleError(s,xml,null,e);
}
if(!s.async){
_24c();
}
return xml;
function _248(){
if(s.success){
s.success(data,_247);
}
if(s.global){
_1e9.event.trigger("ajaxSuccess",[xml,s]);
}
};
function _249(){
if(s.complete){
s.complete(xml,_247);
}
if(s.global){
_1e9.event.trigger("ajaxComplete",[xml,s]);
}
if(s.global&&!--_1e9.active){
_1e9.event.trigger("ajaxStop");
}
};
},handleError:function(s,xml,_24f,e){
if(s.error){
s.error(xml,_24f,e);
}
if(s.global){
_1e9.event.trigger("ajaxError",[xml,s,e]);
}
},active:0,httpSuccess:function(r){
try{
return !r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||_1e9.browser.safari&&r.status==undefined;
}
catch(e){
}
return false;
},httpNotModified:function(xml,url){
try{
var _250=xml.getResponseHeader("Last-Modified");
return xml.status==304||_250==_1e9.lastModified[url]||_1e9.browser.safari&&xml.status==undefined;
}
catch(e){
}
return false;
},httpData:function(r,type){
var ct=r.getResponseHeader("content-type");
var xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0;
var data=xml?r.responseXML:r.responseText;
if(xml&&data.documentElement.tagName=="parsererror"){
throw "parsererror";
}
if(type=="script"){
_1e9.globalEval(data);
}
if(type=="json"){
data=eval("("+data+")");
}
return data;
},param:function(a){
var s=[];
if(a.constructor==Array||a.jquery){
_1e9.each(a,function(){
s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));
});
}else{
for(var j in a){
if(a[j]&&a[j].constructor==Array){
_1e9.each(a[j],function(){
s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));
});
}else{
s.push(encodeURIComponent(j)+"="+encodeURIComponent(a[j]));
}
}
}
return s.join("&").replace(/%20/g,"+");
}});
_1e9.fn.extend({show:function(_251,_252){
return _251?this.animate({height:"show",width:"show",opacity:"show"},_251,_252):this.filter(":hidden").each(function(){
this.style.display=this.oldblock?this.oldblock:"";
if(_1e9.css(this,"display")=="none"){
this.style.display="block";
}
}).end();
},hide:function(_253,_254){
return _253?this.animate({height:"hide",width:"hide",opacity:"hide"},_253,_254):this.filter(":visible").each(function(){
this.oldblock=this.oldblock||_1e9.css(this,"display");
if(this.oldblock=="none"){
this.oldblock="block";
}
this.style.display="none";
}).end();
},_toggle:_1e9.fn.toggle,toggle:function(fn,fn2){
return _1e9.isFunction(fn)&&_1e9.isFunction(fn2)?this._toggle(fn,fn2):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){
_1e9(this)[_1e9(this).is(":hidden")?"show":"hide"]();
});
},slideDown:function(_255,_256){
return this.animate({height:"show"},_255,_256);
},slideUp:function(_257,_258){
return this.animate({height:"hide"},_257,_258);
},slideToggle:function(_259,_25a){
return this.animate({height:"toggle"},_259,_25a);
},fadeIn:function(_25b,_25c){
return this.animate({opacity:"show"},_25b,_25c);
},fadeOut:function(_25d,_25e){
return this.animate({opacity:"hide"},_25d,_25e);
},fadeTo:function(_25f,to,_260){
return this.animate({opacity:to},_25f,_260);
},animate:function(prop,_261,_262,_263){
var opt=_1e9.speed(_261,_262,_263);
return this[opt.queue===false?"each":"queue"](function(){
opt=_1e9.extend({},opt);
var _264=_1e9(this).is(":hidden"),self=this;
for(var p in prop){
if(prop[p]=="hide"&&_264||prop[p]=="show"&&!_264){
return _1e9.isFunction(opt.complete)&&opt.complete.apply(this);
}
if(p=="height"||p=="width"){
opt.display=_1e9.css(this,"display");
opt.overflow=this.style.overflow;
}
}
if(opt.overflow!=null){
this.style.overflow="hidden";
}
opt.curAnim=_1e9.extend({},prop);
_1e9.each(prop,function(name,val){
var e=new _1e9.fx(self,opt,name);
if(/toggle|show|hide/.test(val)){
e[val=="toggle"?_264?"show":"hide":val](prop);
}else{
var _265=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),_266=e.cur(true)||0;
if(_265){
var end=parseFloat(_265[2]),unit=_265[3]||"px";
if(unit!="px"){
self.style[name]=(end||1)+unit;
_266=((end||1)/e.cur(true))*_266;
self.style[name]=_266+unit;
}
if(_265[1]){
end=((_265[1]=="-="?-1:1)*end)+_266;
}
e.custom(_266,end,unit);
}else{
e.custom(_266,val,"");
}
}
});
return true;
});
},queue:function(type,fn){
if(_1e9.isFunction(type)){
fn=type;
type="fx";
}
if(!type||(typeof type=="string"&&!fn)){
return _267(this[0],type);
}
return this.each(function(){
if(fn.constructor==Array){
_267(this,type,fn);
}else{
_267(this,type).push(fn);
if(_267(this,type).length==1){
fn.apply(this);
}
}
});
},stop:function(){
var _268=_1e9.timers;
return this.each(function(){
for(var i=0;i<_268.length;i++){
if(_268[i].elem==this){
_268.splice(i--,1);
}
}
}).dequeue();
}});
var _267=function(elem,type,_269){
if(!elem){
return;
}
var q=_1e9.data(elem,type+"queue");
if(!q||_269){
q=_1e9.data(elem,type+"queue",_269?_1e9.makeArray(_269):[]);
}
return q;
};
_1e9.fn.dequeue=function(type){
type=type||"fx";
return this.each(function(){
var q=_267(this,type);
q.shift();
if(q.length){
q[0].apply(this);
}
});
};
_1e9.extend({speed:function(_26a,_26b,fn){
var opt=_26a&&_26a.constructor==Object?_26a:{complete:fn||!fn&&_26b||_1e9.isFunction(_26a)&&_26a,duration:_26a,easing:fn&&_26b||_26b&&_26b.constructor!=Function&&_26b};
opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:{slow:600,fast:200}[opt.duration])||400;
opt.old=opt.complete;
opt.complete=function(){
_1e9(this).dequeue();
if(_1e9.isFunction(opt.old)){
opt.old.apply(this);
}
};
return opt;
},easing:{linear:function(p,n,_26c,diff){
return _26c+diff*p;
},swing:function(p,n,_26d,diff){
return ((-Math.cos(p*Math.PI)/2)+0.5)*diff+_26d;
}},timers:[],fx:function(elem,_26e,prop){
this.options=_26e;
this.elem=elem;
this.prop=prop;
if(!_26e.orig){
_26e.orig={};
}
}});
_1e9.fx.prototype={update:function(){
if(this.options.step){
this.options.step.apply(this.elem,[this.now,this]);
}
(_1e9.fx.step[this.prop]||_1e9.fx.step._default)(this);
if(this.prop=="height"||this.prop=="width"){
this.elem.style.display="block";
}
},cur:function(_26f){
if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null){
return this.elem[this.prop];
}
var r=parseFloat(_1e9.curCSS(this.elem,this.prop,_26f));
return r&&r>-10000?r:parseFloat(_1e9.css(this.elem,this.prop))||0;
},custom:function(from,to,unit){
this.startTime=(new Date()).getTime();
this.start=from;
this.end=to;
this.unit=unit||this.unit||"px";
this.now=this.start;
this.pos=this.state=0;
this.update();
var self=this;
function t(){
return self.step();
};
t.elem=this.elem;
_1e9.timers.push(t);
if(_1e9.timers.length==1){
var _270=setInterval(function(){
var _271=_1e9.timers;
for(var i=0;i<_271.length;i++){
if(!_271[i]()){
_271.splice(i--,1);
}
}
if(!_271.length){
clearInterval(_270);
}
},13);
}
},show:function(){
this.options.orig[this.prop]=_1e9.attr(this.elem.style,this.prop);
this.options.show=true;
this.custom(0,this.cur());
if(this.prop=="width"||this.prop=="height"){
this.elem.style[this.prop]="1px";
}
_1e9(this.elem).show();
},hide:function(){
this.options.orig[this.prop]=_1e9.attr(this.elem.style,this.prop);
this.options.hide=true;
this.custom(this.cur(),0);
},step:function(){
var t=(new Date()).getTime();
if(t>this.options.duration+this.startTime){
this.now=this.end;
this.pos=this.state=1;
this.update();
this.options.curAnim[this.prop]=true;
var done=true;
for(var i in this.options.curAnim){
if(this.options.curAnim[i]!==true){
done=false;
}
}
if(done){
if(this.options.display!=null){
this.elem.style.overflow=this.options.overflow;
this.elem.style.display=this.options.display;
if(_1e9.css(this.elem,"display")=="none"){
this.elem.style.display="block";
}
}
if(this.options.hide){
this.elem.style.display="none";
}
if(this.options.hide||this.options.show){
for(var p in this.options.curAnim){
_1e9.attr(this.elem.style,p,this.options.orig[p]);
}
}
}
if(done&&_1e9.isFunction(this.options.complete)){
this.options.complete.apply(this.elem);
}
return false;
}else{
var n=t-this.startTime;
this.state=n/this.options.duration;
this.pos=_1e9.easing[this.options.easing||(_1e9.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);
this.now=this.start+((this.end-this.start)*this.pos);
this.update();
}
return true;
}};
_1e9.fx.step={scrollLeft:function(fx){
fx.elem.scrollLeft=fx.now;
},scrollTop:function(fx){
fx.elem.scrollTop=fx.now;
},opacity:function(fx){
_1e9.attr(fx.elem.style,"opacity",fx.now);
},_default:function(fx){
fx.elem.style[fx.prop]=fx.now+fx.unit;
}};
_1e9.fn.offset=function(){
var left=0,top=0,elem=this[0],_272;
if(elem){
with(_1e9.browser){
var _273=_1e9.css(elem,"position")=="absolute",_274=elem.parentNode,_275=elem.offsetParent,doc=elem.ownerDocument,_276=safari&&parseInt(version)<522;
if(elem.getBoundingClientRect){
box=elem.getBoundingClientRect();
add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));
if(msie){
var _277=_1e9("html").css("borderWidth");
_277=(_277=="medium"||_1e9.boxModel&&parseInt(version)>=7)&&2||_277;
add(-_277,-_277);
}
}else{
add(elem.offsetLeft,elem.offsetTop);
while(_275){
add(_275.offsetLeft,_275.offsetTop);
if(mozilla&&/^t[d|h]$/i.test(_274.tagName)||!_276){
_277(_275);
}
if(_276&&!_273&&_1e9.css(_275,"position")=="absolute"){
_273=true;
}
_275=_275.offsetParent;
}
while(_274.tagName&&!/^body|html$/i.test(_274.tagName)){
if(!/^inline|table-row.*$/i.test(_1e9.css(_274,"display"))){
add(-_274.scrollLeft,-_274.scrollTop);
}
if(mozilla&&_1e9.css(_274,"overflow")!="visible"){
_277(_274);
}
_274=_274.parentNode;
}
if(_276&&_273){
add(-doc.body.offsetLeft,-doc.body.offsetTop);
}
}
_272={top:top,left:left};
}
}
return _272;
function _277(elem){
add(_1e9.css(elem,"borderLeftWidth"),_1e9.css(elem,"borderTopWidth"));
};
function add(l,t){
left+=parseInt(l)||0;
top+=parseInt(t)||0;
};
};
})();
(function($){
var _278=$.fn.height,_279=$.fn.width;
$.fn.extend({height:function(){
if(this[0]==window){
return self.innerHeight||$.boxModel&&document.documentElement.clientHeight||document.body.clientHeight;
}
if(this[0]==document){
return Math.max(document.body.scrollHeight,document.body.offsetHeight);
}
return _278.apply(this,arguments);
},width:function(){
if(this[0]==window){
return self.innerWidth||$.boxModel&&document.documentElement.clientWidth||document.body.clientWidth;
}
if(this[0]==document){
return Math.max(document.body.scrollWidth,document.body.offsetWidth);
}
return _279.apply(this,arguments);
},innerHeight:function(){
return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-num(this,"borderTopWidth")-num(this,"borderBottomWidth"):this.height()+num(this,"paddingTop")+num(this,"paddingBottom");
},innerWidth:function(){
return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth-num(this,"borderLeftWidth")-num(this,"borderRightWidth"):this.width()+num(this,"paddingLeft")+num(this,"paddingRight");
},outerHeight:function(){
return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight:this.height()+num(this,"borderTopWidth")+num(this,"borderBottomWidth")+num(this,"paddingTop")+num(this,"paddingBottom");
},outerWidth:function(){
return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth:this.width()+num(this,"borderLeftWidth")+num(this,"borderRightWidth")+num(this,"paddingLeft")+num(this,"paddingRight");
},scrollLeft:function(val){
if(val!=undefined){
return this.each(function(){
if(this==window||this==document){
window.scrollTo(val,$(window).scrollTop());
}else{
this.scrollLeft=val;
}
});
}
if(this[0]==window||this[0]==document){
return self.pageXOffset||$.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;
}
return this[0].scrollLeft;
},scrollTop:function(val){
if(val!=undefined){
return this.each(function(){
if(this==window||this==document){
window.scrollTo($(window).scrollLeft(),val);
}else{
this.scrollTop=val;
}
});
}
if(this[0]==window||this[0]==document){
return self.pageYOffset||$.boxModel&&document.documentElement.scrollTop||document.body.scrollTop;
}
return this[0].scrollTop;
},position:function(_27a,_27b){
var elem=this[0],_27c=elem.parentNode,op=elem.offsetParent,_27a=$.extend({margin:false,border:false,padding:false,scroll:false},_27a||{}),x=elem.offsetLeft,y=elem.offsetTop,sl=elem.scrollLeft,st=elem.scrollTop;
if($.browser.mozilla||$.browser.msie){
x+=num(elem,"borderLeftWidth");
y+=num(elem,"borderTopWidth");
}
if($.browser.mozilla){
do{
if($.browser.mozilla&&_27c!=elem&&$.css(_27c,"overflow")!="visible"){
x+=num(_27c,"borderLeftWidth");
y+=num(_27c,"borderTopWidth");
}
if(_27c==op){
break;
}
}while((_27c=_27c.parentNode)&&(_27c.tagName.toLowerCase()!="body"||_27c.tagName.toLowerCase()!="html"));
}
var _27d=_27e(elem,_27a,x,y,sl,st);
if(_27b){
$.extend(_27b,_27d);
return this;
}else{
return _27d;
}
},offset:function(_27f,_280){
var x=0,y=0,sl=0,st=0,elem=this[0],_281=this[0],op,_282,_283=$.css(elem,"position"),mo=$.browser.mozilla,ie=$.browser.msie,sf=$.browser.safari,oa=$.browser.opera,_284=false,_285=false,_27f=$.extend({margin:true,border:false,padding:false,scroll:true,lite:false},_27f||{});
if(_27f.lite){
return this.offsetLite(_27f,_280);
}
if(elem.tagName.toLowerCase()=="body"){
x=elem.offsetLeft;
y=elem.offsetTop;
if(mo){
x+=num(elem,"marginLeft")+(num(elem,"borderLeftWidth")*2);
y+=num(elem,"marginTop")+(num(elem,"borderTopWidth")*2);
}else{
if(oa){
x+=num(elem,"marginLeft");
y+=num(elem,"marginTop");
}else{
if(ie&&jQuery.boxModel){
x+=num(elem,"borderLeftWidth");
y+=num(elem,"borderTopWidth");
}
}
}
}else{
do{
_282=$.css(_281,"position");
x+=_281.offsetLeft;
y+=_281.offsetTop;
if(mo||ie){
x+=num(_281,"borderLeftWidth");
y+=num(_281,"borderTopWidth");
if(mo&&_282=="absolute"){
_284=true;
}
if(ie&&_282=="relative"){
_285=true;
}
}
op=_281.offsetParent;
if(_27f.scroll||mo){
do{
if(_27f.scroll){
sl+=_281.scrollLeft;
st+=_281.scrollTop;
}
if(mo&&_281!=elem&&$.css(_281,"overflow")!="visible"){
x+=num(_281,"borderLeftWidth");
y+=num(_281,"borderTopWidth");
}
_281=_281.parentNode;
}while(_281!=op);
}
_281=op;
if(_281.tagName.toLowerCase()=="body"||_281.tagName.toLowerCase()=="html"){
if((sf||(ie&&$.boxModel))&&_283!="absolute"&&_283!="fixed"){
x+=num(_281,"marginLeft");
y+=num(_281,"marginTop");
}
if((mo&&!_284&&_283!="fixed")||(ie&&_283=="static"&&!_285)){
x+=num(_281,"borderLeftWidth");
y+=num(_281,"borderTopWidth");
}
break;
}
}while(_281);
}
var _286=_27e(elem,_27f,x,y,sl,st);
if(_280){
$.extend(_280,_286);
return this;
}else{
return _286;
}
},offsetLite:function(_287,_288){
var x=0,y=0,sl=0,st=0,_289=this[0],op,_287=$.extend({margin:true,border:false,padding:false,scroll:true},_287||{});
do{
x+=_289.offsetLeft;
y+=_289.offsetTop;
op=_289.offsetParent;
if(_287.scroll){
do{
sl+=_289.scrollLeft;
st+=_289.scrollTop;
_289=_289.parentNode;
}while(_289!=op);
}
_289=op;
}while(_289&&_289.tagName.toLowerCase()!="body"&&_289.tagName.toLowerCase()!="html");
var _28a=_27e(this[0],_287,x,y,sl,st);
if(_288){
$.extend(_288,_28a);
return this;
}else{
return _28a;
}
}});
var num=function(el,prop){
return parseInt($.css(el.jquery?el[0]:el,prop))||0;
};
var _27e=function(elem,_28b,x,y,sl,st){
if(!_28b.margin){
x-=num(elem,"marginLeft");
y-=num(elem,"marginTop");
}
if(_28b.border&&($.browser.safari||$.browser.opera)){
x+=num(elem,"borderLeftWidth");
y+=num(elem,"borderTopWidth");
}else{
if(!_28b.border&&!($.browser.safari||$.browser.opera)){
x-=num(elem,"borderLeftWidth");
y-=num(elem,"borderTopWidth");
}
}
if(_28b.padding){
x+=num(elem,"paddingLeft");
y+=num(elem,"paddingTop");
}
if(_28b.scroll){
sl-=elem.scrollLeft;
st-=elem.scrollTop;
}
return _28b.scroll?{top:y-st,left:x-sl,scrollTop:st,scrollLeft:sl}:{top:y,left:x};
};
})(jQuery);
(function($){
var _28c={},_28d,_28e,tID,IE=$.browser.msie&&/MSIE\s(5\.5|6\.)/.test(navigator.userAgent),_28f=false;
$.Tooltip={blocked:false,defaults:{delay:200,showURL:true,extraClass:"",top:15,left:15},block:function(){
$.Tooltip.blocked=!$.Tooltip.blocked;
}};
$.fn.extend({Tooltip:function(_290){
_290=$.extend({},$.Tooltip.defaults,_290);
_291();
return this.each(function(){
this.tSettings=_290;
this.tooltipText=this.title;
$(this).removeAttr("title");
this.alt="";
}).hover(save,hide).click(hide);
},fixPNG:IE?function(){
return this.each(function(){
var _292=$(this).css("backgroundImage");
if(_292.match(/^url\(["']?(.*\.png)["']?\)$/i)){
_292=RegExp.$1;
$(this).css({"backgroundImage":"none","filter":"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+_292+"')"}).each(function(){
var _293=$(this).css("position");
if(_293!="absolute"&&_293!="relative"){
$(this).css("position","relative");
}
});
}
});
}:function(){
return this;
},unfixPNG:IE?function(){
return this.each(function(){
$(this).css({"filter":"",backgroundImage:""});
});
}:function(){
return this;
},hideWhenEmpty:function(){
return this.each(function(){
$(this)[$(this).html()?"show":"hide"]();
});
},url:function(){
return this.attr("href")||this.attr("src");
}});
function _291(){
if(_28c.parent){
return;
}
_28c.parent=$("<div id=\"tooltip\"><div class=\"header\"></div><div class=\"content\"></div><div class=\"body\"></div><div class=\"url\"></div><div class=\"footer\"></div>").hide().appendTo("body");
if($.fn.bgiframe){
_28c.parent.bgiframe();
}
_28c.title=$("div.content",_28c.parent);
_28c.body=$("div.body",_28c.parent);
_28c.url=$("div.url",_28c.parent);
};
function _294(_295){
if(this.tSettings.delay){
tID=setTimeout(show,this.tSettings.delay);
}else{
show();
}
_28f=!!this.tSettings.track;
$("body").bind("mousemove",_296);
_296(_295);
};
function save(){
if($.Tooltip.blocked||this==_28d||!this.tooltipText){
return;
}
_28d=this;
_28e=this.tooltipText;
if(this.tSettings.bodyHandler){
_28c.title.hide();
_28c.body.html(this.tSettings.bodyHandler.call(this)).show();
}else{
if(this.tSettings.showBody){
var _297=_28e.split(this.tSettings.showBody);
_28c.title.html(_297.shift()).show();
_28c.body.empty();
for(var i=0,part;part=_297[i];i++){
if(i>0){
_28c.body.append("<br/>");
}
_28c.body.append(part);
}
_28c.body.hideWhenEmpty();
}else{
_28c.title.html(_28e).show();
_28c.body.hide();
}
}
if(this.tSettings.showURL&&$(this).url()){
_28c.url.html($(this).url().replace("http://","")).show();
}else{
_28c.url.hide();
}
_28c.parent.addClass(this.tSettings.extraClass);
if(this.tSettings.fixPNG){
_28c.parent.fixPNG();
}
_294.apply(this,arguments);
};
function show(){
tID=null;
_28c.parent.show();
_296();
};
function _296(_298){
if($.Tooltip.blocked){
return;
}
if(!_28f&&_28c.parent.is(":visible")){
$("body").unbind("mousemove",_296);
}
if(_28d==null){
$("body").unbind("mousemove",_296);
return;
}
var left=_28c.parent[0].offsetLeft;
var top=_28c.parent[0].offsetTop;
if(_298){
left=_298.pageX+_28d.tSettings.left;
top=_298.pageY+_28d.tSettings.top;
_28c.parent.css({left:left+"px",top:top+"px"});
}
var v=_299(),h=_28c.parent[0];
if(v.x+v.cx<h.offsetLeft+h.offsetWidth){
left-=h.offsetWidth+20+_28d.tSettings.left;
_28c.parent.css({left:left+"px"});
}
if(v.y+v.cy<h.offsetTop+h.offsetHeight){
top-=h.offsetHeight+20+_28d.tSettings.top;
_28c.parent.css({top:top+"px"});
}
};
function _299(){
return {x:$(window).scrollLeft(),y:$(window).scrollTop(),cx:$(window).width(),cy:$(window).height()};
};
function hide(_29a){
if($.Tooltip.blocked){
return;
}
if(tID){
clearTimeout(tID);
}
_28d=null;
_28c.parent.hide().removeClass(this.tSettings.extraClass);
if(this.tSettings.fixPNG){
_28c.parent.unfixPNG();
}
};
})(jQuery);
jQuery.extend({ImpromptuDefaults:{prefix:"jqi",buttons:{Ok:true},loaded:function(){
},submit:function(){
return true;
},callback:function(){
},container:"body",opacity:0.6,overlayspeed:"slow",promptspeed:"fast",show:"show"},SetImpromptuDefaults:function(o){
jQuery.ImpromptuDefaults=jQuery.extend({},jQuery.ImpromptuDefaults,o);
},prompt:function(m,o){
o=jQuery.extend({},jQuery.ImpromptuDefaults,o);
var ie6=(jQuery.browser.msie&&jQuery.browser.version<7);
var b=jQuery(o.container);
var fade="<div class=\""+o.prefix+"fade\" id=\""+o.prefix+"fade\"></div>";
if((jQuery.browser.msie&&jQuery("object, applet").length>0)||ie6){
fade="<iframe src=\"\" class=\""+o.prefix+"fade\" id=\""+o.prefix+"fade\"></iframe>";
}
var _29b="<div class=\""+o.prefix+"\" id=\""+o.prefix+"\"><div class=\""+o.prefix+"container\"><div class=\""+o.prefix+"message\">"+m+"</div><div class=\""+o.prefix+"buttons\" id=\""+o.prefix+"buttons\">";
jQuery.each(o.buttons,function(k,v){
_29b+="<button name=\""+o.prefix+"button"+k+"\" id=\""+o.prefix+"button"+k+"\" value=\""+v+"\">"+k+"</button>";
});
_29b+="</div></div></div>";
var jqi=b.prepend(_29b).children("#"+o.prefix);
var jqif=b.prepend(fade).children("#"+o.prefix+"fade");
if(ie6){
b.css({overflow:"hidden"});
}
jqif.css({height:b.height(),width:b.width(),position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:998,display:"none",opacity:o.opacity});
if(document.body.className=="modele2_empruntis"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="infosimmo"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="siteimmo"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if((document.body.className=="modele3_laser")||(document.body.className=="modele8_cgdp")||(document.body.className=="modele9_malakoff")){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"28%",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="modele10_mabanque"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"20%",left:"1%",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="modele4_financimmo"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="modele5_123credit"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="modele6_cofinoga"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
if(document.body.className=="modele7_mediatis"){
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"0px",display:"none",zIndex:999,marginLeft:"0px"});
}else{
jqi.css({position:(ie6)?"absolute":"fixed",top:"30%",left:"50%",display:"none",zIndex:999,marginLeft:((((jqi.css("paddingLeft").split("px")[0]*1)+jqi.width())/2)*-1)});
}
}
}
}
}
}
}
}
}
jQuery("#"+o.prefix+"buttons").children("button").click(function(){
var msg=jqi.children("."+o.prefix+"container").children("."+o.prefix+"message");
var _29c=o.buttons[jQuery(this).text()];
if(o.submit(_29c,msg)){
jqi.remove();
jqif.fadeOut(o.overlayspeed,function(){
jqif.remove();
if(ie6){
b.css({overflow:"auto"});
}
o.callback(_29c,msg);
});
}
});
jqif.fadeIn(o.overlayspeed);
jqi[o.show](o.promptspeed,o.loaded);
return jqi;
}});
function move_box(){
$("#boxright").append($("#boxcontents"));
};
function move_update(){
$("#updateDiv").append($(".submitid"));
};
function pink_bloc(){
var _29d=$("#boxcontents .pink_bloc").height();
var _29e=$("#boxcontents .pink_bloc").width();
$("#boxcontents .pink_bloc a").html("<img class=\"linkbloc\" src=\"/media/pixel__095037100_1125_09112007.gif\" />");
if($.browser.msie&&$.browser.version=="6.0"){
$("#boxcontents .pink_bloc a").css({position:"absolute",top:"0",right:"45px"});
$("#boxcontents .pink_bloc a .linkbloc").css({width:_29e,height:(_29d-20)});
}else{
$("#boxcontents .pink_bloc a").css({position:"absolute",top:"0",left:"0"});
$("#boxcontents .pink_bloc a .linkbloc").css({width:_29e,height:(_29d-20)});
}
};
function onglets(cond){
if(cond=="put"){
$("#navigation").append($("#onglets"));
}else{
if(cond=="drop"){
$("#onglets").empty();
}
}
};
function sitemap(){
$(".contenttext").append($(".sitemap_level0"));
$(".sitemap_level1 > li").vjustify();
if($.browser.msie){
$("body.plan .sitemap_level0 > li").attr("class","child0");
$("body.plan .sitemap_level0 > li > a").attr("class","child0");
$("body.plan .sitemap .sitemap_level1 > li").attr("class","child1");
$("body.plan .sitemap .sitemap_level2 > li").attr("class","child2");
$("body.plan .sitemap .sitemap_level1 > li > a").attr("class","child1");
}
};
function buttonSafari(){
$("#BtnSaveId").attr({value:"Je mémorise \n mon avancement"});
$("#BtnSaveId").css({height:"30px"});
$("#MailDevisId").attr({value:"Je souhaite recevoir une copie \n de ce devis par E-mail"});
$("#MailDevisId").css({height:"30px"});
$("#SouscrireId").attr({value:"Je souhaite souscrire \n ce contrat en ligne"});
$("#SouscrireId").css({height:"30px"});
};
function put_linkeo(){
$("#middle .webcallback a").attr("href","javascript:openwcb('/scripts/linkeo/index.html');");
};
function faq(){
$("a.load").click(function(){
$("#listfaq .faq_detail").hide().remove();
$("#themes #listquestions").hide().remove();
var dest=this.href+"getpagecontent";
var link=this;
$.get(dest,function(data){
$("#tempo").html(data);
$(link).after($("#tempo #listquestions"));
$("#themes #listquestions a").click(function(){
$("#listfaq .faq_detail").hide().remove();
pos=this.href.lastIndexOf("#");
if(pos!=-1){
var _29f=this.href.substring(pos+1);
}
$("#tempo #"+_29f).parent().clone().appendTo("#listfaq");
$("#listfaq").show();
});
});
return false;
});
};
function getPleaseWaitPage(){
$("#formulaire").css({display:"none"});
$("#pleaseWait").css({display:"block"});
$("#pleaseWait").css({visibility:"visible"});
$("div.picto").css({display:"none"});
};
function StopProcess(){
$.prompt("<div class=\"header\"></div><div class=\"content\"><p><strong>Les informations saisies ne nous permettent pas de vous proposer un tarif.</strong></p></div><div class=\"footer\"></div>",{buttons:{Modifier:true,Retour:false},submit:StopProcessCallback});
};
function StopProcessCallback(bool){
if(!bool){
document.location.href="clearSession.html";
}
return true;
};
function getQAS(url){
getPleaseWaitPage();
$("#formpersonnalise").submit();
return true;
};
function Gonextstep(url){
return true;
};
function gotostep(){
return false;
};
function getToHome(){
document.location.href="/";
};
var alreadySave=false;
function quitDevis(){
if(document.getElementById('modele10')){

}else{
if($("#xitiTag").text().indexOf("devis1")==-1){
$("a").each(function(i,v){
var link=$(v);
if(link.parents("#devissteps").length<1){
link.click(function(){
if(alreadySave){
return true;
}
if(confirm("Etes-vous sur de vouloir quitter votre demande de devis? Cliquez sur annuler et sauvegardez votre devis si vous le souhaitez.")){
return true;
}else{
return false;
}
});
}
});
}
}
};
function ModifyDatas(step){
$("#btnstep").val(step);
$("#back").val("1");
$("#formpersonnalise").submit();
};
function updateDivContentExtend(url,_2a0,_2a1,_2a2,_2a3){
var _2a4=getXmlHttpObject();
_2a4.open("GET",url,true);
_2a4.onreadystatechange=function(){
if(_2a4.readyState==4){
if(_2a4.status==200){
var _2a5=getResponseText(_2a4);
if(_2a3!=true){
document.getElementById(_2a0).innerHTML=_2a5;
}else{
document.getElementById(_2a0).innerHTML+=_2a5;
}
if(_2a1){
if(_2a1==="auto"){
getAutoJavascript(_2a5,_2a0);
}else{
if(typeof _2a2=="undefined"){
_2a2=url+"&js=1";
}
getJavascript(_2a2);
}
}
getFieldFocus(_2a0);
}else{
alert("Problem retrieving XML data");
}
}
};
_2a4.send(null);
};
$(function(){
var _2a6=new Array();
$("#tooltips > div").each(function(){
_2a6.push($(this).html());
});
if(_2a6.length>0){
$("#formpersonnalise legend").each(function(i,val){
if(_2a6[i]&&_2a6[i].length>5){
if(document.body.className=="modele2_empruntis"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="infosimmo"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_infosimmo.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="siteimmo"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_siteimmo.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if((document.body.className=="modele3_laser")||(document.body.className=="modele8_cgdp")||(document.body.className=="modele9_malakoff")){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_laser.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="modele10_mabanque"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_mabanque.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="modele4_financimmo"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_financimmo.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="modele5_123credit"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_123credit.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="modele6_cofinoga"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_cofinoga.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
if(document.body.className=="modele7_mediatis"){
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info_mediatis.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}else{
$(this).append("&nbsp;<img class=\"tooltip_picture\" src=\"/media/picto_info__047006100_1816_07112007.gif\" alt=\"tooltip\" />");
$(this).attr("title",_2a6[i]);
}
}
}
}
}
}
}
}
}
}
});
$("#formpersonnalise legend").Tooltip({track:false,delay:0,extraClass:"devis",showURL:false,fixPNG:false});
}
$("#formpersonnalise label").each(function(i,v){
if(document.body.className=="modele2_empruntis"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="infosimmo"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_infosimmo.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="siteimmo"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_siteimmo.gif\" alt=\"tooltip\" />"));
}
}else{
if((document.body.className=="modele3_laser")||(document.body.className=="modele8_cgdp")||(document.body.className=="modele9_malakoff")){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit_laser.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="modele10_mabanque"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit_mabanque.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="modele4_financimmo"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit_financimmo.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="modele5_123credit"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit_123credit.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="modele6_cofinoga"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit_cofinoga.gif\" alt=\"tooltip\" />"));
}
}else{
if(document.body.className=="modele7_mediatis"){
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/picto_info_petit_mediatis.gif\" alt=\"tooltip\" />"));
}
}else{
if(typeof v.title!="undefined"&&v.title!=""){
$(v).append($("<img class=\"tooltip_picture\" src=\"/media/petit_i__023140100_0929_13122007.jpg\" alt=\"tooltip\" />"));
}
}
}
}
}
}
}
}
}
}
});
$("#formpersonnalise label").Tooltip({track:false,delay:0,extraClass:"devis",showURL:false,fixPNG:false});
});
function inputcheck(el){
var _2a7=$(el).attr("value");
var _2a8=false;
if(!isValidValue(_2a7)){
_2a8=true;
}
$(el).parent().children("img").remove();
var img="true__018565500_1412_15112007.gif";
if(document.body.className=="modele10_mabanque"){
img="true_mabanque.gif";
}
if(_2a8){
img="false__021706100_1412_15112007.gif";
if(document.body.className=="modele10_mabanque"){
img="false_mabanque.gif";
}
}
$(el).after("<img class='validation' src='/media/"+img+"' alt=\"\" />");
};
function isValidValue(_2a9){
if(_2a9=="-1"||_2a9==""||typeof _2a9=="undefined"){
return false;
}
var _2aa=new RegExp(/[\;|\!|\?|\$|%|\(|\)|&|<|>|=|\*\[\]\{\}=\+\/"]/);
if((_2a9.search(_2aa)!=-1)&&(value!="WAGON R+")){
return false;
}
return true;
};
function selectcheck(el){
var _2ab=$(el).parent().children("select");
var _2ac="true";
var day,_2ad,year,_2ae;
_2ab.each(function(i,val){
if($(val).attr("disabled")){
}else{
if($(val).attr("name").indexOf("Day")!==-1){
day=$(val).val();
}
if($(val).attr("name").indexOf("Month")!==-1){
_2ad=$(val).val();
}
if($(val).attr("name").indexOf("Year")!==-1){
year=$(val).val();
var tmp=$(val).attr("name").split("_");
_2ae=tmp[1];
}
if($(val).val()=="-1"){
_2ac="false";
}
}
});
if(typeof _2ae!=="undefined"){
if(_2ad!=-1&&year!=-1){
if(_2ae==="DateDerniereEcheance"){
_2ac=isPastDate(day,_2ad,year);
}
if(_2ae==="DateEffet"){
_2ac=isFutureDate(day,_2ad,year);
}
if(_2ae==="DatePermisConducteur1"){
_2ac=checkTestDriveDate("Conducteur1",_2ad,year);
}
if(_2ae==="DatePermisConducteur2"){
_2ac=checkTestDriveDate("Conducteur2",_2ad,year);
}
}
}
if(_2ac=="true"){
$(el).parent().children("img").remove();
if(document.body.className=="modele10_mabanque"){
$(el).parent().append("<img class='validation' src='/media/true_mabanque.gif' alt='true' />");
}else{
$(el).parent().append("<img class='validation' src='/media/true__018565500_1412_15112007.gif' alt='true' />");
}
}else{
$(el).parent().children("img").remove();
if(document.body.className=="modele10_mabanque"){
$(el).parent().append("<img class='validation' src='/media/false_mabanque.gif' alt='false' />");
}else{
$(el).parent().append("<img class='validation' src='/media/false__021706100_1412_15112007.gif' alt='false' />");
}
}
};
function isPastDate(day,_2af,year){
var now=new Date();
var _2b0=""+now.getFullYear()+formatDateElmt(now.getMonth()+1)+formatDateElmt(now.getDate());
var _2b1=year+formatDateElmt(_2af)+formatDateElmt(day);
if(_2b1<=_2b0){
return "true";
}
return "false";
};
function isFutureDate(day,_2b2,year){
var now=new Date();
var _2b3=""+now.getFullYear()+formatDateElmt(now.getMonth()+1)+formatDateElmt(now.getDate());
var _2b4=year+formatDateElmt(_2b2)+formatDateElmt(day);
if(_2b4<_2b3){
return "false";
}
var _2b5=""+(now.getFullYear()+1)+formatDateElmt(now.getMonth()+1)+formatDateElmt(now.getDate());
if(_2b4>_2b5){
return "false";
}
return "true";
};
function checkTestDriveDate(_2b6,_2b7,year){
var _2b8=year+formatDateElmt(_2b7)+"01";
if(($("#Year_DateNaissance"+_2b6+"Id").val()!=-1)&&(year-$("#Year_DateNaissance"+_2b6+"Id").val()>=18)){
return "true";
}
return "false";
};
function checkGTADate(year){
if(year>=$("#gtaDate").val()){
return "true";
}
if(typeof $("#gtaDate").val()=="undefined"){
return "true";
}
return "false";
};
function formatDateElmt(elmt){
if(typeof elmt.length=="undefined"){
elmt=String(elmt);
}
if(elmt.length==1){
elmt="0"+elmt;
}
return elmt;
};
function multiradiocheck(el){
var _2b9=$(el).children("input");
var _2ba="false";
_2b9.each(function(i,val){
if($(val).attr("checked")){
_2ba="true";
}
});
if(_2ba=="true"){
$(el).children("img").remove();
if(document.body.className=="modele10_mabanque"){
$(el).append("<img class='validation' src='/media/true_mabanque.gif' alt='true' />");
}else{
$(el).append("<img class='validation' src='/media/true__018565500_1412_15112007.gif' alt='true' />");
}
}else{
$(el).children("img").remove();
if(document.body.className=="modele10_mabanque"){
$(el).append("<img class='validation' src='/media/false_mabanque.gif' alt='false' />");
}else{
$(el).append("<img class='validation' src='/media/false__021706100_1412_15112007.gif' alt='false' />");
}
}
};
