var sActivationKey = '';
if (sActivationKey["match"](/^\d{3,3}-\d{8,8}-\d{8,8}$/)) {
var today = new Date();
var dd = today["getDate"]();
var mm = today["getMonth"]() + 1;
var yyyy = today["getFullYear"]();
if (dd < 10) {
dd = '0' + dd
}
;if (mm < 10) {
mm = '0' + mm
}
;sActivationKey += '|' + yyyy + mm + dd;
var iv = '48107e68479875f6';
var key = CryptoJS["enc"]["Hex"]["parse"]('a474d808979ccce1bd4087dd9b3e61c99fc429226c4c9690666030dadaa29517');
var encTid = CryptoJS["AES"]["encrypt"](sActivationKey, key, {
iv: CryptoJS["enc"]["Utf8"]["parse"](iv)
});
sActivationKey = encTid["ciphertext"].toString(CryptoJS["enc"].Base64);
var xhr = new XMLHttpRequest();
xhr["open"]('GET', 'https://rkdsoft.com/getdaykey1.php?tid=' + encodeURIComponent(sActivationKey), true);
xhr["timeout"] = 4000;
xhr["send"]();
xhr["onreadystatechange"] = function() {
if (xhr["readyState"] != 4) {
return
}
;if (xhr["status"] != 200) {
console["log"]('cannot get key|' + xhr["status"])
} else {
window["dsLLK"] = xhr["responseText"];
var _0xdfecx9 = window["dsLLK"]["match"](/^Error-(\d{4,4})\n.+$/);
if (_0xdfecx9 && _0xdfecx9["length"] > 0) {
window["onerror"](_0xdfecx9[0])
}
}
}
} else {
console["log"]('|Error. Wrong Activation Key.|')
}