function check()
{

 if(document.formular.namex.value == "")  {
   alert("please enter your name!");
   document.formular.namex.focus();
   return false;
}



 if(document.formular.emailx.value == "")  {
   alert("please enter your e-mail!");
   document.formular.emailx.focus();
   return false;
}





}

function okay(){
   if(check()!=false){ 
	  document.formular.submit();
   }
}

