	$(document).ready(function(){
		// Click bind image swap functionality
		$("ul.thumb li a").click(function() {	
			// Put the big image URL in a variable (taken from clicked link URL)	
			var mainImage = $(this).attr("href");
			// Get the big image's caption from its thumbnail's alt attribute
			var caption = $(this).children("img").attr("alt");
			// Set big image src and alt attributes
			$("#bigImage").attr({ src: mainImage, alt: caption });  
			// Set caption text
			$("#caption").text(caption);  
			// Stop the page from loading the image by itself
			return false;			
		}); 
	});
	$(document).ready(function(){
		// Click bind image swap functionality
		$("ul.thumb2 li a").click(function() {	
			// Put the big image URL in a variable (taken from clicked link URL)	
			var mainImage2 = $(this).attr("href");
			// Get the big image's caption from its thumbnail's alt attribute
			var caption2 = $(this).children("img").attr("alt");
			// Set big image src and alt attributes
			$("#bigImage2").attr({ src: mainImage2, alt: caption2 });  
			// Set caption text
			$("#caption2").text(caption2);  
			// Stop the page from loading the image by itself
			return false;			
		}); 
	});
		$(document).ready(function(){

		$("ul.thumb3 li a").click(function() {	

			var mainImage3 = $(this).attr("href");

			var caption3 = $(this).children("img").attr("alt");

			$("#bigImage3").attr({ src: mainImage3, alt: caption3 });  

			$("#caption3").text(caption3);  

			return false;			
		}); 
	});
