function verifyit(passForm) 	{
		
		testName = /^[A-Za-z]{1,}$/
		 if (passForm.firstname.type == "text" && passForm.firstname.value == "") {alert ("First name cannot be blank"); passForm.firstname.focus(); return false;  }

		if (testName.test(passForm.firstname.value)){dummy=0} else {alert ("First Name can only be characters."); passForm.firstname.select(); return false;}

 		 if (passForm.lastname.type == "text" && passForm.lastname.value == "") {alert ("Last name cannot be blank"); passForm.lastname.focus(); return false;  }

		if (passForm.streetaddress.type == "text" && passForm.streetaddress.value == "") {alert ("Pl ease enter mailing address"); passForm.streetaddress.focus(); return false; }

		if (passForm.city.type == "text" && passForm.city.value == "") {alert ("Please enter City"); passForm.city.focus(); return false; }


		country=document.passForm.mulk.options[document.passForm.mulk.selectedIndex].value;
		stait =document.passForm.state.options[document.passForm.state.selectedIndex].value;
				
		if (country == "United States") {testZip = /^\d{5}$/;  if  (testZip.test(passForm.zip.value)) {dummy=0} else {alert ("Please enter a valid 5 digit zip code for USA."); passForm.zip.select(); return false;}}
		if (country == "United States" && stait == "Other")  {alert ("For USA state cannot be Other"); passForm.state.focus(); return false;}


		if (country == "United Kingdom") {testZip = /^[A-Z0-9]{7}$/; if  (testZip.test(passForm.zip.value)) {dummy=0} else {alert ("Please enter a valid 7 character zip code for UK. e.g. 8LHU9K"); passForm.zip.select(); return false;}}

		if (country == "Canada") {testZip = /^[A-Z0-9]{6}$/; if  (testZip.test(passForm.zip.value)) {dummy=0} else {alert ("Please enter a valid 6 character zip code for Canada. e.g. 8LHU9K"); passForm.zip.select(); return false;}}


		testPhone = /\d{3}\-\d{3}\-\d{4}$/

		if (passForm.homephone.type == "text" && passForm.homephone.value == "") {alert ("Please enter Home Phone eg. 123-123-1234"); passForm.homephone.focus(); return false;  }
		if (testPhone.test(passForm.homephone.value)){dummy=0} else {alert ("Please ensure that the format of number entered is 123-123-1234"); passForm.homephone.select(); return false;}
	

		if (passForm.workphone.type == "text" && passForm.workphone.value == "") {alert ("Please enter Work Phone eg. 123-123-1234"); passForm.workphone.focus(); return false;  }
		if (testPhone.test(passForm.workphone.value)){dummy=0} else {alert ("Please ensure that the format of number entered is 123-123-1234"); passForm.workphone.select(); return false;}


		if (passForm.mobilephone.type == "text" && passForm.mobilephone.value == "") {alert ("Please enter Mobile Phone eg. 123-123-1234"); passForm.mobilephone.focus(); return false;  }
		if (testPhone.test(passForm.mobilephone.value)){dummy=0} else {alert ("Please ensure that the format of number entered is 123-123-1234"); passForm.mobilephone.select(); return false;}


		testEmale = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
		if (! passForm.primaryemail.value.match(testEmale)) {alert ("Please enter a valid Primary Email"); passForm.primaryemail.select(); return false;}

		if (! passForm.primaryemail.value.match(testEmale)) {alert ("Please enter a valid Primary Email"); passForm.primaryemail.select(); return false;}


		if (! passForm.alternateemail.value.match(testEmale)) {alert ("Please enter a valid Alternate Email"); passForm.alternateemail.select(); return false;}

		coursedatevenue = document.passForm.course.options[document.passForm.course.selectedIndex].value;
		if (coursedatevenue == "select")  {alert ("Please select a valid Location, Date and Course"); passForm.course.focus(); return false;}	
	
		}

