
//this document is poorly named
//this actually contains functions that are used on every page of the www site
//including things like mouseover events, etc.

//change content from visible to hidden or vice versa
function changeDisplay(id)
{

	if ((id == null) || (id.length == 0))
	{

		//do nothing

	}
	else
	{

		if (id.style.display == 'none')
		{

			id.style.display = '';

		}
		else
		{

			id.style.display = 'none';

		}

	}

}

//routine to perform when the page loads
function forLoad()
{
	// do nothing
}


//when mouse moves over an image
function btnOver(imgName)
{

	if (document.images)
	{

		//change the button image
		document.images["btn" + imgName].src = eval("btn" + imgName + "over.src");

	}

}

//when mouse moves off an image
function btnOut(imgName)
{

	if (document.images)
	{

		//change the button image
		document.images["btn" + imgName].src = eval("btn" + imgName + "out.src");

	}

}


//when mouse moves over an image
function descOver(imgName)
{

	if (document.images)
	{

		//change the description image
		document.images["descPlaceHolder"].src = eval("desc" + imgName + "over.src");

	}

}

//when mouse moves off an image
function descOut(imgName)
{

	if (document.images)
	{

		//change the description image
		document.images['descPlaceHolder'].src = eval("desc" + imgName + "out.src");


	}

}