function chkSeekWoNr(form){
	cName=form.cName.value;
	str=trim(cName);
	cPhone=form.cPhone.value;
	cMail=form.cMail.value;	
	if (str.length==0){
		alert("Please enter your full name")
		form.cName.focus();		
		return false;
	}
	if (cPhone.length==0){
		alert("Please enter your phone number")
		form.cPhone.focus();
		return false;
	}
	if (cMail.length==0){
		alert("Please enter your E-mail address")
		form.cMail.focus();
		return false;
	}
else return true;
}
function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,"");
}
function chkOkEng(form) {
	contactName = form.contactName.value;
	str01=trim(contactName);

	surname = form.surname.value;
	str02=trim(surname);	
	
	vocation = form.vocation.value;
	str03=trim(vocation);	
	
	phoneNr = form.phoneNr.value;
	str04=trim(phoneNr);	
	
	contactEmail = form.contactEmail.value;	
	str05=trim(contactEmail);	
	
	nationality = form.nationality.value;
	str06=trim(nationality);	
	
	city = form.city.value;
	str07=trim(city);	
	
	
	if (str01.length == 0 ){
		alert ("\n Please enter your name ")
		form.contactName.focus();
		return false;
	}
	if (str02.length == 0 ){
		alert ("\n Please enter your surname ")
		form.surname.focus();
		return false;
	}
	if (str03.length == 0 ){
		alert ("\n Please enter your occupation ")
		form.vocation.focus();
		return false;
	}
	if (str04.length == 0 ){
		alert ("\n Please enter your phone number ")
		form.phoneNr.focus();
		return false;
	}
	if (str05.length == 0 ){
		alert ("\n Please enter your E-mail ")
		form.contactEmail.focus();
		return false;
	}

	if (str06.length == 0 ){
		alert ("\n Please enter your nationality ")
		form.nationality.focus();
		return false;
	}
	if (str07.length == 0 ){
		alert ("\n Please enter a city ")
		form.city.focus();
		return false;
	}	
	
	else return true;
}
function chkOkFr(form) {
	contactName = form.contactName.value;
	str01=trim(contactName);

	surname = form.surname.value;
	str02=trim(surname);	
	
	vocation = form.vocation.value;
	str03=trim(vocation);	
	
	phoneNr = form.phoneNr.value;
	str04=trim(phoneNr);	
	
	contactEmail = form.contactEmail.value;	
	str05=trim(contactEmail);	
	
	nationality = form.nationality.value;
	str06=trim(nationality);	
	
	city = form.city.value;
	str07=trim(city);	
	
	
	if (str01.length == 0 ){
		alert ("\n S il vous plait entrer votre nom ")
		form.contactName.focus();
		return false;
	}
	if (str02.length == 0 ){
		alert ("\n S il vous plait entrer votre nom de famille")
		form.surname.focus();
		return false;
	}
	if (str03.length == 0 ){
		alert ("\n S il vous plait entrer votre profession")
		form.vocation.focus();
		return false;
	}
	if (str04.length == 0 ){
		alert ("\n S il vous plait entrer votre numero de telephone")
		form.phoneNr.focus();
		return false;
	}
	if (str05.length == 0 ){
		alert ("\n S il vous plait entrer votre adresse e-mail ")
		form.contactEmail.focus();
		return false;
	}

	if (str06.length == 0 ){
		alert ("\n S il vous plait entrer votre nationalite ")
		form.nationality.focus();
		return false;
	}
	if (str07.length == 0 ){
		alert ("\n S il vous plait entrer une ville ")
		form.city.focus();
		return false;
	}	
	
	else return true;
}

function chkVisaEn(form) {
	name = form.name.value;
	str01=trim(name);

	surname = form.surname.value;
	str02=trim(surname);	
	
	occupation = form.occupation.value;
	str03=trim(occupation);	
	
	placeOfBirth = form.placeOfBirth.value;
	str04=trim(placeOfBirth);	
	
	nationality = form.nationality.value;	
	str06=trim(nationality);	
	
	passportNr = form.passportNr.value;
	str05=trim(passportNr);	
	
	city = form.city.value;
	str07=trim(city);	
	
	
	if (str01.length == 0 ){
		alert ("\n Please enter your name ")
		form.name.focus();
		return false;
	}
	if (str02.length == 0 ){
		alert ("\n Please enter your surname ")
		form.surname.focus();
		return false;
	}
	if (str03.length == 0 ){
		alert ("\n Please enter your occupation ")
		form.occupation.focus();
		return false;
	}
	if (str04.length == 0 ){
		alert ("\n Please enter your place of birth ")
		form.placeOfBirth.focus();
		return false;
	}
	if (str05.length == 0 ){
		alert ("\n Please enter your passport number ")
		form.passportNr.focus();
		return false;
	}

	if (str06.length == 0 ){
		alert ("\n Please enter your nationality ")
		form.nationality.focus();
		return false;
	}
	if (str07.length == 0 ){
		alert ("\n Please enter a city ")
		form.city.focus();
		return false;
	}	
	
	else return true;
}
function chkVisaFr(form) {
	name = form.name.value;
	str01=trim(name);

	surname = form.surname.value;
	str02=trim(surname);	
	
	occupation = form.occupation.value;
	str03=trim(occupation);	
	
	placeOfBirth = form.placeOfBirth.value;
	str04=trim(placeOfBirth);	
	
	nationality = form.nationality.value;	
	str06=trim(nationality);	
	
	passportNr = form.passportNr.value;
	str05=trim(passportNr);	
	
	city = form.city.value;
	str07=trim(city);	
	
	
	if (str01.length == 0 ){
		alert ("\n S il vous plait entrer votre nom ")
		form.name.focus();
		return false;
	}
	if (str02.length == 0 ){
		alert ("\n S il vous plait entrer votre nom de famille ")
		form.surname.focus();
		return false;
	}
	if (str03.length == 0 ){
		alert ("\n S il vous plait entrer votre profession ")
		form.occupation.focus();
		return false;
	}
	if (str04.length == 0 ){
		alert ("\n S il vous plait entrer votre lieu de naissance ")
		form.placeOfBirth.focus();
		return false;
	}
	if (str05.length == 0 ){
		alert ("\n S il vous plait entrer votre numéro de passeport ")
		form.passportNr.focus();
		return false;
	}

	if (str06.length == 0 ){
		alert ("\n S il vous plait entrer votre nationalite ")
		form.nationality.focus();
		return false;
	}
	if (str07.length == 0 ){
		alert ("\n S il vous plait entrer une ville")
		form.city.focus();
		return false;
	}	
	
	else return true;
}


function chkSendEng(form) {
	contactName = form.contactName.value;
	str=trim(contactName);
	surname = form.surname.value;
	str01=trim(surname);
	companyName = form.companyName.value;
	str02=trim(companyName);
	coPhoneNr = form.coPhoneNr.value;
	str03=trim(coPhoneNr);
	contactPhoneNr = form.contactPhoneNr.value;	
	str04=trim(contactPhoneNr);
	contactEmail = form.contactEmail.value;
	str05=trim(contactEmail);
	contactDetails = form.contactDetails.value;
	str06=trim(contactDetails);
	if (str.length == 0 ){
		alert ("\n Please enter your name ")
		form.contactName.focus();
		return false;
	}
	if (str01.length == 0 ){
		alert ("\n Please enter your surname ")
		form.surname.focus();
		return false;
	}
	if (str02.length == 0 ){
		alert ("\n Please enter your company name ")
		form.companyName.focus();
		return false;
	}
	if (str03.length == 0 ){
		alert ("\n Please enter your phone number ")
		form.contactPhoneNr.focus();
		return false;
	}
	if (str04.length == 0 ){
		alert ("\n Please enter your company phone number ")
		form.coPhoneNr.focus();
		return false;
	}

	if (str05.length == 0 ){
		alert ("\n Please enter your E-mail ")
		form.contactEmail.focus();
		return false;
	}
	if (str06.length == 0 ){
		alert ("\n Please enter your comments ")
		form.contactDetails.focus();
		return false;
	}	
	else return true;
}

function chkSendFrance(form) {
	contactName = form.contactName.value;
	str=trim(contactName);
	surname = form.surname.value;
	str01=trim(surname);
	companyName = form.companyName.value;
	str02=trim(companyName);
	coPhoneNr = form.coPhoneNr.value;
	str03=trim(coPhoneNr);
	contactPhoneNr = form.contactPhoneNr.value;	
	str04=trim(contactPhoneNr);
	contactName = form.contactName.value;
	str05=trim(contactName);
	contactEmail = form.contactEmail.value;
	str06=trim(contactEmail);
	contactDetails = form.contactDetails.value;
	str07=trim(contactDetails);
	if (str.length == 0 ){
		alert ("\n S il vous plait entrer votre nom ")
		form.contactName.focus();
		return false;
	}
	if (str01.length == 0 ){
		alert ("\n S il vous plait entrer votre nom de famille")
		form.surname.focus();
		return false;
	}
	if (str02.length == 0 ){
		alert ("\n S il vous plait entrer le nom de votre societe ")
		form.companyName.focus();
		return false;
	}
	if (str03.length == 0 ){
		alert ("\n S il vous plait entrer votre numero de telephone ")
		form.contactPhoneNr.focus();
		return false;
	}
	if (str04.length == 0 ){
		alert ("\n S il vous plait entrer votre numero de telephone de la Societe ")
		form.coPhoneNr.focus();
		return false;
	}

	if (str05.length == 0 ){
		alert ("\n S il vous plait entrer votre adresse e-mail ")
		form.contactEmail.focus();
		return false;
	}
	if (str06.length == 0 ){
		alert ("\n S il vous plait entrer vos commentaires ")
		form.contactDetails.focus();
		return false;
	}	
	else return true;
}

