0;
	}

	if (urlParams.has("hidedupes")) {
		showdupes = false;
	}
	
	var maxShow = false;
	if (urlParams.has("max") || urlParams.has("limit")) {
		maxShow = parseInt(urlParams.has("limit")) || parseInt(urlParams.get("max")) || 0;
	}
	
	var membersonly = false;
	if (urlParams.has("membersonly")) {
		membersonly = true;
	}
	
	if (urlParams.has("hidereplies")) {
		hidereplies = true;
	}

	if (urlParams.has("session")){
		roomID = urlParams.get("session");
	} else if (urlParams.has("s")){