code: function(type, id) {
          var node = document.createElement(type);
          if (id) {
              node.id = id;
          }
          
          // IE hack to make elements unselectable, to prevent 'blue flash'
          // while dragging vectors; #1410
          node.unselectable = 'on';
          node.onselectstart = OpenLayers.Function.False;
          
          return node;    
      }
docs: Method: createNode
  Create a new node
  
  Parameters:
  type - {String} Kind of node to draw
  id - {String} Id for node
  
  Returns:
  {DOMElement} A new node of the given type and id