// Execute on DOM Load: Replace each broken image with a flat gray default
$(window).bind('load', function() {
	$('img').each(function() {
			if( (typeof this.naturalWidth != "undefined" && this.naturalWidth == 0 ) || this.readyState == 'uninitialized' ) {
				jThis = $(this);
				jThis.attr('src', '/_uploads/missing_image.gif');
			}
	});
})

