﻿sfHover = function () {
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { //test for MSIE x.x;
		var ieversion = new Number(RegExp.$1)

		if (ieversion == 6) {
			var docArray = getElsByClassName("menusan");
			var sfEls = docArray[0].getElementsByTagName("LI");

			for (var j = 0; j < sfEls.length; j++) {
				sfEls[j].onmouseover = function () {
					this.className += " sfnewhover";
				}
				sfEls[j].onmouseout = function () {
					this.className = this.className.replace(new RegExp(" sfnewhover\\b"), "");
				}
			}
		}
	}
}
if (window.attachEvent) {
	window.attachEvent("onload", sfHover);
}
