/* FILE ARCHIVED ON 16:24:18 Mar 28, 2014 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 22:37:39 Apr 12, 2017. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ (function(a){if(typeof a.sprintf!=="function"){a.sprintf=function(){var g=/%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g;var h=arguments,f=0,k=h[f++];var b=function(o,i,l,n){if(!l){l=" "}var m=(o.length>=i)?"":Array(1+i-o.length>>>0).join(l);return n?o+m:m+o};var c=function(n,m,q,i,l,p){var o=i-n.length;if(o>0){if(q||!l){n=b(n,i,p,q)}else{n=n.slice(0,m.length)+b("",o,"0",true)+n.slice(m.length)}}return n};var j=function(q,p,o,r,l,i,n){var m=q>>>0;o=o&&m&&{"2":"0b","8":"0","16":"0x"}[p]||"";q=o+b(m.toString(p),i||0,"0",false);return c(q,o,r,l,n)};var e=function(n,p,l,i,m,o){if(i!=null){n=n.slice(0,i)}return c(n,"",p,l,m,o)};var d=function(A,n,o,s,C,x,m){var i;var w;var l;var B;var u;if(A=="%%"){return"%"}var t=false,p="",r=false,z=false,y=" ";var q=o.length;for(var v=0;o&&v-1?6:(m=="d")?0:undefined}else{if(x=="*"){x=+h[f++]}else{if(x.charAt(0)=="*"){x=+h[x.slice(1,-1)]}else{x=+x}}}u=n?h[n.slice(0,-1)]:h[f++];switch(m){case"s":return e(String(u),t,s,x,r,y);case"c":return e(String.fromCharCode(+u),t,s,x,r);case"b":return j(u,2,z,t,s,x,r);case"o":return j(u,8,z,t,s,x,r);case"x":return j(u,16,z,t,s,x,r);case"X":return j(u,16,z,t,s,x,r).toUpperCase();case"u":return j(u,10,z,t,s,x,r);case"i":case"d":i=(+u)|0;w=i<0?"-":p;u=w+b(String(Math.abs(i)),x,"0",false);return c(u,w,t,s,r);case"e":case"E":case"f":case"F":case"g":case"G":i=+u;w=i<0?"-":p;l=["toExponential","toFixed","toPrecision"]["efg".indexOf(m.toLowerCase())];B=["toString","toUpperCase"]["eEfFgG".indexOf(m)%2];u=w+Math.abs(i)[l](x);return c(u,w,t,s,r)[B]();default:return A}};return k.replace(g,d)}}})(jQuery); var OPTIMIZEMEMBER_VERSION = '1.0.8',OPTIMIZEMEMBER_CURRENT_USER_LOGIN_COUNTER = -1,OPTIMIZEMEMBER_CURRENT_USER_IS_LOGGED_IN = false,OPTIMIZEMEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER = false,OPTIMIZEMEMBER_CURRENT_USER_ACCESS_LEVEL = -1,OPTIMIZEMEMBER_CURRENT_USER_ACCESS_LABEL = '',OPTIMIZEMEMBER_CURRENT_USER_SUBSCR_ID = '',OPTIMIZEMEMBER_CURRENT_USER_SUBSCR_OR_WP_ID = '',OPTIMIZEMEMBER_CURRENT_USER_SUBSCR_GATEWAY = '',OPTIMIZEMEMBER_CURRENT_USER_CUSTOM = '',OPTIMIZEMEMBER_CURRENT_USER_REGISTRATION_TIME = 0,OPTIMIZEMEMBER_CURRENT_USER_PAID_REGISTRATION_TIME = 0,OPTIMIZEMEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS = 0,OPTIMIZEMEMBER_CURRENT_USER_REGISTRATION_DAYS = 0,OPTIMIZEMEMBER_CURRENT_USER_DISPLAY_NAME = '',OPTIMIZEMEMBER_CURRENT_USER_FIRST_NAME = '',OPTIMIZEMEMBER_CURRENT_USER_LAST_NAME = '',OPTIMIZEMEMBER_CURRENT_USER_LOGIN = '',OPTIMIZEMEMBER_CURRENT_USER_EMAIL = '',OPTIMIZEMEMBER_CURRENT_USER_IP = '207.241.237.214',OPTIMIZEMEMBER_CURRENT_USER_REGISTRATION_IP = '',OPTIMIZEMEMBER_CURRENT_USER_ID = 0,OPTIMIZEMEMBER_CURRENT_USER_FIELDS = [],OPTIMIZEMEMBER_CURRENT_USER_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_CURRENT_USER_DOWNLOADS_ALLOWED_IS_UNLIMITED = false,OPTIMIZEMEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY = 0,OPTIMIZEMEMBER_CURRENT_USER_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_FILE_DOWNLOAD_LIMIT_EXCEEDED_PAGE_ID = 0,OPTIMIZEMEMBER_MEMBERSHIP_OPTIONS_PAGE_ID = 0,OPTIMIZEMEMBER_LOGIN_WELCOME_PAGE_ID = 0,OPTIMIZEMEMBER_CURRENT_USER_PROFILE_MODIFICATION_PAGE_URL = 'http://rustrateg.ru/?optimizemember_profile=1',OPTIMIZEMEMBER_FILE_DOWNLOAD_LIMIT_EXCEEDED_PAGE_URL = 'http://rustrateg.ru/?page_id=',OPTIMIZEMEMBER_MEMBERSHIP_OPTIONS_PAGE_URL = 'http://rustrateg.ru/?page_id=',OPTIMIZEMEMBER_LOGIN_WELCOME_PAGE_URL = 'http://rustrateg.ru/?page_id=',OPTIMIZEMEMBER_LOGOUT_PAGE_URL = 'http://rustrateg.ru/wp-login.php?action=logout&_wpnonce=dcb901249d',OPTIMIZEMEMBER_LOGIN_PAGE_URL = 'http://rustrateg.ru/wp-login.php',OPTIMIZEMEMBER_LEVEL0_LABEL = 'Free Subscriber',OPTIMIZEMEMBER_LEVEL1_LABEL = 'Bronze Member',OPTIMIZEMEMBER_LEVEL2_LABEL = 'Silver Member',OPTIMIZEMEMBER_LEVEL3_LABEL = 'Gold Member',OPTIMIZEMEMBER_LEVEL4_LABEL = 'Platinum Member',OPTIMIZEMEMBER_LEVEL5_LABEL = 'Level 5 Member',OPTIMIZEMEMBER_LEVEL6_LABEL = 'Level 6 Member',OPTIMIZEMEMBER_LEVEL7_LABEL = 'Level 7 Member',OPTIMIZEMEMBER_LEVEL8_LABEL = 'Level 8 Member',OPTIMIZEMEMBER_LEVEL9_LABEL = 'Level 9 Member',OPTIMIZEMEMBER_LEVEL10_LABEL = 'Level 10 Member',OPTIMIZEMEMBER_LEVEL0_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL1_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL2_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL3_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL4_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL5_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL6_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL7_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL8_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL9_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL10_FILE_DOWNLOADS_ALLOWED = 0,OPTIMIZEMEMBER_LEVEL0_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL1_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL2_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL3_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL4_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL5_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL6_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL7_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL8_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL9_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_LEVEL10_FILE_DOWNLOADS_ALLOWED_DAYS = 0,OPTIMIZEMEMBER_FILE_DOWNLOAD_INLINE_EXTENSIONS = '',OPTIMIZEMEMBER_REG_EMAIL_FROM_NAME = 'Оперативный Центр Продажи Бизнеса',OPTIMIZEMEMBER_REG_EMAIL_FROM_EMAIL = 'benefactorbiz@yandex.ru',OPTIMIZEMEMBER_PAYPAL_NOTIFY_URL = 'http://rustrateg.ru/?optimizemember_paypal_notify=1',OPTIMIZEMEMBER_PAYPAL_RETURN_URL = 'http://rustrateg.ru/?optimizemember_paypal_return=1',OPTIMIZEMEMBER_PAYPAL_BUSINESS = '',OPTIMIZEMEMBER_PAYPAL_ENDPOINT = 'www.paypal.com',OPTIMIZEMEMBER_PAYPAL_API_ENDPOINT = 'api-3t.paypal.com',OPTIMIZEMEMBER_VALUE_FOR_PP_INV = Math.round (new Date ().getTime ()) + '~207.241.237.214',OPTIMIZEMEMBER_VALUE_FOR_PP_INV_GEN = optimizemember_value_for_pp_inv_gen = function(){ var invoice = '', formatSeed = function(seed, reqWidth) { seed = parseInt(seed, 10).toString (16); if (reqWidth < seed.length) return seed.slice (seed.length - reqWidth); else if (reqWidth > seed.length) return Array(1 + (reqWidth - seed.length)).join ('0') + seed; return seed; }; if (typeof OPTIMIZEMEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED === 'undefined') OPTIMIZEMEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED = Math.floor (Math.random () * 0x75bcd15); OPTIMIZEMEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED++; invoice = formatSeed(parseInt(new Date ().getTime () / 1000, 10), 8); invoice += formatSeed(OPTIMIZEMEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED, 5); invoice += '~' + OPTIMIZEMEMBER_CURRENT_USER_IP; return invoice; },OPTIMIZEMEMBER_CURRENT_USER_VALUE_FOR_PP_ON0 = 'Originating Domain',OPTIMIZEMEMBER_CURRENT_USER_VALUE_FOR_PP_OS0 = 'rustrateg.ru',OPTIMIZEMEMBER_CURRENT_USER_VALUE_FOR_PP_ON1 = 'Customer IP Address',OPTIMIZEMEMBER_CURRENT_USER_VALUE_FOR_PP_OS1 = '207.241.237.214'; jQuery(document).ready(function(d){var c='';var a='optimizeMember-files';var b=(typeof ws_plugin__optimizemember_skip_all_file_confirmations!=="undefined"&&ws_plugin__optimizemember_skip_all_file_confirmations)?true:false;var e=[];if(OPTIMIZEMEMBER_CURRENT_USER_IS_LOGGED_IN&&OPTIMIZEMEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY div.mu_register > form#setupform").submit(function(){var h=this,g="",f="",j="";d("input#user_email",h).attr("data-expected","email");var i=d('p.submit input[type="submit"]',h);d("input#user_name, input#user_email, input#blogname, input#blog_title, input#captcha_code",h).attr({"aria-required":"true"});d(":input",h).each(function(){var k=d.trim(d(this).attr("id")).replace(/-[0-9]+$/g,"");if(k&&(g=d.trim(d('label[for="'+k+'"]',h).first().text().replace(/[\r\n\t]+/g," ")))){if(f=ws_plugin__optimizemember_validationErrors(g,this,h)){j+=f+"\n\n"}}});if(j=d.trim(j)){alert('— Oops, you missed something: —\n\n'+j);return false}ws_plugin__optimizemember_animateProcessing(i);return true})}if(location.href.match(/\/wp-login\.php/)){d("input#user_login").attr("tabindex","10"),d("input#user_email").attr("tabindex","20");d("div#login > form#registerform input#wp-submit").attr("tabindex","1000");d("input#ws-plugin--optimizemember-custom-reg-field-user-pass1, input#ws-plugin--optimizemember-custom-reg-field-user-pass2").keyup(function(){ws_plugin__optimizemember_passwordStrength(d("input#user_login"),d("input#ws-plugin--optimizemember-custom-reg-field-user-pass1"),d("input#ws-plugin--optimizemember-custom-reg-field-user-pass2"),d("div#ws-plugin--optimizemember-custom-reg-field-user-pass-strength"))});d("div#login > form#registerform").submit(function(){var h=this,g="",f="",l="";d("input#user_email",h).attr("data-expected","email");var k=d('input#ws-plugin--optimizemember-custom-reg-field-user-pass1[aria-required="true"]',h);var i=d("input#ws-plugin--optimizemember-custom-reg-field-user-pass2",h);var j=d("input#wp-submit",h);d("input#user_login, input#user_email, input#captcha_code",h).attr({"aria-required":"true"});d(":input",h).each(function(){var m=d.trim(d(this).attr("id")).replace(/-[0-9]+$/g,"");if(d.inArray(m,["user_login","user_email","captcha_code"])!==-1){if((g=d.trim(d(this).parent("label").text().replace(/[\r\n\t]+/g," ")))){if(f=ws_plugin__optimizemember_validationErrors(g,this,h)){l+=f+"\n\n"}}}else{if(m&&(g=d.trim(d('label[for="'+m+'"]',h).first().children("span").first().text().replace(/[\r\n\t]+/g," ")))){if(f=ws_plugin__optimizemember_validationErrors(g,this,h)){l+=f+"\n\n"}}}});if(l=d.trim(l)){alert('— Oops, you missed something: —\n\n'+l);return false}else{if(k.length&&d.trim(k.val())!==d.trim(i.val())){alert('— Oops, you missed something: —\n\nPasswords do not match up. Please try again.');return false}else{if(k.length&&d.trim(k.val()).length<6){alert('— Oops, you missed something: —\n\nPassword MUST be at least 6 characters. Please try again.');return false}}}ws_plugin__optimizemember_animateProcessing(j);return true})}if(location.href.match(/\/wp-admin\/(user\/)?profile\.php/)){d("form#your-profile").submit(function(){var h=this,g="",f="",i="";d("input#email",h).attr("data-expected","email");d(':input[id^="ws-plugin--optimizemember-profile-"]',h).each(function(){var j=d.trim(d(this).attr("id")).replace(/-[0-9]+$/g,"");if(j&&(g=d.trim(d('label[for="'+j+'"]',h).first().text().replace(/[\r\n\t]+/g," ")))){if(f=ws_plugin__optimizemember_validationErrors(g,this,h)){i+=f+"\n\n"}}});if(i=d.trim(i)){alert('— Oops, you missed something: —\n\n'+i);return false}return true})}if(c){d("body.registration form div#ws-plugin--optimizemember-custom-reg-fields-4bp-section").closest("form").submit(function(){var h=this,g="",f="",i="";d("input#signup_email",h).attr("data-expected","email");d("input#signup_username, input#signup_email, input#signup_password, input#field_1",h).attr({"aria-required":"true"});d(":input",h).each(function(){var j=d.trim(d(this).attr("id")).replace(/-[0-9]+$/g,"");if(j&&(g=d.trim(d('label[for="'+j+'"]',h).first().text().replace(/[\r\n\t]+/g," ")))){if(f=ws_plugin__optimizemember_validationErrors(g,this,h)){i+=f+"\n\n"}}});if(i=d.trim(i)){alert('— Oops, you missed something: —\n\n'+i);return false}return true});d("body.logged-in.profile.profile-edit :input.ws-plugin--optimizemember-profile-field-4bp").closest("form").submit(function(){var h=this,g="",f="",i="";d("input#field_1",h).attr({"aria-required":"true"});d(":input",h).each(function(){var j=d.trim(d(this).attr("id")).replace(/-[0-9]+$/g,"");if(j&&(g=d.trim(d('label[for="'+j+'"]',h).first().text().replace(/[\r\n\t]+/g," ")))){if(f=ws_plugin__optimizemember_validationErrors(g,this,h)){i+=f+"\n\n"}}});if(i=d.trim(i)){alert('— Oops, you missed something: —\n\n'+i);return false}return true})}ws_plugin__optimizemember_passwordStrength=function(g,i,h,f){if(g instanceof jQuery&&i instanceof jQuery&&h instanceof jQuery&&f instanceof jQuery&&typeof passwordStrength==="function"&&typeof pwsL10n==="object"){f.removeClass("ws-plugin--optimizemember-password-strength-short ws-plugin--optimizemember-password-strength-bad ws-plugin--optimizemember-password-strength-good ws-plugin--optimizemember-password-strength-strong ws-plugin--optimizemember-password-strength-mismatch");switch(passwordStrength(i.val(),g.val(),h.val())){case 1:f.addClass("ws-plugin--optimizemember-password-strength-short").html(pwsL10n["short"]);break;case 2:f.addClass("ws-plugin--optimizemember-password-strength-bad").html(pwsL10n.bad);break;case 3:f.addClass("ws-plugin--optimizemember-password-strength-good").html(pwsL10n.good);break;case 4:f.addClass("ws-plugin--optimizemember-password-strength-strong").html(pwsL10n.strong);break;case 5:f.addClass("ws-plugin--optimizemember-password-strength-mismatch").html(pwsL10n.mismatch);break;default:f.addClass("ws-plugin--optimizemember-password-strength-short").html(pwsL10n["short"])}}return};ws_plugin__optimizemember_validationErrors=function(r,q,g,m,l){if(typeof r==="string"&&r&&typeof q==="object"&&typeof g==="object"){if(typeof q.tagName==="string"&&q.tagName.match(/^(input|textarea|select)$/i)&&!q.disabled){var t=q.tagName.toLowerCase(),p=d(q),o=d.trim(p.attr("type")).toLowerCase(),f=d.trim(p.attr("name")),s=p.val();var m=(typeof m==="boolean")?m:(p.attr("aria-required")==="true"),l=(typeof l==="string")?l:d.trim(p.attr("data-expected"));var k=('0'>0)?true:false;var i=new RegExp('^()@',"i");if(t==="input"&&o==="checkbox"&&f.match(/\[\]$/)){if(typeof q.id==="string"&&q.id.match(/-0$/)){if(m&&!d('input[name="'+f.replace(/([\[\]])/g,"$1")+'"]:checked',g).length){return r+'\nPlease check at least one of the boxes.'}}}else{if(t==="input"&&o==="checkbox"){if(m&&!q.checked){return r+'\nRequired. This box must be checked.'}}else{if(t==="input"&&o==="radio"){if(typeof q.id==="string"&&q.id.match(/-0$/)){if(m&&!d('input[name="'+f.replace(/([\[\]])/g,"$1")+'"]:checked',g).length){return r+'\nPlease select one of the options.'}}}else{if(t==="select"&&p.attr("multiple")){if(m&&(!(s instanceof Array)||!s.length)){return r+'\nPlease select at least one of the options.'}}else{if(typeof s!=="string"||(m&&!(s=d.trim(s)).length)){return r+'\nThis is a required field, please try again.'}else{if((s=d.trim(s)).length&&((t==="input"&&o.match(/^(text|password)$/i))||t==="textarea")&&typeof l==="string"&&l.length){if(l==="numeric-wp-commas"&&(!s.match(/^[0-9\.,]+$/)||isNaN(s.replace(/,/g,"")))){return r+'\nMust be numeric ( with or without decimals, commas allowed ).'}else{if(l==="numeric"&&(!s.match(/^[0-9\.]+$/)||isNaN(s))){return r+'\nMust be numeric ( with or without decimals, no commas ).'}else{if(l==="integer"&&(!s.match(/^[0-9]+$/)||isNaN(s))){return r+'\nMust be an integer ( a whole number, without any decimals ).'}else{if(l==="integer-gt-0"&&(!s.match(/^[0-9]+$/)||isNaN(s)||s<=0)){return r+'\nMust be an integer > 0 ( whole number, no decimals, greater than 0 ).'}else{if(l==="float"&&(!s.match(/^[0-9\.]+$/)||!s.match(/[0-9]/)||!s.match(/\./)||isNaN(s))){return r+'\nMust be a float ( floating point number, decimals required ).'}else{if(l==="float-gt-0"&&(!s.match(/^[0-9\.]+$/)||!s.match(/[0-9]/)||!s.match(/\./)||isNaN(s)||s<=0)){return r+'\nMust be a float > 0 ( floating point number, decimals required, greater than 0 ).'}else{if(l==="date"&&!s.match(/^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$/)){return r+'\nMust be a date ( required date format: dd/mm/yyyy ).'}else{if(l==="email"&&!s.match(/^([a-z_~0-9\+\-]+)(((\.?)([a-z_~0-9\+\-]+))*)(@)([a-z0-9]+)(((-*)([a-z0-9]+))*)(((\.)([a-z0-9]+)(((-*)([a-z0-9]+))*))*)(\.)([a-z]{2,6})$/i)){return r+'\nMust be a valid email address.'}else{if(l==="email"&&k&&s.match(i)){return r+"\n"+d.sprintf('Please use a personal email address.\nAddresses like <%s@> are problematic.',s.split("@")[0])}else{if(l==="url"&&!s.match(/^http(s?)\:\/\/(.{5,})$/i)){return r+'\nMust be a full URL ( starting with http or https ).'}else{if(l==="domain"&&!s.match(/^([a-z0-9]+)(((-*)([a-z0-9]+))*)(((\.)([a-z0-9]+)(((-*)([a-z0-9]+))*))*)(\.)([a-z]{2,6})$/i)){return r+'\nMust be a domain name ( domain name only, without http ).'}else{if(l==="phone"&&(!s.match(/^[0-9 \(\)\-]+$/)||s.replace(/[^0-9]/g,"").length!==10)){return r+'\nMust be a phone # ( 10 digits w/possible hyphens,spaces,brackets ).'}else{if(l==="uszip"&&!s.match(/^[0-9]{5}(-[0-9]{4})?$/)){return r+'\nMust be a US zipcode ( 5-9 digits w/possible hyphen ).'}else{if(l==="cazip"&&!s.match(/^[0-9A-Z]{3}( ?)[0-9A-Z]{3}$/i)){return r+'\nMust be a Canadian zipcode ( 6 alpha-numerics w/possible space ).'}else{if(l==="uczip"&&!s.match(/^[0-9]{5}(-[0-9]{4})?$/)&&!s.match(/^[0-9A-Z]{3}( ?)[0-9A-Z]{3}$/i)){return r+'\nMust be a zipcode ( either a US or Canadian zipcode ).'}else{if(l.match(/^alphanumerics-spaces-punctuation-([0-9]+)(-e)?$/)&&!s.match(/^[a-z 0-9,\.\/\?\:;"'\{\}\[\]\|\\\+\=_\-\(\)\*&\^%\$#@\!`~]+$/i)){return r+'\nPlease use alphanumerics, spaces & punctuation only.'}else{if(l.match(/^alphanumerics-spaces-([0-9]+)(-e)?$/)&&!s.match(/^[a-z 0-9]+$/i)){return r+'\nPlease use alphanumerics & spaces only.'}else{if(l.match(/^alphanumerics-punctuation-([0-9]+)(-e)?$/)&&!s.match(/^[a-z0-9,\.\/\?\:;"'\{\}\[\]\|\\\+\=_\-\(\)\*&\^%\$#@\!`~]+$/i)){return r+'\nPlease use alphanumerics & punctuation only ( no spaces ).'}else{if(l.match(/^alphanumerics-([0-9]+)(-e)?$/)&&!s.match(/^[a-z0-9]+$/i)){return r+'\nPlease use alphanumerics only ( no spaces/punctuation ).'}else{if(l.match(/^alphabetics-([0-9]+)(-e)?$/)&&!s.match(/^[a-z]+$/i)){return r+'\nPlease use alphabetics only ( no digits/spaces/punctuation ).'}else{if(l.match(/^numerics-([0-9]+)(-e)?$/)&&!s.match(/^[0-9]+$/i)){return r+'\nPlease use numeric digits only.'}else{if(l.match(/^(any|alphanumerics-spaces-punctuation|alphanumerics-spaces|alphanumerics-punctuation|alphanumerics|alphabetics|numerics)-([0-9]+)(-e)?$/)){var n=l.split("-"),h=Number(n[1]),j=(n.length>2&&n[2]==="e")?true:false;if(j&&s.length!==h){return r+"\n"+d.sprintf('Must be exactly %s %s.',h,((n[0]==="numerics")?((h===1)?'digit':'digits'):((h===1)?'character':'characters')))}else{if(s.length=0){j=j-1,h="l"}else{j=j+1,h="r"}}}for(var m=l[j],i=l[j].length;i div.s2member-pro-paypal-update-form-div").show();y(t+" > div.s2member-pro-paypal-update-form-div :input").attr(v);y(t+" > div#s2member-pro-paypal-update-form-card-start-date-issue-number-div").hide();y(t+" > div#s2member-pro-paypal-update-form-card-start-date-issue-number-div :input").attr(a);y(E+" > div.s2member-pro-paypal-update-form-div").show();y(E+" > div.s2member-pro-paypal-update-form-div :input").attr(v);y(E).show(),(N)?y(t+" input#s2member-pro-paypal-update-card-number").focus():null}else{if(y.inArray(O,["Maestro","Solo"])!==-1){y(t+" > div.s2member-pro-paypal-update-form-div").show();y(t+" > div.s2member-pro-paypal-update-form-div :input").attr(v);y(E+" > div.s2member-pro-paypal-update-form-div").show();y(E+" > div.s2member-pro-paypal-update-form-div :input").attr(v);y(E).show(),(N)?y(t+" input#s2member-pro-paypal-update-card-number").focus():null}else{if(!O){y(t+" > div.s2member-pro-paypal-update-form-div").hide();y(t+" > div.s2member-pro-paypal-update-form-div :input").attr(a);y(t+" > div#s2member-pro-paypal-update-form-card-type-div").show();y(t+" > div#s2member-pro-paypal-update-form-card-type-div :input").attr(v);y(E+" > div.s2member-pro-paypal-update-form-div").hide();y(E+" > div.s2member-pro-paypal-update-form-div :input").attr(a);y(E).hide(),(N)?y(m+" input#s2member-pro-paypal-update-submit").focus():null}}}})();y(k).click(s).change(s);p.submit(function(){var Q=this,O="",N="",R="";var P=y(K+" input#recaptcha_response_field");if(!y(k+":checked").val()){alert('Please choose a Billing Method.');return false}y(":input",Q).each(function(){var S=y.trim(y(this).attr("id")).replace(/-[0-9]+$/g,"");if(S&&(O=y.trim(y('label[for="'+S+'"]',Q).first().children("span").first().text().replace(/[\r\n\t]+/g," ")))){if(N=ws_plugin__optimizemember_validationErrors(O,this,Q)){R+=N+"\n\n"}}});if(R=y.trim(R)){alert('— Oops, you missed something: —\n\n'+R);return false}else{if(P.length&&!P.val()){alert('— Oops, you missed something: —\n\nSecurity Code missing. Please try again.');return false}}u.attr(z),ws_plugin__optimizemember_animateProcessing(u);return true})}else{if((i=y("form#s2member-pro-paypal-registration-form")).length===1){var I,q,J="div#s2member-pro-paypal-registration-form-registration-section",K="div#s2member-pro-paypal-registration-form-captcha-section",m="div#s2member-pro-paypal-registration-form-submission-section",u=y(m+" input#s2member-pro-paypal-registration-submit");ws_plugin__optimizemember_animateProcessing(u,"reset"),u.removeAttr("disabled");(I=function(N){if(y(m+" input#s2member-pro-paypal-registration-names-not-required-or-not-possible").length){y(J+" > div#s2member-pro-paypal-registration-form-first-name-div").hide();y(J+" > div#s2member-pro-paypal-registration-form-first-name-div :input").attr(h);y(J+" > div#s2member-pro-paypal-registration-form-last-name-div").hide();y(J+" > div#s2member-pro-paypal-registration-form-last-name-div :input").attr(h)}})();(q=function(N){if(y(m+" input#s2member-pro-paypal-registration-password-not-required-or-not-possible").length){y(J+" > div#s2member-pro-paypal-registration-form-password-div").hide();y(J+" > div#s2member-pro-paypal-registration-form-password-div :input").attr(h)}})();y(J+" > div#s2member-pro-paypal-registration-form-password-div :input").keyup(function(){ws_plugin__optimizemember_passwordStrength(y(J+" input#s2member-pro-paypal-registration-username"),y(J+" input#s2member-pro-paypal-registration-password1"),y(J+" input#s2member-pro-paypal-registration-password2"),y(J+" div#s2member-pro-paypal-registration-form-password-strength"))});i.submit(function(){var Q=this,O="",N="",T="";var P=y(K+" input#recaptcha_response_field");var S=y(J+' input#s2member-pro-paypal-registration-password1[aria-required="true"]');var R=y(J+" input#s2member-pro-paypal-registration-password2");y(":input",Q).each(function(){var U=y.trim(y(this).attr("id")).replace(/-[0-9]+$/g,"");if(U&&(O=y.trim(y('label[for="'+U+'"]',Q).first().children("span").first().text().replace(/[\r\n\t]+/g," ")))){if(N=ws_plugin__optimizemember_validationErrors(O,this,Q)){T+=N+"\n\n"}}});if(T=y.trim(T)){alert('— Oops, you missed something: —\n\n'+T);return false}else{if(S.length&&y.trim(S.val())!==y.trim(R.val())){alert('— Oops, you missed something: —\n\nPasswords do not match up. Please try again.');return false}else{if(S.length&&y.trim(S.val()).length<6){alert('— Oops, you missed something: —\n\nPassword MUST be at least 6 characters. Please try again.');return false}else{if(P.length&&!P.val()){alert('— Oops, you missed something: —\n\nSecurity Code missing. Please try again.');return false}}}}u.attr(z),ws_plugin__optimizemember_animateProcessing(u);return true})}else{if((l=y("form#s2member-pro-paypal-sp-checkout-form")).length===1){var C,G,r=true,F,n,e,A,b,B,s,D="div#s2member-pro-paypal-sp-checkout-form-coupon-section",L=D+" input#s2member-pro-paypal-sp-checkout-coupon-apply",J="div#s2member-pro-paypal-sp-checkout-form-registration-section",t="div#s2member-pro-paypal-sp-checkout-form-billing-method-section",k=t+' input[name="optimizemember_pro_paypal_sp_checkout[card_type]"]',E="div#s2member-pro-paypal-sp-checkout-form-billing-address-section",x=y(E+" > div#s2member-pro-paypal-sp-checkout-form-ajax-tax-div"),K="div#s2member-pro-paypal-sp-checkout-form-captcha-section",m="div#s2member-pro-paypal-sp-checkout-form-submission-section",j=m+" input#s2member-pro-paypal-sp-checkout-nonce",c=m+" input#s2member-pro-paypal-sp-checkout-submit";var f='';var g='';ws_plugin__optimizemember_animateProcessing(y(c),"reset"),y(c).removeAttr("disabled"),y(L).removeAttr("disabled");(C=function(N){if(y(m+" input#s2member-pro-paypal-sp-checkout-coupons-not-required-or-not-possible").length){y(D).hide()}else{y(D).show()}})();(G=function(N){if(y(m+" input#s2member-pro-paypal-sp-checkout-tax-not-required-or-not-possible").length){x.hide(),r=false}})();(F=function(O){if(r&&!(O&&O.interval&&document.activeElement.id==="s2member-pro-paypal-sp-checkout-country")){var N=y(m+" input#s2member-pro-paypal-sp-checkout-attr").val();var R=y.trim(y(E+" input#s2member-pro-paypal-sp-checkout-state").val());var S=y(E+" select#s2member-pro-paypal-sp-checkout-country").val();var Q=y.trim(y(E+" input#s2member-pro-paypal-sp-checkout-zip").val());var P=R+"|"+S+"|"+Q;if(R&&S&&Q&&P&&(!b||b!==P)&&(b=P)){(A)?A.abort():null,clearTimeout(e),e=null;x.html('
Calculating Sales Tax... calculating sales tax...
');e=setTimeout(function(){A=y.post('http://rustrateg.ru/wp-admin/admin-ajax.php',{action:"ws_plugin__optimizemember_pro_paypal_ajax_tax",ws_plugin__optimizemember_pro_paypal_ajax_tax:'fnIyOkNncEJMQmU0eVE5U0VVM2piM3ZMZkJncDg2ek1OVXZxOmJhMzQ1NzdmY2Q4MmVmOTJlNzYyM2QxMzMzZDM4YjA3fBMFKakoHnvJBBew5ADYRl9co0BEE75b3pybTpbVNN1C4M_O0p79dFx1BPEZtoSJiQuHJU6QzcDBHznVxg8s7Zc',"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[attr]":N,"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[state]":R,"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[country]":S,"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[zip]":Q},function(T){clearTimeout(e),e=null;try{x.html("
"+y.sprintf('Sales Tax%s: %s
— Total%s: %s',((T.trial)?' Today':""),((T.tax_per)?""+T.tax_per+" ( "+T.cur_symbol+""+T.tax+" )":T.cur_symbol+""+T.tax),((T.trial)?' Today':""),T.cur_symbol+""+T.total)+"
")}catch(U){}},"json")},((O&&O.keyCode)?1000:100))}else{if(!R||!S||!Q||!P){x.html(""),b=null}}}})();n=function(N){setTimeout(function(){F(N)},10)};y(E+" input#s2member-pro-paypal-sp-checkout-state").bind("keyup blur",F).bind("cut paste",n);y(E+" input#s2member-pro-paypal-sp-checkout-zip").bind("keyup blur",F).bind("cut paste",n);y(E+" select#s2member-pro-paypal-sp-checkout-country").bind("change",F);setInterval(function(){F({interval:true})},1000);(B=function(N){if(OPTIMIZEMEMBER_CURRENT_USER_IS_LOGGED_IN){y(J+" input#s2member-pro-paypal-sp-checkout-first-name").each(function(){var O=y(this),P=O.val();(!P)?O.val(OPTIMIZEMEMBER_CURRENT_USER_FIRST_NAME):null});y(J+" input#s2member-pro-paypal-sp-checkout-last-name").each(function(){var O=y(this),P=O.val();(!P)?O.val(OPTIMIZEMEMBER_CURRENT_USER_LAST_NAME):null});y(J+" input#s2member-pro-paypal-sp-checkout-email").each(function(){var O=y(this),P=O.val();(!P)?O.val(OPTIMIZEMEMBER_CURRENT_USER_EMAIL):null})}})();(s=function(N){var O=y(k+":checked").val();if(y.inArray(O,["Visa","MasterCard","Amex","Discover"])!==-1){y(t+" > div.s2member-pro-paypal-sp-checkout-form-div").show();y(t+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(v);y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-start-date-issue-number-div").hide();y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-start-date-issue-number-div :input").attr(a);y(E+" > div.s2member-pro-paypal-sp-checkout-form-div").show();y(E+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(v);(!r)?x.hide():null;y(E).show(),y(m+" input#s2member-pro-paypal-sp-checkout-submit").replaceWith(f);(N)?y(t+" input#s2member-pro-paypal-sp-checkout-card-number").focus():null}else{if(y.inArray(O,["Maestro","Solo"])!==-1){y(t+" > div.s2member-pro-paypal-sp-checkout-form-div").show();y(t+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(v);y(E+" > div.s2member-pro-paypal-sp-checkout-form-div").show();y(E+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(v);(!r)?x.hide():null;y(E).show(),y(m+" input#s2member-pro-paypal-sp-checkout-submit").replaceWith(f);(N)?y(t+" input#s2member-pro-paypal-sp-checkout-card-number").focus():null}else{if((!O||O==="PayPal")&&r){y(t+" > div.s2member-pro-paypal-sp-checkout-form-div").show();y(t+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(v);y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-number-div").hide();y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-number-div :input").attr(a);y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-expiration-div").hide();y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-expiration-div :input").attr(a);y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-verification-div").hide();y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-verification-div :input").attr(a);y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-start-date-issue-number-div").hide();y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-start-date-issue-number-div :input").attr(a);y(E+" > div.s2member-pro-paypal-sp-checkout-form-div").show();y(E+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(v);y(E+" > div#s2member-pro-paypal-sp-checkout-form-street-div").hide();y(E+" > div#s2member-pro-paypal-sp-checkout-form-street-div :input").attr(a);y(E+" > div#s2member-pro-paypal-sp-checkout-form-city-div").hide();y(E+" > div#s2member-pro-paypal-sp-checkout-form-city-div :input").attr(a);y(E).show(),y(m+" input#s2member-pro-paypal-sp-checkout-submit").replaceWith(g);(N)?y(E+" input#s2member-pro-paypal-sp-checkout-state").focus():null}else{if(!O||O==="PayPal"){y(t+" > div.s2member-pro-paypal-sp-checkout-form-div").hide();y(t+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(a);y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-type-div").show();y(t+" > div#s2member-pro-paypal-sp-checkout-form-card-type-div :input").attr(v);y(E+" > div.s2member-pro-paypal-sp-checkout-form-div").hide();y(E+" > div.s2member-pro-paypal-sp-checkout-form-div :input").attr(a);y(E).hide(),y(m+" input#s2member-pro-paypal-sp-checkout-submit").replaceWith(g);(N)?y(m+" input#s2member-pro-paypal-sp-checkout-submit").focus():null}}}}G()})();y(k).click(s).change(s);y(L).click(function(){y(j).val("apply-coupon"),l.submit()});l.submit(function(){if(y(j).val()!=="apply-coupon"){var Q=this,O="",N="",R="";var P=y(K+" input#recaptcha_response_field");if(!y(k+":checked").val()){y(k).val(["PayPal"])}y(":input",Q).each(function(){var S=y.trim(y(this).attr("id")).replace(/-[0-9]+$/g,"");if(S&&(O=y.trim(y('label[for="'+S+'"]',Q).first().children("span").first().text().replace(/[\r\n\t]+/g," ")))){if(N=ws_plugin__optimizemember_validationErrors(O,this,Q)){R+=N+"\n\n"}}});if(R=y.trim(R)){alert('— Oops, you missed something: —\n\n'+R);return false}else{if(P.length&&!P.val()){alert('— Oops, you missed something: —\n\nSecurity Code missing. Please try again.');return false}}}y(c).attr(z),ws_plugin__optimizemember_animateProcessing(y(c)),y(L).attr(z);return true})}else{if((o=y("form#s2member-pro-paypal-checkout-form")).length===1){var C,G,r=true,F,n,e,A,b,q,s,B,D="div#s2member-pro-paypal-checkout-form-coupon-section",L=D+" input#s2member-pro-paypal-checkout-coupon-apply",J="div#s2member-pro-paypal-checkout-form-registration-section",M="div#s2member-pro-paypal-checkout-form-custom-fields-section",t="div#s2member-pro-paypal-checkout-form-billing-method-section",k=t+' input[name="optimizemember_pro_paypal_checkout[card_type]"]',E="div#s2member-pro-paypal-checkout-form-billing-address-section",x=y(E+" > div#s2member-pro-paypal-checkout-form-ajax-tax-div"),K="div#s2member-pro-paypal-checkout-form-captcha-section",m="div#s2member-pro-paypal-checkout-form-submission-section",j=m+" input#s2member-pro-paypal-checkout-nonce",c=m+" input#s2member-pro-paypal-checkout-submit";var f='';var g='';ws_plugin__optimizemember_animateProcessing(y(c),"reset"),y(c).removeAttr("disabled"),y(L).removeAttr("disabled");(C=function(N){if(y(m+" input#s2member-pro-paypal-checkout-coupons-not-required-or-not-possible").length){y(D).hide()}else{y(D).show()}})();(G=function(N){if(y(m+" input#s2member-pro-paypal-checkout-tax-not-required-or-not-possible").length){x.hide(),r=false}})();(F=function(O){if(r&&!(O&&O.interval&&document.activeElement.id==="s2member-pro-paypal-checkout-country")){var N=y(m+" input#s2member-pro-paypal-checkout-attr").val();var R=y.trim(y(E+" input#s2member-pro-paypal-checkout-state").val());var S=y(E+" select#s2member-pro-paypal-checkout-country").val();var Q=y.trim(y(E+" input#s2member-pro-paypal-checkout-zip").val());var P=R+"|"+S+"|"+Q;if(R&&S&&Q&&P&&(!b||b!==P)&&(b=P)){(A)?A.abort():null,clearTimeout(e),e=null;x.html('
Calculating Sales Tax... calculating sales tax...
');e=setTimeout(function(){A=y.post('http://rustrateg.ru/wp-admin/admin-ajax.php',{action:"ws_plugin__optimizemember_pro_paypal_ajax_tax",ws_plugin__optimizemember_pro_paypal_ajax_tax:'fnIyOmZTc0xNYVg1SVpRVERpaVliVFdBeW5kNDlRSjhiOEhXOjgyYzg3YmM4Y2EyMTcwZDk5ZmE2ZjRiMzRjNTYwZTUzfBygLXB3RKWdAB3hsbMjJ8iht_q0FlVygb-KX4oAgzid8SuuEkSaUjVIBxOxGedM6MS1jY_mlBqKm3dSfr3GDB8',"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[attr]":N,"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[state]":R,"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[country]":S,"ws_plugin__optimizemember_pro_paypal_ajax_tax_vars[zip]":Q},function(T,V){clearTimeout(e),e=null;try{x.html("
"+y.sprintf('Sales Tax%s: %s
— Total%s: %s',((T.trial)?' Today':""),((T.tax_per)?""+T.tax_per+" ( "+T.cur_symbol+""+T.tax+" )":T.cur_symbol+""+T.tax),((T.trial)?' Today':""),T.cur_symbol+""+T.total)+"
")}catch(U){}},"json")},((O&&O.keyCode)?1000:100))}else{if(!R||!S||!Q||!P){x.html(""),b=null}}}})();n=function(N){setTimeout(function(){F(N)},10)};y(E+" input#s2member-pro-paypal-checkout-state").bind("keyup blur",F).bind("cut paste",n);y(E+" input#s2member-pro-paypal-checkout-zip").bind("keyup blur",F).bind("cut paste",n);y(E+" select#s2member-pro-paypal-checkout-country").bind("change",F);setInterval(function(){F({interval:true})},1000);(q=function(N){if(y(m+" input#s2member-pro-paypal-checkout-password-not-required-or-not-possible").length){y(J+" > div#s2member-pro-paypal-checkout-form-password-div").hide();y(J+" > div#s2member-pro-paypal-checkout-form-password-div :input").attr(h)}})();(B=function(N){if(OPTIMIZEMEMBER_CURRENT_USER_IS_LOGGED_IN){y(J+" input#s2member-pro-paypal-checkout-first-name").each(function(){var O=y(this),P=O.val();(!P)?O.val(OPTIMIZEMEMBER_CURRENT_USER_FIRST_NAME):null});y(J+" input#s2member-pro-paypal-checkout-last-name").each(function(){var O=y(this),P=O.val();(!P)?O.val(OPTIMIZEMEMBER_CURRENT_USER_LAST_NAME):null});y(J+" input#s2member-pro-paypal-checkout-email").val(OPTIMIZEMEMBER_CURRENT_USER_EMAIL).attr(h);y(J+" input#s2member-pro-paypal-checkout-username").val(OPTIMIZEMEMBER_CURRENT_USER_LOGIN).attr(h);y(J+" > div#s2member-pro-paypal-checkout-form-password-div").hide();y(J+" > div#s2member-pro-paypal-checkout-form-password-div :input").attr(h);if(y.trim(y(J+" > div#s2member-pro-paypal-checkout-form-registration-section-title").html())==='Create Profile'){y(J+" > div#s2member-pro-paypal-checkout-form-registration-section-title").html('Your Profile')}y(M).hide(),y(M+" :input").attr(h)}})();(s=function(N){var O=y(k+":checked").val();if(y.inArray(O,["Visa","MasterCard","Amex","Discover"])!==-1){y(t+" > div.s2member-pro-paypal-checkout-form-div").show();y(t+" > div.s2member-pro-paypal-checkout-form-div :input").attr(v);y(t+" > div#s2member-pro-paypal-checkout-form-card-start-date-issue-number-div").hide();y(t+" > div#s2member-pro-paypal-checkout-form-card-start-date-issue-number-div :input").attr(a);y(E+" > div.s2member-pro-paypal-checkout-form-div").show();y(E+" > div.s2member-pro-paypal-checkout-form-div :input").attr(v);(!r)?x.hide():null;y(E).show(),y(m+" input#s2member-pro-paypal-checkout-submit").replaceWith(f);(N)?y(t+" input#s2member-pro-paypal-checkout-card-number").focus():null}else{if(y.inArray(O,["Maestro","Solo"])!==-1){y(t+" > div.s2member-pro-paypal-checkout-form-div").show();y(t+" > div.s2member-pro-paypal-checkout-form-div :input").attr(v);y(E+" > div.s2member-pro-paypal-checkout-form-div").show();y(E+" > div.s2member-pro-paypal-checkout-form-div :input").attr(v);(!r)?x.hide():null;y(E).show(),y(m+" input#s2member-pro-paypal-checkout-submit").replaceWith(f);(N)?y(t+" input#s2member-pro-paypal-checkout-card-number").focus():null}else{if((!O||O==="PayPal")&&r){y(t+" > div.s2member-pro-paypal-checkout-form-div").show();y(t+" > div.s2member-pro-paypal-checkout-form-div :input").attr(v);y(t+" > div#s2member-pro-paypal-checkout-form-card-number-div").hide();y(t+" > div#s2member-pro-paypal-checkout-form-card-number-div :input").attr(a);y(t+" > div#s2member-pro-paypal-checkout-form-card-expiration-div").hide();y(t+" > div#s2member-pro-paypal-checkout-form-card-expiration-div :input").attr(a);y(t+" > div#s2member-pro-paypal-checkout-form-card-verification-div").hide();y(t+" > div#s2member-pro-paypal-checkout-form-card-verification-div :input").attr(a);y(t+" > div#s2member-pro-paypal-checkout-form-card-start-date-issue-number-div").hide();y(t+" > div#s2member-pro-paypal-checkout-form-card-start-date-issue-number-div :input").attr(a);y(E+" > div.s2member-pro-paypal-checkout-form-div").show();y(E+" > div.s2member-pro-paypal-checkout-form-div :input").attr(v);y(E+" > div#s2member-pro-paypal-checkout-form-street-div").hide();y(E+" > div#s2member-pro-paypal-checkout-form-street-div :input").attr(a);y(E+" > div#s2member-pro-paypal-checkout-form-city-div").hide();y(E+" > div#s2member-pro-paypal-checkout-form-city-div :input").attr(a);y(E).show(),y(m+" input#s2member-pro-paypal-checkout-submit").replaceWith(g);(N)?y(E+" input#s2member-pro-paypal-checkout-state").focus():null}else{if(!O||O==="PayPal"){y(t+" > div.s2member-pro-paypal-checkout-form-div").hide();y(t+" > div.s2member-pro-paypal-checkout-form-div :input").attr(a);y(t+" > div#s2member-pro-paypal-checkout-form-card-type-div").show();y(t+" > div#s2member-pro-paypal-checkout-form-card-type-div :input").attr(v);y(E+" > div.s2member-pro-paypal-checkout-form-div").hide();y(E+" > div.s2member-pro-paypal-checkout-form-div :input").attr(a);y(E).hide(),y(m+" input#s2member-pro-paypal-checkout-submit").replaceWith(g);(N)?y(m+" input#s2member-pro-paypal-checkout-submit").focus():null}}}}})();y(k).click(s).change(s);y(L).click(function(){y(j).val("apply-coupon"),o.submit()});y(J+" > div#s2member-pro-paypal-checkout-form-password-div :input").keyup(function(){ws_plugin__optimizemember_passwordStrength(y(J+" input#s2member-pro-paypal-checkout-username"),y(J+" input#s2member-pro-paypal-checkout-password1"),y(J+" input#s2member-pro-paypal-checkout-password2"),y(J+" div#s2member-pro-paypal-checkout-form-password-strength"))});o.submit(function(){if(y(j).val()!=="apply-coupon"){var Q=this,O="",N="",T="";var P=y(K+" input#recaptcha_response_field");var S=y(J+' input#s2member-pro-paypal-checkout-password1[aria-required="true"]');var R=y(J+" input#s2member-pro-paypal-checkout-password2");if(!y(k+":checked").val()){y(k).val(["PayPal"])}y(":input",Q).each(function(){var U=y.trim(y(this).attr("id")).replace(/-[0-9]+$/g,"");if(U&&(O=y.trim(y('label[for="'+U+'"]',Q).first().children("span").first().text().replace(/[\r\n\t]+/g," ")))){if(N=ws_plugin__optimizemember_validationErrors(O,this,Q)){T+=N+"\n\n"}}});if(T=y.trim(T)){alert('— Oops, you missed something: —\n\n'+T);return false}else{if(S.length&&y.trim(S.val())!==y.trim(R.val())){alert('— Oops, you missed something: —\n\nPasswords do not match up. Please try again.');return false}else{if(S.length&&y.trim(S.val()).length<6){alert('— Oops, you missed something: —\n\nPassword MUST be at least 6 characters. Please try again.');return false}else{if(P.length&&!P.val()){alert('— Oops, you missed something: —\n\nSecurity Code missing. Please try again.');return false}}}}}y(c).attr(z),ws_plugin__optimizemember_animateProcessing(y(c)),y(L).attr(z);return true})}}}}}(H=function(){y("div#s2member-pro-paypal-form-response").each(function(){var N=y(this).offset();window.scrollTo(0,N.top-100)})})()});