    var T = 5000;
    var MaxHeight = 300; //最大高度
	var MinHeight = 30; //最小高度
    
    window.onload = function showAds()
    {
        setTimeout("moveDiv()",T); //停留时间自己适当调整
    }
	
   
   function moveDiv()
    {
        if(MaxHeight > MinHeight)
        {
            MaxHeight = MaxHeight-5;
			document.getElementById("DIVmove1").style.height = MaxHeight+"px";
        }else{
            document.getElementById("DIVmove1").style.display = "none";
			//document.getElementById("DIVmove2").style.display = "";
            return;
        }
        setTimeout("moveDiv()",30); 
    }
	

