function openImage(imgName, wt, ht, top, left) {
  if (!top) top = (screen.height) ? ((screen.height - ht)/2 - 50) : 0;
  if (!left) left = (screen.width) ? (screen.width - wt)/2 : 0;

  image=window.open("","fullImage","width=" + (wt+20) + ",height=" + (ht+20) + ",top=" + top + ",left=" + left + ",toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no");
  image.focus();
  image.document.open();
  image.document.write("<html>\n<head>\n<title>" + imgName + "</title>\n");
  image.document.write("<meta name=\"robots\" content=\"noindex,nofollow\">\n");
  image.document.write("<a href=\"javascript: window.close();\"><img src=\"" + imgName + "\" width=" + wt + " height=" + ht + " border=0 title=\"Закрыть окно\" alt=\"Закрыть окно\"></a>\n");
  image.document.write("\n</body></html>");
  image.document.close();
}

if (document.images) {

	ashihara_arrow_on = new Image();
	ashihara_arrow_off = new Image();
	ashihara_arrow_on.src="/img/ashihara_arrow_on.gif";
	ashihara_arrow_off.src="/img/ashihara_arrow_off.gif";
	}

function select(imgDocIDr,imgObjName) {
	document.images[imgDocIDr].src = eval(imgObjName + ".src")
}
document.write('<\/script>');