function SeiteLaden(URL)
{
  if (URL=="index")
  {
    Seite = window.location.search;
    if (Seite != "")
    {
      parent.HF.location.href = Seite.slice(1);
    }
  }
  else if (self == top)
  {
    if ((window.document.frames) || (navigator.appVersion.substring(0,1) >= "4"))
      window.location.href = "index.htm?"+window.location.href;
  }
  else
    if ((URL.length>0) && (parent.Zeichnen))
      window.setTimeout("parent.SetMenuByName('"+URL+"')",100);
}

function Zoom(Bild)
{
  if (document.getElementsByTagName)
  {
    window.open('zoom.htm?'+Bild.src,'zoom','dependent=yes, resizable=yes, scrollbars=yes, width='+Bild.width+', height='+Bild.height);
  }
}

function myHR(doc)
{
  if (doc.all)
  {
    doc.writeln('<p>');
    for(var i = 2; i <= (parent.TO.balken.offsetWidth / 10); i++)
      doc.write('<img src="basis/gleis.gif" border="0">');
    doc.writeln('</p>');
  } else doc.writeln('<hr>');
}
