function ObjectAD(){this.ADID=0;this.ADType=0;this.ADName="";this.ImgUrl="";this.ImgWidth=0;this.ImgHeight=0;this.FlashWmode=0;this.LinkUrl="";this.LinkTarget=0;this.LinkAlt="";this.Priority=0;this.CountView=0;this.CountClick=0;this.InstallDir="/templates/default/";this.ADDIR="";this.OverdueDate="2013/01/30"}function BannerZoneAD(A){this.adNum=0;this.adDelay=6000;this.ID=A;this.ZoneID=0;this.ZoneName="";this.ZoneWidth=0;this.ZoneHeight=0;this.ShowType=1;this.DivName="";this.Div=null;this.AllAD=new Array();this.ShowAD=null;this.AddAD=BannerZoneAD_AddAD;this.Show=BannerZoneAD_Show}function BannerZoneAD_AddAD(C){var D=new Date();var B=D.getFullYear()+"/"+(D.getMonth()+1)+"/"+D.getDate();var E=new Date(B);var A=new Date(C.OverdueDate);if(E<=A){this.AllAD[this.AllAD.length]=C}}function BannerZoneAD_Show(){var H=this.ZoneWidth;var B=this.ZoneHeight;var C=this.AllAD[0].InstallDir+"images/";var G="0xFFFFFF|0x2|0099FF|15|0xFFFFFF|0x0099FF|0x000000|8|3|1|_blank";var E="";var D="";var F="";for(var A in this.AllAD){if(A<this.AllAD.length-1){imgurl=this.AllAD[A].ImgUrl.toLowerCase();if(this.AllAD[A].InstallDir.indexOf("http://")!=-1){imgurl=o.InstallDir.substr(0,this.AllAD[A].InstallDir.length-1)+imgurl}E+=imgurl+"|";D+=this.AllAD[A].LinkUrl+"|";F+="|"}else{E+=this.AllAD[A].ImgUrl;D+=this.AllAD[A].LinkUrl}}document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+H+'" height="'+B+'">');document.write('<param name="movie" value="'+C+'photoplayer.swf">');document.write('<param name="quality" value="high">');document.write('<param name="menu" value="false">');document.write('<param name="wmode" value="opaque">');document.write('<param name="FlashVars" value="bcastr_config='+G+"&amp;bcastr_file="+E+"&amp;bcastr_link="+D+"&amp;bcastr_title="+F+'">');document.write('<embed src="'+C+'photoplayer.swf" wmode="opaque" FlashVars="bcastr_config='+G+"&amp;bcastr_file="+E+"&amp;bcastr_link="+D+"&amp;bcastr_title="+F+'" menu="false" quality="high" width="'+H+'" height="'+B+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');document.write("</object>")};
