
	function openAGB(){
		var agb = "/live/navigation/agb.php";
		window.open(agb, "Allgemeine Gesch&auml;ftsbedingungen", "width=300,height=400,left=100,top=200");
	}

	// formward to a given url, used in thematische suche
	function jumpURL(url) {
		if(url==0) return;
		location.href = url;
	}


	// contains functions to jump to a specified uri, used in location_map
	function jumpLand(myX) {
		if(!myX) return;
		var uri,goto;
		uri=document.location.href;
		if( uri.indexOf("STATE")==-1) {
			goto=uri+"?STATE="+myX;
		} else {
			goto=uri.substring(0,uri.indexOf("?STATE"))+"?STATE="+escape(myX);
		}
		location.href=goto;
		//location.href = "/live/navigation/forwarder.php?STATE="+escape(myX)+"&goto="+escape(goto);
	}

	function jumpCity(myZ) {
		if(!myZ) return;
		var uri,goto;
		uri=document.location.href;
	 	if( uri.indexOf("&CITY")==-1) {
			goto=uri+"&CITY="+myZ;
		} else {
			goto=uri.substring(0,uri.indexOf("&CITY"))+"&CITY="+escape(myZ);
		}
		location.href = "/live/navigation/forwarder.php?CITY="+myZ+"&goto="+escape(goto);
	}

	// functions to jump to a specified uri, used in kurs_filter
	function setThemenbereich(myX) {
		if(!myX || myX==9999) return;
		var uri,goto;
		uri=document.location.href;
		if( uri.indexOf("?")==-1) uri+= "?";
		// themenbereich
		if( uri.indexOf("&themenbereich")==-1) {
			goto=uri+"&themenbereich="+myX;
		} else {
			goto=uri.substring(0,uri.indexOf("&themenbereich"))+"&themenbereich="+escape(myX);
		}
		location.href=goto;
	}

	function setThema(myX) {
		if(!myX || myX==9999) return;
		var uri,goto;
		uri=document.location.href;
		if( uri.indexOf("?")==-1) uri+= "?";
		// themenbereich
		if( uri.indexOf("&thema")==-1) {
			goto=uri+"&thema="+myX;
		} else {
			goto=uri.substring(0,uri.indexOf("&thema"))+"&thema="+escape(myX);
		}
		location.href=goto;
	}

	function submitSearchForm() {
		document.searchForm.submit();
	}



