function OpenPopUp(MyFile,MyWindow,MyWidth,MyHeight)
//MyFile : nom du fichier contenant le code HTML du pop-up
//MyWindow : nom de la fenêtre (ne pas mettre d'espace)
//MyWidth : entier indiquant la largeur de la fenêtre en pixels
//MyHeight : entier indiquant la hauteur de la fenêtre en pixels
{
var ns4 = (document.layers)? true:false; //NS 4
var ie4 = (document.all)? true:false; //IE 4
var dom = (document.getElementById)? true:false; //DOM
var xMax, yMax, xOffset, yOffset;;
if (ie4 || dom)
{
xMax = screen.width;
yMax = screen.height;
}
else if (ns4)
{
xMax = window.outerWidth;
yMax = window.outerHeight;
}
else
{
xMax = 800;
yMax = 600;
}
xOffset = (xMax - MyWidth)/2;
yOffset = (yMax - MyHeight)/2;
window.open(MyFile,MyWindow,'width='+MyWidth
+',height='+MyHeight
+',screenX='+xOffset
+',screenY='+yOffset
+',top='+yOffset
+',left='+xOffset
+',scrollbars=yes,resizable=yes');
}
// parametres d'affichage
var AES_TREE_FORMAT =
[
15, //0. left position
175, //1. top position
true, //2. show +/- buttons
["img/a.gif", "img/b.gif", "img/pix.gif"], //3. couple of button images (collapsed/expanded/blank)
[9,9,9], //4. size of images (width, height,ident for nodes w/o children)
false, //5. show folder image
["d.gif", "e.gif", "f.gif"], //6. folder images (closed/opened/document)
[16,16], //7. size of images (width, height)
[0,0], //8. identation for each level [0/*first level*/, 16/*second*/, 32/*third*/,...]
"#91A4CF", //9. tree background color ("" - transparent)
"clsNode", //10. default style for all nodes
["clsNode", "clsNodeL1"], //11. styles for each level of menu (default style will be used for undefined levels)
false, //12. true if only one branch can be opened at same time
[0,0], //13. item pagging and spacing
false, //14. true if nowrap (JL)
];
// options du menu
var deb = '
'
var fin = '
'
var ret = '
'
var AES_NODES = [
[deb+"Édito"+fin, "edito.php", null, ],
[deb+"Transfert latéral allongé"+fin, "theme.php?idTheme=T_TR_LAT_ALL&idMenu=1", null, [deb+"> Two-Move"+fin, "produit.php?idTheme=T_TR_LAT_ALL&idProduit=P_TWO_MOVE&idMenu=1&aFiche=1", null], [deb+"> Multiglide"+fin, "produit.php?idTheme=T_TR_LAT_ALL&idProduit=P_MULTIGLIDE_TR&idMenu=1&aFiche=1", null], [deb+"> Rollbord"+fin, "produit.php?idTheme=T_TR_LAT_ALL&idProduit=P_ROLLBORD&idMenu=1&aFiche=1", null], [deb+"> Transalter"+fin, "produit.php?idTheme=T_TR_LAT_ALL&idProduit=P_TRANSALTER&idMenu=1&aFiche=1", null], ],
[deb+"Mobilisations et soins
au lit"+fin, "theme.php?idTheme=T_MOBI_SOIN&idMenu=6", null, [deb+"> Multiglide"+fin, "produit.php?idTheme=T_MOBI_SOIN&idProduit=P_MULTIGLIDE_MOBI&idMenu=6&aFiche=1", null], [deb+"> Dossiers
unidirectionnels"+fin, "produit.php?idTheme=T_MOBI_SOIN&idProduit=P_DOSSIERS_MOBI&idMenu=6&aFiche=1", null], [deb+"> Barre latérale de
redressement"+fin, "produit.php?idTheme=T_MOBI_SOIN&idProduit=P_BARRE_MOBI&idMenu=6&aFiche=1", null], ],
[deb+"Transfert debout pivotant
avec appui"+fin, "theme.php?idTheme=T_TR_DEB_PIV&idMenu=10", null, [deb+"> Transi"+fin, "produit.php?idTheme=T_TR_DEB_PIV&idProduit=P_TRANSI&idMenu=10&aFiche=1", null], [deb+"> Transi Pro"+fin, "produit.php?idTheme=T_TR_DEB_PIV&idProduit=P_TRANSI_PRO&idMenu=10&aFiche=1", null], [deb+"> Coolie"+fin, "produit.php?idTheme=T_TR_DEB_PIV&idProduit=P_COOLIE&idMenu=10&aFiche=0", null], [deb+"> Automax"+fin, "produit.php?idTheme=T_TR_DEB_PIV&idProduit=P_AUTOMAX&idMenu=10&aFiche=1", null], [deb+"> Pédilette"+fin, "produit.php?idTheme=T_TR_DEB_PIV&idProduit=P_PEDILETTE&idMenu=10&aFiche=1", null], [deb+"> Turnplayte"+fin, "produit.php?idTheme=T_TR_DEB_PIV&idProduit=P_TURNPLAYTE&idMenu=10&aFiche=1", null], ],
[deb+"Transfert assis-assis
sans appui"+fin, "theme.php?idTheme=T_TR_ASS_ASS&idMenu=17", null, [deb+"> Butterfly"+fin, "produit.php?idTheme=T_TR_ASS_ASS&idProduit=P_BUTTERFLY&idMenu=17&aFiche=1", null], [deb+"> Banana"+fin, "produit.php?idTheme=T_TR_ASS_ASS&idProduit=P_BANANA&idMenu=17&aFiche=1", null], [deb+"> Biggest"+fin, "produit.php?idTheme=T_TR_ASS_ASS&idProduit=P_BIGGEST&idMenu=17&aFiche=1", null], [deb+"> Dauphin"+fin, "produit.php?idTheme=T_TR_ASS_ASS&idProduit=P_DAUPHIN&idMenu=17&aFiche=1", null], ],
[deb+"Sangles pour l'aide au
transfert"+fin, "theme.php?idTheme=T_AID_TR&idMenu=22", null, [deb+"> Ischio-Max"+fin, "produit.php?idTheme=T_AID_TR&idProduit=P_ISCHIO_MAX&idMenu=22&aFiche=0", null], [deb+"> Ceinture Multiprise"+fin, "produit.php?idTheme=T_AID_TR&idProduit=P_HAUSSIERE&idMenu=22&aFiche=0", null], [deb+"> Géria-Max"+fin, "produit.php?idTheme=T_AID_TR&idProduit=P_GERIA_MAX&idMenu=22&aFiche=0", null], ],
[deb+"Aides à la station assise"+fin, "theme.php?idTheme=T_STA_ASS&idMenu=26", null, [deb+"> Easy-Turn"+fin, "produit.php?idTheme=T_STA_ASS&idProduit=P_EASY_TURN&idMenu=26&aFiche=0", null], [deb+"> One-Way"+fin, "produit.php?idTheme=T_STA_ASS&idProduit=P_ONE_WAY&idMenu=26&aFiche=0", null], [deb+"> Coussin Mobile"+fin, "produit.php?idTheme=T_STA_ASS&idProduit=P_BIRDY&idMenu=26&aFiche=0", null], [deb+"> Dosseret Syst’am"+fin, "produit.php?idTheme=T_STA_ASS&idProduit=P_BIRDY_INTEGRALE&idMenu=26&aFiche=0", null], ],
[deb+"Le Totem de Transfert"+fin, "affiche_liste.php?idMenu=31", null, [deb+"> Le coussin Easy Turn"+fin, "produits-totem-fiche.php?idproduit=20", null],
[deb+"> La planche Split"+fin, "produits-totem-fiche.php?idproduit=21", null],
[deb+"> La sangle poulie"+fin, "produits-totem-fiche.php?idproduit=22", null],
[deb+"> Pédilette"+fin, "produits-totem-fiche.php?idproduit=23", null],
[deb+"> Olivia"+fin, "produits-totem-fiche.php?idproduit=24", null],
[deb+"> La barre Canoli"+fin, "produits-totem-fiche.php?idproduit=25", null],
[deb+"> L\'alèse Oli SIIM130"+fin, "produits-totem-fiche.php?idproduit=18", null],
[deb+"> Le coussin One-Way"+fin, "produits-totem-fiche.php?idproduit=19", null]
],
[deb+"Les dossiers"+fin, "dossiers.php", null, ],
[deb+"Nos formations"+fin, null, null, [deb+"> Perte d'autonomie
et désadaptation motrice"+fin, "formation.php?idFormation=F_PERTE_AUTONOMIE&idMenu=41", null], [deb+"> Les aides techniques
au transfert"+fin, "formation.php?idFormation=F_AIDES_TEC_TRANSF&idMenu=41", null] ],
[deb+"Télécharger notre
catalogue"+fin, "telechargement.php", null, ],
[deb+"Plan du site"+fin, "plan.php", null, ],
];