function hover(obj) {
    ul = obj.getElementsByTagName('ul');
    if(ul.length > 0) {
        style = ul[0].style;
        if(style.display == '' || style.display == 'none') {
            style.display = 'block';
        }
        else {
            style.display = 'none';
        }
    }
}


			
function setHover() {
    if(/MSIE/.test(navigator.userAgent)) {
        li= document.getElementById('menu').getElementsByTagName('li');
        for(var i=0; i<li.length; i++) {
            li[i].onmouseover= function(){hover(this)};
            li[i].onmouseout= function(){hover(this)};
        }
    }
}