    var time =500;
    var h = 0;
    function topadCount()
    {
        if(time>0)
        {
            time--;
            h = h+5;
        }
        else
        {
            return;
        }
        if(h>160)  //高度
        {
            return;
        }
        document.getElementById("topad").style.display = "";
        document.getElementById("topad").style.height = h+"px";
        setTimeout("topadCount()",50);
    }

   function showAds()
    {
        topadCount();
        setTimeout("topnoneAds()",10000); //停留时间自己适当调整
    }

    var T = 160;
    var N = 160; //高度
    function topnoneAds()
    {
        if(T>0)
        {
            T--;
            N = N-40;
        }
        else
        {
            return;
        }
        if(N<0)
        {
            document.getElementById("topad").style.display = "none";
            return;
        }

        document.getElementById("topad").style.height = N+"px";
        setTimeout("topnoneAds()",20);
    }
  // document.writeln(" <table width=\"995\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">")
//document.writeln(" <tr>")
//document.writeln(" <td align=\"center\"><a href=\"http:\/\/www.seaying.com\/\" target=\"_blank\"><img src=\"ad\/1\/hy110901_2.gif\" width=\"995\" height=\"80\" border=\"0\" \/><\/a><\/td>")
//document.writeln(" <\/tr>")
//document.writeln(" <tr><td height=\"3\"><\/td><\/tr>")
//document.writeln("<\/table>")
    document.writeln("<div id=\"topad\" style=\"margin:auto; display:none;top:0px; height:0px; overflow:hidden; text-align:center;margin-top:0px; margin-bottom:0px;\">");
document.writeln("<a href=\"http:\/\/www.crewcn.com\/pers\/reg.asp\" target=\"_blank\"><img src=\"ad\/gg_index_top01.jpg\" border=\"0\" \/><\/a>");
document.writeln("<\/div>");
showAds();
//document.writeln("<div align=\"center\" height=\"30\"><b><font color=\"#FF0000\">近期国家大力打击低俗网站，所有机房将陆续断网检查，为配合相关部门审查本站假如出现断网现象请大家耐心等待，我们会在最短的时间内恢复网络<\/font><\/b><\/div>")

