// 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('Du hast die Vollbild Ansicht aktiviert. Klicke 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
  {
    window.close();
  }
}

