// Validate Entry of Required Fields
function formCheck(){

if (document.getElementById)
  {
  	var f = document.getElementById("contactform");
  }
  else if (document.all)
  {
	var f = document.all['contactform'];
  }
  else if (document.layers)
  {
   	var f = document.forms['contactform'];
  }
  else
  {
        var f = document.contactform;
  }

  	errMsg = false
	errTxt = " "	
/*
	if (f.Salutation.value == ""){
		errMsg = true
		errTxt+="Salutation \n"
	}
	
	if (f.LName.value == ""){
		errMsg = true
		errTxt+="LName \n"
	}
	
	if (f.FName.value == ""){
		errMsg = true
		errTxt+="FName \n"
	}
	
	if (f.Title.value == ""){
		errMsg = true
		errTxt+="Title \n"
	}
	
	if (f.CMrkt.value == ""){
		errMsg = true
		errTxt+="CMrkt \n"
	}
	
	if (f.Address.value == ""){
		errMsg = true
		errTxt+="Address \n"
	}
	
	if (f.cityStateZip.value == ""){
		errMsg = true
		errTxt+="cityStateZip \n"
	}
	
	if (f.country.value == ""){
		errMsg = true
		errTxt+="country \n"
	}
	
	if (f.Phone_1.value == ""){
		errMsg = true
		errTxt+="Phone_1 \n"
	}
	
	if (f.Fax.value == ""){
		errMsg = true
		errTxt+="Fax \n"
	}
	*/
	
	if (f.email.value == ""){
		errMsg = true
		errTxt+="email \n"
	}
	/*

	if (f.Biographical_info.value == ""){
		errMsg = true
		errTxt+="Biographical_info \n"
	}
	

	if (f.applicationMaterials.value == ""){
		errMsg = true
		errTxt+="applicationMaterials \n"
	}
	
	if (f.Essay.value == ""){
		errMsg = true
		errTxt+="Essay \n"
	}
	
	if (f.Writing_Sample_1.value == ""){
		errMsg = true
		errTxt+="Writing Sample 1 \n"
	}

	if (f.Writing_Sample_2.value == ""){
		errMsg = true
		errTxt+="Writing Sample 2 \n"
	}
	
	if (f.Writing_Sample_3.value == ""){
		errMsg = true
		errTxt+="Writing Sample 3 \n"
	}
	*/

	if (errMsg==true){
	alert("Certain Required Field(s) Missing: \n" + "\n" + errTxt +  "\n" + "   Please enter information");
	return false
	}
	if (errMsg==false){return true}

}

