// JavaScript Document
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			if(this.parentNode.id=="nav") {this.className=" sfhhover"; }
			else  this.className=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			this.className=this.className.replace(new RegExp(" sfhhover\\b"), " sfhome");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function mouseLink(id,nm,tp)
{
	if (tp=="hv")
	{
		document.getElementById(id).src="images/"+nm+"b.jpg";
	}
	else
	{
		document.getElementById(id).src="images/"+nm+"a.jpg";
	}
}

function mouseLink2(id,nm,tp,plid)
{
	if (tp=="hv")
	{
		document.getElementById(id).src="images/"+nm+"b.jpg";
		document.getElementById(plid).style.color="#000000";
	}
	else
	{
		document.getElementById(id).src="images/"+nm+"a.jpg";
		document.getElementById(plid).style.color="#FFFFFF";
	}
}

function mouseLink3(id,nm,tp,plid,plid2)
{
	if (tp=="hv")
	{
		document.getElementById(id).src="images/"+nm+"b.jpg";
		document.getElementById(plid).style.color="#000000";
		document.getElementById(plid2).style.color="#000000";
	}
	else
	{
		document.getElementById(id).src="images/"+nm+"a.jpg";
		document.getElementById(plid).style.color="#FFFFFF";
		document.getElementById(plid2).style.color="#FFFFFF";
	}
}