if (TransMenu.isSupported()) {
	//==============================================================================================
	
	var ms = new TransMenuSet(TransMenu.direction.down, 0, 4, TransMenu.reference.bottomLeft);
	
	var menu1 = ms.addMenu(document.getElementById("pp"));
	menu1.addItem("Home", "http://perth.pulsar.org.au/index.php"); 
	menu1.addItem("Upcoming Events", "http://perth.pulsar.org.au/events.php"); 
	menu1.addItem("Event Reminders", "http://perth.pulsar.org.au/reminders.php");
	menu1.addItem("Specials", "http://perth.pulsar.org.au/specials.php");
	menu1.addItem("Newsletter", ""); 
	
        //==============================================================================================

	var menu2 = ms.addMenu(document.getElementById("gallery"));
	menu2.addItem("Home", "http://perth.pulsar.org.au/gallery/index.php"); 
	menu2.addItem("Cruises", "http://perth.pulsar.org.au/gallery/index.php?cat=3"); 
	menu2.addItem("Events", "http://perth.pulsar.org.au/gallery/index.php?cat=4"); 
	menu2.addItem("Social", "http://perth.pulsar.org.au/gallery/index.php?cat=5");
	menu2.addItem("Members Rides", "http://perth.pulsar.org.au/gallery/index.php?cat=6");
	//==================================================================================================

	var menu3 = ms.addMenu(document.getElementById("links"));
	menu3.addItem("PGA", "http://www.pulsar.org.au"); 
	menu3.addItem("Workshops", "");
	menu3.addItem("Parts", ""); 

	//==================================================================================================
	
	var menu4 = ms.addMenu(document.getElementById("contact"));
	menu4.addItem("President", "");
	menu4.addItem("Vice-President", "http://perth.pulsar.org.au/contact.php?id=2"); 
	menu4.addItem("Secretary", "http://perth.pulsar.org.au/contact.php?id=3"); 
	menu4.addItem("Events", "http://perth.pulsar.org.au/contact.php?id=4");
	menu4.addItem("Social", "");
	menu4.addItem("Webmaster", "http://perth.pulsar.org.au/contact.php?id=6");

	TransMenu.renderAll();
}