function loadNote() {
    new Ajax.Request('/Ajax/GNote.php', {method: 'post',
        onSuccess: function(transport) {
            var noteBox = document.getElementById('note');
            noteBox.readOnly = false;
            var note = transport.responseText || "Keine Antwort!";

            note.replace("-", "+");
            note.replace("_", "/");

            //alert(MD5(GetPass()));
            //alert(byteArrayToHex(rijndaelDecrypt(Base64.decode(note), MD5(GetPass()), "ECB")));

            //alert(MD5.hex_md5(MD5.str_md5(GetPass())));

            //blockSizeInBits=128;
            //keySizeInBits=128;

            //alert(byteArrayToHex(rijndaelDecrypt(Base64.decode(note), MD5.hex_md5(MD5.str_md5(GetPass())), "ECB")));

            //alert(Aes.Ctr.encrypt("testi", "dannzly", 128));
            
            noteBox.value = Aes.Ctr.decrypt(note, GetPass(), 128);
        },
        onFailure: function() {
            document.getElementById('note').value = "Fehler!";
        }} );

    //noteBox.value = MD5('dannzly'); // MD5

    // AES:
}
