// Initialize with options
var $$FSR = {
   'timestamp': 'January 13, 2012 @ 5:02 PM',
   'version': '10.7.2',
   'enabled': true,
   'sessionreplay': true,
   'auto' : true,
   'encode' : false,
   'files': '/nmh/foresee/',
   'id': 'Mw9Ql4FgsgQYFcgtlIM5FQ==',
   'definition': 'foresee-surveydef.js',
   'replay_id': 'nmh.org',
   'renderer':'W3C',	// or "ASRECORDED"
   'layout':'CENTERFIXED',	// or "LEFTFIXED" or "LEFTSTRETCH" or "CENTERSTRETCH"
   'sites': [
      {
         path: /\w+-?\w+\.(com|org|edu|gov|net|co\.uk)/
      },
      {
         path: '.',
         domain: 'default'
      }
   ],
   storageOption: 'cookie'
};
// -------------------------------- DO NOT MODIFY ANYTHING BELOW THIS LINE ---------------------------------------------
(function(config){var p=void 0,q=!0,s=null,v=!1;
(function(C){function t(a,b){return(b?a.get(b):a)||""}function D(a){return[a||f.d.g(),(a||f.d.g()).get("cp")||{}]}function V(a,b,d){var c=function(a,b){return function(d){b.call(a,d)}}(a,d);"beforeunload"==b?a.onbeforeunload=a.onbeforeunload?function(a,b,d){return function(){a.apply(b,[]);d.apply(b,[])}}(a.onbeforeunload,a,d):d:"mouseenter"===b?a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener("mouseover",j.Ba.xb(d),v):"mouseleave"===b?a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener("mouseout",
j.Ba.yb(d),v):(W++,a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c,v))}function N(a,b){if(""===a&&b)return b;var d=a.split(" "),e=d.shift(),h;if("#"==e.charAt(0)){var g=c.Na(e.substring(1));h=g?[g]:[]}else{h="."!==e.charAt(0)?e.split(".")[0]:"*";var E=e.split("."),f=s;-1!=c.i("[",h)&&(f=h,h=h.substr(0,c.i("[",h)));for(var g=function(a){var b=arguments.callee,d;if(!(d=!b.hb))if(d=b.Oa,0==a.className.length)d=v;else{for(var e=a.className.split(" "),h=d.length,g=0;g<d.length;g++)c.$a(d[g],
e)&&h--;d=0==h}if(d&&(!b.gb||X(a,b.attributes)))return a},i=[],j=0;j<b.length;j++)for(var O=b[j].getElementsByTagName(h),k=0;k<O.length;k++)i.push(O[k]);E&&E.shift();h=[];g.Oa=E;if(f!=s)var F=c.i("[",f),F=f.substring(F+1,f.lastIndexOf("]")).split("][");g.attributes=f!=s?F:s;g.hb=-1!=c.i(".",e)&&0<E.length;g.gb=f!=s;for(e=0;e<i.length;e++)g(i[e])&&h.push(i[e])}return N(d.join(" "),h)}function X(a,b){function d(a){var b="";c.k("!,*,~,$,^".split(","),function(d,e){if(-1!=c.i(e,a))return b=e,v});return b}
for(var e=q,h=0;h<b.length;h++){var g=b[h].split("="),f=g.shift(),g=2<g.length?g.join("="):g[0],i=d(f)+"=",j=function(a,b){var d=a.match(b);return d&&0<d.length},f="="!=i?f.substring(0,f.length-1):f,f=a.getAttribute(f);switch(i){case "=":e&=f===g;break;case "!=":e&=f!==g;break;case "*=":e&=j(f,g);break;case "~=":e&=j(f,RegExp("\\b"+g+"\\b","g"));break;case "^=":e&=j(f,RegExp("^"+g));break;case "$=":e&=j(f,RegExp(g+"$"));break;default:e=v}}return e}function c(a){i=c.o(i,a)}var i={},u={},m=m=this,n=
m.document;c.R=!m.opera&&!!n.attachEvent;c.la=864E5;var B=Object.prototype.hasOwnProperty,G=Object.prototype.toString,P=[],H=v,Q=v,A;c.A=function(a){return s!==a&&p!==a};c.B=function(a){return"[object Function]"===G.call(a)};c.Q=function(a){return"[object Array]"===G.call(a)};c.p=function(a){return"string"===typeof a};c.ab=function(a){return"number"===typeof a};c.C=function(a){if(!a||"[object Object]"!==G.call(a)||a.nodeType||a.setInterval)return v;if(a.constructor&&!B.call(a,"constructor")&&!B.call(a.constructor.prototype,
"isPrototypeOf"))return v;for(var b in a);return b===p||B.call(a,b)||!B.call(a,b)&&B.call(Object.prototype,b)};c.o=function(){var a=arguments[0]||{},b=1,d=arguments.length,e,h,g;"object"!==typeof a&&!c.B(a)&&(a={});d===b&&(a=this,--b);for(;b<d;b++)if((e=arguments[b])!=s)for(h in e)g=e[h],a!==g&&g!==p&&(a[h]=g);return a};c.ha=function(a){var b;if(c.C(a)){b={};for(var d in a)b[d]=c.ha(a[d])}else if(c.Q(a)){b=[];d=0;for(var e=a.length;d<e;d++)b[d]=c.ha(a[d])}else b=a;return b};c.D=function(){for(var a=
{},b=0,d=arguments.length;b<d;b++){var e=arguments[b];if(c.C(e))for(var h in e){var g=e[h],f=a[h];a[h]=f&&c.C(g)&&c.C(f)?c.D(f,g):c.ha(g)}}return a};c.T=function(){};c.now=function(){return+new Date};c.i=function(a,b){if(c.Q(b)||c.C(b)){for(var d in b)if(b[d]===a)return d;return-1}return(""+b).indexOf(a)};c.$a=function(a,b){return-1!=c.i(a,b)};c.k=function(a,b){var d,e=0,h=a.length;if(h===p||c.B(a))for(d in a){if(b.call(a[d],d,a[d])===v)break}else for(d=a[0];e<h&&b.call(d,e,d)!==v;d=a[++e]);return a};
c.Na=function(a){return n.getElementById(a)};c.trim=function(a){return a.toString().replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")};c.Ta=function(a){return a.toString().replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")};c.Bb=function(a,b,d){for(var c=a.split("."),b=b[c.shift()],h=d,g;b!=s&&0<c.length;)b=b[c.shift()];if(b){for(c=a.split(".");c.length&&(g=c.shift());)h=h[g]?h[g]:h[g]={};c=a.split(".");for(h=d;c.length&&(g=c.shift());)0<c.length?h=h[g]:h[g]=b}};c.fb=function(){return n.location.href};c.Cb=function(){return n.referrer};
c.$=function(){return n.location.protocol};c.N=function(a){return encodeURIComponent(a)};c.Ra=function(a){return decodeURIComponent(a)};c.Y=this;c.s=function(a,b){a&&c.A(b)&&(a=function(a,b,d){return function(){setTimeout(function(a,b){return function(){b.call(a)}}(a,b),d)}}(c.Y,a,b));if(!H&&c.B(a))P.push(a);else if(H&&c.B(a))a.call(c.Y);else if(a===p){H=q;for(var d;d=P.shift();)d.call(c.Y)}};c.ma=s;c.s(function(){c.ma=n.getElementsByTagName("head")[0]||n.documentElement});c.cb=function(a,b){var b=
b||c.T,d=n.createElement("script");d.type="text/javascript";c.R?d.onreadystatechange=function(){("loaded"==this.readyState||"complete"==this.readyState)&&b("ok")}:d.onload=function(){b("ok")};d.onerror=function(){b("error")};d.src=0==c.i("//",a)?c.$()+a:a;c.ma.appendChild(d)};c.Fb=function(a){var b=c.now(),d;do d=c.now();while(d-b<a)};n.addEventListener?A=function(){n.removeEventListener("DOMContentLoaded",A,v);c.s()}:c.R&&(A=function(){"complete"===n.readyState&&(n.detachEvent("onreadystatechange",
A),c.s())});if(!Q){Q=q;if("complete"===n.readyState)return c.s();n.addEventListener?(n.addEventListener("DOMContentLoaded",A,v),C.addEventListener("load",c.s,v)):c.R&&(n.attachEvent("onreadystatechange",A),C.attachEvent("onload",c.s))}c.startTime=c.now();m.FSR=c;m.FSR.opts=i;m.FSR.prop=u;c.d={};c.d.Ea={};var o=c.d.Ea;c.d.Aa={};var j=c.d.Aa,x;x||(x={});(function(){function a(a){return a instanceof Date?isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+
"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":s:a.valueOf()}function b(a){return 10>a?"0"+a:a}function d(a){g.lastIndex=0;return g.test(a)?'"'+a.replace(g,function(a){var b=j[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function c(b,h){var g,j,m,n,o=f,l,r=h[b];r&&"object"===typeof r&&(r instanceof Date||r instanceof Date||r instanceof Boolean||r instanceof String||r instanceof Number)&&(r=a(r));"function"===
typeof k&&(r=k.call(h,b,r));switch(typeof r){case "string":return d(r);case "number":return isFinite(r)?""+r:"null";case "boolean":case "null":return""+r;case "object":if(!r)return"null";f+=i;l=[];if("[object Array]"===Object.prototype.toString.apply(r)){n=r.length;for(g=0;g<n;g+=1)l[g]=c(g,r)||"null";m=0===l.length?"[]":f?"[\n"+f+l.join(",\n"+f)+"\n"+o+"]":"["+l.join(",")+"]";f=o;return m}if(k&&"object"===typeof k){n=k.length;for(g=0;g<n;g+=1)"string"===typeof k[g]&&(j=k[g],(m=c(j,r))&&l.push(d(j)+
(f?": ":":")+m))}else for(j in r)Object.prototype.hasOwnProperty.call(r,j)&&(m=c(j,r))&&l.push(d(j)+(f?": ":":")+m);m=0===l.length?"{}":f?"{\n"+f+l.join(",\n"+f)+"\n"+o+"}":"{"+l.join(",")+"}";f=o;return m}}var h=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,g=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f,i,j={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f",
"\r":"\\r",'"':'\\"',"\\":"\\\\"},k;if("function"!==typeof x.stringify)x.stringify=function(a,b,d){var g;i=f="";if("number"===typeof d)for(g=0;g<d;g+=1)i+=" ";else"string"===typeof d&&(i=d);if((k=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return c("",{"":a})};if("function"!==typeof x.parse)x.parse=function(a,b){function d(a,c){var e,g,h=a[c];if(h&&"object"===typeof h)for(e in h)Object.prototype.hasOwnProperty.call(h,e)&&(g=d(h,e),g!==
p?h[e]=g:delete h[e]);return b.call(a,c,h)}var c,a=""+a;h.lastIndex=0;h.test(a)&&(a=a.replace(h,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 c=(new Function("return "+a))(),"function"===typeof b?d({"":c},""):c;throw new SyntaxError("JSON.parse");}})();c.d.JSON=x;c.d.Ha={};
var f=c.d.Ha,I=1,J=9,K=Array.prototype.slice;j.Da=function(a,b){b=b||n;if(a.nodeType&&a.nodeType===J&&(a=n.body,a===s))return[n];if(a.nodeType&&a.nodeType===I)return[a];if(a.u&&c.p(a.u))return K.call(a,0);b&&(b=j.e.Ja(b));if(c.Q(a))return a;if(c.p(a)){for(var d=[],e=0;e<b.length;e++)d=d.concat(N(a,[b[e]]));return d}return s};o.Xa=function(){for(var a=m.navigator.userAgent.replace(/[\s\\\/\.\(\);:]/gim,""),b="",d=c.now()+"",e=0;e<a.length-1;e+=a.length/7)b+=Number(a.charCodeAt(Math.round(e))%16).toString(16);
7<b.length&&(b=b.substr(b.length-7));return b+"-"+a.length+d.substr(d.length-6)+"-xxxx-xxxx-xxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:b&3|8).toString(16)})};o.V={};o.V.ka=function(){this.ea=[];this.Sa=v};o.V.ka.prototype.Ua=function(){this.Sa=q;for(var a=0;a<this.ea.length;a++){var b=this.ea[a];b.Ab.apply(this,arguments);b.Ib&&(this.ea.splice(a,1),a--)}};c.d.na={};var k=c.d.na;k.I=[];k.zb=function(a,b,d){if(a.SR&&a.SR.updatedAt)for(var e=0;e<k.I.length;e++){var h=
k.I[e];if(h.xa.SR&&h.xa.SR.updatedAt==a.SR.updatedAt){if(1500>c.now()-h.vb)return h.pb;k.I.splice(e,1);break}}b=c.d.JSON.stringify(a,b,d);k.I[k.I.length]={xa:a,pb:b,vb:c.now()};return b};k.f=function(a,b){a||(a=o.Xa());this.P=a.replace(/[- ]/g,"");this.K=b||{};this.data={};this.Ga=new o.V.ka;this.U=0;this.ob=4E3};k.f.prototype.set=function(a,b){this.W();this.q[a]=b;this.Z()};k.f.prototype.get=function(a){this.W();return a?this.q[a]:this.q};k.f.prototype.ra=function(a){this.W();delete this.q[a];this.Z()};
k.f.prototype.va=function(){this.q={};var a=this.K.duration;this.K.duration=-1;this.Z();a?this.K.duration=a:delete this.K.duration};k.f.prototype.W=function(){this.U=0;try{var a=k.f.L(this.P);this.U=this.P.length+a.length+2;this.q=c.d.JSON.parse(a)}catch(b){this.U=0,this.q={}}if(!this.q)this.q={}};k.f.prototype.Z=function(){var a=c.d.JSON.stringify(this.q);this.P.length+c.N(a).length>this.ob&&this.Ga.Ua(this);this.U=k.f.write(this.P,a,this.K)};k.f.L=function(a){return(a=m.document.cookie.match("(?:^|;)\\s*"+
c.Ta(a)+"=([^;]*)"))?c.Ra(a[1]):s};k.f.write=function(a,b,d){var e=!d||!c.A(d.encode)||d.encode?c.N(b):b,a=c.N(a);c.k(d,function(a,b){if(b!=s){var d;a:switch(a){case "duration":d="="+(new Date(c.now()+b*c.la)).toGMTString();break a;case "secure":d="";break a;default:d="="+b}e+=";"+("duration"===a?"expires":a)+d}});m.document.cookie=a+"="+e;return a.length+e.length+2};k.f.va=function(a,b){k.f.write(a,"",c.o(b,{duration:-1}))};k.f.Gb=function(){};k.f.isSupported=function(){return q};f.w={};f.w.rb={host:"survey.foreseeresults.com",
path:"/survey",url:"/display"};f.w.pa={host:"controller.4seeresults.com",path:"/fsrSurvey",url:"/OTCImg",qb:3};f.w.event={host:"events.foreseeresults.com",path:"/rec",url:"/process"};f.w.domain={host:"survey.foreseeresults.com",path:"/survey",url:"/FSRImg",qb:3};var R={};f.Fa=function(a,b){function d(a){this.M=a()}var e=R[a];if(e!=s)return e;d.prototype.set=function(a,b){if(c.C(a))for(var d in a)this.M.set(d,a[d]);else this.M.set(a,b)};d.prototype.get=function(a){return this.M.get(a)};d.prototype.O=
function(a){this.M.ra(a)};d.prototype.ra=function(){this.M.va()};return e=R[a]=new d(b)};m.FSR._storage=function(a,b,d){a=c.Nb.na(a);if(d===p&&c.p(b))return a.get(b);d!==p?a.set(b,d):b!==p&&a.set(b);return a.Db()};c.d.Ia={};var l=c.d.Ia;j.e=function(a,b){return new j.e.prototype.ua(a,b)};var Y=C.document,S=Array.prototype.push,K=Array.prototype.slice,I=1,J=9;j.e.D=function(a,b){var d=a.length,e=0;if(c.ab(b.length))for(var f=b.length;e<f;e++)a[d++]=b[e];else for(;b[e]!==p;)a[d++]=b[e++];a.length=d;
return a};j.e.Hb=function(a,b){var d=b||[];a!=s&&(a.length==s||c.p(a)||c.B(a)||!c.B(a)&&a.setInterval?S.call(d,a):j.e.D(d,a));return d};j.e.La=function(a,b){var d={};d[a]=b;return d};j.e.Ka=function(a){a=c.trim(a).toLowerCase();return 0==c.i("<option",a)?"SELECT":0==c.i("<li",a)?"UL":0==c.i("<tr",a)?"TBODY":0==c.i("<td",a)?"TR":"DIV"};j.e.Ja=function(a){a.setInterval||a.nodeType&&(a.nodeType===I||a.nodeType===J)?a=[a]:c.p(a)?a=j.e(a).ga():a.u&&c.p(a.u)&&(a=a.ga());return a};j.e.Eb=function(a,b,d){for(var c=
[],f,d=!!d,g=0,i=a.length;g<i;g++)f=!!b(a[g],g),d!==f&&c.push(a[g]);return c};j.e.prototype.ua=function(a,b){this.Lb=a;this.Qa=b;this.length=0;this.u="_4cCommonDom.Query";if(!a)return this;if(a.setInterval||a.nodeType)this.Qa=this[0]=a,this.length=1;else{var d=[];if(a.u&&c.p(a.u))d=a.ga();else if(c.Q(a))d=a;else if(c.p(a)&&0==c.i("<",c.trim(a))&&-1!=c.i(">",c.trim(a))){var e=j.e.Ka(a),e=n.createElement(e);e.innerHTML=a;c.R?d.push(e.firstChild):d.push(e.removeChild(e.firstChild))}else{if(-1!=c.i(",",
a)){d=a.split(",");for(e=0;e<d.length;e++)d[e]=c.trim(d[e])}else d=[a];for(var e=[],f=0;f<d.length;f++)e=e.concat(j.Da(d[f],b));d=e}S.apply(this,d)}return this};j.e.prototype.k=function(a){return c.k(this,a)};j.e.prototype.ga=function(){return K.call(this,0)};j.e.prototype.constructor=j.e;j.e.prototype.ua.prototype=j.e.prototype;m.FSR._query=function(a,b){return j.e(a,b)};o.j={};o.j.Kb=function(a,b){return a+Math.random()*(b-a)};o.j.H=function(a,b,d){var e="";a&&c.k(a,function(a,f){e+=(0!=e.length?
"&":"")+(b?b+"["+a+"]":a)+"="+(d?f:c.N(f))});return e};o.j.hash=function(a){a=a.split("_");return 3*a[0]+1357+""+(9*a[1]+58)};o.j.ca=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");a=RegExp("[\\?&]"+a+"=([^&#]*)").exec(c.fb());return a==s?v:a[1]};o.j.sa=function(a,b){return a[b]||a.files};f.d={};f.d.aa=function(a){return a+(i.site.cookie?"."+i.site.cookie:"")};f.d.g=function(a,b){var d=f.d.aa("fsr.s"),d=f.Fa(d,f.d.Ya(d));return a?c.A(b)?d.set(a,b):d.get(a):d};f.d.Za=function(a,b){var d=
a.name;c.k([a.site,a.section,b,f.d.g("q"),f.d.g("l")],function(a,b){d+=b?"-"+b:""});return d};f.d.eb=function(a){c.cb(o.j.sa(i,"js_files")+(i.definition||"foresee-surveydef.js"),function(b){if("ok"===b)c.o(u,c.properties),i.fa=i.surveydefs=c.surveydefs,a()})};f.d.log=function(a,b){if(u.events.enabled){var d=f.d.g(),e=d.get("sd"),e=c.A(e)?i.fa[e]:i.sd,h=new Date;(new y.v(f.w.event,"logit")).send({cid:i.id,rid:d.get("rid")||"",cat:e.name,sec:e.section||"",type:d.get("q")||"",site:i.site.name||"",lang:d.get("l")||
c.$S.locale||"",msg:a,param:b,tms:h.getTime(),tmz:6E4*h.getTimezoneOffset()})}};f.d.Ya=function(a){var b;switch(i.storageOption){case "window":b=function(){var a=arguments.callee;return new k.wb(a.wa,a.ta||{})};break;default:b=function(){var a=arguments.callee;return new k.f(a.wa,c.o({path:"/",domain:a.ba.site.domain,secure:a.ba.site.secure,encode:a.ba.encode},a.ta||{}))}}b.wa=a;b.ba=i;b.ta=p;return b};var z=navigator.userAgent,w=[{F:z,z:"Chrome",n:"Chrome"},{F:navigator.vendor,z:"Apple",n:"Safari",
ia:"Version"},{jb:C.opera,n:"Opera"},{F:z,z:"Firefox",n:"Firefox"},{F:z,z:"Netscape",n:"Netscape"},{F:z,z:"MSIE",n:"Explorer",ia:"MSIE"},{F:z,z:"Gecko",n:"Mozilla",ia:"rv"}],L;l.h={Mb:z};l.h.platform=(navigator.platform.match(/mac|win32|linux|iphone|ipad|ipod|blackberry|wince/i)||["other"])[0].toLowerCase();if("other"==l.h.platform&&m.orientation!=p)l.h.platform="mobile";l.h.type=function(){for(var a=0;a<w.length;a++){var b=w[a].F,d=w[a].jb;L=w[a].ia||w[a].n;if(b&&-1!=c.i(w[a].z,b))return w[a].n;
if(d)return w[a].n}return"unknown"}();l.h.version=function(){var a="unknown";c.k([z,navigator.appVersion],function(b,d){var e=c.i(L,d);if(-1!=e)return a=parseFloat(d.substring(e+L.length+1)),v});return a}();l.h.Va=function(){try{var a;a=navigator.plugins["Shockwave Flash"]?navigator.plugins["Shockwave Flash"].description:(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")||"0 r0";a=a.match(/\d+/g);return parseInt(a[0]||"0."+a[1]||0)}catch(b){return"0 r0"}}();l.h.name=l.h.type;
l.h.ya="unknown";c.k([["win32","Windows"],["mac","Mac"],["linux","Linux"],["mobile","Mobile"]],function(a,b){if(l.h.platform===b[0])l.h.ya=b[1]});c.d.Ca={};var y=c.d.Ca;j.e.prototype.qa=function(a,b){if(c.p(a)&&b==s)return this[0].style[a];a=c.p(a)?j.e.La(a,b):a;return this.k(function(){var b=this,e={opacity:1,zIndex:1,zoom:1};c.A(b.style)&&c.k(a,function(a,c){c=""+c;isNaN(Number(c))||(c=!e[a]?c+"px":c);b.style[a]=c})})};j.e.prototype.height=function(a){if(a)return this.qa("height",a+(-1==c.i("px",
a)?"px":""));a="undefined"!=typeof this[0].currentStyle?this[0].currentStyle:Y.defaultView.getComputedStyle(this[0],s);return"auto"==a.height?this[0].clientHeight:parseInt(a.height,10)};var W=100;j.e.prototype.bind=function(a,b){return this.k(function(){V(this,a,b)})};var M={},T=["onload","onerror","onabort"];c.k(T,function(a,b){M[b]=function(){this.ib(0==arguments.callee.n?1:0);this.r=v};M[b].n=a});y.v=function(a,b){this.options=c.o({},a);this.r=v;this.event=b;this.ja=0;return this};y.v.prototype.ib=
function(a){if(this.r)switch(this.r=v,this.status=a,a){case 1:(this.options.onSuccess||c.T)();break;case 0:this.event?this.sb():(this.options.onFailure||c.T)();break;case -1:(this.options.onError||c.T)()}};y.v.prototype.sb=function(){if(3>this.ja)this.oa();else this.onFailure()};y.v.prototype.Ma=function(a){var b;this.r=q;var d=this,a=o.j.H(c.o(a,{uid:c.now()})),a=c.$()+"//"+this.options.host+this.options.path+this.options.url+"?"+a;b=c.o({},M,b);var e=new Image;c.k(T,function(a,c){e[c]=function(){var a=
arguments.callee;a.J.onload=a.J.onerror=a.J.onabort=s;a.Wa.call(a.self,a.J);a.J=s};e[c].Wa=b[c];e[c].J=e;e[c].self=d});e.src=a};y.v.prototype.send=function(a){this.ub=a;this.oa()};y.v.prototype.oa=function(){var a;this.ja++;a=c.o({event:this.event,ver:this.ja},this.ub,a);this.Ma(a)};f.m={};f.m.set=function(a,b,c){c=D(c);c[1][a]=b;c[0].set("cp",c[1])};f.m.get=function(a,b){return D(b)[0][a]};f.m.O=function(a,b){var c=D(b);delete c[1][a];c[0].set("cp",c[1])};f.m.append=function(a,b,c){c=D(c);c[1][a]=
c[1][a]?c[1][a]+","+b:b;c[0].set("cp",c[1])};f.m.H=function(a){var a=a||f.d.g(),b=a.get("sd"),b=c.A(b)?i.fa[b]:i.sd;a.get("browser");a={browser:l.h.name+" "+l.h.version,os:l.h.ya,pv:a.get("pv"),url:t(a,"c"),ref_url:t(a,"ru"),locale:t(a,"l"),site:t(i.site.name),section:t(b.section),referrer:t(a,"r"),terms:t(a,"st"),sessionid:t(a,"rid"),replay_id:t(a,"mid"),flash:l.h.Va};if(u.analytics.google){var d=k.f.L("__utma"),b=k.f.L("__utmz");if(d&&""!=d)d=d.split("."),a.first=d[2],a.last=d[3],a.current=d[4],
a.visits=d[5];if(b&&""!=b){var e=[];c.k(["utmgclid","utmcsr","utmccn","utmcmd","utmctr"],function(a,b){e.push(RegExp(b+"=([^\\|]*)"))});if(d=b.match(e[0]))a.source="Google",a.campaign="Google Adwords",a.medium="cpc";else{if(d=b.match(e[1]))a.source=d[1];if(d=b.match(e[2]))a.campaign=d[1];if(d=b.match(e[3]))a.medium=d[1]}if(d=b.match(e[4]))a.keyword=d[1]}}b=f.d.g("cp")||{};a=c.o({},b,a||{});return o.j.H(a,"cpp")};m.FSR.CPPS=f.m;m.FSR.CPPS.set=f.m.set;m.FSR.CPPS.get=f.m.get;m.FSR.CPPS.erase=f.m.O;m.FSR.CPPS.append=
f.m.append;var U=j.e;c.s(function(){i.siteid=o.j.ca("siteid");i.site=i.sites[i.siteid];i.site.name||(i.site.name=o.j.ca("name"));i.site.domain||(i.site.domain=o.j.ca("domain"));"default"==i.site.domain&&(i.site.domain=s);c.k(["files","js_files","image_files","html_files","css_files"],function(a,b){i.site[b]&&(i[b]=i.site[b])})});c.l=function(a){this.options=c.o({za:v,r:v,X:s,G:s,S:0,t:s},a);i.controller=this};c.l.prototype.load=function(){var a=l.h;"Chrome"!=a.type&&!("Firefox"==a.type&&4<=a.version)&&
!("Safari"==a.type&&5<=a.version)&&U("#hide").qa("display","block");if(this.r)return this;this.r=q;var b=this;f.d.eb(function(){b.mb()})};c.l.prototype.mb=function(){f.d.g("t","1");this.nb();this.X=k.f.L(f.d.aa("fsr.a"));this.S=c.now();var a=this;this.G=setInterval(function(){a.pa()},500)};c.l.prototype.tb=function(){if(this.r)f.d.g().O("t"),clearInterval(this.G),this.r=v,this.za||f.d.log("201")};c.l.prototype.pa=function(){var a=k.f.L(f.d.aa("fsr.a")),b=f.d.g("fo")||0,d=f.d.g("pa"),e=f.d.g("to")||
u.tracker.timeout;if(a==this.X){try{if(m.opener.document)return}catch(h){}"1"!=d?(c.now()-this.S)/1E3>=e&&(clearInterval(this.G),this.da()):(c.now()-this.S)/1E3>c.Jb("tracker.pause")&&(clearInterval(this.G),this.da())}else 0!=b?(clearInterval(this.G),this.da(1!=b)):(this.X=a,this.S=c.now())};c.l.prototype.da=function(a){this.za=q;this.Pa();this.bb(a)};c.l.prototype.Pa=function(){var a=i.fa,b=f.d.g("sd"),a=a[b];a.survey=c.D(u.survey,a.survey||{});a.qualifier=c.D(u.qualifier,a.qualifier||{});a.pop=
c.D(u.pop,a.pop||{});this.t=a};c.l.prototype.bb=function(a){f.d.g("s",1);"qualifier"!=this.t.pop.what?this.lb(a):this.kb(a)};c.l.prototype.lb=function(a){f.d.log("400",f.d.g("c")||"");var b=f.w.rb,d=this.t.survey,e=(m.screen.width-d.width)/2,h=(m.screen.height-d.height)/2,g=c.$(),j=b.host,k=b.path,l=new Date-0+"_"+Math.round(1E13*Math.random()),n=o.j.hash(l),t=f.d.g("c")||"",l={sid:f.d.Za(this.t,this.t.pop.later),cid:i.id,pattern:t,a:l,b:n,c:c.la,version:i.version},n=f.m.H(),l=o.j.H(l);this.pop(g+
"//"+j+k+b.url+"?"+l+"&"+n,e,h,d.width,d.height,a)};c.l.prototype.kb=function(a){f.d.log("300",f.d.g("c")||"");var b=this.t.qualifier;this.page(b);var c=(m.screen.width-b.width)/2,e=(m.screen.height-b.height)/2,h=o.j.sa(i,"html_files")+(b.url.pop||b.url),g={siteid:i.siteid,name:i.site.name,domain:i.site.domain};this.t.pop.later&&(g.when=this.t.pop.later);g=o.j.H(g);this.pop(h+("?"+g),c,e,b.width,b.height,a)};c.l.prototype.pop=function(a,b,c,e,h,g){var i=u.tracker;!g&&"Chrome"===l.h.name&&i.alert&&
i.alert.enabled&&(this.page(i.alert),alert(i.alert.message));setTimeout(function(){m.moveTo(b,c);m.resizeTo(e,h);g||m.focus();f.d.g().O("t");clearInterval(this.G);n.location.href=a},0)};c.l.prototype.page=function(a){var b=f.d.g("l");if(b)for(var c=a.locales||[],e=0,h=c.length;e<h;e++)if(c[e].locale==b){c[e].url&&(a.url=c[e].url);c[e].message&&(a.message=c[e].message);c[e].accept&&(a.accept=c[e].accept);c[e].decline&&(a.decline=c[e].decline);c[e].width&&(a.width=c[e].width);c[e].height&&(a.height=
c[e].height);break}};c.l.prototype.nb=function(){n.cookie="fsr.a"+(i.site.cookie?"."+i.site.cookie:"")+"="+c.now()+";path=/"+(i.site.domain?";domain="+i.site.domain+";":";")+(i.site.secure?"secure":"")};c.s(function(){(new c.l).load();U(m).bind("unload",function(){i.controller.tb()})})})(window,{});})({});
FSR($$FSR);
