
// SET HEIGHT OF CONTENT DIV IF IT IS SHORTER THAN SIDE NAV
	function set_height(){
		var bodyHeight = document.body.clientHeight	
		if (bodyHeight < 600){
			document.getElementById("content").style.height='530'
		}
	}

l=0
closeTimer = null;

// DROPDOWN NAV CODE
	function showdrop(n,h){		
		if(l==0){ //if you have not rolledover an item yet, ignore this code
			
		}
		else{ //if you have rolled over an item, set the last item to display:none
			document.getElementById(l).style.display='none'
		}
		
		l=n	//set currentrollover to l
		
		document.getElementById(n).style.display='block'
		document.getElementById(n).style.left=h+'px'
		cancel_close()
	}
	
	function no_showdrop(n){	
		closeTimer = window.setTimeout(closeit, 300);
		
		function closeit(){
			document.getElementById(n).style.display='none'
		}
	}
	
	function cancel_close(){
		if(closeTimer!=null){
			window.clearTimeout(closeTimer);
			closeTimer = null;
		}		 
	}