/**
 * queensappsci JS
**/

// Do this after the page loads...
$(document).ready(function () {
	initNavbar();

});



/**
 * Makes the drop-down nav work.
 */
function initNavbar() {
	$("div#primaryNav > ul > li").hover(
		function() {
			var elem = $(this);
			elem.addClass("hover");
			elem.children("ul.L2").show();
		},
		function() {
			var elem = $(this);
			elem.removeClass("hover");
			elem.children("ul.L2").hide();
		}
	);
	$("div#primaryNav ul.L2 li").hover(
		function() {
			$(this).addClass("hover");
		},
		function() {
			$(this).removeClass("hover");
		}
	);
}



