|
<SPAN style="FONT-SIZE: 12px" twffan="done">&lt;table width=760 border=0 cellspacing=0 cellpadding=0&gt;<BR>&lt;tr&gt;<BR>&lt;td align=center&gt;&lt;!--interstitial begin--&gt;<BR>&lt;script language="&#106avascript"&gt; <BR>&lt;!--<BR>//时间计算<BR>SYfullscreen=false;<BR>today=new Date();<BR>function testdate()<BR>{<BR>&lt;!--D339B424C314--&gt;<BR>//全屏开始如果是9点到10则显示下面的图片<BR>if(today.getHours()&gt;='1' && today.getHours()&lt;'23')<BR>{ <BR> adInterPath='http://auto.263.net/auto_lib/file/dealer/yfstudio/jl/flash/300-300kanche.swf';SYfullscreen=true <BR>}<BR>&lt;!--A67C2659380C--&gt;<BR>//全屏开始如果是10点到11点则是下面的图片<BR>if(today.getHours()&gt;='0' && today.getHours()&lt;'1')<BR>{ <BR> adInterPath='http://auto.263.net/auto_lib/file/dealer/yfstudio/jl/flash/468-95.swf';SYfullscreen=true <BR>}<BR>}<BR>testdate();<BR><BR>if(SYfullscreen==true)<BR>{<BR> if (document.all) { <BR> // this is a 4.x browser, no? <BR> document.write('&lt;SCRI' 'PT LANGUAGE="&#106avascript1.2"'); <BR> document.writeln(' SRC="time.js"&gt;&lt;/SCR' 'IPT&gt;'); //显示时间与停留时间的js文件路径<BR> }<BR>}<BR>// --&gt;<BR>&lt;/script&gt;<BR>&lt;script language="&#106avascript"&gt; <BR>&lt;!--<BR>if(SYfullscreen==true)<BR>{<BR> if (document.all) { <BR> // this is a 4.x browser, no? <BR> document.write('&lt;DIV ID="hiddenLayer" style="display: none; height: 450px;"&gt;');<BR> if (getsGlu) {<BR> expandableIframe = '&lt;IFRAME id="interstitialframe" width=750 HEIGHT=450 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0&gt;&lt;/IFRAME&gt;';<BR> document.write(expandableIframe);<BR> }<BR>}<BR>document.write('&lt;/div&gt;');<BR>}<BR>// --&gt;<BR>&lt;/script&gt;<BR>------------------------------------<BR>上面的放在body下面其中有一个外部引用的js文件,<BR>--------------------------------<BR>var ads_agt=navigator.userAgent.toLowerCase();<BR>var ads_is_major = parseInt(navigator.appVersion);<BR><BR>var ads_is_ie = ((ads_agt.indexOf("msie") != -1) && (ads_agt.indexOf("opera") == -1) && (ads_agt.indexOf("omniweb") == -1));<BR>var ads_is_ie3 = (ads_is_ie && (ads_is_major &lt; 4));<BR>var ads_is_ie4 = (ads_is_ie && (ads_is_major == 4) && (ads_agt.indexOf("msie 5")==-1) && (ads_agt.indexOf("msie 6")==-1));<BR>var ads_is_ie4up = (ads_is_ie && (ads_is_major &gt;= 4));<BR>var ads_is_ie5 = (ads_is_ie && (ads_is_major == 4) && (ads_agt.indexOf("msie 5.0")!=-1) );<BR>var ads_is_ie5up = (ads_is_ie && !ads_is_ie3 && !ads_is_ie4);<BR>var ads_is_ie5_1_macbeta = (ads_is_ie && (ads_agt.indexOf("mac")!=-1) && (ads_agt.indexOf("5.1b")!=-1));<BR><BR>var ads_is_nav = ((ads_agt.indexOf('mozilla')!=-1) && (ads_agt.indexOf('spoofer')==-1)<BR> && (ads_agt.indexOf('compatible') == -1) && (ads_agt.indexOf('opera')==-1)<BR> && (ads_agt.indexOf('webtv')==-1));<BR>var ads_is_nav6 = (ads_is_nav && (ads_agt.indexOf("netscape6")!=-1) && (ads_agt.indexOf("6.1")==-1));<BR>var ads_is_nav6up = (ads_is_nav && !ads_is_nav4 && !ads_is_nav3 && !ads_is_nav2);<BR>var ads_is_nav6_1 = (ads_is_nav && (ads_agt.indexOf("netscape6")!=-1) && (ads_agt.indexOf("6.1")!=-1));<BR>var ads_is_nav6_1up = (ads_is_nav && !ads_is_nav6 && !ads_is_nav4 && !ads_is_nav3 && !ads_is_nav2);<BR><BR><BR>getsGlu = ((ads_is_ie5up && !ads_is_ie5_1_macbeta) || ads_is_nav6_1up);<BR><BR><BR>//function changediv(depth)<BR>//{<BR>// divAll.style.zIndex=depth<BR>// }<BR>function changediv()<BR>{<BR> document.getElementById('hiddenLayer').style.display = "block";<BR> document.getElementById('interstitialFrame').src = adInterPath;<BR> setTimeout("hidediv()",10000)<BR>}<BR>function hidediv()<BR>{<BR> document.getElementById('hiddenLayer').style.display="none";<BR> SYtag=2;<BR>}<BR>function showfull()<BR>{<BR>setTimeout("changediv()",3000);<BR>}<BR>showfull()<BR>-----------------------------------<BR>js文件内容 </SPAN> |
|