


var LazyImgLoad = { };

LazyImgLoad.Loader = new Class({
	lazySrcProperty:'lazySrc',
	initialize: function() {
		var lazyImgs = $$('img').filter(function(item, index) {
			return item.getProperty(this.lazySrcProperty)!=null && item.getProperty('lazysrc')!=null;
		}, this);
		lazyImgs.each(function(item, index) {
			item.setProperty('src',item.getProperty(this.lazySrcProperty));
			item.setProperty(this.lazySrcProperty,null);
		}, this);
	}
});

