function selectOne(txt) {
	
	if ($(txt).hasClassName('selRow')) {
		$(txt).removeClassName('selRow');
		unCheckIt(txt);
	}else{
		$(txt).siblings().each( function(s) {
			if (s.hasClassName('selRow')) {
				s.removeClassName('selRow');
				unCheckIt(s);
			}
		});
		$(txt).addClassName("selRow");
		checkIt(txt);
	}		
}	
function selectOne_forA4j(txt) {
	
	if ($(txt).hasClassName('selRow')) {
		$(txt).removeClassName('selRow');
		unCheckIt1(txt);
	}else{
		$(txt).siblings().each( function(s) {
			if (s.hasClassName('selRow')) {
				s.removeClassName('selRow');
				unCheckIt1(s);
			}
		});
		$(txt).addClassName("selRow");
		checkIt1(txt);
	}			
}
function checkIt1(tblRow){
	cell = $(tblRow).firstDescendant();
	checkBox = cell.firstDescendant();
	checkBox.checked = true ;
	var x = checkBox.getAttribute('onchange');
	$(checkBox).onchange();
}

function unCheckIt1(tblRow){
	cell = $(tblRow).firstDescendant();
	checkBox = cell.firstDescendant();
	checkBox.checked = false ;
	$(checkBox).onchange();
}

