function openPopup(page, name, largeur, hauteur, options){
    if(screen.height - 100 < hauteur)
        hauteur = screen.height - 100;
    if(screen.width < largeur)
        largeur = screen.width;

    var top = (screen.height - 100 - hauteur ) / 2;
    var left = (screen.width - largeur) / 2;
    
    window.open(page, name, "top=" + top +
                            ", left=" + left +
                            ", width= " + largeur +
                            ", height= " + hauteur +
                            ", " + options);
}
