$(function(){
	$("#photo2 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo2 > a").attr("href"));
	});
	$("#photo3 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo3 > a").attr("href"));
	});
	$("#photo4 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo4 > a").attr("href"));
	});
	$("#photo5 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo5 > a").attr("href"));
	});
	$("#photo6 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo6 > a").attr("href"));
	});
	$("#photo7 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo7 > a").attr("href"));
	});
	$("#photo8 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo8 > a").attr("href"));
	});
	$("#photo9 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo9 > a").attr("href"));
	});
	$("#photo10 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo10 > a").attr("href"));
	});
	$("#photo11 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo11 > a").attr("href"));
	});
	$("#photo12 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo12 > a").attr("href"));
	});
	$("#photo13 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo13 > a").attr("href"));
	});
	$("#photo14 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo14 > a").attr("href"));
	});
	$("#photo15 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo15 > a").attr("href"));
	});
	$("#photo16 > a > img").mouseover(function () {
		$("#photo1 > a > img").attr("src", this.title);
		$("#photo1 > a").attr("href", $("#photo16 > a").attr("href"));
	});
});
