$(document).ready(function(){
	$(".submenu").each(function(){
		$(this).hide();
		$(this).parent().hover(
			function(){
				var obj = $(this).find(".submenu");
				obj.show();
				if($.browser.msie)
				{
					obj.animate({bottom: "+=15px"}, 200);
				}
				else
				{
					obj.css("opacity","0");
					obj.animate({bottom: "+=15px",opacity:1.0}, 200);
				}
			},
			function(){
				var obj = $(this).find(".submenu:first");
				if($.browser.msie)
				{
					obj.animate({bottom: "-=15px"}, 200, function(){
						obj.hide();
					});
				}
				else
				{
					obj.animate({bottom: "-=15px",opacity:0}, 200, function(){
						obj.hide();
					});
				}
			}
		);
	});
});
