// JavaScript Document

$(document).ready(function(){
	$("#thumbnail a").click(function(){
		$("#large img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$("#large h2").html($("> img", this).attr("title"));
		return false;
	});
	$("#large>img").load(function(){$("#large>img:hidden").fadeIn("slow")});
});

$(document).ready(function(){
	$("#thumbnail1 a").click(function(){
		$("#large1 img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$("#large1 h2").html($("> img", this).attr("title"));
		return false;
	});
	$("#large1>img").load(function(){$("#large1>img:hidden").fadeIn("slow")});
});

$(document).ready(function(){
	$("#thumbnail2 a").click(function(){
		$("#large2 img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$("#large2 h2").html($("> img", this).attr("title"));
		return false;
	});
	$("#large2>img").load(function(){$("#large2>img:hidden").fadeIn("slow")});
});

$(document).ready(function(){
	$("#thumbnail3 a").click(function(){
		$("#large3 img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$("#large3 h2").html($("> img", this).attr("title"));
		return false;
	});
	$("#large3>img").load(function(){$("#large3>img:hidden").fadeIn("slow")});
});

$(document).ready(function(){
	$("#thumbnail4 a").click(function(){
		$("#large4 img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$("#large4 h2").html($("> img", this).attr("title"));
		return false;
	});
	$("#large4>img").load(function(){$("#large4>img:hidden").fadeIn("slow")});
});

$(document).ready(function(){
	$("#thumbnail5 a").click(function(){
		$("#large5 img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$("#large5 h2").html($("> img", this).attr("title"));
		return false;
	});
	$("#large5>img").load(function(){$("#large5>img:hidden").fadeIn("slow")});
});