	// ------ Image functions
	
	function cacheImages(imgList, path) {
		if (path == null) path = '';
		var images = new Array();
		for (var i=0; i<imgList.length; i++) {
			images[i] = new Image();
			images[i].src = path + imgList[i];
		}
	}	

	// ------ Other functions
	
	function element(id) {
		e = document.getElementById(id);
		return e; 
	}
	
	function pass(func) {
		eval(func);
	} 
