rem:  this.controlDiv = OpenLayers.Util.createDiv( div.id + "_OpenLayers_Control" ); this.controlDiv.style.width="100%"; this.controlDiv.style.height="100%"; this.controlDiv.style.zIndex = this.Z_INDEX_BASE["Control"]; this.viewPortDiv.appendChild(this.controlDiv); 
context:     initialize: function (div, options) {        Object.extend(this, options);        this.div = div = $(div);        // the viewPortDiv is the outermost div we modify        this.viewPortDiv = OpenLayers.Util.createDiv(                                div.id + "_OpenLayers_ViewPort" );        this.viewPortDiv.style.width = "100%";        this.viewPortDiv.style.height = "100%";        this.viewPortDiv.style.overflow = "hidden";        this.viewPortDiv.style.position = "relative";        this.div.appendChild(this.viewPortDiv);        // the controlDiv is the div that all the controls sit on        this.controlDiv = OpenLayers.Util.createDiv(                                div.id + "_OpenLayers_Control" );        this.controlDiv.style.width="100%";        this.controlDiv.style.height="100%";        this.controlDiv.style.zIndex = this.Z_INDEX_BASE["Control"];        this.viewPortDiv.appendChild(this.controlDiv);        // the layerContainerDiv is the one that holds all the layers        this.layerContainerDiv = OpenLayers.Util.createDiv(                                div.id + "_OpenLayers_Container" );        this.viewPortDiv.appendChild(this.layerContainerDiv);        this.events = new OpenLayers.Events(this, div, this.EVENT_TYPES);        this.layers = [];                this.controls = [];        this.addControl( new OpenLayers.Control.PanZoom() );        this.addControl( new OpenLayers.Control.MouseDefaults() );        // always call map.destroy()        Event.observe(window, 'unload',             this.destroy.bindAsEventListener(this));    },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/6c83a735197589956a69fda786203b440f7daa12/Map.js/buggy/lib/OpenLayers/Map.js