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, 0, 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 : #2
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Over Ons", "http://www.a1host.nl/About_Us2.php");
///menu2.addItem("Contact", "http://www.a1host.nl/contact2.php");
menu2.addItem("Nieuws", "http://forum.a1host.nl/index.php?catselect=4" );
menu2.addItem("Voorwaarden", "http://www.a1host.nl/disclaimer2.php");
menu2.addItem("Netwerk", "http://www.a1host.nl/infrastructuur2.php");


// sousmenu du menu#2 : attacher au 1er élément
//var subMenu3 = menu2.addMenu(menu2.items[0]);
//subMenu3.addItem("- Aspera Internet Services", "alg-aspera.php");
//subMenu3.addItem("- Moodie", "alg-moodie.php");



// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("A1Host.nl", "http://www.a1host.nl");






// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Pre-sales", "http://forum.a1host.nl/index.php?catselect=3");
menu4.addItem("Vragen", "http://forum.a1host.nl/index.php?catselect=2");
menu4.addItem("Webdesign", "http://forum.a1host.nl/index.php?catselect=5");
///menu4.addItem("A1Album", "http://www.a1host.nl/forum/index.php?c=4");
//menu4.addItem("- Zelf samenstellen", "#");


// menu : #5
//var menu5 = ms.addMenu(document.getElementById("menu5"));
//var subMenu5 = menu4.addMenu(menu4.items[0]);
//subMenu5.addItem("SuiteAfrica", "http://www.suiteafrica.com");
//subMenu5.addItem("Hof van Eeken", "http://www.hofvaneeken.nl");

// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Domeinregistratie", "#");
menu6.addItem("Webhosting", "http://www.a1host.nl/webhosting2.php");
menu6.addItem("Dedicated Servers", "http://www.a1host.nl/servers.php");


// menu : #9
//var menu9 = ms.addMenu(document.getElementById("menu6"));
var subMenu9 = menu6.addMenu(menu6.items[0]);
subMenu9.addItem("Meteen aanvragen", "http://www.a1host.nl/keuze2.php");
subMenu9.addItem("Beschikbaarheid", "http://www.a1host.nl/whois2.php");
subMenu9.addItem("Verhuizen", "http://www.a1host.nl/verhuizen2.php");
subMenu9.addItem("Documenten", "http://www.a1host.nl/documenten2.php");


// menu : #7
var menu7 = ms.addMenu(document.getElementById("menu7"));
menu7.addItem("JavaScripts", "http://www.a1host.nl/Javascripts2.php");
menu7.addItem("CGI Scripts", "http://www.a1host.nl/cgi_tools2.php");
menu7.addItem("PHP Scripts", "http://www.a1host.nl/php_tools2.php");
menu7.addItem("Software", "http://www.a1host.nl/software2.php");
menu7.addItem("Banners", "http://www.a1host.nl/banners2.php");
menu7.addItem("Sitepromotie", "http://www.a1host.nl/cgi-bin/submitit22.cgi");
menu7.addItem("Veiligheid", "http://www.a1host.nl/security2.php");



// menu : #8
var menu8 = ms.addMenu(document.getElementById("menu8"));
menu8.addItem("Uw account", "http://www.a1host.nl/account2.php");
menu8.addItem("E-mail", "http://www.a1host.nl/mail2.php");
menu8.addItem("FTP", "http://www.a1host.nl/ftp2.php");
menu8.addItem("PHP", "http://www.a1host.nl/php2.php");
menu8.addItem("Perl, CGI", "http://www.a1host.nl/cgi2.php");
menu8.addItem("SSI", "http://www.a1host.nl/ssi2.php");
menu8.addItem("SSL", "http://www.a1host.nl/ssl2.php");


//===============================================================================================================================================
// Écrire le code dans la page
//===============================================================================================================================================
mtDropDown.renderAll();
}
