function initMenu(){
	var holder = document.getElementById('menu')
	if(holder){
		var list = holder.getElementsByTagName('li');
		for(i = 0; i < list.length; i++){
			list[i].onmouseover = function(){
				this.className += ' hover';
			}
			list[i].onmouseout = function(){
				this.className = this.className.replace('hover', '');
			}
		}
	}
}

if (window.attachEvent){
	window.attachEvent('onload', initMenu);
}
