code: function(div) {
          this.div = OpenLayers.Util.getElement(div);
          OpenLayers.Element.addClass(this.div, 'olMap');
          this.viewPortDiv.parentNode.removeChild(this.viewPortDiv);
          this.div.appendChild(this.viewPortDiv);
          this.updateSize();
      }
docs: APIMethod: render
  Render the map to a specified container.
  
  Parameters:
  div - {String|DOMElement} The container that the map should be rendered
  to. If different than the current container, the map viewport
  will be moved from the current to the new container.