// preload images
function preload(img,name) {
	name = new Image();
	name.src = img;
}