function changePage() {
if (self.parent.frames.length != 0)
self.parent.location=document.location;
}
function menuOver(sTarget)
{

window.onerror = null;
document.getElementById(sTarget).className='menuCell2';
}

function menuOut(sTarget)
{

window.onerror = null;
document.getElementById(sTarget).className='menuCell1';
}

function subMenuOver(sTarget)
{

window.onerror = null;
document.getElementById(sTarget).className='subMenuOver';
}

function subMenuOut(sTarget)
{

window.onerror = null;
document.getElementById(sTarget).className='subMenuOut';
}


function subMenuOverIndent(sTarget)
{

window.onerror = null;
document.getElementById(sTarget).className='subMenuOverIndent';
}

function subMenuOutIndent(sTarget)
{

window.onerror = null;
document.getElementById(sTarget).className='subMenuOutIndent';
}

function Validate(which)
//Simple validator for several different forms
//Created : Oct 2003
{
var bPass = true;
var sMessage
var oField

//begin field checking
	switch (bPass)
	{
	case (which.Name.value.length == 0) :
	sMessage = "Please enter your name.";
	bPass=false;
	oField = which.Name;
	break;

	case (which.EMail.value.length==0) :
	sMessage = "Please enter your e-mail address.";
	bPass=false;
	oField = which.EMail;
	break;

	default :
	break;
	}

//end field checking
if (!bPass)
	{
	window.alert(sMessage);
	oField.focus();
	return false;
	}
	else
	{
	return true;
	}

//end function
}

function validateLoad(which)
//Simple validator for upload form
//Created : Aug 2005
{
var bPass = true;
var sMessage;
var oField;

//begin field checking
	switch (bPass)
	{

	case (which.txtFile.value.length == 0) :
	sMessage = "Please select a document to upload to the website.";
	bPass=false;
	oField = which.txFile;
	break;

	case (which.txtTitle.value.length == 0) :
	sMessage = "Please enter the title of the document.";
	bPass=false;
	oField = which.txTitle;
	break;

	default :
	break;
	}

//end field checking
if (!bPass)
	{
	window.alert(sMessage);
	return false;
	}
	else
	{
	return true;
	}

//end function
}