// JavaScript Document
function chkFormular()
{
submit = 1;
window.document.forms[0].Email.style.backgroundColor="#FFFFFF";
window.document.forms[0].Name.style.backgroundColor="#FFFFFF";
   
/*   if(window.document.forms[0].Phone.value == "" || window.document.forms[0].Phone.value == "Phone") {
   window.document.forms[0].Phone.focus();
   window.document.forms[0].Phone.select();
   window.document.forms[0].Phone.style.backgroundColor="#DFDFDF";
   submit = 0;
  }
   if(window.document.forms[0].Country.value == "" || window.document.forms[0].Country.value == "Country") {
   window.document.forms[0].Country.focus();
   window.document.forms[0].Country.select();
   window.document.forms[0].Country.style.backgroundColor="#DFDFDF";
   submit = 0;
  }
   if(window.document.forms[0].Town.value == "" || window.document.forms[0].Town.value == "Zip, Town") {
   window.document.forms[0].Town.focus();
   window.document.forms[0].Town.select();
   window.document.forms[0].Town.style.backgroundColor="#DFDFDF";
   submit = 0;
  }
   if(window.document.forms[0].Street.value == "" || window.document.forms[0].Street.value == "Street, No.") {
   window.document.forms[0].Street.focus();
   window.document.forms[0].Street.select();
   window.document.forms[0].Street.style.backgroundColor="#DFDFDF";
   submit = 0;
  }
   if(window.document.forms[0].Company.value == "" || window.document.forms[0].Company.value == "Company") {
   window.document.forms[0].Company.focus();
   window.document.forms[0].Company.select();
   window.document.forms[0].Company.style.backgroundColor="#DFDFDF";
   submit = 0;
  }
 if (window.document.forms[0].FirstName.value == "" || window.document.forms[0].FirstName.value == "First Name") {
   window.document.forms[0].FirstName.focus();
   window.document.forms[0].FirstName.select();
   window.document.forms[0].FirstName.style.backgroundColor="#DFDFDF";
   submit = 0;
  }*/
 if(window.document.forms[0].Email.value.indexOf('@') == -1 || window.document.forms[0].Email.value == "Email") {
   window.document.forms[0].Email.focus();
   window.document.forms[0].Email.select();
   window.document.forms[0].Email.style.backgroundColor="#A7B4C2";
   submit = 0;
  }
 if (window.document.forms[0].Name.value == "" || window.document.forms[0].Name.value == "Name") {
   window.document.forms[0].Name.focus();
   window.document.forms[0].Name.select();
   window.document.forms[0].Name.style.backgroundColor="#A7B4C2";
   submit = 0;
  } 
 if(submit==1) {
   window.document.forms[0].submit();
 }
}