//Request an ID Card


function validateRequiredFields (whichForm) {
	
  if ( whichForm == 'requestIDCardForm' ) 
	  // add all fields to check here. note that IDs from formpage need to be added to screen.css, too //
		var formFields = new Array('firstName', 'lastName', 'eMail', 'telephone');  
	
	// add other forms to check and their field lists here //
	
	
	// loop through field list from above, if they are empty turn on the hidden error message //
  for (i = 0; i < formFields.length; i++) {
				 
		 if ( document.getElementById(formFields[i]).value == "" )  {
			  document.getElementById(formFields[i]+'_errorMessage').style.display = "block";
				document.getElementById(formFields[i]+'_label').style.color = "#FF0000";
				valid = false;
			}	
	}
	return valid;
}


