<!--
if (Image.prototype) {
    Image.prototype.loaded = 0;
}

function PreLoad(image_name) {
    this.off = new Image();
    this.off.src = "./images/" + image_name + "-off.gif";
    this.off.onLoad = (this.off.loaded = 1);
    this.on = new Image();
    this.on.src = "./images/" + image_name + "-on.gif";
    this.on.onLoad = (this.on.loaded = 1);
	
}

function Replace(image_object, image_name) {
	if (document.images) {
		image = eval(image_object);
		if (image.loaded) {
		    document.images[image_name].src = image.src;
		}
	}
}


if (document.images) {
	OBJhome = new PreLoad("home");
	OBJlyrics = new PreLoad("lyrics");
	OBJguitar = new PreLoad("guitar");
	OBJbass = new PreLoad("bass");
	OBJdrum = new PreLoad("drum");
	OBJlessons = new PreLoad("lessons");
	OBJsubmit = new PreLoad("submit");
	OBJforum = new PreLoad("forum");
}

//-->
