1.40: added utility function getURLParameter(name)