// Affiche une pop-up
function openWindow(URL, winName, width, height, center)
{
    xposition = 0;
    yposition = 0;
    if ((parseInt(navigator.appVersion) >= 4 ) && (center))
    {
        xposition = (screen.width - width) / 2;
        yposition = (screen.height - height) / 2;
    }
    args = "width=" + width + ","
    + "height=" + height + ","
    + "location=0,"
    + "menubar=1,"
    + "resizable=0,"
    + "scrollbars=1,"
    + "status=0,"
    + "titlebar=0,"
    + "toolbar=0,"
    + "hotkeys=1,"
    + "screenx=" + xposition + ","
    + "screeny=" + yposition + ","
    + "left=" + xposition
    + "top=" + yposition+ ","
    + "replace=false";
    winName = window.open( URL , winName , args );
    winName.focus();
}
// Affiche une pop-up
function openDoc(URL, winName, width, height, center)
{
    xposition = 0;
    yposition = 0;
    if ((parseInt(navigator.appVersion) >= 4 ) && (center))
    {
        xposition = (screen.width - width) / 2;
        yposition = (screen.height - height) / 2;
    }
    args = "width=" + width + ","
    + "height=" + height + ","
    + "location=0,"
    + "menubar=1,"
    + "resizable=0,"
    + "scrollbars=1,"
    + "status=0,"
    + "titlebar=0,"
    + "toolbar=1,"
    + "hotkeys=1,"
    + "screenx=" + xposition + ","
    + "screeny=" + yposition + ","
    + "left=" + xposition
    + "top=" + yposition+ ","
    + "replace=false";
    winName = window.open( URL , winName , args );
    winName.focus();
}
// Rend un objet visible
function ObjAff(obj)
{
    document.getElementById(obj).style.visibility = "visible"
}
// Masque un objet
function ObjEff(obj)
{
    document.getElementById(obj).style.visibility = "hidden"
}
