(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 S2MEMBER_VERSION = '111220',S2MEMBER_CURRENT_USER_LOGIN_COUNTER = -1,S2MEMBER_CURRENT_USER_IS_LOGGED_IN = false,S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER = false,S2MEMBER_CURRENT_USER_ACCESS_LEVEL = -1,S2MEMBER_CURRENT_USER_ACCESS_LABEL = '',S2MEMBER_CURRENT_USER_SUBSCR_ID = '',S2MEMBER_CURRENT_USER_SUBSCR_OR_WP_ID = '',S2MEMBER_CURRENT_USER_SUBSCR_GATEWAY = '',S2MEMBER_CURRENT_USER_CUSTOM = '',S2MEMBER_CURRENT_USER_REGISTRATION_TIME = 0,S2MEMBER_CURRENT_USER_PAID_REGISTRATION_TIME = 0,S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS = 0,S2MEMBER_CURRENT_USER_REGISTRATION_DAYS = 0,S2MEMBER_CURRENT_USER_DISPLAY_NAME = '',S2MEMBER_CURRENT_USER_FIRST_NAME = '',S2MEMBER_CURRENT_USER_LAST_NAME = '',S2MEMBER_CURRENT_USER_LOGIN = '',S2MEMBER_CURRENT_USER_EMAIL = '',S2MEMBER_CURRENT_USER_IP = '99.153.64.179',S2MEMBER_CURRENT_USER_REGISTRATION_IP = '',S2MEMBER_CURRENT_USER_ID = 0,S2MEMBER_CURRENT_USER_FIELDS = [],S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED = 0,S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED_IS_UNLIMITED = false,S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY = 0,S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED_DAYS = 0,S2MEMBER_FILE_DOWNLOAD_LIMIT_EXCEEDED_PAGE_ID = 0,S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_ID = 5879,S2MEMBER_LOGIN_WELCOME_PAGE_ID = 5882,S2MEMBER_CURRENT_USER_PROFILE_MODIFICATION_PAGE_URL = 'http://www.debtdeflation.com/blogs/?s2member_profile=1',S2MEMBER_FILE_DOWNLOAD_LIMIT_EXCEEDED_PAGE_URL = 'http://www.debtdeflation.com/blogs/?page_id=0',S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL = 'http://www.debtdeflation.com/blogs/register/',S2MEMBER_LOGIN_WELCOME_PAGE_URL = 'http://www.debtdeflation.com/blogs/welcome/',S2MEMBER_LOGOUT_PAGE_URL = 'http://www.debtdeflation.com/blogs/wp-login.php?action=logout&_wpnonce=046c445b56',S2MEMBER_LOGIN_PAGE_URL = 'http://www.debtdeflation.com/blogs/wp-login.php',S2MEMBER_LEVEL0_LABEL = 'Free Subscriber',S2MEMBER_LEVEL1_LABEL = 'Supporter',S2MEMBER_LEVEL2_LABEL = 'Keen',S2MEMBER_LEVEL3_LABEL = 'Schumpeter',S2MEMBER_LEVEL4_LABEL = 'Minsky',S2MEMBER_LEVEL5_LABEL = 'Keen+',S2MEMBER_LEVEL6_LABEL = 'Schumpeter+',S2MEMBER_LEVEL7_LABEL = 'Minsky+',S2MEMBER_LEVEL8_LABEL = 'KeenSchumpterMinsky',S2MEMBER_LEVEL9_LABEL = 'Keen Once',S2MEMBER_LEVEL10_LABEL = 'Schumpeter Once',S2MEMBER_LEVEL11_LABEL = 'Minsky Once',S2MEMBER_LEVEL12_LABEL = 'KeenSchumpterMinsky Once',S2MEMBER_LEVEL0_FILE_DOWNLOADS_ALLOWED = 0,S2MEMBER_LEVEL1_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL2_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL3_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL4_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL5_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL6_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL7_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL8_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL9_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL10_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL11_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL12_FILE_DOWNLOADS_ALLOWED = 999999999,S2MEMBER_LEVEL0_FILE_DOWNLOADS_ALLOWED_DAYS = 30,S2MEMBER_LEVEL1_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL2_FILE_DOWNLOADS_ALLOWED_DAYS = 0,S2MEMBER_LEVEL3_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL4_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL5_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL6_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL7_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL8_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL9_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL10_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL11_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_LEVEL12_FILE_DOWNLOADS_ALLOWED_DAYS = 1,S2MEMBER_FILE_DOWNLOAD_INLINE_EXTENSIONS = '',S2MEMBER_REG_EMAIL_FROM_NAME = 'Steve Keen\'s Debtwatch',S2MEMBER_REG_EMAIL_FROM_EMAIL = 'ProfSteveKeen@gmail.com',S2MEMBER_PAYPAL_NOTIFY_URL = 'http://www.debtdeflation.com/blogs/?s2member_paypal_notify=1',S2MEMBER_PAYPAL_RETURN_URL = 'http://www.debtdeflation.com/blogs/?s2member_paypal_return=1',S2MEMBER_PAYPAL_BUSINESS = 'debunking@gmail.com',S2MEMBER_PAYPAL_ENDPOINT = 'www.paypal.com',S2MEMBER_PAYPAL_API_ENDPOINT = 'api-3t.paypal.com',S2MEMBER_VALUE_FOR_PP_INV = Math.round (new Date ().getTime ()) + '~99.153.64.179',S2MEMBER_VALUE_FOR_PP_INV_GEN = s2member_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 S2MEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED === 'undefined') S2MEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED = Math.floor (Math.random () * 0x75bcd15); S2MEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED++; invoice = formatSeed(parseInt(new Date ().getTime () / 1000, 10), 8); invoice += formatSeed(S2MEMBER_VALUE_FOR_PP_INV_GEN_UNIQUE_SEED, 5); invoice += '~' + S2MEMBER_CURRENT_USER_IP; return invoice; },S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0 = 'Originating Domain',S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0 = 'www.debtdeflation.com',S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1 = 'Customer IP Address',S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1 = '99.153.64.179'; jQuery(document).ready(function(b){ws_plugin__s2member_uniqueFilesDownloaded=[];var a='';if(S2MEMBER_CURRENT_USER_IS_LOGGED_IN&&S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY div.mu_register > form#setupform").submit(function(){var e=this,d="",c="",g="";b("input#user_email",e).attr("data-expected","email");var f=b('p.submit input[type="submit"]',e);b("input#user_name, input#user_email, input#blogname, input#blog_title, input#captcha_code",e).attr({"aria-required":"true"});b(":input",e).each(function(){var h=b.trim(b(this).attr("id")).replace(/-[0-9]+$/g,"");if(h&&(d=b.trim(b('label[for="'+h+'"]',e).first().text().replace(/[\r\n\t]+/g," ")))){if(c=ws_plugin__s2member_validationErrors(d,this,e)){g+=c+"\n\n"}}});if(g=b.trim(g)){alert('— Oops, you missed something: —\n\n'+g);return false}ws_plugin__s2member_animateProcessing(f);return true})}if(location.href.match(/\/wp-login\.php/)){b("input#ws-plugin--s2member-custom-reg-field-user-pass1, input#ws-plugin--s2member-custom-reg-field-user-pass2").keyup(function(){ws_plugin__s2member_passwordStrength(b("input#user_login"),b("input#ws-plugin--s2member-custom-reg-field-user-pass1"),b("input#ws-plugin--s2member-custom-reg-field-user-pass2"),b("div#ws-plugin--s2member-custom-reg-field-user-pass-strength"))});b("div#login > form#registerform input#wp-submit").attr("tabindex","1000");b("div#login > form#registerform").submit(function(){var e=this,d="",c="",i="";b("input#user_email",e).attr("data-expected","email");var h=b('input#ws-plugin--s2member-custom-reg-field-user-pass1[aria-required="true"]',e);var f=b("input#ws-plugin--s2member-custom-reg-field-user-pass2",e);var g=b("input#wp-submit",e);b("input#user_login, input#user_email, input#captcha_code",e).attr({"aria-required":"true"});b(":input",e).each(function(){var j=b.trim(b(this).attr("id")).replace(/-[0-9]+$/g,"");if(b.inArray(j,["user_login","user_email","captcha_code"])!==-1){if((d=b.trim(b(this).parent("label").text().replace(/[\r\n\t]+/g," ")))){if(c=ws_plugin__s2member_validationErrors(d,this,e)){i+=c+"\n\n"}}}else{if(j&&(d=b.trim(b('label[for="'+j+'"]',e).first().children("span").first().text().replace(/[\r\n\t]+/g," ")))){if(c=ws_plugin__s2member_validationErrors(d,this,e)){i+=c+"\n\n"}}}});if(i=b.trim(i)){alert('— Oops, you missed something: —\n\n'+i);return false}else{if(h.length&&b.trim(h.val())!==b.trim(f.val())){alert('— Oops, you missed something: —\n\nPasswords do not match up. Please try again.');return false}else{if(h.length&&b.trim(h.val()).length<6){alert('— Oops, you missed something: —\n\nPassword MUST be at least 6 characters. Please try again.');return false}}}ws_plugin__s2member_animateProcessing(g);return true})}if(location.href.match(/\/wp-admin\/(user\/)?profile\.php/)){b("form#your-profile").submit(function(){var e=this,d="",c="",f="";b("input#email",e).attr("data-expected","email");b(':input[id^="ws-plugin--s2member-profile-"]',e).each(function(){var g=b.trim(b(this).attr("id")).replace(/-[0-9]+$/g,"");if(g&&(d=b.trim(b('label[for="'+g+'"]',e).first().text().replace(/[\r\n\t]+/g," ")))){if(c=ws_plugin__s2member_validationErrors(d,this,e)){f+=c+"\n\n"}}});if(f=b.trim(f)){alert('— Oops, you missed something: —\n\n'+f);return false}return true})}if(a){b("body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section").closest("form").submit(function(){var e=this,d="",c="",f="";b("input#signup_email",e).attr("data-expected","email");b("input#signup_username, input#signup_email, input#signup_password, input#field_1",e).attr({"aria-required":"true"});b(":input",e).each(function(){var g=b.trim(b(this).attr("id")).replace(/-[0-9]+$/g,"");if(g&&(d=b.trim(b('label[for="'+g+'"]',e).first().text().replace(/[\r\n\t]+/g," ")))){if(c=ws_plugin__s2member_validationErrors(d,this,e)){f+=c+"\n\n"}}});if(f=b.trim(f)){alert('— Oops, you missed something: —\n\n'+f);return false}return true});b("body.logged-in.profile.profile-edit :input.ws-plugin--s2member-profile-field-4bp").closest("form").submit(function(){var e=this,d="",c="",f="";b("input#field_1",e).attr({"aria-required":"true"});b(":input",e).each(function(){var g=b.trim(b(this).attr("id")).replace(/-[0-9]+$/g,"");if(g&&(d=b.trim(b('label[for="'+g+'"]',e).first().text().replace(/[\r\n\t]+/g," ")))){if(c=ws_plugin__s2member_validationErrors(d,this,e)){f+=c+"\n\n"}}});if(f=b.trim(f)){alert('— Oops, you missed something: —\n\n'+f);return false}return true})}ws_plugin__s2member_passwordStrength=function(d,f,e,c){if(d instanceof jQuery&&f instanceof jQuery&&e instanceof jQuery&&c instanceof jQuery&&typeof passwordStrength==="function"&&typeof pwsL10n==="object"){c.removeClass("ws-plugin--s2member-password-strength-short ws-plugin--s2member-password-strength-bad ws-plugin--s2member-password-strength-good ws-plugin--s2member-password-strength-strong ws-plugin--s2member-password-strength-mismatch");switch(passwordStrength(f.val(),d.val(),e.val())){case 1:c.addClass("ws-plugin--s2member-password-strength-short").html(pwsL10n["short"]);break;case 2:c.addClass("ws-plugin--s2member-password-strength-bad").html(pwsL10n.bad);break;case 3:c.addClass("ws-plugin--s2member-password-strength-good").html(pwsL10n.good);break;case 4:c.addClass("ws-plugin--s2member-password-strength-strong").html(pwsL10n.strong);break;case 5:c.addClass("ws-plugin--s2member-password-strength-mismatch").html(pwsL10n.mismatch);break;default:c.addClass("ws-plugin--s2member-password-strength-short").html(pwsL10n["short"])}}return};ws_plugin__s2member_validationErrors=function(o,n,d,j,i){if(typeof o==="string"&&o&&typeof n==="object"&&typeof d==="object"){if(typeof n.tagName==="string"&&n.tagName.match(/^(input|textarea|select)$/i)&&!n.disabled){var q=n.tagName.toLowerCase(),m=b(n),l=b.trim(m.attr("type")).toLowerCase(),c=b.trim(m.attr("name")),p=m.val();var j=(typeof j==="boolean")?j:(m.attr("aria-required")==="true"),i=(typeof i==="string")?i:b.trim(m.attr("data-expected"));var h=('0'>0)?true:false;var f=new RegExp('^()@',"i");if(q==="input"&&l==="checkbox"&&c.match(/\[\]$/)){if(typeof n.id==="string"&&n.id.match(/-0$/)){if(j&&!b('input[name="'+c.replace(/([\[\]])/g,"$1")+'"]:checked',d).length){return o+'\nPlease check at least one of the boxes.'}}}else{if(q==="input"&&l==="checkbox"){if(j&&!n.checked){return o+'\nRequired. This box must be checked.'}}else{if(q==="input"&&l==="radio"){if(typeof n.id==="string"&&n.id.match(/-0$/)){if(j&&!b('input[name="'+c.replace(/([\[\]])/g,"$1")+'"]:checked',d).length){return o+'\nPlease select one of the options.'}}}else{if(q==="select"&&m.attr("multiple")){if(j&&(!(p instanceof Array)||!p.length)){return o+'\nPlease select at least one of the options.'}}else{if(typeof p!=="string"||(j&&!(p=b.trim(p)).length)){return o+'\nThis is a required field, please try again.'}else{if((p=b.trim(p)).length&&((q==="input"&&l.match(/^(text|password)$/i))||q==="textarea")&&typeof i==="string"&&i.length){if(i==="numeric-wp-commas"&&(!p.match(/^[0-9\.,]+$/)||isNaN(p.replace(/,/g,"")))){return o+'\nMust be numeric ( with or without decimals, commas allowed ).'}else{if(i==="numeric"&&(!p.match(/^[0-9\.]+$/)||isNaN(p))){return o+'\nMust be numeric ( with or without decimals, no commas ).'}else{if(i==="integer"&&(!p.match(/^[0-9]+$/)||isNaN(p))){return o+'\nMust be an integer ( a whole number, without any decimals ).'}else{if(i==="integer-gt-0"&&(!p.match(/^[0-9]+$/)||isNaN(p)||p<=0)){return o+'\nMust be an integer > 0 ( whole number, no decimals, greater than 0 ).'}else{if(i==="float"&&(!p.match(/^[0-9\.]+$/)||!p.match(/[0-9]/)||!p.match(/\./)||isNaN(p))){return o+'\nMust be a float ( floating point number, decimals required ).'}else{if(i==="float-gt-0"&&(!p.match(/^[0-9\.]+$/)||!p.match(/[0-9]/)||!p.match(/\./)||isNaN(p)||p<=0)){return o+'\nMust be a float > 0 ( floating point number, decimals required, greater than 0 ).'}else{if(i==="date"&&!p.match(/^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$/)){return o+'\nMust be a date ( required date format: dd/mm/yyyy ).'}else{if(i==="email"&&!p.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 o+'\nMust be a valid email address.'}else{if(i==="email"&&h&&p.match(f)){return o+"\n"+b.sprintf('Please use a personal email address.\nAddresses like <%s@> are problematic.',p.split("@")[0])}else{if(i==="url"&&!p.match(/^http(s?)\:\/\/(.{5,})$/i)){return o+'\nMust be a full URL ( starting with http or https ).'}else{if(i==="domain"&&!p.match(/^([a-z0-9]+)(((-*)([a-z0-9]+))*)(((\.)([a-z0-9]+)(((-*)([a-z0-9]+))*))*)(\.)([a-z]{2,6})$/i)){return o+'\nMust be a domain name ( domain name only, without http ).'}else{if(i==="phone"&&(!p.match(/^[0-9 \(\)\-]+$/)||p.replace(/[^0-9]/g,"").length!==10)){return o+'\nMust be a phone # ( 10 digits w/possible hyphens,spaces,brackets ).'}else{if(i==="uszip"&&!p.match(/^[0-9]{5}(-[0-9]{4})?$/)){return o+'\nMust be a US zipcode ( 5-9 digits w/possible hyphen ).'}else{if(i==="cazip"&&!p.match(/^[0-9A-Z]{3}( ?)[0-9A-Z]{3}$/i)){return o+'\nMust be a Canadian zipcode ( 6 alpha-numerics w/possible space ).'}else{if(i==="uczip"&&!p.match(/^[0-9]{5}(-[0-9]{4})?$/)&&!p.match(/^[0-9A-Z]{3}( ?)[0-9A-Z]{3}$/i)){return o+'\nMust be a zipcode ( either a US or Canadian zipcode ).'}else{if(i.match(/^alphanumerics-spaces-punctuation-([0-9]+)(-e)?$/)&&!p.match(/^[a-z 0-9,\.\/\?\:;"'\{\}\[\]\|\\\+\=_\-\(\)\*&\^%\$#@\!`~]+$/i)){return o+'\nPlease use alphanumerics, spaces & punctuation only.'}else{if(i.match(/^alphanumerics-spaces-([0-9]+)(-e)?$/)&&!p.match(/^[a-z 0-9]+$/i)){return o+'\nPlease use alphanumerics & spaces only.'}else{if(i.match(/^alphanumerics-punctuation-([0-9]+)(-e)?$/)&&!p.match(/^[a-z0-9,\.\/\?\:;"'\{\}\[\]\|\\\+\=_\-\(\)\*&\^%\$#@\!`~]+$/i)){return o+'\nPlease use alphanumerics & punctuation only ( no spaces ).'}else{if(i.match(/^alphanumerics-([0-9]+)(-e)?$/)&&!p.match(/^[a-z0-9]+$/i)){return o+'\nPlease use alphanumerics only ( no spaces/punctuation ).'}else{if(i.match(/^alphabetics-([0-9]+)(-e)?$/)&&!p.match(/^[a-z]+$/i)){return o+'\nPlease use alphabetics only ( no digits/spaces/punctuation ).'}else{if(i.match(/^numerics-([0-9]+)(-e)?$/)&&!p.match(/^[0-9]+$/i)){return o+'\nPlease use numeric digits only.'}else{if(i.match(/^(any|alphanumerics-spaces-punctuation|alphanumerics-spaces|alphanumerics-punctuation|alphanumerics|alphabetics|numerics)-([0-9]+)(-e)?$/)){var k=i.split("-"),e=Number(k[1]),g=(k.length>2&&k[2]==="e")?true:false;if(g&&p.length!==e){return o+"\n"+b.sprintf('Must be exactly %s %s.',e,((k[0]==="numerics")?((e===1)?'digit':'digits'):((e===1)?'character':'characters')))}else{if(p.length=0){f=f-1,e="l"}else{f=f+1,e="r"}}}for(var j=h[f],i=h[f].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__s2member_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__s2member_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__s2member_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__s2member_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__s2member_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__s2member_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="s2member_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__s2member_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://www.debtdeflation.com/blogs/wp-admin/admin-ajax.php',{action:"ws_plugin__s2member_pro_paypal_ajax_tax",ws_plugin__s2member_pro_paypal_ajax_tax:'fnIyOm9jNm1XbEhBY3ljRGJNQ01EY1NtOGEyOGJqQ2ZWQnJiOmVhMDBkYzViYTViMzA2MDRhOTg2ODIzNzE1Nzc0ZTdkfKsQtylmS8FAWLLr1Oba5byBRGyENY0yXMlNtuC7IGTa7nXujJiTjYE5hmYfQQtWlerMJHr0zSIMHVyyAd3sD8I',"ws_plugin__s2member_pro_paypal_ajax_tax_vars[attr]":N,"ws_plugin__s2member_pro_paypal_ajax_tax_vars[state]":R,"ws_plugin__s2member_pro_paypal_ajax_tax_vars[country]":S,"ws_plugin__s2member_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(S2MEMBER_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(S2MEMBER_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(S2MEMBER_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(S2MEMBER_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__s2member_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__s2member_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="s2member_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__s2member_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://www.debtdeflation.com/blogs/wp-admin/admin-ajax.php',{action:"ws_plugin__s2member_pro_paypal_ajax_tax",ws_plugin__s2member_pro_paypal_ajax_tax:'fnIyOlNMVG92b0VVc1k4T1dkbzNFRnlJRmNQRW4yTWJ2SnJhOmM4YmMxM2VmNjBkYjQ0OTkxOTI2MjE0YjQyZDQwNTQzfE-WCch5DiyWT3jlK518zljYk1Szf1bx6zYEtXl0s-ZXp0MtBCxCeXUHLJA_DZSZ9XzU1EM1j8jLgnw9HCo6ya4',"ws_plugin__s2member_pro_paypal_ajax_tax_vars[attr]":N,"ws_plugin__s2member_pro_paypal_ajax_tax_vars[state]":R,"ws_plugin__s2member_pro_paypal_ajax_tax_vars[country]":S,"ws_plugin__s2member_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(S2MEMBER_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(S2MEMBER_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(S2MEMBER_CURRENT_USER_LAST_NAME):null});y(J+" input#s2member-pro-paypal-checkout-email").val(S2MEMBER_CURRENT_USER_EMAIL).attr(h);y(J+" input#s2member-pro-paypal-checkout-username").val(S2MEMBER_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__s2member_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__s2member_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__s2member_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)})})()});