function fct(){
ecrit="Please review the required field(s) below: \n\n";
alors=0;
if (document.frm.Company.value==""){
	ecrit+="-->  Company name\n";
	alors=1;
	}
if (document.frm.FirstName.value==""){
	ecrit+="-->  Contact first name \n";
	alors=1;
	}
if (document.frm.LastName.value==""){
	ecrit+="-->  Contact last name \n";
	alors=1;
	}
if (document.frm.EmailAddress.value==""|| verifMail(document.frm.EmailAddress.value)){
	ecrit+="-->  Email Address \n";
	alors=1;
	}
if (document.frm.CheckEmail.value!=document.frm.EmailAddress.value){
	ecrit+="-->  Email Address \n";
	alors=1;
	}
if (document.frm.Tel.value==""){
	ecrit+="-->  Phone Number \n";
	alors=1;
	}
if(document.frm.CompanyAddress1.value==""){
	ecrit+="-->  Company Address \n";
	alors=1;
	}
if (document.frm.City.value==""){
	ecrit+="-->  City \n";
	alors=1;
	}
if (document.frm.State.value==""){
	ecrit+="-->  State \n";
	alors=1;
	}
if (document.frm.ZipCode.value==""){
	ecrit+="-->  Zip Code \n";
	alors=1;
	}
if(document.frm.StoreNumber.value=="0"){
	ecrit+="-->  Number of Store Locations \n";
	alors=1;
	}
if (document.frm.AccountingSystem.value==""){
	ecrit+="-->  Accounting System \n";
	alors=1;
	}
if (document.frm.SystemConfiguration.value==""){
	ecrit+="-->  System Configuration \n";
	alors=1;
	}
if(document.frm.CashierStations.value=="0"){
	ecrit+="-->  Number of Cashier Stations \n";
	alors=1;
	}

if(document.frm.dotmatrixPrint.checked==false & document.frm.thermalPrint.checked==false & document.frm.cashDrawer.checked==false 
& document.frm.barcodeScan.checked==false & document.frm.poleDisplay.checked==false & document.frm.creditCard.checked==false ){
	ecrit+="-->  Peripheral Required \n";
	alors=1;
	}	
if(document.frm.StationManage.value=="0"){
	ecrit+="-->  Number of manage stations \n";
	alors=1;
	}
if(alors==1) 
	alert(ecrit);
else 
	document.frm.submit();

}

function verifMail( email )
{
var maReg = new RegExp ( "^\\w[\\w+\.\-]*@[\\w\-]+\.\\w[\\w+\.\-]*\\w$", "gi" ) ;
 
if ( email.search( maReg ) == -1 )
	return true;
else
	return false;
}
