﻿
window.onerror=new Function ("return true")

function inCell(cell, newcolor) {
	if (!cell.contains(event.fromElement)) {
		cell.bgColor = newcolor;
	}
}

function outCell(cell, newcolor) {
	if (!cell.contains(event.toElement)) {
		cell.bgColor = newcolor;
	}
}

function highlightButton(s) {
	if ("INPUT"==event.srcElement.tagName) {
		event.srcElement.className=s;
	}
}
