	function voir_menu_lieu()
	{
	cacher_menu_prod();
	document.getElementById('liste_lieu').style.display='';	
	}

	function cacher_menu_lieu()
	{
	document.getElementById('liste_lieu').style.display='none';	
	}

	function voir_menu_prod()
	{
	cacher_menu_lieu();
	document.getElementById('liste_prod').style.display='';	
	}

	function cacher_menu_prod()
	{
	document.getElementById('liste_prod').style.display='none';	
	}
	


	function ouvrePopup(url) {
		window.open(url,'_blank','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0');
	}

	// Agrandit la fenêtre à la taille de l'écran
	if (window.screen) {
		var MaxW = screen.availWidth
		var MaxH = screen.availHeight
		window.moveTo(0, 0);
		window.resizeTo(MaxW,MaxH);
	}

	//Ouverture popup depuis Flash
	function popup(theURL,winName,features) {
		window.open(theURL,winName,features);
	}

function f_open_window_max( aURL, aWinName )
{
   var wOpen;
   var sOptions;

   sOptions =
'status=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,location=no';
   sOptions = sOptions + ',width=' + (screen.availWidth -
10).toString();
   sOptions = sOptions + ',height=' + (screen.availHeight -
122).toString();
   sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';

   wOpen = window.open( '', aWinName, sOptions );
   wOpen.location = aURL;
   wOpen.focus();
   wOpen.moveTo( 0, 0 );
   wOpen.resizeTo( screen.availWidth, screen.availHeight );
   return wOpen;
}

