_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out _menuOpenDelay=0 // The time delay before menus open on mouse over _followSpeed=0 // Follow scrolling speed _followRate=0 // Follow scrolling Rate _subOffsetTop=0 // Sub menu top offset _subOffsetLeft=1 // Sub menu left offset _scrollAmount=0 // Only needed for Netscape 4.x _scrollDelay=0 // Only needed for Netscape 4.x with(styleprincipal=new mm_style()){ offcolor="#162934"; oncolor="#d58200"; fontsize="18"; fontweight="normal"; fontfamily="Verdana, Geneva, Arial, Helvetica, sans-serif"; padding=2; separatorcolor="#162934"; separatorsize=2; separatorheight=20; separatorwidth=0; separatorpadding=2; } with(stylesecondaire=new mm_style()){ offcolor="#162934"; oncolor="#d58200"; fontsize="18"; fontweight="normal"; fontfamily="Verdana, Geneva, Arial, Helvetica, sans-serif"; padding=2; separatorcolor="#162934"; separatorsize=2; separatorheight=20; separatorwidth=0; separatorpadding=2; } with(stylesecondaire2=new mm_style()){ offcolor="#666666"; oncolor="#669933"; fontweight="normal"; fontfamily="Verdana, Geneva, Arial, Helvetica, sans-serif"; align="left"; padding=5; separatorpadding=0; } var intHaut=""; var intDroite=""; var strDirection="horizontal"; var intScrollFollow=""; var strPositionFenetre=""; var intHaut2=""; var intDroite2=""; var strDirection2="horizontal"; var intScrollFollow2=""; var strPositionFenetre2=""; intHaut="20"; intDroite="200"; strDirection="horizontal"; intHaut="20"; intDroite="offset=200"; strPositionFenetre="center"; intHaut2="410"; strDirection2="vertical"; intHaut2="410"; strPositionFenetre="center";strPositionFenetre2="left"; function direction() { return strDirection; } function haut() { return intHaut; } function droite() { return intDroite; } function positionfenetre() { return strPositionFenetre; } function scrollfollow() { return intScrollFollow; } function direction2() { return strDirection2; } function haut2() { return intHaut2; } function droite2() { return intDroite2; } function positionfenetre2() { return strPositionFenetre2; } function scrollfollow2() { return intScrollFollow2; } function affiche_contenu(strUrl){ document.getElementById("contenu_texte").innerHTML=""; } with(milonic=new menuname("menu0")){ style=styleprincipal; alwaysvisible="1"; orientation=direction(); left=droite(); top=haut(); screenposition=positionfenetre(); followscroll=scrollfollow(); aI("text= Accueil ;url=index.html;"); aI("text= Nous ;url=http://www.ideapme.ca/idea/approche.html;showmenu=menu2800;"); aI("text= Services ;url=http://www.ideapme.ca/idea/expertises.html;showmenu=menu2804;"); aI("text= Portfolio ;url=portfolio.html;"); aI("text= Contact ;bgimage=http://www.ideapme.ca//idea/web/image/interface09/bg_trans.png;overbgimage=http://www.ideapme.ca//idea/web/image/interface09/bg_trans.png;url=contact-idea.html;"); } with(milonic=new menuname("menu2800")){ style=stylesecondaire; left="offset=0"; top="offset=0"; overflow="scroll"; aI("text= Approche ;fontsize=12;fontweight=bold;url=approche.html;"); aI("text= Équipe ;fontsize=12;fontweight=bold;url=equipe.html;"); aI("text= Partenaires ;fontsize=12;fontweight=bold;url=partenaires.html;"); aI("text= Conseil d'administration ;fontsize=12;fontweight=bold;url=ca.html;"); } with(milonic=new menuname("menu2804")){ style=stylesecondaire; left="offset=0"; top="offset=0"; overflow="scroll"; aI("text= Expertises ;fontsize=12;fontweight=bold;url=expertises.html;"); aI("text= Location d'espaces ;fontsize=12;fontweight=bold;url=espaces.html;"); } drawMenus(); function authentifier_extranet(ens_numero){ document.getElementById("contenu_texte").innerHTML=""; } function droite2() { largeurEcran = largeur_document(); lagueurInterface = 980; posLeft = ( largeurEcran - lagueurInterface ) / 2; if( posLeft > 0 ) return posLeft; else return 0; //return intDroite2; } function largeur_document() { var windowWidth=0; if (typeof(window.innerWidth)=='number') { windowWidth=window.innerWidth; } else { if (document.documentElement&& document.documentElement.clientWidth) { windowWidth = document.documentElement.clientWidth; } else { if (document.body&&document.body.clientWidth) { windowWidth=document.body.clientWidth; } } } return windowWidth; }