function popForm() {
var demih=screen.height/2;
var demiw=screen.width/2;
var larg = 590;
var haut = 500;
window.open('messagerie.php', '_blank', 'toolbar=1, location=0, directories=0, status=0, scrollbars=0, resizable=1, copyhistory=0, menuBar=1, width='+larg+', height='+haut+', left='+(demiw-(larg/2))+', top='+(demih-(haut/2))+'');
}

function popResa() {
	alert("Un formulaire de demande de réservation sera mise à votre disposition prochainement.");
}

function docAbsent() {
	alert("Document à venir.");
}

function pop360(lieu) {
var demih=screen.height/2;
var demiw=screen.width/2;
var larg = 326;
var haut = 336;
window.open('photos360/choix_'+lieu+'.html', '_blank', 'toolbar=0, location=0, directories=0, status=0, scrollbars=no, resizable=0, copyhistory=0, menuBar=0, width='+larg+', height='+haut+', left='+(demiw-(larg/2))+', top='+(demih-(haut/2))+'');
}


function popTarifs(type) {
var demih=screen.height/2;
var demiw=screen.width/2;

if (type=="chambres") { url='tarifs_hotel.html';}
else if (type=="spa") { url='tarifs_spa.html';}
else if (type=="forfaits") { url='tarifs_forfaits.html';}
else if (type=="offrespe") { url='tarifs_forfaits_02.html';}
else if (type=="resas") { url='resas.php';}

var larg = 700;
var haut = 550;
window.open(url, '_blank', 'toolbar=1, location=0, directories=0, status=0, scrollbars=yes, resizable=1, copyhistory=0, menuBar=1, width='+larg+', height='+haut+', left='+(demiw-(larg/2))+', top='+(demih-(haut/2))+'');



}

function popcentre(url,larg,haut) {
var demih=screen.height/2;
var demiw=screen.width/2;
window.open(url, '_blank', 'toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width='+larg+', height='+haut+', left=150, top='+(demih-(haut/2))+', left='+(demiw-(larg/2))+' ');
}
