// Cette fonction permet d'ouvrir une fenêtre de navigateur supplémentaire
// dont on peut paramétrer l'URL, mais aussi l'affichage (taille, visibilité de
// la barre d'outils ou non, etc.)
// Elle ouvre une nouvelle fenêtre à chaque fois et place le focus dans la fenêtre
// - 01-04-2004		Correction de la largeur par défaut
function f_openPopup ( astr_URL, aint_width, aint_height )
{	// centrage de la popup
	if ( aint_width == null || aint_width == '' ) aint_width = 760;
	if ( aint_height == null || aint_height == '' ) aint_height = 500;

	decalagegauche = ( screen.width - aint_width ) / 2;
	decalagehaut = ( screen.height - aint_height ) / 2;
	
	fenetre = window.open (astr_URL,'','locationbar=no,toolbar=no,status=no,scrollbars=yes,resizable=yes,width=' + aint_width + ',height=' + aint_height + ',left=' + decalagegauche + ',top=' + decalagehaut);
	fenetre.focus();
}
