function ClearField(field)
{
	//change style on Focus
	field.className = "searchFocus";
	
	
	/* OR CHANGE DEFAULT TEXT
	if (field.value == "Site Search"){ field.value = ""; }
	*/
}



function ResetDefault(field)
{
	//when the user leaves the field, if it's blank, set it back to the default
	if (field.value == "")
	{
		field.className = "searchDefault";
	}
	
	/* OR RESET DEFAULT TEXT
	if (field.value == ""){ field.value = "Site Search"; }
	*/
}

//On/Off for submit button rollover
function On(field) {
	field.className = "On";
}

function Off(field) {
	field.className = "";
}

function ClearAll()
{
	//Clear the default text when user submits the form
	for (var i=0; i<document.forms[0].length; i++)
	{
		if (document.forms[0].elements[i].value == "Site Search")
		{
			document.forms[0].elements[i].value = "";	
		}
	}	
}