
<!--
//时间计算
var SYfullscreen=false;
today=new Date();
function testdate()
{//是否为五一，5-1至5-3

var theimg=document.getElementById("ads");
   if(today.getMonth()=='3')//是否为1月
		{
			if(today.getDate()>'26'&&today.getDate()<'32') 
			{
			if(theimg!=null)
			{
	             //document.getElementById("ads").innerHTML='<a href="http://www.tmxxw.com/votes/" target="_blank"><img border=0 height=60 width=996 src="tmimages/50q.jpg"/></a>';SYfullscreen=true;
	             }
			}
			
		}
		if(today.getMonth()=='3')//是否为2月
		{
			if(today.getDate()>='0'&&today.getDate()<'19') 
			{
			if(theimg!=null)
			{
	             //document.getElementById("ads").innerHTML='<a href="http://www.tmxxw.com/votes/" target="_blank"><img border=0 height=60 width=996 src="tmimages/50q.jpg"/></a>';SYfullscreen=true;
	             }
			}
			
		}
//  if(today.getMonth()=='9')//是否为10月
//		{
//			if(today.getDate()>'0'&&today.getDate()<'8' ) 
//				 
//			{
//			if(theimg!=null)
//			{
//				 document.getElementById("ads").innerHTML='<img height=420 width=1004 src="image/2010gqgt.gif"/>';SYfullscreen=true;
//				 }
//			}
//			
//		}
		
}

document.write('<div id="ads" style="margin:2 auto;" align=center></div>');
testdate();
if(today.getMonth()=='3')//是否为1月
		{
			if(today.getDate()>'26'&&today.getDate()<'32') 
			{
//showAds();
}
}
if(today.getMonth()=='3')//是否为2月
		{
			if(today.getDate()>='0'&&today.getDate()<'19') 
			{
			//showAds();
			}
			}

var thetime = 300; 
var theh = 0; 
function addCount() 
{ 
    if(thetime>0) 
    { 
        thetime--; 
        theh = theh+5; 
    } 
    else 
    { 
        return; 
    } 
    if(theh>300)  //高度 
    { 
        return; 
    } 
    document.getElementById("ads").style.display = ""; 
    document.getElementById("ads").style.height = theh+"px"; 
    setTimeout("addCount()",30); 
} 
function showAds() 
{ 
    //addCount(); 
    setTimeout("noneAds()",60000); //停留时间自己调了 
    
} 
function hid()
{
    document.getElementById("ads").style.display = "none"; 
}

var theT = 60; 
var theN = 60; //高度 
function noneAds() 
{ 
    if(theT>0) 
    { 
        theT--; 
        theN = theN-5; 
    } 
    else 
    { 
        return; 
    } 
    if(theN<0) 
    { 
        document.getElementById("ads").style.display = "none"; 
        return; 
    } 
    document.getElementById("ads").style.height = theN+"px"; 
    setTimeout("noneAds()",30); 
} 





