// JavaScript Document
sfHover = function() {
		var sfEls = document.getElementById("topnav").getElementsByTagName("LI");	

		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				if(this.className == "tabs"){
					this.className="tabs sfhover1";
				}
				
				if(this.className == "parent"){
					this.className="parent sfhover2";
				}
				
			}
			
			sfEls[i].onmouseout=function() {
				if(this.className == "tabs sfhover1"){
					this.className=this.className.replace(new RegExp(" sfhover1\\b"), "");
				}

				if(this.className == "parent sfhover2"){
					this.className=this.className.replace(new RegExp(" sfhover2\\b"), "");
				}
				
			}
		}
	}
	
if (window.attachEvent) window.attachEvent("onload", sfHover);
