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


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

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




function gdecran1280()
{
window.open("html_fr/index.htm","sitechateaudesducs",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=no,directories=0,status=0,width='+(1280)+',height='+(900)+',left=0,top=0')
}

function gdecran1280en()
{
window.open("html_en/index.htm","sitechateaudesducs",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=no,directories=0,status=0,width='+(1280)+',height='+(900)+',left=0,top=0')
}


//-------------------FORMULAIRE DE PRE-RESERVATIONS   FRANCAIS-----------------------
function resafr()
        {
                formfr =
window.open("reservations/formmil.php","chateaudesducs","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 resaen()
        {
                formen =
window.open("reservations/formmil.php","chateaudesducs","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.chateau-des-ducs.com/news/fr/list.html","chateaudesducs","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.chateau-des-ducs.com/news/en/list.html","chateaudesducs","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

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

function actuesp()
        {
                actualiteesp =
window.open("http://www.chateau-des-ducs.com/news/es/list.html","chateaudesducs","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

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

//-------------------MENTIONS LEGALES-----------------------
function legalesfr()
        {
                legalfr =
window.open("http://www.chateau-des-ducs.com/html_fr/legales/index.htm","chateaudesducs","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("http://www.chateau-des-ducs.com/html_en/legales/index.htm","chateaudesducs","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 legalesesp()
        {
                legalesp =
window.open("http://www.chateau-des-ducs.com/html_es/legales/index.htm","chateaudesducs","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

        legalesp.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="#";}			
		}
