
jQuery(document).ready(function($) {

$('.post img').each(function() {
var thisistheParent = $(this).parent().get(0).tagName;
if (thisistheParent != "A") {
var thumbUrl = $(this).attr("src");
parts = thumbUrl.split("thumbnails/");
imageUrl = parts[0] + parts[1];
$(this).wrap("<a class='thickbox extra' href='" + imageUrl + "'></a>");
}

});


});





// WOOOT WOOOT THIS WORKS
