// JavaScript Document

<!--

if (TransMenu.isSupported()) {
	var ms = new TransMenuSet(TransMenu.direction.down, 0,1, TransMenu.reference.bottomLeft);
	
	// Add Venues to Menu
	var venues = ms.addMenu(document.getElementById("venues"));
	venues.addItem("<div>UQ St Lucia</div>", "http://www.uqsport.com.au/index.html?page=111882", "0");
	venues.addItem("<div class='child'>UQ Athletics Centre</div>", "http://www.uqsport.com.au/index.html?page=7099", "0");
	venues.addItem("<div class='child'>UQ Aquatic Centre</div>", "http://www.uqsport.com.au/aquatics", "0");
	venues.addItem("<div class='child'>UQ Pilates Studio</div>", "http://www.uqsport.uq.edu.au/index.html?page=65655", "0");
	venues.addItem("<div class='child'>UQ Playing fields and ovals</div>", "http://www.uqsport.com.au/index.html?page=7102", "0");
	venues.addItem("<div class='child'>UQ Sport &amp; Fitness Centre</div>", "http://www.uqsport.uq.edu.au/index.html?page=7100", "0");
	venues.addItem("<div class='child'>UQ Tennis Centre</div>", "http://www.uqsport.com.au/tennis-111882", "0");
	venues.addItem("<div>UQ Gatton</div>", "http://www.uqsport.com.au/index.html?page=7284", "0");
	venues.addItem("<div>UQ Ipswich</div>", "http://www.uqsport.com.au/index.html?page=106774", "0");
	
	
	
	// Add Clubs to Menu
	var clubs = ms.addMenu(document.getElementById("clubs"));
	clubs.addItem("<div>Club Administration</div>", "http://www.uqsport.com.au/index.html?page=118548", "0");
	clubs.addItem("<div>Club News</div>", "http://www.uqsport.com.au/index.html?page=117178", "0");
	clubs.addItem("<div>Awards & Alumni</div>", "http://www.uqsport.com.au/index.html?page=7108", "0");
	clubs.addItem("<div>Sporting Scholarships</div>", "http://www.uqsport.com.au/index.html?page=7123", "0");
		
	// Add Competitions to Menu
	var competitions = ms.addMenu(document.getElementById("competitions"));
	competitions.addItem("<div>Social sport</div>", "http://www.uqsport.com.au/index.html?page=7105", "0");
	competitions.addItem("<div>College sport</div>", "http://www.uqsport.com.au/index.html?page=7104", "0");
	competitions.addItem("<div>University Games</div>", "http://www.uqsport.com.au/index.html?page=7109", "0");
	
	// Add Lifestyle Courses to Menu
	var lifestyle = ms.addMenu(document.getElementById("lifestyle"));
	lifestyle.addItem("<div>Dance</div>", "http://www.uqsport.com.au/index.html?page=106633", "0");
	lifestyle.addItem("<div>Holistic health</div>", "http://www.uqsport.com.au/index.html?page=106641", "0");
	lifestyle.addItem("<div>Martial arts</div>", "http://www.uqsport.com.au/index.html?page=106639", "0");
	lifestyle.addItem("<div>Personal development</div>", "http://www.uqsport.com.au/index.html?page=106646", "0");
	lifestyle.addItem("<div>Sports coaching and fitness</div>", "http://www.uqsport.com.au/index.html?page=106647", "0");
	
	// Add High Performance Sport to Menu
	var performance = ms.addMenu(document.getElementById("performance"));
	performance.addItem("<div>Services</div>", "http://www.uqsport.com.au/index.html?page=107538", "0");
	performance.addItem("<div>Sporting scholarships</div>", "http://www.uqsport.com.au/index.html?page=7123", "0");	
	performance.addItem("<div>News</div>", "http://www.uqsport.com.au/index.html?page=111867", "0");
	performance.addItem("<div>Awards and alumni</div>", "http://www.uqsport.com.au/index.html?page=7108", "0");

	// Add Corporate to Menu
	var corporate = ms.addMenu(document.getElementById("corporate"));
	corporate.addItem("<div>Employment</div>", "http://www.uqs.com.au/employment", "0");
	
	// Add Contact to Menu
	var contact = ms.addMenu(document.getElementById("contact"));
	contact.addItem("<div>Contact details</div>", "http://www.uqsport.com.au/index.html?page=106921", "0");
	contact.addItem("<div>How to find us<br/>and parking</div>", "http://www.uqsport.com.au/index.html?page=51112", "0");
	contact.addItem("<div>Opening hours</div>", "http://www.uqsport.com.au/index.html?page=106760", "0");
	
	function init73() { 
		if (TransMenu.isSupported()) { 
			TransMenu.initialize();
		}
	}
	
	TransMenu.spacerGif = "images/spacers/x.gif";
	TransMenu.sub_indicator = true; 
	TransMenu.menuPadding = 0;
	TransMenu.itemPadding = 0;
	TransMenu.shadowSize = 0;
	TransMenu.shadowOffset = 3;
	TransMenu.shadowColor = "#888";
	TransMenu.hideDelay = 600;
	TransMenu.slideTime = 300;
	TransMenu.modid = 73;
	TransMenu.selecthack = 1;
	TransMenu.renderAll();
	
	if (typeof window.addEventListener != "undefined") {
		window.addEventListener( "load", init73, false );
	} else if (typeof window.attachEvent != "undefined") {
		window.attachEvent( "onload", init73 );
	} else {
		if (window.onload != null) {
			var oldOnload = window.onload;
			window.onload = function ( e ) {
				oldOnload( e );
				init73();
			}
		} else {
			window.onload = init73();
		}
	}
}
//-->