// Check Frameset
window.onload=CheckFrameset;
function CheckFrameset()
{
  if(top.frames.length > 0)
  {
    top.location.href=self.location;
  }
}

// Statuszeile
function message(txt)
{
  window.status = txt;
}

// Fullscreen
function fullscreen(docpath, pagetitle, showhint)
{
  if(showhint)
  {
    alert('Sie haben die Vollbild Ansicht aktiviert. Klicken Sie auf das Symbol unten rechts oder die Tastenkombination Alt+F4 um die Vollbild Ansicht wieder zu beenden.');
  }
  fullscreenwin = window.open(docpath,pagetitle,"fullscreen, scrollbars=yes");
  fullscreenwin.focus();
}

// Zurueck Button
function goBack()
{
  if(history.length > 0)
  {
    history.back();
  }
  else
  {
    top.window.close();
  }
}

// neues Fenster
function openWindow(pfad)
{
  Fenster = top.window.open(pfad, "Information", "width=500, height=600, location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes");
  Fenster.focus();
}

// Lupe
function openWindow2(pfad, width, height)
{
  Lupe = top.window.open(pfad, "Information", "width=" + width + ", height=" + height + ", location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes");
  Lupe.focus();
}

// Lupe
function lupe(pfad, width, height)
{
  Lupe = top.window.open(pfad, "Information", "width=" + width + ", height=" + height + ", location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=no");
  Lupe.focus();
}

// OnMouseOver
function loff(name)
{
  document.images[(name)].src="/gedu/images/pfeil.gif";
}

function lon(name)
{
  document.images[(name)].src="/gedu/images/pfeilr.gif";
}





