function preloadImages() {
	var d = document.images;
	imgs = new Array();
  	for(var i=0; i<d.length; i++){
		if (d[i].className=='replace'){
			imgs[i] = new Image;
			imgs[i].src = d[i].src.replace('_off.','_on.');
			d[i].onmouseover = function(){this.src = this.src.replace('_off.','_on.');};
			d[i].onmouseout  = function(){this.src = this.src.replace('_on.','_off.');};
		}
	}
}
