public static function pageURL() {
		$URL = "http";
		if(!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {
			$URL .= "s";
		}
		$URL .= "://".$_SERVER["SERVER_NAME"];
		if($_SERVER["SERVER_PORT"] != "80") {
			$URL .= ":".$_SERVER["SERVER_PORT"];
		}
		$URL .= $_SERVER["REQUEST_URI"];
		return $URL;
	}