function checkit() {
	var response = "";
	var count = 0;
	var curState = true;

	count++;
	if ((document.myForm.name.value).length==0) {
		curState=false;	
		response = response + count + ". Name may not be blank.\r";	
		count++;				
	}
	if ((document.myForm.lastname.value).length==0) {
		curState=false;	
		response = response + count + ". Last name may not be blank.\r";	
		count++;				
	}
	if ((document.myForm.password.value).length<6) {
		curState=false;
		response = response + count + ". Password must be 6 characters.\r";
		count++;		
	}
	
	if (document.myForm.password.value != document.myForm.passwordc.value) {
		curState=false;	
	response = response + count + ". Password and Confirmation must be identical.\r";	
		count++;				
	}
	
	if ((document.myForm.email.value).length==0) {
		curState=false;	
		response = response + count + ". A valid Email address must entered.\r";	
		count++;				
	}	
	if ((document.myForm.institution.value).length==0) {
		curState=false;	
		response = response + count + ". Institution Name must entered.\r";	
		count++;				
	}
	
	
	if (curState==false) {
		alert ("Please correct the following information:\r\r"+response);
	} else {
		document.myForm.submit();
	}
}
