function f_hide(str) {
	document.getElementById(str).style.display = 'none';
//	document.getElementById(str).style.height = 0;
	return false;
}

function f_show(str) {
	document.getElementById(str).style.display = 'block';
//	document.getElementById(str).style.display = 'inherit';
	return false;
}

function table_status(statecmd, item) {
	if(statecmd == 'OPEN') {
		f_show(item);
	}
	if(statecmd == 'CLOSE') {
		f_hide(item);
	}
}