function TableRow(prmRow)
{
	//var objRow;
	this.objRow=prmRow;
	
	this.CellText=GetCellText;
	this.SetText=SetCellText;
	this.Cell=GetCell;
	this.Count=GetCellCount;
	this.Key=GetRowKey;
	this.Index=GetRowIndex;
	
	
}

function GetCellText(prmIndex)
{
	return this.objRow.cells(prmIndex).innerHTML;
}

function SetCellText(prmIndex,prmNewHTML)
{
	this.objRow.cells(prmIndex).innerHTML=prmNewHTML;
}

function GetCell(prmIndex)
{
	return this.objRow.cells(prmIndex);
}
function GetCellCount()
{
	return this.objRow.cells.length;
}
function GetRowKey()
{
	return this.objRow.RowKey;
}
function GetRowIndex()
{
	return this.objRow.rowIndex;
}