<!--


var step = 5;			// Пикселей за итерацию
var dn = 10				// Время выполнения итерации


function time(obj){
	
	if(0 < (obj.style.height.substring(0, obj.style.height.indexOf('px'))*1)){
		
    	obj.style.height = obj.style.height.substring(0, obj.style.height.indexOf('px')) - step;
    	
    	setTimeout(function(){time(obj)}, dn);
    	
	}        
}


function do_start(obj){
			
	if(navigator.appName=="Netscape"){
		
		obj.style.display = 'none';
		
	}else{
	
		setTimeout(function(){time(obj)}, dn);
		
	}	
}




function time_show(limit, obj){
	
	if(limit > (obj.style.height.substring(0, obj.style.height.indexOf('px'))*1)){
		
    	obj.style.height = obj.style.height.substring(0, obj.style.height.indexOf('px'))*1 + step;
    	
    	setTimeout(function(){time_show(limit, obj)}, dn);
    	
	}        
}


function do_start_show(limit, obj){
			
	setTimeout(function(){time_show(limit, obj)}, dn);
		
}

//-->
