CINXE.COM

Donate

<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="CACHE-CONTROL" content="NO-CACHE"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">window.NREUM||(NREUM={});NREUM.info = {"beacon":"bam.nr-data.net","errorBeacon":"bam.nr-data.net","licenseKey":"NRJS-b918dce1d67333daf65","applicationID":"542153115","transactionName":"ZQFTMEVXW0ZYB0JbC1xLfDJ0GX1aVAF1XQpGFl4IW1NHGnAKUlcc","queueTime":0,"applicationTime":204,"agent":"","atts":""}</script><script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"601367889",accountID:"2869748",trustKey:"2925508",xpid:"Vg4BWFFXABAFUFNTAgIGV1E=",licenseKey:"NRJS-b918dce1d67333daf65",applicationID:"542153115"};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{s.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(31),s={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(s.console=!0,o.indexOf("dev")!==-1&&(s.dev=!0),o.indexOf("nr_dev")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on("internal-error",function(t){r(t.stack)}),s.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),s.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(s,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,s){try{l?l-=1:o(s||new UncaughtException(t,e,n),!0)}catch(f){try{i("ierr",[f,c.now(),!0])}catch(d){}}return"function"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t,e){var n=e?null:c.now();i("err",[t,n])}var i=t("handle"),a=t(32),s=t("ee"),c=t("loader"),f=t("gos"),u=window.onerror,d=!1,p="nr@seenError";if(!c.disabled){var l=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(14),t(13),"addEventListener"in window&&t(7),c.xhrWrappable&&t(15),d=!0)}s.on("fn-start",function(t,e,n){d&&(l+=1)}),s.on("fn-err",function(t,e,n){d&&!n[p]&&(f(n,p,function(){return!0}),this.thrown=!0,o(n))}),s.on("fn-end",function(){d&&!this.thrown&&l>0&&(l-=1)}),s.on("internal-error",function(t){i("ierr",[t,c.now(),!0])})}},{}],3:[function(t,e,n){var r=t("loader");r.disabled||(r.features.ins=!0)},{}],4:[function(t,e,n){function r(){U++,L=g.hash,this[u]=y.now()}function o(){U--,g.hash!==L&&i(0,!0);var t=y.now();this[h]=~~this[h]+t-this[u],this[d]=t}function i(t,e){E.emit("newURL",[""+g,e])}function a(t,e){t.on(e,function(){this[e]=y.now()})}var s="-start",c="-end",f="-body",u="fn"+s,d="fn"+c,p="cb"+s,l="cb"+c,h="jsTime",m="fetch",v="addEventListener",w=window,g=w.location,y=t("loader");if(w[v]&&y.xhrWrappable&&!y.disabled){var x=t(11),b=t(12),E=t(9),R=t(7),O=t(14),T=t(8),S=t(15),P=t(10),M=t("ee"),C=M.get("tracer"),N=t(23);t(17),y.features.spa=!0;var L,U=0;M.on(u,r),b.on(p,r),P.on(p,r),M.on(d,o),b.on(l,o),P.on(l,o),M.buffer([u,d,"xhr-resolved"]),R.buffer([u]),O.buffer(["setTimeout"+c,"clearTimeout"+s,u]),S.buffer([u,"new-xhr","send-xhr"+s]),T.buffer([m+s,m+"-done",m+f+s,m+f+c]),E.buffer(["newURL"]),x.buffer([u]),b.buffer(["propagate",p,l,"executor-err","resolve"+s]),C.buffer([u,"no-"+u]),P.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"]),a(T,m+s),a(T,m+"-done"),a(P,"new-jsonp"),a(P,"jsonp-end"),a(P,"cb-start"),E.on("pushState-end",i),E.on("replaceState-end",i),w[v]("hashchange",i,N(!0)),w[v]("load",i,N(!0)),w[v]("popstate",function(){i(0,U>1)},N(!0))}},{}],5:[function(t,e,n){function r(){var t=new PerformanceObserver(function(t,e){var n=t.getEntries();s(v,[n])});try{t.observe({entryTypes:["resource"]})}catch(e){}}function o(t){if(s(v,[window.performance.getEntriesByType(w)]),window.performance["c"+p])try{window.performance[h](m,o,!1)}catch(t){}else try{window.performance[h]("webkit"+m,o,!1)}catch(t){}}function i(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var a=t("ee"),s=t("handle"),c=t(14),f=t(13),u=t(6),d=t(23),p="learResourceTimings",l="addEventListener",h="removeEventListener",m="resourcetimingbufferfull",v="bstResource",w="resource",g="-start",y="-end",x="fn"+g,b="fn"+y,E="bstTimer",R="pushState",O=t("loader");if(!O.disabled){O.features.stn=!0,t(9),"addEventListener"in window&&t(7);var T=NREUM.o.EV;a.on(x,function(t,e){var n=t[0];n instanceof T&&(this.bstStart=O.now())}),a.on(b,function(t,e){var n=t[0];n instanceof T&&s("bst",[n,e,this.bstStart,O.now()])}),c.on(x,function(t,e,n){this.bstStart=O.now(),this.bstType=n}),c.on(b,function(t,e){s(E,[e,this.bstStart,O.now(),this.bstType])}),f.on(x,function(){this.bstStart=O.now()}),f.on(b,function(t,e){s(E,[e,this.bstStart,O.now(),"requestAnimationFrame"])}),a.on(R+g,function(t){this.time=O.now(),this.startPath=location.pathname+location.hash}),a.on(R+y,function(t){s("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),u()?(s(v,[window.performance.getEntriesByType("resource")]),r()):l in window.performance&&(window.performance["c"+p]?window.performance[l](m,o,d(!1)):window.performance[l]("webkit"+m,o,d(!1))),document[l]("scroll",i,d(!1)),document[l]("keypress",i,d(!1)),document[l]("click",i,d(!1))}}},{}],6:[function(t,e,n){e.exports=function(){return"PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver}},{}],7:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){s.inPlace(t,[u,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),s=t("wrap-function")(a,!0),c=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,e){var n=t[1];if(null!==n&&("function"==typeof n||"object"==typeof n)){var r=c(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?s(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],8:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=i(arguments),e={};o.emit(n+"before-start",[t],e);var a;e[m]&&e[m].dt&&(a=e[m].dt);var s=r.apply(this,t);return o.emit(n+"start",[t,a],s),s.then(function(t){return o.emit(n+"end",[null,t],s),t},function(t){throw o.emit(n+"end",[t],s),t})})}var o=t("ee").get("fetch"),i=t(32),a=t(31);e.exports=o;var s=window,c="fetch-",f=c+"body-",u=["arrayBuffer","blob","json","text","formData"],d=s.Request,p=s.Response,l=s.fetch,h="prototype",m="nr@context";d&&p&&l&&(a(u,function(t,e){r(d[h],e,f),r(p[h],e,f)}),r(s,"fetch",c),o.on(c+"end",function(t,e){var n=this;if(e){var r=e.headers.get("content-length");null!==r&&(n.rxSize=r),o.emit(c+"done",[null,e],n)}else o.emit(c+"done",[t],n)}))},{}],9:[function(t,e,n){var r=t("ee").get("history"),o=t("wrap-function")(r);e.exports=r;var i=window.history&&window.history.constructor&&window.history.constructor.prototype,a=window.history;i&&i.pushState&&i.replaceState&&(a=i),o.inPlace(a,["pushState","replaceState"],"-")},{}],10:[function(t,e,n){function r(t){function e(){f.emit("jsonp-end",[],l),t.removeEventListener("load",e,c(!1)),t.removeEventListener("error",n,c(!1))}function n(){f.emit("jsonp-error",[],l),f.emit("jsonp-end",[],l),t.removeEventListener("load",e,c(!1)),t.removeEventListener("error",n,c(!1))}var r=t&&"string"==typeof t.nodeName&&"script"===t.nodeName.toLowerCase();if(r){var o="function"==typeof t.addEventListener;if(o){var a=i(t.src);if(a){var d=s(a),p="function"==typeof d.parent[d.key];if(p){var l={};u.inPlace(d.parent,[d.key],"cb-",l),t.addEventListener("load",e,c(!1)),t.addEventListener("error",n,c(!1)),f.emit("new-jsonp",[t.src],l)}}}}}function o(){return"addEventListener"in window}function i(t){var e=t.match(d);return e?e[1]:null}function a(t,e){var n=t.match(l),r=n[1],o=n[3];return o?a(o,e[r]):e[r]}function s(t){var e=t.match(p);return e&&e.length>=3?{key:e[2],parent:a(e[1],window)}:{key:t,parent:window}}var c=t(23),f=t("ee").get("jsonp"),u=t("wrap-function")(f);if(e.exports=f,o()){var d=/[?&](?:callback|cb)=([^&#]+)/,p=/(.*)\.([^.]+)/,l=/^(\w+)(\.|$)(.*)$/,h=["appendChild","insertBefore","replaceChild"];Node&&Node.prototype&&Node.prototype.appendChild?u.inPlace(Node.prototype,h,"dom-"):(u.inPlace(HTMLElement.prototype,h,"dom-"),u.inPlace(HTMLHeadElement.prototype,h,"dom-"),u.inPlace(HTMLBodyElement.prototype,h,"dom-")),f.on("dom-start",function(t){r(t[0])})}},{}],11:[function(t,e,n){var r=t("ee").get("mutation"),o=t("wrap-function")(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],12:[function(t,e,n){function r(t){var e=i.context(),n=s(t,"executor-",e,null,!1),r=new f(n);return i.context(r).getCtx=function(){return e},r}var o=t("wrap-function"),i=t("ee").get("promise"),a=t("ee").getOrSetContext,s=o(i),c=t(31),f=NREUM.o.PR;e.exports=i,f&&(window.Promise=r,["all","race"].forEach(function(t){var e=f[t];f[t]=function(n){function r(t){return function(){i.emit("propagate",[null,!o],a,!1,!1),o=o||!t}}var o=!1;c(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var a=e.apply(f,arguments),s=f.resolve(a);return s}}),["resolve","reject"].forEach(function(t){var e=f[t];f[t]=function(t){var n=e.apply(f,arguments);return t!==n&&i.emit("propagate",[t,!0],n,!1,!1),n}}),f.prototype["catch"]=function(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{value:r}}),c(Object.getOwnPropertyNames(f),function(t,e){try{r[e]=f[e]}catch(n){}}),o.wrapInPlace(f.prototype,"then",function(t){return function(){var e=this,n=o.argsToArray.apply(this,arguments),r=a(e);r.promise=e,n[0]=s(n[0],"cb-",r,null,!1),n[1]=s(n[1],"cb-",r,null,!1);var c=t.apply(this,n);return r.nextPromise=c,i.emit("propagate",[e,!0],c,!1,!1),c}}),i.on("executor-start",function(t){t[0]=s(t[0],"resolve-",this,null,!1),t[1]=s(t[1],"resolve-",this,null,!1)}),i.on("executor-err",function(t,e,n){t[1](n)}),i.on("cb-end",function(t,e,n){i.emit("propagate",[n,!0],this.nextPromise,!1,!1)}),i.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=i.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+f})},{}],13:[function(t,e,n){var r=t("ee").get("raf"),o=t("wrap-function")(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],14:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t("wrap-function")(i),s="setTimeout",c="setInterval",f="clearTimeout",u="-start",d="-";e.exports=i,a.inPlace(window,[s,"setImmediate"],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(c+u,r),i.on(s+u,o)},{}],15:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",s)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,y,"fn-",s)}function i(t){x.push(t),m&&(E?E.then(a):w?w(a):(R=-R,O.data=R))}function a(){for(var t=0;t<x.length;t++)r([],x[t]);x.length&&(x=[])}function s(t,e){return e}function c(t,e){for(var n in t)e[n]=t[n];return e}t(7);var f=t("ee"),u=f.get("xhr"),d=t("wrap-function")(u),p=t(23),l=NREUM.o,h=l.XHR,m=l.MO,v=l.PR,w=l.SI,g="readystatechange",y=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],x=[];e.exports=u;var b=window.XMLHttpRequest=function(t){var e=new h(t);try{u.emit("new-xhr",[e],e),e.addEventListener(g,o,p(!1))}catch(n){try{u.emit("internal-error",[n])}catch(r){}}return e};if(c(h,b),b.prototype=h.prototype,d.inPlace(b.prototype,["open","send"],"-xhr-",s),u.on("send-xhr-start",function(t,e){r(t,e),i(e)}),u.on("open-xhr-start",r),m){var E=v&&v.resolve();if(!w&&!v){var R=1,O=document.createTextNode(R);new m(a).observe(O,{characterData:!0})}}else f.on("fn-end",function(t){t[0]&&t[0].type===g||a()})},{}],16:[function(t,e,n){function r(t){if(!s(t))return null;var e=window.NREUM;if(!e.loader_config)return null;var n=(e.loader_config.accountID||"").toString()||null,r=(e.loader_config.agentID||"").toString()||null,f=(e.loader_config.trustKey||"").toString()||null;if(!n||!r)return null;var h=l.generateSpanId(),m=l.generateTraceId(),v=Date.now(),w={spanId:h,traceId:m,timestamp:v};return(t.sameOrigin||c(t)&&p())&&(w.traceContextParentHeader=o(h,m),w.traceContextStateHeader=i(h,v,n,r,f)),(t.sameOrigin&&!u()||!t.sameOrigin&&c(t)&&d())&&(w.newrelicHeader=a(h,m,v,n,r,f)),w}function o(t,e){return"00-"+e+"-"+t+"-01"}function i(t,e,n,r,o){var i=0,a="",s=1,c="",f="";return o+"@nr="+i+"-"+s+"-"+n+"-"+r+"-"+t+"-"+a+"-"+c+"-"+f+"-"+e}function a(t,e,n,r,o,i){var a="btoa"in window&&"function"==typeof window.btoa;if(!a)return null;var s={v:[0,1],d:{ty:"Browser",ac:r,ap:o,id:t,tr:e,ti:n}};return i&&r!==i&&(s.d.tk=i),btoa(JSON.stringify(s))}function s(t){return f()&&c(t)}function c(t){var e=!1,n={};if("init"in NREUM&&"distributed_tracing"in NREUM.init&&(n=NREUM.init.distributed_tracing),t.sameOrigin)e=!0;else if(n.allowed_origins instanceof Array)for(var r=0;r<n.allowed_origins.length;r++){var o=h(n.allowed_origins[r]);if(t.hostname===o.hostname&&t.protocol===o.protocol&&t.port===o.port){e=!0;break}}return e}function f(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.enabled}function u(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.exclude_newrelic_header}function d(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&NREUM.init.distributed_tracing.cors_use_newrelic_header!==!1}function p(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.cors_use_tracecontext_headers}var l=t(28),h=t(18);e.exports={generateTracePayload:r,shouldGenerateTrace:s}},{}],17:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<p;r++)t.removeEventListener(d[r],this.listener,!1);return e.protocol&&"data"===e.protocol?void g("Ajax/DataUrl/Excluded"):void(e.aborted||(n.duration=a.now()-this.startTime,this.loadCaptureCalled||4!==t.readyState?null==e.status&&(e.status=0):i(this,t),n.cbTime=this.cbTime,s("xhr",[e,n,this.startTime,this.endTime,"xhr"],this)))}}function o(t,e){var n=c(e),r=t.params;r.hostname=n.hostname,r.port=n.port,r.protocol=n.protocol,r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.parsedOrigin=n,t.sameOrigin=n.sameOrigin}function i(t,e){t.params.status=e.status;var n=v(e,t.lastSize);if(n&&(t.metrics.rxSize=n),t.sameOrigin){var r=e.getResponseHeader("X-NewRelic-App-Data");r&&(t.params.cat=r.split(", ").pop())}t.loadCaptureCalled=!0}var a=t("loader");if(a.xhrWrappable&&!a.disabled){var s=t("handle"),c=t(18),f=t(16).generateTracePayload,u=t("ee"),d=["load","error","abort","timeout"],p=d.length,l=t("id"),h=t(24),m=t(22),v=t(19),w=t(23),g=t(25).recordSupportability,y=NREUM.o.REQ,x=window.XMLHttpRequest;a.features.xhr=!0,t(15),t(8),u.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,e.loadCaptureCalled=!1,e.params=this.params||{},e.metrics=this.metrics||{},t.addEventListener("load",function(n){i(e,t)},w(!1)),h&&(h>34||h<10)||t.addEventListener("progress",function(t){e.lastSize=t.loaded},w(!1))}),u.on("open-xhr-start",function(t){this.params={method:t[0]},o(this,t[1]),this.metrics={}}),u.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid);var n=f(this.parsedOrigin);if(n){var r=!1;n.newrelicHeader&&(e.setRequestHeader("newrelic",n.newrelicHeader),r=!0),n.traceContextParentHeader&&(e.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&e.setRequestHeader("tracestate",n.traceContextStateHeader),r=!0),r&&(this.dt=n)}}),u.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=m(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"!==t.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{u.emit("internal-error",[n])}catch(r){}}};for(var s=0;s<p;s++)e.addEventListener(d[s],this.listener,w(!1))}),u.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),u.on("xhr-load-added",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),u.on("xhr-load-removed",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),u.on("xhr-resolved",function(){this.endTime=a.now()}),u.on("addEventListener-end",function(t,e){e instanceof x&&"load"===t[0]&&u.emit("xhr-load-added",[t[1],t[2]],e)}),u.on("removeEventListener-end",function(t,e){e instanceof x&&"load"===t[0]&&u.emit("xhr-load-removed",[t[1],t[2]],e)}),u.on("fn-start",function(t,e,n){e instanceof x&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),u.on("fn-end",function(t,e){this.xhrCbStart&&u.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)}),u.on("fetch-before-start",function(t){function e(t,e){var n=!1;return e.newrelicHeader&&(t.set("newrelic",e.newrelicHeader),n=!0),e.traceContextParentHeader&&(t.set("traceparent",e.traceContextParentHeader),e.traceContextStateHeader&&t.set("tracestate",e.traceContextStateHeader),n=!0),n}var n,r=t[1]||{};"string"==typeof t[0]?n=t[0]:t[0]&&t[0].url?n=t[0].url:window.URL&&t[0]&&t[0]instanceof URL&&(n=t[0].href),n&&(this.parsedOrigin=c(n),this.sameOrigin=this.parsedOrigin.sameOrigin);var o=f(this.parsedOrigin);if(o&&(o.newrelicHeader||o.traceContextParentHeader))if("string"==typeof t[0]||window.URL&&t[0]&&t[0]instanceof URL){var i={};for(var a in r)i[a]=r[a];i.headers=new Headers(r.headers||{}),e(i.headers,o)&&(this.dt=o),t.length>1?t[1]=i:t.push(i)}else t[0]&&t[0].headers&&e(t[0].headers,o)&&(this.dt=o)}),u.on("fetch-start",function(t,e){this.params={},this.metrics={},this.startTime=a.now(),this.dt=e,t.length>=1&&(this.target=t[0]),t.length>=2&&(this.opts=t[1]);var n,r=this.opts||{},i=this.target;if("string"==typeof i?n=i:"object"==typeof i&&i instanceof y?n=i.url:window.URL&&"object"==typeof i&&i instanceof URL&&(n=i.href),o(this,n),"data"!==this.params.protocol){var s=(""+(i&&i instanceof y&&i.method||r.method||"GET")).toUpperCase();this.params.method=s,this.txSize=m(r.body)||0}}),u.on("fetch-done",function(t,e){if(this.endTime=a.now(),this.params||(this.params={}),"data"===this.params.protocol)return void g("Ajax/DataUrl/Excluded");this.params.status=e?e.status:0;var n;"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);var r={txSize:this.txSize,rxSize:n,duration:a.now()-this.startTime};s("xhr",[this.params,r,this.startTime,this.endTime,"fetch"],this)})}},{}],18:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];if(0===(t||"").indexOf("data:"))return{protocol:"data"};var e=document.createElement("a"),n=window.location,o={};e.href=t,o.port=e.port;var i=e.href.split("://");!o.port&&i[1]&&(o.port=i[1].split("/")[0].split("@").pop().split(":")[1]),o.port&&"0"!==o.port||(o.port="https"===i[0]?"443":"80"),o.hostname=e.hostname||n.hostname,o.pathname=e.pathname,o.protocol=i[0],"/"!==o.pathname.charAt(0)&&(o.pathname="/"+o.pathname);var a=!e.protocol||":"===e.protocol||e.protocol===n.protocol,s=e.hostname===document.domain&&e.port===n.port;return o.sameOrigin=a&&(!e.hostname||s),"/"===o.pathname&&(r[t]=o),o}},{}],19:[function(t,e,n){function r(t,e){var n=t.responseType;return"json"===n&&null!==e?e:"arraybuffer"===n||"blob"===n||"json"===n?o(t.response):"text"===n||""===n||void 0===n?o(t.responseText):void 0}var o=t(22);e.exports=r},{}],20:[function(t,e,n){function r(){}function o(t,e,n,r){return function(){return u.recordSupportability("API/"+e+"/called"),i(t+e,[f.now()].concat(s(arguments)),n?null:this,r),n?void 0:this}}var i=t("handle"),a=t(31),s=t(32),c=t("ee").get("tracer"),f=t("loader"),u=t(25),d=NREUM;"undefined"==typeof window.newrelic&&(newrelic=d);var p=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],l="api-",h=l+"ixn-";a(p,function(t,e){d[e]=o(l,e,!0,"api")}),d.addPageAction=o(l,"addPageAction",!0),d.setCurrentRouteName=o(l,"routeName",!0),e.exports=newrelic,d.interaction=function(){return(new r).get()};var m=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(h+"tracer",[f.now(),t,n],r),function(){if(c.emit((o?"":"no-")+"fn-start",[f.now(),r,o],n),o)try{return e.apply(this,arguments)}catch(t){throw c.emit("fn-err",[arguments,this,t],n),t}finally{c.emit("fn-end",[f.now()],n)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){m[e]=o(h,e)}),newrelic.noticeError=function(t,e){"string"==typeof t&&(t=new Error(t)),u.recordSupportability("API/noticeError/called"),i("err",[t,f.now(),!1,e])}},{}],21:[function(t,e,n){function r(t){if(NREUM.init){for(var e=NREUM.init,n=t.split("."),r=0;r<n.length-1;r++)if(e=e[n[r]],"object"!=typeof e)return;return e=e[n[n.length-1]]}}e.exports={getConfiguration:r}},{}],22:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],23:[function(t,e,n){var r=!1;try{var o=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}catch(i){}e.exports=function(t){return r?{passive:!0,capture:!!t}:!!t}},{}],24:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],25:[function(t,e,n){function r(t,e){var n=[a,t,{name:t},e];return i("storeMetric",n,null,"api"),n}function o(t,e){var n=[s,t,{name:t},e];return i("storeEventMetrics",n,null,"api"),n}var i=t("handle"),a="sm",s="cm";e.exports={constants:{SUPPORTABILITY_METRIC:a,CUSTOM_METRIC:s},recordSupportability:r,recordCustom:o}},{}],26:[function(t,e,n){function r(){return s.exists&&performance.now?Math.round(performance.now()):(i=Math.max((new Date).getTime(),i))-a}function o(){return i}var i=(new Date).getTime(),a=i,s=t(33);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=o},{}],27:[function(t,e,n){function r(t,e){var n=t.getEntries();n.forEach(function(t){"first-paint"===t.name?l("timing",["fp",Math.floor(t.startTime)]):"first-contentful-paint"===t.name&&l("timing",["fcp",Math.floor(t.startTime)])})}function o(t,e){var n=t.getEntries();if(n.length>0){var r=n[n.length-1];if(f&&f<r.startTime)return;var o=[r],i=a({});i&&o.push(i),l("lcp",o)}}function i(t){t.getEntries().forEach(function(t){t.hadRecentInput||l("cls",[t])})}function a(t){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(e)return e.type&&(t["net-type"]=e.type),e.effectiveType&&(t["net-etype"]=e.effectiveType),e.rtt&&(t["net-rtt"]=e.rtt),e.downlink&&(t["net-dlink"]=e.downlink),t}function s(t){if(t instanceof w&&!y){var e=Math.round(t.timeStamp),n={type:t.type};a(n),e<=h.now()?n.fid=h.now()-e:e>h.offset&&e<=Date.now()?(e-=h.offset,n.fid=h.now()-e):e=h.now(),y=!0,l("timing",["fi",e,n])}}function c(t){"hidden"===t&&(f=h.now(),l("pageHide",[f]))}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var f,u,d,p,l=t("handle"),h=t("loader"),m=t(30),v=t(23),w=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){u=new PerformanceObserver(r);try{u.observe({entryTypes:["paint"]})}catch(g){}d=new PerformanceObserver(o);try{d.observe({entryTypes:["largest-contentful-paint"]})}catch(g){}p=new PerformanceObserver(i);try{p.observe({type:"layout-shift",buffered:!0})}catch(g){}}if("addEventListener"in document){var y=!1,x=["click","keydown","mousedown","pointerdown","touchstart"];x.forEach(function(t){document.addEventListener(t,s,v(!1))})}m(c)}},{}],28:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var o,i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",a="",s=0;s<i.length;s++)o=i[s],"x"===o?a+=t().toString(16):"y"===o?(o=3&t()|8,a+=o.toString(16)):a+=o;return a}function o(){return a(16)}function i(){return a(32)}function a(t){function e(){return n?15&n[r++]:16*Math.random()|0}var n=null,r=0,o=window.crypto||window.msCrypto;o&&o.getRandomValues&&Uint8Array&&(n=o.getRandomValues(new Uint8Array(t)));for(var i=[],a=0;a<t;a++)i.push(e().toString(16));return i.join("")}e.exports={generateUuid:r,generateSpanId:o,generateTraceId:i}},{}],29:[function(t,e,n){function r(t,e){if(!o)return!1;if(t!==o)return!1;if(!e)return!0;if(!i)return!1;for(var n=i.split("."),r=e.split("."),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var o=null,i=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var s=navigator.userAgent,c=s.match(a);c&&s.indexOf("Chrome")===-1&&s.indexOf("Chromium")===-1&&(o="Safari",i=c[1])}e.exports={agent:o,version:i,match:r}},{}],30:[function(t,e,n){function r(t){function e(){t(s&&document[s]?document[s]:document[i]?"hidden":"visible")}"addEventListener"in document&&a&&document.addEventListener(a,e,o(!1))}var o=t(23);e.exports=r;var i,a,s;"undefined"!=typeof document.hidden?(i="hidden",a="visibilitychange",s="visibilityState"):"undefined"!=typeof document.msHidden?(i="msHidden",a="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(i="webkitHidden",a="webkitvisibilitychange",s="webkitVisibilityState")},{}],31:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],32:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],33:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?f(t,c,a):a()}function n(n,r,o,i,a){if(a!==!1&&(a=!0),!l.aborted||i){t&&a&&t(n,r,o);for(var s=e(o),c=m(n),f=c.length,u=0;u<f;u++)c[u].apply(s,r);var p=d[y[n]];return p&&p.push([x,n,r,s]),s}}function i(t,e){g[t]=m(t).concat(e)}function h(t,e){var n=g[t];if(n)for(var r=0;r<n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return g[t]||[]}function v(t){return p[t]=p[t]||o(n)}function w(t,e){l.aborted||u(t,function(t,n){e=e||"feature",y[n]=e,e in d||(d[e]=[])})}var g={},y={},x={on:i,addEventListener:i,removeEventListener:h,emit:n,get:v,listeners:m,context:e,buffer:w,abort:s,aborted:!1};return x}function i(t){return f(t,c,a)}function a(){return new r}function s(){(d.api||d.feature)&&(l.aborted=!0,d=l.backlog={})}var c="nr@context",f=t("gos"),u=t(31),d={},p={},l=e.exports=o();e.exports.getOrSetContext=i,l.backlog=d},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!T++){var t=O.info=NREUM.info,e=m.getElementsByTagName("script")[0];if(setTimeout(f.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return f.abort();c(E,function(e,n){t[e]||(t[e]=n)});var n=a();s("mark",["onload",n+O.offset],null,"api"),s("timing",["load",n]);var r=m.createElement("script");0===t.agent.indexOf("http://")||0===t.agent.indexOf("https://")?r.src=t.agent:r.src=l+"://"+t.agent,e.parentNode.insertBefore(r,e)}}function o(){"complete"===m.readyState&&i()}function i(){s("mark",["domContent",a()+O.offset],null,"api")}var a=t(26),s=t("handle"),c=t(31),f=t("ee"),u=t(29),d=t(21),p=t(23),l=d.getConfiguration("ssl")===!1?"http":"https",h=window,m=h.document,v="addEventListener",w="attachEvent",g=h.XMLHttpRequest,y=g&&g.prototype,x=!1;NREUM.o={ST:setTimeout,SI:h.setImmediate,CT:clearTimeout,XHR:g,REQ:h.Request,EV:h.Event,PR:h.Promise,MO:h.MutationObserver};var b=""+location,E={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1216.min.js"},R=g&&y&&y[v]&&!/CriOS/.test(navigator.userAgent),O=e.exports={offset:a.getLastTimestamp(),now:a,origin:b,features:{},xhrWrappable:R,userAgent:u,disabled:x};if(!x){t(20),t(27),m[v]?(m[v]("DOMContentLoaded",i,p(!1)),h[v]("load",r,p(!1))):(m[w]("onreadystatechange",o),h[w]("onload",r)),s("mark",["firstbyte",a.getLastTimestamp()],null,"api");var T=0}},{}],"wrap-function":[function(t,e,n){function r(t,e){function n(e,n,r,c,f){function nrWrapper(){var i,a,u,p;try{a=this,i=d(arguments),u="function"==typeof r?r(i,a):r||{}}catch(l){o([l,"",[i,a,c],u],t)}s(n+"start",[i,a,c],u,f);try{return p=e.apply(a,i)}catch(h){throw s(n+"err",[i,a,h],u,f),h}finally{s(n+"end",[i,a,p],u,f)}}return a(e)?e:(n||(n=""),nrWrapper[p]=e,i(e,nrWrapper,t),nrWrapper)}function r(t,e,r,o,i){r||(r="");var s,c,f,u="-"===r.charAt(0);for(f=0;f<e.length;f++)c=e[f],s=t[c],a(s)||(t[c]=n(s,u?c+r:r,o,c,i))}function s(n,r,i,a){if(!h||e){var s=h;h=!0;try{t.emit(n,r,i,e,a)}catch(c){o([c,n,r,i],t)}h=s}}return t||(t=u),n.inPlace=r,n.flag=p,n}function o(t,e){e||(e=u);try{e.emit("internal-error",t)}catch(n){}}function i(t,e,n){if(Object.defineProperty&&Object.keys)try{var r=Object.keys(t);return r.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(i){o([i],n)}for(var a in t)l.call(t,a)&&(e[a]=t[a]);return e}function a(t){return!(t&&t instanceof Function&&t.apply&&!t[p])}function s(t,e){var n=e(t);return n[p]=t,i(t,n,u),n}function c(t,e,n){var r=t[e];t[e]=s(r,n)}function f(){for(var t=arguments.length,e=new Array(t),n=0;n<t;++n)e[n]=arguments[n];return e}var u=t("ee"),d=t(32),p="nr@original",l=Object.prototype.hasOwnProperty,h=!1;e.exports=r,e.exports.wrapFunction=s,e.exports.wrapInPlace=c,e.exports.argsToArray=f},{}]},{},["loader",2,17,5,3,4]);</script> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="canonical" href="https://www.nursingworld.org/foundation/" /> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Donate</title> <!-- Epi Start --> <link href='https://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700,700italic,900italic,900&subset=latin,latin-ext' rel='stylesheet' type='text/css'> <link href="/ANFDonation/Content/css/css.css" rel="stylesheet" type="text/css" /> <!--[if (gt IE 9)|!(IE)]><!--> <link href="/ANFDonation/Content/css/screen.css" rel="stylesheet" type="text/css" /><!--<![endif]--> <!--[if IE 9 ]> <link href="/~bTxeu-OuTE_Ux5Dxa4s-Qg/assets/css/screen-ie9.css" rel="stylesheet" /> <![endif]--> <!--[if IE 8 ]> <script src="http://devinternal.nursingworld.org/~bTxeu-OuTE_Ux5Dxa4s-Qg/assets/js/es5-shim.min.js"></script> <script src="http://devinternal.nursingworld.org/~bTxeu-OuTE_Ux5Dxa4s-Qg/assets/js/es5-sham.min.js"></script> <link href="http://devinternal.nursingworld.org/~bTxeu-OuTE_Ux5Dxa4s-Qg/assets/css/screen-ie8.css" rel="stylesheet" /> <script> window.isIE8 = true; </script> <![endif]--> <!-- <link href="/ANFDonation/Content/css/print.css" rel="stylesheet" media="print" type="text/css" /> <script src="/ANFDonation/Content/css/modernizr-custom.js" type="text/javascript"> </script> <script src="/ANFDonation/Content/css/jquery.min.js" type="text/javascript"> </script>--> <!--[if gt IE 8]><!--><!--<![endif]--> <!-- Epi End --> <!-- Bootstrap --> <link href="/ANFDonation/Content/css/bootstrap.min.css" rel="stylesheet"> <link href="/ANFDonation/Content/css/skin.css" rel="stylesheet"> <link href="/ANFDonation/Content/css/style.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if (lt IE 9)]> <script src="~/Content/js/html5shiv.min.js"></script> <script src="~/Content/js/respond.min.js"></script> <![endif]--> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="/ANFDonation/Content/js/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="/ANFDonation/Content/js/bootstrap.min.js"></script> <script src="/ANFDonation/Content/js/handlebars.js"></script> <script src="/ANFDonation/Content/js/scripts.js"></script> <script src="/ANFDonation/Content/js/skin.js"></script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WVMGFFR');</script> <!-- End Google Tag Manager --> </head> <body class="body" id="top"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WVMGFFR" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- Google Tag Manager --> <noscript> <iframe src="//www.googletagmanager.com/ns.html?id=GTM-KTRZNV" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <script> (function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-KTRZNV');</script> <!-- End Google Tag Manager --> <div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.3"></script> <div id="Header"> <div id="Header-Top row"> <header id="Header-Logo"> <a href="https://www.nursingworld.org/foundation" id="A_4"><img src="/ANFDonation/Content/Images/NewLogo_ANF.png" alt="American Nurses Foundation" id="Header-Image" /></a> </header> <span class="LogOut pull-right"> <a href="https://ebiz.nursingworld.org/SSO/login.aspx?vi=7&amp;vt=26e3000358093dc2f7fa6bfb6bdbf446decd101d23a1c97bf9e46e3b3ddf469f2adb685af3314915b2c6ca6a037a5ed4394900d1d77390d20b13e4a6633d573519d459e6c8a5f279ddc55aea766e7fac52f64cb4bf8dd086f52c4ecf020578b5dd372c051553f3aab5a1799b5ba60508">LOG IN</a> </span> </div> <h1 class="page-header"></h1> </div> <div class="container" id="script" style="display: none;"> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <script> location.href = 'https://ebiz.nursingworld.org/SSO/login.aspx?vi=7&vt=26e3000358093dc2f7fa6bfb6bdbf446decd101d23a1c97bf9e46e3b3ddf469f2adb685af3314915b2c6ca6a037a5ed4394900d1d77390d20b13e4a6633d573519d459e6c8a5f279ddc55aea766e7fac52f64cb4bf8dd086f52c4ecf020578b5dd372c051553f3aab5a1799b5ba60508&DPLF=Y'; </script> <script src="https://www.google.com/recaptcha/api.js?render=6Lcym3ApAAAAAMkrc2xub5nFKgB95hhdKSOvH0-g"></script> <script> </script> <div id="imgLoading" style="text-align: center; display: none;"> <img src="/ANFDonation/Content/images/Loading.gif" class="imgLoad" /> <div>Thank you - your donation is processing</div> </div> <form autocomplete="off" id="divForm"> <input id="GoogleCaptchaToken" name="GoogleCaptchaToken" type="hidden" value="" /> <div class="row"> <div class="col-sm-3 col-sm-push-9 col-xs-12"> </div> <div class="col-sm-9 col-sm-pull-3 col-xs-12"> <div class="boxes"> <div class="box box1"> <h1>Support Nurses Today!</h1> <div> <p></p>With a gift to the American Nurses Foundation, you are helping to create a healthy world through the power of nursing!</p></div> <div><p></p> Donate below, or <a href="https://www.nursingworld.org/foundation/donate/">click here</a> to find out other ways to make a donation.</div> <div><p></p>If you prefer to speak with a Foundation staff member, please call 1-800-284-2378.</div> <div><p></p>Thank you for your support of nurses and the nursing profession.</div> </div> <div class="box box2"> </br></br></br> <p style="text-align: center;"> <img alt="" class="responsive" src="https://www.nursingworld.org/~49f27a/globalassets/foundation/donation-form/anfdonation-header1.jpg" /> </p> </div> </div> <div class="row"> <div class="col-sm-9 "> <div><label class="control-label" id="fix">Select Amount <span class="requiredflag">*</span></label></div> <a href="" class="donationamount btn btn-secondary" role="button" value="25">$25</a> <a href="" class="donationamount btn btn-secondary" role="button" value="50">$50</a> <a href="" class="donationamount btn btn-secondary" role="button" value="100">$100</a> <!---a href="" class="donationamount btn btn-secondary active" role="button" value="250">$250</!--a --> <a href="" class="donationamount btn btn-secondary" role="button" value="250">$250</a> <a href="" class="donationamount btn btn-secondary" role="button" value="500">$500</a> <a href="" class="donationamount btn btn-secondary" role="button" value="1000">$1000</a> <a href="" class="donationamount btn btn-secondary" role="button" value="0">Other</a> </div> </div> <div class="row" id="donationamountline" style="display: none;"> <div class="col-sm-12 "> <div class="form-inline"> <label class="control-label">Donation Amount <span class="requiredflag">*</span></label> $ <input type="number" id="donationamount" class="form-control number required" placeholder="Amount" value="0" min="1" step="any" /> <span id="donationamounterror" style="">Minimum online donation amount is $1</span> </div> </div> </div> <div class="row"> <div class="col-sm-12 form-inline"> <div class="radio"> <label class="radio-inline"> <input type="radio" name="repeat" class="repeat" id="repeat1" checked /> One Time Donation </label> </div> <br /> <div class="radio"> <label class="radio-inline"> <input type="radio" name="repeat" class="repeat" id="repeatx" /> Sustaining Donation (Monthly) </label> </div> <div id="repeattimeline"> <input id="repeattime" type="hidden" value="0" /> <span id="totaldonation" style="display: none;"></span> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <label class="control-label">Designation <span class="requiredflag">*</span></label> <select id="impactCASH" class="form-control impact"> <option value="44215" >Where the Need is Greatest</option> <option value="44243" >Florence Nightingale Endowment</option> <option value="44255" >Nursing Research Grant Program</option> <option value="44258" >ANF Margaretta Styles Research Operating</option> <option value="47128973" >Healthy Nurse, Healthy Nation</option> <option value="52076375" >Washington Policy Fellowship</option> <option value="362236559" >Health and Well-Being</option> </select> <select id="impactPLEDGE" class="form-control impact" style="display:none;"> <option value="44214" >Where the Need is Greatest</option> <option value="47128983" >Healthy Nurse, Healthy Nation</option> <option value="47129783" >Florence Nightingale Endowment</option> <option value="47129795" >ANF Margaretta Styles Endowed Research Pledge</option> <option value="48471147" >Nursing Research Grant Program</option> <option value="52076387" >Washington Policy Fellowship</option> <option value="362236465" >Health and Well-Being</option> </select> <!--select id="impactCASH" class="form-control impact"> <option value="275554270">Coronavirus Response Fund for Nurses</option> <option value="44215">Where the Need is Greatest</option> <option value="44243">Florence Nightingale Endowment</option> <option value="44255">Nursing Research Grant Program</option> <option value="47128973">Healthy Nurse, Healthy Nation</option> </select> <select id="impactPLEDGE" class="form-control impact" style="display:none;"> <option value="275554377">Coronavirus Response Fund for Nurses</option> <option value="44214">Where the Need is Greatest</option> <option value="47128983">Healthy Nurse, Healthy Nation</option> <option value="47129783">Florence Nightingale Endowment</option> <option value="48471147">Nursing Research Grant Program</option> </select--> </div> </div> </div> </div> <div class="row "> <div class="col-sm-12"> <div class="row "> <div class="col-sm-12"> <div class="checkbox"> <label> <input type="checkbox" id="USR_IS_NURSE_ck" value="x" /> Yes, I am a Registered Nurse (RN) </label> </div> </div> </div> </div> </div> <div class="row "> <div class="col-sm-12"> <div class="row "> <div class="col-sm-12"> <div class="checkbox"> <label> <input type="checkbox" id="on_behalf_company_ck" value="x" /> This donation is on behalf of a company </label> </div> </div> </div> </div> </div> <div class="panel panel-default" id="on_behalf_company" style="display: none;"> <div class="panel-body"> <div class="row"> <div class="col-sm-3"> <label class="control-label">Company Name<span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"> <input type="text" class="form-control required" id="USR_COMPANY_NAME" /> </span> </div> </div> </div> </div> <div class="row "> <div class="col-sm-12"> <div class="row "> <div class="col-sm-12"> <label class="control-label">Tribute – Honor a Nurse</label> <div class="checkbox"> <label> <input type="checkbox" id="dedicationforck" value="x" /> Yes, I would like to dedicate my donation in honor or memory of someone </label> </div> </div> </div> </div> </div> <div class="panel panel-default" id="dedicationfor" style="display: none;"> <div class="panel-body"> <div class="row "> <div class="col-sm-2"> <label class="control-label" style="line-height: 36px;">This Donation is</label> </div> <div class="col-sm-10 form-inline"> <div class="radio"> <label class="radio-inline"> <input type="radio" name="tribute" class="" id="honor" checked /> In honor of </label> <label class="radio-inline"> <input type="radio" name="tribute" class="" id="memory" /> In memory of </label> </div> </div> </div> <div class="row"> <div class="col-sm-2"> <label class="control-label">Name of Tributee<span class="requiredflag">*</span></label> </div> <div class="col-sm-4"> <input type="text" id="tributename" class="form-control required" placeholder="" value="" /> </div> </div> <div class="row"> <div class="col-sm-12"> <label class="control-label">Tribute Message</label> (Maximum characters: 255) <br>If you would like to write more about your tributee, please send the full message to <a href="mailto:givetonursing@ana.org">givetonursing@ana.org</a>. <textarea class="form-control" rows="3" id="tributemessage" maxlength="255"></textarea> </div> </div> <div class="row "> <div class="col-sm-12"> Your tribute message will be shared on givetonursing.org and other listings. </div> </div> <div class="row "> <div class="col-sm-12"> <div class="checkbox"> <label> <input type="checkbox" id="donationtock" value="x" />Please send a note about my tribute to the following contact: </label> </div> </div> </div> <div id="donationto" class="panel1 panel-default" style="display: none;"> <div class="row "> <div class="col-sm-12"> <div class="checkbox"> <label> <input type="checkbox" id="anonymous" value="x" />Please keep my name anonymous in the letter you send. </label> </div> </div> </div> <div class="panel-body"> <div class="row"> <div class="col-sm-8"> <div class="row"> <div class="col-sm-3"> <label class="fl">First Name <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control required" value="" id="firstname1" /></span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">Last Name <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control required" value="" id="lastname1" /></span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">Email <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"> <input type="text" class="form-control required email" id="email1" /> </span> </div> </div> <div id="phone1" class="phone"> </div> <div id="address1" class="address"> </div> </div> </div> </div> </div> </div> </div> <div class=" panel panel-default"> <div class="panel-body"> <div class="row"> <div class="col-sm-12"> <label class="control-label">My Personal Contact Information</label> </div> </div> <div class="row"> <div class="col-sm-8"> <div class="row"> <div class="col-sm-3"> <label class="control-label">Email <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input type="text" class="form-control email required" id="email2" /> <div id="duplicateemail"> </div> </div> </div> <div id="existingemail"> <div class="row"> <div class="col-sm-3"> <label class="control-label">First Name <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input type="text" class="form-control required" id="firstname2" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Last Name <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input type="text" class="form-control required" id="lastname2" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Credentials</label> </div> <div class="col-sm-9"> <input type="text" class="form-control" id="credentials2" /> </div> </div> <div id="address2" class="address"> </div> <div id="phone2" class="phone"> </div> </div> </div> </div> </div> </div> <div id="payments"> <ul class="nav nav-tabs"> <li class="active"><a data-toggle="tab" href="#cc" id="cclink">Pay By Credit Card</a></li> <li><a data-toggle="tab" href="#echeck" id="echecklink" style="display: none;">Pay By eCheck</a></li> </ul> <div class="tab-content"> <div id="cc" class="tab-pane fade in active"> <div class="row"> <div class="col-sm-8"> <div class="row"> <div class="col-sm-3"> <label class="control-label">We Honor</label> </div> <div class="col-sm-9"> <img src="/ANFDonation/Content/images/AMEX.png" title="American Express" /> <img src="/ANFDonation/Content/images/DISCOVER.png" title="Discover" /> <img src="/ANFDonation/Content/images/MASTER_CARD.png" title="Master Card" /> <img src="/ANFDonation/Content/images/VISA.png" title="Visa" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Card Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input id="cardnumber" maxlength="16" class="form-control required cardnumber" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Name on Card <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input id="cardname" class="form-control required" maxlength="40" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Expiration Date <span class="requiredflag">*</span></label> </div> <div class="col-sm-3"> <select id="cardmonth" class="form-control required"> <option value="1" >January</option> <option value="2" >February</option> <option value="3" >March</option> <option value="4" >April</option> <option value="5" >May</option> <option value="6" >Jun</option> <option value="7" >July</option> <option value="8" >August</option> <option value="9" >September</option> <option value="10" >October</option> <option value="11" selected>November</option> <option value="12" >December</option> </select> </div> <div class="col-sm-3"> <select id="cardyear" class="form-control required"> <option value="2024">2024</option> <option value="2025">2025</option> <option value="2026">2026</option> <option value="2027">2027</option> <option value="2028">2028</option> <option value="2029">2029</option> <option value="2030">2030</option> <option value="2031">2031</option> <option value="2032">2032</option> <option value="2033">2033</option> <option value="2034">2034</option> <option value="2035">2035</option> <option value="2036">2036</option> <option value="2037">2037</option> <option value="2038">2038</option> <option value="2039">2039</option> <option value="2040">2040</option> <option value="2041">2041</option> <option value="2042">2042</option> <option value="2043">2043</option> </select> </div> <div class="col-sm-3"> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Security Code <span class="requiredflag">*</span></label> </div> <div class="col-sm-3"> <input id="cwcode" class="form-control required" maxlength="4" /> </div> <div class="col-sm-3"> <img src="/ANFDonation/Content/Images/cvv.png" height="26" width="43" alt="For Mastercard, Visa or Discover, it is the last three digits in the signature area on the back of the card. For American Express, it is the four digits on the front of the card." /> </div> </div> <div class="row"> <div class="col-sm-3"> </div> </div> <div id="sameasrow" class="row " > <div class="col-sm-12"> <div class="checkbox"> <label> <input type="checkbox" id="sameaddressforcc" value="x" checked /> Use same address as my personal contact information </label> </div> </div> </div> <div id="ccaddress" style='display: none;'> <div class="row"> <div class="col-sm-3"> <label class="fl">Address <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control required" value="" id="ADDRESS_13" maxlength="65" /></span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">City <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control required" value="" id="CITY3" maxlength="40"></span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">State <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"> <select class="form-control required" id="STATE3"> <option value="AL">Alabama</option> <option value="AK">Alaska</option> <option value="AZ">Arizona</option> <option value="AR">Arkansas</option> <option value="AA">Armed Forces Americas</option> <option value="AE">Armed Forces Europe, Middle East</option> <option value="AP">Armed Forces Pacific</option> <option value="CA">California</option> <option value="CZ">Canal Zone</option> <option value="CO">Colorado</option> <option value="CT">Connecticut</option> <option value="DE">Delaware</option> <option value="DC">District of Columbia</option> <option value="FL">Florida</option> <option value="GA">Georgia</option> <option value="GU">Guam</option> <option value="HI">Hawaii</option> <option value="ID">Idaho</option> <option value="IL">Illinois</option> <option value="IN">Indiana</option> <option value="IA">Iowa</option> <option value="KS">Kansas</option> <option value="KY">Kentucky</option> <option value="LA">Louisiana</option> <option value="ME">Maine</option> <option value="MD">Maryland</option> <option value="MA">Massachusetts</option> <option value="MI">Michigan</option> <option value="MN">Minnesota</option> <option value="MS">Mississippi</option> <option value="MO">Missouri</option> <option value="MT">Montana</option> <option value="NE">Nebraska</option> <option value="NV">Nevada</option> <option value="NH">New Hampshire</option> <option value="NJ">New Jersey</option> <option value="NM">New Mexico</option> <option value="NY">New York</option> <option value="NC">North Carolina</option> <option value="ND">North Dakota</option> <option value="MP">Northern Mariana Islands</option> <option value="OH">Ohio</option> <option value="OK">Oklahoma</option> <option value="OR">Oregon</option> <option value="PI">Pacific Islands</option> <option value="PA">Pennsylvania</option> <option value="PR">Puerto Rico</option> <option value="RI">Rhode Island</option> <option value="SC">South Carolina</option> <option value="SD">South Dakota</option> <option value="TN">Tennessee</option> <option value="TX">Texas</option> <option value="TT">Trust Territories</option> <option value="UT">Utah</option> <option value="VT">Vermont</option> <option value="VI">Virgin Islands</option> <option value="VA">Virginia</option> <option value="WA">Washington</option> <option value="WV">West Virginia</option> <option value="WI">Wisconsin</option> <option value="WY">Wyoming</option> </select> </span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">Zip Code <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control required" value="" id="POSTAL_CODE3" maxlength="15" /></span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">Country <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"> <select class="form-control required" id="COUNTRY3"> <option value="AFG" > Afghanistan </option> <option value="ALA" > &#197;land Islands </option> <option value="ALB" > Albania </option> <option value="DZA" > Algeria </option> <option value="ASM" > American Samoa </option> <option value="AND" > Andorra </option> <option value="AGO" > Angola </option> <option value="AIA" > Anguilla </option> <option value="ATA" > Antarctica </option> <option value="ATG" > Antigua And Barbuda </option> <option value="ARG" > Argentina </option> <option value="ARM" > Armenia </option> <option value="ABW" > Aruba </option> <option value="AUS" > Australia </option> <option value="AUT" > Austria </option> <option value="AZE" > Azerbaijan </option> <option value="BHS" > Bahamas </option> <option value="BHR" > Bahrain </option> <option value="BGD" > Bangladesh </option> <option value="BRB" > Barbados </option> <option value="BLR" > Belarus </option> <option value="BEL" > Belgium </option> <option value="BLZ" > Belize </option> <option value="BEN" > Benin </option> <option value="BMU" > Bermuda </option> <option value="BTN" > Bhutan </option> <option value="BOL" > Bolivia </option> <option value="BES" > Bonaire, Sint Eustatius and Saba </option> <option value="BIH" > Bosnia and Herzegovina </option> <option value="BWA" > Botswana </option> <option value="BVT" > Bouvet Island </option> <option value="BRA" > Brazil </option> <option value="IOT" > British Indian Ocean Territory </option> <option value="BRN" > Brunei Darussalam </option> <option value="BGR" > Bulgaria </option> <option value="BFA" > Burkina Faso </option> <option value="BDI" > Burundi </option> <option value="CPV" > Cabo Verde </option> <option value="KHM" > Cambodia </option> <option value="CMR" > Cameroon </option> <option value="CAN" > Canada </option> <option value="CYM" > Cayman Islands </option> <option value="CAF" > Central African Republic </option> <option value="TCD" > Chad </option> <option value="CHL" > Chile </option> <option value="CHN" > China </option> <option value="CXR" > Christmas Island </option> <option value="CCK" > Cocos (Keeling) Islands </option> <option value="COL" > Colombia </option> <option value="COM" > Comoros </option> <option value="COG" > Congo </option> <option value="COD" > Congo, Democratic Republic of the </option> <option value="COK" > Cook Islands </option> <option value="CRI" > Costa Rica </option> <option value="CIV" > C&#244;te d&#39;Ivoire </option> <option value="HRV" > Croatia (Hrvatska) </option> <option value="CUB" > Cuba </option> <option value="CUW" > Cura&#231;ao </option> <option value="CYP" > Cyprus </option> <option value="CZE" > Czech Republic </option> <option value="DNK" > Denmark </option> <option value="DJI" > Djibouti </option> <option value="DMA" > Dominica </option> <option value="DOM" > Dominican Republic </option> <option value="ECU" > Ecuador </option> <option value="EGY" > Egypt </option> <option value="SLV" > El Salvador </option> <option value="GNQ" > Equatorial Guinea </option> <option value="ERI" > Eritrea </option> <option value="EST" > Estonia </option> <option value="ETH" > Ethiopia </option> <option value="EUR" > European Community </option> <option value="FLK" > Falkland Islands </option> <option value="FRO" > Faroe Islands </option> <option value="FJI" > Fiji </option> <option value="FIN" > Finland </option> <option value="FRA" > France </option> <option value="GUF" > French Guiana </option> <option value="PYF" > French Polynesia </option> <option value="ATF" > French Southern Territories </option> <option value="GAB" > Gabon </option> <option value="GMB" > Gambia </option> <option value="GEO" > Georgia </option> <option value="DEU" > Germany </option> <option value="GHA" > Ghana </option> <option value="GIB" > Gibraltar </option> <option value="GRC" > Greece </option> <option value="GRL" > Greenland </option> <option value="GRD" > Grenada </option> <option value="GLP" > Guadeloupe </option> <option value="GUM" > Guam </option> <option value="GTM" > Guatemala </option> <option value="GGY" > Guernsey </option> <option value="GIN" > Guinea </option> <option value="GNB" > Guinea-Bissau </option> <option value="GUY" > Guyana </option> <option value="HTI" > Haiti </option> <option value="HMD" > Heard Island and McDonald Islands </option> <option value="VAT" > Holy See (Vatican City) </option> <option value="HND" > Honduras </option> <option value="HKG" > Hong Kong </option> <option value="HUN" > Hungary </option> <option value="ISL" > Iceland </option> <option value="IND" > India </option> <option value="IDN" > Indonesia </option> <option value="IRN" > Iran, Islamic Republic of </option> <option value="IRQ" > Iraq </option> <option value="IRL" > Ireland </option> <option value="IMN" > Isle of Man </option> <option value="ISR" > Israel </option> <option value="ITA" > Italy </option> <option value="JAM" > Jamaica </option> <option value="JPN" > Japan </option> <option value="JEY" > Jersey </option> <option value="JOR" > Jordan </option> <option value="KAZ" > Kazakhstan </option> <option value="KEN" > Kenya </option> <option value="KIR" > Kiribati </option> <option value="KOR" > Korea, Republic of </option> <option value="PRK" > Korea, Democratic People&#39;s Republic of </option> <option value="KWT" > Kuwait </option> <option value="KGZ" > Kyrgyzstan </option> <option value="LAO" > Lao People&#39;s Democratic Republic </option> <option value="LVA" > Latvia </option> <option value="LBN" > Lebanon </option> <option value="LSO" > Lesotho </option> <option value="LBR" > Liberia </option> <option value="LBY" > Libya </option> <option value="LIE" > Liechtenstein </option> <option value="LTU" > Lithuania </option> <option value="LUX" > Luxembourg </option> <option value="MAC" > Macau </option> <option value="MKD" > Macedonia, Former Yugoslav Republic of </option> <option value="MDG" > Madagascar </option> <option value="MWI" > Malawi </option> <option value="MYS" > Malaysia </option> <option value="MDV" > Maldives </option> <option value="MLI" > Mali </option> <option value="MLT" > Malta </option> <option value="MHL" > Marshall Islands </option> <option value="MTQ" > Martinique </option> <option value="MRT" > Mauritania </option> <option value="MUS" > Mauritius </option> <option value="MYT" > Mayotte </option> <option value="MEX" > Mexico </option> <option value="FSM" > Micronesia, Federated States of </option> <option value="MDA" > Moldova, Republic of </option> <option value="MCO" > Monaco </option> <option value="MNG" > Mongolia </option> <option value="MNE" > Montenegro </option> <option value="MSR" > Montserrat </option> <option value="MAR" > Morocco </option> <option value="MOZ" > Mozambique </option> <option value="MMR" > Myanmar </option> <option value="NAM" > Namibia </option> <option value="NRU" > Nauru </option> <option value="NPL" > Nepal </option> <option value="NLD" > Netherlands </option> <option value="NCL" > New Caledonia </option> <option value="NZL" > New Zealand </option> <option value="NIC" > Nicaragua </option> <option value="NER" > Niger </option> <option value="NGA" > Nigeria </option> <option value="NIU" > Niue </option> <option value="NFK" > Norfolk Island </option> <option value="MNP" > Northern Mariana Islands </option> <option value="NOR" > Norway </option> <option value="OMN" > Oman </option> <option value="PAK" > Pakistan </option> <option value="PLW" > Palau </option> <option value="PSE" > Palestine, State of </option> <option value="PAN" > Panama </option> <option value="PNG" > Papua New Guinea </option> <option value="PRY" > Paraguay </option> <option value="PER" > Peru </option> <option value="PHI" > Philippines </option> <option value="PCN" > Pitcairn </option> <option value="POL" > Poland </option> <option value="PRT" > Portugal </option> <option value="PRI" > Puerto Rico </option> <option value="QAT" > Qatar </option> <option value="REU" > R&#233;union </option> <option value="ROM" > Romania </option> <option value="RUS" > Russian Federation </option> <option value="RWA" > Rwanda </option> <option value="BLM" > Saint Barth&#233;lemy </option> <option value="KNA" > Saint Kitts And Nevis </option> <option value="LCA" > Saint Lucia </option> <option value="MAF" > Saint Martin (French part) </option> <option value="WSM" > Samoa </option> <option value="SMR" > San Marino </option> <option value="STP" > Sao Tome And Principe </option> <option value="SAU" > Saudi Arabia </option> <option value="SEN" > Senegal </option> <option value="SRB" > Serbia </option> <option value="SYC" > Seychelles </option> <option value="SLE" > Sierra Leone </option> <option value="SGP" > Singapore </option> <option value="SXM" > Sint Maarten (Dutch part) </option> <option value="SVK" > Slovakia </option> <option value="SVN" > Slovenia </option> <option value="SLB" > Solomon Islands </option> <option value="SOM" > Somalia </option> <option value="ZAF" > South Africa </option> <option value="SGS" > South Georgia </option> <option value="SSD" > South Sudan </option> <option value="ESP" > Spain </option> <option value="LKA" > Sri Lanka </option> <option value="VCT" > St Vincent And Grenadines </option> <option value="SHN" > St. Helena </option> <option value="SPM" > St. Pierre And Miquelon </option> <option value="SDN" > Sudan </option> <option value="SUR" > Suriname </option> <option value="SJM" > Svalbard and Jan Mayen </option> <option value="SWZ" > Swaziland </option> <option value="SWE" > Sweden </option> <option value="CHE" > Switzerland </option> <option value="SYR" > Syrian Arab Republic </option> <option value="TWN" > Taiwan </option> <option value="TJK" > Tajikistan </option> <option value="TZA" > Tanzania, United Republic of </option> <option value="THA" > Thailand </option> <option value="TLS" > Timor-Leste </option> <option value="TGO" > Togo </option> <option value="TKL" > Tokelau </option> <option value="TON" > Tonga </option> <option value="TTO" > Trinidad And Tobago </option> <option value="TUN" > Tunisia </option> <option value="TUR" > Turkey </option> <option value="TKM" > Turkmenistan </option> <option value="TCA" > Turks And Caicos Islands </option> <option value="TUV" > Tuvalu </option> <option value="UGA" > Uganda </option> <option value="UKR" > Ukraine </option> <option value="AE" > United Arab Emirates </option> <option value="UAE" > United Arab Emirates </option> <option value="GBR" > United Kingdom </option> <option value="USA" selected > United States </option> <option value="UMI" > United States Minor Outlying Islands </option> <option value="URY" > Uruguay </option> <option value="UZB" > Uzbekistan </option> <option value="VUT" > Vanuatu </option> <option value="VEN" > Venezuela </option> <option value="VNM" > Viet Nam </option> <option value="VGB" > Virgin Islands (British) </option> <option value="VIR" > Virgin Islands (U.S.) </option> <option value="WLF" > Wallis And Futuna Islands </option> <option value="ESH" > Western Sahara </option> <option value="YEM" > Yemen </option> <option value="ZMB" > Zambia </option> <option value="ZWE" > Zimbabwe </option> </select> </span> </div> </div> </div> </div> </div> </div> <div id="ETF" class="tab-pane fade"> <div class="row"> <div class="col-sm-8"> <div class="row"> <div class="col-sm-3"> <label class="control-label">Routing Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input id="etfroutingnumber" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Bank Name <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input id="etfinstitution" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Account Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <input id="etfaccountnumber" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="control-label">Account Type <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <select id="etfaccounttype" class="form-control required"> <option value="CHECKING">Checking</option> <option value="SAVING">Saving</option> </select> </div> </div> </div> </div> </div> <div id="echeck" class="tab-pane fade"> <div class="row"> <div class="col-sm-8"> <div class="row"> <div class="col-sm-4"> <label class="control-label">Bank Routing Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <input id="echeckroutingnumber" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-4"> <label class="control-label">Bank Account Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <input id="echeckaccountnumber" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-4"> <label class="control-label">Check Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <input id="echecknumber" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-4"> <label class="control-label">Account Holder Full Name <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <input id="echeckname" class="form-control required" /> </div> </div> <div class="row"> <div class="col-sm-4"> <label class="control-label">Personal ID Type <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <select id="echeckIDType" class="form-control required"> <option value="DL">Drivers License</option> <option value="SSN">Social Security Number</option> </select> </div> </div> <div class="row ssnrow" style="display:none"> <div class="col-sm-4"> <label class="control-label">Social Security Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <input id="ssnNumber" class="form-control required" /> </div> </div> <div class="row ssnrow" style="display:none"> <div class="col-sm-4"> <label class="control-label">Date Of Birth <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <div class="input-group date form_date col-md-5" data-date="" data-date-format="mm/dd/yyyy"> <input class="form-control" size="16" type="text" value="" id="dateOfBirth"> <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span> </div> </div> </div> <div class="row driverrow"> <div class="col-sm-4"> <label class="control-label">Driver License/ID Number <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <input id="echeckidNumber" class="form-control required" /> </div> </div> <div class="row driverrow"> <div class="col-sm-4"> <label class="control-label">Driver License/ID State <span class="requiredflag">*</span></label> </div> <div class="col-sm-8"> <select id="echeckstate" class="form-control required"> <option value="AL">Alabama</option> <option value="AK">Alaska</option> <option value="AZ">Arizona</option> <option value="AR">Arkansas</option> <option value="AA">Armed Forces Americas</option> <option value="AE">Armed Forces Europe, Middle East</option> <option value="AP">Armed Forces Pacific</option> <option value="CA">California</option> <option value="CZ">Canal Zone</option> <option value="CO">Colorado</option> <option value="CT">Connecticut</option> <option value="DE">Delaware</option> <option value="DC">District of Columbia</option> <option value="FL">Florida</option> <option value="GA">Georgia</option> <option value="GU">Guam</option> <option value="HI">Hawaii</option> <option value="ID">Idaho</option> <option value="IL">Illinois</option> <option value="IN">Indiana</option> <option value="IA">Iowa</option> <option value="KS">Kansas</option> <option value="KY">Kentucky</option> <option value="LA">Louisiana</option> <option value="ME">Maine</option> <option value="MD">Maryland</option> <option value="MA">Massachusetts</option> <option value="MI">Michigan</option> <option value="MN">Minnesota</option> <option value="MS">Mississippi</option> <option value="MO">Missouri</option> <option value="MT">Montana</option> <option value="NE">Nebraska</option> <option value="NV">Nevada</option> <option value="NH">New Hampshire</option> <option value="NJ">New Jersey</option> <option value="NM">New Mexico</option> <option value="NY">New York</option> <option value="NC">North Carolina</option> <option value="ND">North Dakota</option> <option value="MP">Northern Mariana Islands</option> <option value="OH">Ohio</option> <option value="OK">Oklahoma</option> <option value="OR">Oregon</option> <option value="OT">Outside of the US</option> <option value="PI">Pacific Islands</option> <option value="PA">Pennsylvania</option> <option value="PR">Puerto Rico</option> <option value="RI">Rhode Island</option> <option value="SC">South Carolina</option> <option value="SD">South Dakota</option> <option value="TN">Tennessee</option> <option value="TX">Texas</option> <option value="TT">Trust Territories</option> <option value="UT">Utah</option> <option value="VT">Vermont</option> <option value="VI">Virgin Islands</option> <option value="VA">Virginia</option> <option value="WA">Washington</option> <option value="WV">West Virginia</option> <option value="WI">Wisconsin</option> <option value="WY">Wyoming</option> </select> </div> </div> <div class="row"> <div class="col-sm-2"> <img src="/ANFDonation/Content/Images/telecheck.png" alt="TeleCheck" /> </div> <div class="col-sm-10"> <p> For returned checks, there will be a fee charged with the amount listed in the <a href="http://www.firstdata.com/en_us/customer-center/merchants/support/telecheck-returned-check-fees.html" target="_blank">Returned Check Fees</a> Table. </p> <p> Please click on <a href="http://www.telecheck.com/ica/privacy_policy.html" target="_blank">TeleCheck Privacy Policy</a> for privacy policy details. </p> <p> For questions, please check the <a href="http://www.telecheck.com/ica/internetcheckfaq.html" target="_blank">TeleCheck Internet Check Acceptance FAQ</a> and <a href="http://www.telecheck.com/ica/internetevalfaq.html" target="_blank">TeleCheck Evaluation Process FAQ</a> . You may also contact us at [MerchantPhoneNumber] during business hours for more questions. </p> <p> I authorize an electronic debit in the amount of $<span id="lblPrice">250.00</span> USD. This withdrawal will be processed using the regular banking system. </p> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="checkbox"> <label> <input type="checkbox" id="authorize" value="yes" class=" required" /> <strong>I authorize this transaction</strong> </label> </div> </div> </div> </div> </div> </div> </div> </div> <div class="row" id="paymentbuttonrow"> <div class="col-sm-12 text-center"> <button type="button" class="btn btn-primary process1">Process Payment</button> </div> </div> <div id="myModalMonthlyCC" class="modal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Terms and Conditions of Monthly Contribution</h4> </div> <div class="modal-body"> <p> I am authorizing American Nurses Foundation to charge my monthly contribution to my credit or debit card on or after the first of each month. I understand that I may cancel this authorization by providing American Nurses Foundation written notice twenty (20) days prior to deduction. </p> <p> I authorize monthly recurring electronic payments to the American Nurses Foundation according to these terms and conditions. </p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-primary process2" data-dismiss="modal">Process Payment</button> </div> </div> </div> </div> <div id="myModalMonthlyEFT" class="modal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Terms and Conditions of Monthly Contribution</h4> </div> <div class="modal-body"> <p> I hereby authorize the American Nurses Foundation to charge my monthly contribution to my bank account on or after the last day of each month until the expiration of the term. I understand that I may cancel this authorization by providing the American Nurses Foundation written notice at least twenty (20) days prior to the date of deduction. </p> <p> I authorize monthly recurring electronic payments to the American Nurses Foundation according to these terms and conditions. </p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-primary process2" data-dismiss="modal">Process Payment</button> </div> </div> </div> </div> <div id="myModalPledgeCC" class="modal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Terms and Conditions of Monthly Payment</h4> </div> <div class="modal-body"> <p> I am authorizing the American Nurses Foundation to charge my monthly contribution to my credit or debit card on or after the first of each month until the expiration of the term. I understand and agree that this pledge shall be irrevocable until the expiration of the term. </p> <p> I authorize monthly recurring electronic payments to the American Nurses Foundation according to these terms and conditions. </p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-primary process2" data-dismiss="modal">Process Payment</button> </div> </div> </div> </div> <div id="myModalPledgeEFT" class="modal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Terms and Conditions of Monthly Payment</h4> </div> <div class="modal-body"> <p> I hereby authorize the American Nurses Foundation to charge my monthly contribution to my bank account on or after the last day of each month until the expiration of the term. I understand and agree that this pledge shall be irrevocable until the expiration of the term. </p> <p> I authorize monthly recurring electronic payments to the American Nurses Foundation according to these terms and conditions. </p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-primary process2" data-dismiss="modal">Process Payment</button> </div> </div> </div> </div> </form> <script id="address-template-grid" type="text/x-handlebars-template"> <div class="row"> <div class="col-sm-3"> <label class="fl">{{COUNTRYCAPTION}} <span class="requiredflag">*</span></label> </div> <div class="col-sm-9"> <span class="fr"> <select class="form-control {{COUNTRYREQUIRED}}" id="COUNTRY{{prefix}}"> {{#each COUNTRYOPTIONS}} <option value="{{VALUE}}" {{selected}}>{{TEXT}}</option> {{/each}} </select> </span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">{{ADDRESS1CAPTION}} {{#if ADDRESS1REQUIRED}}<span class="requiredflag">*</span>{{/if}}</label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control {{ADDRESS1REQUIRED}}" value="" id="ADDRESS_1{{prefix}}" maxlength="{{ADDRESS1MAXLENGTH}}" /></span> </div> </div> <div class="row"> <div class="col-sm-3"> <label class="fl">{{ADDRESS2CAPTION}} {{#if ADDRESS2REQUIRED}}<span class="requiredflag">*</span>{{/if}}</label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control {{ADDRESS2REQUIRED}}" value="" id="ADDRESS_2{{prefix}}" maxlength="{{ADDRESS2MAXLENGTH}}" /></span> </div> </div> {{#if CITYCAPTION}} <div class="row"> <div class="col-sm-3"> <label class="fl">{{CITYCAPTION}} {{#if CITYREQUIRED}}<span class="requiredflag">*</span>{{/if}}</label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control {{CITYREQUIRED}}" value="" id="CITY{{prefix}}" maxlength="{{CITYMAXLENGTH}}"></span> </div> </div> {{/if}} {{#if STATECAPTION}} <div class="row"> <div class="col-sm-3"> <label class="fl">{{STATECAPTION}} {{#if STATEREQUIRED}}<span class="requiredflag">*</span>{{/if}}</label> </div> <div class="col-sm-9"> <span class="fr"> {{#if STATEOPTIONS}} <select class="form-control {{STATEREQUIRED}}" id="STATE{{prefix}}"> {{#each STATEOPTIONS}} <option value="{{VALUE}}" {{selected}}>{{TEXT}}</option> {{/each}} </select> {{else}} <input type="text" class="form-control" value="" id="STATE{{prefix}}" maxlength="{{STATEMAXLENGTH}}" /> {{/if}} </span> </div> </div> {{/if}} {{#if POSTALCODECAPTION}} <div class="row"> <div class="col-sm-3"> <label class="fl">{{POSTALCODECAPTION}} {{#if POSTALCODEREQUIRED}} <span class="requiredflag">*</span>{{/if}}</label> </div> <div class="col-sm-9"> <span class="fr"><input type="text" class="form-control {{POSTALCODEREQUIRED}}" value="" id="POSTAL_CODE{{prefix}}" maxlength="{{POSTALCODEMAXLENGTH}}" /></span> </div> </div> {{/if}} </script> <script id="phone-template-grid" type="text/x-handlebars-template"> <div class="row"> <div class="col-sm-3"> <label class="fl">Telephone</label> </div> <div class="col-sm-9"> <select class="form-control" id="PHONECOUNTRY{{prefix}}"> {{#each COUNTRYOPTIONS}} <option value="{{VALUE}}" property={{PROPERTY}} {{selected}}>{{TEXT}}</option> {{/each}} </select> </div> </div> <div class="row"> <div class="col-sm-3"> </div> <div class="col-sm-3"> <input type="text" class="form-control PHONE_AREA_CODE" value="" id="PHONE_AREA_CODE{{prefix}}" maxlength="{{PHONE_AREA_CODE_MAXLENGTH}}" /> </div> <div class="col-sm-1" style="width: 1px;"> - </div> <div class="col-sm-5"> <input type="text" class="form-control" value="" id="PHONE_NUMBER{{prefix}}" maxlength="{{PHONE_NUMBER_MAXLENGTH}}" /> </div> </div> </script> <script type="text/javascript"> jQuery.fn.ForceNumericOnly = function () { return this.each(function () { $(this).keydown(function (e) { var key = e.charCode || e.keyCode || 0; // allow backspace, tab, delete, enter, arrows, numbers and keypad numbers ONLY // home, end, period, and numpad decimal return ( key == 8 || key == 9 || key == 13 || key == 46 || key == 110 || key == 190 || (key >= 35 && key <= 40) || (key >= 48 && key <= 57) || (key >= 96 && key <= 105)); }); }); }; jQuery.fn.ForceAnythingNotNumeric = function () { return this.each(function () { $(this).keydown(function (e) { var key = e.charCode || e.keyCode || 0; // allow backspace, tab, delete, enter, arrows, numbers and keypad numbers ONLY // home, end, period, and numpad decimal return !( //key == 8 || //key == 9 || //key == 13 || //key == 46 || //key == 110 || //key == 190 || //(key >= 35 && key <= 40) || (key >= 48 && key <= 57) || (key >= 96 && key <= 105)); }); }); }; jQuery.fn.ForceUSAZip = function (zipid, countryid) { var country = $(countryid).val(); console.log("ForceUSAZip", country); if (country == null) country = "USA"; if (!(country.length > 0)) country = "USA"; if (country != "USA") { $(zipid).unmask(); return true; } console.log("ForceUSAZip maxlength", country); $(zipid).attr('maxlength', 10); $(zipid).mask('00000-0000'); return this.each(function () { $(this).keydown(function (e) { var key = e.charCode || e.keyCode || 0; //console.log(key); // allow backspace, tab, delete, enter, arrows, numbers and keypad numbers ONLY // home, end, period, and numpad decimal return ( key == 8 || key == 9 || key == 13 || key == 46 || //key == 110 || // "." //key == 190 || key == 109 || key == 173 || //"-" (key >= 35 && key <= 40) || (key >= 48 && key <= 57) || (key >= 96 && key <= 105)); }); }); }; function GetCardType(n) { console.log("GetCardType", n); // visa var re = new RegExp("^4"); if (n.match(re) != null) return "VI"; // Mastercard re = new RegExp("^5[1-5]"); if (n.match(re) != null) return "MC"; // AMEX re = new RegExp("^3[47]"); if (n.match(re) != null) return "AX"; // Discover re = new RegExp("^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)"); if (n.match(re) != null) return "DI"; return ""; } </script> <script> function requestRecaptchaToken() { grecaptcha.ready(function () { grecaptcha.execute('6Lcym3ApAAAAAMkrc2xub5nFKgB95hhdKSOvH0-g', { action: 'ANA_Donate' }).then(function (token) { // Add your logic to submit to your backend server here. document.getElementById("GoogleCaptchaToken").value = token; }); }); } function refreshRecaptchaToken() { // Call requestRecaptchaToken to get a new token requestRecaptchaToken(); // Schedule the next token refresh before the current token expires setTimeout(refreshRecaptchaToken, 1000 * 60 * 2); // Refresh every 2 minutes } $(document).ready(function () { console.log("ready"); // Initial token request requestRecaptchaToken(); // Start refreshing the token periodically refreshRecaptchaToken(); $('#donationamount').ForceNumericOnly(); $("#tributemessage").autogrow(); if ('' == 'true') { function jshelp(n) { $('#prefix2').val('MR'); $('#firstname2').val('F' + n); $('#middlename2').val('M' + n); $('#lastname2').val('L' + n); $('#credentials2').val('D' + n); $('#company2').val('C' + n); $('#email2').val('E' + n + 'user@test.com'); $('#PHONECOUNTRY2').val("USA"); $('#PHONE_AREA_CODE2').val('703'); $('#PHONE_NUMBER2').val(n); $('#COUNTRY2').val("USA"); $('#ADDRESS_12').val("18515 Georgia Ave"); $('#ADDRESS_22').val("Suite 400"); $('#ADDRESS_32').val(''); $('#ADDRESS_42').val(''); $('#CITY2').val('Silver Spring'); $('#STATE2').val('MD'); $('#POSTAL_CODE2').val('20190'); //$('#cardtype').val('VI'); $('#cardnumber').val('4111111111111111'); $('#cardname').val('FL' + n); $('#cardmonth').val(2); $('#cardyear').val(2017); $('#cwcode').val('123'); $('#COUNTRY2').val("USA"); $('#ADDRESS_13').val("18515 Georgia Ave"); $('#CITY3').val('Silver Spring'); $('#STATE3').val('MD'); $('#POSTAL_CODE3').val('20190'); $('#etfroutingnumber').val("011500120"); $('#etfinstitution').val('Citizens Bank'); $('#etfaccountnumber').val("19056206"); $('#etfaccounttype').val('CHECKING'); $('#echeckroutingnumber').val("011500120"); $('#echeckaccountnumber').val("19056206"); $('#echecknumber').val("3" + n); $('#echeckname').val("4" + n); $('#echeckIDType').val('DL'); $('#echeckidNumber').val("7" + n); $('#echeckstate').val('VA'); $('#ssnNumber').val("77-77-7777"); $('#dateOfBirth').val('01/01/1980'); $('#prefix1').val("MS"); $('#firstname1').val("A" + n); $('#middlename1').val("B" + n); $('#lastname1').val("C" + n); $('#email1').val("EE" + n + 'user@test.com'); $('#company1').val("C" + n); $('#PHONECOUNTRY1').val("USA"); $('#PHONE_AREA_CODE1').val('703'); $('#PHONE_NUMBER1').val("9" + n); $('#COUNTRY1').val("USA"); $('#ADDRESS_11').val("18515 Georgia Ave"); $('#ADDRESS_21').val("Suite 400"); $('#ADDRESS_31').val(''); $('#ADDRESS_41').val(''); $('#CITY1').val('Silver Spring'); $('#STATE1').val('MD'); $('#POSTAL_CODE1').val('20190'); $('#anonymous').trigger('click'); $('#dedicationforck').trigger('click'); $('#on_behalf_company_ck').trigger('click'); $('#donationtock').trigger('click'); $('#tributename').val("T" + n); $('#tributemessage').val("very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message very long message ") } $('body').on('click', '#test', function () { var n = Math.floor((Math.random() * 100000) + 1); jshelp(n); return false; }); $('body').on('click', '#fix', function () { jshelp(100); return false; }); } $('#cardname').val(''); $('#ADDRESS_13').val(''); $('#CITY3').val(''); $('#STATE3').val(''); $('#POSTAL_CODE3').val(''); $('#PHONECOUNTRY3').val(''); $('body').on('change', '#donationamount', function () { var c = $(this).val(); console.log("lblPrice", lblPrice); $('#lblPrice').html(c); TotalDonation(); }); $('body').on('change', '#firstname2, #middlename2, #lastname2', function () { console.log("cardname"); var middlename2 = $('#middlename2').val(); var cardname = $('#firstname2').val() + ((middlename2.length > 0) ? ' ' + middlename2 : '') + ' ' + $('#lastname2').val(); $('#cardname').val(cardname); }); function FillAddress() { if ($('#sameaddressforcc:checked').length > 0) { if ($('#ADDRESS_12:visible').length > 0 && $('#ADDRESS_12').val().length > 0) { $('#ADDRESS_13').val($('#ADDRESS_12').val()); $('#CITY3').val($('#CITY2').val()); $('#STATE3').val($('#STATE2').val()); $('#POSTAL_CODE3').val($('#POSTAL_CODE2').val()); $('#PHONECOUNTRY3').val($('#PHONECOUNTRY2').val()); $('#ccaddress').hide(); } } else { //$('#ADDRESS_13').val(''); //$('#CITY3').val(''); //$('#STATE3').val(''); //$('#POSTAL_CODE3').val(''); //$('#PHONECOUNTRY3').val("USA"); $('#ccaddress').show(); } } $('body').on('change', '#sameaddressforcc', function () { console.log('sameaddressforcc'); FillAddress(); }); $('body').on('change', '#COUNTRY1', function () { var c = $(this).val(); console.log("c", c); if (c.length > 0) { BuildAddress(1, c, false); $('#PHONECOUNTRY1').val(c); } }); $('body').on('change', '#COUNTRY2', function () { var c = $(this).val(); console.log("c", c); if (c.length > 0) { BuildAddress(2, c, false); $('#PHONECOUNTRY2').val(c); } }); $('body').on('change', '#COUNTRY3', function () { $('#POSTAL_CODE3').ForceUSAZip('#POSTAL_CODE3', "#COUNTRY3"); }); $('#CITY3').ForceAnythingNotNumeric(); $('#POSTAL_CODE3').ForceUSAZip('#POSTAL_CODE3', "#COUNTRY3"); $('#cwcode').ForceNumericOnly(); $('body').on('change', '#PHONECOUNTRY1', function () { var c = $(this).val(); console.log("c", c); if (c.length > 0) { BuildPhone(1, $(this).val(), false); } }); $('body').on('change', '#PHONECOUNTRY2', function () { var c = $(this).val(); console.log("c", c); if (c.length > 0) { BuildPhone(2, $(this).val(), false); } }); BuildAddress(1, "USA", false); BuildAddress(2, "USA", true); $('#firstname2').val(''); $('#middlename2').val(''); $('#lastname2').val(''); $('#credentials2').val(''); $('#company2').val(''); function BuildAddress(prefix, country, populate) { $.ajax({ url: '/ANFDonation/GetAddressStructures', contentType: "application/json; charset=utf-8", dataType: "json", data: { country: country }, success: function (response) { console.log('Success', response, response.length); if (response != null) { response.prefix = prefix; //var saved = []; //jQuery('#address' + prefix).find("input, select").each( function() { // saved.push ([this.id, $(this).val()]); //}); //console.log("saved", saved); var addresstemplatesource1 = jQuery('#address-template-grid').html(); var addresstemplate1 = Handlebars.compile(addresstemplatesource1); address1 = addresstemplate1(response); //console.log("address1", address1); jQuery('#address' + prefix).html(address1); //if (saved != null && saved.length > 0) { // for(var i = 0; i<saved.length;i++) { // jQuery('#' + saved[i][0]).val(saved[i][1]); // } //} if (populate == true) { $('#ADDRESS_12').val(''); $('#ADDRESS_22').val(''); $('#ADDRESS_32').val(''); $('#ADDRESS_42').val(''); $('#CITY2').val(''); $('#STATE2').val(''); $('#statetext').val(''); $('#POSTAL_CODE2').val(''); $('#PHONECOUNTRY2').val(''); $('#email2').val(''); } if (prefix == 1) { console.log("address1 trick"); //address 1 not required by default $('#address1 input').each(function () { if ($(this).hasClass('required')) { $(this).addClass('requiredNo').removeClass('required'); } }); $('#address1 span.requiredflag').hide(); $('#address1 input').on('change', function () { var anyvalue = false; $('#address1 input').each(function () { if ($(this).val().length > 0) { anyvalue = true; return false; } }); console.log("anyvalue", anyvalue); if (anyvalue == true) { $('#address1 input').each(function () { if ($(this).hasClass('requiredNo')) { $(this).addClass('required').removeClass('requiredNo'); } }); $('#address1 span.requiredflag').show(); } else { $('#address1 input').each(function () { if ($(this).hasClass('required')) { $(this).addClass('requiredNo').removeClass('required').removeClass('error'); } }); $('#address1 span.requiredflag').hide(); } }); } $('#CITY' + prefix).ForceAnythingNotNumeric(); $('#POSTAL_CODE' + prefix).ForceUSAZip('#POSTAL_CODE' + prefix, "#COUNTRY" + prefix); } }, error: function () { nalert('Error (2)'); } }); } BuildPhone(1, "USA", false); BuildPhone(2, "USA", true); function BuildPhone(prefix, country, populate) { $.ajax({ url: '/ANFDonation/GetCustomerPhoneStructures', contentType: "application/json; charset=utf-8", dataType: "json", data: { country: country }, success: function (response) { console.log('Success', response, response.length); if (response != null) { response.prefix = prefix; var phonetemplatesource1 = jQuery('#phone-template-grid').html(); var phonetemplate1 = Handlebars.compile(phonetemplatesource1); phone1 = phonetemplate1(response); //console.log("address1", address1); jQuery('#phone' + prefix).html(phone1); if (populate == true) { $('#PHONE_AREA_CODE2').val(''); $('#PHONE_NUMBER2').val(''); } $('#PHONE_AREA_CODE1, #PHONE_NUMBER1, #PHONE_AREA_CODE2, #PHONE_NUMBER2').ForceNumericOnly(); } }, error: function () { nalert('Error (4)'); } }); } $('body').on('click', '.selectpayment', function () { var v = $('input.selectpayment:checked').val(); $('.paymentoption').hide(); $('#' + v).show(); }); $('body').on('click', '.donationamount', function () { $('.donationamount').removeClass('active'); $(this).addClass('active'); var value = $(this).attr('value'); if (value > 0) { $('#donationamount').val(value); $('#donationamountline').hide(); $('#lblPrice').html(value); } else { $('#donationamountline').show(); $('#donationamount').val(''); } TotalDonation(); return false; }); function setImpact() { console.log("setImpact"); if ($('#repeatx:checked').length > 0 && $('#repeattime').val() > 0) { //if ($('#repeattime').val() > 0) { console.log("setImpact 1"); $('#impactCASH').hide(); $('#impactPLEDGE').show(); } else { console.log("setImpact 2"); $('#impactCASH').show(); $('#impactPLEDGE').hide(); } } $('body').on('keyup', '.required', function () { if (!$(this).val()) { $(this).addClass('error'); } else { $(this).removeClass('error'); } }); var startDate = new Date('1915-01-01'), endDate = new Date(); $(".form_date").datetimepicker({ format: 'mm/dd/yyyy', weekStart: 1, todayBtn: false, autoclose: 1, todayHighlight: 1, startView: 4, keyboardNavigation: 1, minView: 2, forceParse: 0, initialDate: new Date(new Date().getFullYear()-18, 1, 1), startDate: startDate, //set start date endDate: endDate //set end date }); $('.form_date input').mask('00/00/0000'); $('#ssnNumber').mask('000-00-0000'); $('body').on('keyup', '#cardnumber', function () { console.log("cardnumber"); var cardnumber = $('#cardnumber').val(); var cardtype = GetCardType(cardnumber); if (cardtype.length > 0) { $(this).removeClass('AX VI MC DI'); $(this).addClass(cardtype); console.log("cardnumber 21", cardtype); } else { $(this).removeClass('AX VI MC DI'); } console.log("cardnumber 2"); if (!(cardtype.length > 0) || !(luhnCheck(cardnumber))) { $(this).addClass('error'); } else { $(this).removeClass('error'); } }); $('body').on('change', '#cardmonth, #cardyear', function () { var cardmonth = $('#cardmonth').val(); var cardyear = $('#cardyear').val(); console.log("cardmonth", cardmonth, cardyear); if ((cardyear == new Date().getFullYear()) && (cardmonth < new Date().getMonth() + 1)) { $('#cardmonth, #cardyear').addClass('error'); } else { $('#cardmonth, #cardyear').removeClass('error'); } }); $('body').on('change', '#dateOfBirth', function () { console.log("dateOfBirth"); var dateOfBirth = $('#dateOfBirth').val(); if (!isValidDate(dateOfBirth)) { $('#dateOfBirth').addClass('error'); } else { $('#dateOfBirth').removeClass('error'); } }); $('body').on('change', '#echeckIDType', function () { console.log("echeckIDType"); var echeckIDType = $('#echeckIDType').val(); if (echeckIDType == 'SSN') { $('.driverrow').hide(); $('.ssnrow').show(); } else { $('.ssnrow').hide(); $('.driverrow').show(); } }); $('body').on('keyup', '#email1', function () { if (!isEmail($(this).val())) { $(this).addClass('error'); } else { $(this).removeClass('error'); } }); var timer; $('body').on('keyup', '#email2', function () { console.log(1); if (!isEmail($(this).val())) { console.log(2); $(this).addClass('error'); } else { console.log(3); $(this).removeClass('error'); } clearTimeout(timer); //clear any running timeout on key up timer = setTimeout(function () { //then give it a second to see if the user is finished //do .post ajax request //then do the ajax call console.log(4); if (!$('#email2').hasClass('error') && $('#email2').val().length > 0 && isEmail($('#email2').val())) { console.log(5); $.ajax({ url: '/ANFDonation/CheckEmail', contentType: "application/json; charset=utf-8", type: 'POST', dataType: "json", data: JSON.stringify({ 'Email': $('#email2').val() }), success: function (response) { console.log('Success', response); $('#duplicateemail').html(''); $('#existingemail, #sameasrow').show(); $('#payments').show(); $('#paymentbuttonrow').show(); $('#ccaddress').hide(); $('#sameaddressforcc').prop("checked", true); if (response.Result > 0) { if (response.Result == 1) { //nalert('Email already exists in SSO'); //$('#duplicateemail').html("Email already exists, please <a href='https://ebiz.nursingworld.org/SSO/login.aspx?vi=7&amp;vt=26e3000358093dc2f7fa6bfb6bdbf446decd101d23a1c97bf9e46e3b3ddf469f2adb685af3314915b2c6ca6a037a5ed4394900d1d77390d20b13e4a6633d573519d459e6c8a5f279ddc55aea766e7fac52f64cb4bf8dd086f52c4ecf020578b5dd372c051553f3aab5a1799b5ba60508' class='btn btn-primary'>Sign In</a>"); $('#duplicateemail').html("We have found your account in our system, please enter payment information to complete the donation."); $('#existingemail, #sameasrow').hide(); $('#ccaddress').show(); } if (response.Result > 1) { //nalert('Email already exists in our system'); //$('#duplicateemail').html("Email already exists in our system, please contact 301-628-5227 to receive login credentials"); $('#duplicateemail').html("More than one account is associated with this email address, please login first."); $('#existingemail, #sameasrow').hide(); //$('#ccaddress').show(); $('#payments').hide(); $('#paymentbuttonrow').hide(); } } return false; }, error: function () { nalert('An error occurred verifying email'); return false; } }); } }, 1500); }); $('body').on('keyup', '#donationamount', function () { if (!isNumeric($(this).val())) { $(this).addClass('error'); } else { c = $(this).val(); if (!(c >= 1)) { $(this).addClass('error'); $('#donationamounterror').show(); } else { $(this).removeClass('error'); $('#donationamounterror').hide(); } } }); Number.prototype.formatMoney = function (c, d, t) { var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "." : d, t = t == undefined ? "," : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0; return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : ""); }; function TotalDonation() { $('#totaldonation').hide(); if ($('#repeatx:checked').length > 0 && $('#repeattime').val() > 0) { var x = $('#repeattime').val(); var d = $('#donationamount').val(); console.log(x, d, x * d); if (x * d > 0) { $('#totaldonation').html('Your total donation will be $' + (x * d * 12).formatMoney(2)).show(); } } return false; } $('body').on('click', '.repeat', function () { console.log('repeat'); $('#cclink').trigger('click'); if ($('#repeat1:checked').length > 0) { $('#repeattimeline').hide(); $('#echecklink').show(); $('#etflink').hide(); } else { $('#repeattimeline').show(); $('#echecklink').hide(); $('#etflink').show(); } setImpact(); TotalDonation(); //return false; }); $('body').on('change', '#repeattime', function () { console.log('repeattime'); setImpact(); TotalDonation(); //return false; }); function luhnCheck(value) { // accept only digits, dashes or spaces if (/[^0-9-\s]+/.test(value)) return false; // The Luhn Algorithm. It's so pretty. var nCheck = 0, nDigit = 0, bEven = false; value = value.replace(/\D/g, ""); for (var n = value.length - 1; n >= 0; n--) { var cDigit = value.charAt(n), nDigit = parseInt(cDigit, 10); if (bEven) { if ((nDigit *= 2) > 9) nDigit -= 9; } nCheck += nDigit; bEven = !bEven; } return (nCheck % 10) == 0; } $('body').on('click', '.process1', function () { console.log('process1'); //Captcha validate //var $captcha = $('#recaptcha'), // response = grecaptcha.getResponse(); //if (response.length === 0) { // if (!$captcha.hasClass("error")) { // $captcha.addClass("error"); // } //} else { // $captcha.removeClass("error"); //} //End Captcha var required = $('.required:visible'); $(required).removeClass('error'); var missing = $(required).filter(function () { return !$(this).val(); }); var errormessage = ''; if ($(missing).length > 0) { $(missing).addClass('error'); errormessage = 'Please fill in all of the required fields'; } else { //validate emails var email = $('.email:visible').filter(function () { return !isEmail($(this).val()); }); if ($(email).length > 0) { $(email).addClass('error'); errormessage = 'Invalid email'; } var number = $('.number:visible').filter(function () { return !isNumeric($(this).val()); }); if ($(number).length > 0) { $(number).addClass('error'); errormessage = 'Invalid number'; } var donationamount = $('#donationamount').val(); if (!(donationamount >= 1)) { $('#donationamount').addClass('error'); errormessage = "Minimum online donation amount is $1, please select or enter an amount"; nalert(errormessage); } if ($('#authorize:visible').length > 0) { if (!(($("#authorize:checked").length) > 0)) { $('#authorize').parent().addClass('requiredflag'); errormessage = 'Please authorize this transaction'; nalert(errormessage); return false; } } if ($('#cardnumber:visible').length > 0) { var cardnumber = $('#cardnumber').val(); var cardtype = GetCardType(cardnumber); if (!(cardtype.length > 0) || !(luhnCheck(cardnumber))) { $('#cardnumber').addClass('error'); errormessage = 'Invalid Credit Card Number'; nalert(errormessage); return false; } var cardmonth = $('#cardmonth').val(); var cardyear = $('#cardyear').val(); if (cardyear == new Date().getFullYear() && cardmonth < new Date().getMonth() + 1) { $('#cardmonth, #cardyear').addClass('error'); errormessage = 'Invalid Expiration Date'; nalert(errormessage); return false; } } if ($('#ssnNumber:visible').length > 0) { if (!isValidDate($('#dateOfBirth').val())) { $('#dateOfBirth').addClass('error'); errormessage = 'Invalid Date Of Birth'; nalert(errormessage); return false; } } } var error = $('.error:visible:first'); if (errormessage.length > 0 && $(error).length > 0) { $('html, body').animate({ scrollTop: $(error).offset().top - 100 }, 300); nalert(errormessage); return false; } console.log('process1 1'); if ($('#repeat1:checked').length > 0) { ProcessPayment(); } else { if ($('#repeattime').val() > 0) { if ($('#etfroutingnumber:visible').length > 0) { $('#myModalPledgeEFT').modal('show'); } else { $('#myModalPledgeCC').modal('show'); } } else { if ($('#etfroutingnumber:visible').length > 0) { $('#myModalMonthlyEFT').modal('show'); } else { $('#myModalMonthlyCC').modal('show'); } } } console.log('process1 end'); }); $('body').on('click', '.process2', function () { console.log('process2'); ProcessPayment(); }); $('body').on('click', '#dedicationforck', function () { console.log('dedicationfor'); if ($('#dedicationforck:checked').length > 0) { $('#dedicationfor').show(); } else { $('#dedicationfor').hide(); } }); $('body').on('click', '#on_behalf_company_ck', function () { console.log('on_behalf_company'); if ($('#on_behalf_company_ck:checked').length > 0) { $('#on_behalf_company').show(); } else { $('#on_behalf_company').hide(); } }); $('body').on('click', '#donationtock', function () { console.log('donationto'); if ($('#donationtock:checked').length > 0) { $('#donationto').show(); } else { $('#donationto').hide(); } }); function ProcessPayment() { FillAddress(); console.log("ProcessPayment"); $('#myModalMonthlyCC').modal('hide'); $('#myModalPledgeCC').modal('hide'); $('#myModalMonthlyEFT').modal('hide'); $('#myModalPledgeEFT').modal('hide'); var billing = { "prefix": $('#prefix2').val(), "firstname": $('#firstname2').val(), "middlename": $('#middlename2').val(), "lastname": $('#lastname2').val(), "credentials": $('#credentials2').val(), "company": $('#company2').val(), "email": $('#email2').val(), "phonecountry": $('#PHONECOUNTRY2').val(), "phonecountrycode": $('#PHONECOUNTRY2 option:selected').attr("property"), "phone_area_code": $('#PHONE_AREA_CODE2').val(), "phone_number": $('#PHONE_NUMBER1').val(), "country": $('#COUNTRY2').val(), "address_1": $('#ADDRESS_12').val(), "address_2": $('#ADDRESS_22').val(), "address_3": $('#ADDRESS_32').val(), "address_4": $('#ADDRESS_42').val(), "city": $('#CITY2').val(), "state": $('#STATE2').val(), "postal_code": $('#POSTAL_CODE2').val(), }; var card = {}; if ($('#cardnumber:visible').length > 0) { card = { "cardtype": GetCardType($('#cardnumber').val()), "cardnumber": $('#cardnumber').val(), "cardname": $('#cardname').val(), "cardmonth": $('#cardmonth').val(), "cardyear": $('#cardyear').val(), "cwcode": $('#cwcode').val(), "Address1": $('#ADDRESS_13').val(), "City": $('#CITY3').val(), "State": $('#STATE3').val(), "PostalCode": $('#POSTAL_CODE3').val(), "CountryCode": $('#COUNTRY3').val(), }; } var etf = {}; if ($('#etfroutingnumber:visible').length > 0) { etf = { "etfroutingnumber": $('#etfroutingnumber').val(), "etfinstitution": $('#etfinstitution').val(), "etfaccountnumber": $('#etfaccountnumber').val(), "etfaccounttype": $('#etfaccounttype').val(), }; } var echeck = {}; if ($('#echeckroutingnumber:visible').length > 0) { echeck = { "echeckroutingnumber": $('#echeckroutingnumber').val(), "echeckaccountnumber": $('#echeckaccountnumber').val(), "echecknumber": $('#echecknumber').val(), "echeckname": $('#echeckname').val(), "echeckIDType": $('echeckIDType').val(), "echeckidNumber": $('echeckidNumber').val(), "echeckstate": $('echeckstate').val(), "ssnNumber": $('ssnNumber').val(), "dateOfBirth": $('dateOfBirth').val(), }; } var notification = {}; if ($('#donationtock:checked').length > 0) { notification = { "prefix": $('#prefix1').val(), "firstname": $('#firstname1').val(), "middlename": $('#middlename1').val(), "lastname": $('#lastname1').val(), "email": $('#email1').val(), "company": $('#company1').val(), "phonecountry": $('#PHONECOUNTRY1').val(), "phonecountrycode": $('#PHONECOUNTRY1 option:selected').attr("property"), "phone_area_code": $('#PHONE_AREA_CODE1').val(), "phone_number": $('#PHONE_NUMBER1').val(), "country": $('#COUNTRY1').val(), "address_1": $('#ADDRESS_11').val(), "address_2": $('#ADDRESS_21').val(), "address_3": $('#ADDRESS_31').val(), "address_4": $('#ADDRESS_41').val(), "city": $('#CITY1').val(), "state": $('#STATE1').val(), "postal_code": $('#POSTAL_CODE1').val(), "anonymous": ($('#anonymous:checked').length > 0), } } var dedication = {}; if ($('#dedicationforck:checked').length > 0) { dedication = { "tributetype": ($('#honor:checked').length > 0) ? "IN_HONOR_OF" : "IN_MEMORY_OF", "tributename": $('#tributename').val(), "tributemessage": $('#tributemessage').val(), "notification": notification } } //ANA-1175 ANF donation enhancement var onbehalfCompany = {}; if ($('#on_behalf_company_ck:checked').length > 0) { onbehalfCompany = { "USR_COMPANY_NAME": $('#USR_COMPANY_NAME').val() } } var usrIsNurse = {"USR_IS_NURSE": 'Y'}; if ($('#usr_is_nurse_ck:checked').length > 0) { usrIsNurse = { "USR_IS_NURSE": 'Y' } } var data = { "donationamount": $('#donationamount').val(), "repeat": ($('#repeat1:checked').length > 0) ? "1" : "x", "repeattime": $('#repeattime').val(), "productid": $('.impact:visible').val(), 'dedication': dedication, 'billing': billing, 'card': card, 'etf': etf, 'echeck': echeck, 'onbehalfCompany': onbehalfCompany, //ANA-1175 ANF donation enhancement 'usrIsNurse': usrIsNurse, //xni 'GoogleCaptchaToken': document.getElementById("GoogleCaptchaToken").value }; console.log("data", data); $("#divForm").hide(); $("#imgLoading").show(); //save info $.ajax({ url: '/ANFDonation/SavePayment', contentType: "application/json; charset=utf-8", type: 'POST', dataType: "json", data: JSON.stringify(data), success: function (response) { console.log('Success', response); if (response != null && response.Success == true) { console.log("done"); location.href = '/ANFDonation/Confirmation'; } else { $("#divForm").show(); $("#imgLoading").hide(); if (response.Message != null && response.Message.length > 0) { nalert(response.Message); } else { nalert('An error occurred (1)'); } } return false; }, error: function () { $("#divForm").show(); $("#imgLoading").hide(); nalert('An error occurred (2)'); return false; } }); return false; }; }); </script> </div> <div class="container" id="noscript"> Seems your browsers Javascript is disabled. Please enable browser Javascript for this page to work correctly (properly). </div> <script> document.getElementById('noscript').style.display = 'none'; document.getElementById('script').style.display = 'block'; </script> <footer class="c-footer"> <div class="c-footer__wrap--dark cf"> <section class="c-footer__secondary"> <div class="c-footer__section c-footer__section--dark"> <section class="c-footer__content grid grid--full"> <div class="c-footer__content-item grid__item one-whole large--one-quarter"> </div> <div class="c-footer__content-item grid__item one-whole large--one-half push--large--one-quarter"> <aside class="c-footer__copyright"> <font size=1>©2019 the American Nurses Association, Inc. All rights reserved.</font> </aside> </div> </section> </div> </section> </div> </footer> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10