_EXPcookie=function(A,C,B){this.expireDay=B;this.name=A;this.expTimes=C;this.times=this.getCookie();this.setCookie();this.isReach=(this.times==0)?1:0;this.isCap=(this.times>=this.expTimes)?0:1};_EXPcookie.prototype.setCookie=function(){var expdate=new Date();expdate.setTime(expdate.getTime()+this.expireDay*24*60*60*1000);document.cookie=this.name+"="+this.name+"&times="+(eval(this.times)+1)+";expires="+expdate.toGMTString()};_EXPcookie.prototype.getCookie=function(){var A=document.cookie,C,B;if(A.length>0){C=A.indexOf(this.name+"=");if(C>-1){C=A.indexOf("&times=",C)+7;B=A.indexOf(";",C);B=(B>-1)?B:A.length;return A.substring(C,B)}else{return 0}}else{return 0}};var EXPdomain=document.domain;var EXPmaxURL=10;var EXPtimer=0;var EXPplugin=false;var EXPHnow=EXPopenH;var EXPmyBrw="";var EXPisIE=navigator.appName.indexOf("Microsoft")!=-1;var EXPbannerObj=EXPisIE?document.all:document;if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")>=0&&navigator.userAgent.indexOf("Windows")>=0){EXPmyBrw="ie"}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Firefox")>=0){if(navigator.userAgent.indexOf("Windows")>=0||navigator.userAgent.indexOf("Mac")>=0){EXPmyBrw="firefox"}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Safari")>=0){if(navigator.userAgent.indexOf("Windows")>=0||navigator.userAgent.indexOf("Mac")>=0){EXPmyBrw="safari"}}}}if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")>=0&&navigator.userAgent.indexOf("Windows")>=0){document.write("<SCRIPT LANGUAGE=VBScript> \n");document.write("on error resume next \n");document.write('EXPplugin = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+EXPversion+'"))) \n');document.write("<\/SCRIPT> \n")}function EXPdetectFlash(){if(navigator.plugins){if(navigator.plugins["Shockwave Flash"]){var A=navigator.plugins["Shockwave Flash"].description;var B=parseInt(A.substring(16));EXPplugin=B>=EXPversion}}}function EXPshowAD(){if(EXPmyBrw=="ie"||EXPmyBrw=="firefox"||EXPmyBrw=="safari"){return true}}function EXPopenWindow(A,B){if(B=="_blank"||B=="_top"){window.open(A)}else{location.href=A}}function EXPjp0(D,C,B){if(EXPrd1>0){var A=new Image;A.src="http://"+EXPred.substring(7,EXPred.length)+"N="+D+"/id="+C+"/"+Math.random()+EXPsig+"http://l.yimg.com/f/a/tw/k_alan/space_p.gif";if(EXPoxBug){alert(A.src)}}return B}function EXPjp(C,B,A){if(EXPrd1>0){if(EXPoxBug){alert(EXPred+"R="+C+"/id="+B+EXPsig+A)}else{return EXPred+"R="+C+"/id="+B+EXPsig+A}}return A}function EXPmoveIt(A){var B=function(){if(A){var C=Math.ceil((EXPopenH-EXPHnow)/5);if(C>=1){EXPHnow=EXPHnow+C;EXPObj.style.height=EXPHnow+"px";EXPObj.TGotoLabel("/","opening");if(EXPisText){EXPdivObj.innerHTML=EXPcloseText}}else{EXPHnow=EXPopenH;EXPObj.TGotoLabel("/","first");EXPjp0(-2,"adplay","");clearInterval(EXP_moveID)}}else{var C=Math.ceil((EXPHnow-EXPcloseH)/5);if(C>=1){EXPHnow=EXPHnow-C;EXPObj.style.height=EXPHnow+"px";if(EXPisText){EXPdivObj.innerHTML=EXPopenText}}else{EXPObj.style.height=EXPcloseH+"px";EXPObj.TGotoLabel("/","banner");clearInterval(EXP_moveID)}}};EXP_moveID=setInterval(B,20)}function EXPSWF_DoFSCommand(B,A){if(B=="close_click"){if(A<EXPmaxURL){EXPopenWindow(EXPjp(10+Number(A),"close_click"+A,EXPURL[A]),EXPtarget[A])}else{EXPopenWindow(EXPjp(3,"close_click",EXPURL[0]),EXPtarget[0])}}else{if(B=="open_click"){if(A<EXPmaxURL){EXPopenWindow(EXPjp(20+Number(A),"open_click"+A,EXPURL[A]),EXPtarget[A])}else{EXPopenWindow(EXPjp(4,"open_click",EXPURL[0]),EXPtarget[0])}}else{if(B=="survey"){window.open(EXPjp0(3,"survey",EXPsurveyURL))}else{if(B=="open"){EXPmoveIt(true);EXPautoCloseID==undefined?EXPautoCloseID:clearInterval(EXPautoCloseID);EXPjp0(1,"open","")}else{if(B=="close"){EXPmoveIt(false);EXPautoCloseID==undefined?EXPautoCloseID:clearInterval(EXPautoCloseID);EXPjp0(2,"close","")}}}}}}function EXP_txtCommand(A){		if(A=="open"){EXPmoveIt(true);EXPautoCloseID==undefined?EXPautoCloseID:clearInterval(EXPautoCloseID);EXPjp0(4,"txt_open","")}else{if(A=="close"){EXPmoveIt(false);EXPautoCloseID==undefined?EXPautoCloseID:clearInterval(EXPautoCloseID);EXPjp0(5,"txt_close","")}else{if(A=="text_click"){EXPopenWindow(EXPjp(5,"text_click",EXPURL[0]),EXPtarget[0])}}}}function EXPautoClose(){EXPtimer++;if(EXPtimer>=EXPAutoCloseSec){EXPmoveIt(false);EXPtimer=0;EXPjp0(-1,"done","");EXPautoCloseID==undefined?EXPautoCloseID:clearInterval(EXPautoCloseID)}}var EXPautoCloseID;function EXPsetloadSWF(){if(EXPObj.PercentLoaded()>=100){if(EXPflag){EXPObj.TGotoLabel("/","first");EXPautoCloseID=setInterval("EXPautoClose()",1000);EXPjp0(-2,"adplay","")}else{EXPObj.TGotoLabel("/","banner")}clearInterval(EXPloadSWF)}else{EXPObj.TGotoLabel("/","banner")}}EXPdetectFlash();var EXPcookie=new _EXPcookie(EXPad,EXPcaps,EXPexpireDay),EXPflag=EXPcookie.isCap,EXPReach=EXPcookie.isReach;if(EXPReach){EXPjp0(-3,"reach","")}var EXPHnow=EXPflag?EXPopenH:EXPcloseH;if(EXPplugin&&EXPshowAD()){document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+EXPversion+",0,0,0 id=EXPSWF width="+EXPW+" height="+EXPHnow+"><param name=scale value=noscale><param name=salign value=t><param name=menu value=false><param name=movie value="+EXPdir+EXPfile+"?domain="+EXPdomain+"><param name=wmode value=opaque><param name=quality value=high><param name=allowScriptAccess value=always><embed src="+EXPdir+EXPfile+"?domain="+EXPdomain+" loop=true wmode=opaque menu=false quality=high swLiveConnect=true name=EXPSWF allowScriptAccess=always menu=false width="+EXPW+" height="+EXPHnow+' scale=noscale salign=t type="application/x-shockwave-flash" pluginpage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"><\/embed><\/object>');document.write("<script language=vbscript>\n");document.write("on error resume next\nSub EXPSWF_FSCommand(ByVal command, ByVal args)\ncall EXPSWF_DoFSCommand(command, args)\nend sub\n");document.write("<\/script>\n");if(EXPisText){var EXP_txt=EXPflag?"close":"open";var EXPopenText="<a href=javascript:EXP_txtCommand('text_click');>"+EXP_txtURL+"<\/a> - <a href=javascript:EXP_txtCommand('open');>"+EXP_txtOpen+"<\/a>";var EXPcloseText="<a href=javascript:EXP_txtCommand('text_click');>"+EXP_txtURL+"<\/a> - <a href=javascript:EXP_txtCommand('close');>"+EXP_txtClose+"<\/a>";var EXP_txtNow=EXPflag?EXPcloseText:EXPopenText;document.write('<div align=center id=EXPdiv style="margin-top:2px;font-size:11;">'+EXP_txtNow+"<\/div>")}if(EXPmyBrw=="firefox"){var EXPObj=EXPbannerObj.EXPSWF}else{var EXPObj=document.getElementById("EXPSWF")}var EXPObj=(EXPmyBrw=="firefox")?EXPbannerObj.EXPSWF:document.getElementById("EXPSWF");var EXPdivObj=document.getElementById("EXPdiv");var EXPloadSWF=setInterval("EXPsetloadSWF()",50);EXPObj.style.height=EXPHnow+"px"}else{if(EXPURL[0]!=""){document.write("<a href=\"javascript:EXPopenWindow(EXPjp(2,'altimg', '"+EXPURL[0]+"'), '"+EXPtarget[0]+"');\"><img src="+EXPdir+EXPaltimg+" width="+EXPW+" height="+EXPcloseH+" border=0><\/a>")}else{document.write("<img src="+EXPdir+EXPaltimg+" width="+EXPW+" height="+EXPcloseH+" border=0>")}}
