simple function for getting a parameter from querystring