if (mtDropDown.isSupported()) {

//===============================================================================================================================================
// Variable ms = création du set de dropdown
//===============================================================================================================================================
// Le premier parametre devrait toujours être (mtDropDown.direction.down) comme il l'est maintenant
//
// Le deuxième et troisième paramètre (0, 0) sont la distance "top" et "left" par rapport à l'image qui les fait ouvrir
// Pour faire apparaitre le dropdown un peu plus a gauche et plus bas vous pouvez utiliser ceci (-5, 5)
//
// Le dernier paramètre (reference.bottomLeft) est remplacable par (.topLeft), (.bottomLeft), (.topRight), ou (.bottomRight)
// Ce paramètre indique à quel coin de l'image le dropdown devrait apparaitre
//===============================================================================================================================================


var ms = new mtDropDownSet(mtDropDown.direction.down, -3, 0, mtDropDown.reference.bottomLeft);


//===============================================================================================================================================
// Ajouter un sous-menu
//===============================================================================================================================================
// var subMenu(# du sous-menu) = menu(# du menu a qui il appartient).addMenu(menu(# du menu a qui il appartient).items[# de l'objet ici 0 = 1]);
//
// Pour ajouter ont doit incrémenter la valeur du subMenu exemple (subMenu++) peut-importe à quel menu on le passe
// si le 3ieme sous menu est passé au premier objet du 4ieme menu ca donne... var subMenu3 = menu4.addMenu(menu4.items[0]);
//===============================================================================================================================================



// menu : #1
var menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Who We Are", zepath+"whoweare.html");


// menu : #2
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Black&White Copying", zepath+"bw_copying.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Colour Copying", zepath+"colour_copying.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Printing", zepath+"printing.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binding", zepath+"binding.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lamination/Plak-it", zepath+"lamination.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Faxing", zepath+"faxing.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cutting/Padding/Folding", zepath+"cutting.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self Serve Copying", zepath+"self_serve.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Graphic Design", zepath+"graphic_design.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computer Forms", zepath+"form.html");
menu2.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mailing Services", zepath+"mailing.html");


// menu : #3
//var menu3 = ms.addMenu(document.getElementById("menu3"));


// menu : #4
//var menu4 = ms.addMenu(document.getElementById("menu4"));


// menu : #5
//var menu5 = ms.addMenu(document.getElementById("menu5"));






//===============================================================================================================================================
// Écrire le code dans la page
//===============================================================================================================================================
mtDropDown.renderAll();
}

