var tArgs=location.search;var tLength=tArgs.length;var tArgs=tArgs.substr(1,tLength);if (tArgs == "") {	var newUrl = "http://" + location.host + "/?s=" + location.pathname} else {	var newUrl = "http://" + location.host + "/?s=" + location.pathname + "&" + tArgs}if (parent.frames.length == 0) {	location.href = newUrl}			 