$(document).ready(function(){
    
    //HoverSwap functionality
	var hoverSwapArray = new Array();
	
	//Add all the image data here
//	hoverSwapArray["homeFullCalendarButton"] = "/images/home/buttons/full-calendar";
//	hoverSwapArray["homeGoShoppingButton"] = "/images/home/buttons/go-shopping";
//	hoverSwapArray["homeSignUpNowButton"] = "/images/home/buttons/sign-up-now";
	
	$('.hoverSwap').mouseover(function(){	
		if ($(this).attr('src') != hoverSwapArray[$(this).attr('id')] + '-active.gif')
		{
			$(this).attr('src', hoverSwapArray[$(this).attr('id')] + '-on.gif');
		}
	});
	
	$('.hoverSwap').mouseout(function(){
		if ($(this).attr('src') == hoverSwapArray[$(this).attr('id')] + '-on.gif')
		{
			$(this).attr('src', hoverSwapArray[$(this).attr('id')] + '.gif');
		}
	});
	
});