var Preloader = function(images, path){
	/* Preloading Class (requires jQuery for now) - built by Greg Coladarci, March 6, 2010*/
	/* Instantiate with array of images + optional path to images*/
	/* While using one array of images is probably smartest, you can call .load on your instance with another array to add those in later in code*/
	var _this = this;	
	if (typeof this.container == 'undefined'){
		this.container = $('<div id="imgPreloaderContainer"></div>').hide();
		$('body').append(this.container);
	}	
	if (typeof this.imgLocation == 'undefined'){
		this.imgLocation = path || '';
	}
	this.load = function(images){
		$.each(images, function(i,v){
				_this.container.append('<img src="'+_this.imgLocation+v+'" width="0" height="0" alt="pre" />');
		});
	}
	this.load(images);
}
function var_dump(input){
	var out = '';
	$.each(input, function(i,v){out += i+': '+v+"\n";});
	console.log(out);
}

