rem:  * Returns: * A zero-padded string 
add: * * Return: * {String} A zero-padded string 
context:     getURL: function(bounds) {        var res = this.map.getResolution();        var bbox = this.maxExtent;        var size = this.tileSize;        var tileX = Math.floor((bounds.left - bbox.left) / (res * size.w));        var tileY = Math.floor((bounds.bottom - bbox.bottom) / (res * size.h));        var tileZ = this.map.zoom;        /**         * Zero-pad a positive integer.         * number - {Int}          * length - {Int}                   * Returns:         * A zero-padded string         */        function zeroPad(number, length) {            number = String(number);            var zeros = [];            for(var i=0; i<length; ++i) {                zeros.push('0');            }            return zeros.join('').substring(0, length - number.length) + number;        }        var components = [            this.layername,            zeroPad(tileZ, 2),            zeroPad(parseInt(tileX / 1000000), 3),            zeroPad((parseInt(tileX / 1000) % 1000), 3),            zeroPad((parseInt(tileX) % 1000), 3),            zeroPad(parseInt(tileY / 1000000), 3),            zeroPad((parseInt(tileY / 1000) % 1000), 3),            zeroPad((parseInt(tileY) % 1000), 3) + '.' + this.extension        ];        var path = components.join('/');         var url = this.url;        if (url instanceof Array) {            url = this.selectUrl(path, url);        }        url = (url.charAt(url.length - 1) == '/') ? url : url + '/';        return url + path;    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/b5ef77096c4d7c4aae1d2092469cf97dc490463b/TileCache.js/buggy/lib/OpenLayers/Layer/TileCache.js