日期:2014-05-17 浏览次数:20931 次
    ImagePal.prototype.getCode = function (c) {
        return (substring ("00000" + c, (length ("00000" + c) - 5) + 1, 5));
    };
    ImagePal.prototype.getImageUrl = function () {
        return (((((((this.basename + this.level) + "/") + this.getCode(this.ox)) + this.getCode(this.oy)) + this.getCode(this.ow)) + this.getCode(this.oh)) + ".jpg");
    };
    ImagePal.prototype.getLocatorUrl = function () {
        return ((this.basename + this.primary) + ".jpg");
    };
    ImagePal.prototype.getThumbnailUrl = function () {
        return ((("_" + this.basename) + this.primary) + ".jpg");
    };