var locationDoc = document.location.href;
var HTTProot = /(^http:\/\/www.club-fuer-molosser.net\/)/;
HTTProot.exec(locationDoc);
if (RegExp.$1 == "")
{
    HTTProot = /(^http:\/\/club-fuer-molosser.net\/)/;
    HTTProot.exec(locationDoc);
    if (RegExp.$1 == "")
    {
        HTTProot = /(^http:\/\/localhost\/)/;
        HTTProot.exec(locationDoc);
        if (RegExp.$1 == "")
        {
            HTTProot = /(www.club-fuer-molosser.net\/)/;
            HTTProot.exec(locationDoc);
            if (RegExp.$1 == "")
            {
                locationDoc = "http://www.club-fuer-molosser.net/";
            }
        }
        else
        {
            locationDoc = RegExp.$1;
        }
    }
    else
    {
        locationDoc = RegExp.$1;
    }
}
else
{
    locationDoc = RegExp.$1;
}

if ((top.frames.length == 0) || 
    ((top.frames[0].location.href.toLowerCase().indexOf('/nav2.html') == -1) &&
    (top.frames[1].location.href.toLowerCase().indexOf(document.location.href.toLowerCase()) == 0)))
{
    document.write("<div  align=\"center\"><div class=\"hplink\"><b>"+
                   "<a href=\"http://www.club-fuer-molosser.net\">"+
                   "<font color=\"white\">" +
                   "------> Homepage des Clubs f&uuml;r Molosser e.V. <------"+
                   "</font>" +
                   "</a>"+
                   "</b></div></div>");    
}
