//**********************************************************
// File:   frames.js
// Inhalt: Ausgelagerte Funktionen zur zentralen Verwendung
//
// Autor:   Projektteam NetPresent, Leader: S. Wiesmann
// Version: 2001-03-17T12:00:00+01:00
//**********************************************************

function FramesetTest(eigeneURL)
{
        if (top.frames.length==0)
        {
                 Address="hauptseite.html?" + eigeneURL;
                 if(document.images) top.location.replace(Address);
                 else top.location.href=Address;
        }
}

function Jump()
{
        if (top.frames.length==0)
        {
                if(document.images)
                        window.location.replace("hauptseite.html");
                else window.location.href="hauptseite.html";
        }
        if (top.location.search.length!=0)
        {
                var Size=top.location.search.length;
                var Address=top.location.search.substring(1,Size);
                if(document.images) self.location.replace(Address);
                else self.location.href=Address;
        }
}