//this is for cell states

var PrStyle;

function ChStyle(obj, NwStyle, NrStyle)
{
	PrStyle = obj.className;
	obj.className = NwStyle;
	
	PrSelection = obj;
	return;
}

function rolloverText(x, bOut) {
	var offset;
	if (bOut){
		offset = 0;
		var txtColour = "000000";
	} else {
		offset = 0;
		var txtColour = "ff6600";
	}
	if (is.ie) {
		document.all.rolly.style.color = txtColour;
		document.all.rolly.innerHTML = x;
		document.all.rolly.style.pixelLeft += offset
	}
	if (is.ns) {
		var theStr = "<FONT FACE=\"arial,helvetica,sans-serif\" size=-1 color=\"#" + txtColour + "\"><b>" + x + "</b></FONT>";
		document.outerRolly.document.rolly.document.open()
		document.outerRolly.document.rolly.document.write(theStr)
		document.outerRolly.document.rolly.document.close()
		document.outerRolly.left += offset
	}
}


