Url Parameter Functions

Added two functions to get url parameters.