var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var OspodLanguage=new Object();OspodLanguage.AvailableLanguages={'de':'German','en':'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-uk':'English (United Kingdom)','es':'Spanish','fr':'French','it':'Italian','ja':'Japanese','ko':'Korean','ru':'Russian','th':'Thai','zh':'Chinese Traditional','zh-cn':'Chinese Simplified'};OspodLanguage.DefaultLanguage="zh-cn";OspodLanguage.GetActiveLanguage=function(){var sUserLang;var localeCookie="_cmsLocale";var arr=document.cookie.match(new RegExp("(^| )"+localeCookie+"=([^;]*)(;|$)"));if(arr!=null){sUserLang=unescape(arr[2]);};if(sUserLang!=null&&sUserLang!=""){if(sUserLang.length>2){var re=/_/;sUserLang=sUserLang.replace(re,"-");};return sUserLang.toLowerCase();};if(navigator.userLanguage)sUserLang=navigator.userLanguage.toLowerCase();else if(navigator.language)sUserLang=navigator.language.toLowerCase();else{return this.DefaultLanguage;};if(sUserLang.length>=5){sUserLang=sUserLang.substr(0,5);if(this.AvailableLanguages[sUserLang])return sUserLang;};if(sUserLang.length>=2){sUserLang=sUserLang.substr(0,2);if(this.AvailableLanguages[sUserLang])return sUserLang;};return this.DefaultLanguage;};OspodLanguage.LoadLanguage=function(url){document.write('");}});};function includeCss(file){new Ajax.Request(file,{asynchronous:false,method:'get',onSuccess:function(transport){document.write("");}});};function OspodSlide(pic,width,height,link,text,itv,spd){if(arguments.length<1){alert(I18n.slideIllegalParameter);return false;};var interval=itv?itv:3000;var duration=spd?spd:50;var xsImgWidth=width?width:100;var xsImgHeight=height?height:100;var link=link?link:'';var texts=text?text:'';texts=texts.replace("\"\"",""");var xsTextBar=1;var dNum=4;var pics=pic;var textHgt=25;var textBgc='#c0c0c0';var slideType=1;var slideBgc='#000000';this.setSlideType=function(type){slideType=type;};this.setTextBgc=function(tbgc){textBgc=tbgc;};this.setTextHgt=function(thgt){textHgt=thgt;};this.setdNum=function(dnum){dNum=dnum;};this.setSlideBgc=function(bgColor){slideBgc=bgColor;};var xsImgs=new Array();var xsImgLinks=new Array();var xsImgTexts=new Array();var xsTempImgs=new Array();var xsTempImg=new Array();var offsetIndex=0;var transitions=new Array;transitions[0]="progid:DXImageTransform.Microsoft.Fade(duration="+duration/50+")";transitions[1]="progid:DXImageTransform.Microsoft.GradientWipe(duration="+duration/50+")";transitions[2]="progid:DXImageTransform.Microsoft.Pixelate(maxSquare=10,duration="+duration/50+")";transitions[3]="progid:DXImageTransform.Microsoft.Barn(function=15, duration="+duration/50+")";var transition_count=transitions.length;var timerId=-1;var curImg=0;this.initSize=function(){var tHeight=Math.floor(xsImgHeight*0.75);if(browser.isIE7){var bImgWidth=(xsImgWidth-18)/dNum;var bImgHeight=xsImgHeight>350?xsImgHeight*0.225:xsImgHeight*0.21-1;}else if(browser.isIE){var bImgWidth=(xsImgWidth-18)/dNum;var bImgHeight=xsImgHeight>350?xsImgHeight*0.225:xsImgHeight*0.21-1;}else{var bImgWidth=(xsImgWidth-18)/dNum;var bImgHeight=xsImgHeight>350?xsImgHeight*0.225:xsImgHeight*0.20;};var bWidth=xsImgWidth;var bHeight=Math.floor(xsImgHeight*0.25);return{'tHeight':tHeight,'bWidth':bWidth,'bImgHeight':bImgHeight,'bImgWidth':bImgWidth,"bHeight":bHeight};};var bSize;this.init=function(){bSize=this.initSize();xsImgs=pics.split("|");if(link.length==0){for(var i=0;i");document.write("#slidearea{background-color:"+slideBgc+";border:1px solid #959595;width:"+xsImgWidth+"px;height:"+xsImgHeight+"px;};");document.write("#slidearea #slidebody{ width:100%; height:"+bSize['tHeight']+"px; overflow: hidden; margin: 0 auto; text-align: center;vertical-align:middle;}; ");document.write("#slidearea #slidebody .img{*margin-top:expression((parentElement.parentElement.offsetHeight-this.offsetHeight)/2);};");document.write("#slidearea #slidefooter{overflow:hidden;height:"+bSize['bHeight']+"px;width:100%;};");document.write("#slidearea img{border:0px};");document.write("#slidearea #slidefooter img.img1{border:1px solid #959595;padding:1px;};");document.write("#slidearea #slidefooter img.img2{border:1px solid #FF0000;padding:1px;};");document.write("#slidearea #slidefooter img.img3{border:1px solid #33FF00;padding:1px;};");document.write("#slidearea #slidefooter table{vertical-align:middle;border-collapse:collapse; margin:1px auto;width:100%;};");document.write("#slidearea #slidefooter table td{vertical-align:middle;text-align:center;width:"+bSize['bImgWidth']+"px;};");document.write("#slidearea #slidetext {overflow:hidden;word-break:break-all;text-align:center;width:100%;background-color: "+textBgc+"; filter:alpha(opacity=80);border-bottom:1px solid #959595;margin-top:-"+textHgt+"px;line-height:"+textHgt+"px;height:"+textHgt+"px;opacity: 0.80;font-family: 黑体; font-size:16px;color:#000000;};");document.write("");document.write("
");document.write("
");if(xsImgs.length!=0){document.write("<\/a>");};var xsTempV=$('xsimgV');for(var i=0;i");document.write("
"+xsImgTexts[0]+"<\/div>");if(xsTextBar!=0){document.write("
");document.write("<\/tr><\/table>");document.write("<\/div>");};document.write("<\/div>");}else{document.write("");document.write("
");if(xsImgs.length!=0){document.write("<\/a>");var xsTempV=$('xsimgV');for(var i=0;i")};window.setTimeout("OspodSlide.prototype.play()",interval);};OspodSlide.prototype.mouseSelect=function(obj,i){obj.onmouseover=OspodSlide.prototype.slideOver.bind(obj,i);obj.onmouseout=OspodSlide.prototype.slideOut.bind(obj,i);if(obj.id=='xs0'){$('xs0').style.border="1px solid #33FF00";$('xs0').style.padding="1px";var Oimg=document.createElement('img');Oimg.src=obj.src;imgZoomer(Oimg,bSize['bImgWidth'],bSize['bImgHeight']);$('xs0').style.height=Oimg.height;$('xs0').style.width=Oimg.width;}};OspodSlide.prototype.slideOver=function(img,i){img.style.border="1px solid #FF0000";img.style.padding="1px";};OspodSlide.prototype.slideOut=function(img,i){var Oimg=document.createElement('img');Oimg.src=xsTempImgs[i].src;imgZoomer(Oimg,bSize['bImgWidth'],bSize['bImgHeight']);img.height=Oimg.height;img.width=Oimg.width;img.style.border="1px solid #959595";img.style.padding="1px";if(i==curImg){OspodSlide.prototype.selectedImg(curImg,0);}};OspodSlide.prototype.changeSlide=function(){if(document.all){var do_transition=Math.floor(Math.random()*transition_count);$('slidebody').style.filter=transitions[do_transition];$('slidebody').filters[0].Apply();};if(xsImgs.length!=0){$('imglink').href=xsImgLinks[curImg];$('imglink').innerHTML="";$('imglink').appendChild(xsTempImg[curImg]);$('xsimgV').title=xsImgTexts[curImg];if(slideType){var slideText=xsImgTexts[curImg];$('slidetext').innerHTML=slideText;};if(document.all){$('slidebody').filters[0].Play();}}};OspodSlide.prototype.forward=function(j,type){if(j){curImg=j;}else{curImg++;};if(dNum){if(curImg==1){for(var i=0;idNum?dNum:xsImgs.length;for(var i=0;i=dNum){curImg=0;};OspodSlide.prototype.changeSlide();};OspodSlide.prototype.forward_e=function(){curImg++;if(curImg>=xsImgs.length){curImg=0;};OspodSlide.prototype.changeSlide();};OspodSlide.prototype.rewind=function(){curImg--;if(curImg<0){curImg=xsImgs.length-1;};OspodSlide.prototype.changeSlide();};OspodSlide.prototype.play=function(){if(timerId==-1){if(slideType){timerId=window.setInterval('OspodSlide.prototype.forward();',interval);}else{timerId=window.setInterval('OspodSlide.prototype.forward_e();',interval);}}};OspodSlide.prototype.selectImg=function(i){OspodSlide.prototype.selectedImg(i,1);};OspodSlide.prototype.selectedImg=function(j,type){var img=document.createElement('img');dNum=xsImgs.length>dNum?dNum:xsImgs.length;for(var i=0;i=1||heightScale>=1){if(widthScaledocument.body.clientWidth?document.documentElement.clientWidth+'px':document.body.clientWidth+'px';zoomimglayer_bg.style.height=document.body.scrollHeight+'px';zoomimglayer_bg.style.backgroundColor='#000';zoomimglayer_bg.style.display='none';zoomimglayer_bg.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity=80,finishOpacity=100,style=0)';zoomimglayer_bg.style.opacity=0.8;append_parent.appendChild(zoomimglayer_bg);zoomimglayer=document.createElement('div');zoomimglayer.id='zoomimglayer';zoomimglayer.style.position='absolute';zoomimglayer.style.padding=0;append_parent.appendChild(zoomimglayer);};zoomobj['srcinfo']=this.fetchOffset(obj);zoomobj['srcobj']=obj;zoomobj['zimg']=zimg;zoomimglayer.style.display='';zoomimglayer.style.left=zoomobj['srcinfo']['left']+'px';zoomimglayer.style.top=zoomobj['srcinfo']['top']+'px';zoomimglayer.style.width=zoomobj['srcobj'].width+'px';zoomimglayer.style.height=zoomobj['srcobj'].height+'px';zoomimglayer.style.border="0px solid #FF0000";zoomimglayer.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity=40,finishOpacity=100,style=0)';zoomimglayer.style.opacity=0.4;zoomimglayer.style.zIndex=999;zoomimglayer.innerHTML='
");dNum=xsImgs.length>dNum?dNum:xsImgs.length;for(var i=0;i");};var xsTemp=$('xs0');for(var i=0;i
';};this.fetchOffset=function(obj){var left_offset=obj.offsetLeft;var top_offset=obj.offsetTop;while((obj=obj.offsetParent)!=null){left_offset+=obj.offsetLeft;top_offset+=obj.offsetTop;};return{'left':left_offset,'top':top_offset};};var zoomdragstart=new Array();var zoomclick=0;ImageViewer.prototype.zoomdrag=function(e,op){if(op==1){zoomclick=1;zoomdragstart=browser.isIE?[event.clientX,event.clientY]:[e.clientX,e.clientY];zoomdragstart[2]=parseInt(zoomimglayer.style.left);zoomdragstart[3]=parseInt(zoomimglayer.style.top);ImageViewer.prototype.doane(e);}else if(op==2&&zoomdragstart[0]){zoomclick=0;var zoomdragnow=browser.isIE?[event.clientX,event.clientY]:[e.clientX,e.clientY];zoomimglayer.style.left=(zoomdragstart[2]+zoomdragnow[0]-zoomdragstart[0])+'px';zoomimglayer.style.top=(zoomdragstart[3]+zoomdragnow[1]-zoomdragstart[1])+'px';ImageViewer.prototype.doane(e);}else if(op==3){if(zoomclick){ImageViewer.prototype.zoomclose();};zoomdragstart=[];ImageViewer.prototype.doane(e);}};ImageViewer.prototype.doane=function(event){e=event?event:window.event;if(browser.isIE){e.returnValue=false;e.cancelBubble=true;}else if(e){e.stopPropagation();e.preventDefault();}};ImageViewer.prototype.setImageDir=function(dir){IMGDIR=dir;};ImageViewer.prototype.zoomST=function(c){if(zoomimglayer.style.display==''){zoomimglayer.style.left=(parseInt(zoomimglayer.style.left)+zoomobj['x'])+'px';zoomimglayer.style.top=(parseInt(zoomimglayer.style.top)+zoomobj['y'])+'px';zoomimglayer.style.width=(parseInt(zoomimglayer.style.width)+zoomobj['w'])+'px';zoomimglayer.style.height=(parseInt(zoomimglayer.style.height)+zoomobj['h'])+'px';var opacity=c*20;zoomimglayer.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity='+opacity+',finishOpacity=100,style=0)';zoomimglayer.style.opacity=opacity/100;c++;if(c<=5){setTimeout('ImageViewer.prototype.zoomST('+c+')',5);}else{zoomimglayer.style.filter='';zoomimglayer_bg.style.display='';zoomimglayer.innerHTML='
'+I18n.imageViewerZoomTip+'  
';zoomimglayer.style.overflow='visible';zoomimglayer.style.width=zoomimglayer.style.height='auto';if(browser.isIE){zoomimglayer.onmousewheel=ImageViewer.prototype.zoomimgadjust;$('zoomimgbox').onmousedown=ImageViewer.prototype.zoomdrag.bind(event,1);$('zoomimgbox').onmousemove=ImageViewer.prototype.zoomdrag.bind(event,2);$('zoomimgbox').onmouseup=ImageViewer.prototype.zoomdrag.bind(event,3);}else{zoomimglayer.addEventListener("DOMMouseScroll",ImageViewer.prototype.zoomimgadjust,false);}}}};ImageViewer.prototype.zoomimgresize=function(obj){zoomobj['zimginfo']=[obj.width,obj.height];var r=obj.width/obj.height;var w=document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth;w=w*0.95;w=obj.width>w?w:obj.width;var h=w/r;var clientHeight=document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;var scrollTop=document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop;if(h>clientHeight){h=clientHeight;w=h*r;};var l=((document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth)-w)/2;var t=h0){if(zoomimg.width<=100||zoomimg.height<=100){ImageViewer.prototype.doane(e);return;};zoomimg.width-=zoomobj['zimginfo'][0]/10;zoomimg.height-=(zoomobj['zimginfo'][1]/10)*scale;}else{zoomimg.width+=zoomobj['zimginfo'][0]/10;zoomimg.height+=(zoomobj['zimginfo'][1]/10)*scale;}}else{zoomimg.width=zoomobj['zimginfo'][0];zoomimg.height=zoomobj['zimginfo'][1];};var clientHeight=document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;var scrollTop=document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop;var clientWidth=document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth;var l=(clientWidth-zoomimg.clientWidth)/2;l=l>0?l:0;var t=(clientHeight-zoomimg.clientHeight)/2+scrollTop;t=t>0?t:0;zoomimglayer.style.left=l+'px';zoomimglayer.style.top=t+'px';zoomimglayer_bg.style.height=t+zoomimglayer.clientHeight>zoomimglayer_bg.clientHeight?(t+zoomimglayer.clientHeight)+'px':zoomimglayer_bg.style.height;ImageViewer.prototype.doane(e);};ImageViewer.prototype.zoomclose=function(){zoomimglayer.innerHTML='';zoomimglayer.style.display='none';zoomimglayer_bg.style.display='none';};this.zoom(obj);};function Marquee(elm,width,height,spd,type,wspace){if(arguments.length<1){alert(I18n.marqueeIdEmpty);return false;};var element=elm;var scrollwidth=width?width:800;var scrollheight=height?height:200;scrollwidth=parseInt(scrollwidth);scrollheight=parseInt(scrollheight);var scrollwspace=wspace?wspace:5;var scrolltype=type?type:3;var speed=spd?spd:30;var scrolltext=new Array();var obj1=document.getElementById(element);if(!obj1){alert(I18n.marqueeIllegalParameter);return false;};obj1.style.height=scrollheight+'px';obj1.style.width=scrollwidth+'px';obj1.style.border='0px solid #000';var obj2=document.createElement("div");obj2.id=element+'obj2';var obj3=document.createElement("div");obj3.id=element+"obj3";obj2.style.border='0px solid #000';var objtab=document.createElement('table');var objtr=document.createElement('tr');var objtd=document.createElement('td');objtd.innerHTML=obj1.innerHTML;obj1.innerHTML="";objtab.style.display="inline";objtab.cellpadding="0";objtab.cellspacing="0";objtab.id=element+'tab';objtab.style.border="0px solid #FF0000";objtd.style.whiteSpace="nowrap";objtr.appendChild(objtd);objtab.appendChild(objtr);obj2.innerHTML=objtab.outerHTML;obj1.appendChild(obj2);obj1.appendChild(obj3);obj3.style.width=obj2.style.width=scrollwidth+'px';if(scrolltype==1||scrolltype==2){if(obj2.offsetHeightscrollwidth)?scrollwidth:(obj2.offsetWidth+scrollwidth)/2;if(tabheight<0){tabheight=0;}else{obj2.innerHTML+="
";}}};document.write("");if(scrolltype==3||scrolltype==4){obj1.style.whiteSpace="nowrap";obj2.style.display="inline";var tabwidth=scrollwidth-obj2.offsetWidth;var tabmargintop=(obj2.offsetHeight>scrollheight)?scrollheight:(obj2.offsetHeight+scrollheight)/2;if(tabwidth<0){tabwidth=0;}else{obj2.innerHTML+="
";}};obj3.innerHTML=obj2.innerHTML;Marquee.prototype.marqueeScrollTop=function(element,scrolltype,scrollwidth,scrollheight,speed){var obj1=document.getElementById(element);var obj2=document.getElementById(element+"obj2");var obj3=document.getElementById(element+"obj3");if(obj2.offsetHeight>scrollheight)if(obj3.offsetTop-obj1.scrollTop<=0){obj1.scrollTop-=obj3.offsetTop;}else{var oldScrollTop=obj1.scrollTop;obj1.scrollTop++;if(oldScrollTop==obj1.scrollTop){obj1.scrollTop=0;}}else{if(scrollheight-obj1.scrollTop<=0){obj1.scrollTop-=scrollheight;}else{obj1.scrollTop++;}}};Marquee.prototype.marqueeScrollDown=function(element,scrolltype,scrollwidth,scrollheight,speed){var obj1=document.getElementById(element);var obj2=document.getElementById(element+"obj2");var obj3=document.getElementById(element+"obj3");if(document.all){if(obj2.offsetTop-obj1.scrollTop>=0){obj1.scrollTop+=obj3.offsetHeight;}else{obj1.scrollTop--;}}else{if(obj2.offsetTop-obj1.scrollTop-obj2.offsetTop>=0){obj1.scrollTop+=obj3.offsetHeight;}else{obj1.scrollTop--;}}};Marquee.prototype.marqueeScrollLeft=function(element,scrolltype,scrollwidth,scrollheight,speed){var obj1=document.getElementById(element);var obj2=document.getElementById(element+"obj2");var obj3=document.getElementById(element+"obj3");if(obj3.offsetWidth-obj1.scrollLeft<=0){obj1.scrollLeft-=obj2.offsetWidth;}else{obj1.scrollLeft++;}};Marquee.prototype.marqueeScrollRight=function(element,scrolltype,scrollwidth,scrollheight,speed){var obj1=document.getElementById(element);var obj2=document.getElementById(element+"obj2");var obj3=document.getElementById(element+"obj3");if(obj1.scrollLeft<=0){obj1.scrollLeft+=obj3.offsetWidth;}else{obj1.scrollLeft--;}};var count;Marquee.prototype.marqueeStart=function(element,scrolltype,scrollwidth,scrollheight,speed){switch(scrolltype){case 1:if(Marquee.prototype.scrollTopOrDown(element,scrolltype,scrollwidth,scrollheight,speed)){Marquee.prototype.clearInterval(element);count=window.setInterval(Marquee.prototype.marqueeScrollTop.bind(this,element,scrolltype,scrollwidth,scrollheight,speed),speed);MarqueeInterval[element]=count;};break;case 2:if(Marquee.prototype.scrollTopOrDown(element,scrolltype,scrollwidth,scrollheight,speed)){Marquee.prototype.clearInterval(element);count=window.setInterval(Marquee.prototype.marqueeScrollDown.bind(this,element,scrolltype,scrollwidth,scrollheight,speed),speed);MarqueeInterval[element]=count;};break;case 3:Marquee.prototype.scrollLeftOrRight(element,scrolltype,scrollwidth,scrollheight,speed);Marquee.prototype.clearInterval(element);count=window.setInterval(Marquee.prototype.marqueeScrollLeft.bind(this,element,scrolltype,scrollwidth,scrollheight,speed),speed);MarqueeInterval[element]=count;break;case 4:Marquee.prototype.scrollLeftOrRight(element,scrolltype,scrollwidth,scrollheight,speed);Marquee.prototype.clearInterval(element);count=window.setInterval(Marquee.prototype.marqueeScrollRight.bind(this,element,scrolltype,scrollwidth,scrollheight,speed),speed);MarqueeInterval[element]=count;break;}};Marquee.prototype.scrollLeftOrRight=function(element,scrolltype,scrollwidth,scrollheight,speed){var obj3=document.getElementById(element+"obj3");obj3.style.display="inline";};Marquee.prototype.scrollTopOrDown=function(element,scrolltype,scrollwidth,scrollheight,speed){var obj2=document.getElementById(element+"obj2");if(scrollwidth-obj2.offsetWidth<0){return true;}else{obj2.style.display="block";return true;}};Marquee.prototype.clearInterval=function(element){var interval;for(var key in MarqueeInterval){if(key==element){interval=MarqueeInterval[key];break;}};window.clearInterval(interval);};obj1.onmouseover=function(){Marquee.prototype.clearInterval(element);};obj1.onmouseout=function(){Marquee.prototype.marqueeStart(element,scrolltype,scrollwidth,scrollheight,speed);};Marquee.prototype.marqueeStart(element,scrolltype,scrollwidth,scrollheight,speed);};var MarqueeInterval=new Object();if(typeof(HTMLElement)!="undefined"&&!window.opera){HTMLElement.prototype.__defineGetter__("outerHTML",function(){var a=this.attributes,str="<"+this.tagName,i=0;for(;i";return str+">"+this.innerHTML+"";});HTMLElement.prototype.__defineSetter__("outerHTML",function(s){var r=this.ownerDocument.createRange();r.setStartBefore(this);var df=r.createContextualFragment(s);this.parentNode.replaceChild(df,this);return s;});HTMLElement.prototype.__defineGetter__("canHaveChildren",function(){return !/^(area|base|basefont|col|frame|hr|img|br|input|isindex|link|meta|param)$/.test(this.tagName.toLowerCase());});};function GetImageSize(oImage){var OriginImage=new Image();if(OriginImage.src!=oImage.src)OriginImage.src=oImage.src;return{"width":OriginImage.width,"height":OriginImage.height};};function $E(id,targetDoc){var doc=targetDoc?targetDoc:document;return doc.getElementById(id);};var dialog=function(targetWin,targetDoc){this.win=targetWin?targetWin:window;this.doc=targetDoc?targetDoc:window.document;this.win.ebDialog=null;this.elt=null;var titile='';var width=300;var height=180;var src="";var path=_templatePath+"img/";var sFunc=' ';var sClose='';var sBody='
'+sFunc+'
';var sBox='';var sBG='
';this.show=function(){this.middle('dialogBox');this.shadow();$E("dialogBoxBG",this.doc).style.width=this.doc.body.scrollWidth;$E("dialogBoxBG",this.doc).style.height=this.doc.body.scrollHeight;};this.reset=function(){$E('dialogBox',this.doc).style.display='none';$E('dialogBoxBG',this.doc).style.display='none';$E('dialogBoxShadow',this.doc).style.display="none";$E('dialogBoxIframe',this.doc).style.display="none";$E('dialogBody',this.doc).innerHTML=sBody;changeShow(this.win,this.doc);this.win.neatDialog=null;};this.html=function(_sHtml){$E("dialogBody",this.doc).innerHTML=_sHtml;this.show();};this.init=function(){$E('dialogCase',this.doc)?$E('dialogCase',this.doc).parentNode.removeChild($E('dialogCase',this.doc)):function(){};var oDiv=this.doc.createElement('div');oDiv.id="dialogCase";oDiv.style.zIndex="100";oDiv.innerHTML=sBG+sBox;if(!this.doc.getElementById('pDiv')){var bgDiv=this.doc.createElement('div');bgDiv.id="pDiv";bgDiv.style.position='absolute';bgDiv.style.top="0px";bgDiv.style.left="0px";bgDiv.style.width="100%";bgDiv.style.height=getBodySize(this.doc).height+"px";bgDiv.style.zIndex="7";bgDiv.style.display="none";this.doc.body.appendChild(bgDiv);};this.doc.body.appendChild(oDiv);hide(this.win,this.doc);};function check(_sFuc){var sFuc=String(eval(_sFuc));if(sFuc!="undefined"){var url;if(sFuc.indexOf('#')){url=sFuc.split('#')[0];}else{url=sFuc;};this.win.location=url;}};this.button=function(_sId,_sFuc){if($E(_sId,this.doc)){$E(_sId,this.doc).style.display='';if($E(_sId,this.doc).addEventListener){if($E(_sId,this.doc).act){$E(_sId,this.doc).removeEventListener('click',function(){eval($E(_sId,this.doc).act)},false);};$E(_sId,this.doc).act=_sFuc;$E(_sId,this.doc).addEventListener('click',function(){check(_sFuc);},false);}else{if($E(_sId,this.doc).act){$E(_sId,this.doc).detachEvent('onclick',function(){eval($E(_sId,this.doc).act)});};$E(_sId,this.doc).act=_sFuc;$E(_sId,this.doc).attachEvent('onclick',function(){check(_sFuc);});}}};this.shadow=function(){var oShadow=$E('dialogBoxShadow',this.doc);var oDialog=$E('dialogBox',this.doc);var oIframe=$E('dialogBoxIframe',this.doc);oShadow.style.position="absolute";oIframe.style.position="absolute";oShadow.style.background="#000000";oShadow.style.display="";oIframe.style.display="";oShadow.style.opacity="0.2";oShadow.style.filter="alpha(opacity=20)";oShadow.style.top=(oDialog.offsetTop+6)+"px";oShadow.style.left=(oDialog.offsetLeft+6)+"px";oShadow.style.width=oDialog.offsetWidth;oShadow.style.height=oDialog.offsetHeight;oIframe.style.top=oDialog.offsetTop+"px";oIframe.style.left=oDialog.offsetLeft+"px";oIframe.style.width=oDialog.offsetWidth+"px";oIframe.style.height=oDialog.offsetHeight+"px";};this.open=function(_sUrl,_sMode){this.show();if(!_sMode||_sMode=="no"||_sMode=="yes"){$E("dialogBody",this.doc).innerHTML="";}};this.showWindow=function(_sUrl,_iWidth,_iHeight,_sMode,_sTitle){var oWindow;var sLeft=(screen.width)?(screen.width-_iWidth)/2:0;var iTop=-80+(screen.height-_iHeight)/2;iTop=iTop>0?iTop:(screen.height-_iHeight)/2;var sTop=(screen.height)?iTop:0;if(this.win.showModalDialog&&_sMode=="m"){oWindow=this.win.showModalDialog(_sUrl,_sTitle,"dialogWidth:"+_iWidth+"px;dialogheight:"+_iHeight+"px");}else{oWindow=this.win.open(_sUrl,_sTitle,'height='+_iHeight+', width='+_iWidth+', top='+sTop+', left='+sLeft+', toolbar=no, menubar=no, scrollbars='+_sMode+', resizable=no,location=no, status=no');this.reset();}};this.event=function(_sMsg,_sOk,_sCancel,_sClose){$E('dialogFunc',this.doc).innerHTML=sFunc;$E('dialogClose',this.doc).innerHTML=sClose;$E('dialogBodyBox',this.doc)==null?$E('dialogBody',this.doc).innerHTML=sBody:function(){};$E('dialogMsg',this.doc)?$E('dialogMsg',this.doc).innerHTML=_sMsg:function(){};_sOk&&_sOk!=""?this.button('dialogOk',_sOk)|$E('dialogOk',this.doc).focus():$E('dialogOk',this.doc).style.display='none';_sCancel&&_sCancel!=""?this.button('dialogCancel',_sCancel):$E('dialogCancel',this.doc).style.display='none';_sClose?this.button('dialogBoxClose',_sClose):function(){};this.show();this.middle('dialogBox');};this.set=function(_oAttr,_sVal){var oShadow=$E('dialogBoxShadow',this.doc);var oDialog=$E('dialogBox',this.doc);var oHeight=$E('dialogHeight',this.doc);var oIframe=$E('dialogBoxIframe',this.doc);if(_sVal!=''){switch(_oAttr){case 'title':$E('dialogBoxTitle',this.doc).innerHTML=_sVal;title=_sVal;break;case 'width':oDialog.style.width=_sVal+"px";width=_sVal;break;case 'height':oHeight.style.height=_sVal+"px";height=_sVal;break;case 'src':if(parseInt(_sVal)>0){$E('dialogBoxFace',this.doc)?$E('dialogBoxFace',this.doc).src=path+_sVal+'.gif':function(){};}else{$E('dialogBoxFace',this.doc)?$E('dialogBoxFace',this.doc).src=_sVal:function(){};};src=_sVal;break;}};this.middle('dialogBox');oShadow.style.top=(oDialog.offsetTop+6)+"px";oShadow.style.left=(oDialog.offsetLeft+6)+"px";oShadow.style.width=oDialog.offsetWidth+"px";oShadow.style.height=oDialog.offsetHeight+"px";oIframe.style.top=oDialog.offsetTop+"px";oIframe.style.left=oDialog.offsetLeft+"px";oIframe.style.width=oDialog.offsetWidth+"px";oIframe.style.height=oDialog.offsetHeight+"px";};this.moveStart=function(e,_sId){function fixE(e){if(typeof e=='undefined')e=window.event;if(typeof e.layerX=='undefined')e.layerX=e.offsetX;if(typeof e.layerY=='undefined')e.layerY=e.offsetY;return e;};function getX(e){return fixE(e).clientX;};function getY(e){return fixE(e).clientY;};function drag(e){v=$(_sId);var nX=getX(e);var nY=getY(e);var ll=v.rL+nX-v.oX;var tt=v.rT+nY-v.oY;v.style.left=ll+'px';v.style.top=tt+'px';$E('dialogBoxShadow',this.doc).style.left=ll+6+'px';$E('dialogBoxShadow',this.doc).style.top=tt+6+'px';$E('dialogBoxIframe',this.doc).style.left=ll+'px';$E('dialogBoxIframe',this.doc).style.top=tt+'px';return false;};function end(){document.onmousemove=null;document.onmouseup=null;};v=$E(_sId,document);v.oX=getX(e);v.oY=getY(e);v.rL=parseInt(v.style.left?v.style.left:0);v.rT=parseInt(v.style.top?v.style.top:0);document.onmousemove=drag;document.onmouseup=end;return false;};this.hideModule=function(_sType,_sDisplay){var aIframe=this.win.parent.document.getElementsByTagName("iframe");aIframe=0;var aType=this.doc.getElementsByTagName(_sType);var iChildObj,iChildLen;for(var i=0;i";dg.event(msg,click,'',click);};function _win_error_msg_show(msg,click,icon,top,left,width,height){click=click?click:' ';icon=icon?icon:'';title=I18n.dialogDefaultTip;top=top?top:80;switch(icon){case 'forbid':icon=1;break;case 'succ':icon=2;break;case 'smile':icon=3;break;case 'forget':icon=4;break;case 'sorry':icon=5;break;case 'care':icon=6;break;case '':icon=5;break;};dg=new dialog();dg.init();dg.set('src',icon);dg.set('title',title);if(width){dg.set('width',width);};if(height){dg.set('height',height);};if(left){$('dialogBox').style.left=left+"px";$('dialogBoxShadow').style.left=left+"px";};if(top){$('dialogBox').style.top=top+"px";$('dialogBoxShadow').style.top=top+"px";};dg.event(msg,click,'',click);};function _confirm_msg_show(msg,click_ok,click_no,title){click_ok=click_ok?click_ok:' ';click_no=click_no?click_no:' ';title=title?title:I18n.dialogDefaultTip;dg=new dialog();dg.init();dg.set('src',3);dg.set('title',title);dg.event(msg,click_ok,click_no,click_no);};function _win_confirm_msg_show(msg,click_ok,click_no,top,left,width,height){click_ok=click_ok?click_ok:' ';click_no=click_no?click_no:' ';title=I18n.dialogDefaultTip;top=top?top:80;dg=new dialog();dg.init();dg.set('src',3);dg.set('title',title);if(width){dg.set('width',width);};if(height){dg.set('height',height);};dg.event(msg,click_ok,click_no,click_no);if(left){$('dialogBox').style.left=left+"px";$('dialogBoxShadow').style.left=left+"px";};if(top){$('dialogBox').style.top=top+"px";$('dialogBoxShadow').style.top=top+"px";}};var timer;var Opacity=0;function hide(_targetWin,_target){var target=_target?_target:document;var targetWin=_targetWin?_targetWin:window;target.getElementById('pDiv').style.display="block";Opacity=0;if(target==document){timer=targetWin.setInterval("changeHidden()",5);}else{changeHidden(_targetWin,_target);}};function changeHidden(_targetWin,_target){var target=_target?_target:document;var targetWin=_targetWin?_targetWin:window;if(timer==undefined){Opacity=0.5;}else{if(Opacity>=0.5){targetWin.clearInterval(timer);return;};Opacity+=0.06;};if(browser.isIE){target.getElementById('pDiv').style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=0,finishOpacity=50,style=0)";target.getElementById('pDiv').filters.item('DXImageTransform.Microsoft.Alpha').opacity=Opacity*100;}else if(browser.isNS){target.getElementById('pDiv').style.opacity=Opacity;};target.getElementById('pDiv').style.backgroundColor="#f0f0f0";};function changeShow(_targetWin,_target){var target=_target?_target:document;var targetWin=_targetWin?_targetWin:window;target.getElementById('pDiv').style.backgroundColor="";Opacity=0;if(browser.isIE){target.getElementById('pDiv').filters.item('DXImageTransform.Microsoft.Alpha').opacity=Opacity*100;}else if(browser.isNS){target.getElementById('pDiv').style.opacity=Opacity;};target.getElementById('pDiv').style.display="none";if(timer!=undefined){targetWin.clearInterval(timer);};return};function cc(_targetWin,_target){var target=_target?_target:document;var targetWin=_targetWin?_targetWin:window;if(target==document){timer=targetWin.setInterval('changeShow()',5);}else{changeShow(_targetWin,_target);}};function showWindow(_sUrl,_sWidth,_sHeight,_sTitle,_sScroll,_login){var oEdit=new dialog();oEdit.init();if(!_login&&_needlogin){oEdit.set('title',_sTitle?_sTitle:I18n.dialogDefaultTip);oEdit.set('width',280);oEdit.set('height',220);oEdit.open(_contextPath+"/Base?tf=loginshow",_sScroll?'no':'yes');}else{oEdit.set('title',_sTitle?_sTitle:I18n.dialogDefaultTip);oEdit.set('width',_sWidth);oEdit.set('height',_sHeight);oEdit.open(_sUrl,_sScroll?'no':'yes');};return;};function closWindow(){new dialog().reset();};function ADItemObj(){this.id=0;this.type=1;this.resHeight=100;this.resWidth=100;this.hint="";this.resURL="";this.linkURL="";this.power=1;this.text="";this.getHtml=getADItemHTML;};function getADItemHTML(){var str="";var name="ad_"+this.id;switch(this.type){case 1:str="
"+this.hint+"";break;case 2:str="";str+="";str+="";str+="";break;case 4:str="";break;case 5:str="";};return str;};function ADFloatDIV(id){this.ID=id;this.divName="";this.status=true;this.virgin=true;this.adItems=new Array();this.currentAD=null;this.htmlDIV=null;this.floatType=1;this.divWidth=100;this.divHeight=100;this.left=-1;this.top=-1;this.dx=2*(Math.random()>0.5?1:-1);this.dy=1*(Math.random()>0.5?1:-1);this.counter=0;this.timer=null;this.step=1;this.rate=10;this.delay=3000;this.setADItem=Float_setADItem;this.adStart=adStart;this.showDIV=Float_showDIV;this.floatDIV=Float_floatDIV;this.pauseMove=Float_pauseMove;this.continueMove=Float_continueMove;this.divInvisible=Float_invisible;this.getCurrentAD=getRandomObj;this.initDiv=FLoat_InitDiv;this.popWindow=pop_window;};function adStart(){if(this.floatType<=10){this.showDIV();}else if(this.floatType>10){this.popWindow();}};function FLoat_InitDiv(){if(this.virgin==false)return;this.virgin=false;if(this.floatType==1||this.floatType==2||this.floatType==3||this.floatType==4){if(this.left<0){this.left=500+500*Math.random()*(Math.random()>0.5?1:-1);};if(this.top<0){this.top=300+300*Math.random()*(Math.random()>0.5?1:-1);}}else if(this.floatType==5||this.floatType==6){if(this.left==-1){this.left=(window.document.body.offsetWidth-this.divWidth)/2;}else if(this.left==-2){this.left=window.document.body.offsetWidth-this.divWidth;};var sHeight=document.documentElement.clientHeight||document.body.clientHeight;if(this.top==-1){this.top=(sHeight-this.divHeight-this.dy-22)/2;}else if(this.top==-2){this.top=sHeight-this.divHeight-this.dy*2-22;}};if(this.left>(window.document.body.offsetWidth-this.divWidth)){this.left=(window.document.body.offsetWidth-this.divWidth)/window.screen.width*this.left;if(this.left>(window.document.body.offsetWidth-this.divWidth)){this.left=(window.document.body.offsetWidth-this.divWidth);}};if(this.top>(window.document.body.offsetHeight-this.divHeight-this.dy*2-22)){this.top=(window.document.body.offsetHeight-this.divHeight-this.dy*2-22)/window.screen.width*this.top;if(this.top>(window.document.body.offsetHeight-this.divHeight-this.dy*2-22)){this.top=(window.document.body.offsetHeight-this.divHeight-this.dy*2-22);}}};function Float_floatDIV(){screenX=document.documentElement.scrollLeft||document.body.scrollLeft;screenY=document.documentElement.scrollTop||document.body.scrollTop;screenW=document.documentElement.clientWidth||document.body.clientWidth;screenW=screenW-this.divWidth;screenH=document.documentElement.clientHeight||document.body.clientHeight;screenH=screenH-this.divHeight-this.dy*2;this.initDiv();var theLeft,theTop;if(this.floatType==1){theLeft=this.left+this.dx*this.step;theTop=this.top+this.dy*this.step;if((theLeft>=screenW&&this.dx>0)||(theLeft<=0&&this.dx<0))this.dx=-1*this.dx;if((theTop>=screenH&&this.dy>0)||(theTop<=0&&this.dy<0))this.dy=-1*this.dy;}else if(this.floatType==2){if(this.counter>=(200/this.rate)){this.dx=(this.dx>0?1:-1)*Math.random()*5;this.dy=(this.dy>0?1:-1)*Math.random()*5;this.counter=0;};this.counter+=1;theLeft=this.left;theTop=this.top+this.dy*this.step;if((theLeft>=screenW&&this.dx>0)||(theLeft<=0&&this.dx<0))this.dx=-1*this.dx;if((theTop>=screenH&&this.dy>0)||(theTop<=0&&this.dy<0))this.dy=-1*this.dy;}else if(this.floatType==3){this.dx=0;theLeft=this.left+this.dx*this.step;theTop=this.top+this.dy*this.step;if((theLeft>=screenW)||(theLeft<=0)){this.left=this.left+this.currentAD.resWidth;};if((theTop>=screenH&&this.dy>0)||(theTop<=0&&this.dy<0))this.dy=-1*this.dy;}else if(this.floatType==4){this.dy=0;theLeft=this.left+this.dx*this.step;theTop=this.top+this.dy*this.step;if((theLeft<=0)){this.dx=-1*this.dx;};if((theLeft>=screenW&&this.dx>0)){this.dx=-1*this.dx;}}else if(this.floatType==5){this.dx=0;this.dy=0;}else if(this.floatType=6){if(document.all){this.htmlDIV.style.pixelLeft=this.left;this.htmlDIV.style.pixelTop=this.top;}else{this.htmlDIV.style.left=this.left+"px";this.htmlDIV.style.top=this.top+"px";};this.htmlDIV.timer=setTimeout(this.ID+".divInvisible()",this.delay);return;};this.left=this.left+this.dx*this.step;this.top=this.top+this.dy*this.step;if(document.all){this.htmlDIV.style.pixelLeft=this.left+screenX;this.htmlDIV.style.pixelTop=this.top+screenY;}else{this.htmlDIV.style.left=this.left+screenX+"px";this.htmlDIV.style.top=this.top+screenY+"px";};var delay=80/this.rate;clearTimeout(this.htmlDIV.timer);this.htmlDIV.timer=setTimeout(this.ID+".floatDIV()",delay);};function Float_showDIV(){this.currentAD=this.getCurrentAD(this.adItems);this.divHeight=this.currentAD.resHeight;this.divWidth=this.currentAD.resWidth;if(this.currentAD==null||this.currentAD=="")return;this.divName="ADF_"+this.ID;this.divHeight=this.divHeight+22;var str="
";}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=$(this.divName);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;iiarray[ii][2]&&theSelected-1)?'&':'?')+param;};try{this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)setTimeout(function(){this.respondToReadyState(1)}.bind(this),10);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=='post'?(this.options.postBody||param):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType)this.onStateChange();}catch(e){this.dispatchException(e);}};Ajax.Request.prototype.onStateChange=function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete))this.respondToReadyState(this.transport.readyState);};Ajax.Request.prototype.respondToReadyState=function(readyState){var state=Ajax.RequestEvents[readyState];var transport=this.transport;if(state=='Complete'){try{this._complete=true;this.options['on'+(this.success()?'Success':'Failure')](transport);}catch(e){this.dispatchException(e);}};if(state=='Complete'){this.transport.onreadystatechange=function(){};}};Ajax.Request.prototype.success=function(){return !this.transport.status||(this.transport.status>=200&&this.transport.status<300);};Ajax.Request.prototype.setRequestHeaders=function(){var headers={'X-Requested-With':'XMLHttpRequest','Accept':'text/javascript, text/html, application/xml, text/xml, */*'};if(this.method=='post'){headers['Content-type']=this.options.contentType+(this.options.encoding?'; charset='+this.options.encoding:'');if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)headers['Connection']='close';};for(var name in headers)this.transport.setRequestHeader(name,headers[name]);};Ajax.Request.prototype.dispatchException=function(exception){(this.options.onException||function(){})(this,exception);}; } /* FILE ARCHIVED ON 21:41:41 May 15, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 12:04:59 May 16, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.542 exclusion.robots: 0.114 exclusion.robots.policy: 0.105 esindex: 0.008 cdx.remote: 14.606 LoadShardBlock: 75.264 (3) PetaboxLoader3.datanode: 50.632 (4) PetaboxLoader3.resolve: 69.342 (2) load_resource: 69.154 */