if (TransMenu.isSupported()) {

var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);

//==================================================================================================
// 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 menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("About Dr. A. W. Martin", "http://www.drmartin.ca/about/bio.php");
menu1.addItem("Articles &amp; Documents", "http://www.drmartin.ca/about/articles.php"); 

var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Current Radio Programs", "http://www.drmartin.ca/radio/current.php");
menu2.addItem("Archived Radio Programs", "http://www.drmartin.ca/radio/archive.php");

var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Medical Crisis Book", "http://www.drmartin.ca/books/medicalcrisis.php");
menu3.addItem("Previous Books", "http://www.drmartin.ca/books/previous.php");

var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Dr. Martin's Preferred Products", "http://www.drmartin.ca/products/preferred.php"); 

var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Clinic Information", "http://www.drmartin.ca/clinic/info.php");

var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Contact Information", "http://www.drmartin.ca/contact/info.php"); 

//==================================================================================================
TransMenu.renderAll();
}