    /**
    *   Custom overlay for GreenMaps
    *   @param object oMap
    *   @param int x
    *   @param int y
    **/    
    var control_settings = function(oSettings, oMap, x, y) { this.oMap = oMap; this.oSettings = oSettings; this.x = x; this.y=y };
        control_settings.prototype = new GControl(true, false);
        control_settings.prototype.initialize = function () {
                var oContainer = document.createElement("div");
                oContainer.innerHTML    = "<img id='save_settings_image' src='Geostart/images/icon_save_as.gif' style='margin-right:3px;display:block;float:left;'><a id='save_settings_link' target='_blank' onclick='oGeoStart.oStateMachine.saveCurrentState();return false;' href='#' style='background:#F1F1E9;display:block;padding:4px 0 5px 30px;color:#2eb000;'>huidige&nbsp;positie&nbsp;bewaren</a>";
                
                oContainer.id           = "save_settings";
                oContainer.style.cssText= "text-align:center;border:1px solid #6B6863;width:248px;text-decoration:none;height:22px;cursor:pointer;background-color:#F1F1E9;";

                this.oMap.getContainer().appendChild(oContainer);
                
                return oContainer;
            }        
        control_settings.prototype.getDefaultPosition = function () {
                return new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(this.x,this.y));
            };


