CINXE.COM
Login | ASPEN
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Login | ASPEN</title> <meta name="description" content="ASPEN | EC-Council"> <meta name="author" content="EC-Council"> <meta name='robots' content='noindex, nofollow' /> <meta name="google-site-verification" content="W2g-z-dKvSbdXtkgBZJftezREfoO1z8Eu9sZhIfPMnI" /> <meta name="referrer" content="Same-origin" /> <!-- Devices Meta --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <!-- Include intl-tel-input CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@24.4.0/build/css/intlTelInput.css"> <!-- Put favicon.ico and apple-touch-icon(s).png in the images folder --> <link rel="shortcut icon" href="/Content/assets/images/favicon.png"> <link href='https://fonts.googleapis.com/css?family=Oswald:400,100,300,500,700%7CLato:400,300,700,900&subset=latin,latin-ext' rel='stylesheet' type='text/css'> <!-- Plugins CSS files --> <link rel="stylesheet" href="/Content/assets/css/assets.css"> <!-- REVOLUTION SLIDER STYLES --> <link rel="stylesheet" href="/Content/assets/revolution/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css" type="text/css"> <link rel="stylesheet" href="/Content/assets/revolution/css/settings.css" type="text/css"> <link rel="stylesheet" href="/Content/assets/revolution/css/navigation.css" type="text/css"> <!-- Template CSS files --> <link rel="stylesheet" href="/Content/assets/css/style.css"> <link rel="stylesheet" href="/Content/assets/css/shortcodes.css"> <link id="theme_css" rel="stylesheet" href="/Content/assets/css/light.css"> <link id="skin_css" rel="stylesheet" href="/Content/assets/css/skins/default.css"> <link href="/Content/assets/css/shop.css" rel="stylesheet" /> <link href="/Content/assets/css/mystyle.css" rel="stylesheet" /> <script src="/Scripts/CustomScripts/jquery-3.7.1.min.js"></script> <link href="/Content/assets/css/pickmeup.css" rel="stylesheet" /> <link href="/Content/jquery1.9.2.css" rel="stylesheet" /> <link href="/Content/skins/flat/blue.css" rel="stylesheet" /> <script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=f11242c3-ae26-40dc-80d1-6117c3b21e5e"></script> <script src="/Scripts/cookie-consent.js"></script> <style>html,body{margin:0;padding:0;height:100%!important}#m-container{min-height:100%!important;position:relative!important}#content{padding-bottom:60px!important}#footer2{position:absolute!important;bottom:0!important;width:100%!important;height:60px!important}.pickmeup{border-width:medium;border-style:double;border-color:#1d98e6}.no-padding{padding:0!important}.fnt{font-weight:400;font-family:'Oswald',sans-serif;font-size:17px}.white-tr-bg{background-color:rgba(245,245,247,.4)}.my-btntext{font-size:14px;font-weight:bold}.my-btntext:hover{color:red!important}.icon-box.lg-icon1 i{margin:auto;margin-bottom:10px;position:relative;font-weight:normal;box-shadow:0 20px 21px -12px rgba(0,0,0,.2);-webkit-box-shadow:0 20px 21px -12px rgba(0,0,0,.2);width:50px!important;height:30px!important;line-height:30px!important;overflow:hidden;font-size:20px!important}.icon-box.lg-icon1 i:before{position:relative;z-index:2;transform:rotate(-26deg);-webkit-transform:rotate(-26deg);display:block;bottom:-7px;-webkit-transition:all 600ms ease;transition:all 600ms ease}.dropdown-menu{border:1px solid red!important;background-color:#fff;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;min-width:335px;box-shadow:0 0 15px rgba(0,0,0,.15),0 0 1px 1px rgba(0,0,0,.1)}@media only screen and (max-width:768px){.dropdown-menu{min-width:160px!important;height:400px!important;overflow-y:scroll;overflow-x:hidden}.icon-box.simple,.icon-box-2,.icon-box{margin-bottom:20px!important}}@font-face{font-family:'password';font-style:normal;font-weight:400;src:url(../Content/assets/fonts/password.ttf)}input.key{font-family:'password';height:16px}#divLogin #problemMobilecode:hover{text-decoration:underline}.flex-container{display:flex;justify-content:center;flex-wrap:wrap;align-content:stretch}.p-a-3{padding:5rem!important}</style></head> <body> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-123768072-1"></script> <!-- site preloader start --> <div class="page-loader"></div> <!-- site preloader end --> <div id="m-container" class="pageWrapper"> <!-- Header start --> <div class="top-bar top-grey-bg"> <div class="container"> <ul class="top-info f-left"> <li style="font-size:13px;font-weight:600;"><i class="fa fa-envelope main-color"></i><b class="main-color"></b> <a href="/cdn-cgi/l/email-protection#03707673736c7177436660606c766d606a6f2d6c7164" class="clr-white"><span class="__cf_email__" data-cfemail="94e7e1e4e4fbe6e0d4f1f7f7fbe1faf7fdf8bafbe6f3">[email protected]</span> </a></li> <li style="font-size:13px;font-weight:600;"><i class="fa fa-phone main-color"></i><b class="main-color"></b><a href="tel:18445504357" class="clr-white"> +1 844 662 3509</a></li> </ul> <div class="f-right social-list"> <a href="/Account/Login"> <span class="lbl-txt main-color clr-white" style="font-size:13px;font-weight:600;"><b>Login</b></span> </a> <span class="lbl-txt"><b>|</b></span> <a href="/Account/Register"><span class="lbl-txt main-color clr-white" style="font-size:13px;font-weight:600;"><b>Register</b></span></a> </div> </div> </div> <header class="top-head minimal no-border bg-black"> <div class="container plr-15"> <!-- Logo start --> <div class="logo"> <a href="/Home" title="Home"> <img alt="" src="/Content/assets/images/aspen-logo-white.png" /> </a> </div> <!-- Logo end --> <!-- top navigation menu start --> <div class="responsive-nav"> <nav class="top-nav" id="divmenu"> <ul> <li id="hme"><a href="/Home"><span style="line-height: 79px;">Home</span></a></li> <li id="training" class="hasChildren"> <a><span style="line-height: 79px;">Training</span></a> <ul> <li><a href="https://iclass.eccouncil.org/" target="_blank">On-Demand</a></li> <li><a href="/Home/FindTraining" target="_blank">Live</a></li> <li><a href="https://eccu.edu" target="_blank">EC-Council University</a></li> </ul> </li> <li id="trngpartner" class="hasChildren"> <a><span style="line-height: 79px;">Training Partner</span></a> <ul> <li><a href="/BecomeAnATC"><span>Accredited Training Center</span></a></li> </ul> </li> <li id="instructr" class="hasChildren"> <a><span style="line-height: 79px;">Instructor</span></a> <ul> <li><a href="/BecomeACEI"><span>Certified EC-Council Instructor</span></a></li> </ul> </li> <li><a href="https://codered.eccouncil.org/?utm_source=aspen&utm_medium=header&utm_campaign=navigation" target="_blank"><span style="line-height:79px;">Codered</span></a></li> <li class="hasChildren" id="about"> <a><span>About</span></a> <ul> <li><a href="/Home/Announcements">Announcements</a></li> <li class="hasChildren"> <a href="#">EC-Council Events</a> <ul> <li><a href="http://www.hackerhalted.com/" target="_blank">Hackerhalted </a></li> <li><a href="http://www.takedowncon.com/" target="_blank">Takedowncon</a></li> <li><a href="https://www.cyberlympics.org/" target="_blank">Global Cyberlympics</a></li> <li><a href="https://ciso.eccouncil.org/ciso-events/" target="_blank">CISO SUMMIT</a></li> </ul> </li> <li><a href="https://blog.eccouncil.org/members-feedback/?utm_source=aspen&utm_medium=testimonials" target="_blank">Testimonials</a></li> <li><a href="/Home/Contributions">Contributions</a></li> <li><a href="/Home/Helpdesk">Self Help</a></li> <li><a href="https://www.eccouncil.org/submit-your-request" target="_blank">Raise聽Service聽Request</a></li> </ul> </li> </ul> </nav> </div> <!-- top navigation menu end --> </div> </header> <!-- Header start --> <!-- Content start --> <div id="content" class="pageContent"> <!-- Popup for Customer support start --> <div class="modal fade" id="customerSupportModalPopup" tabindex="-1" role="dialog" aria-labelledby="customerSupportModalPopupTitle"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content" style="overflow:visible"> <div class="modal-header main-bg"> <h4 class="modal-title" id="modalheader">Need Customer Support?</h4> </div> <div class="modal-body"> <p style="font-weight:600">Our dedicated support team is here to help you. Please provide your name and phone number below, and one of our agents will call you back as soon as possible.</p> <div class="mb-3" style="margin-top:5px;"> <label for="Name" class="form-label" style="font-weight:700">Your Name <span style="color:red;font-size:15px">*</span></label> <input class="form-control" id="txtName" placeholder="Enter your name" required> </div> <div class="mb-3" style=" display: flex; margin-top: 15px; flex-direction: column;"> <label for="phoneNumber" class="form-label" style="font-weight:700">Your Phone Number <span style="color:red">*</span></label> <input class="form-control" type="tel" id="txtphonenumber" name="txtphonenumber" placeholder="Enter your phone number" required> </div> <br /> <div id="responseMessage"></div> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button> <button type="button" id="btnRequestCall" class="btn btn-success">Request a call</button> </div> </div> </div> </div> <div class="sm-padding"> <div class="container"> <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src='https://www.google.com/recaptcha/api.js'></script> <div style="text-align: justify;" class="alert alert-warning"> <span style="align:center;font-size:large"> This service will be unavailable due to scheduled maintenance on the <b>4th Wednesday</b> of every month between <b>22hrs - 24hrs EST</b>. </span> </div> <div id="errormsgs" class="form-msg alert with-icon alert-warning"> <i class="fa fa-info-circle"></i><span id="text-login-msg">Type your username and password.</span> </div> <div id="divLogin"> <div class="flex-container"> <div> <div class="p-a-3 login-box main-border my-p-a-3" id="loginpagecontent"> <div class="modal-body p-a-0" id="login" style="width:300px;"> <h2 class="text-center ft-700">Login</h2> <hr class="colorgraph"> <div id="divErrors"> </div> <div class="input-fields layered-box mg-top30"> <label style="top:0px;">Username <span class="red"> *</span></label> <input class="text-control login-textbox test-1" id="txtUsername" name="txtUsername" type="text" value="" /> <span class="bar"></span> </div> <div class="input-fields layered-box"> <label style="top:-8px;">Password <span class="red"> *</span></label> <input class="text-control login-textbox key" id="txtPassword" name="txtPassword" type="password" value="" /> <span class="bar"></span> </div> <div class="modal-footer p-a-0"> <div> <input type="button" id="btnLogin" value="Login" class="btn btn-square btn-lg btn-block main-bg" /> </div> <div class="p-t-3"> <a href="/Account/Register" class="pull-left btn btn-link no-padding capitalize1"><i class="fa fa-user" style="margin-right:3px;"></i>Register</a> <a href="/Account/ForgotPassword" class="pull-right btn btn-link no-padding capitalize1"><i class="fa fa-key" style="margin-right:3px;"></i>Forgot Password?</a> </div> </div> <div class="clearfix"></div> </div> </div> </div> <div id="divimage"> <!--<a href="http://bit.ly/ASPENLOGIN" target="_blank"><img class="img-responsive" src="~/Content/Images/Banners/Login-Banner.jpg" alt="Login-Banner-Aspen" style="height: 460px;"></a>--> </div> </div> <div class="clearfix"></div> </div> <input id="ReturnUrl" name="ReturnUrl" type="hidden" value="" /> <input id="type" name="type" type="hidden" value="" /> </div> </div> <div class="clearfix"></div> </div> <input type="hidden" id="forgeryToken" value="eioB3q986e2Hn3Mds7BUG1k--mQ7AoXSVd3US5Bfi4Vh25_v4R-4qUBasAYVtZy6pBbp3g2,4mQEl1mW6tZMiGgnFUM-6hOTXoDGXWWeidhqDpxPg-wR-AqGXfaj3OMghAYZyzRwQNnjZw2" /> <input type="hidden" id="cptn" /> <!-- Content start --> <!-- Footer start --> <footer id="footer2"> <!-- footer bottom bar start --> <div class="footer-bottom"> <div class="container"> <div class="row"> <!-- footer copyrights left cell --> <div class="copyrights col-md-6">漏 Copyrights <b class="main-color">EC-COUNCIL</b> 2024. All rights reserved.<a href="/Terms"><span class="main-color">Terms Of Use</span></a> | <a href="/Privacy"><span class="main-color">Privacy Policy</span></a> | <a id="footerPrivacy" href="/Confidentiality-Terms"><span class="main-color">Confidentiality Terms</span></a></div> </div> </div> </div> <!-- footer bottom bar end --> </footer> <!-- Footer end --> </div> <!-- Back to top Link --> <a id="to-top" href="#"><span class="fa fa fa-angle-up"></span></a> <!-- Api call for request a call --> <!-- Include intl-tel-input JS --> <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@24.4.0/build/js/intlTelInput.min.js"></script> <!-- Load JS plugins <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script type="text/javascript" src="/Content/assets/js/assets.js"></script> --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script type="text/javascript" src="/Content/assets/js/customjquery.js"></script> <script type="text/javascript" src="/Content/assets/js/assets.js"></script> <!-- SLIDER REVOLUTION --> <script type="text/javascript" src="/Content/assets/revolution/js/jquery.themepunch.tools.min.js"> </script> <script type="text/javascript" src="/Content/assets/revolution/js/jquery.themepunch.revolution.min.js"></script> <!-- SLIDER REVOLUTION 5.0 EXTENSIONS (Load Extensions only on Local File Systems ! + The following part can be removed on Server for On Demand Loading) --> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.actions.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.carousel.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.kenburn.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.layeranimation.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.migration.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.navigation.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.parallax.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.slideanims.min.js"></script> <script type="text/javascript" src="/Content/assets/revolution/js/extensions/revolution.extension.video.min.js"></script> <!-- END SLIDER REVOLUTION 5.0 EXTENSIONS --> <!-- general script file --> <script type="text/javascript" src="/Content/assets/js/script.js"></script> <script type="text/javascript" src="/Content/assets/js/custom.js"></script> <script type="text/javascript" src="/Content/Js/jquery.pickmeup.min.js"></script> <script src="https://www.google.com/recaptcha/api.js?render=6Lf7IT4aAAAAAORKG7pSbWLc-cnC-ThFBZCxkZcN"></script> <script>function gtag(){dataLayer.push(arguments)}function isNumberKey(n){var t=n.which?n.which:event.keyCode;return t>31&&(t<48||t>57)?!1:!0}function parseURL(n){var t=document.createElement("a");return t.href=n,{source:n,protocol:t.protocol.replace(":",""),hostname:t.hostname,host:t.host,port:t.port,query:t.search,params:function(){for(var u={},i=t.search.replace(/^\?/,"").split("&"),f=i.length,n=0,r;n<f;n++)i[n]&&(r=i[n].split("="),u[r[0]]=r[1]);return u}(),file:(t.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:t.hash.replace("#",""),path:t.pathname.replace(/^([^\/])/,"/$1"),relative:(t.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:t.pathname.replace(/^\//,"").split("/")}}function redirectafterlogin(n){var i=parseURL(n),t=i.hostname.trim();window.location.href=t==""?n:t.toUpperCase()==location.hostname.trim().toUpperCase()?n:"/Home"}function loadcaptchav3(){grecaptcha.ready(function(){grecaptcha.execute("6Lf7IT4aAAAAAORKG7pSbWLc-cnC-ThFBZCxkZcN",{action:"submit"}).then(function(n){$("#cptn").val(n)})})}(function(n,t,i,r,u,f,e){n.performance&&n.performance.timing&&n.performance.navigation&&(n[r]=n[r]||function(){(n[r].q=n[r].q||[]).push(arguments)},f=t.createElement("script"),f.async=!0,f.setAttribute("src",i+u),t.getElementsByTagName("head")[0].appendChild(f),e=window.onerror,window.onerror=function(t,i,u,f,o){e&&e(t,i,u,f,o);o||(o=new Error(t));(n[r].q=n[r].q||[]).push(["captureException",o])})})(window,document,"//static.site24x7rum.com/beacon/site24x7rum-min.js?appKey=","s247r","879509dd69e5f1cd53bd37521f755b9d");document.addEventListener("DOMContentLoaded",function(){cookieconsent.run({notice_banner_type:"simple",consent_type:"express",palette:"light",language:"en",page_load_consent_levels:["strictly-necessary"],notice_banner_reject_button_hide:!0,preferences_center_close_button_hide:!1,website_name:"ASPEN"})});window.dataLayer=window.dataLayer||[];gtag("js",new Date);gtag("config","UA-123768072-1");$(document).ready(function(){$("#txtPassword").on("keypress",function(n){if(n.which==32)return!1});$("#btnLogin").click(function(){var i=!0,n='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>',r,u,t;$("#txtUsername").val().trim()==""?(i=!1,n=n+"<li>Enter Username.<\/li>",$("#txtUsername").css("border-color","red")):$("#txtUsername").css("border-color","");$("#txtPassword").val().trim()==""?(i=!1,n=n+"<li>Enter Password.<\/li>",$("#txtPassword").css("border-color","red")):$("#txtPassword").css("border-color","");r=$("#cptn").val();n=n+"<\/ul><\/div>";i==!0?(u=$("#forgeryToken").val(),t={},t.txtUsername=$("#txtUsername").val().trim(),t.txtPassword=$("#txtPassword").val().trim(),t.divcaptcha=r,$.ajax({type:"POST",url:"/Account/VerifyCredentials",data:JSON.stringify(t),contentType:"application/json;charset=utf-8",dataType:"json",headers:{VerificationToken:u},success:function(n){if(n.status=="OK")$("#ReturnUrl").val()==""?window.location.href="/MyCourses":redirectafterlogin($("#ReturnUrl").val());else if(n.status=="Mu")$("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html('<div class="form-msg alert with-icon alert-warning"><i class="fa fa-info-circle" ><\/i> <span id="text-login-msg">Choose authentication type.<\/span><\/div>'),$("#divLogin").html(""),$("#divLogin").html('<div class="col-sm-offset-3 col-sm-6 p-a-3 login-box main-border my-p-a-3" id="loginpagecontent"> <div id="ChooseAuthentication"> <b class="main-color">Send Verification Code To<\/b> <br /> <br /> <div> <input checked="checked" id="MobileCode" name="AuthenicationType" type="radio" value="MobileCode" /> <b>My mobile number<\/b> <br /> <input id="Email" name="AuthenicationType" type="radio" value="Email" /> <b>My registered email address<\/b> <br /> <input id="backup" name="AuthenicationType" type="radio" value="backup" /> <b>No. I want to use backup code<\/b> <\/div> <br /> <input type="button" class="btn btn-square main-bg" id="btnChooseAuthenticationType" value="Use this Method"> <\/div> <\/div>');else if(n.status=="Pa")$("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="managepassword"> <div class="heading main m-b-0"> <h4 class="uppercase"> <span class="main-color">Update<\/span> Password<span class="pull-right gd-clr"><\/span> <\/h4><b class="head-sep"><u><\/u><\/b> <\/div> <div class="form-msg alert alert-info with-icon"> <i class="fa fa-info"><\/i> Password length should be 8-20, should consist a lower case letter(a-z), an upper case letter(A-Z), a number(0-9) and a special character. <\/div> <div class="row"> <div class="col-md-12"> New Password<span style="color:red">*<\/span> <input autocomplete="false" class="form-control disable" id="NewPassword" name="NewPassword" style="width:35%" type="password" value="" /> <\/div> <\/div><br /> <div class="row"> <div class="col-md-12"> Confirm Password<span style="color:red">*<\/span> <input autocomplete="false" class="form-control disable" id="ConfirmPassword" name="ConfirmPassword" style="width:35%" type="password" value="" /> <\/div> <\/div> <div class="button-group m-t-2"> <input type="button" value="Update" id="fbtnupdate" class="btn btn-square main-bg"> <\/div><div id="updatepasswordvalidations" style="width:35%"><\/div> <\/div>');else if(n.status=="Pr")$("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="manageprofile" style="width:40%"> <div class="heading main m-b-0"> <h4 class="uppercase"> <span class="main-color">Update<\/span> Profile<span class="pull-right gd-clr"><\/span> <\/h4><b class="head-sep"><u><\/u><\/b> <\/div> <div class="row"> <div class="col-md-12"> <b>Username :<\/b> <label id="username" style="margin-left:4%"><\/label><\/div> <\/div> <div class="row"> <div class="col-md-12"> <b>Email:<\/b> <label id="Emailaddress" style="margin-left:10%"><\/label><\/div><\/div> <div class="row"> <div class="form-group col-md-12"> <label>Street<\/label> <input MaxLength="75" autocomplete="off" class="form-control" id="user_Street" name="user_Street" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>City<span style="color: red">*<\/span><\/label> <input MaxLength="75" autocomplete="off" class="form-control disable" id="user_City" name="user_City" onkeypress="return alpha(event)" type="text" value="" /> <span class="bar"><\/span> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>State <\/label> <input MaxLength="75" autocomplete="off" class="form-control" id="user_Region" name="user_Region" onkeypress="return Special(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Country<span style="color: red">*<\/span><\/label> <select id="drpcntrylst" name="drpcntrylst" class="form-control"> <option>-Select Country-<\/option> <\/select> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Postal Code <span style="color: red">*<\/span><\/label> <input MaxLength="6" autocomplete="off" class="form-control disable" id="user_Postalcode" name="user_Postalcode" onkeypress="return isNumberKey(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Mobile Number<\/label> <input MaxLength="15" autocomplete="off" class="form-control disable" id="user_Telephone" name="user_Telephone" onkeypress="return isNumberKey(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <div id="captcha" style="width:304px;height:78px;border:1px solid #fff"><\/div> <\/div> <\/div> <div class="clearfix"><\/div> <div class="button-group"> <input type="button" id="Btnupdateprofile1" class="btn btn-square main-bg" value="Update"> <\/div> <div id="updateprofilevalidations"><\/div><\/div>'),$("#username").text(n.uname),$("#Emailaddress").text(n.email),$("#drpcntrylst").empty(),$("#drpcntrylst").append("<option>-Select Country-<\/option>"),$.each(n.countries,function(n,t){$("#drpcntrylst").append('<option value="'+t.Value+'">'+t.Text+"<\/option>")});else if(n.status=="Op")$("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="gdprPolicy" class="p-a-3 login-box main-border"><h2>Login<\/h2> <hr class="colorgraph"><div> <div class="form-group"> <input id="chkterms" name="chkterms" type="checkbox" value="true" /><input name="chkterms" type="hidden" value="false" /> <span class="red">*<\/span> <b>I agree to <a href="/terms"><span class="main-color">Terms of Use<\/span><\/a> and <a href="/Privacy"><span class="main-color">Privacy Policy<\/span><\/a><\/b> <\/div> <\/div> <div class="button-group m-b-2"> <input type="button" id="btnproceed" class="btn btn-square main-bg" style="float:right;" value="Proceed" /> <\/div> <div class="clearfix"><\/div><\/div>'),");";else if(n.msg!=""){var t='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>';t=t+"<li>"+n.msg+"<\/li>";$("#errormsgs").html("");$("#errormsgs").removeAttr("class");$("#errormsgs").html(t)}},error:function(n){loadcaptchav3();var t='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>';$.each(n.responseJSON,function(n,i){$("#"+i.key).css("border-color","red");$.each(i.errors,function(n,i){t=t+"<li>"+i+"<\/li>"})});t=t+"<\/ul><\/div>";$("#errormsgs").html("");$("#errormsgs").removeAttr("class");$("#errormsgs").html(t)}})):($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html(n))});$("#divLogin").on("click","#btnChooseAuthenticationType",function(){if($("input[name=AuthenicationType]:checked").val()==""||$("input[name=AuthenicationType]:checked").val()==undefined)$("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html('<div class="alert alert-danger with-icon" style="padding-left:0px"><ul><li>Choose authentication type.<\/li><\/ul><\/div>');else{$("#type").val($("input[name=AuthenicationType]:checked").val());var n=$("#forgeryToken").val();$.ajax({type:"POST",url:"/Account/ChooseAuthenticationtype",data:'{type:"'+$("input[name=AuthenicationType]:checked").val()+'"}',contentType:"application/json;charset=utf-8",dataType:"json",headers:{VerificationToken:n},success:function(n){n.status=="OK"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div class="col-sm-offset-3 col-sm-6 p-a-3 login-box main-border my-p-a-3" id="loginpagecontent"> <div id="divmobilecode"> <div class="input-fields layered-box" style="margin-top: 30px;"> <span class="main-color" id="sptext"><span class="red">*<\/span><\/span> <input MaxLength="6" autocomplete="off" class="form-control" id="Login_code" name="Login_code" onkeypress="return isNumberKey(event)" type="text" value="" /> <span class="bar"><\/span> <\/div> <div> <input type="button" class="btn btn-square main-bg" value="submit" id="btnVerifyPhone"> <\/div> <br /><span class="main-color" id="problemMobilecode" style="cursor:pointer;">Problem receiving your code?<\/span> <br /> <div id="divmsg" style="display:none;margin-top:10px;" class="alert alert-danger with-icon"> <\/div> <\/div> <\/div> '),$("#type").val()=="MobileCode"?($("#sptext").html("Enter Verification Code(OTP) sent to your registered mobile number:"),$("#errormsgs").html('<div class="form-msg alert with-icon alert-warning"><i class="fa fa-info-circle" ><\/i> <span id="text-login-msg">Enter Verification Code.<\/span><\/div>')):$("#type").val()=="Email"?($("#sptext").html("Enter Verification Code(OTP) sent to your registered email address:"),$("#errormsgs").html('<div class="form-msg alert with-icon alert-warning"><i class="fa fa-info-circle" ><\/i> <span id="text-login-msg">Enter Verification Code.<\/span><\/div>')):($("#sptext").html("Enter Backup Verification Code(OTP)"),$("#errormsgs").html('<div class="form-msg alert with-icon alert-warning"><i class="fa fa-info-circle" ><\/i> <span id="text-login-msg">Enter Backup Code.<\/span><\/div>'))):n.msg!=""&&($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html('<div class="alert alert-danger with-icon" style=""><ul><li>'+n.msg+"<\/li><\/ul><\/div>"))}})}});$("#divLogin").on("click","#problemMobilecode",function(){$("#errormsgs").html("");$("#errormsgs").removeAttr("class");$("#errormsgs").html('<div class="form-msg alert with-icon alert-warning"><i class="fa fa-info-circle" ><\/i> <span id="text-login-msg">Choose authentication type.<\/span><\/div>');$("#divLogin").html("");$("#divLogin").html('<div class="col-sm-offset-3 col-sm-6 p-a-3 login-box main-border my-p-a-3" id="loginpagecontent"> <div id="ChooseAuthentication"> <b class="main-color">Send Verification Code To<\/b> <br /> <br /> <div> <input checked="checked" id="MobileCode" name="AuthenicationType" type="radio" value="MobileCode" /> <b>My mobile number<\/b> <br /> <input id="Email" name="AuthenicationType" type="radio" value="Email" /> <b>My registered email address<\/b> <br /> <input id="backup" name="AuthenicationType" type="radio" value="backup" /> <b>No. I want to use backup code<\/b> <\/div> <br /> <input type="button" class="btn btn-square main-bg" id="btnChooseAuthenticationType" value="Use this Method"> <\/div> <\/div>')});$("#divLogin").on("click","#btnVerifyPhone",function(){if($("#Login_code").val().trim()=="")$("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html('<div class="alert alert-danger with-icon" style="padding-left:0px"><ul><li>Enter '+($("#type").val()=="MobileCode"||$("#type").val()=="Email"?"Verification":"Backup")+" Code.<\/li><\/ul><\/div>"),$("#Login_code").css("border-color","red");else{$("#Login_code").css("border-color","");var n=$("#forgeryToken").val();$.ajax({type:"POST",url:"/Account/CodeVerification",data:'{code:"'+$("#Login_code").val().trim()+'",type:"'+$("#type").val()+'"}',contentType:"application/json;charset=utf-8",dataType:"json",headers:{VerificationToken:n},success:function(n){n.status=="OK"?$("#ReturnUrl").val()==""?window.location.href="/MyCourses":redirectafterlogin($("#ReturnUrl").val()):n.status=="Pa"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="managepassword"> <div class="heading main m-b-0"> <h4 class="uppercase"> <span class="main-color">Update<\/span> Password<span class="pull-right gd-clr"><\/span> <\/h4><b class="head-sep"><u><\/u><\/b> <\/div> <div class="form-msg alert alert-info with-icon"> <i class="fa fa-info"><\/i> Password length should be 8-20, should consist a lower case letter(a-z), an upper case letter(A-Z), a number(0-9) and a special character. <\/div> <div class="row"> <div class="col-md-12"> New Password<span style="color:red">*<\/span> <input autocomplete="false" class="form-control disable" id="NewPassword" name="NewPassword" style="width:35%" type="password" value="" /> <\/div> <\/div><br /> <div class="row"> <div class="col-md-12"> Confirm Password<span style="color:red">*<\/span> <input autocomplete="false" class="form-control disable" id="ConfirmPassword" name="ConfirmPassword" style="width:35%" type="password" value="" /> <\/div> <\/div> <div class="button-group m-t-2"> <input type="button" value="Update" id="fbtnupdate" class="btn btn-square main-bg"> <\/div><div id="updatepasswordvalidations" style="width:35%"><\/div> <\/div>')):n.status=="Pr"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="manageprofile" style="width:40%"> <div class="heading main m-b-0"> <h4 class="uppercase"> <span class="main-color">Update<\/span> Profile<span class="pull-right gd-clr"><\/span> <\/h4><b class="head-sep"><u><\/u><\/b> <\/div> <div class="row"> <div class="col-md-12"> <b>Username :<\/b> <label id="username" style="margin-left:4%"><\/label><\/div> <\/div> <div class="row"> <div class="col-md-12"> <b>Email:<\/b> <label id="Emailaddress" style="margin-left:10%"><\/label><\/div><\/div> <div class="row"> <div class="form-group col-md-12"> <label>Street<\/label> <input MaxLength="75" autocomplete="off" class="form-control" id="user_Street" name="user_Street" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>City<span style="color: red">*<\/span><\/label> <input MaxLength="75" autocomplete="off" class="form-control disable" id="user_City" name="user_City" onkeypress="return alpha(event)" type="text" value="" /> <span class="bar"><\/span> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>State <\/label> <input MaxLength="75" autocomplete="off" class="form-control" id="user_Region" name="user_Region" onkeypress="return Special(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Country<span style="color: red">*<\/span><\/label> <select id="drpcntrylst" name="drpcntrylst" class="form-control"> <option>-Select Country-<\/option> <\/select> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Postal Code <span style="color: red">*<\/span><\/label> <input MaxLength="6" autocomplete="off" class="form-control disable" id="user_Postalcode" name="user_Postalcode" onkeypress="return isNumberKey(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Mobile Number<\/label> <input MaxLength="15" autocomplete="off" class="form-control disable" id="user_Telephone" name="user_Telephone" onkeypress="return isNumberKey(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <div id="captcha" style="width:304px;height:78px;border:1px solid #fff"><\/div> <\/div> <\/div> <div class="clearfix"><\/div> <div class="button-group"> <input type="button" id="Btnupdateprofile1" class="btn btn-square main-bg" value="Update"> <\/div> <div id="updateprofilevalidations"><\/div><\/div>'),loadcaptchav3(),$("#username").text(n.uname),$("#Emailaddress").text(n.email),$("#drpcntrylst").empty(),$("#drpcntrylst").append("<option>-Select Country-<\/option>"),$.each(n.countries,function(n,t){$("#drpcntrylst").append('<option value="'+t.Value+'">'+t.Text+"<\/option>")})):n.status=="Op"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="gdprPolicy" class="p-a-3 login-box main-border"><h2>Login<\/h2> <hr class="colorgraph"><div> <div class="form-group"> <input id="chkterms" name="chkterms" type="checkbox" value="true" /><input name="chkterms" type="hidden" value="false" /> <span class="red">*<\/span> <b>I agree to <a href="/terms"><span class="main-color">Terms of Use<\/span><\/a> and <a href="/Privacy"><span class="main-color">Privacy Policy<\/span><\/a><\/b> <\/div> <\/div> <div class="button-group m-b-2"> <input type="button" id="btnproceed" class="btn btn-square main-bg" style="float:right;" value="Proceed" /> <\/div> <div class="clearfix"><\/div><\/div>'),");"):n.msg!=""&&($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html('<div class="alert alert-danger with-icon" style="padding-left:0px"><ul><li>'+n.msg+"<\/li><\/ul><\/div>"))}})}});$("#divLogin").on("click","#fbtnupdate",function(){var t=!0,n='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>',i;$("#NewPassword").val()==""?(t=!1,$("#NewPassword").css("border-color","red"),n=n+"<li>Enter new password.<\/li>"):$("#NewPassword").css("border-color","");$("#ConfirmPassword").val()==""?(t=!1,$("#ConfirmPassword").css("border-color","red"),n=n+"<li>Enter confirm password.<\/li>"):$("#ConfirmPassword").css("border-color","");$("#NewPassword").val()!=""&&$("#ConfirmPassword").val()!=""&&($("#NewPassword").val()!=$("#ConfirmPassword").val()?(t=!1,$("#NewPassword").css("border-color","red"),$("#ConfirmPassword").css("border-color","red"),n=n+"<li>Passwords do not match.<\/li>"):($("#NewPassword").css("border-color",""),$("#ConfirmPassword").css("border-color","")));n=n+"<\/div><\/ul>";t==!0?($("#updatepasswordvalidations").html(""),i=$("#forgeryToken").val(),$.ajax({type:"POST",url:"/Account/Updatepassword",data:'{password:"'+$("#NewPassword").val()+'",confirmpassword:"'+$("#ConfirmPassword").val()+'"}',contentType:"application/json;charset=utf-8",dataType:"json",headers:{VerificationToken:i},success:function(n){n.status=="OK"?$("#ReturnUrl").val()==""?window.location.href="/MyCourses":redirectafterlogin($("#ReturnUrl").val()):n.status=="Pr"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="manageprofile" style="width:40%"> <div class="heading main m-b-0"> <h4 class="uppercase"> <span class="main-color">Update<\/span> Profile<span class="pull-right gd-clr"><\/span> <\/h4><b class="head-sep"><u><\/u><\/b> <\/div> <div class="row"> <div class="col-md-12"> <b>Username :<\/b> <label id="username" style="margin-left:4%"><\/label><\/div> <\/div> <div class="row"> <div class="col-md-12"> <b>Email:<\/b> <label id="Emailaddress" style="margin-left:10%"><\/label><\/div><\/div> <div class="row"> <div class="form-group col-md-12"> <label>Street<\/label> <input MaxLength="75" autocomplete="off" class="form-control" id="user_Street" name="user_Street" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>City<span style="color: red">*<\/span><\/label> <input MaxLength="75" autocomplete="off" class="form-control disable" id="user_City" name="user_City" onkeypress="return alpha(event)" type="text" value="" /> <span class="bar"><\/span> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>State <\/label> <input MaxLength="75" autocomplete="off" class="form-control" id="user_Region" name="user_Region" onkeypress="return Special(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Country<span style="color: red">*<\/span><\/label> <select id="drpcntrylst" name="drpcntrylst" class="form-control"> <option>-Select Country-<\/option> <\/select> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Postal Code <span style="color: red">*<\/span><\/label> <input MaxLength="6" autocomplete="off" class="form-control disable" id="user_Postalcode" name="user_Postalcode" onkeypress="return isNumberKey(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <label>Mobile Number<\/label> <input MaxLength="15" autocomplete="off" class="form-control disable" id="user_Telephone" name="user_Telephone" onkeypress="return isNumberKey(event)" type="text" value="" /> <\/div> <\/div> <div class="row"> <div class="form-group col-md-12"> <div id="captcha" style="width:304px;height:78px;border:1px solid #fff"><\/div> <\/div> <\/div> <div class="clearfix"><\/div> <div class="button-group"> <input type="button" id="Btnupdateprofile1" class="btn btn-square main-bg" value="Update"> <\/div> <div id="updateprofilevalidations"><\/div><\/div>'),loadcaptchav3(),$("#username").text(n.uname),$("#Emailaddress").text(n.email),$("#drpcntrylst").empty(),$("#drpcntrylst").append("<option>-Select Country-<\/option>"),$.each(n.countries,function(n,t){$("#drpcntrylst").append('<option value="'+t.Value+'">'+t.Text+"<\/option>")})):n.status=="Op"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="gdprPolicy" class="p-a-3 login-box main-border"><h2>Login<\/h2> <hr class="colorgraph"><div> <div class="form-group"> <input id="chkterms" name="chkterms" type="checkbox" value="true" /><input name="chkterms" type="hidden" value="false" /> <span class="red">*<\/span> <b>I agree to <a href="/terms"><span class="main-color">Terms of Use<\/span><\/a> and <a href="/Privacy"><span class="main-color">Privacy Policy<\/span><\/a><\/b> <\/div> <\/div> <div class="button-group m-b-2"> <input type="button" id="btnproceed" class="btn btn-square main-bg" style="float:right;" value="Proceed" /> <\/div> <div class="clearfix"><\/div><\/div>'),");"):n.msg!=""&&$("#updatepasswordvalidations").html('<div class="alert alert-danger with-icon" style="padding-left:0px"><ul><li>'+n.msg+"<\/li><\/ul><\/div>")}})):($("#updatepasswordvalidations").html(""),$("#updatepasswordvalidations").html(n))});$("#divLogin").on("click","#Btnupdateprofile1",function(){var i=!0,n='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>',r,u,t;$("#user_City").val().trim()==""?(i=!1,n=n+"<li>Enter city.<\/li>",$("#user_City").css("border-color","red")):$("#user_City").css("border-color","");$("#drpcntrylst")[0].selectedIndex<=0?(i=!1,n=n+"<li>Select country.<\/li>",$("#drpcntrylst").css("border-color","red")):$("#drpcntrylst").css("border-color","");$("#user_Telephone").val().trim()==""?(i=!1,n=n+"<li>Enter mobile number.<\/li>",$("#user_Telephone").css("border-color","red")):$("#user_Telephone").css("border-color","");r=$("#cptn").val();n=n+"<\/ul><\/div>";i==!0?($("#updateprofilevalidations").html(""),u=$("#forgeryToken").val(),t={},t.user_Street=$("#user_Street").val().trim(),t.user_City=$("#user_City").val().trim(),t.user_Region=$("#user_Region").val().trim(),t.drpcntrylst=$("#drpcntrylst").val(),t.user_Postalcode=$("#user_Postalcode").val().trim(),t.user_Telephone=$("#user_Telephone").val().trim(),t.captcha=r,$.ajax({type:"POST",url:"/Account/Updateprofile",data:JSON.stringify(t),contentType:"application/json;charset=utf-8",dataType:"json",headers:{VerificationToken:u},success:function(n){n.status=="OK"?$("#ReturnUrl").val()==""?window.location.href="/MyCourses":redirectafterlogin($("#ReturnUrl").val()):n.status=="Op"?($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#divLogin").html(""),$("#divLogin").html('<div id="gdprPolicy" class="p-a-3 login-box main-border"><h2>Login<\/h2> <hr class="colorgraph"><div> <div class="form-group"> <input id="chkterms" name="chkterms" type="checkbox" value="true" /><input name="chkterms" type="hidden" value="false" /> <span class="red">*<\/span> <b>I agree to <a href="/terms"><span class="main-color">Terms of Use<\/span><\/a> and <a href="/Privacy"><span class="main-color">Privacy Policy<\/span><\/a><\/b> <\/div> <\/div> <div class="button-group m-b-2"> <input type="button" id="btnproceed" class="btn btn-square main-bg" style="float:right;" value="Proceed" /> <\/div> <div class="clearfix"><\/div><\/div>'),");"):n.msg!=""&&($("#updateprofilevalidations").html(""),$("#updateprofilevalidations").html('<div class="alert alert-danger with-icon" style="padding-left:0px"><ul><li>'+n.msg+"<\/li><\/ul><\/div>"))},error:function(n){loadcaptchav3();var t='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>';$.each(n.responseJSON,function(n,i){$("#"+i.key).css("border-color","red");$.each(i.errors,function(n,i){t=t+"<li>"+i+"<\/li>"})});t=t+"<\/ul><\/div>";$("#updateprofilevalidations").html("");$("#updateprofilevalidations").html(t)}})):($("#updateprofilevalidations").html(""),$("#updateprofilevalidations").html(n))});$("#divLogin").on("click","#btnproceed",function(){var t=!0,n='<div class="alert alert-danger with-icon" style="padding-left:0px"><ul>',i;$("#chkterms").is(":checked")==!1&&(t=!1,n=n+"<li>In order to use our services, you must agree to the Terms and Conditions.<\/li>");n=n+"<\/ul><\/div>";t==!0?(i=$("#forgeryToken").val(),$.ajax({type:"POST",url:"/Account/Acceptterms",data:'{privacy:"true",terms:"'+$("#chkterms").is(":checked")+'"}',contentType:"application/json;charset=utf-8",dataType:"json",headers:{VerificationToken:i},success:function(n){n.status=="OK"?$("#ReturnUrl").val()==""?window.location.href="/MyCourses":redirectafterlogin($("#ReturnUrl").val()):n.msg!=""&&($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html('<div class="alert alert-danger with-icon" style="padding-left:0px"><ul><li>'+n.msg+"<\/li><\/ul><\/div>"))}})):($("#errormsgs").html(""),$("#errormsgs").removeAttr("class"),$("#errormsgs").html(n))})});$(document).ready(function(){var t=document.querySelector("#txtphonenumber"),n=intlTelInput(t,{initialCountry:"auto",geoIpLookup:function(n){$.get("https://ipinfo.io",function(){},"jsonp").always(function(t){var i=t&&t.country?t.country:"US";n(i)})},utilsScript:"https://cdn.jsdelivr.net/npm/intl-tel-input@24.4.0/build/js/utils.js"});$("#customerSupportModalPopup").on("hidden.bs.modal",function(){$("#txtName").val("");$("#txtphonenumber").val("");$("#responseMessage").html("")});$("#btnRequestCall").click(function(){var r,u;if($("#responseMessage").html(""),$("#txtphonenumber").val()==""&&$("#txtName").val().trim()=="")return $("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i>Required Name and Phone Number.<\/div>'),!1;if($("#txtName").val().trim()=="")return $("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i>Required Name.<\/div>'),!1;if($("#txtphonenumber").val()=="")return $("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i>Required Phone Number.<\/div>'),!1;var t=n.getNumber(),f=n.getSelectedCountryData(),i=f.dialCode;if(i==null||i=="")return $("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i>Required Country Code.<\/div>'),!1;if(t=t.startsWith("+"+i)?t:"+"+i+t,!/^[A-Za-z\s]+$/.test($("#txtName").val()))return $("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i>Invalid Name (Only letters and spaces are allowed).<\/div>'),!1;if(!/^\+?\d{3,16}$/.test(t))return $("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i>Enter a valid phone number.<\/div>'),!1;r=$("#txtName").val();u={campaignName:"Progressive_918047761675",phoneNumber:t,Name:r,action:"START",checkDuplicate:"TRUE",userName:"e_commerce"};$.ajax({type:"POST",url:"https://in1-ccaas-api.ozonetel.com/ca_apis/AddCampaignData",headers:{apiKey:"KKf82076faf47855982b07ef946cb64289"},contentType:"application/json",dataType:"json",data:JSON.stringify(u),success:function(n){n.status=="Success"||n.status=="SUCCESS"?($("#responseMessage").html('<div class="alert alert-success" id="messageStatus"><i class="fa fa-check"><\/i>We will call you back at the number you provided.<\/div>'),$("#txtName").val(""),$("#txtphonenumber").val("")):$("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i> Error occured,Try again.<\/div>')},error:function(){$("#responseMessage").html('<div class="alert alert-danger"><i class="fa fa-exclamation-triangle"><\/i> Error occured,Try again.<\/div>')}})})});$(document).ajaxStart(function(){$("body").append('<div id="loader" style="height:100%;width:100%;top:0px;bottom:0px;left:0px;right:0px;position:fixed;background-color:rgba(0,0,0,0.3);z-index:75;"><div style="margin-left:45%;margin-top:18%;"><img src="../Content/Images/ajax-loader.gif" alt="Loading...." <="" div="" style="border-radius: 100%;"><\/div><\/div>')}).ajaxStop(function(){$("#loader").remove()}).ajaxError(function(){$("#loader").remove()});window.onerror=function(){$("#loader").remove()};$("input[type='text'],textarea").on("paste",function(n){if(n.target.id!="txtPassword"){var t=n.originalEvent.clipboardData.getData("Text"),i=t.replace(/[^a-z 0-9-_.,@$]/gi,"");return $(this).val(i),!1}});$("input[type='text'],textarea").keypress(function(n){if(n.target.id!="txtPassword"){var t=n.keyCode==0?n.charCode:n.keyCode;return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t==32||t==46||t==45||t==44||t==95||t==64||t==8}});$(".date").pickmeup({format:"m-d-Y"});$(".pickmeup").on("click",".pmu-days .pmu-button",function(){$(".pickmeup").hide()});$(function(){var n=$(".disable");n.bind("paste",function(){return!1});n.bind("drop",function(){return!1});n.bind("cut",function(){return!1});n.bind("copy",function(){return!1})});loadcaptchav3()</script></body> </html>