// JavaScript Document
//clear text field
function clearField(thefield)
{
	if (thefield.defaultValue==thefield.value) { 
		thefield.value = "";
	}
	//thefield.className = "textFieldAlt";		//dont need alt style
}
//refill text field
function refillField(thefield, thevalue)
{
	if (thefield.value == "" || thefield.value == thevalue) { 
		thefield.value = thevalue;
	}
	//thefield.className = "textField";			//not using alt style
}
//write email address with JS to hide it from spiders / spammers
function writeEmail(verboseText, name, host)
{
	var text = verboseText;
	var emailName = name;
	var emailHost = host;
	document.write("<a href=" + "mail" + "to:" + emailName + "@" + emailHost+ ">" + text + "</a>" + ".")
}