code: function(type, url, opts) {
  
          var id = "q" + (qidx++);
          opts = opts || {};
  
          if (qidx % YAHOO.util.Get.PURGE_THRESH === 0) {
              _autoPurge();
          }
  
          queues[id] = lang.merge(opts, {
              tId: id,
              type: type,
              url: url,
              finished: false,
              aborted: false,
              nodes: []
          });
  
          var q = queues[id];
          q.win = q.win || window;
          q.scope = q.scope || q.win;
          q.autopurge = ("autopurge" in q) ? q.autopurge : 
                        (type === "script") ? true : false;
  
          if (opts.charset) {
              q.attributes = q.attributes || {};
              q.attributes.charset = opts.charset;
          }
  
          lang.later(0, q, _next, id);
  
          return {
              tId: id
          };
      }
docs: Saves the state for the request and begins loading
  the requested urls
  @method queue
  @param type {string} the type of node to insert
  @param url {string} the url to load
  @param opts the hash of options for this request
  @private