
									// set up drop downs anywhere in the body of the page. I think the bottom of the page is better..
									// but you can experiment with effect on loadtime.

									if (TransMenu.isSupported()) {
											//==================================================================================================
											// create a set of dropdowns
											//==================================================================================================
											// the first param should always be down, as it is here
											//
											// The second and third param are the top and left offset positions of the menus from their actuators
											// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
											// something like -5, 5
											//
											// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
											// of the actuator from which to measure the offset positions above. Here we are saying we want the
											// menu to appear directly below the bottom left corner of the actuator
											//==================================================================================================
											var ms = new TransMenuSet(TransMenu.direction.down, 0, 1, TransMenu.reference.bottomLeft);

											//==================================================================================================
											// create a dropdown menu
											//==================================================================================================
											// the first parameter should be the HTML element which will act actuator for the menu
											//==================================================================================================
/*
											var menu1 = ms.addMenu(document.getElementById("item1"));
											menu1.addItem("xxx", "");
											menu1.addItem("", ""); // send no URL if nothing should happen onclick
*/
											//==================================================================================================
											
											var menu2 = ms.addMenu(document.getElementById("item2"));
											menu2.addItem("Les Crédits d'Impôts", "conseils_credit.php4");
											menu2.addItem("Primes et Subventions", "conseils_primes.php4");
											menu2.addItem("Les Prêts", "conseils_prets.php4");
											menu2.addItem("La TVA à 5,5%", "conseils_tva.php4");
											
											var menu3 = ms.addMenu(document.getElementById("item3"));
											menu3.addItem("Fioul Gaz", "conseils_fioul.php4");
											menu3.addItem("Energie Bois", "conseils_energie.php4");
											menu3.addItem("Le Solaire", "conseils_solaire.php4");
											menu3.addItem("Les Pompes à Chaleur", "conseils_pompes.php4");

											//==================================================================================================
																						
											var menu4 = ms.addMenu(document.getElementById("item4"));
																								menu4.addItem("Chaudieres condensation", 	"");															var submenu4_1 = menu4.addMenu(menu4.items[0]); 																	submenu4_1.addItem("Fioul sol", "catalogue_produits.php4?cat=2&sscat=14");																	submenu4_1.addItem("Gaz murale", "catalogue_produits.php4?cat=2&sscat=15");																	submenu4_1.addItem("Gaz sol", "catalogue_produits.php4?cat=2&sscat=16");													menu4.addItem("Chaudieres granules", 	"");															var submenu4_2 = menu4.addMenu(menu4.items[1]); 																	submenu4_2.addItem("Chaudieres granules", "catalogue_produits.php4?cat=19&sscat=32");													menu4.addItem("Chaudieres basse temperature", 	"");															var submenu4_3 = menu4.addMenu(menu4.items[2]); 																	submenu4_3.addItem("Fioul sol", "catalogue_produits.php4?cat=1&sscat=11");																	submenu4_3.addItem("Gaz sol", "catalogue_produits.php4?cat=1&sscat=12");																	submenu4_3.addItem("Gaz murale", "catalogue_produits.php4?cat=1&sscat=13");													menu4.addItem("Chaudieres bois", 	"");															var submenu4_4 = menu4.addMenu(menu4.items[3]); 																	submenu4_4.addItem("Chaudieres bois", "catalogue_produits.php4?cat=18&sscat=31");													menu4.addItem("Isolation", 	"");															var submenu4_5 = menu4.addMenu(menu4.items[4]); 																	submenu4_5.addItem("Laine de verre", "catalogue_produits.php4?cat=26&sscat=30");													menu4.addItem("Pompes a chaleur", 	"");															var submenu4_6 = menu4.addMenu(menu4.items[5]); 																	submenu4_6.addItem("Air-eau", "catalogue_produits.php4?cat=24&sscat=28");																	submenu4_6.addItem("Air-air", "catalogue_produits.php4?cat=24&sscat=27");																	submenu4_6.addItem("Eau-eau", "catalogue_produits.php4?cat=24&sscat=29");													menu4.addItem("Solaire thermique", 	"");															var submenu4_7 = menu4.addMenu(menu4.items[6]); 																	submenu4_7.addItem("Solaire thermique", "catalogue_produits.php4?cat=20&sscat=35");													menu4.addItem("Regulation", 	"");															var submenu4_8 = menu4.addMenu(menu4.items[7]); 																	submenu4_8.addItem("Regulation", "catalogue_produits.php4?cat=17&sscat=34");
											
											//==================================================================================================
											// write drop downs into page
											//==================================================================================================
											// this method writes all the HTML for the menus into the page with document.write(). It must be
											// called within the body of the HTML page.
											//==================================================================================================
											TransMenu.renderAll();
									}