// Trivial decoding function - it subtracts 1 from each character value
function decode(source) {
    var result;
    var index;

    result = "";
    for( index = 0; index < source.length; index++ ) {
        result += String.fromCharCode(source.charCodeAt(index) - 1);
    }

    return (result);
}
