// GET-PARAMETER IN ADRESSZEILE VERSTECKEN DURCH JS-WEITERLEITUNG
var loc = "" + location.href;
var loc_search = "" + location.search;
// ONLINE
if (loc_search.indexOf("?x=")!=-1 || loc_search.indexOf("&x=")!=-1 && loc.indexOf("http://")!=-1) {
	if (loc_search.indexOf("&x=")!=-1) {
		loc_search = loc_search.substring(0, loc_search.indexOf("&x="));
	} else {
		loc_search = "";
	}
	location.replace("http://" + location.host + location.pathname + loc_search);
}
// OFFLINE
else if (loc_search.indexOf("?x=")!=-1 || loc_search.indexOf("&x=")!=-1 && loc.indexOf("http://")==-1) {
	if (loc_search.indexOf("&x=")!=-1) {
		loc_search = loc_search.substring(0, loc_search.indexOf("&x="));
	} else {
		loc_search = "";
	}
	location.replace(location.host + location.pathname  + loc_search);
}
//alert(location.search);
