/**
 * mini image preloader ;)
 *
 * @author Benjamin Zikarsky
 * @date Feburary 2008
 */
preloader = new function Preloader() {
	this.images = new Array();
	
	this.preload = function() {
		imgObj = new Image();
		for(var i = 0; i< preloader.images.length; i++) {
			imgObj.src = preloader.images[i];
		}
	}

	this.add = function (path) {
		preloader.images.push(path);
	}
}