<!--

  // функция для вывода большого фото
  function foto(id,name,desc,kod,foto, width, height,weight)
  {
  	var desc=desc.replace("&nbsp;"," ");
  	myfoto=open("", "fotoWindow","width="+width+", height="+height+", status=no, toolbar=no, menubar=no, scrollbars=no, left=20, top=20, screenx=20, screeny=20");
  	var body="";
  	var body='<img src='+foto+' alt='+unescape(name)+'>';
  	myfoto.document.open();
  	myfoto.document.write('<html><head><title>Фото '+unescape(name)+'</title><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><link rel=stylesheet type="text/css" href="style.css"></head><body style="padding:0px; margin:0px; font-family:Arial; color:#2e6db4">');
  	myfoto.document.write(body);
  	myfoto.document.write("</body></html>");
//закрыть документ - (но не окно!)
  	myfoto.document.close();
//  	myfoto.moveTo(0, 0);
  	myfoto.focus();
  	var width=0;
  	var height=0;
  }
//-->
