
/* hide select elements and prevent from showing through flyouts */
/*activateMenu = function(nav) {
	if (document.all && document.getElementById(nav).currentStyle) {  
		var navroot = document.getElementById(nav);
		var lis=navroot.getElementsByTagName("LI");  
		for (i=0; i<lis.length; i++) {
			if(lis[i].lastChild.tagName=="UL"){
				lis[i].onmouseover=function() {		
					this.lastChild.style.display="block";
					formSelects = document.getElementById('mainnav').getElementsByTagName('select');
					for (j=0; j<lis.length; j++) {
						formSelects[j].style.visibility = 'hidden';
					}
				}
				lis[i].onmouseout=function() {                       
					this.lastChild.style.display="none";
					formSelects = document.getElementById('mainnav').getElementsByTagName('select');
					for (j=0; j<lis.length; j++) {
						formSelects[j].style.visibility = 'visible';
					}
				}
			}
		}
	}
}

window.onload= function(){
   activateMenu('naverdoodle');  
}
*/
/* use this version if you don't want to hide select elements (they'll peek through flyouts) */

activateMenu = function(nav) {
	if (document.all && document.getElementById(nav).currentStyle) {  
		var navroot = document.getElementById(nav);
		var lis=navroot.getElementsByTagName("LI");  
		for (i=0; i<lis.length; i++) {
			if(lis[i].lastChild.tagName=="UL"){
				lis[i].onmouseover=function() {		
				   this.lastChild.style.display="block";
				}
				lis[i].onmouseout=function() {                       
					this.lastChild.style.display="none";
				}
			}
		}
	}
}

window.onload= function(){
   activateMenu('naverdoodle');   
}
