code: function(param) {
  			this.writeDebug('getQueryString',param);
  			if(param) {
  				param = param.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
  				var regex = new RegExp('[\\?&]' + param + '=([^&#]*)'),
  					results = regex.exec(location.search);
  				return (results === null) ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
  			}
  		}
docs: Check for query string
  
  @param param {string} query string parameter to test
  @returns {string} query string value