var ieHover = function() {
try{
var ul, ifr;
var arr_li = document.getElementById('nav').getElementsByTagName('li');
for(var i=0; i<arr_li.length; i++ ){
	arr_li[i].onmouseover = function(){ this.className += ' ieHover' };
	arr_li[i].onmouseout = function(){ this.className = this.className.replace(' ieHover','')};
	ul = arr_li[i].getElementsByTagName('ul')[0];
	if(ul){
		ifr = arr_li[i].appendChild(document.createElement('iframe'));
		ifr.src = 'about:blank';
		ifr.style.width = ul.offsetWidth+'px';
		ifr.style.height = ul.offsetHeight+'px';
		ifr.style.position = 'absolute';
		ifr.style.margin = 0;
		ifr.style.padding = 0;
		ifr.style.left = ul.currentStyle.left;
		ifr.style.top = ul.currentStyle.top;
		ifr.style.zIndex = 99999;
		ul.style.zIndex = ifr.style.zIndex+1;
	}
}
}
catch(e){}
}
if (window.attachEvent) window.attachEvent('onload', ieHover);
