função string10to62 (número) {var chars = '0123456789abcdefghigklmnopqrstuvwxyzabcdefghigklmnopqrstStuvwxyz'.split (' '), radix = chars.Lengient = + +número, ar dr = []; do {mod = qutient % radix; qutient = (qutient - mod) / radix; Arr.unshift (chars [mod]); } while (Qutient); return arr.join('');}function string62to10(number_code) { var chars = '0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ', radix = chars.length, number_code = String(number_code), len = number_code.length, i = 0, origem_number = 0; while (i <len) {Origin_Number+= Math.pow (Radix, i ++) * char.indexOf (number_code.charat (len - i) || 0); } return orige_number;}