// iP DropDown Menus v2.0
function activateMenu(nav) {
   var navroot = document.getElementById(nav);     
   /* Get all the list items within the menu */
   if (navroot) {
     var lis = navroot.getElementsByTagName("LI");  
     /*var ifrRef = navroot.getElementsByTagName("IFRAME"); */
     
     for (i=0; i<lis.length; i++) {
       /* If the LI has another menu level */
       if(lis[i].lastChild.tagName=="UL"){   
         /* assign the function to the LI */
         lis[i].onmouseover=function() {	      
           /* display the inner menu */
           this.lastChild.style.display="block";
	   /* MM_showHideLayers('selOne','','hide') */
           this.lastChild.firstChild.style.width = this.lastChild.offsetWidth;
    	   this.lastChild.firstChild.style.height = this.lastChild.offsetHeight;
           this.lastChild.firstChild.style.top = 0;
      	   this.lastChild.firstChild.style.left = 0;
   	   this.lastChild.firstChild.style.zIndex = this.lastChild.style.zIndex - 1;
    	   this.lastChild.firstChild.style.display = "block";
         }
         lis[i].onmouseout=function() {                       
           this.lastChild.style.display="none";
	   /* MM_showHideLayers('selOne','','show'); */
	   this.lastChild.firstChild.style.display = "none";
         }
       }
     }
   }
}
window.onload = function(){
    activateMenu('ulNav'); 
}