// JavaScript Document
$(document).ready(function(){
						   
//The Wall
$("#links .thewall").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-15px', 
			width: '270', 
			height: '173',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '260', 
			height: '163', 
			padding: '0px'
		}, 400);
});

//GoCart
$("#links .gocart").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-15px', 
			marginLeft: '-20px', 
			width: '385', 
			height: '145',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '375', 
			height: '135', 
			padding: '0px'
		}, 400);
}); 

//Inflatables
$("#links .inflatables").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-15px', 
			width: '285', 
			height: '173',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '275', 
			height: '163', 
			padding: '0px'
		}, 400);
});

//Refuge Map
$("#links .refugemap").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-15px', 
			width: '270', 
			height: '176',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '260', 
			height: '166', 
			padding: '0px'
		}, 400);
});

//Logo
$("#links .logo").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			width: '535', 
			height: '379',
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '525', 
			height: '369', 
			padding: '0px'
		}, 400);
});

//Coupons
$("#links .coupons").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-15px', 
			width: '270', 
			height: '128',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '260', 
			height: '118', 
			padding: '0px'
		}, 400);
});

//Pricing
$("#links .pricing").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-15px', 
			width: '250', 
			height: '139',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '240', 
			height: '129', 
			padding: '0px'
		}, 400);
});

//Arcade
$("#links .arcade").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-5px', 
			marginLeft: '-10px', 
			width: '177', 
			height: '260',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '167', 
			height: '250', 
			padding: '0px'
		}, 400);
});

//MiniGolf
$("#links .minigolf").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-5px', 
			marginLeft: '-10px',  
			width: '250', 
			height: '208',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '240', 
			height: '198', 
			padding: '0px'
		}, 400);
});

//Bumperboats
$("#links .bumpboats").hover(function() {
	$(this).css({'z-index' : '5'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-5px', 
			marginLeft: '-10px', 
			width: '285', 
			height: '192',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '275', 
			height: '182', 
			padding: '0px'
		}, 400);
}); 

//Contact
$("#links .contact").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-15px', 
			width: '155', 
			height: '210',
			padding: '5px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '145', 
			height: '200', 
			padding: '0px'
		}, 400);
}); 

});
