function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// 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 = 'scrollbars=yes, width=' + largeur + 'px, height=' + hauteur + 'px,  top=' + haut + ', left=' + gauche + ', ' + options;
	}
	else
	{
		options = 'scrollbars=yes, width=' + largeur + 'px, height=' + hauteur + 'px,  top=' + haut + ', left=' + gauche;
	}	
	document.open( fichier, nom + id, options );
}

function isValidRadio(frm, rb) 
{
  var L = rb.length;
  var bool = false; 
  for (var i = 0 ; i < L ; i++) 
  {
    if(rb[i].checked)
    {
      bool = true;
      break;
    }
  } 

  return(bool); 
} 


