function ResetForm(form) {
  var inputType;

  for (var i = 0; i < form.length; i++) 
  {
    inputType = form[i].type;
    if (( inputType != "button") && ( inputType != "submit") && ( inputType != "hidden") && ( inputType != "reset")) 
	{
  	  form[i].value = "";
	}
  }
}
