$(function() {
$("#thumb a").click(function() { 
							 images= new Array;
							 $(this).children("img").each(
														 function(i) {images.push($(this).attr("src"));}
														 );
$("#viewer img").remove();
$("#viewer").append('<img src="'+ParseSrc(images[0])+'" alt="" />');
$("#viewer").append('<img src="'+ParseSrc(images[1])+'" alt="" />');
							 return false;});
});
function ParseSrc(srcString) {

	Result = srcString.split("=");
	return (Result[1]);
	}