function resetFields(whichform)
{
//	var whichform = document.forms.form1
	for(var i=0; i<whichform.elements.length; i++)
	{
		var element = whichform.elements[i];
		if(element.type == "submit") continue;
		if(element.type == "checkbox") continue;
	
		if(!element.defaultValue) continue;

		element.onfocus = function()
		{
			if(this.value == this.defaultValue)
				this.value = "";
		}
		element.onblur = function()
		{
			if(this.value == "")
				this.value = this.defaultValue;
		}
	}
}
