sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function fixIE(){
	var x = document.styleSheets[0];
	if(document.all){
		x.addRule('#nav li ul ul', 'margin: -.79em 0 0 0em;');
		x.addRule('.subNav', 'background-color:#f2f1f6; width: 14em; margin-left:0px; padding-left:15px; position:relative; left:-18px;');
		x.addRule('.subNav2', 'background-color:#f2f1f6; width: 14em; margin-left:0px; padding-left:15px; position:relative; left:1px;');
	}
}
