$(window).load(function() {
	$('img').each(function() {
//      if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
        if (!this.complete || this.naturalWidth == 0) {
                // image was broken, replace with your new image. preset vars required!
                this.src = id + 'skins/' + skin + '/styleImages/unavailable-prod.gif';
                }
        });
});
