$(document).ready(function() {
	if (document.all&&document.getElementById) {
		// this is needed for the IE 6 pseudo hover class bug
		$(".navtop > li").hover(function() {
			$(this).addClass("hover");
		},
		function () {
			$(this).removeClass("hover");
		});

		// this adds flyout support for IE 6
		$(".navtop > li li ").hover(function () {
			$(this).addClass("hover");
		},
		function () {
			$(this).removeClass("hover");
		});

		// prepend ">" char to subnav because ie 6/7 don't support CSS generated content
		$("body.sub #altcontainer .navsub li ul li a").prepend("> ");
	} else {
		// this is need for safari when nav covers flash
		$(".navtop li ul").hover(function () {
			$(this).addClass("redraw");
		},
		function () {
			$(this).removeClass("redraw");
		});

		// remove 'section' selected class
		$("body.sub #altcontainer .navsub li.selected ul li.selected a").parent().parent().parent().removeClass("selected");
	}
});

