$(document).ready(function(){	
	$(function() {
		$(".container").jCarouselLite({
			btnNext: ".next",
			btnPrev: ".prev",
			auto: 5000,
			speed: 1000,
			scroll: 3,
			visible: 5
	
		});
	});
	
	$("#center_imageslink img").hover(
		function(){
			var updateWidth = $(this).width()-6;
			var updateHeight = $(this).height()-6;
			$(this).css("width", updateWidth+"px");
			$(this).css("height", updateHeight+"px");
			$(this).css("margin", "3px");
			$(this).addClass("mouseHovered");
		},
		function(){
			if($(this).hasClass("mouseHovered")){
				var updateWidth = $(this).width()+6;
				var updateHeight = $(this).height()+6;
				$(this).css("width", updateWidth+"px");
				$(this).css("height", updateHeight+"px");
				$(this).css("margin", "0px");
				$(this).removeClass("mouseHovered");
			}
		}
	);

	$("#venues_week_content a.a_no_hover").hover(
		function(){
			$(this).parent().addClass("item_hover");
		},
		function(){
			$(this).parent().removeClass("item_hover");
		}
	);
		
	$("#venues_week_content>.main_box>.image>a>img").hover(
		function(){
			var updateWidth = $(this).width()-12;
			var updateHeight = $(this).height()-12;
			$(this).css("width", updateWidth+"px");
			$(this).css("height", updateHeight+"px");
			$(this).css("border", "6px solid #FF6600");
			$(this).addClass("mouseHovered");
		},
		function(){
			if($(this).hasClass("mouseHovered")){
				var updateWidth = $(this).width()+12;
				var updateHeight = $(this).height()+12;
				$(this).css("width", updateWidth+"px");
				$(this).css("height", updateHeight+"px");
				$(this).css("border", "none");
				$(this).removeClass("mouseHovered");
			}
		}
	);
	
	$("#recipes_content>a>img").hover(
		function(){
			var updateWidth = $(this).width()-12;
			var updateHeight = $(this).height()-12;
			$(this).css("width", updateWidth+"px");
			$(this).css("height", updateHeight+"px");
			$(this).css("border", "6px solid #FF6600");
			$(this).addClass("mouseHovered");
		},
		function(){
			if($(this).hasClass("mouseHovered")){
				var updateWidth = $(this).width()+12;
				var updateHeight = $(this).height()+12;
				$(this).css("width", updateWidth+"px");
				$(this).css("height", updateHeight+"px");
				$(this).css("border", "none");
				$(this).removeClass("mouseHovered");
			}
		}
	);
	
	
	
	$("#slideshow_box .slide_box").hover(
		function(){
			$(this).addClass("slide_box_hover");
		},
		function(){
			$(this).removeClass("slide_box_hover");
		}
	);

	$("#month_specs_content img").hover(
		function(){
			$(this).addClass("hover");
			$(this).parent().parent().addClass("spec_image_box_hover");
		},
		function(){
			$(this).removeClass("hover");
			$(this).parent().parent().removeClass("spec_image_box_hover");
		}
	);

});
