@a13xsus: 100 — это CV
function numberToId(number) {
var letters = "ABCDEFGHIJKLMNOPQRSTUVWYXZ"; // Алфавит
var output = "";
while(number) {
output = letters[(number - 1) % letters.length] + output;
number = Math.floor(number / letters.length);
}
return output;
}