	if (top.location == self.location)
	{
		umleitung(String(self.location));
	}
	else
	{
		if (!parent.mainFrame)
		{
			umleitung(String(self.location));
		}
	}
	

function umleitung(ploc)
{
	var url = ploc;
	url = url.slice(url.indexOf("Hp")+3);
	var host = ploc;
	host = host.slice(0, host.indexOf("Hp"));
	alert("Die Seite wird im Frameset der Brummel e.V. geladen.");
	//alert("Zugriff verweigert! \nDie Seite wird auf die Startseite der Brummel e.V. umgeleitet.");
	top.location.replace(host + "Hp/start2.php?url=" + url);
}