function MapDialog() {
}

MapDialog.prototype = new GControl();

MapDialog.prototype.initialize = function(map) {
    var container = document.createElement("div");
    container.id = 'dialog';
    container.style.position = 'relative';
    container.style.backgroundColor = '#FFDFDF';
    container.style.color = '#000';
    container.style.padding = '5px';
    map.getContainer().appendChild(container);
    return container;
}

MapDialog.prototype.getDefaultPosition = function() {
  return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(80, 7));
}