docs: function _abstract_segment_template(segments){
  	
  	var maxibuf = new Array();
  	for( var segkey in segments ){
  
  	    var segval = segments[segkey];
  
  	    // If the value looks like an array, iterate over it and
  	    // collect.
  	    if( segval &&
  		segval != null &&
  		typeof segval == 'object' &&
  		segval.length ){
  
  		for( var i = 0; i < segval.length; i++ ){
  		    var minibuffer = new Array();
  		    minibuffer.push(segkey);
  		    minibuffer.push('=');
  		    minibuffer.push(segval[i]);
  		    maxibuf.push(minibuffer.join(''));
  		}
  
  	    }else{
  		var minibuf = new Array();
  		minibuf.push(segkey);
  		minibuf.push('=');
  		minibuf.push(segval);
  		maxibuf.push(minibuf.join(''));
  	    }
  	}
  	return maxibuf.join('&');
      }