//workaround for style/div IE damage
explorerHover = function() {
	var LIs = document.getElementById('menu_items').getElementsByTagName('li');
	for(var n = 0; n < LIs.length; ++n) {

		LIs[n].onmouseover = function() {
			this.className += ' hover';
		}
		LIs[n].onmouseout = function() {
			this.className = this.className.replace(/hover\b/, '');
		}
	}
};

if(window.addEventListener || document.addEventListener) {
   // K-type and Opera browsers will work without this Javascript
}
else if(window.attachEvent) {
   // PC Internet Explorer
   window.attachEvent("onload", explorerHover);
}
else {
   // Mac Internet Explorer
   if(typeof window.onload == 'function') {
      var existingFunction = onload;
      window.onload = function() {
         existingFunction();
         explorerHover();
      };
   }
   else {
      window.onload = explorerHover;
   }
}

function mwopen(nav) {
	navWindow = window.open(nav, 'mike_walker_limeric', 'status=no,menubar=no,scrollbars=yes,resizable=no,width=760,height=600,top=30')
	navWindow.focus()
}
