
var _gaq=_gaq||[],optimizely={preset_optimizely:optimizely||[],revision:229,account_id:8921220,all_experiments_json:'{"11116842": {"url_matches": [{"url_match_type": "regex", "url_string": "collegeprowler.com/([^/]+/)?survey/$"}], "language_matches": [], "browser_matches": [], "targeting_exclude_custom_events": [], "exp_status": "Running", "section_ids": [11782706, 11785589, 11755892, 11781741, 11781742], "site_catalyst_eVar": 1, "targeting_cookie_value": "", "exclude_url_matches": [], "tracked_elements": "{\\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(0) > td:eq(0)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(1) > td:eq(0)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(2) > td:eq(0)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(0) > td:eq(1)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(1) > td:eq(1)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(2) > td:eq(1)\\":{\\"mousedown\\":\\"Role Selection\\"}}", "visitor_type": "all", "targeting_custom_events": [], "targeting_cookie_name": "", "use_splunk": true, "exclude_browser_matches": [], "google_analytics_slot": 1, "site_catalyst": "disabled", "sections": [{"variations": [{"is_paused": false, "js_component": "", "variation_id": 11785588, "description": "This is your chance..."}, {"is_paused": false, "js_component": "$(\\"h3.surveyH3\\").replaceWith(\\"<h3 class=\\\\\\"surveyH3\\\\\\">Give prospective students the info they need, your opinion!</h3>\\");", "variation_id": 11788491, "description": "Give prospective students..."}], "id": 11782706, "title": "Subheader Text"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11789714, "description": "Start the Survey"}, {"is_paused": false, "js_component": "$(\\"div.formSide > fieldset:eq(0) > h3:eq(0)\\").replaceWith(\\"<h3>Enter the Survey Scholarship</h3>\\");", "variation_id": 11753996, "description": "Enter the Survey Scholarship"}], "id": 11785589, "title": "Form Header"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11789715, "description": "Submit"}, {"is_paused": false, "js_component": "$(\\"input#ctl00_MainContentPlaceholder_btnContinue\\").val(\\"Start Survey\\");", "variation_id": 11782708, "description": "Start Survey"}], "id": 11755892, "title": "Button Text"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11786979, "description": "Review your school and..."}, {"is_paused": false, "js_component": "$(\\"div.text6\\").replaceWith(\\"<div class=\\\\\\"text6\\\\\\">Give your opinion for a chance to win!</div>\\");", "variation_id": 11785590, "description": "Give your opinion..."}], "id": 11781741, "title": "Scholarship Callout"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11755893, "description": "CP Student Survey"}, {"is_paused": false, "js_component": "$(\\"h1.surveyH1\\").replaceWith(\\"<h1 class=\\\\\\"surveyH1\\\\\\">College Prowler Student Survey Scholarship</h1>\\");", "variation_id": 11786980, "description": "CP Student Survey Scholarship"}], "id": 11781742, "title": "Header Text"}], "variation_ids": [], "status": "Running", "custom_js": "", "description": "Survey Registration - Content MV", "query_param_matches": [], "goals": [{"url": "collegeprowler.com/register/(college)?demographics.aspx(.)*", "type": 7, "label": "7#9466676"}, {"url": "collegeprowler.com/([^/]+/)?survey/process/$", "type": 7, "label": "7#10732653"}, {"url": "collegeprowler.com/([^/]+/)?survey/finish/$", "type": 7, "label": "7#10734281"}, {"url": "collegeprowler.com/([^/]+/)?survey/start/$", "type": 7, "label": "7#10737092"}], "is_multivariate": true, "activation_mode": "", "custom_css": "", "custom_html": "", "variations": [], "targeting_javascript_condition": "", "percentage_included": 10000, "experiment_id": 11116842, "google_analytics": "disabled", "referring_url_matches": []}, "11116845": {"url_matches": [{"url_match_type": "simple_match", "url_string": "http://collegeprowler.com/register/collegedemographics.aspx"}], "language_matches": [], "browser_matches": [], "targeting_exclude_custom_events": [], "exp_status": "Running", "section_ids": [11119695, 11119696, 11789806, 11792354], "site_catalyst_eVar": 1, "targeting_cookie_value": "", "exclude_url_matches": [], "tracked_elements": "{\\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(0) > td:eq(0)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(1) > td:eq(0)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(2) > td:eq(0)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(0) > td:eq(1)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(1) > td:eq(1)\\":{\\"mousedown\\":\\"Role Selection\\"}, \\"table#ctl00_MainContentPlaceholder_Role > tbody:eq(0) > tr:eq(2) > td:eq(1)\\":{\\"mousedown\\":\\"Role Selection\\"}}", "visitor_type": "all", "targeting_custom_events": [], "targeting_cookie_name": "", "use_splunk": true, "exclude_browser_matches": [], "google_analytics_slot": 1, "site_catalyst": "disabled", "sections": [{"variations": [{"is_paused": false, "js_component": "", "variation_id": 11119678, "description": "Let us know..."}, {"is_paused": false, "js_component": "$(\\"div.mainContent > div.sectionFull > div:eq(0) > h1:eq(0)\\").replaceWith(\\"<h1>Complete your profile information</h1>\\");", "variation_id": 11740962, "description": "Complete your..."}], "id": 11119695, "title": "Header Text"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11124925, "description": "We need some..."}, {"is_paused": false, "js_component": "$(\\"h3.demoH3\\").replaceWith(\\"<h3 class=\\\\\\"demoH3\\\\\\">This information allows your entry into the $1000 Suvey Scholarship . . .</h3>\\");", "variation_id": 11799011, "description": "This information..."}], "id": 11119696, "title": "Subheader Text"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11789807, "description": "How does $1000..."}, {"is_paused": false, "js_component": "$(\\"div.text7\\").replaceWith(\\"<div class=\\\\\\"text7\\\\\\">Enter the $1000 Survey Scholarship</div>\\");", "variation_id": 11785657, "description": "Enter the $1000"}], "id": 11789806, "title": "Scholarship Callout"}, {"variations": [{"is_paused": false, "js_component": "", "variation_id": 11740963, "description": "Save and Continue"}, {"is_paused": false, "js_component": "$(\\"input#ctl00_MainContentPlaceholder_btnSubmit\\").val(\\"Continue to Survey\\");", "variation_id": 11792355, "description": "Continue to Survey"}], "id": 11792354, "title": "Button Text"}], "variation_ids": [], "status": "Running", "custom_js": "", "description": "College Demographics - Content MV", "query_param_matches": [], "goals": [{"url": "collegeprowler.com/([^/]+/)?survey/process/$", "type": 7, "label": "7#10714796"}, {"url": "collegeprowler.com/([^/]+/)?survey/start/$", "type": 7, "label": "7#10722673"}, {"url": "collegeprowler.com/register/(college)?demographics.aspx(.)*", "type": 7, "label": "7#9466676"}, {"url": "collegeprowler.com/([^/]+/)?survey/finish/$", "type": 7, "label": "7#10665826"}], "is_multivariate": true, "activation_mode": "", "custom_css": "", "custom_html": "", "variations": [], "targeting_javascript_condition": "", "percentage_included": 10000, "experiment_id": 11116845, "google_analytics": "disabled", "referring_url_matches": []}}',ip_anonymization:false,tracking_host:'optimizely.appspot.com',use_kissmetrics:false,is_localhost:false};
(function(){
var $=jQuery;var i=void 0,j=null,l,aa=this;
function m(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function o(a){return a!==i}function p(a){return a!=j}function r(a){return m(a)=="array"}function u(a){var b=m(a);return b=="array"||b=="object"&&typeof a.length=="number"}function v(a){return typeof a=="string"}Math.floor(Math.random()*2147483648).toString(36);
function ba(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}function w(a,b){var c=a.split("."),d=aa;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&o(b)?d[e]=b:d=d[e]?d[e]:d[e]={}};var ca=/^[a-zA-Z0-9\-_.!~*'()]*$/;function x(a){a=String(a);return!ca.test(a)?encodeURIComponent(a):a};var y=Array.prototype,da=y.forEach?function(a,b,c){y.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=v(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};function ea(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c],e;if(r(d)||(e=u(d))&&d.hasOwnProperty("callee"))a.push.apply(a,d);else if(e)for(var f=a.length,g=d.length,h=0;h<g;h++)a[f+h]=d[h];else a.push(d)}};function z(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function A(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};function fa(a){if(typeof a.V=="function")return a.V();if(v(a))return a.split("");if(u(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return z(a)}function B(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(u(a)||v(a))da(a,b,c);else{var d;if(typeof a.da=="function")d=a.da();else if(typeof a.V!="function")if(u(a)||v(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=A(a);else d=i;for(var e=fa(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)}};function C(a,b){this.J={};this.o=[];var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof C?(c=a.da(),d=a.V()):(c=A(a),d=z(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}}l=C.prototype;l.w=0;l.Jb=0;l.V=function(){D(this);for(var a=[],b=0;b<this.o.length;b++)a.push(this.J[this.o[b]]);return a};l.da=function(){D(this);return this.o.concat()};l.S=function(a){return E(this.J,a)};
l.remove=function(a){return E(this.J,a)?(delete this.J[a],this.w--,this.Jb++,this.o.length>2*this.w&&D(this),!0):!1};function D(a){if(a.w!=a.o.length){for(var b=0,c=0;b<a.o.length;){var d=a.o[b];E(a.J,d)&&(a.o[c++]=d);b++}a.o.length=c}if(a.w!=a.o.length){for(var e={},c=b=0;b<a.o.length;)d=a.o[b],E(e,d)||(a.o[c++]=d,e[d]=1),b++;a.o.length=c}}l.get=function(a,b){return E(this.J,a)?this.J[a]:b};l.set=function(a,b){E(this.J,a)||(this.w++,this.o.push(a),this.Jb++);this.J[a]=b};l.clone=function(){return new C(this)};
function E(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ga=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function F(a,b){var c;a instanceof F?(this.ia(b==j?a.F:b),G(this,a.P),H(this,a.ta),K(this,a.U),L(this,a.ha),M(this,a.ga),N(this,a.A.clone()),O(this,a.sa)):a&&(c=String(a).match(ga))?(this.ia(!!b),G(this,c[1]||"",!0),H(this,c[2]||"",!0),K(this,c[3]||"",!0),L(this,c[4]),M(this,c[5]||"",!0),N(this,c[6]||"",!0),O(this,c[7]||"",!0)):(this.ia(!!b),this.A=new P(j,this,this.F))}l=F.prototype;l.P="";l.ta="";l.U="";l.ha=j;l.ga="";l.sa="";l.oc=!1;l.F=!1;
l.toString=function(){if(this.D)return this.D;var a=[];this.P&&a.push(Q(this.P,ha),":");this.U&&(a.push("//"),this.ta&&a.push(Q(this.ta,ha),"@"),a.push(v(this.U)?encodeURIComponent(this.U):j),this.ha!=j&&a.push(":",String(this.ha)));this.ga&&(this.U&&this.ga.charAt(0)!="/"&&a.push("/"),a.push(Q(this.ga,ia)));var b=String(this.A);b&&a.push("?",b);this.sa&&a.push("#",Q(this.sa,ja));return this.D=a.join("")};
l.clone=function(){var a=this.P,b=this.ta,c=this.U,d=this.ha,e=this.ga,f=this.A.clone(),g=this.sa,h=new F(j,this.F);a&&G(h,a);b&&H(h,b);c&&K(h,c);d&&L(h,d);e&&M(h,e);f&&N(h,f);g&&O(h,g);return h};function G(a,b,c){R(a);delete a.D;a.P=c?b?decodeURIComponent(b):"":b;if(a.P)a.P=a.P.replace(/:$/,"")}function H(a,b,c){R(a);delete a.D;a.ta=c?b?decodeURIComponent(b):"":b}function K(a,b,c){R(a);delete a.D;a.U=c?b?decodeURIComponent(b):"":b}
function L(a,b){R(a);delete a.D;if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.ha=b}else a.ha=j}function M(a,b,c){R(a);delete a.D;a.ga=c?b?decodeURIComponent(b):"":b}function N(a,b,c){R(a);delete a.D;b instanceof P?(a.A=b,a.A.Xa=a,a.A.ia(a.F)):(c||(b=Q(b,ka)),a.A=new P(b,a,a.F))}function O(a,b,c){R(a);delete a.D;a.sa=c?b?decodeURIComponent(b):"":b}function R(a){if(a.oc)throw Error("Tried to modify a read-only Uri");}l.ia=function(a){this.F=a;this.A&&this.A.ia(a);return this};
function la(a){return a instanceof F?a.clone():new F(a,i)}var ma=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;function Q(a,b){var c=j;v(a)&&(c=a,ma.test(c)||(c=encodeURI(a)),c.search(b)>=0&&(c=c.replace(b,na)));return c}function na(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var ha=/[#\/\?@]/g,ia=/[\#\?]/g,ka=/[\#\?@]/g,ja=/#/g;function P(a,b,c){this.I=a||j;this.Xa=b||j;this.F=!!c}
function S(a){if(!a.k&&(a.k=new C,a.I))for(var b=a.I.split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("="),e=j,f=j;d>=0?(e=b[c].substring(0,d),f=b[c].substring(d+1)):e=b[c];e=decodeURIComponent(e.replace(/\+/g," "));e=U(a,e);a.add(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}l=P.prototype;l.k=j;l.w=j;l.add=function(a,b){S(this);V(this);a=U(this,a);if(this.S(a)){var c=this.k.get(a);r(c)?c.push(b):this.k.set(a,[c,b])}else this.k.set(a,b);this.w++;return this};
l.remove=function(a){S(this);a=U(this,a);if(this.k.S(a)){V(this);var b=this.k.get(a);r(b)?this.w-=b.length:this.w--;return this.k.remove(a)}return!1};l.S=function(a){S(this);a=U(this,a);return this.k.S(a)};l.da=function(){S(this);for(var a=this.k.V(),b=this.k.da(),c=[],d=0;d<b.length;d++){var e=a[d];if(r(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};
l.V=function(a){S(this);if(a)if(a=U(this,a),this.S(a)){var b=this.k.get(a);if(r(b))return b;else a=[],a.push(b)}else a=[];else for(var b=this.k.V(),a=[],c=0;c<b.length;c++){var d=b[c];r(d)?ea(a,d):a.push(d)}return a};l.set=function(a,b){S(this);V(this);a=U(this,a);if(this.S(a)){var c=this.k.get(a);r(c)?this.w-=c.length:this.w--}this.k.set(a,b);this.w++;return this};l.get=function(a,b){S(this);a=U(this,a);if(this.S(a)){var c=this.k.get(a);return r(c)?c[0]:c}else return b};
l.toString=function(){if(this.I)return this.I;if(!this.k)return"";for(var a=[],b=0,c=this.k.da(),d=0;d<c.length;d++){var e=c[d],f=x(e),e=this.k.get(e);if(r(e))for(var g=0;g<e.length;g++)b>0&&a.push("&"),a.push(f),e[g]!==""&&a.push("=",x(e[g])),b++;else b>0&&a.push("&"),a.push(f),e!==""&&a.push("=",x(e)),b++}return this.I=a.join("")};function V(a){delete a.Oa;delete a.I;a.Xa&&delete a.Xa.D}l.clone=function(){var a=new P;if(this.Oa)a.Oa=this.Oa;if(this.I)a.I=this.I;if(this.k)a.k=this.k.clone();return a};
function U(a,b){var c=String(b);a.F&&(c=c.toLowerCase());return c}l.ia=function(a){a&&!this.F&&(S(this),V(this),B(this.k,function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.add(d,a))},this));this.F=a};l.extend=function(a){for(var b=0;b<arguments.length;b++)B(arguments[b],function(a,b){this.add(b,a)},this)};function W(a,b,c){if(typeof b!="undefined"){c=c||{};if(b===j)b="",c.q=-1;var d="";if(c.q&&(typeof c.q=="number"||c.q.toUTCString))typeof c.q=="number"?(d=new Date,d.setTime(d.getTime()+c.q*864E5)):d=c.q,d="; expires="+d.toUTCString();var e=c.path?"; path="+c.path:"",f=c.domain?"; domain="+c.domain:"";if(f==""){var g=document.location.hostname.split("."),h=g[g.length-1];if(g.length>2&&g[g.length-2]==="appspot"&&h==="com")f="; domain=."+g[g.length-3]+".appspot.com";else if(g.length>1&&(h=="com"||h==
"net"||h=="org"||h=="local"))f="; domain=."+g[g.length-2]+"."+g[g.length-1]}document.cookie=[a,"=",encodeURIComponent(b),d,e,f,c.Zc?"; secure":""].join("")}else{b=[];if(document.cookie&&document.cookie!=""){c=document.cookie.split(";");for(d=0;d<c.length;d++)e=$.trim(c[d]),e.substring(0,a.length+1)==a+"="&&b.unshift(decodeURIComponent(e.substring(a.length+1)))}return b}}function X(a){a=W(a);return a.length==0?j:a[0]};function oa(a){eval("var $j = $;");eval(a)}function pa(a){try{return oa(a),!0}catch(b){return!1}}$.extend($.fn,{optimizely_custom_css:function(a){return $(this).append("<style>"+a+"</style>")},optimizely_custom_html:function(a){return $(this).append('<div style="display:none">'+a+"</div>")},optimizely_custom_js:function(a){oa(a);return $(this)}});(function(a){function b(a){return a<10?"0"+a:a}function c(a){f.lastIndex=0;return f.test(a)?'"'+a.replace(f,function(a){var b=k[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function d(a,b){var e,f,k,I,J=g,t,n=b[a];n&&typeof n==="object"&&typeof n.toJSON==="function"&&(n=n.toJSON(a));typeof q==="function"&&(n=q.call(b,a,n));switch(typeof n){case "string":return c(n);case "number":return isFinite(n)?String(n):"null";case "boolean":case "null":return String(n);
case "object":if(!n)return"null";g+=h;t=[];if(Object.prototype.toString.apply(n)==="[object Array]"){I=n.length;for(e=0;e<I;e+=1)t[e]=d(e,n)||"null";k=t.length===0?"[]":g?"[\n"+g+t.join(",\n"+g)+"\n"+J+"]":"["+t.join(",")+"]";g=J;return k}if(q&&typeof q==="object"){I=q.length;for(e=0;e<I;e+=1)f=q[e],typeof f==="string"&&(k=d(f,n))&&t.push(c(f)+(g?": ":":")+k)}else for(f in n)Object.hasOwnProperty.call(n,f)&&(k=d(f,n))&&t.push(c(f)+(g?": ":":")+k);k=t.length===0?"{}":g?"{\n"+g+t.join(",\n"+g)+"\n"+
J+"}":"{"+t.join(",")+"}";g=J;return k}}if(typeof Date.prototype.toJSON!=="function")Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":j},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
f=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,g,h,k={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},q;if(typeof a.stringify!=="function")a.stringify=function(a,b,c){var e;h=g="";if(typeof c==="number")for(e=0;e<c;e+=1)h+=" ";else typeof c==="string"&&(h=c);if((q=b)&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number"))throw Error("JSON.stringify");return d("",{"":a})};
if(typeof a.parse!=="function")a.parse=function(a,b){function c(a,d){var e,f,g=a[d];if(g&&typeof g==="object")for(e in g)Object.hasOwnProperty.call(g,e)&&(f=c(g,e),f!==i?g[e]=f:delete g[e]);return b.call(a,d,g)}var d,a=String(a);e.lastIndex=0;e.test(a)&&(a=a.replace(e,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,
"")))return d=eval("("+a+")"),typeof b==="function"?c({"":d},""):d;throw new SyntaxError("JSON.parse");}})(optimizely);function Z(a){return function(b){var c;if(c=typeof b==="object")a:{for(var d in{}){c=!0;break a}c=!1}if(c){c=j;for(var e in b)b.hasOwnProperty(e)&&(c=a.call(this,e,b[e]));return c}else return a.apply(this,arguments)}};(function(a){a.t=0;a.bb=2E3;a.Ob=5E3;a.Za="optimizelyOptOut";a.Mb="optimizely_opt_out";a.Nb=["bucketUser"];a.fc=function(a){if(typeof a=="string")return a;else if(typeof a=="object"&&a[0])return a[0];return j};a.vb=[];a.ub=[];a.tc=function(b){for(var c=0;c<b.length;c++){var d=a.fc(b[c]);d==="disable"?a.s=!0:$.inArray(d,a.Nb)?a.vb.push(b[c]):a.ub.push(b[c])}};a.tc(a.preset_optimizely);a.ic=function(b){b=la(b).A.get(a.Mb);if(b==="true"||b==="false")W(a.Za,b,{q:3650,path:"/"}),b==="true"&&alert("You have successfully opted out of Optimizely for this domain.");
return X(a.Za)==="true"};a.j=a.j||window.location.href;a.Z=!1;a.ec=!1;a.pb=!1;a.host="optimizely.appspot.com";a.qb=!1;a.Ba="Optimizely_";a.s=o(a.s)&&a.s;a.N=!0;a.referrer=a.referrer||document.referrer;a.Fa=!1;a.Cb=!1;a.Gb=[];a.Ya=!1;if(a.ic(a.j))a.s=!0;a.Wb=50;a.$=$;a.Ra=function(){if(!a.qb){if(!window.OPTIMIZELY_TEST_MODULE){var b=$;b.fn.attr=Z(b.fn.attr);b.fn.css=Z(b.fn.css)}a.f("start_time");a.za();a.yc();a.Fa&&document.write('<script src="https://'+a.host+'/load_innie.js" type="text/javascript"><\/script>');
a.qb=!0;a.f("initialized")}};a.Qa=function(b){a.ba[b.experiment_id]=b;if(a.O(b))for(var c=0;c<b.sections.length;c++){var d=b.sections[c];a.xc[d.id]=d;a.mb[d.id]=b;for(var e=0;e<d.variations.length;e++){var f=d.variations[e],g=f.variation_id;a.h[g]=f;a.ca[g]=b;a.Ea[g]=d}}else for(c=0;c<b.variations.length;c++)f=b.variations[c],g=f.variation_id,a.h[f.variation_id]=f,a.ca[g]=b};a.za=function(){a.all_experiments=a.parse(a.all_experiments_json);a.ba={};a.h={};a.xc={};a.mb={};a.ca={};a.Ea={};for(var b in a.all_experiments)a.all_experiments.hasOwnProperty(b)&&
a.Qa(a.all_experiments[b]);a.aa=j;a.activeExperiments=[];a.Ca=!1;a.jb=!1;a.Kb=!1;a.cc=!0;a.Db=!1;a.wb=!1;a.e=[];a.g=[];a.Fb=[];a.i={};a.K={};a.n={};a.Q=W("optimizelyBuckets");if(a.Q&&a.Q instanceof Array)for(b=0;b<a.Q.length;b++){var c=a.parse(a.Q[b]),d;for(d in c)a.i[d]=c[d]}else a.i=a.parse(a.Q);a.ea=p(a.ea)?a.ea:p(a.Q)&&a.Q.length>0;d=la(a.j).A;a.Z=d.get("optimizely_debug")==="true";b=d.get("optimizely_disable");if(o(b))a.s=b==="true";a.host=d.get("optimizely_host")||a.host;a.Fa=d.get("optimizely_load_innie")===
"true";switch(d.get("optimizely_log")){case "false":a.N=!1;break;case "true":a.N=!0;break;default:a.N=a.is_localhost}b=d.get("optimizely_experiment",j);c=d.get("optimizely_variation",j);a.X=a.nc(b,c);try{if(a.p=a.p||window.location.search||"",a.p.indexOf("?")===0)a.p=a.p.substring(1)}catch(e){a.p=""}a.G=!1;a.v=!1;a.ja=$.isEmptyObject(a.X)||d.get("optimizely_force_tracking")==="true";a.m=a.kc();a.$b=W("optimizelyDebugMode");a.ib=d.get("optimizely_debug_mode");a.Na=!1;if(a.ib=="true")a.Na=!0,W("optimizelyDebugMode",
"true");else if(a.ib=="false")W("optimizelyDebugMode","");else if(a.$b=="true")a.Na=!0;a.Gb=a.Aa()};a.nc=function(a,c){var d={};if(a&&c)for(var a=a.split(","),c=c.split(","),e=Math.min(a.length,c.length),f=0;f<e;f++)d[a[f]]=c[f];return d};a.kc=function(){var a={Ra:function(){this.browser=this.Ab(this.Xb)||"unknown";this.version=this.Bb(navigator.userAgent)||this.Bb(navigator.appVersion)||"unknown";this.W=this.Ab(this.Yb)||"unknown"},Ab:function(a){for(var b=0;b<a.length;b++){var c=a[b].B,d=a[b].uc;
this.Ib=a[b].ka||a[b].r;if(c){if(c.indexOf(a[b].C)!=-1)return a[b].r}else if(d)return a[b].r}},Bb:function(a){var b=a.indexOf(this.Ib);return b==-1?i:parseFloat(a.substring(b+this.Ib.length+1))},Xb:[{B:navigator.userAgent,C:"Chrome",r:"gc",ka:"Chrome"},{B:navigator.vendor,C:"Apple",r:"safari",ka:"Version"},{B:navigator.userAgent,C:"Firefox",r:"ff",ka:"Firefox"},{uc:window.opera,r:"opera",ka:"Opera"},{B:navigator.userAgent,C:"MSIE",r:"ie",ka:"MSIE"},{B:navigator.userAgent,C:"Gecko",r:"mo",ka:"rv"}],
Yb:[{B:navigator.userAgent,C:"Windows Phone",r:"windows phone"},{B:navigator.userAgent,C:"iPad",r:"ipad"},{B:navigator.userAgent,C:"iPhone",r:"iphone"},{B:navigator.userAgent,C:"iPod",r:"ipod"},{B:navigator.userAgent,C:"Android",r:"android"},{B:navigator.userAgent,C:"BlackBerry",r:"blackberry"}]};a.Ra();var c={};c.browser=a.browser;c.version=a.version;c.W=a.W;try{c.language=navigator.userLanguage||window.navigator.language,c.language=c.language.toLowerCase()}catch(d){c.language=""}return c};a.yc=
function(){a.aa=X("optimizelyEndUserId");if(!a.aa)a.aa="oeu"+String((new Date).getTime())+"r"+String(Math.random()),W("optimizelyEndUserId",a.aa,{q:3650,path:"/"})};a.toJSON=function(b){var c=j,d=j,e=j,f=j;if($.isFunction(Array.prototype.toJSON))c=Array.prototype.toJSON,Array.prototype.toJSON=i;if($.isFunction(Array.toJSON))d=Array.toJSON,Array.toJSON=i;if($.isFunction(Object.prototype.toJSON))e=Object.prototype.toJSON,Object.prototype.toJSON=i;if($.isFunction(Array.prototype.toJSON))f=Object.toJSON,
Object.toJSON=i;b=a.stringify(b);if($.isFunction(c))Array.prototype.toJSON=c;if($.isFunction(d))Array.toJSON=d;if($.isFunction(e))Object.prototype.toJSON=e;if($.isFunction(f))Object.toJSON=f;return b};a.Fc=function(){a.s||(a.f("startExperiments"),a.ec||(a.Qb(),a.Wa(),a.wc()),a.f("finish startExperiments"))};a.Qb=function(){if(typeof window.Lb!="undefined"){var b=a.ba[window.Lb];typeof b!="undefined"&&a.ma(b)}else for(var c in a.all_experiments)b=a.all_experiments[c],a.Ua(b)&&a.ma(b)};a.Ua=function(b,
c){var d={runManualExperiments:!1};p(c)||(c={});$.extend(d,c);var e=!1,f=!1,g="everything passed",h=a.X[b.experiment_id];!e&&h&&(e=!0,g="URL parameters");if(!e&&a.O(b))for(var k=0;k<b.sections.length;k++)a.X[b.sections[k].id]&&(e=!0,g="URL parameters");!e&&!h&&!$.isEmptyObject(a.X)&&(f=!0,g="URL parameters do NOT include this experiment");!e&&!f&&!a.rb(b)&&(f=!0,g="experiment status is not running");!e&&!f&&!d.runManualExperiments&&o(b.activation_mode)&&b.activation_mode==="manual"&&(f=!0,g="activation mode is 'manual'");
if(!e&&!f){d=!1;for(k=0;k<b.url_matches.length;k++)!d&&a.fa(b.url_matches[k])&&(d=!0);d||(f=!0,g="URL doesn't match")}!e&&!f&&!a.La(b)&&(f=!0,g="targeting exclude url parameters mismatch");!e&&!f&&!a.L(b)&&(f=!0,g="targeting query parameters mismatch");!e&&!f&&!a.R(b)&&(f=!0,g="targeting returning/new mismatch");!e&&!f&&!a.oa(b)&&(f=!0,g="targeting brower mismatch");!e&&!f&&!a.H(b)&&(f=!0,g="targeting cookie mismatch");!e&&!f&&!a.qa(b)&&(f=!0,g="targeting language mismatch");!e&&!f&&!a.ya(b)&&(f=
!0,g="targeting referrer mismatch");!e&&!f&&!a.xa(b)&&(f=!0,g="targeting custom JS eval'd to false");!e&&!f&&!a.pa(b)&&(f=!0,g="targeting custom events mismatch");return e?(a.f("Experiment "+b.experiment_id+" running - "+g),!0):f?(a.f("Experiment "+b.experiment_id+" not run - "+g),!1):(a.f("Experiment "+b.experiment_id+" running - "+g),!0)};a.rb=function(a){return a.exp_status==="Running"};a.L=function(b){var c=b.query_param_matches;if(!p(c)||c.length===0)return!0;for(var b=[],d=[],e=0;e<c.length;e++)b.push(c[e].name||
""),d.push(c[e].value||"");c=a.p.split("&");for(e=0;e<c.length;e++){var f="",g="",h=c[e].split("=");h.length>0&&(f=h[0]);h.length>1&&(g=h[1]);if(f!=="")for(h=0;h<b.length;h++)if(f===b[h]&&(d[h]===""||g===d[h]))return!0}return!1};a.R=function(b){return b.visitor_type==="new"&&a.ea?p(a.i[b.experiment_id])?(a.f("Returning visitor passes checkReturningTargeting with visitor_type new because they have this experiment's bucket"),!0):!1:b.visitor_type==="returning"&&!a.ea?!1:!0};a.La=function(b){if(!p(b.exclude_url_matches)||
b.exclude_url_matches.length===0)return!0;for(var c=0;c<b.exclude_url_matches.length;c++)if(a.sb(a.j,b.exclude_url_matches[c].exclude_url_match,b.exclude_url_matches[c].exclude_url_match_type))return!1;return!0};a.tb=function(b,c){if(!p(b)||b.length===0)return p(c)?c:!0;for(var d=!1,e=0;e<b.length;e++)if(b[e]==="any"&&(d=!0),a.m.W!=="unknown"&&b[e]==="mobile"&&(d=!0),a.m.W==="unknown"&&b[e].indexOf(a.m.browser)===0){var f=b[e].substr(a.m.browser.length);if(f===""||f<=a.m.version&&a.m.version<Number(f)+
1)d=!0}return d};a.oa=function(b){var c=a.tb(b.exclude_browser_matches,!1);return a.tb(b.browser_matches)&&!c};a.qa=function(b){if(typeof b.language_matches!=="undefined"&&b.language_matches.length>0){for(var c=!1,d=0;d<b.language_matches.length;d++){var e=b.language_matches[d];e==="any"?c=!0:e===a.m.language?c=!0:e.indexOf("-")===-1&&a.m.language.indexOf(e+"-")!==-1&&(c=!0)}if(!c)return!1}return!0};a.H=function(a){if(p(a.targeting_cookie_name)&&a.targeting_cookie_name.length!==0){var c=!1,d=X(a.targeting_cookie_name);
d!==j&&(p(a.targeting_cookie_value)&&a.targeting_cookie_value.length!==0?d===a.targeting_cookie_value&&(c=!0):c=!0);return c}return!0};a.ya=function(b){if(!p(b.referring_url_matches)||b.referring_url_matches.length===0)return!0;for(var c=0;c<b.referring_url_matches.length;c++)if(a.sb(a.referrer,b.referring_url_matches[c].referring_url_match,b.referring_url_matches[c].referring_url_match_type))return!0;return!1};a.xa=function(a){a=a.targeting_javascript_condition;if(p(a)&&a.length>0)try{return eval(a)}catch(c){return!1}return!0};
a.pa=function(b){var c=X("optimizelyCustomEvents")||"{}",c=$.parseJSON(c),d=c[a.account_id]||[],c=b.targeting_exclude_custom_events||[],e=!0;$.each(b.targeting_custom_events||[],function(a,b){$.inArray(b,d)===-1&&(e=!1)});$.each(c,function(a,b){$.inArray(b,d)!==-1&&(e=!1)});return e};a.$a=["?","#"];a.ab=["http://www.","https://www.","http://","https://","www."];a.z=function(b,c){b=b.toLowerCase();if(c)for(var d=0;d<a.$a.length;d++){var e=b.indexOf(a.$a[d]);e>=0&&(b=b.substring(0,e))}for(d=b.charAt(b.length-
1);d=="/"||d=="&"||d=="?";)b=b.substring(0,b.length-1),d=b.charAt(b.length-1);for(d=0;d<a.ab.length;d++)if(e=a.ab[d],b.indexOf(e)==0)return b.substring(e.length);return b};a.Hc=function(a){return a.replace("&optimizely_log=true","").replace("?optimizely_log=true&","?").replace("?optimizely_log=true","")};a.fa=function(b,c){c=c||a.j;switch(b.url_match_type){case "exact_match":var d=a.z(c),d=a.Hc(d),e=a.z(b.url_string);return d==e;case "regex":e=b.url_string;try{return Boolean(c.match(e))}catch(f){break}case "simple_match":return d=
a.z(c,!0),e=a.z(b.url_string,!0),d===e;case "substring":return d=a.z(c),e=a.z(b.url_string),e!==""&&d.indexOf(e)>=0}return!1};a.sb=function(b,c,d){p(d)||(d="exact_match");switch(d){case "exact_match":return a.z(b)===a.z(c);case "regex":try{return Boolean(b.match(c))}catch(e){break}case "simple_match":return a.z(b,!0)===a.z(c,!0);case "substring":return a.z(b).indexOf(a.z(c))>=0}return!1};a.ma=function(b){a.O(b)?a.Rb(b):a.Sb(b)};a.Sb=function(b){a.activeExperiments.push(b);var c=b.experiment_id,d=
a.X[c];if(d&&(d=b.variations[d])){a.Y(c,d.variation_id);return}d=a.i[c];p(d)&&d===a.t?a.na(c):d&&a.h[d]?a.Y(c,d):Math.floor(Math.random()*1E4)+1>b.percentage_included?a.na(c):a.fb(c,b.variations)};a.Rb=function(b){a.activeExperiments.push(b);for(var c=b.sections,d=[],e=0;e<c.length;e++){var f=c[e],g=f.id,h=a.X[g];h&&(a.Y(g,f.variations[h].variation_id),d.push(g))}if(d.length===0&&Math.floor(Math.random()*1E4)+1>b.percentage_included)$.each(b.section_ids,function(b,c){a.na(c)});else for(b=0;b<c.length;b++)g=
c[b].id,$.inArray(g,d)===-1&&(e=a.i[g],p(e)&&e===a.t?a.na(g):e&&a.h[e]?a.Y(g,e):a.fb(g,c[b].variations))};a.fb=function(b,c){for(var d=[],e=0;e<c.length;e++)c[e].is_paused||d.push(c[e].variation_id);e=d.length;e===0?a.na(b):a.Y(b,d[Math.floor(Math.random()*e)])};a.Y=function(b,c){if(!p(b)||!p(c)||!a.ca[c]&&!a.Ea[c]||!(a.ca[c].experiment_id==b||a.Ea[c].id==b))return!1;a.i[b]=c;return!0};a.hb=function(){a.K={};a.n={};for(var b in a.i){var c=a.ba[b]||a.mb[b];if(c){var d=c.experiment_id,e=a.i[b],f=a.h[e],
e=a.lc(e);if(c&&a.rb(c)&&e!=-1)a.O(c)?(a.K[d]=a.K[d]||[],a.n[d]=a.n[d]||[],a.K[d].push(e),a.n[d].push(f.description)):(a.K[d]=e,a.n[d]=f.description)}}a.variationMap=a.K;a.variationNamesMap=a.n};a.lc=function(b){var c=a.Ea[b]||a.ca[b];if(p(c)&&p(c.variations))for(var d=0;d<c.variations.length;d++)if(c.variations[d].variation_id==b)return d;return-1};a.na=function(b){a.i[b]=this.t};a.O=function(a){return o(a.is_multivariate)&&a.is_multivariate};a.gc=function(b,c){var d=a.all_experiments[b];if(!a.O(d))return j;
for(var e=0;e<d.sections.length;e++)for(var f=d.sections[e],g=0;g<f.variations.length;g++)if(f.variations[g].variation_id===c)return f.id;return j};a.Ub=function(b,c,d){MOBILE_SAFARI_MAPPING={mousedown:"touchstart"};if((a.m.W==="iphone"||a.m.W==="ipad"||a.m.W==="ipod")&&d in MOBILE_SAFARI_MAPPING)d=MOBILE_SAFARI_MAPPING[d];$(b).bind(d,ba(a.trackEvent,c,"3",j))};a.Aa=function(){var b=!1,c=!1;$.each(a.all_experiments,function(a,d){if(d.status==="Running"){var g=d.use_splunk;b=b||!g;c=c||g}});var d=
[];b&&d.push(a.tracking_host+"/tracking/event");c&&d.push("log.optimizely.com/event");return d};a.ob=function(b,c,d){var e=[];if((d=d||{})&&(typeof d=="string"||typeof d=="number"))d={revenue:d};e.push("a="+a.account_id);e.push("e="+c);e.push("n="+encodeURIComponent(b));d.anonymous||e.push("u="+a.aa);a.Cb&&e.push("override=true");e.push("y="+a.ip_anonymization);d.revenue&&e.push("v="+encodeURIComponent(d.revenue));var b={},f;for(f in a.i)f in a.ba&&a.i[f]!==a.t&&(b[f]=a.i[f]);for(var g in a.all_experiments)if(f=
a.all_experiments[g],a.O(f)){c=f.sections;f=[];for(d=0;d<c.length;++d){var h=a.i[c[d].id];o(h)&&f.push(h)}if(f.length===c.length){c=!0;for(d=0;d<f.length;d++)f[d]!==a.t&&(c=!1);c||(b[g]=f.join("_"))}}for(g in b)e.push("x"+g+"="+b[g]);e.push("t="+ +new Date);return"?"+e.join("&")};a.Zb=function(b,c){for(var d=[],e=0;e<a.activeExperiments.length;e++)d.unshift(a.activeExperiments[e].experiment_id);alert("Account ID:\n    "+a.account_id+"\nEnd User ID:\n    "+a.aa+"\nActive Experiments:\n    "+a.toJSON(d)+
"\nBucket Map:\n    "+a.toJSON(a.i)+"\nEvent type:\n    "+c+"\nEvent name:\n    "+b+"\n")};a.Xc=function(){a.m.browser==="ie"&&a.m.version<8?setTimeout(function(){a.trackEvent(document.location.href,"1")},250):a.trackEvent(document.location.href,"1")};a.Yc=function(b){var c=X("optimizelyCustomEvents")||"{}",c=$.parseJSON(c),d=c[a.account_id]||(c[a.account_id]=[]);$.inArray(b,d)!==-1&&d.splice($.inArray(b,d),1);d.push(b);d.length>10&&d.shift();c[a.account_id]=d;var b=0,d=j,e=0,f;for(f in c)if(c.hasOwnProperty(f)&&
(b++,c[f].length>e&&f!==a.account_id))d=f,e=c[f].length;b>10&&delete c[d];customEventCookieString=a.toJSON(c);W("optimizelyCustomEvents",customEventCookieString,{q:3650,path:"/"})};a.trackEvent=function(b,c,d){if(a.ja)if(b=b||"custom_event",c=c||"3",(c==="3"||c===3)&&a.Yc(b),a.Na)a.Zb(b,c);else if(!window.OPTIMIZELY_TEST_MODULE)for(var e=document.location.protocol+"//",b=a.ob(b,c,d),c=a.Gb,d=0;d<c.length;d++)(new Image).src=e+c[d]+b};a.mc=function(){if(a.ja)$("html").one("mousedown",function(){a.trackEvent("engagement",
4)})};a.Ka=/^\$j?\(["'](((?!["']\)\.).)+)["']\)\..+;\s*$/;a.Ja=/^\$j?\(["'](((?!["']\)\.).)+)["']\)\.detach\(\)\.(appendTo|insertAfter|insertBefore|prependTo)\(["'](((?!["']\)\.).)+)["']\);\s*$/;a.wa=function(b){var c={shouldRepeat:!0,stopClause:!0};p(b)||(b={});$.extend(c,b);if(!(a.e.length===0||a.wb))if(!c.stopClause||!a.Ca&&!(a.Db||a.Kb&&!a.Ya)){for(;a.bc(););if(a.G)if(a.f("Redirect detected"),a.Ta())a.Bc(),a.Cc(),a.jb=!0;else{a.f("Redirect blocked");a.wb=!0;return}if(a.v)a.f("Forced eval detected"),
a.M(a.g),a.v=!1;a.jb||a.cc&&a.Ya?(a.M(),a.Ca=!0):c.shouldRepeat&&setTimeout(function(){a.wa(c)},a.Wb)}};a.M=function(b){if(typeof b=="undefined")b=a.e;a.f("Evaluating "+b.length+" changes: "+(b.length>0?b[0]:""));for(var c=[],d=[];b.length>0;)typeof b[0]=="string"?c.push(b.shift()):$.isFunction(b[0])?d.push(b.shift()):a.f("Unrecognized change: "+b.shift());$.each(d,function(a,b){try{b.call()}catch(c){}});pa(c.join("\n"))};a.bc=function(){if(a.e.length===0)return a.Ca=!0,!1;var b=a.e[0];if(typeof b===
"string")return(b=a.dc(b))&&a.e.shift(),b;else if($.isFunction(b))return b.call(),a.e.shift(),!0;return!1};a.ra=function(b){if(b.indexOf("_optimizely_redirect")>=0)a.G=!0;return a.G};a.T=function(b){if(b.indexOf("_optimizely_evaluate=force")<0)return!1;for(a.v=!0;a.e.length>0;)if(b=a.e[0],typeof b=="string"&&b.indexOf("_optimizely_evaluate=safe")>=0){a.g.push(a.e.shift());break}else a.g.push(a.e.shift());return!0};a.Ma=function(b){var c=j,d=0;try{c=$(b)}catch(e){}d=c==j||typeof c.length=="number"&&
(c.length==0||c[0]==j)?0:c.length;a.f("Counting selector results: "+b+" - "+d);return d};a.dc=function(b){if(a.ra(b)||a.T(b))return!1;if(b=="")return!0;var c=a.Ka.exec(b);if(!c||c.length<=1)return a.f("this doesn't look like jquery. waiting till domReady."),a.Kb=!0,!1;c=c[1];if(a.Ma(c)<=0)return a.f("Element not ready, returning to stack: "+c),!1;if((c=a.Ja.exec(b))&&c.length>4)if(c=c[4],a.f("Second selector found: "+c),a.Ma(c)<=0)return a.f("Second element not ready, returning to stack."),!1;a.f("Evaluating statement: "+
b);return pa(b)};a.ac=function(){a.f("dom_ready");a.Ya=!0;a.s||(a.wa(),a.M(a.Fb),a.Xc(),a.mc());a.f("dom_ready_end");setTimeout(function(){a.sc()},a.bb+1E3);a.Ca||setTimeout(a.Gc,a.bb);if(a.Z){var b="Snippet implemented correctly: true\n\nActive experiments:";$.each(a.activeExperiments,function(c,d){b+="\n-"+d.description;var e=d.variations[a.Hb];e&&(b+="\n--Variation: "+e.description)});alert("Optimizely debug message: "+b)}};a.wc=function(){a.f("runActiveVariations");for(var b=0;b<a.activeExperiments.length;b++)a.l(a.activeExperiments[b]);
a.wa()};a.l=function(b){var c=a.i[b.experiment_id];if(c!==a.t)if(a.vc(b),a.Vb(b),a.O(b)){b=b.sections;for(c=0;c<b.length;c++){var d=a.i[b[c].id];d!==a.t&&(d=a.h[d],a.eb(d))}}else(d=a.h[c])||alert("Got no variation for variation "+c+" and experiment "+b.experiment_id+" Here's verification that maps initialized "+a.ca[316]),a.eb(d)};a.vc=function(b){var c=b.experiment_id;b.custom_html!==""&&a.e.push('$("body").optimizely_custom_html(optimizely.all_experiments['+c+"].custom_html);");b.custom_css!==""&&
a.e.push('$("body").optimizely_custom_css(optimizely.all_experiments['+c+"].custom_css);");b.custom_js!==""&&a.e.push('$("body").optimizely_custom_js(optimizely.all_experiments['+c+"].custom_js);")};a.Vb=function(b){b.tracked_elements!==""&&(b=$.parseJSON(b.tracked_elements),$.each(b,function(b,d){$.each(d,function(d,f){function g(){a.f("Binding "+f+" to "+d+" on "+b);a.Ub(b,f,d)}a.Ma(b)>0?a.M([g]):a.Fb.push(g)})}))};a.eb=function(b){for(var b=b.js_component.split("\n"),c=/\/\* *_optimizely_variation_url( +include="([^"]*)")?( +exclude="([^"]*)")?( +match_type="([^"]*)")? *\*\//,
d=!0,e=0;e<b.length;e++){var f=$.trim(b[e]);if(f==="/* _optimizely_variation_url_end */")d=!0;else if(f!==""){var g=c.exec(f);if(g&&g.length==7){for(var f=g[2]?g[2].split(","):[],h=g[4]?g[4].split(","):[],g=g[6]?g[6]:"substring",d=j,k=0,q=f.length;k<q;k++){var T={url_match_type:g,url_string:f[k]};if(a.fa(T)){d=!0;break}}if(h.length>0){d=!0;k=0;for(q=h.length;k<q;k++)if(T={url_match_type:"substring",url_string:h[k]},a.fa(T)){d=!1;break}}}else d&&a.e.push(f)}}};a.Gc=function(){a.f("Stopping evaling changes.");
a.Db=!0};a.Wa=function(){a.f("Updating optimizelyBuckets cookie");var b=a.toJSON(a.i);W("optimizelyBuckets",b,{q:3650,path:"/"});a.f("Done updating optimizelyBuckets cookie: "+b)};a.Bc=function(){var b=new Date;b.setTime(b.getTime()+a.Ob);W("optimizelyRedirect",window.location.href,{q:b})};a.Cc=function(){W("optimizelyReferrer",document.referrer||"http://www.optimizely.com/redirect-no-referrer",{path:"/"})};a.Ac=function(){var b=W("optimizelyReferrer");W("optimizelyReferrer","",{});if(b&&b.length>
0){b="_gaq.push(['_setReferrerOverride', '"+b[0]+"']);";try{a.f("GA Tracking: "+b),eval(b)}catch(c){a.f("Error with _gaq.push (Google Analytics integration):"+b)}}};a.Ta=function(){return W("optimizelyRedirect")==""||a.lb==""&&decodeURIComponent(W("optimizelyRedirect"))==a.j};a.gb=function(){W("optimizelyRedirect","",{})};a.f=function(b){if(a.N)if(a.pb===!0)a.xb(b);else{if(!a.recorded_times||a.recorded_times.length==0)a.recorded_times=[],a.Da=[];a.Da.push(b);b=new Date;a.recorded_times.length==0?
a.recorded_times.push(b.getTime()):a.recorded_times.push(b.getTime()-a.recorded_times[0])}};a.sc=function(){if(a.N){if(a.Da&&typeof console!="undefined")for(var b=0;b<a.Da.length;b++)a.xb(a.Da[b]+": "+a.recorded_times[b]);a.pb=!0}};a.xb=function(b){o(window.console)&&a.N&&(window.console.Z?window.console.Z(b):window.console.log&&window.console.log(b))};a.push=function(b){switch(typeof b){case "string":return b==="disable"?b.s=!0:b==="sc_activate"&&a.Tb(),!0;case "object":var c=b[0];if(c==="activate")b.length>
1?a.cb(b[1]):a.Pb();else if(c==="integrationPrefix"){if(b.length>1)a.Ba=b[1]}else if(c==="bucketUser"){if(a.Cb=!0,a.trackEvent(document.location.href,"1"),b.length===3){var c=b[1],b=b[2],d=c;a.O(a.all_experiments[c])&&(d=a.gc(c,b));if(a.Y(d,b))a.Wa(),a.hb();else return!1}}else if(c==="trackEvent")b.length===2?a.trackEvent(b[1]):b.length===3&&a.trackEvent(b[1],j,b[2]);else if(c==="sc_svar")a.Ec=b[1];return!0}return b==="disable"?a.s=!0:!1};a.cb=function(b){if(!a.s)if(o(b)){var c=a.all_experiments[b];
o(c)?o(c.activation_mode)&&c.activation_mode==="manual"&&a.Ua(c,{runManualExperiments:!0})&&(a.f("'activate' called on manual experiment "+b),a.ma(c),a.Wa(),a.l(c),a.wa({stopClause:!1}),a.Eb()):a.f("'activate' called on a non-existant experiment "+b+" (double check the experiment id and project)")}else a.f("'activate' is missing a second parameter (experiment id).")};a.Pb=function(){if(!a.s){a.f('optimizely.push(["activate"]) is activating all manual experiments.');for(var b in a.all_experiments){var c=
a.all_experiments[b];o(c.activation_mode)&&c.activation_mode==="manual"&&a.Ua(c,{runManualExperiments:!0})&&a.cb(c.experiment_id)}}};a.Eb=function(){a.hb();if(a.ja)for(var b in a.n){var c=a.ba[b];if(p(a.n[b])){var d=a.Pa(c);if(d!==j)try{var e="_gaq.push(['_setCustomVar',"+d[0]+",'"+d[1]+"','"+d[2]+"',2]);";a.f("GA Tracking: "+e);eval(e)}catch(f){a.f("Error with _gaq.push (Google Analytics integration)")}if(a.use_kissmetrics){c=a.hc(c);try{e="_kmq.push(['set', {'"+c[0]+"':'"+c[1]+"'}]);",a.f("KM Tracking: "+
e),eval(e)}catch(g){a.f("Error with _kmq.push (KISSmetrics integration)")}}}}};a.Tb=function(){if(a.ja){var b=a.Ec||(typeof s!="undefined"?s:j);b||a.f("Error: site catalyst 's' variable not defined");for(var c in a.n){var d=a.ba[c];if(d.site_catalyst=="custom_variables"&&(d=a.jc(d))&&d.length>2)a.f("SC Tracking: "+d[0]+" "+d[1]+":"+d[2]+" "),b[d[0]]=d[1]+":"+d[2]}}};a.u=function(a,c){return a.replace(/[^a-zA-Z0-9\.\~\!\*\(\)\']+/g,"_").substring(0,c)};a.Pa=function(b){var c=b.google_analytics_slot;
if(b.google_analytics==="custom_variables"&&c){var d=a.u(a.Ba+b.description,28),b=a.n[b.experiment_id];$.isArray(b)&&(b=$.map(b,function(a){return a.substr(0,4)}),b=b.join("~"));b=a.u(b.replace("#",""),24);return[c,d,b]}else return j};a.jc=function(b){var c=b.site_catalyst_eVar,d=a.u(a.Ba+b.description,100),b=a.n[b.experiment_id];$.isArray(b)&&(b=$.map(b,function(a){return a.substr(0,24)}),b=b.join("~"));b=a.u(b.replace("#",""),100);return["eVar"+c,d,b]};a.hc=function(b){var c=a.u(a.Ba+b.description,
64),b=a.n[b.experiment_id];$.isArray(b)&&(b=$.map(b,function(a){return a.substr(0,14)}),b=b.join("~"));b=a.u(b.replace("#",""),64);return[c,b]};a.kb=function(b){for(var c=0;c<b.length;c++)a.push(b[c])};a.Ra();a.kb(a.vb);a.Ac();a.Fc();a.kb(a.ub);a.Eb();$(document).ready(function(){a.ac()});w("optimizely.variation_map",a.K);w("optimizely.variationMap",a.K);w("optimizely.variationNamesMap",a.n);w("optimizely.activeExperiments",a.activeExperiments)})(optimizely);
})();


