// JavaScript Document
//PopupCentrer
function PopupCentrer(page,largeur,hauteur,options) 
	{
	  var top=(screen.height-hauteur)/2;
	  var left=(screen.width-largeur)/2;
	  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
	}

//click_form
function click_form(comp)
	{
		document.etape2bis.submit();
	}	
	
//activerRetourLe
function activerRetourLe(action)
	{
		if (action == 0) //désactiver 'Retour le'
		{ 	document.getElementById('divRetourLe').style.display='none';
			document.getElementById('divRetourLe2').style.display='block';
			document.getElementById('tdRetourLe').style.color='#999999'; }
		else //réactiver 'Retour le'
		{ 	document.getElementById('divRetourLe').style.display='block';
			document.getElementById('divRetourLe2').style.display='none';
			document.getElementById('tdRetourLe').style.color='#000000'; }
	}

	
//MM_openBrWindow
function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
