$(function() {
    $('.store').hover(function() {
        var currentImg = $(this).attr('src');
        $(this).attr('src', $(this).attr('hover'));
        $(this).attr('hover', currentImg);
    }, function() {
        var currentImg = $(this).attr('src');
        $(this).attr('src', $(this).attr('hover'));
        $(this).attr('hover', currentImg);
    });
});

$(document).ready(function(){
						   $(".latest_img").fadeTo("fast", 0.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".latest_img").hover(function(){
						   $(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("fast", 0.75); // This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });

$(document).ready(function(){
						   $(".chef").fadeTo("slow", 0.9); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".chef").hover(function(){
						   $(this).fadeTo("slow", 1.0);// This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("slow", 0.9);// This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });
$(document).ready(function(){
						   $(".footer").fadeTo("fast", 0.65); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".footer").hover(function(){
						   $(this).fadeTo("fast", 1.0);// This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("fast", 0.65);// This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });

$(document).ready(function(){
						   $(".links").fadeTo("fast", 0.5); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".links").hover(function(){
						   $(this).fadeTo("fast", 1.0);// This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("fast", 0.5);// This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });
$(document).ready(function(){
						   $(".store").fadeTo("medium", 0.5); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".store").hover(function(){
						   $(this).fadeTo("medium", 1.0);// This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("medium", 0.5);// This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });
$(document).ready(function(){
						   $(".nav").fadeTo("fast", 0.5); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".nav").hover(function(){
						   $(this).fadeTo("fast", 1.0);// This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("fast", 0.5);// This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });

$(document).ready(function(){
						   $(".enter").fadeTo("slow", 0.9); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $(".enter").hover(function(){
							$(".latest_img").fadeTo(500, 1.0);							 
						   $(this).fadeTo("slow", 1.0);// This should set the opacity to 100% on hover਍ഀ
						   },function(){
							$(".latest_img").fadeTo(200, 0.75);   
						   $(this).fadeTo("slow", 0.9);// This should set the opacity back to 30% on mouseout਍ഀ
						   });
						   });



$(document).ready(function(){
						   $("#text p").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $("#text p").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout਍ഀ
							   	});
						   });

$(document).ready(function(){
						   $("#div").fadeTo("slow", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads਍ഀ
						   $("#div").hover(function(){
						   $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover਍ഀ
						   },function(){
						   $(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout਍ഀ
							   	});
						   });