// JavaScript Document
// 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, 1, 0, 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("rederijen"));
		menu1.addItem("Azamara Club Cruises <img src='Images/promoazamara.jpg'/>", "cps_rederij.asp?landid=98"); 
		menu1.addItem("Celebrity Cruises<img src='Images/promocelebrity.jpg'/>", "cps_rederij.asp?landid=22"); 
		menu1.addItem("Costa Cruises", "cps_rederij.asp?landid=41"); 
		menu1.addItem("<b>Crystal Cruises</b><img src='Images/promocrystal.jpg'/>", "cps_rederij.asp?landid=47"); 
		menu1.addItem("<b>Cunard</b><img src='Images/promocunard.jpg'/>", "cps_rederij.asp?landid=25"); 
		menu1.addItem("<b>Hapag-Lloyd</b><img src='Images/promohapag.jpg'/>", "cps_rederij.asp?landid=62"); 
		menu1.addItem("<b>Holland America Line</b>", "cps_rederij.asp?landid=40"); 
		menu1.addItem("<b>Hurtigruten</b><img src='Images/promohurtigruten.jpg'/>", "cps_rederij.asp?landid=77"); 
		menu1.addItem("<b>Norwegian Cruise Line</b><img src='Images/promoncl.jpg'/>", "cps_rederij.asp?landid=75"); 
		menu1.addItem("<b>Oceania Cruises</b><img src='Images/promooceania.jpg'/>", "cps_rederij.asp?landid=65"); 
		menu1.addItem("<b>Orion Expedition</b>", "cps_rederij.asp?landid=108"); 
		menu1.addItem("<b>Paul Gauguin Cruises</b> <img src='Images/promopgc.jpg'/>", "cps_rederij.asp?landid=113"); 
		menu1.addItem("<b>Premicon Line</b><img src='Images/PromoPremiconQueen.jpg'/>", "cps_rederij.asp?landid=107"); 
		menu1.addItem("<b>Princess Cruises</b><img src='Images/promoprincess-2.jpg'/>", "cps_rederij.asp?landid=57"); 
		menu1.addItem("<b>Quark Expeditions</b>", "cps_rederij.asp?landid=110"); 
		menu1.addItem("<b>Regent Seven Seas Cruises</b><img src='Images/promoRegent.jpg'/>", "cps_rederij.asp?landid=99"); 
		menu1.addItem("Royal Caribbean <img src='Images/promorccl.jpg'/>", "cps_rederij.asp?landid=15"); 
		menu1.addItem("<b>Seabourn</b><img src='Images/PromoSeabourn.jpg'/>", "cps_rederij.asp?landid=17"); 
		menu1.addItem("<b>Sea Cloud Cruises</b><img src='Images/Promo_SeaCloud.jpg'/>", "cps_rederij.asp?landid=93"); 
		menu1.addItem("<b>Seadream</b><img src='Images/promoseadream.jpg'/>", "cps_rederij.asp?landid=18"); 
		menu1.addItem("<b>Silversea Cruises</b><img src='Images/promosilversea.jpg'/>", "cps_rederij.asp?landid=72"); 
		menu1.addItem("Star Clippers", "cps_rederij.asp?landid=37"); 
		menu1.addItem("<b>Uniworld</b><img src='Images/Promouniworld.jpg'/>", "cps_rederij.asp?landid=87"); 
		menu1.addItem("<b>Victoria Cruises</b>","cps_rederij.asp?landid=114"); 
		menu1.addItem("<b>Windstar Cruises</b><img src='Images/promowindstar.jpg'/>", "cps_rederij.asp?landid=45"); 

        //==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("partners"));
		menu2.addItem("<b>Asse</b> - Itinera Reizen", "cps_partner_detail.asp?partnerid=7");
		menu2.addItem("<b>Brasschaat</b> - Brasschaat Travel", "cps_partner_detail.asp?partnerid=3");
		menu2.addItem("<b>Hasselt</b> - De Permentier", "cps_partner_detail.asp?partnerid=2");
		menu2.addItem("<b>Keerbergen</b> - Het Reisplan", "cps_partner_detail.asp?partnerid=1");
		menu2.addItem("<b>Lanaken</b> - Reisbureau White Sun", "cps_partner_detail.asp?partnerid=17");
		menu2.addItem("<b>Oostende</b> - Azuriet Reizen", "cps_partner_detail.asp?partnerid=5");
    menu2.addItem("<b>Sint-Niklaas</b> - Reizen De Cauwer", "cps_partner_detail.asp?partnerid=4");
		menu2.addItem("<b>Tervuren</b> - Decuyper Travel", "cps_partner_detail.asp?partnerid=19");
				
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("onzecruises"));
		menu3.addItem("Ons Cruise-aanbod", "cps_ons_cruiseaanbod.asp?Reistype=4");
		menu3.addItem("<b>Begeleide Cruises</b>", "cps_begeleide_cruises.asp?Reistype=Cruisevakanties");
		menu3.addItem("<b>Specials (Extra voordelen)</b>", "cps_specials.asp");
		menu3.addItem("<b>Recentste aanbiedingen</b>", "cps_recente_aanbiedingen.asp");
		menu3.addItem("Onze Topaanbiedingen", "cps_topaanbiedingen.asp?Reistype=Cruisevakanties");
		menu3.addItem("Mini-Cruises", "cps_mini_cruises.asp?Reistype=Cruisevakanties");
		menu3.addItem("Wereldcruises", "cps_promotie_vaargebied.asp?vaargebied=313");
		menu3.addItem("Expeditiecruises", "cps_expeditiecruises.asp?Reistype=Cruisevakanties");
		menu3.addItem("Riviercruises", "cps_riviercruises.asp?Reistype=Cruisevakanties");
		menu3.addItem("<b>Zoek uw droomcruise</b>", "cps_zoekcruise.asp");
		
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("specials"));
		menu4.addItem("Overzicht van al onze <b>Nederlandstalige Begeleide Cruises</b>", "cps_begeleide_cruises.asp?Reistype=Cruisevakanties");		
		menu4.addItem("Midden-Oosten - <b>07 maart 2010</b> - Brilliance of the Seas - Royal Caribbean", "cps_promoresult.asp?promotieid=25271&Vertrekdatum=07/03/2010&landid=15");
		menu4.addItem("Middellandse Zee - <b> 12 juni 2010</b> - Seabourn Odyssey", "cps_promoresult.asp?promotieid=23795&Vertrekdatum=12/06/2010&landid=17");
		menu4.addItem("Baltische Staten - <b> 04 aug 2010</b> - Seven Seas Voyager", "cps_promoresult.asp?promotieid=23065&Vertrekdatum=04/08/2010&landid=99");
		menu4.addItem("Verre Oosten - <b>  13 nov 2010</b> - Silver Shadow", "cps_promoresult.asp?promotieid=20868&Vertrekdatum=13/11/2010&landid=72");
		menu4.addItem("Antarctica - <b>11 februari 2011</b> - Hanseatic - Hapag-Lloyd", "cps_promoresult.asp?promotieid=27848&Vertrekdatum=11/02/2011&landid=62");
		menu4.addItem("Overzicht van al onze <b>Nederlandstalige Begeleide Cruises</b>", "cps_begeleide_cruises.asp?Reistype=Cruisevakanties");
				
		//==================================================================================================
		
		var menu5 = ms.addMenu(document.getElementById("cruiseinformatie"));
		menu5.addItem("Waarom <b>Vroeg reserveren</b> ?", "cps_cruisenews_detail.asp?NewsID=535");
		menu5.addItem("Waarom <b>Cruise Plus</b> ?", "cps_cruisenews_detail.asp?NewsID=464");
		menu5.addItem("Waar kan je best <b>reserveren</b> ?", "cps_cruisenews_detail.asp?NewsID=465");
		menu5.addItem("Vaak gestelde <b>vragen</b> - FAQ's", "cps_faq.asp");
		menu5.addItem("Cruise Plus <b>Begeleide Cruises</b>", "cps_cruisenews_detail.asp?NewsID=466");
		menu5.addItem("Vluchten en landarrangementen", "cps_cruisenews_detail.asp?NewsID=467");
		menu5.addItem("Cruise Plus <b>Scheepsbezoeken</b>", "cps_scheepsbezoek.asp");
		menu5.addItem("Cruise Plus <b>Evenementen</b>", "cps_evenement.asp");
		menu5.addItem("Cruise Plus <b>Agenda</b>", "cps_cruiseagenda.asp");	
		menu5.addItem("Bekijk ons <b>cruisenieuws</b>", "cps_cruisenews.asp");
		menu5.addItem("Schrijf u in op onze <b>mailinglijst</b>", "cps_mailinglist.asp");
		menu5.addItem("Geef uw <b>persoonlijke mening</b>", "cps_cruisenews_detail.asp?NewsID=468");
		menu5.addItem("Heeft u een reisverzekering nodig ?", "cps_cruisenews_detail.asp?NewsID=528");
		menu5.addItem("Wat is zeeziekte ?", "cps_cruisenews_detail.asp?NewsID=501");
		menu5.addItem("Werken aan boord van een schip", "cps_cruisenews_detail.asp?NewsID=488");

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("agenda"));	
		menu6.addItem("<li> <b>Lifestylebeurs</b> Landgoed Pulhof in Wijnegem - 30 april t/m 02 mei 2010", "cps_cruiseagenda_detail.asp?NewsID=577");
		menu6.addItem("<li> <b>Antarctica</b>  Salons Lucullus Brasschaat - 10 mei 2010", "cps_cruiseagenda_detail.asp?NewsID=422");
		menu6.addItem("<li> <b>Eccentric</b> op het Albertstrand in Knokke-Heist - 13 t/m 17 mei 2010", "cps_cruiseagenda_detail.asp?NewsID=540");
		
		//==================================================================================================
		// 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();
	}
