function checkRegForm()
{
	var message="Your information was not submitted because of the following error(s):\n\n"
	var found=0

	//CHECK REQUIRED TEXT FIELDS
	if (document.form1.Email.value.length != 0 )
	{
		if (document.form1.Email.value.indexOf("@") == -1 || document.form1.Email.value.indexOf(".") == -1)
		{
			if (found==0)
			{
				found=1
				document.form1.Email.focus();
			}
			message=message+"* E-mail Address is incorrect.\n";
		}
	}
	if (document.form1.Email.value.length == 0 || document.form1.Email.value.indexOf(" ") == 0)
	{
		if (found==0)
		{
			found=1
			document.form1.Email.focus();
		}
		message=message+"* E-mail Address was not entered.\n";
	}
	if (document.form1.EmailVerify.value.length != 0 )
	{
		if (document.form1.EmailVerify.value.indexOf("@") == -1 || document.form1.EmailVerify.value.indexOf(".") == -1)
		{
			if (found==0)
			{
				found=1
				document.form1.EmailVerify.focus();
			}
			message=message+"* Verify E-mail Address is incorrect.\n";
		}
	}
	if (document.form1.EmailVerify.value.length == 0 || document.form1.EmailVerify.value.indexOf(" ") == 0)
	{
		if (found==0)
		{
			found=1
			document.form1.EmailVerify.focus();
		}
		message=message+"* Verify E-mail Address was not entered.\n";
	}
	if (document.form1.AccountPassword.value.length == 0 || document.form1.AccountPassword.value.indexOf(" ") == 0)
	{
		if (found==0)
		{
			found=1
			document.form1.AccountPassword.focus();
		}
		message=message+"* Password was not entered.\n";
	}
	if (document.form1.AccountPasswordVerify.value.length == 0 || document.form1.AccountPasswordVerify.value.indexOf(" ") == 0)
	{
		if (found==0)
		{
			found=1
			document.form1.AccountPasswordVerify.focus();
		}
		message=message+"* Verify Password was not entered.\n";
	}
	if (document.form1.FirstName.value.length == 0 || document.form1.FirstName.value.indexOf(" ") == 0){
		if (found==0)
		{
			found=1
			document.form1.FirstName.focus();
		}
		message=message+"* First Name was not entered.\n";
	}
	if (document.form1.LastName.value.length == 0 || document.form1.LastName.value.indexOf(" ") == 0)
	{
		if (found==0)
		{
			found=1
			document.form1.LastName.focus();
		}
		message=message+"* Last Name was not entered.\n";
	}		
	if (document.form1.CompanyName.value.length == 0 || document.form1.CompanyName.value.indexOf(" ") == 0)
	{
		if (found==0)
		{
			found=1
			document.form1.CompanyName.focus();
		}
		message=message+"* Company Name was not entered.\n";
	}
	
	//CHECK INDUSTRY SURVERY QUESTIONS
	var sur1=0
	for (var i=0;i<5;i++)
	{
		if (document.form1.Survey1[i].checked == true){
			sur1=1
		}
	}
	if (sur1==0){
		found=1
		message=message+"* Question 1 of Industry Survey was unanswered.\n";
	}
	
	var sur2=0
	for (var i=0;i<13;i++)
	{
		if (document.form1.Survey2[i].checked == true){
			sur2=1
		}
	}
	if (sur2==0){
		found=1
		message=message+"* Question 2 of Industry Survey was unanswered.\n";
	}
	
	var sur3=0
	for (var i=0;i<10;i++)
	{
		if (document.form1.Survey3[i].checked == true){
			sur3=1
		}
	}
	if (sur3==0){
		found=1
		message=message+"* Question 3 of Industry Survey was unanswered.\n";
	}
		
	var sur4=0
	for (var i=0;i<2;i++)
	{
		if (document.form1.Survey4[i].checked == true){
			sur4=1
		}
	}
	if (sur4==0){
		found=1
		message=message+"* Question 4 of Industry Survey was unanswered.\n";
	}
	
	//IF ALL REQUIRED FIELDS HAVE VALUES, SUBMIT FORM	
	if  (found==1)
	{
		alert(message)
	}
	else
	{
		document.form1.submit()
	}
}//function