function over(name) {
   var tdel = document.getElementById(name);
   if (tdel.className.indexOf(" dropdownover") == -1) tdel.className += " dropdownover";
}

function out(name) {
   var tdel = document.getElementById(name);
   tdel.className = tdel.className.replace(" dropdownover","");
}

function setHeights() {					
	var bodycell = document.getElementById('BodyCell');				
	h = pageHeight() - 150;								
	if (h >= bodycell.scrollHeight) {bodycell.style.height=bodycell.scrollHeight;return;}
	bodycell.style.height = h;								
}	

function pageHeight() {
	return window.innerHeight != null? window.innerHeight:
		 document.documentElement && document.documentElement.clientHeight ? 
		 document.documentElement.clientHeight:document.body != null? 
		 document.body.clientHeight:null;}

window.onload = setHeights;
window.onresize = setHeights;

