function ChangeState(mode) {
	
}
function ShowTree(id){
var menu = 'TABLE' + id;
var folder = 'FOLDER' + id;
var node = 'NODE' + id;
if(document.all(menu) != null){
if(document.all(menu).style.display == 'none'){
document.all(menu).style.display = '';
document.images[folder].src = 'paint/images/open.gif';
document.images[node].src = 'paint/images/node_minus.gif';
}
else{
document.all(menu).style.display = 'none';
document.images[folder].src = 'paint/images/closed.gif';
document.images[node].src = 'paint/images/node_plus.gif';
}
}
}
function ShowNameCnt(txtCnt){
	document.all.NameCnt.innerText = 'йнкхвеярбн ' + txtCnt + ':'
}
function NewWindow(page, width, height, resizable, scrollbars) {
	var posX = screen.width/2 - width/2;
	var posY = screen.height/2 - height/2;
	strParam = 'toolbar=no,location=no,directories=no,status=no,resizable=' + resizable + ',scrollbars=' + scrollbars
		   + ',height=' + height + ',width=' + width
		   + ',top=' + posY + ',left=' + posX;
	window.open(page,"",strParam);	
}
