/*

Mike's Calendar script popup thingifier. Make's link mouseover popups work in browsers that do not support toggling
the display or visibility property of element x (for example) in a css statement such as: *:hover x{}

*/
function enableMenus(){

	if(document.getElementById){
		var y=document.getElementById('lnav');
		var x=y.getElementsByTagName('DIV');
		for(var i=0; i < x.length; i++){
			if(x[i].className == 'lnav_submenu'){
				x[i].parentNode.onmouseover=function(){//targets the TD
					for(k=0;k<this.childNodes.length;k++){
	
						if(this.childNodes[k].tagName == 'DIV' && this.childNodes[k].className == 'lnav_submenu'){
							var bubble=this.childNodes[k];
							bubble.style.visibility='visible';
						}
					}
				}
				x[i].parentNode.onmouseout=function(){//targets the TD
					for(k=0;k<this.childNodes.length;k++){
						if(this.childNodes[k].tagName == 'DIV' && this.childNodes[k].className == 'lnav_submenu'){
							var bubble=this.childNodes[k];
							bubble.style.visibility='hidden';
						}
					}
				}
			}
		}
	}
}