// 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 Lupe-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();
  }
}

// Integer Wert?
function isInteger(value) 
{
  return (parseInt(value) == value);
}

