/* Compensate for MSIE errors, thanks to Justin Koivisto, www.koivi.com */
activateMenu = function(divid) {
    if(document.all && document.getElementById(divid).currentStyle){
	// only MSIE supports document.all .. this function does nothing for FF
	var navroot = document.getElementById(divid);
	/* Get all the span items within the menu */
	var lis=navroot.getElementsByTagName("SPAN");
	for(i=0;i<lis.length;i++) {
	    lis[i].onmouseover=function(){
		if (this.lastChild.tagName=="SPAN") {
		    this.lastChild.style.display="block";
		}
	    }
	    lis[i].onmouseout=function(){
		if (this.lastChild.tagName=="SPAN") {
		    this.lastChild.style.display="none";
		}
	    }
	} // for
    } // if msie
} // function
window.onload=function(){
    activateMenu('w');
}

