$(function(){
	$("#menu li a:not('#menu li.active a')").hover(
		function () {
			$(this).find('span.menutop').stop(true, true).animate({ top: '+=49' }, 300, function() {
			// Animation complete.
			});
			$(this).find('span.menubottom').stop(true, true).animate({ bottom: '+=9' }, 300, function() {
			// Animation complete.
			});
		}, 
		function () {
			$(this).find('span.menutop').stop(true, true).animate({ top: '-=49' }, 300, function() {
			// Animation complete.
			});
			$(this).find('span.menubottom').stop(true, true).animate({ bottom: '-=9' }, 300, function() {
			// Animation complete.
			});
		}
	);	
});
