
// deaktiviert - nur wenn url?string-anhang nicht "nomob" enthält
// deaktiviert - nur wenn es ein bekannter mobil-client ist
// nur wenn wir (sowieso) keine parent-frames haben (also nur bei direktaufruf aus der ferne)


	var appV = navigator.userAgent.toLowerCase();
	var srch = window.location.search;

	if ( srch.indexOf("nomob") < 0 )
	{
	// 		diese Zeile läßt chrome und safari nicht nachladen
	//  	if ( appV.indexOf("safari") < 0 && appV.indexOf("opera mini") < 0 && appV.indexOf("mobile") < 0 && appV.indexOf("symbian") < 0 && appV.indexOf("nokia") < 0 && appV.indexOf("vodafone") < 0 && appV.indexOf("android") < 0 ) 

	  	if ( appV.indexOf("opera mini") < 0 && appV.indexOf("mobile") < 0 && appV.indexOf("symbian") < 0 && appV.indexOf("nokia") < 0 && appV.indexOf("vodafone") < 0 && appV.indexOf("android") < 0 ) 
	  	{
			if (parent.frames.length == 0) 
			{ 		
				var w = window.location.href;
				var l = w.length;
				var s = w.lastIndexOf("/")+1;
	
			//	alert ("this is parent.js with \n../index.htm?" + w.substr( s, l-s ) );
	
				window.location.href = "../index.htm?"+w.substr( s, l-s );
			}
		}
	 }


