function bigPhoto(indx, hght, wdth, img_tag, name_str) {
if (wdth > 1024) {
   wdth = 750;
   }
if (hght > 768) {
   hght = 520;
   }
  newWindow=window.open('',indx,'width=' + wdth + ', height=' + hght + ',scrollbars');
  newWindow.document.writeln('<html><head>');
  newWindow.document.writeln('<title>' + name_str + '</title>');
  newWindow.document.writeln('<link href="/style.css" rel="stylesheet">');
  newWindow.document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">');
  newWindow.document.writeln('</head>');
  newWindow.document.writeln('<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
  newWindow.document.writeln('<table width=' +wdth+ ' cellspacing=0 cellpadding=0 border=0>');
  newWindow.document.writeln('<tr><td>' + img_tag + '</td></tr>');
  newWindow.document.writeln('</table>');
  newWindow.document.writeln('</body></html>');
}

function getImgTag(file, alt) {
  return '<IMG src="' + file + '" border=1 alt="' + alt + '" />';
}

function navigation_map(indx, hght, wdth, src) {
if (wdth > 1024) {
   wdth = 750;
   }
if (hght > 768) {
   hght = 520;
   }
  newWindow=window.open('',indx,'width=' + wdth + ',height=' + hght + ',scrollbars');
  newWindow.location.replace(src);
}
function showMapImage(i) {
         document.bg.src = i;
}
