<!--
//Ê±¼ä¼ÆËã
SYfullscreen=false;
today=new Date();
function testdate(chno)
{
adInterPath='/ad/adfullscreen.php?c='+chno;SYfullscreen=true
}
testdate(chno);

var MSIE=navigator.userAgent.indexOf("MSIE");
var OPER=navigator.userAgent.indexOf("Opera");
var frameH=0;
var time=500;
if(SYfullscreen==true)
{
	if (document.all && MSIE!=-1 && OPER==-1) { 
	// this is a 4.x browser, no? 
function changediv(){
	if(time>0)
        {
			time--;
            frameH = frameH+5;
        }
        else
        {
            return;
        }
	 if(frameH>250)
        {
            return;
        }
	frameH=250;
	document.getElementById('hiddenLayer').style.display = "";
	//document.getElementById("hiddenLayer").style.height = frameH+"px";
	//document.getElementById('interstitialframe').style.height=frameH;
	//setTimeout("changediv()",100);
	
}


function hidediv(){
	if(frameH>0)
        {
            frameH = frameH-10;
        }
        else
        {
            return;
        }
	 if(frameH<0)
        {
            document.getElementById("hiddenLayer").style.display = "none";
            return;
        }
	document.getElementById("hiddenLayer").style.height = frameH+"px";
	document.getElementById('interstitialframe').style.height=frameH;
	setTimeout("hidediv()",150); 
}
function showfull(){
	document.getElementById('interstitialFrame').src = adInterPath;
	setTimeout("changediv()",2000);
	setTimeout("hidediv()",23000); 
}
	}
}
// -->

<!--
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: 250px;">');

		expandableIframe = '<IFRAME id="interstitialframe" width=960 HEIGHT=250 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0></IFRAME>';
		document.write(expandableIframe);
		document.write('</div>');	
}
}
// -->
