/*************************************************************
  Scriptname         :check.js
  Einsatzzweck     :Frames nachladen
  Autor                 :Werner Stegmann
  Copyright           :Zacknet <www.zacknet.de>, 2002-2008
  Erstellungsdatum      :31-08-2002
  Letzte Änderung       :01-08-2008
*************************************************************/

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));
  }
}

