全屏广告代码
<!--全屏开始--><!--interstitial begin-->
<SCRIPT language=JavaScript>
<!--
//时间计算
SYfullscreen=false;
today=new Date();
function testdate()
{
<!--81B4641CE509-->//全屏开始
if(today.getHours()>='0' && today.getHours()<'24')
{
adInterPath='ad.swf';SYfullscreen=true
}<!--$$ limeng/2007-9-5 17:00:01 ~ 2007-9-5 17:59:59/B $-->
}
testdate();
var MSIE=navigator.userAgent.indexOf("MSIE");
var OPER=navigator.userAgent.indexOf("Opera");
if(SYfullscreen==true)
{
if (document.all && MSIE!=-1 && OPER==-1) {
// this is a 4.x browser, no?
function changediv(){
document.getElementById('hiddenLayer').style.display = "block";
document.getElementById('interstitialFrame').src = adInterPath;
setTimeout("hidediv()",5000)
}
function hidediv(){
document.getElementById('hiddenLayer').style.display="none";
SYtag=2;
}
function showfull(){
setTimeout("changediv()",2000);
}
showfull();
}
}
// -->
</SCRIPT>
<SCRIPT language=JavaScript>
<!--
if(SYfullscreen==true)
{
if (document.all && MSIE!=-1 && OPER==-1) {
// this is a 4.x browser, no?
document.write('<DIV ID="hiddenLayer" style="display: none; height: 450px;">');
expandableIframe = '<IFRAME id="interstitialframe" width=942 HEIGHT=450 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0></IFRAME>';
document.write(expandableIframe);
}
document.write('</div>');
}
// -->
</SCRIPT>
<!--interstitial end--><!--全屏结束-->