function TextualZoomRegions() {
    }
    TextualZoomRegions.prototype = new GControl();

    TextualZoomRegions.prototype.initialize = function(map) {
      
	  lsc = new google.maps.LocalSearch();
	  
	  var container = document.createElement("div");
	  var ObjectShow = document.createElement("div");	  
	  var i = 0;
	  var j = 0;
	  
      container.id = "text_Regions";
	  container.style.visibility = "visible";
        	
	  tmp = "<div>"
	  +"<div id='con_1' name='con_1' class='loadRegions' onclick='sectorFlag=true; runSector(1)'></div>"
	  +"<div id='con_2' name='con_2' class='loadRegions' onclick='sectorFlag=true; runSector(2)'></div>"
	  +"<div id='con_3' name='con_3' class='loadRegions' onclick='sectorFlag=true; runSector(3)'></div>"
	  +"<div id='con_4' name='con_4' class='loadRegions' onclick='sectorFlag=true; runSector(4)'></div>"
	  +"<div id='con_5' name='con_5' class='loadRegions' onclick='sectorFlag=true; runSector(5)'></div>"
	  +"<div id='con_6' name='con_6' class='loadRegions' onclick='sectorFlag=true; runSector(6)'></div>"	
	  tmp+="</div>"
	  
	  ObjectShow.innerHTML = tmp;	 		
      container.appendChild(ObjectShow);
      GEvent.addDomListener(ObjectShow, "click", function() {
      		
      });

      map.getContainer().appendChild(container);
      return container;
    }

	TextualZoomRegions.prototype.setButtonStyle_ = function(button) {
      button.style.textDecoration = "none";
      button.style.color = "#000000";
      button.style.backgroundColor = "white";
      button.style.fontFamily = "Trebuchet MS";
      button.style.fontSize = "11px";
      button.style.border = "1px solid black";
      button.style.padding = "1px";
      button.style.marginBottom = "1px";
      button.style.marginTop = "1px";
      button.style.textAlign = "center";
      button.style.width = "6em";
      button.style.cursor = "pointer";
    }

    TextualZoomRegions.prototype.getDefaultPosition = function() {
      return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(1, 1));
    }

    
