function formCheck(form){

var formErrors 		= false;
var errorMessage	= "";

	if(document.customerContactForm.username.value.length == 0){
		errorMessage  += "Misssing Username\n";
		formErrors = true;}
	if(document.customerContactForm.passwd.value.length == 0){
		errorMessage  += "Missing Password\n";
		formErrors = true;}

	if(formErrors){
		alert("Please check the following Error(s):\n\n"+errorMessage)
	}else{
		alert("Sorry, you are not authorized to enter this section of the web site.")
		//document.supplyForm.submit();
	}
	
};
