// JavaScript Document by Alephart Inc.
<!--
//
function form_focus(elemento){
	document.getElementById(elemento.name).className = 'focus';
} 
//
function form_blur(elemento){
	document.getElementById(elemento.name).className = elemento.type;
} 
//
function validar(){
var formulario = document.formContacto;
  if (formulario.name.value ==""){
	alert("Please enter your complete name."); formulario.name.focus(); return false; }
 
  if (formulario.telephone.value==""){
    alert("Please enter a phone number to contact you."); formulario.telephone.focus(); return false; }
  
  correo = formulario.mail.value;
  
  if (correo==""){
    alert("Please enter a correct mail."); formulario.mail.focus(); return false; }
  
  if (correo !=""){
	  p=correo.indexOf('@');
	  if (p<1 || p==(correo.length-1)){
	  alert("Please enter a correct mail."); formulario.mail.focus(); return false; }
  }
  
  if (formulario.message.value ==""){
   alert("Please, notaries the reason of their message \nor that information requires of us \nand with pleasure we will help you."); formulario.message.focus(); return false; }
}// function
//-->

