// replace error images with custom anova image
jQuery(document).ready(function() {
	$("img").error(function () {
	  $(this).unbind("error").attr("src", "/UserFiles/images/nopic.png");
	});
// if above function fails then this will chack if size is zero ie not loaded	
	/*$(window).load(function() {
	  $('img').each(function() {
		if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
		  // image was broken, replace with your new image
		  this.src = '/UserFiles/images/nopic.png';
		}
	  });
	});*/

	
});	