// JavaScript Document
// Hover effects for menu
(function ($) {	

// The margin shift for the menu items

	$('#menu li a').hover(function () {
		$('img', this).stop().animate({
			'marginLeft' : 5
		}, 275);
	}, function () {
		$('img', this).stop().animate({
			'marginLeft' : 10
		}, 275);
	}).find('img').css('marginLeft', 10);

// The opacity shift for the sponsor logos

	$('#menu a.sponsor').hover(function () {
		$('img', this).stop().animate({
			'opacity' : 1
		}, 500);
	}, function () {
		$('img', this).stop().animate({
			'opacity' : .75
		}, 350);
	}).find('img').css('opacity', .75);
})(jQuery);