<!--//--><![CDATA[//><!--

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"), "");
		}
	}
	
	sfEls = document.getElementById("nav").getElementsByTagName("A");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			window.status = this.title;
			this.className+=" sfhover";
			return true;
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			window.status = "";
			return true;
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function ClearStatusBar()
{
	window.status = '';

	return true;
}

function SetStatusBar( Link )
{
	window.status = document.getElementById("link" + Link).title;

	return true;
}

function FlipImage( ImageID, NewImage, onoff )
{
	document.getElementById( "menu" + ImageID ).src = NewImage;
	
	if ( onoff == "on" )
	{
		SetStatusBar( ImageID );
	}
	else
	{
		ClearStatusBar();
	}

	return true;
}

function ValidatePups()
{
	if ( PupsForm.PUP_NAME.value == "" )
	{
		alert("Please enter a name");
		
		PupsForm.PUP_NAME.focus();
		
		return (false);
	}

	return true;
}

//--><!]]>
