function rotateRight(e,t){return t>>>e|t<<32-e}function choice(e,t,i){return e&t^~e&i}function majority(e,t,i){return e&t^e&i^t&i}function sha256_Sigma0(e){return rotateRight(2,e)^rotateRight(13,e)^rotateRight(22,e)}function sha256_Sigma1(e){return rotateRight(6,e)^rotateRight(11,e)^rotateRight(25,e)}function sha256_sigma0(e){return rotateRight(7,e)^rotateRight(18,e)^e>>>3}function sha256_sigma1(e){return rotateRight(17,e)^rotateRight(19,e)^e>>>10}function sha256_expand(e,t){return e[15&t]+=sha256_sigma1(e[t+14&15])+e[t+9&15]+sha256_sigma0(e[t+1&15])}var ihash,count,buffer,K256=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),sha256_hex_digits="0123456789abcdef";function safe_add(e,t){var i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}function sha256_init(){ihash=new Array(8),count=new Array(2),buffer=new Array(64),count[0]=count[1]=0,ihash[0]=1779033703,ihash[1]=3144134277,ihash[2]=1013904242,ihash[3]=2773480762,ihash[4]=1359893119,ihash[5]=2600822924,ihash[6]=528734635,ihash[7]=1541459225}function sha256_transform(){for(var e,t,i=new Array(16),s=ihash[0],a=ihash[1],r=ihash[2],o=ihash[3],l=ihash[4],n=ihash[5],c=ihash[6],_=ihash[7],p=0;p<16;p++)i[p]=buffer[3+(p<<2)]|buffer[2+(p<<2)]<<8|buffer[1+(p<<2)]<<16|buffer[p<<2]<<24;for(var u=0;u<64;u++)e=_+sha256_Sigma1(l)+choice(l,n,c)+K256[u],e+=u<16?i[u]:sha256_expand(i,u),t=sha256_Sigma0(s)+majority(s,a,r),_=c,c=n,n=l,l=safe_add(o,e),o=r,r=a,a=s,s=safe_add(e,t);ihash[0]+=s,ihash[1]+=a,ihash[2]+=r,ihash[3]+=o,ihash[4]+=l,ihash[5]+=n,ihash[6]+=c,ihash[7]+=_}function sha256_update(e,t){var i,s=0,a=count[0]>>3&63,r=63&t;for((count[0]+=t<<3)>29,i=0;i+63>3&63;if(buffer[e++]=128,e<=56)for(var t=e;t<56;t++)buffer[t]=0;else{for(t=e;t<64;t++)buffer[t]=0;sha256_transform();for(t=0;t<56;t++)buffer[t]=0}buffer[56]=count[1]>>>24&255,buffer[57]=count[1]>>>16&255,buffer[58]=count[1]>>>8&255,buffer[59]=255&count[1],buffer[60]=count[0]>>>24&255,buffer[61]=count[0]>>>16&255,buffer[62]=count[0]>>>8&255,buffer[63]=255&count[0],sha256_transform()}function sha256_encode_bytes(){for(var e=0,t=new Array(32),i=0;i<8;i++)t[e++]=ihash[i]>>>24&255,t[e++]=ihash[i]>>>16&255,t[e++]=ihash[i]>>>8&255,t[e++]=255&ihash[i];return t}function sha256_encode_hex(){for(var e=new String,t=0;t<8;t++)for(var i=28;0<=i;i-=4)e+=sha256_hex_digits.charAt(ihash[t]>>>i&15);return e}function sha256_digest(e){return sha256_init(),sha256_update(e,e.length),sha256_final(),sha256_encode_hex()}function sha256_self_test(){return"f7846f55cf23e14eebeab5b4e1550cad5b509e3348fbc4efa3a1413d393cb650"==sha256_digest("message digest")}encodeHTML=function(e){var t,i={"¢":"cent","£":"pound","¥":"yen","€":"euro","©":"copy","®":"reg","<":"lt",">":"gt",'"':"quot","'":"#39","&":"amp","/":"#x2F"},s="[";for(t in i)s+=t;s+="]";var a=new RegExp(s,"g");return e.replace(a,function(e){return"&"+i[e]+";"})};var loc=location;window.customAddEventListener=window.attachEvent||window.addEventListener,window.customAddEventListener("message",function(e){void 0!==e.data.callback&&"function"==typeof EtB2b.login.postMessageCallbacks[e.data.callback]&&EtB2b.login.postMessageCallbacks[e.data.callback].apply(null,Array.prototype.slice.call(e.data.params instanceof Array?e.data.params:[]))},!1),localStorage.setItem("yoloFlag",0);try{getUserLocation()}catch(error){var getUserLocation=function(){return""}}function is_valid_email(e){return!!new RegExp(/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()\.,;\s@\"]+\.{0,1})+[^<>()\.,;:\s@\"]{2,})$/).test(e)}"undefined"==typeof b2b_analtics&&(window.skip_analytics_page_view=1,loadScript(JS_PATH_V1+"/app.analytics.js?mod="+file_version,function(){},!1));var validate_name=function(e){var t="";return""==(e=e.replace(/ /g,""))?t=EtB2b.errorLog[54]:e.match(/^([a-zA-Z]+)$/i)||(t=EtB2b.errorLog[55]),t},validate_email=function(e){var t="";return""==e?t=EtB2b.errorLog[56]:is_valid_email(e)||(t=EtB2b.errorLog[4]),t},validate_password=function(e){var t="";return""==(e=e.replace(/ /g,""))?t=EtB2b.errorLog[50]:e.length<5?t=EtB2b.errorLog[51]:16'+EtB2b.errorLog[8]+"","","","",3,"",!0);$("#_l2_txt_cnt_"+i).html(''+EtB2b.errorLog[71]+"
"+EtB2b.errorLog[72]+"
")}else{if("undefined"!=typeof demosite&&1==demosite){i=EtB2b.layer._custom_poplayer2(EtB2b.errorLog[73],"","","",3,"",!0);return void $("#_l2_txt_cnt_"+i).html("")}_profile_email=responseData.email,customPopUpMessage='Thank you for subscribing. '+textSeprator;i=EtB2b.layer._custom_poplayer2(customPopUpMessage,"","","",3,"",!0);$.each(responseData.newsletterDetails,function(e,t){isNaN(t.responseId)&&"E"==t.responseId?("Y"==t.isEmailVerified?0==emailVerifiedCounter&&(subscriptionMessage+=' In case you do not receive our newsletters, please reach us on '+CONTACTUS_EMAILS[ET_PORTAL]+". Do not forget to check your SPAM folder."+textSeprator,emailVerifiedCounter++):"N"==t.isEmailVerified&&0==emailNotVerifiedCounter&&(subscriptionMessage+='We have sent you an email with verification link. Please click on it to verify your email.'+textSeprator,emailNotVerifiedCounter++),"N"==t.isProfileCompleted&&0==profileCompletedCounter&&(subscriptionMessage+='We would like to know you a little more to serve you better:

Your detail will be safe with us. You will only receive the emails that you permitted upon subscription.You can unsubscribe at anytime.

',profileCompletedCounter++)):"Y"==t.isEmailVerified?0==emailVerifiedCounter&&(subscriptionMessage+='In case you do not receive our newsletters, please reach us on '+CONTACTUS_EMAILS[ET_PORTAL]+". Do not forget to check your SPAM folder.",emailVerifiedCounter++):"N"==t.isEmailVerified&&0==emailNotVerifiedCounter&&(subscriptionMessage+='We have sent you an email with verification link. Please click on it to verify your email.'+textSeprator,emailNotVerifiedCounter++)}),$("#_l2_txt_cnt_"+i).parent().addClass("multiSubscriptionDetails-popup"),$("#_l2_txt_cnt_"+i).html(subscriptionMessage);e="direct",e=void 0===$_GET.utm_source||null===$_GET.utm_source?"direct_"+ec_detail_file:$_GET.utm_source+"_"+ec_detail_file;b2b_analtics.send_event("Newsletter",["Signup","Position_top",e])}$("#save_techgig_updates_subsription_btn, #subscriber_btn_top").attr("disabled",!1),c.val(""),$("#saveSubscribeToMultipleNewsletters").attr("disabled",!1),t&&forward_blk&&(window.location=$.trim($_GET.source))},hitApi:function(){this.setParams,EtB2b.utils.hitAjaxRequest({url:m,method:"post",data:this.setParams,done:this.done})},init:function(){this.hitApi()}}.init(),!1},updateUserSubscriptionDetails:function(t){deleteLocalStorage("userData");var e=$.trim($("#user_work_exp").val()),i=$.trim($("#current_company").val()),s=$.trim($(".autocomplete-master-id").val()),a=$.trim($("#user_designation").val()),r=$.trim($("#layer_full_name").val());i.replace(/ /g,""),a.replace(/ /g,""),r.replace(/ /g,""),e.replace(/ /g,""),s.replace(/ /g,"");var o=EtB2b.globals._profile_email,l=base_url+"/general_ajax_task.php?action=update_user_etretail_subsription_data";return r&&$("#layer_full_name_err").html("").hide(),i&&$("#current_company_err").html("").hide(),a&&$("#user_designation_err").html("").hide(),e&&$("#user_work_exp_err").html("").hide(),r||($("#layer_full_name").parent().addClass("error"),$("#layer_full_name_err").html(EtB2b.errorLog[9]).show()),i||($("#current_company").parent().addClass("error"),$("#current_company_err").html(EtB2b.errorLog[10]).show()),a||($("#user_designation").parent().addClass("error"),$("#user_designation_err").html(EtB2b.errorLog[11]).show()),e||($("#user_work_exp").parent().addClass("error"),$("#user_work_exp_err").html(EtB2b.errorLog[12]).show()),r?i?a?e?($("#updateUserSubscriptionDetails_btn").attr("disabled",!0),void{setParams:{email:o,user_work_exp:e,current_company:i,master_company_id:s,user_designation:a,layer_full_name:r},done:function(e){if(e=(e=$.trim(e)).split("#|#"),"Y"==fromMail_redirect_flag)return $("#_l2_ttl_"+t).html(EtB2b.errorLog[13]),$("#_l2_txt_cnt_"+t).hide(),window.location=$.trim($_GET.source),!1;$(".subscriptionDetails-popup").addClass("cnfmtion-popup"),0'+EtB2b.errorLog[15]+' '+CONTACTUS_EMAILS[ET_PORTAL]+"
")):EtB2b.layer._remove_custom_poplayer2(t),EtB2b.login.check_login_status()),$("#updateUserSubscriptionDetails_btn").attr("disabled",!1)},hitApi:function(){this.setParams,EtB2b.utils.hitAjaxRequest({url:l,method:"post",data:this.setParams,done:this.done})},init:function(){this.hitApi()}}.init()):($("#user_work_exp").focus(),!1):($("#user_designation").focus(),!1):($("#current_company").focus(),!1):($("#layer_full_name").focus(),!1)},check_subscription_status_from_email:function(e,t){if(e=$.trim(e),"verify_registration"==(a=$.trim($_GET.action))){var i=$.trim($_GET.id),s=$.trim($_GET.source);$.ajax({type:"POST",dataType:"json",url:base_url+"/ajax_files/etb2b_registration.php",data:{email:e,id:i,source:s,action:a},success:function(e){t&&t(e,a)}})}else{if(!e||!t)return{};"undefined"!=typeof _loggedin_user?t&&t(_loggedin_user,a):(data=getLocalStorage("subscribedData"))?t&&t(data,a):$.ajax({type:"POST",dataType:"json",url:base_url+"/general_ajax_task.php?action=check_subscription_status_from_email",data:{email:EtB2b.comJs.ck_en(e),pAction:a},success:function(e){setLocalStorage("subscribedData",e,5/1440),t&&t(e,a)}})}},show_subscription_layer:function(e){set_pop_cookie="Y";var t=_profile_email,i=$.trim($_GET.show_pop),s=$.trim($_GET.source);"Y"==i&&s&&(forward_blk='

Go to news »

');var a,i="",s=$(".logos").html();i=null!=s&&""!=s?(r="Supported by:",'
'+(r="brandequity"==ET_PORTAL?"Associate Partner:":r)+"
"+s+"
"):"",is_pip&&(SUBSCRIPTION_TAGLINES[ET_PORTAL]=pip.subscriptionTagline),"undefined"!=typeof newsletterList&&0!=Object.keys(newsletterList).length&&$.each(newsletterList,function(e,t){a=t.id});var r="",s="",s="undefined"!=typeof allowMultipleNewsletterSubscription&&1==allowMultipleNewsletterSubscription?(fieldPostfix="pop",EtB2b.subscription.getMultiSubscribeNewsletterContent(t,r,fieldPostfix,e)):'
   '+r+'

';"undefined"!=typeof is_subscription_page&&"Y"==is_subscription_page||(r='');r=SUBSCRIPTION_TAGLINES[ET_PORTAL]||"";$("#_l2_txt_cnt_"+e).html('"+two_col_rt+i),"undefined"!=typeof auto_subscribe_submit&&1==auto_subscribe_submit&&$("#save_techgig_updates_subsription_btn").trigger("click"),""!=i&&"brandequity"==ET_PORTAL&&$("#_l2_txt_cnt_1 .spnsrs a").removeAttr("href")},setup_profile_complete_box:function(e,t){var i=$.trim($_GET.source),s=!1;if(i&&(s=is_valid_url(i)),e.email&&t){var a="",r="";if("resubscribe"==t)r="Y"==e.unsubscribed?EtB2b.errorLog[35]:EtB2b.errorLog[36];else if("unsubscribe"==t)r="Y"==e.unsubscribed?EtB2b.errorLog[37]:EtB2b.errorLog[38];else if("verify_email"==t&&"Y"!=e.field_completed)r="Thanks for activating your "+SITE_NAME_TITLE+" subscription. We would like to know you a little more:",b2b_analtics.send_event("Signup",["Signup","Manual_Signup","Email"]);else if("profile_completion"==t&&"Y"!=e.field_completed){var o=getLocalStorage("skipprofilecompletion");if(o&&1==o.value)return s&&(window.location=i),!1;r=s?EtB2b.errorLog[33]:EtB2b.errorLog[21]}else{if("verify_email"!=t||"Y"!=e.field_completed)return s?window.location=i:EtB2b.subscription.check_sub_popup_show(),!1;r="Thanks for activating your "+SITE_NAMES[ET_PORTAL]+" Newsletter subscription",a=''+EtB2b.errorLog[34]+' '+CONTACTUS_EMAILS[ET_PORTAL]+""}var l,n=EtB2b.layer._custom_poplayer2(r,"","","",3,"",!0);a?$("#_l2_txt_cnt_"+n).html(a):$("#_l2_txt_cnt_"+n).html(""),"profile_completion"==t&&(!(l=getLocalStorage("skipprofilecompletion"))||null==l.value||0==l.value?setLocalStorage("skipprofilecompletion",{value:!0,count:1},1):1==l.value&&(3<=l.count?setLocalStorage("skipprofilecompletion",{value:!0,count:4},7):setLocalStorage("skipprofilecompletion",{value:!0,count:parseInt(l.count)+1},1))),"resubscribe"==t?"Y"==e.unsubscribed?$("#_l2_txt_cnt_"+n).html('\x3c!--To enable, please enter your email Id and click confirm.--\x3e'):($("#_l2_txt_cnt_"+n).html("").hide(),setTimeout(function(){EtB2b.layer._remove_custom_poplayer2(n)},3e3)):"unsubscribe"==t?"Y"==e.unsubscribed?($("#_l2_txt_cnt_"+n).html("").hide(),setTimeout(function(){EtB2b.layer._remove_custom_poplayer2(n)},3e3)):$("#_l2_txt_cnt_"+n).html('\x3c!--To unsubscribe, please enter your email Id and click submit.--\x3e'):"Y"!=e.field_completed&&(o="",i&&(o=''),l="","verify_email"!=t&&(l='"),l='
'+l+'

Your detail will be safe with us. You will only receive the emails that you permitted upon subscription.You can unsubscribe at anytime.

',$("#_l2_txt_cnt_"+n).append(l),o&&$("#red_to_news").show(),$("#user_work_exp").val($.trim(void 0!==e.location&&""!=e.location?e.location:getUserLocation())),$("#current_company").val($.trim(void 0!==e.company?e.company:e.current_company)),$("#user_designation").val($.trim(e.designation)),$("#master_company_id").val($.trim(e.master_company_id)),o=$.trim($.trim(e.first_name)+" "+$.trim(e.last_name)),$("#layer_full_name").val(o),o?$.trim(e.current_company)?$.trim(e.designation)?$.trim(e.work_exp_yr)||$("#user_work_exp").focus():$("#user_designation").focus():$("#current_company").focus():$("#layer_full_name").focus(),$(document).on("keyup",".popup-autocomplete",function(){$(this).val();try{"1"==isExecuteTagService&&(isExecuteTagService="0",(null==aliasTags||aliasTags.length<1)&&($(this).siblings().append('
'),aliasTags=$.ajax({async:!1,url:base_url+"/webservices/tags",type:"get",dataType:"JSON"}).responseJSON),$(".popup-autocomplete").autoCompleteMasterAlias({data:aliasTags,selectFn:autocompleteSelect,inputChangeFn:resetAutocompleteSelectedData,waitTime:1e3,selectorName:"popup-autocomplete",suggestionViewMaxCount:10,minInputChars:2,maxInputChars:200}),$(".pre-fetch-loader").remove())}catch(e){console.log(e.description)}}))}else if("verify_registration"==t)r=EtB2b.errorLog[39]+SITE_NAMES[ET_PORTAL],a&&$("#_l2_txt_cnt_"+n).html(a),1==e.status?"free_trial_registration"==e.source?window.location=base_url+"/autolytics?ft=1":(n=EtB2b.layer._custom_poplayer2(r,"","","",3,"",!0),jQuery(document).ready(function(){setTimeout(function(){login_popup_display_type=2,fromMail_redirect_flag="N",EtB2b.layer._remove_custom_poplayer2(n),EtB2b.layer._custom_poplayer2("","",show_login_layer,"",1)},2e3)}),e.email_id?$("#log_email").val(e.email_id):$("#log_email").val("")):2==e.status?(n=EtB2b.layer._custom_poplayer2(r,"","","",3,"",!0),jQuery(document).ready(function(){setTimeout(function(){if(EtB2b.layer._remove_custom_poplayer2(n),check_login_status(),"free_trial_registration"==e.source)window.location=base_url+"/autolytics?ft=1";else if(s)return window.location=i,!1},2e3)})):3==e.status?(r=EtB2b.errorLog[40],n=EtB2b.layer._custom_poplayer2("","","","alC",1,"N"),$("#_l2_txt_cnt_"+n).html("

"+r+'

Upgrade Now')):(r="Invalid details",n=EtB2b.layer._custom_poplayer2("","","","alC",1,"N"),$("#_l2_txt_cnt_"+n).html("

"+r+'

Please click here to register'));else{if(s)return window.location=i,!1;EtB2b.subscription.check_sub_popup_show()}},check_sub_popup_show:function(){if(isGDPRNation())return!1;g=setTimeout(function(){!function(){var e=EtB2b.comJs.ck_de(getCookie(ET_PORTAL+"_pop_user_sub")),t=getCookie(ET_PORTAL+"_pop_user_sub_close");if(!e&&!t&&!EtB2b.globals.login_required&&!(EtB2b.globals._is_loggedin>0))setTimeout(function(){EtB2b.layer._custom_poplayer2("","",EtB2b.subscription.show_subscription_layer,"sticky-rgt-btm",3);$(".sticky-rgt-btm").removeClass("sub-popup3")},1e4)}()},5e3)},subscribeToMultipleNewsletters:function(e,t){null==e&&(e=""),null==t&&(t=1),g&&clearTimeout(g);var i=$.trim($("#subscriber_email_"+e).val()),s=$("#subscriber_name"+e).val(),a=$("#subscriber_company"+e).val(),r=$("#subscriber_designation"+e).val(),o=$("#subscriber_mobile"+e).val(),l=$("#subscriber_email_"+e),n=($("#subscriber_name"+e),$("#subscriber_company"+e),$("#subscriber_designation"+e),$("#subscriber_mobile"+e),$("#consentPopup_"+e).is(":checked")),c=$("#newsletter_id_"+e).val(),_=$("#subscription_error_message_"+e),p=$("#subcribe_consentPopup_"+e),u="",d=getCookie(ET_PORTAL+"_subscription_source");d&&(u=d),sub_source&&(u=sub_source);var m=$.trim($("#subscription_source"+e).val());if(m&&(u=m),i.replace(/ /g,""),"Your email"==i||0==i.length)return _.html("Please provide your email id."),_.show(),l.val(""),l.focus(),!1;if(100'+EtB2b.errorLog[8]+"","","","",3,"",!0);$("#_l2_txt_cnt_"+i).html(''+EtB2b.errorLog[71]+"
"+EtB2b.errorLog[72]+"
")}else{if("undefined"!=typeof demosite&&1==demosite){i=EtB2b.layer._custom_poplayer2(EtB2b.errorLog[73],"","","",3,"",!0);return void $("#_l2_txt_cnt_"+i).html("")}_profile_email=responseData.email,customPopUpMessage='Thank you for subscribing. '+textSeprator;i=EtB2b.layer._custom_poplayer2(customPopUpMessage,"","","",3,"",!0);$.each(responseData.newsletterDetails,function(e,t){isNaN(t.responseId)&&"E"==t.responseId?("Y"==t.isEmailVerified?0==emailVerifiedCounter&&(subscriptionMessage+=' In case you do not receive our newsletters, please reach us on '+CONTACTUS_EMAILS[ET_PORTAL]+". Do not forget to check your SPAM folder."+textSeprator,emailVerifiedCounter++):"N"==t.isEmailVerified&&0==emailNotVerifiedCounter&&(subscriptionMessage+='We have sent you an email with verification link. Please click on it to verify your email.'+textSeprator,emailNotVerifiedCounter++),"N"==t.isProfileCompleted&&0==profileCompletedCounter&&(subscriptionMessage+='We would like to know you a little more to serve you better:

Your detail will be safe with us. You will only receive the emails that you permitted upon subscription.You can unsubscribe at anytime.

',profileCompletedCounter++)):"Y"==t.isEmailVerified?0==emailVerifiedCounter&&(subscriptionMessage+='In case you do not receive our newsletters, please reach us on '+CONTACTUS_EMAILS[ET_PORTAL]+". Do not forget to check your SPAM folder.",emailVerifiedCounter++):"N"==t.isEmailVerified&&0==emailNotVerifiedCounter&&(subscriptionMessage+='We have sent you an email with verification link. Please click on it to verify your email.'+textSeprator,emailNotVerifiedCounter++)}),$("#_l2_txt_cnt_"+i).parent().addClass("multiSubscriptionDetails-popup"),$("#_l2_txt_cnt_"+i).html(subscriptionMessage);e="direct",e=void 0===$_GET.utm_source||null===$_GET.utm_source?"direct_"+ec_detail_file:$_GET.utm_source+"_"+ec_detail_file;b2b_analtics.send_event("Newsletter",["Signup","Position_top",e])}$("#save_techgig_updates_subsription_btn, #subscriber_btn_top").attr("disabled",!1),l.val(""),$("#saveSubscribeToMultipleNewsletters").attr("disabled",!1),_.html('Thank you for subscribing.'),$(_).delay(3200).fadeOut(300),t&&forward_blk&&(window.location=$.trim($_GET.source))}}),!1},getMultiSubscribeNewsletterContent:function(e,t,s,i){null==e&&(e=""),null==t&&(t=""),"undefined"!=typeof fieldPostFix&&null!==fieldPostFix||(fieldPostFix="");var a="";a+='
',a+='
',a+='   ',a+=''+t,a+='

';t="";return"undefined"!=typeof newsletterList&&1==Object.keys(newsletterList).length&&(t='style="display:none;"'),a+='
    ","undefined"!=typeof newsletterList&&0!=Object.keys(newsletterList).length&&$.each(newsletterList,function(e,t){var i="";("Daily ET Newsletter"==t.newsletterName||1==is_pip&&pip.newsletterId==t.id)&&(i="checked"),a+="
  • ",a+="",a+="
  • "}),a+="
",a+="
",a+="
",a+='
'}}}(),EtB2b.login=function(){var i={screen1:{}};i.screen1.html=['
By continuing, I agree to the '+EtB2b.errorLog[28]+' and Privacy Policy.

'+EtB2b.errorLog[22]+"

"+EtB2b.errorLog[23]+"

"],i.screen1.links=['"],i.screen2={},i.screen2.html=['

LOGIN

'+EtB2b.errorLog[27]+' '+EtB2b.errorLog[28]+' and Privacy Policy.

'],i.screen2.links=['"],i.screen3={},i.screen3.html=['

SIGNUP

'+EtB2b.errorLog[30]+' '+EtB2b.errorLog[31]+'.

'+EtB2b.errorLog[22]+"

"+EtB2b.errorLog[23]+"

"],i.screen3.links=['"];function e(e){EtB2b.layer._remove_custom_poplayer2(1);var t=EtB2b.layer._custom_poplayer2("","",""," V2 blockingmodal multiple_login_alert",1,"N","","","N");html='
'+e+' is already signed in.

Your subscription terms do not permit you to share your username or password with anyone. If you require multiple user access to ETAutolytics, please contact us to buy additional subscriptions for each user.

Tip: If you continue to receive this message and you\'re sure no one else is signed in with your username, please remember to click Sign out at the top of the page before

  • Signing in to ETAutolytics from another computer
  • Signing in to ETAutolytics from another browser
  • Clearing browser cookies

This will ensure that your session is properly closed.

Close window If you are still unable to signin . Please click here

X',$("#_l2_txt_cnt_"+t).html(html)}function n(e,t){setLocalStorage("userReg",!1,1);var i="direct",i=void 0===$_GET.utm_source||null===$_GET.utm_source?"direct_"+ec_detail_file:$_GET.utm_source+"_"+ec_detail_file;void 0!==t&&t&&("linkedin"==e?b2b_analtics.send_event("Signup",["Signup","Linkedin_Signup",i]):"google"==e?b2b_analtics.send_event("Signup",["Signup","Google_Signup",i]):"facebook"==e&&b2b_analtics.send_event("Signup",["Signup","Facebook_Signup",i])),"linkedin"==e?b2b_analtics.send_event("Signin",["Signin","Linkedin_Signin",i]):"google"==e?b2b_analtics.send_event("Signin",["Signin","Google_Signin",i]):"facebook"==e?b2b_analtics.send_event("Signin",["Signin","Facebook_Signin",i]):b2b_analtics.send_event("Signin",["Signin","Manual_Signin",i]),EtB2b.layer._remove_custom_poplayer2(1),p()}function t(e,t){var i="";"email"==t?$("#log_main_err").html(e):(i="onclick=\"EtB2b.layer._remove_custom_poplayer2(1);login_popup_display_type=2;EtB2b.layer._custom_poplayer2('','',EtB2b.login.show_login_layer, '_lgn_pop', 1); \"",EtB2b.layer._remove_custom_poplayer2(1),t=EtB2b.layer._custom_poplayer2("","","","alC",1,"Y"),$("#_l2_txt_cnt_"+t).html("

"+e+"

"+(i?"Please click here to retry.':"")))}function s(e,t){void 0!==t&&"upvote"==t||void 0!==t&&"follow"==t?void 0!==e&&"1"==e?($(".fb_auto_upvote_shr").attr("checked",!0),$(".fb_auto_upvote_shr").attr("onclick",""),$(".fb_auto_upvote_shr").attr("toggle_shr('upvote')","")):$(".fb_auto_upvote_shr").attr("checked",!1):void 0!==t&&"answer"==t?void 0!==e&&"1"==e?($(".fb_auto_upvote_shr").attr("checked",!0),$(".fb_auto_upvote_shr").attr("onclick",""),$(".fb_auto_upvote_shr").attr("toggle_shr('upvote')",""),t=base_url+"/ajax_files/etb2b_registration.php",$.ajax({url:t,type:"POST",xhrFields:{withCredentials:!0},data:{action:"chg_forum_shr_setting",type:"answer",status:1,mode:"fb"},success:function(e){res=JSON.parse(e)}})):$(".fb_auto_upvote_shr").attr("checked",!1):void 0!==e&&"1"==e&&($(".fb_auto_shr").attr("disabled",!1),$(".fb_auto_shr").attr("checked",!0))}function o(e){$(".model-container").addClass("_lgn_pop");var t="";t=(t=(t=getCookie("ppuserinfo"))&&(t=t.split(":"))[1])||"",2==login_popup_display_type?$("#_l2_txt_cnt_"+e).html('

LOGIN

').parent().removeClass("v2"):$("#_l2_txt_cnt_"+e).html('").parent().addClass("V2"),function(t){if($("body").on("click",".signup",function(){$(".leftSection, .rightSection, #forgot_psswrd").hide();$("#signup-form").show();$("#registration_location").val(getUserLocation())}),$("body").on("click","#signup-form .cancel",function(){$(".leftSection, .rightSection").show();$("#signup-form").hide()}),$("body").on("change","#log_email",function(){if($("#log_email").val().length>0)$("#log_submit").removeClass("disabled")}),$("body").on("click","#forgot_pswd_link",function(){$("#login-form").hide();$("#forgot_psswrd").show()}),$("body").on("click","#login_back_link",function(){$("#forgot_psswrd").hide();$("#login-form").show()}),$("body").on("keypress","#log_pswd",function(e){if(e.which==13){e.preventDefault();d(t)}}),$("body").on("keypress","#registration_password",function(e){if(e.which==13){e.preventDefault();b(t)}}),$("body").on("keypress","#frgt_pswd_email",function(e){if(e.which==13){e.preventDefault();u()}}),$(".popup5 #log_email").val().length>0)$("#log_submit").removeClass("disabled")}(e)}function p(){if(1<=$("body").find(".multiple_login_alert").length)return!1;if($("#tb_lgn_bx").show(),isGDPRNation())return _(!1),!1;var e,t="",i="";e="undefined"!=typeof forum_page_log_pop&&1==forum_page_log_pop?(t="undefined"!=typeof sso_login_channel&&""!=sso_login_channel?sso_login_channel:"",i="chk_forum_login_status",base_url+"/"+forum_url+"/ajx_req/sso_registration"):(i="chk_login_status",base_url+"/ajax_files/etb2b_registration.php"+(void 0!==window.force_fetch_user_details?"?force_fetch_user_details="+window.force_fetch_user_details:""));var s=getLocalStorage("userData"),a=getLocalStorage("userReg");function r(e){var t,i;e&&(res=JSON.parse(e),window._loggedin_user=EtB2b.globals._loggedin_user=res,$.isEmptyObject(res)?_(!1):"loggedin"==res.type?(EtB2b.globals.pEmail=pEmail=EtB2b.globals._profile_email=res.email,c(),window.b2buser=res,i=t="",t=res.pic?'':'',"jobs"==hdr_menu_type?(i='
  • My Applications
  • ',i+='
  • My Posted Jobs
  • '):"forum"==hdr_menu_type&&"null"!=res.url&&null!=res.url&&""!=res.url?i='
  • My Activity
  • ':"myprofile"==hdr_menu_type&&"auto"==ET_PORTAL?(i='
  • Ask Activity
  • ',i+='
  • My Job Apps
  • ',i+='
  • My Posted Jobs
  • '):"auto"==ET_PORTAL&&"null"!=res.url&&null!=res.url&&""!=res.url&&(i='
  • My Activity
  • '),$("#logged_username").html(t+'Hi, '+$.trim(res.first_name+" "+res.last_name)+'').show(),initUnveilImg(),setLocalStorage("userData",e,5/1440)):"registered_user"==res.type&&EtB2b.globals.login_required?(_(!0),res.email?(null==res.email&&(res.email=""),$("body").find("#log_email").val(res.email)):$("body").find("#log_email").val("")):"subscriber"==res.type&&EtB2b.globals.login_required?(_(!0),$("body").find("#registration_email").val(res.email),$("body").find("#registration_name").val(res.name),$("body").find("#main_err").html("Please register with us")):"sso"==res.type&&EtB2b.globals.login_required?(_(!0),$("body").find("#registration_email").val(res.email),$("body").find("#registration_name").val(res.name),$("body").find("#main_err").html("Please register with us"),l("screen3")):res.forum&&res.forum.type&&"forum_loggedin"==res.forum.type&&"undefined"!=typeof sso_login_channel&&""!=sso_login_channel?(""!=sso_login_channel?(c(),i=t="",t=res.pic?'':'',e=$(loc).attr("href"),$("#logged_username").html(t+'Hi, '+$.trim(res.forum.first_name+" "+res.forum.last_name)+'').show(),""==res.forum.email&&m()):(c(),i=t="",t=res.pic?'':'',"jobs"==hdr_menu_type?(i='
  • My Applications
  • ',i+='
  • My Posted Jobs
  • '):"forum"==hdr_menu_type&&"null"!=res.url&&null!=res.url&&""!=res.url?i='
  • My Activity
  • ':"myprofile"==hdr_menu_type&&"auto"==ET_PORTAL?(i='
  • Ask Activity
  • ',i+='
  • My Job Apps
  • ',i+='
  • My Posted Jobs
  • '):"auto"==ET_PORTAL&&"null"!=res.url&&null!=res.url&&""!=res.url&&(i='
  • My Activity
  • '),$("#logged_username").html(t+'Hi, '+$.trim(res.first_name+" "+res.last_name)+'').show()),initUnveilImg()):_(!1)),deleteLocalStorage("userReg")}null!=s&&""!=s&&0!=a?r(s):""==s&&0!=a?(r(s),EtB2b.globals.login_required?_(!0):_(!1)):$.ajax({url:e,type:"POST",xhrFields:{withCredentials:!0},data:{action:i,login:EtB2b.globals.login_required,chk_sub_status:chk_sub_status,sso_login:t},success:function(e){setLocalStorage("userData",e,5/1440),EtB2b.globals._loggedin_user_user_script_executed=1,e?(r(e),(e="string"==typeof e?JSON.parse(e):e)&&void 0!==e.email&&b2b_analtics.set_user(e.email,!0)):EtB2b.globals.login_required?_(!0):_(!1)}})}function a(e){var t;acToken=g(e,"access_token"),tokenType=g(e,"token_type"),expiresIn=g(e,"expires_in"),t=acToken,$.ajax({url:"https://www.googleapis.com/oauth2/v1/tokeninfo?access_token="+t,data:null,success:function(e){$.ajax({url:"https://www.googleapis.com/oauth2/v1/userinfo?access_token="+t,data:null,success:function(e){user=e;var t=user.id,i=user.given_name,s=user.family_name,a=user.email,r=user.link,o=user.picture,l=user.gender,e=base_url+"/ajax_files/etb2b_registration.php";$.ajax({url:e,type:"POST",xhrFields:{withCredentials:!0},data:{reg_type:"google",id:t,first_name:i,last_name:s,email:a,link:r,pic:o,gender:l},success:function(e){n("google"==e?"google":"old")}})},dataType:"jsonp"})},dataType:"jsonp"})}function r(e){setLocalStorage("skipprofilecompletion",{},1),EtB2b.globals.social_login=1,window.opener=null,window.open(base_url+"/ajax_files/etb2b_social_registration.php?connect_type="+e,"windowname1","width=800, height=600")}var l=function(e){$(".model-wrapper").find(".popup-screens").html(i[e].html[0]),$(".model-wrapper").find(".links_outside").html(i[e].links[0])},c=function(){var e;-(EtB2b.globals._is_loggedin=1)!==navigator.userAgent.indexOf("MSIE")||0Thank you for stopping by!
    Select one of the login options below to continue your journey on ET Auto Ask!
    ',forum_footer,"")):EtB2b.globals._gbl_notlogincb_fn||("undefined"!=typeof Promise&&navigator.userAgent.toLowerCase().match("crios")||navigator.userAgent.toLowerCase().match("chrome"))&&function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=resourceURLMap.js.onetap;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}(),$("#logged_username").hide(),$("#top-login-btn").show(),EtB2b.globals._gbl_notlogincb_fn&&EtB2b.globals._gbl_notlogincb_fn(),$(document).trigger($.Event("_gbl_notlogincb_fn_event"))},u=function(){$("#main_err_frgt_pwd").html(""),$("#frgt_email_err").html("");var e=$("#frgt_pswd_email").val();if(error_val=validate_email(e),error_val)return $("#frgt_email_err").html(error_val),!(error=!0);var t=base_url+"/ajax_files/etb2b_registration.php";$.ajax({url:t,type:"POST",xhrFields:{withCredentials:!0},data:{action:"forgot_password",email:e},success:function(e){$("#main_err_frgt_pwd").html(e)}})},d=function(e){setLocalStorage("skipprofilecompletion",{},1),setLocalStorage("userReg",!1,1),EtB2b.globals.social_login=1,$(".popup-screens .error").removeClass("error"),$(".popup-screens [id$=_err]").html("");var t=$("#log_email").val(),i=$("#log_pswd").val(),s=$("#remember_me").is(":checked");if(error_val=validate_email(t),error_val)return $("#log_email_err").html(error_val),$("#log_email_err").addClass("error"),$("#log_email").addClass("error"),!(error=!0);if(""==i)return $("#log_pswd_err").html(EtB2b.errorLog[50]),$("#log_pswd").addClass("error"),$("#log_pswd_err").addClass("error"),$("#log_pswd").addClass("error"),!1;var a=sha256_digest(i),r=base_url+"/ajax_files/etb2b_social_registration.php";$.ajax({url:r,type:"POST",xhrFields:{withCredentials:!0},data:{type:"email",connect_type:"email",email:t,password:a,remember_me:s,pwd:i},success:function(e){$("body").append('
    '+e+"
    ")}})},m=function(){EtB2b.layer._remove_custom_poplayer2(1);var e=EtB2b.layer._custom_poplayer2("","","","alC",1,"Y","","","N");$("#_l2_txt_cnt_"+e).html('Please add your email id to continue')},b=function(t){$(".clm1 .error,.popup-screens .error").removeClass("error"),$(".clm1 [id$=_err],.popup-screens [id$=_err]").html("");var e=$("#registration_name").val(),i=$("#registration_email").val(),s=$("#registration_password").val(),a=$("#company_name").val(),r=$("#mobile_num").val(),o=$("#registration_location").val(),l=$("#designation_name").val();if(requiredFields(),valError)return!1;var n=sha256_digest(s),c=base_url+"/ajax_files/etb2b_registration.php",_=window.location.href;$.ajax({url:c,type:"POST",xhrFields:{withCredentials:!0},data:{name:e,email:i,password:n,pwd:s,company:a,designation:l,mobile:r,location:o,source:_},success:function(e){setLocalStorage("userReg",!1,1),res=JSON.parse(e),res.main_msg?$("#main_err").html(res.main_msg):(EtB2b.layer._remove_custom_poplayer2(t),e="direct",e=void 0===$_GET.utm_source||null===$_GET.utm_source?"direct_"+ec_detail_file:$_GET.utm_source+"_"+ec_detail_file,b2b_analtics.send_event("Signup",["Signup","Email_Signup",e]),p())}})};function g(e,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");e=new RegExp("[\\#&]"+t+"=([^&#]*)").exec(e);return null==e?"":e[1]}var f={};executeOnReady(function(){f.multiple_logins_alert=e,f.handle_login_error=t,f.handle_fb_loggedin=s,f.handle_login_result=n,f.handle_googlelogin_accesstokenurl=a,$(".social_placeholder_container.hide").removeClass("hide")}),executeOnReady(function(){$(".user-area").on("click","#_tb_login_btn",function(e){e.stopPropagation(),"desktop"!=deviceType&&closeNav(),login_popup_display_type=2,"block"!=$(".sticky-rgt-btm").css("display")&&"none"!=$(".sticky-rgt-btm").css("display")||($(".sticky-rgt-btm").remove(),$(".sticky-rgt-btm").parent().remove()),EtB2b.layer._custom_poplayer2("","",o,"",1),$("#my_web_push_app_box_confirm").hide(),localStorage.setItem("yoloFlag",1)}),$("#fr_pass_sign_in").click(function(){login_popup_display_type=2,EtB2b.layer._custom_poplayer2("","",o,"",1)}),$(document).on("click","._lgn_pop .close, .popup5 .close, .model-container .close",function(){$(this).parent("._lgn_pop").length?EtB2b.globals.closelog=1:EtB2b.layer._remove_custom_poplayer2(EtB2b.layer.l2_id);EtB2b.globals._loggedin_user.type;localStorage.setItem("yoloFlag",0),$(this).parent().parent().remove(),$(".model-bg").remove()}),$checkLoginCustomFunction=function(){p()},$checkLoginCustomFunction()});return{init:function(){},user_registeration:b,login_user:d,login_with_facebook:function(){r("facebook")},login_with_linkedin:function(){r("linkedin")},login_with_twitter:function(){var e=base_url+"/etb2b_twitter_login.php";window.open(e,"windowname1","width=500, height=500")},login_with_google:function(){r("google")},forgot_password:u,validateforgotpswdform:function(){var e="",t=!1,i=$_GET.email,s=$_GET.forgot_password_id;if(""==i||""==s)return $("#mail_msg").html("Please use emailed link to reset your password"),!(t=!0);$("#new_pswd_err").html(""),$("#re_new_pswd_err").html("");var a=$("#new_pswd").val().replace(/ /g,""),r=$("#re_new_pswd").val().replace(/ /g,"");return(e=validate_password(a))?($("#new_pswd_err").html(e),!(t=!0)):(e=validate_password(r))?($("#re_new_pswd_err").html(e),!(t=!0)):a!=r?($("#re_new_pswd_err").html(EtB2b.errorLog[57]),!(t=!0)):void(t||(t=base_url+"/ajax_files/etb2b_registration.php",a=sha256_digest(a),$.ajax({url:t,type:"POST",xhrFields:{withCredentials:!0},data:{action:"reset_password",email:i,password:a,forgot_pswd_id:s},success:function(e){$("#mail_msg").html(e),login_popup_display_type=2,_gbl_logincb_fn=redirect_to_hp,$("#reset-password-sign-in").css("display","block"),$("#reset-password-form").css("display","none"),setTimeout(function(){var e,t;void 0!==$_GET.source&&(e=$_GET.source,(t=document.createElement("a")).href=e,t.host)?window.location.assign($_GET.source):(EtB2b.layer._remove_custom_poplayer2(EtB2b.layer.l2_id),EtB2b.layer._custom_poplayer2("","",o,"_lgn_pop",1))},1e3)}})))},show_login_layer:o,check_login_status:p,validate_password:validate_password,postMessageCallbacks:f,switch_screen:l,handle_login_result:n,handle_login_error:t}}(),EtB2b.layer=function(){var d;return{l2_id:"",hide_layer_id:function(e){var t=$.trim($_GET.source);"Y"==fromMail_redirect_flag&&t&&(window.location=t),$("#"+e).hide()},_custom_poplayer2:function(e,t,i,s,a,r,o,l,n){$(".l2_outer_bx.sticky-rgt-btm").remove(),r="undefined"!=typeof demosite&&1==demosite?"Y":r,"undefined"!=typeof show_subscription_layer_timeout&&clearTimeout(show_subscription_layer_timeout),o=o||!1,e=e||"",a=a||2,l=l||"",EtB2b.layer.l2_id=d=parseInt($(".model-box").length)+1;var c,_,p="_l2_id_"+d,u=" ";s&&(u+=s),two_col_rt&&!o&&(u+="large"),_=1==a?(c='',"N"!=r&&"N"!=gbl_lyr_close||(c=""),_="",_='"):2==a?(c='',"N"!=r&&"N"!=gbl_lyr_close||(c=""),'"):3==a?(c='',"N"!=r&&"N"!=gbl_lyr_close||(c=""),''):(style="z-index:9999",c='',''),$("body").append(_),$("#"+p).show(),"sticky-rgt-btm"!=s?$("body").append("
    "):$("#"+p).prepend('Subscribe To Newsletter");try{l&&i?i(l,d):i&&i(d)}catch(e){}return 1==a&&(login_popup_display_type=1),"sticky-rgt-btm"!=s&&0==$("#l2_wrapper_"+EtB2b.layer.l2_id).length&&$("#"+p).wrap("
    "),d},_remove_custom_poplayer2:function(e,t){e&&(!parseInt($("#_l2_id_"+e+" a.close").length)&&!0!==t||(t="#_l2_id_"+e+",#l2_overlay_bx_"+e+",#l2_wrapper_"+e,$("#_l2_id_"+e).hasClass("fadeInUp")&&$("#_l2_id_"+e).removeClass("fadeInUp").addClass("fadeInDown"),$(t).remove(),"Y"==set_pop_cookie&&setCookie(ET_PORTAL+"_pop_user_sub_close",set_cookie_email,ET_SUB_SOURCE_COOKIE),t=$.trim($_GET.source),"Y"==fromMail_redirect_flag&&t&&(window.location=t)))}}}(),document.addEventListener("userFetchApiComplete",function(e){if(EtB2b.globals._profile_email=EtB2b.globals.pEmail=_profile_email=pEmail||EtB2b.globals.pEmail,!(1==EtB2b.globals.prevent_default_layers||-1Thank you for stopping by!
    Select one of the login options below to continue your journey on ET Auto Ask!
    ',forum_footer,""))},!1),executeOnReady(function(){$("body").on("click",".show_subscribe_pop_btn",function(){EtB2b.layer._remove_custom_poplayer2(1),EtB2b.layer._custom_poplayer2("","",EtB2b.subscription.show_subscription_layer,"","3");EtB2b.globals._loggedin_user.type;localStorage.setItem("yoloFlag",1)}),$(document).keyup(function(e){27==e.keyCode&&(!$(".model-container").find(".close").length||0<(e=parseInt($(".model-container").length))&&EtB2b.layer._remove_custom_poplayer2(e),$("#c-mask, #c-menu-slide-top").removeClass("is-active"),$("body").removeClass("has-active-menu"),$("header").removeClass("has-slide-top"))}),$(".fa-google-plus").parent().hide(),sub_source=$.trim($_GET.utm_medium),sub_source&&setCookie(ET_PORTAL+"_subscription_source",sub_source,ET_SUB_SOURCE_COOKIE),$_GET.email&&(EtB2b.globals.pEmail=pEmail=$.trim($_GET.email)),"undefined"!=typeof is_subscription_page&&"Y"==is_subscription_page&&(preventOverRideHistoryState=1,EtB2b.layer._custom_poplayer2("","",EtB2b.subscription.show_subscription_layer,"",3,"N"))});