function GenNavigationHdr(str, level) {
  hr = new Array(
"index.html",
"stories.html",
"maps.html",
"links.html",
"forum/",
"forum/viewtopic.php?t=112"
);


  names = new Array(
"Главная",
"Упоминания",
"Карты",
"Ссылки",
"Форум",
"Гостевая книга"
);
  document.write("<div align=center>");
  for (n=0; n<hr.length; n++) {
    if (n>0) document.write(" | ");
    if (str==names[n]) document.write("<b>"+names[n]+"</b>");
    else
    { 
      document.write("<a href=\"");
      for (l=0; l<level; l++) document.write("../");
      document.write(hr[n]+"\">"+names[n]+"</a>");
    }
  }
  document.write("</div><HR>");
}

