
framename="Inhalt";
frameset="/index.htm";

var ps=null;

ps=location.href.lastIndexOf("esg-bankenservice.de/");
if (ps > 0)
   {
   ps += 21;
   }

var path=location.href.substring(ps,location.href.length);

function FrameCheck()
   {
   if(!eval("parent."+framename))
      {
      location.replace(frameset+"?"+path);
      }
   }

function LoadFrame()
   {
   var URL=location.search;
   if(URL)
      {
      frame=eval("frames."+framename);
      frame.location.replace(URL.substring(1,URL.length));
      }
   }
