
<!--
var msg="";
var haveerrors=0;

function check_oem_info()
{
	haveerrors=0;
	msg="";

	var company_name = document.oem_form.company_name.value;
	var first_name = document.oem_form.first_name.value;
	var last_name = document.oem_form.last_name.value;
	var job_title = document.oem_form.job_title.value;
	var s_address = document.oem_form.s_address.value;
	var s_city = document.oem_form.s_city.value;
	var s_state = document.oem_form.s_state.value;
	var s_country = document.oem_form.s_country.value;
	var s_zip = document.oem_form.s_zip.value;
	var s_phone = document.oem_form.s_phone.value;
	var s_email = document.oem_form.s_email.value;
	


	
	validate_incl_num(trim(company_name),"Company name",2,30);
	validate_not_incl_num(trim(first_name),"First name",2,30);
	validate_not_incl_num(trim(last_name),"Last name",2,30);
	validate_not_incl_num(trim(job_title),"Job title",2,30);
	validate_incl_num(trim(s_address),"Address",2,100);
	validate_not_incl_num(trim(s_city),"City",2,20);
//	validate_not_incl_num(trim(s_state),"Province",2,40);
	validate_not_incl_num(trim(s_country),"Country",2,20);
	validateZip(trim(s_zip),"Postal code");
	validate_phone(trim(s_phone),"Phone's");
	isValidEmailAddress(trim(s_email));
	

	
	
/*	if (!document.oem_form.terms_agree.checked)
	{
		haveerrors = 1;
		msg = msg + "You don't agree our Terms of Use?";
	}
*/


	if (haveerrors)
	{
		if (msg!="")
		{
			showErrorMsg(msg);
		}
		return false;
	}

	return true;
}
//-->