function pushDiv(){
	SetCookie("pushDiv","pushDiv");
	SetCookie("pushHeight","180");
	SetCookie("pushTime","10");
	SetCookie("smallTime","10");
	SetCookie("pauseTime","120");
	
	obj=document.getElementById(GetCookie("pushDiv"));
	obj.style.display="block";
	
	toLarge(GetCookie("pushTime"));
}
function toLarge(time){	
	obj=document.getElementById(GetCookie("pushDiv"));
	allTime=GetCookie("pushTime");
	thisTime=time;
	percent=(allTime-thisTime)/allTime;
	obj.style.height=GetCookie("pushHeight")*percent+"px";
	//obj.innerHTML=obj.style.height;	///----------
	nextTime=thisTime-1;
	xxx = setTimeout("toLarge("+nextTime+")",1);
	if(nextTime<0){
		clearTimeout(xxx);
		document.getElementById("pushDivClose").style.display="block";
		pausing(GetCookie("pauseTime"));
	}
}
function pausing(time){
	nextTime=time-1;
	//obj.innerHTML="pasuse:"+time;	///----------
	xxx	= setTimeout("pausing("+nextTime+")",1000);
	if(nextTime<0){
		clearTimeout(xxx);
		toSmall(GetCookie("smallTime"));
	}
}
function toSmall(time){
	obj=document.getElementById(GetCookie("pushDiv"));
	allTime=GetCookie("smallTime");
	thisTime=time;
	percent=(allTime-thisTime)/allTime;
	obj.style.height=GetCookie("pushHeight")*(1-percent)+"px";
	//obj.innerHTML=obj.style.height;	///----------
	if(GetCookie("pushHeight")*(1-percent)<22)
		document.getElementById("pushDivClose").style.display="none";
	nextTime=thisTime-1;
	xxx = setTimeout("toSmall("+nextTime+")",1);
	if(nextTime<0){
		clearTimeout(xxx);
		obj.style.display="none";
	}
}