setMenuIE = function(){

	if(document.all && document.getElementById && document.getElementById('mn-main'))

	{

		var sfEls = document.getElementById("mn-main").getElementsByTagName("LI");

		for (var i=0; i<sfEls.length; i++) {

			sfEls[i].onmouseover=function() {

				this.className+=" over";

			}

			sfEls[i].onmouseout=function() {

				this.className=this.className.replace(new RegExp(" over\\b"), "");

			}

		}

	}

}





function addEvent(func) {

	if (!window.__load_events) {

		var init = function ()

		{

			if (arguments.callee.done) return;

			arguments.callee.done = true;

			if (window.__load_timer)

			{

				clearInterval(window.__load_timer);

				window.__load_timer = null;

			}

			for (var i=0;i < window.__load_events.length;i++)

			{

				window.__load_events[i]();

			}

			window.__load_events = null;

		};

	if (document.addEventListener){

		document.addEventListener("DOMContentLoaded", init, false);

	}

	// for Internet Explorer

	/*@cc_on @*/

	/*@if (@_win32)

	document.write("<scr"+"ipt id=__ie_onload defer src=javascript:void(0)><\/scr"+"ipt>");

	var script = document.getElementById("__ie_onload");

	script.onreadystatechange = function() {

	if (this.readyState == "complete") {

		init(); // call the onload handler

	}

	};

	/*@end @*/

	// for Safari

	if (/KHTML|WebKit/i.test(navigator.userAgent)) { // sniff

		window.__load_timer = setInterval(function() {

			if (/loaded|complete/.test(document.readyState)) {

				init(); // call the onload handler

			}

		}, 10);

	}

	window.onload = init;

	window.__load_events = [];

	}

	window.__load_events.push(func);

}

addEvent(setMenuIE);