var originalSource;
var imageWaiter;
function showHoverImage(a) {
	if (a.attributes['image'].value != "null") {
		clearTimeout(imageWaiter);
		var theImage = document.getElementById('rolloverImage');
		!originalSource ? originalSource = {src:theImage.src,width:theImage.width,height:theImage.height} : null;
		var newImage = a.attributes['image'].value;
		var dummyImage = new Image();
		dummyImage.theImage = theImage;
		dummyImage.onload = function() {
			this.theImage.src = this.src;
			this.theImage.width = this.width;
			this.theImage.height = this.height;
		}
		dummyImage.src = newImage;
	}
}
function showStandardImage() {
	imageWaiter = setTimeout('setStandardImage()', 150);
}

function setStandardImage() {
	var theImage = document.getElementById('rolloverImage');
	theImage.src = originalSource.src;
	theImage.width = originalSource.width;
	theImage.height = originalSource.height;
	theImage.style.visibility = 'visible';
}
