$(document).ready(
	function($) {
		$('#menu li').hover(
			function() {
				//$(this).parent().children('ul').hide();
				$(this).children('ul').show();
			},
			function() {
				//$(this).parent().children('ul').hide();
				$(this).children('ul').hide();
			}
		);
});

/* fix for 'flyunders' in IE7 */
$(document).ready(function(){
if( $.browser.msie ) {
	$("ul.focus li ul li").parents().each(function() {
		var p = $(this);
		var pos = p.css("position");

		// If it's positioned,
		if (pos == "relative" || pos == "absolute" || pos == "fixed") {
			/*
			** Add the "on-top" class name when the
			** mouse is hovering over it, and remove
			** it when the mouse leaves.
			*/
			p.hover(
				function() {
					$(this).addClass("on-top");
				},
				function() {
					$(this).removeClass("on-top");
				}
			);
		}
	});
}
});

