function TextualZoomControl() {

}

TextualZoomControl.prototype = new GControl();


TextualZoomControl.prototype.initialize = function(map) {
	var container = document.createElement("div");
	
	var zoomInDiv = document.createElement("div");
	this.setButtonStyle_(zoomInDiv);
	container.appendChild(zoomInDiv);
	zoomInDiv.appendChild(document.createTextNode("[+]"));
	GEvent.addDomListener(zoomInDiv, "click", function() {
		map.zoomIn();
	});
	
	var zoomOutDiv = document.createElement("div");
	container.appendChild(zoomOutDiv);
	this.setButtonStyle_(zoomOutDiv);
	zoomOutDiv.appendChild(document.createTextNode("[-]"));
	GEvent.addDomListener(zoomOutDiv, "click", function() {
		map.zoomOut();
	});
	
	map.getContainer().appendChild(container);
	return container;
}

TextualZoomControl.prototype.getDefaultPosition = function() {
	return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(760, 90));
}

TextualZoomControl.prototype.setButtonStyle_ = function(button) {
	button.style.color = "#00CCFF";
  	button.style.padding = "4px";
  	button.style.textAlign = "center";
  	button.style.cursor = "pointer";
}

