
	function VerifForm_contact(formulaire_contact)
{
	var sendok='yes';

			
	if(formulaire_contact.nom.value == ""){
		sendok='no';
	}

			
	if(formulaire_contact.tel.value == ""){
		sendok='no';
	}

			
	if(formulaire_contact.texte.value == ""){
		sendok='no';
	}

	
	if(formulaire_contact.email.value == ""){
		sendok='no';
	}else{
		adresse = formulaire_contact.email.value;
		var place = adresse.indexOf("@",1);
		var point = adresse.indexOf(".",place+1);
		if ((place > -1)&&(adresse.length >2)&&(point > 1))
			{}else{
				sendok='no';
				formulaire_contact.email.value ='';
				}
		}

			
	if(sendok=='yes'){
		formulaire_contact.submit();	
		return(false);
	}else{
		alert(" Le nom, numéro de téléphone  et E-mail sont obligatoire ");
		return(false);
	}

		
}




	function VerifForm_reservation(formulaire_contact)
{
	var sendok='yes';

			
	if(formulaire_contact.chambre.value == ""){
		sendok='no';
	}

			
	if(formulaire_contact.date_arrive.value == ""){
		sendok='no';
	}

			
	if(formulaire_contact.date_depart.value == ""){
		sendok='no';
	}

	
	if(formulaire_contact.email.value == ""){
		sendok='no';
	}else{
		adresse = formulaire_contact.email.value;
		var place = adresse.indexOf("@",1);
		var point = adresse.indexOf(".",place+1);
		if ((place > -1)&&(adresse.length >2)&&(point > 1))
			{}else{
				sendok='no';
				formulaire_contact.email.value ='';
				}
		}

			
	if(sendok=='yes'){
		formulaire_contact.submit();	
		return(false);
	}else{
		alert(" Tous les champs sont obligatoire ");
		return(false);
	}

		
}

function displayvideo(){
	document.getElementById('video').style.display='block';
}


function displaytarif(){
	document.getElementById('tarifs').style.display='block';
	document.getElementById('tarifs_titre').style.display='block';
	document.getElementById('tarifs_bouton').style.display='none';
}


