//<![CDATA[


    function TextualZoomControl() {
    }
    TextualZoomControl.prototype = new GControl();

    TextualZoomControl.prototype.initialize = function(map) {
      var container = document.createElement("div");
      var zoomOutDiv = document.createElement("div");
	  zoomOutDiv.setAttribute('id','zoomoutdiv'); 
      this.setButtonStyle_(zoomOutDiv, "out");
      container.appendChild(zoomOutDiv);
      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(7, 7));
    }

    TextualZoomControl.prototype.setButtonStyle_ = function(button, label) {
      button.style.textDecoration = "underline";
      button.style.color = "#0000cc";
      button.style.background = "url('"+imgsbasepath+"bluezoom_" + label +".png')";
      button.style.border = "none";
      button.style.marginBottom = "0px";
      button.style.width = "44px";
      button.style.height = "44px";
      button.style.cursor = "pointer";
    }

	//moveControlUp
	function MoveControlUp() {
    }
    MoveControlUp.prototype = new GControl();

    MoveControlUp.prototype.initialize = function(map) {
      var container = document.createElement("div");

      var moveUpDiv = document.createElement("div");
	  moveUpDiv.setAttribute('id','moveupdiv'); 
      this.setButtonStyle_(moveUpDiv, "mapmoveup");
      container.appendChild(moveUpDiv);
      GEvent.addDomListener(moveUpDiv, "click", function() {
        map.panDirection(0,1) ;
      });

    

      map.getContainer().appendChild(container);
      return container;
    }

    MoveControlUp.prototype.getDefaultPosition = function() {
		var gsize=map.getSize();
      return new GControlPosition(G_ANCHOR_TOP_LEFT , new GSize(gsize.width/2-45, 0));
    }

    MoveControlUp.prototype.setButtonStyle_ = function(button, label) {
      button.style.textDecoration = "underline";
      button.style.color = "#0000cc";
      button.style.background = "url('"+imgsbasepath+"mapmoveup.png')";
      button.style.border = "none";
      button.style.marginBottom = "3px";
      button.style.width = "90px";
      button.style.height = "30px";
      button.style.cursor = "pointer";
    }
	
	//moveControlDown
	function MoveControlDown() {
    }
    MoveControlDown.prototype = new GControl();

    MoveControlDown.prototype.initialize = function(map) {
      var container = document.createElement("div");

      var moveUpDiv = document.createElement("div");
	  moveUpDiv.setAttribute('id','movedowndiv'); 
      this.setButtonStyle_(moveUpDiv, "mapmoveup");
      container.appendChild(moveUpDiv);
      GEvent.addDomListener(moveUpDiv, "click", function() {
        map.panDirection(0,-1) ;
      });

    

      map.getContainer().appendChild(container);
      return container;
    }

    MoveControlDown.prototype.getDefaultPosition = function() {
		var gsize=map.getSize();
      return new GControlPosition(G_ANCHOR_BOTTOM_LEFT , new GSize(gsize.width/2-45, 0));
    }

    MoveControlDown.prototype.setButtonStyle_ = function(button, label) {
      button.style.textDecoration = "underline";
      button.style.color = "#0000cc";
      button.style.background = "url('"+imgsbasepath+"mapmovedown.png')";
      button.style.border = "none";
      button.style.marginBottom = "0px";
      button.style.width = "90px";
      button.style.height = "30px";
      button.style.cursor = "pointer";
    }
	
	//moveControlLeft
	function MoveControlLeft() {
    }
    MoveControlLeft.prototype = new GControl();

    MoveControlLeft.prototype.initialize = function(map) {
      var container = document.createElement("div");

      var moveUpDiv = document.createElement("div");
	  moveUpDiv.setAttribute('id','moveleftdiv'); 
      this.setButtonStyle_(moveUpDiv, "mapmoveup");
      container.appendChild(moveUpDiv);
      GEvent.addDomListener(moveUpDiv, "click", function() {
        map.panDirection(1,0) ;
      });

    

      map.getContainer().appendChild(container);
      return container;
    }

    MoveControlLeft.prototype.getDefaultPosition = function() {
		var gsize=map.getSize();
      return new GControlPosition(G_ANCHOR_TOP_LEFT , new GSize(0, gsize.height/2-45));
    }

    MoveControlLeft.prototype.setButtonStyle_ = function(button, label) {
      button.style.textDecoration = "underline";
      button.style.color = "#0000cc";
      button.style.background = "url('"+imgsbasepath+"mapmoveleft.png')";
      button.style.border = "none";
      button.style.marginBottom = "0px";
      button.style.width = "30px";
      button.style.height = "90px";
      button.style.cursor = "pointer";
    }
	
	//moveControlRight
	function MoveControlRight() {
    }
    MoveControlRight.prototype = new GControl();

    MoveControlRight.prototype.initialize = function(map) {
      var container = document.createElement("div");

      var moveUpDiv = document.createElement("div");
	  moveUpDiv.setAttribute('id','moverightdiv'); 
      this.setButtonStyle_(moveUpDiv, "mapmoveup");
      container.appendChild(moveUpDiv);
      GEvent.addDomListener(moveUpDiv, "click", function() {
        map.panDirection(-1,0) ;
      });

    

      map.getContainer().appendChild(container);
      return container;
    }

    MoveControlRight.prototype.getDefaultPosition = function() {
		var gsize=map.getSize();
      return new GControlPosition(G_ANCHOR_TOP_RIGHT , new GSize(0, gsize.height/2-45));
    }

    MoveControlRight.prototype.setButtonStyle_ = function(button, label) {
      button.style.textDecoration = "underline";
      button.style.color = "#0000cc";
      button.style.background = "url('"+imgsbasepath+"mapmoveright.png')";
      button.style.border = "none";
      button.style.marginBottom = "0px";
      button.style.width = "30px";
      button.style.height = "90px";
      button.style.cursor = "pointer";
    }
	
	if (typeof initmap!= 'undefined'){
		setTimeout("outgmapInit();",250);			
	}
	
//]]> 