//////////////////////////////////////////////////////////////////////////////////////////////////////////////
(document.getElementById ? isID=true : isID=false);
(document.all ? isALL=true : isALL=false);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
function DOM(objectID)
{
	if(isID){return (document.getElementById(objectID));}
	else if(isALL){return (document.all[objectID]);}
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
var t = false;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Rr(row,e,idr,over)
{
	if(t == row) return false;
	if(row.style.background == '#99ff99') return false;
	if(t != row)
		over ? row.style.background = '#cceeff' : row.style.background = '';
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Rcc(row)
{
	if(t == row) return false;
	if(row.style.background != '#99ff99')
		row.style.background = '#aaddff';
	if(t && t.style.background != '#99ff99')
		t.style.background = '';
	t = row;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
