<!--
Ori_SwapImg = {

	aImg:[],
	aImgPre: [],
	
	pre: function(src) {
		var i = this.aImgPre.length;
		this.aImgPre[i] = new Image();
		this.aImgPre[i].src = src;
	},
	
	on: function(id, src) {
		var img = document.getElementById(id);
		if(img) {
			for(var i=0; i < this.aImg.length && this.aImg[i].id != id; i++)
			if(i == this.aImg.length) this.aImg[i] = new Object();
			this.aImg[i] = {id: id, src0: img.src};
			img.src = src;
		}
	},
	
	off: function(id) {
		var img = document.getElementById(id);
		if(img) {
			for(var i=0; i < this.aImg.length && this.aImg[i].id != id; i++);
			if(i < this.aImg.length) img.src = this.aImg[i].src0;
		}
	}
	
}
// -->