// JavaScript Document
function toogle(IdDIV) { 
	var div = document.getElementById(IdDIV); 
	if(parseInt(div.style.height) == 0) { 
		show(true, div); 
	} else { 
		show(false, div); 
	}
}

function show(_show, div) { 
	if(_show) { 
		if(parseInt(div.style.height) < div.scrollHeight) {
			div.style.height = parseInt(div.style.height) + 5 + 'px';
			setTimeout(function() { show(_show, div); }, 1);
			 
		}
	} else {
	if(parseInt(div.style.height) > 0) { 
			div.style.height = (parseInt(div.style.height) - 5) + 'px'; 
			setTimeout(function() { show(_show, div); }, 1);
		}
	}
}


