function addRow(tabName,returnValue){
var functionid=getObj("id").value;
//取得table的对象
var tab=getObj(tabName);
//添加行
var row=tab.insertRow(tab.rows.length);
//添加 列
var buttonCell=row.insertCell(row.cells.length);
var rowUserNameCell=row.insertCell(row.cells.length);
buttonCell.innerHTML='<input value="删除" type="button" οnclick="deleteRow(this)"/>';
}
function deleteRow(obj){
var row=obj.parentNode.parentNode;
var tab=row.parentNode;
tab.removeChild(row);
}