/* =================================================================================================
 * TransMenu Setup (#menuTop)
 * Eric Ingram
 * December, 2006
 *
 * Dynamically load TransMenu(s) from object structure.
 * ============================================================================================== */
var loadMenus = function () {
    // Load menuTop by object structure.
	TransMenu.loadObject({
		'a_1': {
			'FIND COURSES': {href: 'http://www.trainingpage.com/technology/'},
			'By Technology': {href: 'http://www.trainingpage.com/technology/'},
			'By Date': {href: 'http://www.trainingpage.com/find-courses-by-date.php'},
			'By Location': {href: 'http://www.trainingpage.com/find-courses-by-location.php'}
		},
		'a_2': {
			'OUR SERVICES': {href: 'http://www.trainingpage.com/services.php'},
			'IT Training Coordination': {href: 'http://www.trainingpage.com/training-coordinators.php'},
			'Instructor-Led Training': {href: 'http://www.trainingpage.com/instructor-led-training.php'},
			'Onsite Instruction': {href: 'http://www.trainingpage.com/onsite-instruction.php'},
			'E-Learning': {href: 'http://www.trainingpage.com/e-learning.php'},
			'Custom Course Delivery': {href: 'http://www.trainingpage.com/custom-course-delivery.php'},
			'Conference Registrations': {href: 'http://www.trainingpage.com/conference-registrations.php'},
			'Training Room Rentals - Worldwide': {href: 'http://www.trainingpage.com/training-room-rentals.php'},
			'Customized Software Application Development': {href: 'http://www.trainingpage.com/custom-software-development.php'},
			'Travel Services': {href: 'http://www.trainingpage.com/travel-services.php'}
		},
		'a_6': {
			'Government and Prime Contractors': {href: 'http://www.trainingpage.com/serving-federal-government.php'}
		},
		'a_3': {
			'TRAINING COORDINATORS': {href: 'http://www.trainingpage.com/training-coordinators.php'},
			'Tools to Manage Your Training': {href: 'http://www.trainingpage.com/training-tools.php'},
			'Two Ways to Serve You': {href: 'http://www.trainingpage.com/ways-to-serve.php'},
			'How it Works': {href: 'http://www.trainingpage.com/how-it-works.php'}
		},
		'a_4': {
			'ABOUT US': {href: 'http://www.trainingpage.com/about.php'},
			'Our Goals': {href: 'http://www.trainingpage.com/our-goals.php'},
			'Our Quality Pledge': {href: 'http://www.trainingpage.com/our-quality-pledge.php'},
			//'Our Team': {href: 'http://www.trainingpage.com/our-team.php'},
			//'Our Clients': {href: 'http://www.trainingpage.com/our-clients.php'},
			'Client Testimonials': {href: 'http://www.trainingpage.com/client-testimonials.php'},
			'Our Partners': {href: 'http://www.trainingpage.com/our-partners.php'},
			'TrainingPage Videos': {href: 'http://www.trainingpage.com/videos.php'},
			'Careers at TrainingPage': {href: 'http://www.trainingpage.com/careers.php'}
		},
		'a_5': {
			'IBM EdPack': {href: 'http://www.trainingpage.com/ibm-education-pack.php'},
			'Red Hat & JBoss Savings': {href: 'http://www.trainingpage.com/savings-options.php'},
			'TAP - Total Access Pass': {href: 'http://www.trainingpage.com/tap-total-access-pass.php'},
			'TAP - FAQs': {href: 'http://www.trainingpage.com/tap-faqs.php'}
		}
	}, TransMenu.direction.down, 0, -5, TransMenu.reference.bottomLeft);
	// Initialize all menus.
	TransMenu.renderAll();
	TransMenu.initialize();
}
//==================================================================================================
// Setup event on load
//==================================================================================================
// IE-style events.
if (window.attachEvent) {
	window.attachEvent('onload', loadMenus, false);
// Mozilla/W3C style events.
} else if (window.addEventListener) {
	window.addEventListener('load', loadMenus, false);
// Default events.
} else {
	window.onload = loadMenus;
}
