function change(code) {
   eval("img_p = i_" + code + ".src");
   ll = img_p.length;
   img_p = img_p.slice(ll-6,ll);
   if (img_p == "cl.gif") {
      disp = "block";
      img_new = "http://www.vidal.ru/vidal/images/op.gif";
   }
   else {
      disp = "none";
      img_new = "http://www.vidal.ru/vidal/images/cl.gif";
   }
   eval("i_" + code + ".src=\"" + img_new + "\"");
   eval("l_" + code + ".style.display = '" + disp +"'");
return;
}
var newWindow;
function photo(fname)
{
	if (!newWindow || newWindow.closed) {
		newWindow = window.open("","sub","status,height=598,width=400");
		var newContent = "<html><head><title>"+fname+"</title></head><body bgcolor=#d5e8f9 style=padding:0;margin:0><table height=598 border=0 cellpadding=0 cellspacing=0><tr valign=middle><td><img src='";
		newContent += fname;
		newContent += "'></td></tr></table></body></html>";
		newWindow.document.write(newContent);
		newWindow.document.close( ); // close layout stream
	} else if (newWindow.focus) {
		newWindow.focus( );
		var newContent = "<table height=598 border=0 cellpadding=0 cellspacing=0><tr valign=middle><td><img src='"+fname+"'></td></tr></table>";
		newWindow.document.body.innerHTML = newContent;
	}
}

