// JavaScript Document
function stsylvestre()
{
	window.open("restaurant/menu-st-sylvestre.html","infos",'width=700,height=550,top=120,left=120,resizable=no,scrollbars=yes');
}
function stvalentin()
{
	window.open("restaurant/menu-st-valentin.html","infos",'width=700,height=550,top=120,left=120,resizable=no,scrollbars=yes');
}
function nouvelan()
{
	window.open("restaurant/menu-nouvel-an.html","infos",'width=700,height=550,top=120,left=120,resizable=no,scrollbars=no');
}
function infos()
{
	window.open("infos.html","infos",'width=350,height=220,top=120,left=120,resizable=no,scrollbars=no');
}
function ouvrefenetre(url)
{
	window.open(url,"carte",'width=760,height=700,top=120,left=120,resizable=yes,scrollbars=yes');
}
function ouvrefenetre2(url)
{
	window.open(url,"menu2",'width=500,height=350,top=120,left=120,resizable=yes,scrollbars=no');
}
function ouvrefenetre3(url)
{
	window.open(url,"menu3",'width=500,height=600,top=120,left=120,resizable=yes,scrollbars=no,menubar=yes');
}
function ouvrefenetre4(url)
{
	window.open(url,"menu4",'width=475,height=600,top=120,left=120,resizable=yes,scrollbars=no,menubar=yes');
}
function ouvrefenetre4b(url)
{
	window.open(url,"menu4b",'width=500,height=400,top=120,left=120,resizable=yes,scrollbars=auto,menubar=yes');
}
function ouvrefenetre4c(url)
{
	window.open(url,"menu4c",'width=450,height=400,top=120,left=120,resizable=yes,scrollbars=no,menubar=yes');
}
//-----------------------------
function ouvrefenetre5(url)
{
	window.open(url,"menu5",'width=700,height=550,top=120,left=120,resizable=yes,scrollbars=yes,menubar=yes');
}
function ouvrefenetre6(url)
{
	window.open(url,"menu6",'width=700,height=550,top=120,left=120,resizable=yes,scrollbars=yes,menubar=yes');
}
function ouvrefenetre7(url)
{
	window.open(url,"menu7",'width=700,height=550,top=120,left=120,resizable=yes,scrollbars=yes,menubar=yes');
}
function ouvrefenetre8(url)
{
	window.open(url,"menu8",'width=700,height=550,top=120,left=120,resizable=yes,scrollbars=yes,menubar=yes');
}
//-------------------------
function ouvrefenetre9(url)
{
	window.open(url,"menu9",'width=600,height=600,top=120,left=120,resizable=yes,scrollbars=no');
}
function ouvrefenetre10(url)
{
	window.open(url,"menu10",'width=600,height=475,top=120,left=120,resizable=yes,scrollbars=yes');
}
function ouvrefenetre11(url)
{
	window.open(url,"menu11",'width=500,height=475,top=120,left=120,resizable=yes,scrollbars=no');
}
function ouvrefenetre12(url)
{
	window.open(url,"menu12",'width=500,height=520,top=120,left=120,resizable=yes,scrollbars=no');
}
//---------------------------
function verif_formu()
{
//----------------------------------------------------
if(document.formulaire.nom.value == "")
{
 alert("Veuillez entrer votre Nom");
 document.formulaire.nom.focus();
 return false;
}
//----------------------------------------------------
if(document.formulaire.telephone.value == "")
{
 alert("Veuillez entrer votre numéro de téléphone!");
 document.formulaire.telephone.focus();
 return false;
}
//----------------------------------------------------
if(document.formulaire.adressemail.value == "")
{
 alert("Veuillez entrer votre adresse électronique!");
 document.formulaire.adressemail.focus();
 return false;
}
//----------------------------------------------------
if(document.formulaire.adressemail.value.indexOf('@') == -1)
{
 alert("Ce n'est pas une adresse électronique!");
 document.formulaire.adressemail.focus();
 return false;
}
//----------------------------------------------------
if(document.formulaire.message.value == "")
{
 alert("Veuillez entrer votre message");
 document.formulaire.message.focus();
 return false;
}
//----------------------------------------------------
}