function getObject(theObjectID)
// returns the object as element
{
	if (document.all && !document.getElementById)
	{
		return document.all(theObjectID)
	}
	else
	{
		return document.getElementById(theObjectID)
	}
}

var clearedFields="|";

function clearOneTime(fieldName)
// clears the value one time only
{
	if (clearedFields.indexOf("|"+fieldName+"|")==-1)
	{
		clearedFields=clearedFields+fieldName+"|";
		getObject(fieldName).value="";
	}
}

function showhide(theObject)
{
	if(theObject.style.display=="none")
	{
		theObject.style.display = "block";
	}
	else
	{
		theObject.style.display = "none";
	}
}
