


/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="150px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

// exemple
linkset[0]='<a href="http://dynamicdrive.com">Dynamic Drive</a>'
linkset[0]+='<hr>' //Optional Separator
linkset[0]+='<a href="http://www.javascriptkit.com">JavaScript Kit</a>'
linkset[0]+='<a href="http://www.codingforums.com">Coding Forums</a>'
linkset[0]+='<a href="http://www.cssdrive.com">CSS Drive</a>'
linkset[0]+='<a href="http://freewarejava.com">Freewarejava</a>'

// division
linkset[1]='<a href="index.php?page=elevator">Ascenseurs</a>'
linkset[1]+='<a href="index.php?page=industrial">Industrielle</a>'
linkset[1]+='<a href="index.php?page=robotics">Robotique</a>'
linkset[1]+='<a href="index.php?page=distribution">Distribution</a>'
linkset[1]+='<a href="index.php?page=computing">Informatique industrielle</a>'

// ??????????????????????
linkset[2]='<a href="index.php?page=crp2000">CRP 2000</a>'


// computing
linkset[3]='<a href="index.php?page=muni_computing">Solutions pour les municipalit&eacute;s</a>'
linkset[3]+='<a href="index.php?page=elev_computing">Logiciel de supervision d&#8217;ascenseurs</a>'
linkset[3]+='<a href="index.php?page=refrig_computing">Syst&egrave;me de r&eacute;frig&eacute;ration</a>'
linkset[3]+='<a href="index.php?page=tele_computing">T&eacute;l&eacute;-Avertissement</a>'
linkset[3]+='<a href="index.php?page=mach_computing">Machinerie sp&eacute;cialis&eacute;e</a>'
linkset[3]+='<a href="doc/corpo.pdf">Profile corporatif</a>'

// elevator

linkset[4]='<a href="index.php?page=jha">Contrôle handicapé (Série JHA)</a>'
linkset[4]+='<a href="index.php?page=jwd">Contrôle monte-plât (Série JDW)</a>'
linkset[4]+='<a href="index.php?page=jrd">Contrôle résidentiel (Série JRD)</a>'
linkset[4]+='<a href="index.php?page=jhd-1000">Contrôle hydraulique (Série JHD)</a>'
linkset[4]+='<a href="index.php?page=jrescu">Unité d\'urgence (RescuPower)</a>'
linkset[4]+='<a href="index.php?page=j12">Contrôle câble 1 et 2 vitesses (Série J12)</a>'
linkset[4]+='<a href="index.php?page=jvv">Contrôle V.V. MG set (Série JVV)</a>'
linkset[4]+='<a href="index.php?page=jvf">Contrôle VVVF (Série JVF)</a>'
linkset[4]+='<a href="index.php?page=jsc">Contrôle SCR (Série JSC)</a>'
linkset[4]+='<a href="index.php?page=jdp">Contrôle de groupe (Série JDP)</a>'
linkset[4]+='<a href="index.php?page=jec">Escalier (Série JEC)</a>'
linkset[4]+='<a href="index.php?page=j-mon">Logiciel de supervision des ascenseurs (Série J-MON)</a>'
linkset[4]+='<a href="index.php?page=jov">Contrôle temporaire « overlay » (Série JOV)</a>'
linkset[4]+='<a href="index.php?page=systpesage">Système de pesage (Micelect)</a>'
linkset[4]+='<a href="index.php?page=j-link">Cartes E/S déportées (Série J-LINK)</a>'
linkset[4]+='<a href="index.php?page=posi-1000">Posi-1000</a>'


linkset[5]='<a href="doc/elevator/brochure_2005.pdf">Catalogue des contrôles d\'ascenseur</a>'
linkset[5]+='<a href="index.php?page=elevator_manuals_request">Manuels</a>'
linkset[5]+='<a href="index.php?page=elevator_softwares">Logiciels</a>'
linkset[5]+='<a href="doc/elevator/soumission_ascenseur_fr.doc">Formulaire de soumission Ascenseur</a>'
linkset[5]+='<a href="doc/elevator/soumission_escalier_fr.doc">Formulaire de soumission Escalier</a>'
linkset[5]+='<a href="doc/elevator/soumission_handicape_fr.doc">Formulaire de soumission Handicapé</a>'
linkset[5]+='<a href="doc/elevator/soumission_monte_plat_fr.doc">Formulaire de soumission Monte-Plats</a>'
linkset[5]+='<a href="doc/elevator/formulaire_commande_ascenseur_fr.xls">Formulaire de commande</a>'
//linkset[5]+='<a href="doc/corpo.pdf">Profile corporatif</a>'


// industriel
linkset[6]='<a href="index.php?page=#">Contrôle handicapé</a>'
linkset[6]+='<a href="index.php?page=#">Contrôle monte-plât</a>'
linkset[7]='<a href="doc/data2000.pdf">Catalogue des controles d\'ascenseur</a>'
linkset[7]+='<a href="doc/elevator/fransoum.doc">Formulaire de soumission</a>'
linkset[7]+='<a href="doc/elevator/francomm.doc">Formulaire de commande</a>'
linkset[7]+='<a href="doc/corpo.pdf">Profile corporatif</a>'

// distribution
linkset[8]='<a href="index.php?page=carteproduits_distribution">Nos produits</a>'
linkset[8]+='<a href="index.php?page=lamicoides_distribution">Lamicoïdes</a>'

linkset[9]='<a href="doc/distribution/bon_de_commande_ABCDXY_V3.pdf">Bon de commande Lamicoïdes ABCDXY</a>'
linkset[9]+='<a href="doc/distribution/bon_de_commande_EFGHI_V3.pdf">Bon de commande Lamicoïdes EFGHI</a>'
linkset[9]+='<A HREF="index.php?page=docrequest_distribution">Demande de documentation en ligne</A>'
linkset[9]+='<A HREF="index.php?page=quoterequest_distribution">Demande de soumission en ligne</A>'
linkset[9]+='<a href="doc/corpo.pdf">Profile corporatif</a>'



////No need to edit beyond here

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX + 10 -50
eventY=ie5? event.clientY + 10 : e.clientY+10
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY+10-menuobj.contentheight+"px" : window.pageYOffset+eventY+10-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu


