// Utilisation: spop( 'monfichier.html', 'MaPopup', 100, 100, 'Mes options (Facultatif)' )
// spop( fichier, nom, largeur, hauteur, options )
function spop( fichier, nom, largeur, hauteur, options )
	{
		var id = Math.round( Math.random() * 100 );
		var gauche = ( screen.width - largeur ) / 2;
	  	var haut = ( screen.height - hauteur ) / 2;
		if ( options )
			{
				options = 'width=' + largeur + 'px, height=' + hauteur + 'px,  top=' + haut + ', left=' + gauche + ', ' + options;
			}
		else
			{
				options = 'width=' + largeur + 'px, height=' + hauteur + 'px,  top=' + haut + ', left=' + gauche;
			}
			document.open( fichier, nom + id, options );
}
