// document onready handler -- before images load
$(function() {
	
	/**
	* IMAGE REPLACED LINKS
	* All image replcement headers (with class="image-replace") that have <a> tags in them, apply the link to the whole image
	*/ 
	$(":header.image-replace:has(a)").click(function() {
		window.location = $("a", this).attr("href");
	}).mouseover(function() {
		$(this).css("cursor", "pointer");
	});

	/**
	* REMOVE BORDER FROM LAST LIST ITEM IN EVERY SIDEBAR BLOCK
	*/
	$("#sidebar .block ul li:last-child").addClass("last");
	
});

