jQuery(document).ready(function($) {
		
	$("#page-sidebar .news-post:last-child").css('border-bottom', '0px');

	$("#page-sidebar .post, #page-sidebar .news-post, #page-sidebar .case-study-title, .page-id-19 .news-post").click(function(){
    	window.location=$(this).find("a").attr("href");return false;
	});	
	
	$(".page-id-13 .partner:last-child").css('margin-bottom', '100px');
	
	$(".page-id-23 .resource:last-child").css('border-bottom', '0px');

	$("a[href*='.pdf']").addClass('pdf');

	$(".home #footer-ad, .page-id-17 #footer-ad, .page-id-7 #footer-ad, .single #footer-ad").css('border-top', '1px solid #E6E6E6');
	$(".postid-144 #footer-ad, .postid-140 #footer-ad, .postid-138 #footer-ad").css('border-top', '0px');
	
});

