function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function Retour()
{
history.go(-1);
}

function OpenPopUp(MyFile,MyWindow,MyWidth,MyHeight)
        {
        var ns4 = (document.layers)? true:false;         //NS 4
        var ie4 = (document.all)? true:false;            //IE 4
        var dom = (document.getElementById)? true:false; //DOM
        var xMax, yMax, xOffset, yOffset;
 
        if (ie4 || dom)
                {
                xMax = screen.width;
                yMax = screen.height;
                }
        else if (ns4)
                {
                xMax = window.outerWidth;
                yMax = window.outerHeight;
                }
        else
                {
                xMax = 800;
                yMax = 600;
                }
        xOffset = (xMax - MyWidth)/2;
        yOffset = (yMax - MyHeight)/2;
        window.open(MyFile,MyWindow,'width='+MyWidth
+',height='+MyHeight
+',screenX='+xOffset
+',screenY='+yOffset
+',top='+yOffset
+',left='+xOffset
+',scrollbars=yes,resizable=yes');
}

function display_doc(calque)
{
	document.getElementById(calque).style.display=document.getElementById(calque).style.display=="none"?"block":"none";
}

function CacheTout( nom )
{
	var NumDiv = 1;
	if ( document.getElementById ) // Pour les navigateurs récents
	{
		while ( document.getElementById( nom + NumDiv) )
				{
						display_doc(nom + NumDiv);
						NumDiv++;
				}
	}
}



