$(document).ready(function(){
	/*
	var condensedP = $(".condensed-post");
	$(condensedP).find(".gallery_extend-main-item").css({"width":"422px"})
	$(condensedP).find(".gallery_extend-main-item").find("img").css({"width":"100%","height":"100%"})
	$(condensedP).find(".gallery_extend").css("width","422px");
	$(condensedP).find(".gallery_extend p").css("width","422px")
	$(condensedP).find(".gallery_extend-clear").css("width","422px")
	$(condensedP).find(".image-navigation_extend").css("width","422px")
	*/
	$(".condensed-post").find(".gallery_extend").each(function(){
        var img = $(this).find(".attachment-thumbnail:first").attr("src");
		$(this).parent().parent().parent().find(".post-thumbnail a").html("<img src='"+img+"' style='width:140px;height:105px;'/>");
	});
	$(".cat-post").find(".gallery_extend").each(function(){
        var img = $(this).find(".attachment-thumbnail:first").attr("src");
		$(this).parent().parent().parent().find(".post-thumbnail a").html("<img src='"+img+"' style='width:140px;height:105px;'/>");
	});
});
