function RollOver() {

	var img, sh, sn, sd
	for (var i = 0; (img = document.images[i]); i++) {
		if (img.getAttribute) {

			sn = img.getAttribute("src");			
			sh = img.getAttribute("hsrc");
			sd = img.getAttribute("dsrc");

			if (sn != "" && sn != null) {
				img.n = new Image();
				img.n.src = img.src;
			
				if (sh != "" && sh != null) {
					img.h = new Image();
					img.h.src = sh;
					img.onmouseover = RollOverSwapOn
					img.onmouseout  = RollOverSwapOff
				}

				if (sd != "" && sd != null) {
					img.d = new Image();
					img.d.src = sd;
					img.onmousedown = RollOverSwapDown
				}
			}
		}
	}
}

function RollOverSwapOn() {
	this.src = this.h.src;
}

function RollOverSwapOff() {
	this.src  = this.n.src;
}

function RollOverSwapDown() {
	this.src  = this.d.src;
	this.temp = typeof(document.onmouseup) != 'undefined' && typeof(document.onmouseup) != 'unknown' ? document.onmouseup : "";
	RollOverSwapUp.img = this;
	document.onmouseup = RollOverSwapUp;
}

function RollOverSwapUp() {
	var ths = RollOverSwapUp.img;
	ths.src = ths.n.src;
	if (ths.temp) document.onmouseup = ths.temp;
}

function mouseOver(object, color1){
	//alert(object);
	object.style.backgroundColor = color1;
}