
// Following is called when DOM is loaded
$(document).ready(function() {
	if ($.browser.msie && $.browser.version < 8) {
		// Fixing display bug on IE 7 and 6; normally a 3 pixel margin is 
		// being inserted between each li in the menu.
		$('ul.menu li').css('margin-bottom','-3px');
	}
	$('ul.menu li').hover(
		// Mouseover
		function() {
			$(this).children('ul').fadeIn('fast');
		},
		// Mouseout
		function() {
			$(this).children('ul').fadeOut('fast');
		}
	);
});