Weiterleitung = "http://www.fotografieren.li";

	Domain1			= "http://www.badi-info.ch";
	Domain2			= "http://fotografieren.li";
	Domain3			= "http://www.sporttreff-urdorf.ch";

	DomainX = Domain1 + ";" + Domain2 + ";" + Domain3 + ";";
	URL		= String(document.URL);
	Referer = String(document.referrer);
	Position_URL = URL.lastIndexOf(".") ;
	Position_Referer = Referer.lastIndexOf(".")  ;
	Position_URL = URL.substr(0,Position_URL).lastIndexOf(".") + 1;
	Position_Referer = Referer.substr(0,Position_Referer).lastIndexOf(".") + 1;
	Domain_URL = URL.substr(0,Position_URL);
	Domain_Referer = Referer.substr(0,Position_Referer);
	if (Domain_URL != Domain_Referer)
	{
		if ( DomainX.indexOf(Domain_Referer) < 0 || Domain_Referer.length<2)
			document.write("<a href='../index.html' target='_top'>Zur Homepage von Fotografieren.li - <i>To the home page &gt; &gt; </a>");

}

			
		else
	{	
		document.write("<a href='javascript:window.close()'>Fenster schliessen - <i>Close this window</i></a>");	
			
			
	};