function SAMA_InsertCellWithTableId(tableId, rowindex, cellIndex, cellName)
{
	var cellToInsert	= document.getElementById(tableId).insertRow(rowindex).insertCell(cellIndex)
	cellToInsert.innerHTML	= cellName
}

function SAMA_InsertCellWithRowId(rowId, cellIndex, content)
{
	var cellToInsert	= document.getElementById(rowId).insertCell(cellIndex);
	cellToInsert.innerHTML	= eval (content);
}

function SAMA_DeleteCellWithRowId(rowId, cellIndex)
{
	var cellList	= document.getElementById(rowId)
	cellList.deleteCell(cellIndex)
}

function SAMA_ReplaceCellWithRowId (rowId, cellIndex, newContent)
{
	SAMA_DeleteCellWithRowId(rowId, cellIndex)
	SAMA_InsertCellWithRowId(rowId, cellIndex, newContent)
}
