code: function(node) {
          var nodeId = node.id;
          var arrayIndex = OpenLayers.Util.indexOf(this.order, nodeId);
          if (arrayIndex >= 0) {
              // Remove it from the order array, as well as deleting the node
              // from the indeces hash.
              this.order.splice(arrayIndex, 1);
              delete this.indices[nodeId];
              
              // Reset the maxium z-index based on the last item in the 
              // order array.
              if (this.order.length > 0) {
                  var lastId = this.order[this.order.length - 1];
                  this.maxZIndex = this.indices[lastId];
              } else {
                  this.maxZIndex = 0;
              }
          }
      }
docs: APIMethod: remove
  
  Parameters:
  node - {DOMElement} The node to be removed.