function getObj(id)
{
	return document.getElementById(id);
}

function changeVal(objV, str)
{
	if(objV.value == '')
		objV.value = '';
}

function showTable(table1,table2,id1,id2){
	getObj(table1).style.display = 'table';
	getObj(table2).style.display = 'none';
	getObj(id1).className = 'active';
	getObj(id2).className = '';
}

