function SendMail(){
theCode = '';
if (document.mailForm.toAddress.value == ""){ alert('You must have a To address.'); document.mailForm.toAddress.focus(); return;}
    
theCode="mailto:" + document.mailForm.toAddress.value+"?";
    
if (document.mailForm.theSubject.value != ""){ theCode +="subject=" + document.mailForm.theSubject.value +"&";}

if (document.mailForm.theProduct.value == ""){ alert('Product Name is required field.'); document.mailForm.theProduct.focus(); return;}
    
theCode +="body="+ "Product%20Name:%20"+document.mailForm.theProduct.value;

if (document.mailForm.theCompanyName.value == ""){ alert('Company Name is required field.'); document.mailForm.theName.focus(); return;}
    
theCode +="%0A"+ "Company Name:%20"+document.mailForm.theCompanyName.value;

if (document.mailForm.theContactPerson.value == ""){ alert('Contact Person is required field.'); document.mailForm.theContactPerson.focus(); return;}

theCode +="%0A"+ "Contact person:%20"+document.mailForm.theContactPerson.value;

if (document.mailForm.thePhone.value == ""){ alert('Phone is required field.'); document.mailForm.thePhone.focus(); return;}

theCode +="%0A"+ "Phone:%20"+document.mailForm.thePhone.value;

if (document.mailForm.theEMail.value == ""){ alert('E-mail is required field.'); document.mailForm.theEMail.focus(); return;}

theCode +="%0A"+ "E-mail:%20"+document.mailForm.theEMail.value;

if (document.mailForm.theCountry.value == ""){ alert('Country is required field.'); document.mailForm.theCountry.focus(); return;}

theCode +="%0A"+ "Country:%20"+document.mailForm.theCountry.value;

theCode +="%0A"+ "Industry:%20"+document.mailForm.theIndustry.value;

theCode +="%0A"+ "Company Type:%20"+document.mailForm.theCustomerType.value;

alert("Your request e-mail is generated. Please send it after you close this message box and you will receive reply within the next two business days");

window.open(theCode);
}


