var main = function() {

	function switchToColor(img) {
		$("#" + img).hover(function(){
			var colorImage = "images/screenshot_" + img + "_color.png";
			$(this).attr("src", colorImage).css("box-shadow", "2px 2px 4px #888888");
		}, function(){
			var greyImage = "images/screenshot_" + img + ".png";
			$(this).attr("src", greyImage).css("box-shadow", "1px 1px 2px #888888");
		});
	}

	// Call for each screenshot
	switchToColor("OCM");
	switchToColor("MATSU");
	switchToColor("LAC");
	switchToColor("OSDC");
	switchToColor("WMY");
	switchToColor("BR");
	switchToColor("ELM");
	
};

$(document).ready(main);

