// Make calls to other operations from this file. 


// Dropdowns
$(function(){
	// add hovers for IE6
	$('#main_menu ul>li').hover(
		function(){
			$(this).addClass('hover');
		},
		function(){
			$(this).removeClass('hover');
		})
		.each(function(){
			// calculate the offest to center each dropdown
			var offset = ($(this).width() - $('ul',this).width()-10) /2;
			$('ul',this).css('left', offset)
			// add a class on teh first li of each element for IE
			.find(':first-child').addClass('first');
		}
	);
});

// fired at the end of the page once all html has loaded
function onDOMload () {
	if(typeof sIFR == "function"){
		switchFonts();
	};
	if(typeof buildTransitions == "function") {
		buildTransitions();
	};
};

// fired once all content has loaded
function onPageLoad () {
	
};



document.onload = onPageLoad();