function OnError(n){loader.hideloader();console.log("Error!! "+n.statusText)}function setCookie(n,t,i){var r=new Date,u;r.setTime(r.getTime()+864e5*i);u="expires="+r.toUTCString();document.cookie=n+"="+t+"; "+u}function getCookie(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];" "==t.charAt(0);)t=t.substring(1);if(0==t.indexOf(r))return t.substring(r.length,t.length)}return""}var RegistrationJson={NewDataSet:{ControlList:[{MultiLingual:"",ParameterName:"",MLControlType:"",SCPControlType:"",HelpIcon:"False"},{MultiLingual:"ML_Register_Lbl_EmailId",ParameterName:"EmailID",MLControlType:"Email",SCPControlType:"1",HelpIcon:"False",Min_Length:"2",Max_Length:"100",Mandatory:"true",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie eine gültige ein Votre Email.",InvalidErrorMessageEN:"Please enter a valid Email Address.",InvalidErrorMessageES:"Por favor, introduzca una dirección válida ID de correo electrónico.",InvalidErrorMessageFR:"S'il vous plaît entrer un valide Votre Email.",InvalidErrorMessageRU:"Пожалуйста, введите правильный Votre Email."},{MultiLingual:"ML_Default_Txt_Login",ParameterName:"UserName",MLControlType:"UserID",SCPControlType:"1",HelpIcon:"True",Min_Length:"4",Max_Length:"40",Mandatory:"true",Use_Email_ID_as_User_ID:"false",Alphabet:"false",Number:"true",Type:"2",InvalidErrorMessageDE:"Der eingegebene Benutzername entspricht nicht den Mindestanforderungen. Bitte geben Sie einen gültigen Benutzername ein. Ihr Benutzername sollte aus 4 bis 40 <br/> bestehen  • Nummer und / oder <br/> • Alphabet und / oder <br/> • Sonderzeichen.",InvalidErrorMessageEN:"The entered Username does not meet the minimum requirements. Please enter a valid Username. Your Username should comprise of 4 to 40 <br/>  • Alphabetic characters  <br/> • Numeric characters  <br/> • Special characters @ _ - .<br/> • No spaces.",InvalidErrorMessageES:"El Nombre de usuario introducido no cumple los requisitos mínimos.  Introduzca un Nombre de usuario válido.  Su Nombre de usuario debe incluir 4 a 40 <br/>   • Número y / o <br/> • Alfabeto y / o <br/> • Caracteres especiales.",InvalidErrorMessageFR:"L'ID utilisateur saisi ne répond pas aux exigences minimales.  Veuillez entrer un ID utilisateur valide.  Votre ID utilisateur doit comprendre de 4 à 40 <br/>   • Nombre et / ou <br/> • Alphabet et / ou <br/> • Caractères spéciaux.",InvalidErrorMessageRU:"Введенное имя пользователя не соответствует минимальным требованиям. Пожалуйста, введите действительное имя пользователя. Ваше имя пользователя должно быть от 4 до 40 <br/>  • Число и / или <br/> • Алфавит и / или <br/> • Специальные символы.",HelpIconTextDE:"Der Benutzername sollte aus 4 bis 40 Zeichen bestehen und Folgendes umfassen: <br/>  • Nummer und / oder <br/> • Alphabet und / oder <br/> • Sonderzeichen.",HelpIconTextEN:"Username should be 4 to 40 characters long and comprise of:<br/> • Alphabetic characters  <br/> • Numeric characters  <br/> • Special characters @ _ - .<br/> • No spaces.",HelpIconTextES:"El Nombre de usuario debe tener caracteres 4 a 40 largos y constar de:<br/>  • Número y / o <br/> • Alfabeto y / o <br/> • Caracteres especiales.",HelpIconTextFR:"L'ID utilisateur doit comporter de longs caractères 4 à 40 et comprendre:<br/>  • Nombre et / ou <br/> • Alphabet et / ou <br/> • Caractères spéciaux.",HelpIconTextRU:"Имя пользователя должно состоять из символов от 4 до 40 и включать: <br/>  • Число и / или <br/> • Алфавит и / или <br/> • Специальные символы."},{MultiLingual:"ML_LOGIN_Lbl_Password",ParameterName:"Password",MLControlType:"Password",SCPControlType:"2",HelpIcon:"True",Security_Level:"2","6-15_Characters":"true",Alphabet:"true",Number:"true",Special_Character:"true",Uppercase:"true",Mandatory:"true",HelpIconTextDE:"Das Passwort sollte enthalten: <br/> & # 8226 8-15 Zeichen<br/>  & # 8226 Ein Großbuchstabe<br/>  & # 8226 Ein Kleinbuchstabe<br/>  & # 8226 Zahl<br/>  & # 8226 Sonderzeichen wie @ # $% *! _<br/>",HelpIconTextEN:"Password should comprise of:<br/> • 6-15 characters<br/> • At least one uppercase letter<br/> • At least one lowercase letter<br/> • At least one numeric character<br/> • At least one special character like @#$%*!_- and No spaces.<br/>",HelpIconTextES:"La contraseña debe incluir:<br/> & # 8226 8-15 caracteres<br/>  & # 8226 Una letra mayúscula<br/>  & # 8226 Una letra minúscula<br/>  & # 8226 Número<br/>  & # 8226 Carácter especial como @ # $% *! _<br/>",HelpIconTextFR:"Le mot de passe doit comprendre:<br/> & # 8226 8-15 character<br/>  & # 8226 Une lettre majuscule<br/>  & # 8226 Une lettre minuscule<br/>  & # 8226 Numéro<br/>  & # 8226 Caractère spécial comme @ # $% *! _.<br/>",HelpIconTextRU:"Пароль должен содержать: <br/> 8-15 символов<br/>  & # 8226 Прописная буква<br/>  & # 8226 Строчная буква<br/>  № 8226 номер<br/>  & # 8226 специальных символов, таких как @ # $% *! _<br/>"},{MultiLingual:"ML_CHANGEPWDPOPUP_CONFIRMPWD",ParameterName:"ConfirmPassword",MLControlType:"CPassword",SCPControlType:"1",HelpIcon:"False",Mandatory:"true","6-15_Characters":"true"},{MultiLingual:"ML_CustomerRegistration_Lbl_SecurityQues1",ParameterName:"SecurityQuestionId",MLControlType:"Question",SCPControlType:"14",HelpIcon:"False",Value:"8,4,3,6,",Min_Length:"",Max_Length:"",Security_Answer:"ML_CustomerRegistration_Lbl_SecurityAns1",AnsName:"HintAns",Mandatory:"true"},{MultiLingual:"ML_CustomerRegistration_Lbl_SecurityQues2",ParameterName:"SecurityQuestionId2",MLControlType:"Question",SCPControlType:"14",HelpIcon:"False",Value:"8,4,3,6,",Min_Length:"",Max_Length:"",Security_Answer:"ML_CustomerRegistration_Lbl_SecurityAns2",AnsName:"HintsAns2",Mandatory:"true"},{MultiLingual:"ML_MYACCOUNT_ContactNum_ContactType",ParameterName:"ContactType",MLControlType:"PhoneType",SCPControlType:"16",HelpIcon:"False",Mandatory:"false"},{MultiLingual:"ML_Registration_FID",ParameterName:"SSNNumber",MLControlType:"FID",SCPControlType:"1",HelpIcon:"True",Min_Length:"",Max_Length:"",Type:"-1",Mandatory:"false",Validation_Against_CIS:"false"},{MultiLingual:"ML_Msg_StreetAddress",ParameterName:"StreetNumber",MLControlType:"StreetNo",SCPControlType:"1",HelpIcon:"False",Min_Length:"",Max_Length:"",Mandatory:"false",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie eine gültige ein Adresse de rue.",InvalidErrorMessageEN:"Please enter a valid Street Address.",InvalidErrorMessageES:"Por favor, introduzca una dirección válida Dirección.",InvalidErrorMessageFR:"S'il vous plaît entrer un valide Adresse de rue.",InvalidErrorMessageRU:"Пожалуйста, введите правильный Adresse de rue."},{MultiLingual:"ML_CustomerRegistration_txt_DrivingLicense",ParameterName:"DrivingLicence",MLControlType:"DL",SCPControlType:"1",HelpIcon:"False",Min_Length:"",Max_Length:"",Type:"-1",Mandatory:"false",Validation_Against_CIS:"false"},{MultiLingual:"ML_MYACCOUNT_Lbl_CustomerAccount",ParameterName:"CustomerNo",MLControlType:"CustomerNo",SCPControlType:"1",HelpIcon:"True",Min_Length:"6",Max_Length:"9",Type:"0",Mandatory:"true",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie eine gültige 6 bis 9 Ziffer ein Compte Client Nombre.",InvalidErrorMessageEN:"Please enter a valid 6 to 9 digit Customer Number.",InvalidErrorMessageES:"Escriba una 6 válido 9 dígitos Código de cuenta de cliente .",InvalidErrorMessageFR:"Veuillez entrer un 6 valide au chiffre 9 Compte Client Nombre.",InvalidErrorMessageRU:"Пожалуйста, введите действительную цифру от 6 до 9 Compte Client Nombre."},{MultiLingual:"ML_ErrMsg_MeterNumber",ParameterName:"MeterNumber",MLControlType:"MeterNumber",SCPControlType:"1",HelpIcon:"False",Min_Length:"",Max_Length:"",Type:"-1",Mandatory:"false",Validation_Against_CIS:"false"},{MultiLingual:"",ParameterName:"EnableRe-Captcha",MLControlType:"",SCPControlType:"11",HelpIcon:"False"},{MultiLingual:"",ParameterName:"",MLControlType:"",SCPControlType:"",HelpIcon:"False",Validity:"1"},{MultiLingual:"",ParameterName:"",MLControlType:"",SCPControlType:"",HelpIcon:"False",Validity:"-1"},{MultiLingual:"ML_ Video_Tutorial",ParameterName:"",MLControlType:"",SCPControlType:"12",HelpIcon:"False",Video_Type:"0",Choose:"Simply_Engergy_Registration_30042020.mp4",URL_Link:""},{MultiLingual:"ML_Bill_Sample",ParameterName:"",MLControlType:"",SCPControlType:"12",HelpIcon:"False",Choose:"Bill_20200423120500.png",URL_Link:""},{MultiLingual:"ML_Registration_NotificationPreference",ParameterName:"NotificationPreference",MLControlType:"",SCPControlType:"13",HelpIcon:"False"},{MultiLingual:"ML_Registration_PaperlessBill",ParameterName:"PaperlessBill",MLControlType:"",SCPControlType:"13",HelpIcon:"True"},{MultiLingual:"ML_CONNECTME_Lbl_Terms",ParameterName:"",MLControlType:"",SCPControlType:"13",HelpIcon:"False",Value:"\r\n<p>By registering here and creating your profile, you can access different services that are offered by us without having to register for each service separately. If a service you wish to subscribe to has additional terms and conditions, you will be asked to accept these separately. Also, you agree that:<\/p>\r\n<p>1. You will keep your username and password safe, and won't share them with anyone.&nbsp;\r\n<\/p>\r\n<p>2. You will not pass yourself off as someone else or create multiple, false accounts.\r\n<\/p>\r\n",Mandatory:"true"},{MultiLingual:"ML_Login_Lbl_Faq",ParameterName:"",MLControlType:"",SCPControlType:"15",HelpIcon:"False",URL_Link:"http://d.smartusys.net/scp6.6.3/FAQ/Faq.html"},{MultiLingual:"ML_SrvcRqust_txtbx_ZipCode1",ParameterName:"PostalCode",MLControlType:"ZipCode",SCPControlType:"1",HelpIcon:"False",Min_Length:"4",Max_Length:"4",Type:"0",Mandatory:"true",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie ein gültiges X bis Y ein Ziffer Code Postale.",InvalidErrorMessageEN:"Please enter a valid 4 digit Postcode.",InvalidErrorMessageES:"Introduzca una X a Y válida dígito Código postal.",InvalidErrorMessageFR:"Veuillez entrer un X à Y valide chiffre Code Postale.",InvalidErrorMessageRU:"Пожалуйста, введите правильный X к Y цифра Code Postale."},{MultiLingual:"ML_SrvcRqust_lbl_DOB",ParameterName:"DateOfBirth",MLControlType:"DateOfBirth",SCPControlType:"1",HelpIcon:"True",Min_Length:"10",Max_Length:"10",Type:"0",Mandatory:"true",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie eine gültige 10-Ziffer ein Date de naissance.",InvalidErrorMessageEN:"Please enter a valid 10 digit Date of Birth.",InvalidErrorMessageES:"Introduce un válido 10 dígitos Fecha de nacimiento.",InvalidErrorMessageFR:"Veuillez entrer un valide 10 chiffres [NOMCONTRÔLE].",InvalidErrorMessageRU:"Пожалуйста, введите действительную 10-цифру Date de naissance."},{MultiLingual:"ML_OTP_ABN",ParameterName:"ABN",MLControlType:"ABN",SCPControlType:"1",HelpIcon:"False",Min_Length:"11",Max_Length:"11",Type:"0",Mandatory:"true",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie eine gültige 11-Ziffer ein ABN.",InvalidErrorMessageEN:"Please enter a valid 11 digit ABN.",InvalidErrorMessageES:"Introduce un válido 11 dígitos ABN.",InvalidErrorMessageFR:"Veuillez entrer un valide 11 chiffres [NOMCONTRÔLE].",InvalidErrorMessageRU:"Пожалуйста, введите действительную 11-цифру ABN."},{MultiLingual:"ML_OTP_txt_AcctNo",ParameterName:"UtilityAccountNumber",MLControlType:"Account",SCPControlType:"1",HelpIcon:"True",Min_Length:"",Max_Length:"",Type:"-1",Mandatory:"false",Validation_Against_CIS:"false"},{MultiLingual:"ML_SrvcRqust_lbl_SSN",ParameterName:"SSNNumber",MLControlType:"SSN",SCPControlType:"1",HelpIcon:"True",Min_Length:"",Max_Length:"",Type:"-1",Mandatory:"false",Validation_Against_CIS:"false"},{MultiLingual:"ML_CONNECTME_Lbl_FName",ParameterName:"FirstName",MLControlType:"Account",SCPControlType:"1",HelpIcon:"False",Min_Length:"2",Max_Length:"300",Type:"1",Mandatory:"false",Validation_Against_CIS:"true",InvalidErrorMessageDE:"Bitte geben Sie eine gültige 2 bis 300 Ziffer ein Prénom.",InvalidErrorMessageEN:"Please enter a valid 2 to 300 digit First Name.",InvalidErrorMessageES:"Escriba una 2 válido 300 dígitos Primer Nombre.",InvalidErrorMessageFR:"Veuillez entrer un 2 valide au chiffre 300 Prénom.",InvalidErrorMessageRU:"Пожалуйста, введите действительную цифру от 2 до 300 Prénom."},{MultiLingual:"ML_Register_Lbl_LastName",ParameterName:"LastName",MLControlType:"Account",SCPControlType:"1",HelpIcon:"False",Min_Length:"2",Max_Length:"40",Type:"1",Mandatory:"false",Validation_Against_CIS:"true",InvalidErrorMessageDE:"Bitte geben Sie eine gültige 2 bis 40 Ziffer ein Nom de famille.",InvalidErrorMessageEN:"Please enter a valid 2 to 40 digit Last Name.",InvalidErrorMessageES:"Escriba una 2 válido 40 dígitos Apellido.",InvalidErrorMessageFR:"Veuillez entrer un 2 valide au chiffre 40 Nom de famille.",InvalidErrorMessageRU:"Пожалуйста, введите действительную цифру от 2 до 40 Nom de famille."},{MultiLingual:"ML_SrvcRqust_txtbx_Contact",ParameterName:"MobileNumber",MLControlType:"Phone",SCPControlType:"1",HelpIcon:"False",Min_Length:"10",Max_Length:"10",Mandatory:"true",Validation_Against_CIS:"false",InvalidErrorMessageDE:"Bitte geben Sie eine gültige 10-Ziffer ein Numéro de contact principal.",InvalidErrorMessageEN:"Please enter a valid 10 digit Phone Number.",InvalidErrorMessageES:"Introduce un válido 10 dígitos Numero de contacto principal.",InvalidErrorMessageFR:"Veuillez entrer un valide 10 chiffres [NOMCONTRÔLE].",InvalidErrorMessageRU:"Пожалуйста, введите действительную 10-цифру Numéro de contact principal."}]}};$(document).ready(function(){function n(n){return $("#"+n).find("dt a span.value").html()}function t(){return encodeURIComponent($(".preData a>span i").html())}$(".dropdown img.flag").addClass("flagvisibility");$(".dropdown dt a").on("click",function(){$(".dropdown dd ul").toggle()});$(".dropdown dd ul li a").on("click",function(){var u={language:$($(this).children(":last")[0]).html()},f=$("#hdnBaseUrl").val()+"/default.aspx/UpdateLanguageCode",r,i;$.ajax({method:"POST",url:f,data:JSON.stringify(u),dataType:"json",contentType:"application/json; charset=utf-8",async:!1,success:function(n){null!=n&&JSON.parse(n.d).length},error:function(n){console.log(n)}});r=$(this).html();$(".dropdown dt a span").html(r);$(".dropdown dd ul").hide();i=$("#hdnLanguageCookie").val();""!=(i=n("sample"))&&null!=i&&(setCookie("Language_code",i,7),setCookie("Language_Name",t("sample"),7));window.location=window.location.href.replace("#","")});$(document).on("click",function(n){$(n.target).parents().hasClass("dropdown")||$(".dropdown dd ul").hide();$(".wrapper_dd > dl > dd").removeAttr("tabindex")});$(".dropdown img.flag").toggleClass("flagvisibility")}),function(n){function t(){function r(){t.attr("type","password");i.remove();t.on("focus",u)}function u(){}var f=n(this).val(),e=n(this).closest("div").css("background-color"),t=n(this).attr("autocomplete","off").val(""),i;if(typeof this.selectionStart=="undefined")return!0;t.attr("type","text");i=t.clone();i.removeAttr("placeholder").removeAttr("id").attr("type","password").hide();i.removeAttr("mandatory");t.before(i);t.on("focus",r)}n.fn.extend({disableAutocomplete:function(){var n=/text|password/i;return this.each(function(){n.test(this.type)&&t.call(this)})}})}(jQuery)