(.+)<\/code>/g, '$1
');
return message;
}
function decrypt(){
$('img.img-stickers').each(function(){
var message = $(this).attr('alt');
message = CryptoJS.AES.decrypt(message.substring(12, message.length-7), "").toString(CryptoJS.enc.Utf8);
$(this).replaceWith("" + add_smileys(message).replace(/~/g, "
") + "
");
});
}
(function() {
var topic = window.location.pathname.split("-")[2];
if (topic != 0) decrypt();
$(".jvcode-eye-blocked").parent().parent().append('');
$(".jvcode-eye-blocked").parent().parent().append('');
$("#btn-encrypt").click(function(){
encrypt();
});
$("#btn-decrypt").click(function(){
cancel();
});
})();