/* 
Author: Chris Barrow / Archive Studio
*/
var speed=200;$(function(){$(".item").each(function(){var a=this;var b=$(this).attr("id").replace("thumb","link");$(this).hover(function(){$("#"+b).addClass("over");$(this).children(".overlay").fadeIn(speed).addClass("over")},function(){$("#"+b).removeClass("over");$(this).children(".overlay").fadeOut(speed).removeClass("over")}).click(function(){location=$(this).find("a").attr("href")});$("#"+b).hover(function(){$(a).children(".overlay").fadeIn(speed).addClass("over")},function(){$(a).children(".overlay").fadeOut(speed).removeClass("over")})});$("#info-btn").click(function(){$(this).fadeOut(speed);$("#project-description").fadeIn(speed)});$("#close").click(function(){$("#info-btn").fadeIn(speed);$("#project-description").fadeOut(speed)})});
