    var time = 3000;
    var h = 0;
    function addCount()
    {
        if(time>0)
        {
            time--;
            h = h+50;
        }
        else
        {
            return;
        }
        if(h>350)  //高度
        {
            return;
        }
        document.getElementById("mygg").style.display = "";
        document.getElementById("mygg").style.height = h+"px";
        setTimeout("addCount()",30); 
    }
    
   function showmygg()
    {
       // addCount();setTimeout("nonemygg()",5000); //停留时间自己适当调整
    }
  
    var T = 30;
    var N = 350; //高度
    function nonemygg()
    {
        if(T>0)
        {
            T--;
            N = N-12;
        }
        else
        {
            return;
        }
        if(N<0)
        {
            document.getElementById("mygg").style.display = "none";
            return;
        }
        
        document.getElementById("mygg").style.height = N+"px";
        setTimeout("nonemygg()",10); 
    }
//document.writeln("    <div id=\"mygg\" style=\"margin:auto; display:none; width:950px; top:0px; height:0px; border:solid 1px #000; background-color:#fafafa; overflow:hidden; position:relative; text-align:center;\">");
//document.writeln("      <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=7,0,19,0\" width=\"950\" height=\"350\" >");
//document.writeln("	  <param name=\"wmode\"  value=\"transparent\"> ");
//document.writeln("          <param name=\"movie\" value=\"\/images\/flash_shouye.swf\" \/>");
//document.writeln("          <param name=\"quality\" value=\"high\" \/>");
//document.writeln("          <embed src=\"\/images\/flash_shouye.swf\" quality=\"high\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" type=\"application\/x-shockwave-flash\" width=\"950\" height=\"350\"><\/embed>");
//document.writeln("      <\/object>");
//document.writeln("	   <div  style=\"position:absolute; bottom:0px; right:0px; z-index:1000;\" ><a href=\"#\" onclick=\"nonemygg();return false;\"><img border=\"0\" src=\"\/image\/close.gif\" \/><\/a><\/div>");
//document.writeln("    <\/div>");
 