function setPointer(theRow,cl) { var theCells = null; if (typeof(theRow.style) == 'undefined') { return false; }; if (typeof(document.getElementsByTagName) != 'undefined') { theRow.setAttribute('bgcolor', cl, 0); }; return true; }
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();
}
cur_obj=0;
function ansv(otvet,next) {
	document.getElementById("dv"+next).style.display='block';
	document.getElementById("spn"+cur_obj).outerHTML="<b>"+( otvet ? "Да" : "Нет" )+"</b>";
	cur_obj=next;
}
function hid_vis(id) {
	document.getElementById(id).style.display= (document.getElementById(id).style.display=='block') ? 'none' : 'block' ;
}
