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 Our School", "http://www.dsb1.edu.on.ca/ifss/school/about.php");
menu1.addItem("School Newspaper", "http://www.dsb1.edu.on.ca/ifss/school/newspaper.php");
menu1.addItem("Eye of the Tiger Photo Gallery", "http://www.dsb1.edu.on.ca/ifss/school/eyeofthetiger.php");
menu1.addItem("Good News Board Archive", "http://www.dsb1.edu.on.ca/ifss/school/goodnews.php");
menu1.addItem("Administration &amp; Staff", "http://www.dsb1.edu.on.ca/ifss/school/staff.php");
menu1.addItem("Regular Day Schedule", "http://www.dsb1.edu.on.ca/ifss/school/schoolday.php");
menu1.addItem("School Newsletters", "http://www.dsb1.edu.on.ca/ifss/school/newsletters.php");
menu1.addItem("The School Bell Project", "http://www.dsb1.edu.on.ca/ifss/school/schoolbell.php");

var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Student Handbook", "http://www.dsb1.edu.on.ca/ifss/students/handbook.php");
menu2.addItem("Student Council", "http://www.dsb1.edu.on.ca/ifss/students/studentcouncil.php");
menu2.addItem("Class Pages & Resources", "http://www.dsb1.edu.on.ca/ifss/students/classrooms.php");

var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Course Calendar", "http://www.dsb1.edu.on.ca/ifss/guidance/coursecalendar.php");
menu3.addItem("Timetable of Course Offerings", "http://www.dsb1.edu.on.ca/ifss/guidance/timetable.php");


//==================================================================================================
TransMenu.renderAll();
}