function pleinecranfr()
{
window.open("v2/html_fr/index.htm","latramontane",'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 pleinecranen()
{
window.open("v2/html_en/index.htm","latramontane",'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 pleinecran() 
  { 
     window.resizeTo(screen.width+10,screen.height); //on agrandit la fenetre à la taille de l'écran 
     haut=screen.height-parent.document.body.clientHeight; //calcul de la hauteur des barres d'outils 
     window.moveTo (-5,-haut) ; //on place la fenetre pour ne plus voir les barres de l'explorer 
     window.resizeTo(screen.width+10,2000); //on agrandit la fenetre de façon à ne voir que la page 
      
       
    // if ((document.body.clientHeight > 768 && screen.height == 768) //Ce test sert dans le cas ou la fenetre ie etait en mode agrandie 
   //   || (document.body.clientHeight > 600 && screen.height == 600) ) 
   // { 
   // var eccart = parent.document.body.clientHeight - screen.height; 
   // window.moveTo (-5,-haut+27+eccart); 
   // Window.resizeTo(screen.width+10,screen.height+haut-eccart); 
//}


  } 
  


//------------------------------------------------------------------------------------------------


//-------------------FORMULAIRE DE PRE-RESERVATIONS   FRANCAIS-----------------------
function resafr()
        {
                formfr =
window.open("reservations/formmil.php","latramontaneencamargue","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","latramontaneencamargue","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 newsfr()
        {
                actualitefr =
window.open("http://www.latramontane.com/news/fr/list.html","latramontaneencamargue","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 newsen()
        {
                actualiteen =
window.open("http://www.latramontane.com/news/en/list.html","latramontaneencamargue","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no");

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


//-------------------MENTIONS LEGALES-----------------------
function legalesfr()
        {
                legalfr =
window.open("http://www.latramontane.com/v2/html_fr/legales/index.htm","latramontaneencamargue","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.latramontane.com/v2/html_en/legales/index.htm","latramontaneencamargue","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="#";}			
		}
		
		
		
function redimdte() {
    if (document.layers) { largecran < screen.availWidth; hautecran < screen.availHeight; } 
	else { var largecran = screen.availWidth; var hautecran = screen.availHeight; }
    if (largecran > 1024) { largecran = 1280; }
    if (hautecran > 768) { hautecran = 1024; }
    self.resizeTo(largecran, hautecran);
	//self.moveTo((screen.availWidth/2)-(largecran), (screen.availHeight/2)-(hautecran/2));
}