function chkForm(theForm)
{
	
	if (theForm.CompanyName.value == "")
	{
		alert("Please enter your Company Name");
		theForm.CompanyName.focus();
		return false;
	}
	if (theForm.Address.value == "")
	{
		alert("Please enter your Address");
		theForm.Address.focus();
		return false;
	}
	if (theForm.City.value == "")
	{
		alert("Please enter your City.");
		theForm.City.focus();
		return false;
	}
	if (theForm.Country.value == "")
	{
		alert("Please enter your Country.");
		theForm.Country.focus();
		return false;
	}
	if (theForm.State.value == "")
	{
		alert("Please enter your State.");
		theForm.State.focus();
		return false;
	}
	if (theForm.Zip.value == "")
	{
		alert("Please enter your Zip.");
		theForm.Zip.focus();
		return false;
	}
	
	if (theForm.ContactName.value == "")
	{
		alert("Please enter your Name.");
		theForm.ContactName.focus();
		return false;
	}
	if (theForm.ContactTitle.value == "")
	{
		alert("Please enter your Title.");
		theForm.ContactTitle.focus();
		return false;
	}
	if (theForm.ContactPhone.value == "")
	{
		alert("Please enter your Phone.");
		theForm.ContactPhone.focus();
		return false;
	}
	if (theForm.ContactEmail.value == "")
	{
		alert("Please enter your Email.");
		theForm.ContactEmail.focus();
		return false;
	}

	if (theForm.ResellerName.value == "")
	{
		alert("Please enter your Reseller Contact Name");
		theForm.ResellerName.focus();
		return false;
	}
	if (theForm.ResellerTitle.value == "")
	{
		alert("Please enter your Reseller Contact title");
		theForm.ResellerTitle.focus();
		return false;
	}
	if (theForm.ResellerAddress.value == "")
	{
		alert("Please enter your Reseller Address.");
		theForm.ResellerAddress.focus();
		return false;
	}
	if (theForm.ResellerCity.value == "")
	{
		alert("Please enter your Reseller City.");
		theForm.ResellerCity.focus();
		return false;
	}
	if (theForm.ResellerCountry.value == "")
	{
		alert("Please enter your Reseller Country.");
		theForm.ResellerCountry.focus();
		return false;
	}
	if (theForm.ResellerState.value == "")
	{
		alert("Please enter your Reseller State.");
		theForm.ResellerState.focus();
		return false;
	}
	if (theForm.ResellerZip.value == "")
	{
		alert("Please enter your Reseller Zip.");
		theForm.ResellerZip.focus();
		return false;
	}
	if (theForm.ResellerPhone.value == "")
	{
		alert("Please enter your Reseller Phone.");
		theForm.ResellerPhone.focus();
		return false;
	}
	if (theForm.ResellerEmail.value == "")
	{
		alert("Please enter your Reseller Email.");
		theForm.ResellerEmail.focus();
		return false;
	}
	
	
		if (theForm.TechName.value == "")
	{
		alert("Please enter your Technical Contact Name");
		theForm.TechName.focus();
		return false;
	}
	if (theForm.TechTitle.value == "")
	{
		alert("Please enter your Technical Contact title");
		theForm.TechTitle.focus();
		return false;
	}
	if (theForm.TechAddress.value == "")
	{
		alert("Please enter your Technical Contact Address.");
		theForm.TechAddress.focus();
		return false;
	}
	if (theForm.TechCity.value == "")
	{
		alert("Please enter your Technical Contact City.");
		theForm.TechCity.focus();
		return false;
	}
	if (theForm.TechCountry.value == "")
	{
		alert("Please enter your Technical Contact Country.");
		theForm.TechCountry.focus();
		return false;
	}
	if (theForm.TechState.value == "")
	{
		alert("Please enter your Technical Contact State.");
		theForm.TechState.focus();
		return false;
	}
	if (theForm.TechZip.value == "")
	{
		alert("Please enter your Technical Contact Zip.");
		theForm.TechZip.focus();
		return false;
	}
	if (theForm.TechPhone.value == "")
	{
		alert("Please enter your Technical Contact Phone.");
		theForm.TechPhone.focus();
		return false;
	}
	if (theForm.TechEmail.value == "")
	{
		alert("Please enter your Technical Contact Email.");
		theForm.TechEmail.focus();
		return false;
	}
	
	if (theForm.Website.value == "")
	{
		alert("Please enter your Website URL.");
		theForm.Website.focus();
		return false;
	}
	if (theForm.YearFounded.value == "")
	{
		alert("Please enter the year your company was founded.");
		theForm.YearFounded.focus();
		return false;
	}
	if (theForm.NumEmpl.value == "")
	{
		alert("Please enter number of employees.");
		theForm.NumEmpl.focus();
		return false;
	}
	
	var radiochoice = false;

	for (i = 0; i < theForm.PublicPrivate.length; i++){
		if(theForm.PublicPrivate[i].checked)
		radiochoice = true;	
	}
		
	if (!radiochoice) {
		alert("Please select public or private")
		theForm.PublicPrivate[0].focus();
		return(false);
	}
	
	if (theForm.Profile.value == "")
	{
		alert("Please enter profile.");
		theForm.Profile.focus();
		return false;
	}
	if (theForm.History.value == "")
	{
		alert("Please enter brief history.");
		theForm.History.focus();
		return false;
	}
	if (theForm.PrimaryBus.value == "")
	{
		alert("Please enter primary businesses.");
		theForm.PrimaryBus.focus();
		return false;
	}
	if (theForm.CurrentProducts.value == "")
	{
		alert("Please enter current complimentary products.");
		theForm.CurrentProducts.focus();
		return false;
	}
	if (theForm.CurrentSecProducts.value == "")
	{
		alert("Please enter at least one other security product you currently market.");
		theForm.CurrentSecProducts.focus();
		return false;
	}
	
	var radiochoice = false;

	for (i = 0; i < theForm.CurrentSecProducts.length; i++){
		if(theForm.CurrentSecProducts[i].value != "")
		radiochoice = true;	
	}
		
	if (!radiochoice) {
		alert("Please enter at least one other security product you currently market.")
		theForm.CurrentSecProducts[0].focus();
		return(false);
	}
	
	if (theForm.TotalRevenue.value == "")
	{
		alert("Please enter total revenue.");
		theForm.TotalRevenue.focus();
		return false;
	}
	if (theForm.SalesRevenue.value == "")
	{
		alert("Please enter annual sales.");
		theForm.SalesRevenue.focus();
		return false;
	}
	if (theForm.PercentHealthcare.value == "")
	{
		alert("Please enter percentage of sales in healthcare.");
		theForm.PercentHealthcare.focus();
		return false;
	}
	if (theForm.PercentFederal.value == "")
	{
		alert("Please enter percentage of sales in federal.");
		theForm.PercentFederal.focus();
		return false;
	}
	if (theForm.PrimaryCustomers.value == "")
	{
		alert("Please enter primary customers.");
		theForm.PrimaryCustomers.focus();
		return false;
	}
	if (theForm.ISV.value == "")
	{
		alert("Please enter major ISV\'s represented.");
		theForm.ISV.focus();
		return false;
	}
	if (theForm.TechPartners.value == "")
	{
		alert("Please enter major technology partners.");
		theForm.TechPartners.focus();
		return false;
	}
	if (theForm.Distributors.value == "")
	{
		alert("Please enter distributors or \"none\".");
		theForm.Distributors.focus();
		return false;
	}
	if (theForm.OtherISV.value == "")
	{
		alert("Please enter other ISV\s supported or \"no\".");
		theForm.OtherISV.focus();
		return false;
	}
	if ((!theForm.CustTech[0].checked) && (!theForm.CustTech[1].checked))
	{
		alert("Please check type of support");
		theForm.CustTech[0].focus();
		return false;
	}
	if ((theForm.StatesCovered.value == "") && (theForm.International.value == ""))
	{
		alert("Please enter primary market geographies");
		theForm.StatesCovered.focus();
		return false;
	}
	
	var radiochoice = false;

	for (i = 0; i < theForm.BedSize.length; i++){
		if(theForm.BedSize[i].checked)
		radiochoice = true;	
	}
		
	if (!radiochoice) {
		alert("Please select size\(s\) of health systems targeted")
		theForm.BedSize[0].focus();
		return(false);
	}
	
	var radiochoice = false;

	for (i = 0; i < theForm.Industries.length; i++){
		if(theForm.Industries[i].checked)
		radiochoice = true;	
	}
		
	if (!radiochoice) {
		alert("Please select industries targeted")
		theForm.Industries[0].focus();
		return(false);
	}
	
	return true;
}
