/* Autheur : Doo Yul Kim
	This function simulates the hover effect on li tag for IE 6.
*/
hover = function() {
	var hoverEls = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<hoverEls.length; i++) {
		hoverEls[i].onmouseover=function() {
			this.className +="_hover hover";
		}
		hoverEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("_hover hover\\b"), "");
		}
	}
}

//Make this fuction work only for internet explorer 6.
if(navigator.appName == 'Microsoft Internet Explorer')
{
	var version = parseFloat((new RegExp("MSIE ([0-9]+[.0-9]*)")).exec(navigator.userAgent)[1]);
	if(version <= 6)
	{
		window.attachEvent("onload", hover);
	}
}

