<!--
if (Image.prototype) {
    Image.prototype.loaded = 0;
}

function PreLoad(image_name) {
    this.off = new Image();
    this.off.src = "/images/buttons/" + image_name + "-off.gif";
    this.off.onLoad = (this.off.loaded = 1);
    this.on = new Image();
    this.on.src = "/images/buttons/" + 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) {
/*
OBJsearchalbum = new PreLoad("searchalbum");
	OBJsearchartist = new PreLoad("searchartist");
	OBJsearchsong = new PreLoad("searchsong");
	OBJlist = new PreLoad("list");
	OBJalbum = new PreLoad("album");
	OBJnext = new PreLoad("next");
	OBJprev = new PreLoad("prev");
	OBJgo = new PreLoad("go");
	OBJprint = new PreLoad("print");
	OBJfix = new PreLoad("fix");
	OBJsubmit = new PreLoad("submit");
	OBJsubmitform = new PreLoad("submitform");
	OBJrequest = new PreLoad("request");
*/
}

//-->
