/*************************************************************
  Scriptname            :check.js
  Einsatzzweck          :Frames nachladen
  Autor                 :Werner Stegmann
  Copyright             :Zacknet <www.zacknet.de>, 2002-2005
  Erstellungsdatum      :31-08-2002
  Letzte Änderung       :03-10-2003
*************************************************************/

var name="main";
var set="index.html";

function check_frame() {
  if(!eval("parent."+name)) {
    location.replace(set+"?"+location.href);
  }
}

function lade_frame() {
  var URL=location.search;
  if(URL) {
    frame=eval("frames."+name);
    frame.location.replace(URL.substring(1,URL.length));
  }
}
