var Preloader = function(url, callback) {
	this.url = url; this.callback = callback;
}

Preloader.prototype = {
	load : function() {
		var that = this;
		this.image = $('<img />').load(function() { that.callback.call() }).attr('src', this.url);
	}
}
