//////////////////////////////////////////////////////
//
//	The purpose of this file is to
//	apply a hover class on mouseover
//	on the <li> elements in the nav.
//	This is because IE doesn't put
//	the pseudo class :hover on <li> elements
//
//	This is code that uses the
//	jquery javascript library (http://jquery.com/)
//
//////////////////////////////////////////////////////
//no conflict jquery
jQuery.noConflict();
jQuery(window).load(function() {
	if (document.all&&document.getElementById) {
		// this is needed for the IE 6 pseudo hover class bug
		jQuery(".navtop > li").hover(function() {
			jQuery(this).addClass("hover");
		},
		function () {
			jQuery(this).removeClass("hover");
		});
		// this adds flyout support for IE 6
		jQuery(".navtop > li li ").hover(function () {
			jQuery(this).addClass("hover");
		},
		function () {
			jQuery(this).removeClass("hover");
		});
		
	} else {
		// this is need for safari when nav covers flash
		jQuery(".navtop li ul").hover(function () {
			jQuery(this).addClass("redraw");
		},
		function () {
			jQuery(this).removeClass("redraw");
		});
	}
});(jQuery);

