";}else{str+=this.divWidth+"; height:"+this.divHeight+"; left:"+this.left+"px;top:"+this.top+"px'>";};str+=this.currentAD.getHtml();str+="
"+I18n.adClose+" ";str+="
";document.write(str);this.htmlDIV=$oe(this.divName).get(0);this.floatDIV();};function Float_pauseMove(){clearTimeout(this.htmlDIV.timer);};function Float_continueMove(){if(this.status)this.floatDIV();};function Float_setADItem(ItemObj){var thisLine=this.adItems.length;this.adItems[thisLine]=new Array(ItemObj,ItemObj.power);};function Float_invisible(){clearTimeout(this.htmlDIV.timer);this.htmlDIV.style.visibility="hidden";this.status=false;};function pop_window(){var popC=getCookie("_cmsPopAD");if(popC&&popC>0){return;};this.currentAD=this.getCurrentAD(this.adItems);this.divHeight=this.currentAD.resHeight;this.divWidth=this.currentAD.resWidth;if(this.currentAD==null||this.currentAD=="")return;var str="width="+this.divWidth+"px,height="+this.divHeight+"px,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,";str+="Top="+this.top+",Left="+this.left;var url="http://"+window.location.host+_contextPath+"/cad?_cmsADC="+this.currentAD.id;if(this.floatType==11){window.open(url,"",str);}else if(this.floatType==12){window.open(url,"",str);window.focus();}else if(this.floatType==13){if(browser.isNS){window.open(url,"","modal=yes,"+str);}else{if(browser.isIE7){str="dialogWidth:"+this.divWidth+"px;dialogHeight:"+this.divHeight+"px;dialogLeft:"+this.left+"px;dialogTop:"+this.top+"px;";}else if(browser.isIE){str="dialogWidth:"+(this.divWidth+6)+"px;dialogHeight:"+(this.divHeight+56)+"px;dialogLeft:"+this.left+"px;dialogTop:"+this.top+"px;";}else{str="dialogWidth:"+this.divWidth+"px;dialogHeight:"+this.divHeight+"px;dialogLeft:"+this.left+"px;dialogTop:"+this.top+"px;";};window.showModalDialog(url,window,str);}};setCookie("_cmsPopAD",this.delay,this.delay);};function getRandomObj(array){var totalPower=0;var start=0;for(ii=0;ii