document.write('<center>');
document.write('<div id=\"gfads\" style=\"margin:auto;display:none;width:1003px; top:0px; height:0px; overflow:hidden; text-align:center;\" align=\"center\">');
document.write('<img src=\"gf_chunjie\/new-year.jpg\" border=\"0\" \/>');
document.write('<\/div>');
document.write('<\/center>');

    var gftime = 1000;
    var gfh = 0;
    function gfaddCount()
    {
        if(gftime>0)
        {
            gftime--;
            gfh = gfh+5;
        }
        else
        {
            return;
        }
        if(gfh>298)  //高度
        {
            return;
        }
        document.getElementById("gfads").style.display = "";
        document.getElementById("gfads").style.height = gfh+"px";
        setTimeout("gfaddCount()",30);
    }
    
      function gfshowAds()
    {
        gfaddCount();
        setTimeout("gfnoneAds()",8000); //停留时间自己适当调整
    }
	if(window.ActiveXObject){
	    window.attachEvent("onload",gfshowAds);//IE
	}
	else{
	    window.addEventListener("load",gfshowAds);//fireFox或其他
	}
    var gfT = 500;
    var gfN = 298; //高度
    function gfnoneAds()
    {        
        if(gfN<0 ||gfN==0)
        {
            document.getElementById("gfads").style.display = "none";
            return;
        }else{
	document.getElementById("gfads").style.height = gfN+"px";
        setTimeout("gfnoneAds()",30); 
	}

        if(gfT>0)
        {
            gfT--;
            gfN = gfN-5;
        }
        else
        {
            return;
        }
        
    }
