// Called so no jquery conflict with prototype used for the lightbox plugin
var $j = jQuery.noConflict();

$j(document).ready(function(){
	// Style the wordpress generated content so it fits into the desired grid	
	$j(".post p:has(img)").css({'float' : 'none', 'padding-bottom' : '0'});
	$j("a:has(img)").css({'border' : 'none'});
	$j(".post h2").prev().css({"margin-bottom" : "24px"});
	$j(".post h2").prev("p:not(:has(img))").after("<div class='clear'></div>");
});
