<!-- pour ouvrir un lien dans une nouvelle fenetre(pour ajouter une source par ex) -->
function afficherAC(nomAide) {
    window.open("http://kinedoc.free.fr/guide/wakka.php?wiki="+nomAide);
}

<!-- ouvre une popup ou une page suivant le type demande -->
function afficherFenetre(lien,typeFenetre) {
    if(typeFenetre == 0) afficherPage(lien);
    if(typeFenetre == 1) afficherPopup(lien);
    if(typeFenetre == 6) afficherPopup6(lien);
    if(typeFenetre == 9) afficherPopup9(lien);
    
}


<!-- pour redimensionne une fenetre -->
function resizepopup(largeur, hauteur){
    window.resizeTo(largeur,hauteur);
}

<!-- pop up pour les congres -->
function afficherPopupCongres(lien) {
    window.open(lien, "", "width=550,height=500,scrollbars=1, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 550)/2) + ",top=" + ((screen.height - 500)/2) );
}

<!-- pop up pour les périodiques -->
function afficherPopupPeriodique(lien) {
    window.open(lien, "", "width=550,height=500,scrollbars=1, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 550)/2) + ",top=" + ((screen.height - 500)/2) );
}

<!-- pour ouvrir un lien dans une popup plus grande  (pour ajouter un éditeur) -->
function afficherPopupEditeur(lien) {
    window.open(lien, "", "width=480,height=600,scrollbars=1, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 480)/2) + ",top=" + ((screen.height - 600)/2) );
}

<!-- pour ouvrir un lien dans une popup(pour ajouter une ecole) -->
function afficherPopupEcole(lien) {
    window.open(lien, "", "width=500,height=250,scrollbars=1, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 500)/2) + ",top=" + ((screen.height - 250)/2) );
}

<!-- pour ouvrir un lien dans une popup(pour ajouter un pays par ex) -->
function afficherPopup(lien) {
    window.open(lien, "", "width=250,height=220,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 200)/2) + ",top=" + ((screen.height - 190)/2) );
}

<!-- pour ouvrir un lien dans une popup plutot horizontale -->
function afficherPopup2(lien) {
    window.open(lien, "", "width=300,height=100,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 200)/2) + ",top=" + ((screen.height - 250)/2) );
}

<!-- pour ouvrir un lien dans une popup assez grande(ex: voir une source) -->
function afficherPopup3(lien) {
    window.open(lien, "", "width=400,height=500,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une popup plus grande  (ex: listes diffusions) -->
function afficherPopup4(lien) {
    window.open(lien, "", "width=550,height=500,scrollbars=1, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 550)/2) + ",top=" + ((screen.height - 500)/2) );
}

<!-- pour ouvrir un lien dans une popup plutot horizontale  (ex: listes diffusions) -->
function afficherPopup5(lien) {
    window.open(lien, "", "width=400,height=250,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une popup plus grande  (ex: listes diffusions) -->
function afficherPopup6(lien) {
    window.open(lien, "", "width=650,height=630,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une popup pour aide contextuelle  (ex: listes diffusions) -->
function afficherPopup7(lien) {
    window.open(lien, "", "width=300,height=350,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une popup pour le thesaurus  (ex: gerer le thesaurus) -->
function afficherPopup8(lien) {
    window.open(lien, "", "width=400,height=250,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une popup pour les liens utiles  (ex: gerer les liens utiles) -->
function afficherPopup9(lien) {
    window.open(lien, "", "width=600,height=300,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une nouvelle fenetre(pour ajouter une source par ex) -->
function afficherPage(lien) {
    window.open(lien);
}

<!-- permet de recharger une page a partir d une popup -->
function rechargerPageMere() {
    if(!window.opener.location)
        window.opener.location = self;
    window.opener.location.reload();
    window.close();
}

<!-- pour ouvrir un lien dans une popup pour aide contextuelle  (ex: listes diffusions) -->
function afficherPopup10(lien) {
    window.open(lien, "", "width=300,height=260,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}
<!-- pour ouvrir un lien dans une popup pour aide contextuelle  (ex: listes diffusions) -->
function afficherPopup11(lien) {
    window.open(lien, "", "width=300,height=270,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}

<!-- pour ouvrir un lien dans une popup pour aide contextuelle  (ex: listes diffusions) -->
function afficherPopup12(lien) {
    window.open(lien, "", "width=300,height=370,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}


function afficherPopup13(lien, obj) {
    if (!getObjectStyle)
        return;
    
    if (theObj = getObjectById(obj)) {
        var id = theObj.options[theObj.selectedIndex].value;
        window.open(lien+id, "", "width=600,height=320,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 200)/2) + ",top=" + ((screen.height - 190)/2) );
    }
}

<!-- fenï¿½tre trï¿½s grande pour les sources -->
function afficherPopup14(lien) {
    window.open(lien, "", "width=600,height=600,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 400)/2) + ",top=" + ((screen.height - 400)/2) );
}


<!-- fenï¿½tre trï¿½s grande pour les sources -->
function afficherPopup15(lien, obj) {
    if (!getObjectStyle)
        return;
    
    if (theObj = getObjectById(obj)) {
        var id = theObj.options[theObj.selectedIndex].value;
        window.open(lien+id, "", "width=600,height=600,scrollbars=0, toolbar=no, menubar=no, resizable=yes, location=no, directories=no, status=no, left=" + ((screen.width - 200)/2) + ",top=" + ((screen.height - 190)/2) );
    }
}

