// JavaScript Document

//change background color for td cell
function boxbg(objRef, state) {
	objRef.style.backgroundColor = (1 == state) ? '#F2F2F2' : '#FFF';
	return;
}
function cellbg(objRef, state) {
	objRef.style.backgroundColor = (1 == state) ? '#FC0' : '#FFF';
	return;
}

