// product gallery fade




$(document).ready(function(){  

    $(".thumb a").hover(function(){
			var imgHref = $(this).attr('id');  //get the src of the thumbnail
    		$(".thumb a").removeClass("selected");  //remove .selected class from all other links
    		$(this).addClass("selected");  //add .selected class to current link
			$(".big").stop();
		$(".big").stop().fadeTo(200, 0, function() {  //fade image out
    		$('.big').attr('src',imgHref);  //give new image a src attribute
    		
		}).fadeTo(200, 1);  //fade the image in
	},function(){    //for onmouseout not used here
	});
	
	
});

