function changeIt() {
	if (!document.styleSheets) return;
	var theRules = new Array();
	var oLength;
	if (document.styleSheets[0].cssRules) {
		theRules = document.styleSheets[0].cssRules;
		oLength = document.styleSheets[0].cssRules.length;
	} else if (document.styleSheets[0].rules) {
		theRules = document.styleSheets[0].rules;
		oLength = document.styleSheets[0].rules.length;
	} else return;
	//document.styleSheets[0].insertRule('#menu-container { padding: 0 0 2.4em 0; }', oLength);
	//document.styleSheets[0].addRule('#menu-container','padding: 0 0 2em 0');
}

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"), "");
		}
	}
	//deal with stupid screen sizes
}

if (window.attachEvent) window.attachEvent("onload", sfHover);
