var _ec_history=0,_ec_tests=3,_ec_debug=0;function _ec_dump(b,f){var i="";f||(f=0);for(var e="",k=0;k<f+1;k++)e+="    ";if(typeof b=="object")for(var m in b)k=b[m],typeof k=="object"?(i+=e+"'"+m+"' ...\n",i+=_ec_dump(k,f+1)):i+=e+"'"+m+"' => \""+k+'"\n';else i="===>"+b+"<===("+typeof b+")";return i}
function _ec_replace(b,f,i){if(b.indexOf("&"+f+"=")>-1||b.indexOf(f+"=")==0){var e=b.indexOf("&"+f+"=");e==-1&&(e=b.indexOf(f+"="));var k=b.indexOf("&",e+1);return k!=-1?b.substr(0,e)+b.substr(k+(e?0:1))+"&"+f+"="+i:b.substr(0,e)+"&"+f+"="+i}else return b+"&"+f+"="+i}var _global_lso;function _evercookie_flash_var(b){_global_lso=b;(b=$("#myswf"))&&b.parentNode&&b.parentNode.removeChild(b)}
var evercookie=function(){this._class=function(){var b=this;_baseKeyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";this._ec={};this.get=function(a,d,c){$(document).ready(function(){b._evercookie(a,d,void 0,void 0,c)})};this.set=function(a,d){$(document).ready(function(){b._evercookie(a,function(){},d)})};this._evercookie=function(a,d,c,h,j){typeof b._evercookie=="undefined"&&(b=this);typeof h=="undefined"&&(h=0);if(h==0&&(b.evercookie_database_storage(a,c),b.evercookie_png(a,
c),b.evercookie_etag(a,c),b.evercookie_cache(a,c),b.evercookie_lso(a,c),b._ec.userData=b.evercookie_userdata(a,c),b._ec.cookieData=b.evercookie_cookie(a,c),b._ec.localData=b.evercookie_local_storage(a,c),b._ec.globalData=b.evercookie_global_storage(a,c),b._ec.sessionData=b.evercookie_session_storage(a,c),b._ec.windowData=b.evercookie_window(a,c),_ec_history))b._ec.historyData=b.evercookie_history(a,c);if(typeof c!="undefined")typeof _global_lso=="undefined"&&h++<_ec_tests&&setTimeout(function(){b._evercookie(a,
d,c,h,j)},300);else if((window.openDatabase&&typeof b._ec.dbData=="undefined"||typeof _global_lso=="undefined"||typeof b._ec.etagData=="undefined"||typeof b._ec.cacheData=="undefined"||document.createElement("canvas").getContext&&(typeof b._ec.pngData=="undefined"||b._ec.pngData=="")||typeof _global_isolated=="undefined")&&h++<_ec_tests)setTimeout(function(){b._evercookie(a,d,c,h,j)},300);else{b._ec.lsoData=b.getFromStr(a,_global_lso);_global_lso=void 0;b._ec.slData=b.getFromStr(a,_global_isolated);
_global_isolated=void 0;var g=b._ec;b._ec={};var l=[],n=0,f,e;for(e in g)typeof g[e]!="undefined"&&typeof g[e]!="null"&&g[e]!=""&&g[e]!="null"&&g[e]!="undefined"&&g[e]!=null&&(l[g[e]]=typeof l[g[e]]=="undefined"?1:l[g[e]]+1);for(e in l)l[e]>n&&(n=l[e],f=e);(typeof j=="undefined"||j!=1)&&b.set(a,f);typeof d=="function"&&d(f,g)}};this.evercookie_window=function(a,d){try{if(typeof d!="undefined")window.name=_ec_replace(window.name,a,d);else return this.getFromStr(a,window.name)}catch(c){}};this.evercookie_userdata=
function(a,d){try{var c=this.createElem("div","userdata_el",1);c.style.behavior="url(#default#userData)";if(typeof d!="undefined")c.setAttribute(a,d),c.save(a);else return c.load(a),c.getAttribute(a)}catch(b){}};this.evercookie_cache=function(a,d){if(typeof d!="undefined"){document.cookie="evercookie_cache="+d;var c=new Image;c.style.visibility="hidden";c.style.position="absolute";c.src="/js/ec/evercookie_cache.php?name="+a}else{var h=this.getFromStr("evercookie_cache",document.cookie);b._ec.cacheData=
void 0;document.cookie="evercookie_cache=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/";$.ajax({url:"/js/ec/evercookie_cache.php?name="+a,success:function(a){document.cookie="evercookie_cache="+h+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/";b._ec.cacheData=a}})}};this.evercookie_etag=function(a,d){if(typeof d!="undefined"){document.cookie="evercookie_etag="+d;var c=new Image;c.style.visibility="hidden";c.style.position="absolute";c.src="/js/ec/evercookie_etag.php?name="+a}else{var h=this.getFromStr("evercookie_etag",
document.cookie);b._ec.etagData=void 0;document.cookie="evercookie_etag=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/";$.ajax({url:"/js/ec/evercookie_etag.php?name="+a,success:function(a){document.cookie="evercookie_etag="+h+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/";b._ec.etagData=a}})}};this.evercookie_lso=function(a,d){var c=document.getElementById("swfcontainer");c||(c=document.createElement("div"),c.setAttribute("id","swfcontainer"),document.body.appendChild(c));c={};if(typeof d!="undefined")c.everdata=
a+"="+d;swfobject.embedSWF("/js/ec/evercookie.swf","swfcontainer","1","1","9.0.0",!1,c,{swliveconnect:"true"},{id:"myswf",name:"myswf"})};this.evercookie_png=function(a,d){if(document.createElement("canvas").getContext)if(typeof d!="undefined"){document.cookie="evercookie_png="+d;var c=new Image;c.style.visibility="hidden";c.style.position="absolute";c.src="/js/ec/evercookie_png.php?name="+a}else{b._ec.pngData=void 0;var h=document.createElement("canvas");h.style.visibility="hidden";h.style.position=
"absolute";h.width=200;h.height=1;var j=h.getContext("2d"),g=this.getFromStr("evercookie_png",document.cookie);document.cookie="evercookie_png=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/";c=new Image;c.style.visibility="hidden";c.style.position="absolute";c.src="/js/ec/evercookie_png.php?name="+a;c.onload=function(){document.cookie="evercookie_png="+g+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/";b._ec.pngData="";j.drawImage(c,0,0);for(var a=j.getImageData(0,0,200,1).data,d=0,h=a.length;d<
h;d+=4){if(a[d]==0)break;b._ec.pngData+=String.fromCharCode(a[d]);if(a[d+1]==0)break;b._ec.pngData+=String.fromCharCode(a[d+1]);if(a[d+2]==0)break;b._ec.pngData+=String.fromCharCode(a[d+2])}}}};this.evercookie_local_storage=function(a,d){try{if(window.localStorage)if(typeof d!="undefined")localStorage.setItem(a,d);else return localStorage.getItem(a)}catch(c){}};this.evercookie_database_storage=function(a,d){try{if(window.openDatabase){var c=window.openDatabase("sqlite_evercookie","","evercookie",
1048576);typeof d!="undefined"?c.transaction(function(c){c.executeSql("CREATE TABLE IF NOT EXISTS cache(id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name))",[],function(){},function(){});c.executeSql("INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)",[a,d],function(){},function(){})}):c.transaction(function(c){c.executeSql("SELECT value FROM cache WHERE name=?",[a],function(a,c){b._ec.dbData=c.rows.length>=1?c.rows.item(0).value:""},function(){})})}}catch(h){}};
this.evercookie_session_storage=function(a,d){try{if(window.sessionStorage)if(typeof d!="undefined")sessionStorage.setItem(a,d);else return sessionStorage.getItem(a)}catch(c){}};this.evercookie_global_storage=function(a,d){if(window.globalStorage){this.getHost();try{if(typeof d!="undefined")eval("globalStorage[host]."+a+" = value");else return eval("globalStorage[host]."+a)}catch(c){}}};this.evercookie_silverlight=function(a,d){var c="";typeof d!="undefined"&&(c='<param name="initParams" value="'+
a+"="+d+'" />');document.body.innerHTML+='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="mysilverlight" width="0" height="0">'+c+'<param name="source" value="/js/ec/evercookie.xap"/><param name="onLoad" value="onSilverlightLoad"/><param name="onError" value="onSilverlightError"/><param name="background" value="Transparent"/><param name="windowless" value="true"/><param name="minRuntimeVersion" value="4.0.50401.0"/><param name="autoUpgrade" value="true"/><a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none"><img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></a></object>'};
this.encode=function(a){for(var d="",c,b,j,g,e,f,i=0,a=this._utf8_encode(a);i<a.length;)c=a.charCodeAt(i++),b=a.charCodeAt(i++),j=a.charCodeAt(i++),g=c>>2,c=(c&3)<<4|b>>4,e=(b&15)<<2|j>>6,f=j&63,isNaN(b)?e=f=64:isNaN(j)&&(f=64),d=d+_baseKeyStr.charAt(g)+_baseKeyStr.charAt(c)+_baseKeyStr.charAt(e)+_baseKeyStr.charAt(f);return d};this.decode=function(a){for(var d="",c,b,e,g,f,i=0,a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");i<a.length;)c=_baseKeyStr.indexOf(a.charAt(i++)),b=_baseKeyStr.indexOf(a.charAt(i++)),
g=_baseKeyStr.indexOf(a.charAt(i++)),f=_baseKeyStr.indexOf(a.charAt(i++)),c=c<<2|b>>4,b=(b&15)<<4|g>>2,e=(g&3)<<6|f,d+=String.fromCharCode(c),g!=64&&(d+=String.fromCharCode(b)),f!=64&&(d+=String.fromCharCode(e));return d=this._utf8_decode(d)};this._utf8_encode=function(a){for(var a=a.replace(/\r\n/g,"\n"),d="",c=0;c<a.length;c++){var b=a.charCodeAt(c);b<128?d+=String.fromCharCode(b):(b>127&&b<2048?d+=String.fromCharCode(b>>6|192):(d+=String.fromCharCode(b>>12|224),d+=String.fromCharCode(b>>6&63|128)),
d+=String.fromCharCode(b&63|128))}return d};this._utf8_decode=function(a){for(var d="",c=0,b=c1=c2=0;c<a.length;)b=a.charCodeAt(c),b<128?(d+=String.fromCharCode(b),c++):b>191&&b<224?(c2=a.charCodeAt(c+1),d+=String.fromCharCode((b&31)<<6|c2&63),c+=2):(c2=a.charCodeAt(c+1),c3=a.charCodeAt(c+2),d+=String.fromCharCode((b&15)<<12|(c2&63)<<6|c3&63),c+=3);return d};this.evercookie_history=function(a,b){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=-".split(""),h="http://www.google.com/evercookie/cache/"+
this.getHost()+"/"+a;if(typeof b!="undefined"){if(!this.hasVisited(h)){this.createIframe(h,"if");h+="/";for(var c=this.encode(b).split(""),e=0;e<c.length;e++)h+=c[e],this.createIframe(h,"if"+e);h+="-";this.createIframe(h,"if_")}}else if(this.hasVisited(h)){h+="/";for(var g="",f="",i=1;g!="-"&&i==1;)for(e=i=0;e<c.length;e++)if(this.hasVisited(h+c[e])){g=c[e];g!="-"&&(f+=g);h+=g;i=1;break}return this.decode(f)}};this.createElem=function(a,b,c){a=typeof b!="undefined"&&document.getElementById(b)?document.getElementById(b):
document.createElement(a);a.style.visibility="hidden";a.style.position="absolute";b&&a.setAttribute("id",b);c&&document.body.appendChild(a);return a};this.createIframe=function(a,b){var c=this.createElem("iframe",b,1);c.setAttribute("src",a);return c};this.waitForSwf=function(a){typeof a=="undefined"?a=0:a++;a<_ec_tests&&typeof swfobject=="undefined"&&setTimeout(function(){waitForSwf(a)},300)};this.evercookie_cookie=function(a,b){if(typeof b!="undefined")document.cookie=a+"=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/",
document.cookie=a+"="+b+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/";else return this.getFromStr(a,document.cookie)};this.getFromStr=function(a,b){if(typeof b=="string")for(var c=a+"=",e=b.split(/[;&]/),f=0;f<e.length;f++){for(var g=e[f];g.charAt(0)==" ";)g=g.substring(1,g.length);if(g.indexOf(c)==0)return g.substring(c.length,g.length)}};this.getHost=function(){var a=document.location.host;a.indexOf("www.")==0&&(a=a.replace("www.",""));return a};this.toHex=function(a){for(var b="",c=a.length,
e=0,f;e<c;){for(f=a.charCodeAt(e++).toString(16);f.length<2;)f="0"+f;b+=f}return b};this.fromHex=function(a){for(var b="",c=a.length,e;c>=0;)e=c-2,b=String.fromCharCode("0x"+a.substring(e,c))+b,c=e;return b};this.hasVisited=function(a){if(this.no_color==-1&&this._getRGB("http://samy-was-here-this-should-never-be-visited.com",-1)==-1)this.no_color=this._getRGB("http://samy-was-here-"+Math.floor(Math.random()*9999999)+"rand.com");return a.indexOf("https:")==0||a.indexOf("http:")==0?this._testURL(a,
this.no_color):this._testURL("http://"+a,this.no_color)||this._testURL("https://"+a,this.no_color)||this._testURL("http://www."+a,this.no_color)||this._testURL("https://www."+a,this.no_color)};var f=this.createElem("a","_ec_rgb_link"),i;try{i=1;var e=document.createElement("style");if(e.styleSheet)e.styleSheet.innerHTML="#_ec_rgb_link:visited{display:none;color:#FF0000}";else if(e.innerHTML)e.innerHTML="#_ec_rgb_link:visited{display:none;color:#FF0000}";else{var k=document.createTextNode("#_ec_rgb_link:visited{display:none;color:#FF0000}");
e.appendChild(k)}}catch(m){i=0}this._getRGB=function(a,b){if(b&&i==0)return-1;f.href=a;f.innerHTML=a;document.body.appendChild(e);document.body.appendChild(f);return document.defaultView?document.defaultView.getComputedStyle(f,null).getPropertyValue("color"):f.currentStyle.color};this._testURL=function(a,b){var c=this._getRGB(a);if(c=="rgb(255, 0, 0)"||c=="#ff0000")return 1;else if(b&&c!=b)return 1;return 0}};return _class}(),_global_isolated;
function onSilverlightLoad(b){_global_isolated=b.getHost().Content.App.getIsolatedStorage()}function onSilverlightError(){_global_isolated=""};

