function pleinecranfr()
{
window.open("html_fr/index.htm","domainedevillerayfr",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=yes,directories=0,status=0,width='+(screen.width-10)+',height='+(screen.height-59)+',left=0,top=0')
}

function gdecranen()
{
window.open("html_en/index.htm","domainedevillerayen",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=yes,directories=0,status=0,width='+(screen.width-10)+',height='+(screen.height-59)+',left=0,top=0')
}



function provisoire()
{
window.open("presentation/index.htm","domainedevilleray",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=yes,directories=0,status=0,width='+(screen.width-10)+',height='+(screen.height-59)+',left=0,top=0')
}


function availpro_quicksearch(firstDate, nights, translation)
{
	//alert("firstDate : "+firstDate+"\n"+"nights : "+nights+"\n"+"translation : "+translation);
	//alert("http://www.secure-hotel-booking.com/Domaine-de-Villeray/264D/search?lang="+translation+"&trackingId=&rate=&url=&arrivalDate="+firstDate+"&nights="+nights);
	openPopup("http://www.secure-hotel-booking.com/Domaine-de-Villeray/264D/search?lang="+translation+"&trackingId=&rate=&url=&arrivalDate="+firstDate+"&nights="+nights);
}

function openPopup(url, title, parameters)
{
	var opp = window.open(url, "Document","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=yes");
	opp.moveTo(((screen.width/2)-405),((screen.height/2)-350));
}
//------------------------------------------------------------------------------------------------


//-------------------FORMULAIRE DE PRE-RESERVATIONS   FRANCAIS-----------------------
function reservfr()
        {
                formfr =
window.open("v2/fr/reservations/formmil.php","domainedevillerayreservation","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        formfr.moveTo(((screen.width/2)-405),((screen.height/2)-350))
        }


function reserven()
        {
                formen =
window.open("v2/en/reservations/formmil.php","domainedevillerayreservation","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        formen.moveTo(((screen.width/2)-405),((screen.height/2)-350))
        }



//-------------------NEWS ACTU-----------------------
function actufr()
        {
                actualitefr =
window.open("http://www.domainedevilleray.com/news/fr/list.html","domainedevilleray","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        actualitefr.moveTo(((screen.width/2)-405),((screen.height/2)-350))
        }


function actuen()
        {
                actualiteen =
window.open("http://www.domainedevilleray.com/news/en/list.html","domainedevilleray","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        actualiteen.moveTo(((screen.width/2)-405),((screen.height/2)-350))
        }

//-------------------CARTE RESTO-----------------------
function cartefr()
        {
cartefrr =
window.open("http://www.domainedevilleray.com/mga_client/idoc/doc/docdca32050db712792bc98c5c4ff412acbfr.pdf","domainedevilleray","toolbar=no,menubar=yes,status=no,scrollbars=yes,resizable=yes");
}

function carteen()
        {
carteenn =
window.open("http://www.domainedevilleray.com/mga_client/idoc/doc/docdca32050db712792bc98c5c4ff412acben.pdf","domainedevilleray","toolbar=no,menubar=yes,status=no,scrollbars=yes,resizable=yes");
}





//-------------------MENTIONS LEGALES-----------------------
function legalesfr()
        {
                legalfr =
window.open("v2/fr/legales.htm","domainedevilleray","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        legalfr.moveTo(((screen.width/2)-405),((screen.height/2)-350))
        }

function legalesen()
        {
                legalen =
window.open("v2/en/legales.htm","domainedevilleray","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        legalen.moveTo(((screen.width/2)-405),((screen.height/2)-350))
        }





function redir()
		{
			if (screen.width<800) {window.location="index_800.html";}
			if (screen.width==800) {window.location="index_800.html";}
			if (screen.width==1024) {window.location="#";}			
			if (screen.width==1152) {window.location="#";}			
			if (screen.width>1152) {window.location="#";}			
		}