﻿// JavaScript Document
$(function(){
	$('#tiles, #tap, #wall, #cement, #road, #water, #phone, #window, #pottery, #salt, #can, #car, #electricity, #paint, #cutlery').corner("round 8px");
	$('area').click(function(event) {
	event.preventDefault();}
	);
	$('div.highlight').corner("cool 10px");
	$("#tilesHotSpot").mouseover(function(){
	$("#tiles").show();
	}).mouseout(function(){
	$("#tiles").hide();
	});
	$("#tapHotSpot").mouseover(function(){
	$("#tap").show();
	}).mouseout(function(){
	$("#tap").hide();
	});
	$("#wallHotSpot").mouseover(function(){
	$("#wall").show();
	}).mouseout(function(){
	$("#wall").hide();
	});
	$("#cementHotSpot").mouseover(function(){
	$("#cement").show();
	}).mouseout(function(){
	$("#cement").hide();
	});
	$("#roadHotSpot").mouseover(function(){
	$("#road").show();
	}).mouseout(function(){
	$("#road").hide();
	});
	$("#waterHotSpot").mouseover(function(){
	$("#water").show();
	}).mouseout(function(){
	$("#water").hide();
	});
	$("#phoneHotSpot").mouseover(function(){
	$("#phone").show();
	}).mouseout(function(){
	$("#phone").hide();
	});
	$("#windowHotSpot").mouseover(function(){
	$("#window").show();
	}).mouseout(function(){
	$("#window").hide();
	});
	$("#glassesHotSpot").mouseover(function(){
	$("#window").show();
	}).mouseout(function(){
	$("#window").hide();
	});
	$("#potteryHotSpot").mouseover(function(){
	$("#pottery").show();
	}).mouseout(function(){
	$("#pottery").hide();
	});
	$("#saltHotSpot").mouseover(function(){
	$("#salt").show();
	}).mouseout(function(){
	$("#salt").hide();
	});
	$("#canHotSpot").mouseover(function(){
	$("#can").show();
	}).mouseout(function(){
	$("#can").hide();
	});
	$("#carHotSpot").mouseover(function(){
	$("#car").show();
	}).mouseout(function(){
	$("#car").hide();
	});
	$("#electricityHotSpot").mouseover(function(){
	$("#electricity").show();
	}).mouseout(function(){
	$("#electricity").hide();
	});
	$("#paintHotSpot").mouseover(function(){
	$("#paint").show();
	}).mouseout(function(){
	$("#paint").hide();
	});
	$("#cutleryHotSpot").mouseover(function(){
	$("#cutlery").show();
	}).mouseout(function(){
	$("#cutlery").hide();
	});
});