// monsys-stories immer im frameset anzeigen

function framecheck() {
   var pathname = location.pathname.split("index.html")[0];
   if ((top.frames.length == 0) && (pathname.lastIndexOf(".html") > -1))
      location.replace("index.html?url=" + location.href);
   else if (!top.noreload && top.location.search && (self == top.frames[1])) {
      var parts = top.location.search.split("url=");
      var story = parts[1];
      if (story != location.href)
         location.replace(story);
      top.noreload = true;
   }
}

//framecheck();
