﻿/* //////////////////////////////////////////////
// Empty textbox default text as jQuery Plugin
////////////////////////////////////////////// */
(function($) {
    $.fn.emptyText = function(options) {
        return this.each(function() {
            $(this).data("_eto", $.extend({ blurColor: "#bbbbbb", focusColor: "#000000", defaultText: "Default Text" }, options || {})).bind("blur", function() { if ($(this).val() == "") { $(this).css("color", $(this).data("_eto").blurColor).val($(this).data("_eto").defaultText); } }).bind("focus", function() { if ($(this).val() == $(this).data("_eto").defaultText) { $(this).val("").css("color", $(this).data("_eto").focusColor); } }).focus().blur();
        });
    };
})(jQuery);

/* //////////////////////////////////////////////
// Restrict Keys
////////////////////////////////////////////// */
(function($) {
    $.fn.allowOnly = function(alpha, numeric, asWellAs) {
        var allowedKeys = [];
        if (alpha) {
            for (var az = 65; az <= 90; az++) { allowedKeys.push(az); }
            for (var AZ = 97; AZ <= 122; AZ++) { allowedKeys.push(AZ); }
        }
        if (numeric) {
            for (var n = 48; n <= 57; n++) { allowedKeys.push(n); }
        }
        if (typeof asWellAs != "undefined") {
            allowedKeys = $.merge(allowedKeys, asWellAs);
        }
        this.keypress(function(e) { var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0; if (key == 13 && this.nodeName.toLowerCase() == "input") { return true; } else if (key == 13) { return false; } var allow = false; if ((e.ctrlKey && key == 97) || (e.ctrlKey && key == 65)) return true; if ((e.ctrlKey && key == 120) || (e.ctrlKey && key == 88)) return true; if ((e.ctrlKey && key == 99) || (e.ctrlKey && key == 67)) return true; if ((e.ctrlKey && key == 122) || (e.ctrlKey && key == 90)) return true; if ((e.ctrlKey && key == 118) || (e.ctrlKey && key == 86) || (e.shiftKey && key == 45)) return true; if ($.inArray(key, allowedKeys) == -1) { if (key == 45 && this.value.length == 0) return true; if (key != 8 && key != 9 && key != 13 && key != 35 && key != 36 && key != 37 && key != 39 && key != 46) { allow = false; } else { if (typeof e.charCode != "undefined") { if (e.keyCode == e.which && e.which != 0) { allow = true; } else if (e.keyCode != 0 && e.charCode == 0 && e.which == 0) { allow = true; } } } } else { allow = true; } return allow; });
        return this;
    };
})(jQuery);

/* //////////////////////////////////////////////
// Numeric textbox as jQuery Plugin
////////////////////////////////////////////// */
(function($) { $.fn.numeric = function(asWellAs) { this.allowOnly(false, true, asWellAs); return this; }; })(jQuery);

/* //////////////////////////////////////////////
// Alpha textbox as jQuery Plugin
////////////////////////////////////////////// */
(function($) { $.fn.alpha = function(asWellAs) { this.allowOnly(true, false, asWellAs); return this; }; })(jQuery);

/* //////////////////////////////////////////////
// AlphaNumeric textbox as jQuery Plugin
////////////////////////////////////////////// */
(function($) { $.fn.alphaNumeric = function(asWellAs) { this.allowOnly(true, true, asWellAs); return this; }; })(jQuery);
﻿eval(function (p, a, c, k, e, d) { e = function (c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) { d[e(c)] = k[c] || e(c) } k = [function (e) { return d[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) { if (k[c]) { p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]) } } return p }('s 2={r:b,i:b,17:"<p>2O 2P 1B 2Q 1e 2R 2N 2M.2I.2H 8 2J 2K 5 2L 2S, 2T&31;32---</p>",1b:"33 1B 30 2Z",1M:"2V 1A 1C 1Y 2U",1U:"2W 1A 1C 2G",c:{1D:b,1y:10,1s:0,n:b,o:b,1m:b,1t:0,2F:0,1u:b,1x:b,2o:[],R:[],1T:0},v:{},S:l(){s k="";k+="2n:"+2.c.1D;k+=";2q:"+2.c.1y;k+=";2m:"+2.c.1s;k+=";2j:"+2.c.n+","+2.c.o;k+=";2h:"+2.c.1m;k+=";2g:"+2.c.1t;k+=";2k:"+2.c.1u;k+=";2l:"+2.c.1x;k+=";2t:";k+=";d:"+2.c.R.2f();k+=";2B:"+2.c.1T;k=k.D(/b/g,"").D(/,;/g,";");O k},2E:l(j){2.i=j.i;2.r=j.r;2.c.n=j.n;2.c.o=j.o;q(j.1H("1S"))$(\'2A\').t(\'<1n 1P="2z">\'+j.1S+\'</1n>\');q(j.1H("1R")&&j.1R){2.v=j.1K;q(2.v.J>0){q(j.2w=="15"){$("#2-1V").N(j.2x)}K{$("#2-1V").T(j.n+","+j.o)}s $m=$(".3-G .3-m");$m.1d().t(\'<4 9="3-Z">&C;</4>\');$(2.v.2b).18(l(){$m.t(2.1j(I)).t(\'<4 9="3-Z">&C;</4>\')});$m.t(\'<4><a u="x://\'+2.r+\'/#f?c={\'+2.S()+\'}&1h=0&1q=1p" y="w">20 21</a></4>\')}K{$(".3-G .3-35").1Q("3-1k");$(".3-G .3-3g").1W("3-1k");$(".3-B").1O("E","1X").T("1X");$(".3-G").1W("3-3E")}2.1o();$(".3-G").1Q("3-1k")}K{$("#"+2.i).3G(\'<4 1P="\'+2.i+\'-f" 9="3-G"><4 9="3-16"></4><4 9="3-m"></4><4 9="3-3x">&C;</4></4>\');2.26(j.1K,j.n,j.o)}},3A:l(1J){s h=25;q(3H 1J=="3M"){$("#"+2.i+"-f .3-m>4").18(l(){h+=$(I).1I()})}h+=$("#"+2.i+"-f .3-16").1I();O h},1z:b,1o:l(){$("#"+2.i+"-f .3-B").3K(2.f);$("#"+2.i+"-f .3-F").3J({3N:"3z"}).3v().H("V",1l).3e("3f 3w",l(1L){q(1L.3d==\'13\'&&!$(I).H("V")){$("#"+2.i+"-f .3-B").1i()}K{$(I).H("V",1l);2.c.n=b;2.c.o=b;2.c.1m=$("#"+2.i+"-f .3-F").29();$("#"+2.i+"-f .3-B").1O("u",\'x://\'+2.r+\'/?Y=X#f?c={\'+2.S()+\'}&1h=0&1q=1p\')}}).1i().37()},27:l(J,n,o,28){s N="";s U=b;q(J==0){U=0;s W="";q($.1N.39&&$.1N.3b.3i("7")!=-1){W=\' 1n="3r-3s:3t;"\'}N=\'<4 9="3-3u"><12\'+W+\'>\'+2.1b+\'</12><14\'+W+\'>\'+2.1M+\'</14><4 9="3-3q">&C;</4><4 9="3-P"><!-- M --></4></4><4 9="3-1F"><1r 1w="T" 1v="5" 9="3-F" 1G="" /><a u="1E:1Z(0)" 9="3-B" y="w">f</a><4 9="3-P"><!-- M --></4></4><L /><L />\'+2.17}K{U=1;N=\'<12>\'+2.1b+\'</12><14>\'+2.1U+\'</14>\'+2.17+\'<L /><p>3o 1g 1Y \'+n+\', \'+o+\'</p><4 9="3-1F"><1r 1w="T" 1v="5" 9="3-F" 1G="" /><a u="1E:1Z(0)" 9="3-B" y="w">3B</a><4 9="3-P"><!-- M --></4></4>\'}2.1z=U;$("#"+2.i+"-f .3-16").1d().t(N);2.1o();28()},1j:l(6){s 11="",1f="",1c="";s A=(6.A!=b)?6.A.D(\'x:\',\'\'):\'\';q(6.A!=b&&6.A!=""){11=\'<4 9="3-36"><a u="x://\'+2.r+6.19+(!6.Q?\'1a/?Y=X\':\'\')+\'" y="w"><3F 3C="3y" 3c="\'+A+\'" 38="\'+6.23+\'" /></a></4>\'}1f=\'<p><a u="x://\'+2.r+6.19+(!6.Q?\'1a/?Y=X\':\'\')+\'" y="w">3a 3j</a></p>\';6.z=6.z!=b?6.z.D(/\'/g,"\\\\\'").D(/"/g,"\'"):b;q(!6.Q){1c=\'<p>\'+(6.R!=b?6.R.2f().D(/,/g,", ")+\'<L />\':\'\')+(6.E!=b?6.E+\'<L />\':\'\')+(6.2y||(6.E=="2d 24 1e"&&6.z!=b)?\'\':(6.z!=b&&6.E!="2d 24 1e"?\'<a u="x://\'+2.r+6.3n+\'" E="\'+6.z+\'" y="w">\'+6.z+\'</a>\':\'\'))+\'</p>\'}O\'<4 9="3-3m\'+(11.3k==0?\' 3-3l\':\'\')+\'">\'+11+\'<4 9="3-3p"><22><a u="x://\'+2.r+6.19+(!6.Q?\'1a/?Y=X\':\'\')+\'" y="w">\'+6.23+\'</a></22>\'+1c+1f+\'</4><4 9="3-P"><!-- M --></4></4>\'},2c:l(1g){s $m=$("4#"+2.i+"-f .3-m");$m.1d().t(\'<4 9="3-Z">&C;</4>\');$(1g).18(l(){$m.t(2.1j(I)).t(\'<4 9="3-Z">&C;</4>\')});$m.t(\'<4><a u="x://\'+2.r+\'/#f?c={\'+2.S()+\'}&1h=0&1q=1p" y="w">20 21</a></4>\')},26:l(H,n,o){2.v=H;2.27(2.v.J,n,o,l(){3h(2.v.J){3L 0:2a;3I:2.2c(2.v.2b);2a}$("#"+2.i+"-f").2e($("#"+2.i+"-f").2e()+25)})},f:l(e){e.3D();q($("#"+2.i+"-f .3-F").29().2u(/^\\d{5}$/)===b){$("#"+2.i+"-f .3-F").2v().1i().H("V",15);2D(\'2C 2s a 2i 5-2r 2p 2Y 2X, M: 34\');O 1l}O 15}}', 62, 236, '||alwpSearchWidget|alwpWidget|div||advsr|||class||null|crit|||search|||widgetId|info|hash|function|results|city|state||if|widgetDomain|var|append|href|asr|_blank|http|target|teamName|mapViewPhotoUrl|searchbtn|nbsp|replace|title|textbox|container|data|this|resultCount|else|br|ie|html|return|clear|isTeam|designations|critHash|text|headType|error|ieStyle|geo|awsrc|dotline||imageHTML|h1||h3|true|header|callCenterInfoHtml|each|advisorURL|profile|mainHeading|desTitleHTML|empty|Advisor|addressHTML|advisors|page|focus|getAdvisorHTML|hide|false|zipCode|style|setForm|list|view|input|startRowIndex|radialDistance|firstName|maxlength|type|lastName|numberOfRowsToReturn|curHeader|an|the|advisor|sortExpression|javascript|searchForm|value|hasOwnProperty|outerHeight|ignoreResults|advisorSearchResult|event|subTextNoResults|browser|attr|id|removeClass|custom|css|assetLevel|subTextResults|CityState|addClass|Search|near|void|More|Results|h2|displayName|Financial||processResult|setHeaderHTML|callback|val|break|advisorModels|displayResults|Associate|height|toString|rd|zip|valid|cs|fn|ln|sri|se|areasOfFocus|US|nrr|digit|enter|aof|match|select|isSnapshotCity|snapshotSearchLink|isAFA|alwpSearchWidgetCSS|head|al|Please|alert|init|defaultRadius|below|8740|257|am|to|pm|800|at|or|contact|Ameriprise|Center|CT|Monday|you|Find|Contact|Code|Postal|step|next|ndash|Friday|Take|55474|noResults|photo|blur|alt|msie|Visit|version|src|keyCode|bind|keyup|hasResults|switch|indexOf|Website|length|noimage|result|teamURL|Displaying|detail|magnifying|padding|bottom|5px|noresults|numeric|keydown|footer|45|ZIP|calcHeight|update|width|stopPropagation|noResultsContainer|img|after|typeof|default|emptyText|click|case|undefined|defaultText'.split('|'), 0, {}))
alwpSearchWidget.init({"custom":true,"widgetDomain":"www.ameripriseadvisors.com","widgetId":"alwpSearchWidget","city":"Montréal","state":"QC","isSnapshotCity":"false","snapshotSearchLink":"","advisorSearchResult":{"_id":"00000000-0000-0000-0000-000000000000","_isChanged":false,"_isDeleted":false,"_isNew":false,"advisorModels":[],"defaultRadius":0,"message":"We’re sorry; we were unable to find an advisor near the location you specified. Please modify your search by changing the distance or location.","nextRadiusTier":"50","nextRadiusTierCount":1,"noResultInfo":{"message":"<p>We’re sorry; we were unable to find an advisor near the location you specified. Please modify your search by changing the distance or location.<\/p>","zip":null},"resultCount":0}});