/**
 * @author Matt Andrews
 * A tiny script that initialises overlays on rel links.
 * Requires jQuery and jQuery.overlay.
 */
$(function(){
	$(".overlay").css("display","none");
	$(".detailLinks a").each(function (i) {
		// get the href value and set rel with the same value	
		$(this).attr("rel",$(this).attr("href"));
	});
    $(".detailLinks a").overlay();
});

