/**
* How to use: Cache.Preload("Imagename/path"), size it's the number of images preloaded, "loaded" is an array containing image objects
**/
var Cache={
	loaded : new Array(),
	size : 0,
	Preload : function(str) {
		this.loaded[this.size]=new Image();
		this.loaded[this.size].src=str;
		this.size=this.size+1;
	}
}