function validarc(contacto)
{

if ((contacto.firstname.value==null) || (contacto.firstname.value=="")) {
alert("Please, Fill your First Name");
contacto.firstname.focus();
return false;
}

if ((contacto.lastname.value == null) || (contacto.lastname.value=="")) {
 alert("Please, Fill your Surname");
 contacto.lastname.focus();
 return false;
}

if ((contacto.email.value == null) || (contacto.email.value=="") || (contacto.email.value.indexOf("@") == -1)) {
 alert("Please, Fill a valid Email Address");
 contacto.email.focus();
 return false;
}		

if (!contacto.sex[0].checked && !contacto.sex[1].checked){
 alert("Please, Select your Sex");
 return false;
}

op = contacto.country.selectedIndex;
opcion = contacto.country.options[op].value;
if (opcion=="Not Select") {
   alert('Please, Select your Country');
   return false;
}

if ((contacto.message.value == null) || (contacto.message.value=="")) {
 alert("Please, Fill your Message");
 contacto.message.focus();
 return false;
}
return true;
}


function validarf(brochure)
{

op = brochure.comem.selectedIndex;
opcion = brochure.comem.options[op].value;
if (opcion=="Not Select") {
alert('Please, Select When would you like to travel?');
 return false;
}

if ((brochure.firstname.value==null) || (brochure.firstname.value=="")) {
alert("Please, Fill your First Name");
brochure.firstname.focus();
return false;
}

if ((brochure.lastname.value == null) || (brochure.lastname.value=="")) {
alert("Please, Fill your First  Surname");
brochure.lastname.focus();
return false;
}

if ((brochure.email.value == null) || (brochure.email.value=="") || (brochure.email.value.indexOf("@") == -1)) {
alert("Please, Fill a valid Email Address");
brochure.email.focus();
return false;
}		

if (!brochure.sex[0].checked && !brochure.sex[1].checked){
alert("Please, Select your sex");
return false;
}

op = brochure.country.selectedIndex;
opcion = brochure.country.options[op].value;
if (opcion=="Not Select") {
alert('Please, Select your country');
 return false;
}


if ((brochure.message.value == null) || (brochure.message.value=="")) {
alert("Please, Fill your message");
brochure.message.focus();
return false;
}
return true;
}



function validarb(book)
{
if ((book.firstname.value==null) || (book.firstname.value=="")) {
alert("Please, Fill your First Name");
book.firstname.focus();
return false;
}

if ((book.lastname.value == null) || (book.lastname.value=="")) {
alert("Please, Fill your last name");
book.lastname.focus();
return false;
}

if ((book.email.value == null) || (book.email.value=="") || (book.email.value.indexOf("@") == -1)) {
alert("Please, Fill a valid Email Address");
book.email.focus();
return false;
}		

if (!book.sex[0].checked && !book.sex[1].checked){
alert("Please, Select your sex");
return false;
}

op = book.country.selectedIndex;
opcion = book.country.options[op].value;
if (opcion=="Not Select") {
alert('Please, Select your country');
 return false;
}

if ((book.nropassport.value==null) || (book.nropassport.value=="")) {
alert("Please, Fill your Passport number");
book.nropassport.focus();
return false;
}

if ((book.address.value==null) || (book.address.value=="")) {
alert("Please, Fill your your Address");
book.address.focus();
return false;
}

if ((book.phonehouse.value==null) || (book.phonehouse.value=="")) {
alert("Please, Fill your Telephone House");
book.phonehouse.focus();
return false;
}

if ((book.phonework.value==null) || (book.phonework.value=="")) {
alert("Please, Fill your Other Telephone");
book.phonework.focus();
return false;
}

op = book.arrivalday.selectedIndex;
opcion = book.arrivalday.options[op].value;
if (opcion=="Not Select") {
alert('Please, Select your Arrival Day');
return false;
}

op = book.arrivalmonthe.selectedIndex;
opcion = book.arrivalmonthe.options[op].value;
if (opcion=="Not Select") {
alert('Please, select your Arrival Monthe');
 return false;
}

if ((book.nameairline.value==null) || (book.nameairline.value=="")) {
alert("Please enter Name Airlinee");
book.nameairline.focus();
return false;
}

if ((book.fligthnumber.value == null) || (book.fligthnumber.value=="")) {
alert("Please, Fill your Fligth Number");
book.fligthnumber.focus();
return false;
}

if ((book.arrivaltime.value == null) || (book.arrivaltime.value=="")) {
alert("Please, Fill your Arrival Time");
book.arrivaltime.focus();
return false;
}

if ((book.message.value==null) || (book.message.value=="")) {
alert("Please, Fill your Message");
book.message.focus();
return false;
}

return true;
}