function open_Picture(id, name, w, h, title) {
	vvv=open('',id+'pic', 'width='+w+',height='+h+', top=40, left=50, toolbar=0, location=0, directories=0, status=0,menuBar=0,scrollBars=0,resizable=1'); 
	vvv.document.write('<html><head><title>'+title+'</title></head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>'); 
	vvv.document.write('<img border=0  ondblclick="window.close();" alt="���� ����������� �� �������� ������" src="'+name+'"  width='+w+' height='+h+'>');
	vvv.document.write('</body></html>'); 
	vvv.document.close(); 
	vvv.focus();
}
function open_g_Picture(id, url, w, h, title) {
	vvv=open('/images/'+url+'/full/?id='+id,id+'pic', 'width='+(w+42)+',height='+(h+62)+', top=40, left=50, toolbar=0, location=0, directories=0, status=0,menuBar=0,scrollBars=1,resizable=1'); 
	vvv.focus();
}
function nodework(id1) {
	if (document.getElementById('node'+id1).style.display=='none') {
		//hiddenAll ()
		document.images['nd'+id1].src="/images/close.gif";
		document.getElementById('node'+id1).style.display=''
	} else {
		document.images['nd'+id1].src="/images/open.gif";
		document.getElementById('node'+id1).style.display='none'
		//hiddenAll ()
	}
}
function hiddenAll () {
	for (var ii=1; ii<5; ii++) {
			document.images['nd'+ii].src="/images/open.gif";
			document.getElementById('node'+ii).style.display='none';
	}
}
/* */
/* */
/* */
