function InitOTMenu() { //step one - is this browser OK for our menu? // TO DO - add real browser detection here. if ( blnUseDropDown ) { TOP_BAR_COLOR = "transparent" // The top level navigational bar color. TOP_BAR_COLOR_OVER = "#264684" // The top level bar color, when mouse is over it. TOP_TEXT_COLOR = "#264684" // The top level bar text color. TOP_TEXT_COLOR_OVER = "#ffffff" // The top level bar text color, when mouse is over it. MENU_TEXT_COLOR = "#ffffff" // Menu text when not MouseOver MENU_TEXT_COLOR_OVER = "white" // Menu text when MouseOver MENU_BACKCOLOR = "#264684" // The background color of the menu. MENU_BACKCOLOR_OVER = "#D33200" // What color should the background be when mouse is over it. MENU2_TEXT_COLOR = "#ffffff" // Menu text when not MouseOver MENU2_TEXT_COLOR_OVER = "white" // Menu text when MouseOver MENU2_BACKCOLOR = "#264684" // The background color of the menu. MENU2_BACKCOLOR_OVER = "#D33200" // What color should the background be when mouse is over it. document.write(''); otmenu = new makeCM("otmenu"); otmenu.frames = 1; //Menu properties otmenu.pxBetween=0; if (IsHomePage) { left = 280; intFromTop = 25; } else { left = 188; intFromTop = 1; } otmenu.fromLeft=left; otmenu.fromTop=intFromTop; otmenu.fromRight=120; otmenu.rows=1 ; otmenu.menuPlacement="left"; otmenu.checkselect=1; otmenu.offlineRoot="/site/"; otmenu.onlineRoot="/site/"; otmenu.resizeCheck = 1; otmenu.wait=500; otmenu.zIndex=1; //Background bar properties otmenu.useBar=0; otmenu.barWidth="100%"; otmenu.barHeight="menu"; otmenu.barClass="clBar"; otmenu.barX=0; otmenu.barY=0; otmenu.barBorderX=0; otmenu.barBorderY=0; otmenu.barBorderClass=""; //Level properties - ALL properties have to be spesified in level 0 otmenu.level[0]=new cm_makeLevel(); //Add this for each new level otmenu.level[0].width=60; otmenu.level[0].height=30; otmenu.level[0].regClass="clLevel0"; otmenu.level[0].overClass="clLevel0over"; otmenu.level[0].borderX=0; otmenu.level[0].borderY=0; otmenu.level[0].borderClass="clLevel0border"; otmenu.level[0].offsetX=0; otmenu.level[0].offsetY=0; otmenu.level[0].rows=0; otmenu.level[0].arrow=0; otmenu.level[0].arrowWidth=0; otmenu.level[0].arrowHeight=0; otmenu.level[0].align="bottom"; //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this otmenu.level[1]=new cm_makeLevel(); //Add this for each new level (adding one to the number) otmenu.level[1].borderClass="clLevel1border"; otmenu.level[1].arrow = "img/arrow.gif"; otmenu.level[1].arrowWidth = 3; otmenu.level[1].arrowHeight = 6 ; otmenu.level[1].width=otmenu.level[0].width + 90; otmenu.level[1].height=20; otmenu.level[1].regClass="clLevel1"; otmenu.level[1].overClass="clLevel1over"; otmenu.level[1].borderX=1; otmenu.level[1].borderY=1; otmenu.level[1].align="right"; otmenu.level[1].offsetX=-(otmenu.level[0].width)/2+30; otmenu.level[1].offsetY=0; //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this otmenu.level[2]=new cm_makeLevel(); //Add this for each new level (adding one to the number) otmenu.level[2].width=140; otmenu.level[2].height=20; otmenu.level[2].offsetX=0; otmenu.level[2].offsetY=0; otmenu.level[2].borderX=1; otmenu.level[2].borderY=1; otmenu.level[2].regClass="clLevel2"; otmenu.level[2].overClass="clLevel2over"; otmenu.level[2].borderClass="clLevel2border"; //otmenu.makeMenu('itemNOM_FAMILLE_N_NIVEAU','itemMENU_PRECEDENT','NOM_FAMILLE','LIEN_OU_ALT','','LARGEUR','HAUTEUR','','','','','ORIENTATION_MENU'); otmenu.makeMenu('itemHome','','Home','http://www.stone-power.net/site/index.html','','43','','','','','',''); otmenu.makeMenu('itemProjet','','Votre projet','votre_projet/index.html','','85','','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('itemProjet1','itemProjet','Vous êtes une entreprise','votre_projet/index.html','','160','','','','','',''); otmenu.makeMenu('itemProjet2','itemProjet','Vous êtes une association','votre_projet/index.html','','160','','','','','',''); otmenu.makeMenu('itemProjet3','itemProjet','Vous êtes un club ROTARY','votre_projet/index.html','','160','','','','','',''); } otmenu.makeMenu('itemSoft','','Logiciels','logiciels/index.html','','60','','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('itemSoft1','itemSoft','Les e-soft STONEPOWER','','','170','','','','','',''); otmenu.makeMenu('itemSoft11','itemSoft1','e-content micro','logiciels/e-soft/e-content_micro.html','','160','','','','','',''); otmenu.makeMenu('itemSoft12','itemSoft1','e-newsletter','logiciels/e-soft/e-newsletter.html','','160','','','','','',''); otmenu.makeMenu('itemSoft13','itemSoft1','e-shop micro','logiciels/e-soft/e-shop_micro.html','','160','','','','','',''); otmenu.makeMenu('itemSoft2','itemSoft','Les e-solutions STONEPOWER','','','170','','','','','',''); otmenu.makeMenu('itemSoft21','itemSoft2','e-catalogue','logiciels/e-solution/e-catalogue.html','','160','','','','','',''); otmenu.makeMenu('itemSoft22','itemSoft2','e-shop','logiciels/e-solution/e-shop.html','','160','','','','','',''); otmenu.makeMenu('itemSoft23','itemSoft2','e-content','logiciels/e-solution/e-content.html','','160','','','','','',''); otmenu.makeMenu('itemSoft24','itemSoft2','solution Association','logiciels/e-solution/solution_association.html','','160','','','','','',''); otmenu.makeMenu('itemSoft25','itemSoft2','solution Rotary','logiciels/e-solution/solution_rotary.html','','160','','','','','',''); otmenu.makeMenu('itemSoft3','itemSoft','Les dernières mise à jour','logiciels/index.html','','170','','','','','',''); } otmenu.makeMenu('itemDemo','','Démo','demonstration/index.html','','45','','','','','',''); otmenu.makeMenu('itemDownload','','Download','download/index.php','','68','','','','','',''); otmenu.makeMenu('itemSupport','','Support','support/index.php','','57','','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('itemSupport1','itemSupport','Demande de support','support/index.php','','170','','','','','',''); otmenu.makeMenu('itemSupport2','itemSupport','F.A.Q.','support/faq.html','','170','','','','','',''); } otmenu.makeMenu('itemReferences','','Références','references/index.html','','75','','','','','',''); otmenu.makeMenu('itemContact','','Contact','contact/index.html','','55','','','','','','bottomleft'); otmenu.construct(); } else { document.write('votre navigateur n est pas compatible avec ce site, utilisez MS Explorer Version 6 minimum'); } }