// JavaScript Document - to make this work add images to id="gallery-thumbs". 
// Also have an image in the  thumb and large folder by the same name
$(document).ready(function(){
// find images in id="gallery-thumbs" and make them clickable
		$("#gallery-thumbs img").bind("click", function () {
			// grab the image name when clicked and add 'large' image folder to
			var name = 'gallery/large/' + $(this).attr("src").replace('gallery/thumb/', ''); /* change popup image */
			// change image src in id="main-image"to the above large
			$('#main-image img').attr("src", name);
			});
		$("#gallery-thumbs li").addClass('inline');
	})