rem: var zoom = "zoom=" + this.map.getZoom(); var lat = "lat=" + Math.round(center.lat*100000)/100000; var lon = "lon=" + Math.round(center.lon*100000)/100000; 
add: params.zoom = this.map.getZoom(); params.lat = Math.round(center.lat*100000)/100000; params.lon = Math.round(center.lon*100000)/100000; 
context:     updateLink: function() {        var center = this.map.getCenter();                // Map not initialized yet. Break out of this function.        if (!center) {             return;         }                var zoom = "zoom=" + this.map.getZoom();         var lat = "lat=" + Math.round(center.lat*100000)/100000;        var lon = "lon=" + Math.round(center.lon*100000)/100000;        var layers = "layers=";        for(var i=0; i< this.map.layers.length; i++) {            var layer = this.map.layers[i];            if (layer.isBaseLayer) {                layers += (layer == this.map.baseLayer) ? "B" : "0";            } else {                layers += (layer.getVisibility()) ? "T" : "F";                       }        }                var href = this.base;        var paramsString =  lat + "&" + lon + "&" + zoom + "&" + layers;                 var lastServerChar = href.charAt(href.length - 1);        if ((lastServerChar == "&") || (lastServerChar == "?")) {            href += paramsString;        } else {            if (href.indexOf('?') == -1) {                //serverPath has no ? -- add one                href += '?' + paramsString;            } else {                //serverPath contains ?, so must already have paramsString at the end                href += '&' + paramsString;            }        }        this.element.href = href;    }, 
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/e9613668697f238d78984bf50d38b4064fc26ad0/Permalink.js/buggy/lib/OpenLayers/Control/Permalink.js