code: function parseURLQueryTerms(search) {
  		var params = {};
  		var pairs;
  		var pair;
  		var i, len;
  		if ( search !== undefined && search.length > 0 ) {
  			// remove any leading ? character
  			if ( search.match(/^\?/) ) {
  				search = search.substring(1);
  			}
  			pairs = search.split('&');
  			for ( i = 0, len = pairs.length; i < len; i += 1 ) {
  				pair = pairs[i].split('=', 2);
  				if ( pair.length === 2 ) {
  					params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);
  				}
  			}
  		}
  		return params;
  	}
docs: Parse the query portion of a URL string, and return a parameter object for the
  parsed key/value pairs.
  
  <p>Multiple parameters of the same name are <b>not</b> supported.</p>
  
  @param {String} search the query portion of the URL, which may optionally include
  the leading '?' character
  @return {Object} the parsed query parameters, as a parameter object
  @preserve