
/////////////////////////////////////////////////////////////////////

function hoverOn(obj, side){
	document.getElementById(side).style.borderBottom = '5px solid #000';
	if(side == 'right'){
		document.getElementById(side).style.borderRight = '5px solid #000';
	} else {
		document.getElementById(side).style.borderLeft = '5px solid #000';
	}
	document.getElementById(side).style.borderTop = '5px solid #000';
	
	//document.getElementById('rightBottom').style.backgroundColor = '#000000';
}

function hoverOff(obj, side){
	
	document.getElementById(side).style.borderBottom = '0px solid #FF3333';
	if(side == 'right'){
		document.getElementById(side).style.borderRight = '0px solid #FF3333';
	} else {
		document.getElementById(side).style.borderLeft = '0px solid #FF3333';
	}
	document.getElementById(side).style.borderTop = '0px solid #FF3333';
	
	//document.getElementById('rightBottom').style.backgroundColor = '#FFFFFF';
}


//////////////////////////////////////////////////////



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);

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);

