


(function(){
var DATA={"public_suffixes":{"localhost/habbotr":["localhost/habbotr"]},"log_host":"log3","api_host":"api","variations":{"63777379":{"code":"$(\"#vip\").css({\"display\":\"none\"});\n$(\"body\").css({\"min-width\":\"898px\"});                           \n$(\"div#page\").css({\"min-width\":\"898px\"});\n$(\"div#primary\").css({\"width\":\"768px\"});\n$(\"div.secondary-top\").css({\"width\":\"768px\"});\n$(\"div#content-top\").css({\"padding-left\":\"0\"});\n\n$(\"div#content-top.invite\").css({\"padding-left\":\"135px\"});\n$(\"div#content-top.invite > div\").css({\"width\":\"600px\"});\n$(\"div#content-top.invite .text\").css({\"width\":\"400px\"});\n$(\"div#content-top.invite .round-content.blue\").css({\"background-image\":\"none\"});\n$(\"a#submit_signup\").replaceWith(\"<a id=\\\"submit_signup\\\" class=\\\"submit-button button-link\\\" href=\\\"\\\">\\n\\n  <div class=\\\"button-container\\\"><div class=\\\"button-content\\\">\Sign up now!</div></div>\\n\\n</a>\");\n\n$(\"#submit_signup .button-content\").css({\"background\":\"url(\\\"static/images/ab_btn.png\\\") no-repeat\", \"height\":\"20px\", \"font-size\":\"0.8em\", \"padding\":\"24px 0 15px\", \"margin\":\"0\"});\n$(\"#submit_signup:active .button-content\").css({\"background\":\"url(\\\"static/images/ab_btn_active.png\\\") no-repeat\"});\n\n$(\"div.register-content\").css({\"padding-bottom\":\"100px\"});\n$(\"div.fb-reg-bottom\").css({\"height\":\"95px\"});\n$(\"#register .round-content .first\").css({\"padding\":\"10px 25px\"});\n\n$(\"div#primary > div.cache\").replaceWith(\"<div class=\\\"cache\\\">\\n\\t   <img src=\\\"static/images/front-border-sprite.png\\\" alt=\\\"\\\">\\n    <img src=\\\"static/images/ab_btn.png\\\" alt=\\\"\\\">\\n    <img src=\\\"static/images/ab_btn_active.png\\\" alt=\\\"\\\">\\n\\t</div>\");\n$(\"a#submit_signup div.button-content\").css({\"background-image\":\"url(http://www.skyhood.com/ab_btn2.png)\"});\n$(\"a#submit_signup div.button-content\").css({\"background-image\":\"url(http://www.skyhood.com/ab_btn3.png)\"});\n$(\"a#submit_signup div.button-content\").css({\"color\":\"#ffffff\"});\n$(\"a#submit_signup div.button-content\").css({\"color\":\"#000000\"});\n$(\"a#submit_signup div.button-content\").css({\"background-image\":\"url(http://localhost/habbotr/static/images/ab_btn3.png)\"});","name":"Variation #1"},"63827077":{"name":"Original Page"}},"experiments":{"63728653":{"name":"localhost/habbotr","enabled":true,"variation_ids":["63827077","63777379"],"enabled_variation_ids":["63827077","63777379"],"variation_weights":{"63827077":5000,"63777379":5000},"conditions":[{"type":"url","values":[{"value":"http://localhost/habbotr/","match":"simple"},{"value":"http://localhost/habbotr/avatar","match":"simple"},{"value":"http://localhost/habbotr/invitations","match":"simple"}]},{"only_first_time":true,"type":"visitor","value":"all"}]}},"click_goals":[{"event_name":"click_facebook_login","experiments":[63728653],"selector":"a.FBConnectButton"},{"event_name":"click_submit_button","experiments":[63728653],"selector":"a#submit_signup div.button-content"}],"admin_account_id":63781736,"project_id":63781736,"revision":28};

var optly={Cleanse:{}};optly.Cleanse.each=function(a,d,b){var c=!!Object.prototype.__lookupGetter__,e;for(e in a)if(a.hasOwnProperty(e)){var f=c?a.__lookupGetter__(e):null;d.call(b,e,!f?a[e]:null,f)}};
optly.Cleanse.finish=function(){if(optly.Cleanse.running)optly.Cleanse.running=!1,optly.Cleanse.each(optly.Cleanse.types,function(a,d){Object.prototype.__defineGetter__&&optly.Cleanse.each(optly.Cleanse.getters[a],function(b,c){d.prototype.__defineGetter__(b,c);optly.Cleanse.log("restored getter",a,b)});optly.Cleanse.each(optly.Cleanse.properties[a],function(b,c){d.prototype[b]=c;optly.Cleanse.log("restored property",a,b)})}),optly.Cleanse.log("finish")};
optly.Cleanse.log=function(a,d,b){d?(d=d.replace(/_/g,""),optly.Cleanse.logs.push("Optimizely / Info / Cleanse / "+a+": "+d+"."+b)):optly.Cleanse.logs.push("Optimizely / Info / Cleanse / "+a)};
optly.Cleanse.start=function(){var a=/^https?:\/\/[^\/]*\//.exec(window.location.href);if(!a||!(a[0].indexOf("optimizely")!==-1&&a[0].indexOf("edit")===-1))optly.Cleanse.log("start"),optly.Cleanse.running=!0,optly.Cleanse.each(optly.Cleanse.types,function(a,b){optly.Cleanse.getters[a]={};optly.Cleanse.properties[a]={};optly.Cleanse.each(b.prototype,function(c,e,f){f?(optly.Cleanse.getters[a][c]=f,optly.Cleanse.log("cleansed getter",a,c)):(optly.Cleanse.properties[a][c]=e,optly.Cleanse.log("cleansed property",
a,c));delete b.prototype[c]})})};optly.Cleanse.getters={};optly.Cleanse.logs=[];optly.Cleanse.properties={};optly.Cleanse.types={Object_:Object};window.optly=window.optly||{};window.optly.Cleanse=window.optly.Cleanse||{finish:optly.Cleanse.finish,logs:optly.Cleanse.logs};optly.Cleanse.start();

var $=function(o,l){function S(a,b,c){if(c===l&&1===a.nodeType)if(c="data-"+b.replace(ra,"-$1").toLowerCase(),c=a.getAttribute(c),"string"===typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:!d.isNaN(c)?parseFloat(c):sa.test(c)?d.parseJSON(c):c}catch(e){}d.data(a,b,c)}else c=l;return c}function I(a){for(var b in a)if("toJSON"!==b)return!1;return!0}function T(a,b,c){var e=b+"defer",f=b+"queue",g=b+"mark",h=d.data(a,e,l,!0);h&&("queue"===c||!d.data(a,f,l,!0))&&("mark"===c||!d.data(a,g,l,
!0))&&setTimeout(function(){!d.data(a,f,l,!0)&&!d.data(a,g,l,!0)&&(d.removeData(a,e,!0),h.resolve())},0)}function w(){return!1}function D(){return!0}function U(a,b,c){var e=d.extend({},c[0]);e.type=a;e.originalEvent={};e.liveFired=l;d.event.handle.call(b,e);e.isDefaultPrevented()&&c[0].preventDefault()}function ta(a){var b,c,e,f,g,h,i,j,n,m,l,k=[];f=[];g=d._data(this,"events");if(!(a.liveFired===this||!g||!g.live||a.target.disabled||a.button&&"click"===a.type)){a.namespace&&(l=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+
"(\\.|$)"));a.liveFired=this;var r=g.live.slice(0);for(i=0;i<r.length;i++)g=r[i],g.origType.replace(J,"")===a.type?f.push(g.selector):r.splice(i--,1);f=d(a.target).closest(f,a.currentTarget);j=0;for(n=f.length;j<n;j++){m=f[j];for(i=0;i<r.length;i++)if(g=r[i],m.selector===g.selector&&(!l||l.test(g.namespace))&&!m.elem.disabled){h=m.elem;e=null;if("mouseenter"===g.preType||"mouseleave"===g.preType)a.type=g.preType,(e=d(a.relatedTarget).closest(g.selector)[0])&&d.contains(h,e)&&(e=h);(!e||e!==h)&&k.push({elem:h,
handleObj:g,level:m.level})}}j=0;for(n=k.length;j<n;j++){f=k[j];if(c&&f.level>c)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;l=f.handleObj.origHandler.apply(f.elem,arguments);if(!1===l||a.isPropagationStopped())if(c=f.level,!1===l&&(b=!1),a.isImmediatePropagationStopped())break}return b}}function E(a,b){return(a&&"*"!==a?a+".":"")+b.replace(wa,"`").replace(xa,"&")}function V(a,b,c){b=b||0;if(d.isFunction(b))return d.grep(a,function(a,d){return!!b.call(a,d,a)===c});
if(b.nodeType)return d.grep(a,function(a){return a===b===c});if("string"===typeof b){var e=d.grep(a,function(a){return 1===a.nodeType});if(ya.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a){return 0<=d.inArray(a,b)===c})}function W(a,b){if(1===b.nodeType&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events,f=f[c]=d.extend({},e);if(g){delete f.handle;f.events={};for(var h in g){c=0;for(e=g[h].length;c<e;c++)d.event.add(b,h+(g[h][c].namespace?
".":"")+g[h][c].namespace,g[h][c],g[h][c].data)}}}}}function X(a,b){var c;if(1===b.nodeType){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);c=b.nodeName.toLowerCase();if("object"===c)b.outerHTML=a.outerHTML;else if("input"===c&&("checkbox"===a.type||"radio"===a.type)){if(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value)b.value=a.value}else if("option"===c)b.selected=a.defaultSelected;else if("input"===c||"textarea"===c)b.defaultValue=a.defaultValue;
b.removeAttribute(d.expando)}}function F(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Y(a){if("checkbox"===a.type||"radio"===a.type)a.defaultChecked=a.checked}function Z(a){d.nodeName(a,"input")?Y(a):"getElementsByTagName"in a&&d.grep(a.getElementsByTagName("input"),Y)}function za(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Aa,"/*$0*/"));b.parentNode&&
b.parentNode.removeChild(b)}function aa(a,b,c){var e="width"===b?a.offsetWidth:a.offsetHeight,f="width"===b?Ba:Ca;if(0<e)return"border"!==c&&d.each(f,function(){c||(e-=parseFloat(d.css(a,"padding"+this))||0);e="margin"===c?e+(parseFloat(d.css(a,c+this))||0):e-(parseFloat(d.css(a,"border"+this+"Width"))||0)}),e+"px";e=u(a,b,b);if(0>e||null==e)e=a.style[b]||0;e=parseFloat(e)||0;c&&d.each(f,function(){e+=parseFloat(d.css(a,"padding"+this))||0;"padding"!==c&&(e+=parseFloat(d.css(a,"border"+this+"Width"))||
0);"margin"===c&&(e+=parseFloat(d.css(a,c+this))||0)});return e+"px"}var k=o.document,Da=o.navigator,d=function(){function a(){if(!b.isReady){try{k.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c,f)},c=o.jQuery,d=o.$,f,g=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,i=/^\s+/,j=/\s+$/,n=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ua=/^[\],:{}\s]*$/,va=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,r=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
t=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,v=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,p=/-([a-z]|[0-9])/ig,A=/^-ms-/,Ea=function(a,b){return(b+"").toUpperCase()},B=Da.userAgent,G,z,Fa=Object.prototype.toString,K=Object.prototype.hasOwnProperty,L=Array.prototype.push,C=Array.prototype.slice,ba=String.prototype.trim,y=Array.prototype.indexOf,q={};b.fn=b.prototype={constructor:b,init:function(a,c,d){var e;if(!a)return this;if(a.nodeType)return this.context=
this[0]=a,this.length=1,this;if("body"===a&&!c&&k.body)return this.context=k,this[0]=k.body,this.selector=a,this.length=1,this;if("string"===typeof a){if((e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:g.exec(a))&&(e[1]||!c)){if(e[1])return d=(c=c instanceof b?c[0]:c)?c.ownerDocument||c:k,(a=m.exec(a))?b.isPlainObject(c)?(a=[k.createElement(a[1])],b.fn.attr.call(a,c,!0)):a=[d.createElement(a[1])]:(a=b.buildFragment([e[1]],[d]),a=(a.cacheable?b.clone(a.fragment):a.fragment).childNodes),
b.merge(this,a);if((c=k.getElementById(e[2]))&&c.parentNode){if(c.id!==e[2])return d.find(a);this.length=1;this[0]=c}this.context=k;this.selector=a;return this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}if(b.isFunction(a))return d.ready(a);a.selector!==l&&(this.selector=a.selector,this.context=a.context);return b.makeArray(a,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return C.call(this,0)},get:function(a){return null==a?this.toArray():
0>a?this[this.length+a]:this[a]},pushStack:function(a,c,d){var e=this.constructor();b.isArray(a)?L.apply(e,a):b.merge(e,a);e.prevObject=this;e.context=this.context;"find"===c?e.selector=this.selector+(this.selector?" ":"")+d:c&&(e.selector=this.selector+"."+c+"("+d+")");return e},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();G.done(a);return this},eq:function(a){return-1===a?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
slice:function(){return this.pushStack(C.apply(this,arguments),"slice",C.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:L,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,e,f,p=arguments[0]||{},g=1,h=arguments.length,A=!1;"boolean"===typeof p&&(A=p,p=arguments[1]||{},g=2);"object"!==typeof p&&!b.isFunction(p)&&(p=
{});h===g&&(p=this,--g);for(;g<h;g++)if(null!=(a=arguments[g]))for(c in a)d=p[c],e=a[c],p!==e&&(A&&e&&(b.isPlainObject(e)||(f=b.isArray(e)))?(f?(f=!1,d=d&&b.isArray(d)?d:[]):d=d&&b.isPlainObject(d)?d:{},p[c]=b.extend(A,d,e)):e!==l&&(p[c]=e));return p};b.extend({noConflict:function(a){o.$===b&&(o.$=d);a&&o.jQuery===b&&(o.jQuery=c);return b},isReady:!1,readyWait:1,holdReady:function(a){a?b.readyWait++:b.ready(!0)},ready:function(a){if(!0===a&&!--b.readyWait||!0!==a&&!b.isReady){if(!k.body)return setTimeout(b.ready,
1);b.isReady=!0;!0!==a&&0<--b.readyWait||(G.resolveWith(k,[b]),b.fn.trigger&&b(k).trigger("ready").unbind("ready"))}},bindReady:function(){if(!G){G=b._Deferred();if("complete"===k.readyState)return setTimeout(b.ready,1);if(k.addEventListener)k.addEventListener("DOMContentLoaded",z,!1),o.addEventListener("load",b.ready,!1);else if(k.attachEvent){k.attachEvent("onreadystatechange",z);o.attachEvent("onload",b.ready);var c=!1;try{c=null==o.frameElement}catch(d){}k.documentElement.doScroll&&c&&a()}}},
isFunction:function(a){return"function"===b.type(a)},isArray:Array.isArray||function(a){return"array"===b.type(a)},isWindow:function(a){return a&&"object"===typeof a&&"setInterval"in a},isNaN:function(a){return null==a||!n.test(a)||isNaN(a)},type:function(a){return null==a?""+a:q[Fa.call(a)]||"object"},isPlainObject:function(a){if(!a||"object"!==b.type(a)||a.nodeType||b.isWindow(a))return!1;try{if(a.constructor&&!K.call(a,"constructor")&&!K.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}for(var d in a);
return d===l||K.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if("string"!==typeof a||!a)return null;a=b.trim(a);if(o.JSON&&o.JSON.parse)return o.JSON.parse(a);if(ua.test(a.replace(va,"@").replace(r,"]").replace(t,"")))return(new Function("return "+a))();b.error("Invalid JSON: "+a)},parseXML:function(a){var c,d;try{o.DOMParser?(d=new DOMParser,c=d.parseFromString(a,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async=
"false",c.loadXML(a))}catch(e){c=l}(!c||!c.documentElement||c.getElementsByTagName("parsererror").length)&&b.error("Invalid XML: "+a);return c},noop:function(){},globalEval:function(a){a&&h.test(a)&&(o.execScript||function(a){o.eval.call(o,a)})(a)},camelCase:function(a){return a.replace(A,"ms-").replace(p,Ea)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,p=0,f=a.length,g=f===l||b.isFunction(a);if(d)if(g)for(e in a){if(!1===c.apply(a[e],
d))break}else for(;p<f&&!1!==c.apply(a[p++],d););else if(g)for(e in a){if(!1===c.call(a[e],e,a[e]))break}else for(;p<f&&!1!==c.call(a[p],p,a[p++]););return a},trim:ba?function(a){return null==a?"":ba.call(a)}:function(a){return null==a?"":a.toString().replace(i,"").replace(j,"")},makeArray:function(a,c){var d=c||[];if(null!=a){var e=b.type(a);null==a.length||"string"===e||"function"===e||"regexp"===e||b.isWindow(a)?L.call(d,a):b.merge(d,a)}return d},inArray:function(a,b){if(!b)return-1;if(y)return y.call(b,
a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,d=0;if("number"===typeof b.length)for(var e=b.length;d<e;d++)a[c++]=b[d];else for(;b[d]!==l;)a[c++]=b[d++];a.length=c;return a},grep:function(a,b,c){for(var d=[],e,c=!!c,p=0,f=a.length;p<f;p++)e=!!b(a[p],p),c!==e&&d.push(a[p]);return d},map:function(a,c,d){var e,p,f=[],g=0,h=a.length;if(a instanceof b||h!==l&&"number"===typeof h&&(0<h&&a[0]&&a[h-1]||0===h||b.isArray(a)))for(;g<h;g++)e=c(a[g],g,d),null!=
e&&(f[f.length]=e);else for(p in a)e=c(a[p],p,d),null!=e&&(f[f.length]=e);return f.concat.apply([],f)},guid:1,proxy:function(a,c){if("string"===typeof c)var d=a[c],c=a,a=d;if(!b.isFunction(a))return l;var e=C.call(arguments,2),d=function(){return a.apply(c,e.concat(C.call(arguments)))};d.guid=a.guid=a.guid||d.guid||b.guid++;return d},access:function(a,c,d,e,p,f){var g=a.length;if("object"===typeof c){for(var h in c)b.access(a,h,c[h],e,p,d);return a}if(d!==l){e=!f&&e&&b.isFunction(d);for(h=0;h<g;h++)p(a[h],
c,e?d.call(a[h],h,p(a[h],c)):d,f);return a}return g?p(a[0],c):l},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=s.exec(a)||w.exec(a)||v.exec(a)||0>a.indexOf("compatible")&&u.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}b.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(d,e){e&&e instanceof b&&!(e instanceof a)&&(e=a(e));return b.fn.init.call(this,
d,e,c)};a.fn.init.prototype=a.fn;var c=a(k);return a},browser:{}});b.each("Boolean,Number,String,Function,Array,Date,RegExp,Object".split(","),function(a,b){q["[object "+b+"]"]=b.toLowerCase()});B=b.uaMatch(B);B.browser&&(b.browser[B.browser]=!0,b.browser.version=B.version);b.browser.webkit&&(b.browser.safari=!0);h.test("\u00a0")&&(i=/^[\s\xA0]+/,j=/[\s\xA0]+$/);f=b(k);k.addEventListener?z=function(){k.removeEventListener("DOMContentLoaded",z,false);b.ready()}:k.attachEvent&&(z=function(){if(k.readyState===
"complete"){k.detachEvent("onreadystatechange",z);b.ready()}});return b}(),M="done,fail,isResolved,isRejected,promise,then,always,pipe".split(","),ca=[].slice;d.extend({_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,h,i,j,n,m;b&&(m=b,b=0);h=0;for(i=c.length;h<i;h++)j=c[h],n=d.type(j),"array"===n?f.done.apply(f,j):"function"===n&&a.push(j);m&&f.resolveWith(m[0],m[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){f=f||[];c=1;try{for(;a[0];)a.shift().apply(d,f)}finally{b=
[d,f],c=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return!(!c&&!b)},cancel:function(){e=1;a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return d.Deferred(function(e){d.each({done:[a,
"resolve"],fail:[c,"reject"]},function(a,c){var f=c[0],g=c[1],l;if(d.isFunction(f))b[a](function(){if((l=f.apply(this,arguments))&&d.isFunction(l.promise))l.promise().then(e.resolve,e.reject);else e[g+"With"](this===b?e:this,[l])});else b[a](e[g])})}).promise()},promise:function(a){if(null==a){if(e)return e;e=a={}}for(var c=M.length;c--;)a[M[c]]=b[M[c]];return a}});b.done(c.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(a){return function(b){c[a]=1<arguments.length?
ca.call(arguments,0):b;--g||h.resolveWith(h,ca.call(c,0))}}var c=arguments,e=0,f=c.length,g=f,h=1>=f&&a&&d.isFunction(a.promise)?a:d.Deferred();if(1<f){for(;e<f;e++)c[e]&&d.isFunction(c[e].promise)?c[e].promise().then(b(e),h.reject):--g;g||h.resolveWith(h,c)}else h!==a&&h.resolveWith(h,f?[a]:[]);return h.promise()}});d.support=function(){var a=k.createElement("div"),b=k.documentElement,c,e,f,g,h,i;a.setAttribute("className","t");a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
c=a.getElementsByTagName("*");e=a.getElementsByTagName("a")[0];if(!c||!c.length||!e)return{};f=k.createElement("select");g=f.appendChild(k.createElement("option"));c=a.getElementsByTagName("input")[0];h={leadingWhitespace:3===a.firstChild.nodeType,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:"/a"===e.getAttribute("href"),opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,
checkOn:"on"===c.value,optSelected:g.selected,getSetAttribute:"t"!==a.className,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};c.checked=!0;h.noCloneChecked=c.cloneNode(!0).checked;f.disabled=!0;h.optDisabled=!g.disabled;try{delete a.test}catch(j){h.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){h.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick"));
c=k.createElement("input");c.value="t";c.setAttribute("type","radio");h.radioValue="t"===c.value;c.setAttribute("checked","checked");a.appendChild(c);e=k.createDocumentFragment();e.appendChild(a.firstChild);h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";f=k.getElementsByTagName("body")[0];e=k.createElement(f?"div":"body");g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};f&&d.extend(g,{position:"absolute",
left:"-1000px",top:"-1000px"});for(i in g)e.style[i]=g[i];e.appendChild(a);b=f||b;b.insertBefore(e,b.firstChild);h.appendChecked=c.checked;h.boxModel=2===a.offsetWidth;"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,h.inlineBlockNeedsLayout=2===a.offsetWidth,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",h.shrinkWrapBlocks=2!==a.offsetWidth);a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";f=a.getElementsByTagName("td");
c=0===f[0].offsetHeight;f[0].style.display="";f[1].style.display="none";h.reliableHiddenOffsets=c&&0===f[0].offsetHeight;a.innerHTML="";k.defaultView&&k.defaultView.getComputedStyle&&(c=k.createElement("div"),c.style.width="0",c.style.marginRight="0",a.appendChild(c),h.reliableMarginRight=0===(parseInt((k.defaultView.getComputedStyle(c,null)||{marginRight:0}).marginRight,10)||0));e.innerHTML="";b.removeChild(e);if(a.attachEvent)for(i in{submit:1,change:1,focusin:1})b="on"+i,c=b in a,c||(a.setAttribute(b,
"return;"),c="function"===typeof a[b]),h[i+"Bubbles"]=c;e=e=f=g=f=c=a=c=null;return h}();d.boxModel=d.support.boxModel;var sa=/^(?:\{.*\}|\[.*\])$/,ra=/([A-Z])/g;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!I(a)},data:function(a,b,c,e){if(d.acceptData(a)){var f=d.expando,g="string"===typeof b,h=a.nodeType,
i=h?d.cache:a,j=h?a[d.expando]:a[d.expando]&&d.expando;if(j&&(!e||!j||!i[j]||i[j][f])||!(g&&c===l)){j||(h?a[d.expando]=j=++d.uuid:j=d.expando);i[j]||(i[j]={},h||(i[j].toJSON=d.noop));if("object"===typeof b||"function"===typeof b)e?i[j][f]=d.extend(i[j][f],b):i[j]=d.extend(i[j],b);a=i[j];e&&(a[f]||(a[f]={}),a=a[f]);c!==l&&(a[d.camelCase(b)]=c);if("events"===b&&!a[b])return a[f]&&a[f].events;g?(c=a[b],null==c&&(c=a[d.camelCase(b)])):c=a;return c}}},removeData:function(a,b,c){if(d.acceptData(a)){var e,
f=d.expando,g=a.nodeType,h=g?d.cache:a,i=g?a[d.expando]:d.expando;if(h[i]){if(b&&(e=c?h[i][f]:h[i]))if(e[b]||(b=d.camelCase(b)),delete e[b],!I(e))return;if(c&&(delete h[i][f],!I(h[i])))return;b=h[i][f];d.support.deleteExpando||!h.setInterval?delete h[i]:h[i]=null;b?(h[i]={},g||(h[i].toJSON=d.noop),h[i][f]=b):g&&(d.support.deleteExpando?delete a[d.expando]:a.removeAttribute?a.removeAttribute(d.expando):a[d.expando]=null)}}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=
d.noData[a.nodeName.toLowerCase()];if(b)return!(!0===b||a.getAttribute("classid")!==b)}return!0}});d.fn.extend({data:function(a,b){var c=null;if("undefined"===typeof a){if(this.length&&(c=d.data(this[0]),1===this[0].nodeType))for(var e=this[0].attributes,f,g=0,h=e.length;g<h;g++)f=e[g].name,0===f.indexOf("data-")&&(f=d.camelCase(f.substring(5)),S(this[0],f,c[f]));return c}if("object"===typeof a)return this.each(function(){d.data(this,a)});var i=a.split(".");i[1]=i[1]?"."+i[1]:"";return b===l?(c=this.triggerHandler("getData"+
i[1]+"!",[i[0]]),c===l&&this.length&&(c=d.data(this[0],a),c=S(this[0],a,c)),c===l&&i[1]?this.data(i[0]):c):this.each(function(){var c=d(this),e=[i[0],b];c.triggerHandler("setData"+i[1]+"!",e);d.data(this,a,b);c.triggerHandler("changeData"+i[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}});d.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",d.data(a,b,(d.data(a,b,l,!0)||0)+1,!0))},_unmark:function(a,b,c){!0!==a&&(c=b,b=a,a=!1);if(b){var c=c||"fx",e=c+"mark";
(a=a?0:(d.data(b,e,l,!0)||1)-1)?d.data(b,e,a,!0):(d.removeData(b,e,!0),T(b,c,"mark"))}},queue:function(a,b,c){if(a){var b=(b||"fx")+"queue",e=d.data(a,b,l,!0);c&&(!e||d.isArray(c)?e=d.data(a,b,d.makeArray(c),!0):e.push(c));return e||[]}},dequeue:function(a,b){var b=b||"fx",c=d.queue(a,b),e=c.shift();"inprogress"===e&&(e=c.shift());e&&("fx"===b&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)}));c.length||(d.removeData(a,b+"queue",!0),T(a,b,"queue"))}});d.fn.extend({queue:function(a,b){"string"!==
typeof a&&(b=a,a="fx");return b===l?d.queue(this[0],a):this.each(function(){var c=d.queue(this,a,b);a==="fx"&&c[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function b(){--g||c.resolveWith(e,[e])}"string"!==typeof a&&(a=
l);for(var a=a||"fx",c=d.Deferred(),e=this,f=e.length,g=1,h=a+"defer",i=a+"queue",a=a+"mark",j;f--;)if(j=d.data(e[f],h,l,!0)||(d.data(e[f],i,l,!0)||d.data(e[f],a,l,!0))&&d.data(e[f],h,d._Deferred(),!0))g++,j.done(b);b();return c.promise()}});var da=/[\n\t\r]/g,N=/\s+/,Ga=/\r/g,Ha=/^(?:button|input)$/i,Ia=/^(?:button|input|object|select|textarea)$/i,Ja=/^a(?:rea)?$/i,ea=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v,fa;
d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,a)})},prop:function(a,b){return d.access(this,a,b,!0,d.prop)},removeProp:function(a){a=d.propFix[a]||a;return this.each(function(){try{this[a]=l,delete this[a]}catch(b){}})},addClass:function(a){var b,c,e,f,g,h,i;if(d.isFunction(a))return this.each(function(b){d(this).addClass(a.call(this,b,this.className))});if(a&&"string"===typeof a){b=a.split(N);c=0;for(e=this.length;c<
e;c++)if(f=this[c],1===f.nodeType)if(!f.className&&1===b.length)f.className=a;else{g=" "+f.className+" ";h=0;for(i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");f.className=d.trim(g)}}return this},removeClass:function(a){var b,c,e,f,g,h,i;if(d.isFunction(a))return this.each(function(b){d(this).removeClass(a.call(this,b,this.className))});if(a&&"string"===typeof a||a===l){b=(a||"").split(N);c=0;for(e=this.length;c<e;c++)if(f=this[c],1===f.nodeType&&f.className)if(a){g=(" "+f.className+" ").replace(da,
" ");h=0;for(i=b.length;h<i;h++)g=g.replace(" "+b[h]+" "," ");f.className=d.trim(g)}else f.className=""}return this},toggleClass:function(a,b){var c=typeof a,e="boolean"===typeof b;return d.isFunction(a)?this.each(function(c){d(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if("string"===c)for(var f,g=0,h=d(this),i=b,j=a.split(N);f=j[g++];)i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f);else if("undefined"===c||"boolean"===c)this.className&&d._data(this,"__className__",
this.className),this.className=this.className||!1===a?"":d._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if(1===this[b].nodeType&&-1<(" "+this[b].className+" ").replace(da," ").indexOf(a))return!0;return!1},val:function(a){var b,c,e=this[0];if(!arguments.length){if(e){if((b=d.valHooks[e.nodeName.toLowerCase()]||d.valHooks[e.type])&&"get"in b&&(c=b.get(e,"value"))!==l)return c;c=e.value;return"string"===typeof c?c.replace(Ga,""):null==c?"":c}return l}var f=
d.isFunction(a);return this.each(function(c){var e=d(this);if(1===this.nodeType&&(c=f?a.call(this,c,e.val()):a,null==c?c="":"number"===typeof c?c+="":d.isArray(c)&&(c=d.map(c,function(a){return a==null?"":a+""})),b=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type],!b||!("set"in b)||b.set(this,c,"value")===l))this.value=c})}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,e=[],
f=a.options,a="select-one"===a.type;if(0>c)return null;for(var g=a?c:0,h=a?c+1:f.length;g<h;g++)if(b=f[g],b.selected&&(d.support.optDisabled?!b.disabled:null===b.getAttribute("disabled"))&&(!b.parentNode.disabled||!d.nodeName(b.parentNode,"optgroup"))){b=d(b).val();if(a)return b;e.push(b)}return a&&!e.length&&f.length?d(f[c]).val():e},set:function(a,b){var c=d.makeArray(b);d(a).find("option").each(function(){this.selected=0<=d.inArray(d(this).val(),c)});c.length||(a.selectedIndex=-1);return c}}},
attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,b,c,e){var f=a.nodeType;if(!a||3===f||8===f||2===f)return l;if(e&&b in d.attrFn)return d(a)[b](c);if(!("getAttribute"in a))return d.prop(a,b,c);var g,h;if(e=1!==f||!d.isXMLDoc(a))b=d.attrFix[b]||b,(h=d.attrHooks[b])||(ea.test(b)?h=fa:v&&(h=v));if(c!==l){if(null===c)return d.removeAttr(a,b),l;if(h&&"set"in h&&e&&(g=h.set(a,c,b))!==l)return g;a.setAttribute(b,""+c);return c}if(h&&
"get"in h&&e&&null!==(g=h.get(a,b)))return g;g=a.getAttribute(b);return null===g?l:g},removeAttr:function(a,b){var c;if(1===a.nodeType&&(b=d.attrFix[b]||b,d.attr(a,b,""),a.removeAttribute(b),ea.test(b)&&(c=d.propFix[b]||b)in a))a[c]=!1},attrHooks:{type:{set:function(a,b){if(Ha.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&"radio"===b&&d.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b);c&&(a.value=c);return b}}},value:{get:function(a,
b){return v&&d.nodeName(a,"button")?v.get(a,b):b in a?a.value:null},set:function(a,b,c){if(v&&d.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,c){var e=a.nodeType;if(!a||3===e||8===e||2===e)return l;var f,
g;if(1!==e||!d.isXMLDoc(a))b=d.propFix[b]||b,g=d.propHooks[b];return c!==l?g&&"set"in g&&(f=g.set(a,c,b))!==l?f:a[b]=c:g&&"get"in g&&null!==(f=g.get(a,b))?f:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Ia.test(a.nodeName)||Ja.test(a.nodeName)&&a.href?0:l}}}});d.attrHooks.tabIndex=d.propHooks.tabIndex;fa={get:function(a,b){var c;return!0===d.prop(a,b)||(c=a.getAttributeNode(b))&&!1!==c.nodeValue?b.toLowerCase():l},set:function(a,
b,c){!1===b?d.removeAttr(a,c):(b=d.propFix[c]||c,b in a&&(a[b]=!0),a.setAttribute(c,c.toLowerCase()));return c}};d.support.getSetAttribute||(v=d.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&""!==c.nodeValue?c.nodeValue:l},set:function(a,b,c){var d=a.getAttributeNode(c);d||(d=k.createAttribute(c),a.setAttributeNode(d));return d.nodeValue=b+""}},d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{set:function(a,d){if(""===d)return a.setAttribute(b,
"auto"),d}})}));d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return a===null?l:a}})});d.support.style||(d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||l},set:function(a,b){return a.style.cssText=""+b}});d.support.optSelected||(d.propHooks.selected=d.extend(d.propHooks.selected,{get:function(a){if(a=a.parentNode){a.selectedIndex;a.parentNode&&a.parentNode.selectedIndex}return null}}));
d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});d.each(["radio","checkbox"],function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(a,b){if(d.isArray(b))return a.checked=d.inArray(d(a).val(),b)>=0}})});var J=/\.(.*)$/,O=/^(?:textarea|input|select)$/i,wa=/\./g,xa=/ /g,Ka=/[^\w\s.|`]/g,La=function(a){return a.replace(Ka,"\\$&")};d.event={add:function(a,b,c,e){if(!(a.nodeType===3||a.nodeType===
8)){if(c===false)c=w;else if(!c)return;var f,g;if(c.handler){f=c;c=f.handler}if(!c.guid)c.guid=d.guid++;if(g=d._data(a)){var h=g.events,i=g.handle;if(!h)g.events=h={};if(!i)g.handle=i=function(a){return typeof d!=="undefined"&&(!a||d.event.triggered!==a.type)?d.event.handle.apply(i.elem,arguments):l};i.elem=a;for(var b=b.split(" "),j,n=0,m;j=b[n++];){g=f?d.extend({},f):{handler:c,data:e};if(j.indexOf(".")>-1){m=j.split(".");j=m.shift();g.namespace=m.slice(0).sort().join(".")}else{m=[];g.namespace=
""}g.type=j;if(!g.guid)g.guid=c.guid;var k=h[j],o=d.event.special[j]||{};if(!k){k=h[j]=[];if(!o.setup||o.setup.call(a,e,m,i)===false)a.addEventListener?a.addEventListener(j,i,false):a.attachEvent&&a.attachEvent("on"+j,i)}if(o.add){o.add.call(a,g);if(!g.handler.guid)g.handler.guid=c.guid}k.push(g);d.event.global[j]=true}a=null}}},global:{},remove:function(a,b,c,e){if(!(a.nodeType===3||a.nodeType===8)){c===false&&(c=w);var f,g,h=0,i,j,n,m,k,o,r=d.hasData(a)&&d._data(a),t=r&&r.events;if(r&&t){if(b&&
b.type){c=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in t)d.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[h++];){m=f;i=f.indexOf(".")<0;j=[];if(!i){j=f.split(".");f=j.shift();n=RegExp("(^|\\.)"+d.map(j.slice(0).sort(),La).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(k=t[f])if(c){m=d.event.special[f]||{};for(g=e||0;g<k.length;g++){o=k[g];if(c.guid===o.guid){if(i||n.test(o.namespace)){e==null&&k.splice(g--,1);m.remove&&m.remove.call(a,o)}if(e!=null)break}}if(k.length===
0||e!=null&&k.length===1){(!m.teardown||m.teardown.call(a,j)===false)&&d.removeEvent(a,f,r.handle);delete t[f]}}else for(g=0;g<k.length;g++){o=k[g];if(i||n.test(o.namespace)){d.event.remove(a,m,o.handler,g);k.splice(g--,1)}}}if(d.isEmptyObject(t)){if(b=r.handle)b.elem=null;delete r.events;delete r.handle;d.isEmptyObject(r)&&d.removeData(a,l,true)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,b,c,e){var f=a.type||a,g=[],h;if(f.indexOf("!")>=0){f=f.slice(0,-1);h=true}if(f.indexOf(".")>=
0){g=f.split(".");f=g.shift();g.sort()}if(c&&!d.event.customEvent[f]||d.event.global[f]){a=typeof a==="object"?a[d.expando]?a:new d.Event(f,a):new d.Event(f);a.type=f;a.exclusive=h;a.namespace=g.join(".");a.namespace_re=RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)");if(e||!c){a.preventDefault();a.stopPropagation()}if(c){if(!(c.nodeType===3||c.nodeType===8)){a.result=l;a.target=c;b=b!=null?d.makeArray(b):[];b.unshift(a);g=c;e=f.indexOf(":")<0?"on"+f:"";do{h=d._data(g,"handle");a.currentTarget=
g;h&&h.apply(g,b);if(e&&d.acceptData(g)&&g[e]&&g[e].apply(g,b)===false){a.result=false;a.preventDefault()}g=g.parentNode||g.ownerDocument||g===a.target.ownerDocument&&o}while(g&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var i,g=d.event.special[f]||{};if((!g._default||g._default.call(c.ownerDocument,a)===false)&&!(f==="click"&&d.nodeName(c,"a"))&&d.acceptData(c)){try{if(e&&c[f]){(i=c[e])&&(c[e]=null);d.event.triggered=f;c[f]()}}catch(j){}i&&(c[e]=i);d.event.triggered=l}}return a.result}}else d.each(d.cache,
function(){var c=this[d.expando];c&&c.events&&c.events[f]&&d.event.trigger(a,b,c.handle.elem)})}},handle:function(a){var a=d.event.fix(a||o.event),b=((d._data(this,"events")||{})[a.type]||[]).slice(0),c=!a.exclusive&&!a.namespace,e=Array.prototype.slice.call(arguments,0);e[0]=a;a.currentTarget=this;for(var f=0,g=b.length;f<g;f++){var h=b[f];if(c||a.namespace_re.test(h.namespace)){a.handler=h.handler;a.data=h.data;a.handleObj=h;h=h.handler.apply(this,e);if(h!==l){a.result=h;if(h===false){a.preventDefault();
a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey,attrChange,attrName,bubbles,button,cancelable,charCode,clientX,clientY,ctrlKey,currentTarget,data,detail,eventPhase,fromElement,handler,keyCode,layerX,layerY,metaKey,newValue,offsetX,offsetY,pageX,pageY,prevValue,relatedNode,relatedTarget,screenX,screenY,shiftKey,srcElement,target,toElement,view,wheelDelta,which".split(","),fix:function(a){if(a[d.expando])return a;for(var b=a,a=d.Event(b),c=this.props.length,
e;c;){e=this.props[--c];a[e]=b[e]}if(!a.target)a.target=a.srcElement||k;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){c=a.target.ownerDocument||k;b=c.documentElement;c=c.body;a.pageX=a.clientX+(b&&b.scrollLeft||c&&c.scrollLeft||0)-(b&&b.clientLeft||c&&c.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||c&&c.scrollTop||0)-(b&&b.clientTop||c&&c.clientTop||
0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==l)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,E(a.origType,a.selector),d.extend({},a,{handler:ta,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,E(a.origType,a.selector),a)}},beforeunload:{setup:function(a,
b,c){if(d.isWindow(this))this.onbeforeunload=c},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};d.removeEvent=k.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,false)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};d.Event=function(a,b){if(!this.preventDefault)return new d.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&
a.getPreventDefault()?D:w}else this.type=a;b&&d.extend(this,b);this.timeStamp=d.now();this[d.expando]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=D;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=D;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=D;this.stopPropagation()},
isDefaultPrevented:w,isPropagationStopped:w,isImmediatePropagationStopped:w};var ga=function(a){var b=a.relatedTarget,c=false,e=a.type;a.type=a.data;if(b!==this){b&&(c=d.contains(this,b));if(!c){d.event.handle.apply(this,arguments);a.type=e}}},ha=function(a){a.type=a.data;d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?ha:ga,a)},teardown:function(a){d.event.remove(this,
b,a&&a.selector?ha:ga)}}});d.support.submitBubbles||(d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return false;d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=d.nodeName(b,"input")||d.nodeName(b,"button")?b.type:"";(c==="submit"||c==="image")&&d(b).closest("form").length&&U("submit",this,arguments)});d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=d.nodeName(b,"input")||d.nodeName(b,"button")?b.type:"";(c==="text"||c==="password")&&
d(b).closest("form").length&&a.keyCode===13&&U("submit",this,arguments)})},teardown:function(){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var x,ia=function(a){var b=d.nodeName(a,"input")?a.type:"",c=a.value;if(b==="radio"||b==="checkbox")c=a.checked;else if(b==="select-multiple")c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"";else if(d.nodeName(a,"select"))c=a.selectedIndex;return c},H=function(a,b){var c=a.target,e,f;if(O.test(c.nodeName)&&
!c.readOnly){e=d._data(c,"_change_data");f=ia(c);(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(!(e===l||f===e))if(e!=null||f){a.type="change";a.liveFired=l;d.event.trigger(a,b,c)}}};d.event.special.change={filters:{focusout:H,beforedeactivate:H,click:function(a){var b=a.target,c=d.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||d.nodeName(b,"select"))&&H.call(this,a)},keydown:function(a){var b=a.target,c=d.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!d.nodeName(b,
"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&H.call(this,a)},beforeactivate:function(a){a=a.target;d._data(a,"_change_data",ia(a))}},setup:function(){if(this.type==="file")return false;for(var a in x)d.event.add(this,a+".specialChange",x[a]);return O.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return O.test(this.nodeName)}};x=d.event.special.change.filters;x.focus=x.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin",
blur:"focusout"},function(a,b){function c(a){var c=d.event.fix(a);c.type=b;c.originalEvent={};d.event.trigger(c,null,c.target);c.isDefaultPrevented()&&a.preventDefault()}var e=0;d.event.special[b]={setup:function(){e++===0&&k.addEventListener(a,c,true)},teardown:function(){--e===0&&k.removeEventListener(a,c,true)}}});d.each(["bind","one"],function(a,b){d.fn[b]=function(a,e,f){var g;if(typeof a==="object"){for(var h in a)this[b](h,e,a[h],f);return this}if(arguments.length===2||e===false){f=e;e=l}if(b===
"one"){g=function(a){d(this).unbind(a,g);return f.apply(this,arguments)};g.guid=f.guid||d.guid++}else g=f;if(a==="unload"&&b!=="one")this.one(a,e,f);else{h=0;for(var i=this.length;h<i;h++)d.event.add(this[h],a,g,e)}return this}});d.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else{c=0;for(var e=this.length;c<e;c++)d.event.remove(this[c],a,b)}return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===
0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return d.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,c=a.guid||d.guid++,e=0,f=function(c){var f=(d.data(this,"lastToggle"+a.guid)||0)%e;d.data(this,"lastToggle"+a.guid,f+1);c.preventDefault();return b[f].apply(this,arguments)||false};for(f.guid=c;e<b.length;)b[e++].guid=c;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});var P={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,b){d.fn[b]=function(a,e,f,g){var h=0,i,j,k=g||this.selector,m=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(i in a)m[b](i,e,a[i],k);return this}if(b==="die"&&!a&&g&&g.charAt(0)==="."){m.unbind(g);return this}if(e===false||d.isFunction(e)){f=e||w;e=l}for(a=(a||"").split(" ");(g=a[h++])!=null;){i=J.exec(g);j="";if(i){j=i[0];g=g.replace(J,"")}if(g==="hover")a.push("mouseenter"+
j,"mouseleave"+j);else{i=g;if(P[g]){a.push(P[g]+j);g=g+j}else g=(P[g]||g)+j;if(b==="live"){j=0;for(var o=m.length;j<o;j++)d.event.add(m[j],"live."+E(g,k),{data:e,selector:k,handler:f,origType:g,origHandler:f,preType:i})}else m.unbind("live."+E(g,k),f)}}return this}});d.each("blur,focus,focusin,focusout,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),function(a,b){d.fn[b]=function(a,
d){if(d==null){d=a;a=null}return arguments.length>0?this.bind(b,a,d):this.trigger(b)};d.attrFn&&(d.attrFn[b]=true)});(function(){function a(a,b,c,d,e,f){for(var e=0,g=d.length;e<g;e++){var h=d[e];if(h){for(var i=false,h=h[a];h;){if(h.sizcache===c){i=d[h.sizset];break}if(h.nodeType===1&&!f){h.sizcache=c;h.sizset=e}if(h.nodeName.toLowerCase()===b){i=h;break}h=h[a]}d[e]=i}}}function b(a,b,c,d,e,f){for(var e=0,g=d.length;e<g;e++){var h=d[e];if(h){for(var i=false,h=h[a];h;){if(h.sizcache===c){i=d[h.sizset];
break}if(h.nodeType===1){if(!f){h.sizcache=c;h.sizset=e}if(typeof b!=="string"){if(h===b){i=true;break}}else if(n.filter(b,[h]).length>0){i=h;break}}h=h[a]}d[e]=i}}}var c=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=false,h=true,i=/\\/g,j=/\W/;[0,0].sort(function(){h=false;return 0});var n=function(a,b,d,e){var d=d||[],g=b=b||k;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||
typeof a!=="string")return d;var h,i,j,l,r,s=true,y=n.isXML(b),q=[],u=a;do{c.exec("");if(h=c.exec(u)){u=h[3];q.push(h[1]);if(h[2]){l=h[3];break}}}while(h);if(q.length>1&&o.exec(a))if(q.length===2&&m.relative[q[0]])i=x(q[0]+q[1],b);else for(i=m.relative[q[0]]?[b]:n(q.shift(),b);q.length;){a=q.shift();m.relative[a]&&(a=a+q.shift());i=x(a,i)}else{if(!e&&q.length>1&&b.nodeType===9&&!y&&m.match.ID.test(q[0])&&!m.match.ID.test(q[q.length-1])){h=n.find(q.shift(),b,y);b=h.expr?n.filter(h.expr,h.set)[0]:h.set[0]}if(b){h=
e?{expr:q.pop(),set:t(e)}:n.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&b.parentNode?b.parentNode:b,y);i=h.expr?n.filter(h.expr,h.set):h.set;for(q.length>0?j=t(i):s=false;q.length;){h=r=q.pop();m.relative[r]?h=q.pop():r="";h==null&&(h=b);m.relative[r](j,h,y)}}else j=[]}j||(j=i);j||n.error(r||a);if(f.call(j)==="[object Array]")if(s)if(b&&b.nodeType===1)for(a=0;j[a]!=null;a++)j[a]&&(j[a]===true||j[a].nodeType===1&&n.contains(b,j[a]))&&d.push(i[a]);else for(a=0;j[a]!=null;a++)j[a]&&j[a].nodeType===
1&&d.push(i[a]);else d.push.apply(d,j);else t(j,d);if(l){n(l,g,d,e);n.uniqueSort(d)}return d};n.uniqueSort=function(a){if(v){g=h;a.sort(v);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a};n.matches=function(a,b){return n(a,null,null,b)};n.matchesSelector=function(a,b){return n(b,null,null,[a]).length>0};n.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=m.order.length;e<f;e++){var g,h=m.order[e];if(g=m.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-
1)!=="\\"){g[1]=(g[1]||"").replace(i,"");d=m.find[h](g,b,c);if(d!=null){a=a.replace(m.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}};n.filter=function(a,b,c,d){for(var e,f,g=a,h=[],i=b,j=b&&b[0]&&n.isXML(b[0]);a&&b.length;){for(var k in m.filter)if((e=m.leftMatch[k].exec(a))!=null&&e[2]){var o,q,r=m.filter[k];q=e[1];f=false;e.splice(1,1);if(q.substr(q.length-1)!=="\\"){i===h&&(h=[]);if(m.preFilter[k])if(e=m.preFilter[k](e,
i,c,h,d,j)){if(e===true)continue}else f=o=true;if(e)for(var s=0;(q=i[s])!=null;s++)if(q){o=r(q,e,s,i);var t=d^!!o;if(c&&o!=null)t?f=true:i[s]=false;else if(t){h.push(q);f=true}}if(o!==l){c||(i=h);a=a.replace(m.match[k],"");if(!f)return[];break}}}if(a===g)if(f==null)n.error(a);else break;g=a}return i};n.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var m=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className",
"for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,e=a.length,f;d<e;d++)if(f=a[d]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[d]=c||f&&f.nodeName.toLowerCase()===b?f||false:f===b}c&&n.filter(b,a,true)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b))for(b=b.toLowerCase();e<f;e++){if(c=
a[e]){c=c.parentNode;a[e]=c.nodeName.toLowerCase()===b?c:false}}else{for(;e<f;e++)(c=a[e])&&(a[e]=d?c.parentNode:c.parentNode===b);d&&n.filter(b,a,true)}},"":function(c,d,f){var g,h=e++,i=b;if(typeof d==="string"&&!j.test(d)){g=d=d.toLowerCase();i=a}i("parentNode",d,h,c,g,f)},"~":function(c,d,f){var g,h=e++,i=b;if(typeof d==="string"&&!j.test(d)){g=d=d.toLowerCase();i=a}i("previousSibling",d,h,c,g,f)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&
a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var f=0,g;(g=b[f])!=null;f++)g&&(e^(g.className&&(" "+g.className+" ").replace(/[\t\n\r]/g,
" ").indexOf(a)>=0)?c||d.push(g):c&&(b[f]=false));return false},ID:function(a){return a[1].replace(i,"")},TAG:function(a){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||n.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&n.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){b=a[1]=a[1].replace(i,"");
!f&&m.attrMap[b]&&(a[1]=m.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(i,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,d,e,f){if(a[1]==="not")if((c.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=n(a[3],null,null,b);else{a=n.filter(a[3],b,d,1^f);d||e.push.apply(e,a);return false}else if(m.match.POS.test(a[0])||m.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===
true},checked:function(a){return a.checked===true},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!n(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},
password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,
b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=m.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===a)return false;return true}n.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=d.previousSibling;)if(d.nodeType===
1)return false;if(c==="first")return true;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===1)return false;return true;case "nth":var c=b[2],e=b[3];if(c===1&&e===0)return true;var f=b[0],g=a.parentNode;if(g&&(g.sizcache!==f||!a.nodeIndex)){for(var h=0,d=g.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++h;g.sizcache=f}d=a.nodeIndex-e;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===
1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=m.attrHandle[c]?m.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],f=b[4];return c==null?e==="!=":e==="="?d===f:e==="*="?d.indexOf(f)>=0:e==="~="?(" "+d+" ").indexOf(f)>=0:!f?d&&c!==false:e==="!="?d!==f:e==="^="?d.indexOf(f)===0:e==="$="?d.substr(d.length-f.length)===f:e==="|="?d===f||d.substr(0,f.length+1)===f+"-":false},POS:function(a,
b,c,d){var e=m.setFilters[b[2]];if(e)return e(a,c,b,d)}}},o=m.match.POS,s=function(a,b){return"\\"+(b-0+1)},r;for(r in m.match){m.match[r]=RegExp(m.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source);m.leftMatch[r]=RegExp(/(^(?:.|\r|\n)*?)/.source+m.match[r].source.replace(/\\(\d+)/g,s))}var t=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(k.documentElement.childNodes,0)[0].nodeType}catch(w){t=function(a,b){var c=0,d=b||[];
if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var v,u;if(k.documentElement.compareDocumentPosition)v=function(a,b){if(a===b){g=true;return 0}return!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1};else{v=function(a,b){var c,d,e=[],f=[];c=a.parentNode;d=b.parentNode;var h=c;if(a===b){g=true;return 0}if(c===
d)return u(a,b);if(c){if(!d)return 1}else return-1;for(;h;){e.unshift(h);h=h.parentNode}for(h=d;h;){f.unshift(h);h=h.parentNode}c=e.length;d=f.length;for(h=0;h<c&&h<d;h++)if(e[h]!==f[h])return u(e[h],f[h]);return h===c?u(a,f[h],-1):u(e[h],b,1)};u=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1}}n.getText=function(a){for(var b="",c,d=0;a[d];d++){c=a[d];c.nodeType===3||c.nodeType===4?b=b+c.nodeValue:c.nodeType!==8&&(b=b+n.getText(c.childNodes))}return b};
(function(){var a=k.createElement("div"),b="script"+(new Date).getTime(),c=k.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(k.getElementById(b)){m.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:l:[]};m.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===
1&&c&&c.nodeValue===b}}c.removeChild(a);c=a=null})();(function(){var a=k.createElement("div");a.appendChild(k.createComment(""));if(a.getElementsByTagName("*").length>0)m.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")m.attrHandle.href=function(a){return a.getAttribute("href",
2)};a=null})();k.querySelectorAll&&function(){var a=n,b=k.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){n=function(b,c,d,e){c=c||k;if(!e&&!n.isXML(c)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(f&&(c.nodeType===1||c.nodeType===9)){if(f[1])return t(c.getElementsByTagName(b),d);if(f[2]&&m.find.CLASS&&c.getElementsByClassName)return t(c.getElementsByClassName(f[2]),d)}if(c.nodeType===9){if(b==="body"&&c.body)return t([c.body],
d);if(f&&f[3]){var g=c.getElementById(f[3]);if(g&&g.parentNode){if(g.id===f[3])return t([g],d)}else return t([],d)}try{return t(c.querySelectorAll(b),d)}catch(h){}}else if(c.nodeType===1&&c.nodeName.toLowerCase()!=="object"){var f=c,i=(g=c.getAttribute("id"))||"__sizzle__",j=c.parentNode,l=/^\s*[+~]/.test(b);g?i=i.replace(/'/g,"\\$&"):c.setAttribute("id",i);if(l&&j)c=c.parentNode;try{if(!l||j)return t(c.querySelectorAll("[id='"+i+"'] "+b),d)}catch(o){}finally{g||f.removeAttribute("id")}}}return a(b,
c,d,e)};for(var c in a)n[c]=a[c];b=null}}();(function(){var a=k.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,c=false;try{b.call(k.documentElement,"[test!='']:sizzle")}catch(d){c=true}if(b)n.matchesSelector=function(a,d){d=d.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!n.isXML(a))try{if(c||!m.match.PSEUDO.test(d)&&!/!=/.test(d))return b.call(a,d)}catch(e){}return n(d,null,null,[a]).length>0}})();(function(){var a=k.createElement("div");a.innerHTML=
"<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length!==1){m.order.splice(1,0,"CLASS");m.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])};a=null}}})();n.contains=k.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):true)}:k.documentElement.compareDocumentPosition?function(a,
b){return!!(a.compareDocumentPosition(b)&16)}:function(){return false};n.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":false};var x=function(a,b){for(var c,d=[],e="",f=b.nodeType?[b]:b;c=m.match.PSEUDO.exec(a);){e=e+c[0];a=a.replace(m.match.PSEUDO,"")}a=m.relative[a]?a+"*":a;c=0;for(var g=f.length;c<g;c++)n(a,f[c],d);return n.filter(e,d)};d.find=n;d.expr=n.selectors;d.expr[":"]=d.expr.filters;d.unique=n.uniqueSort;d.text=n.getText;d.isXMLDoc=n.isXML;d.contains=
n.contains})();var Ma=/Until$/,Na=/^(?:parents|prevUntil|prevAll)/,Oa=/,/,ya=/^.[^:#\[\.,]*$/,Pa=Array.prototype.slice,ja=d.expr.match.POS,Qa={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this,c,e;if(typeof a!=="string")return d(a).filter(function(){c=0;for(e=b.length;c<e;c++)if(d.contains(b[c],this))return true});var f=this.pushStack("","find",a),g,h,i;c=0;for(e=this.length;c<e;c++){g=f.length;d.find(a,this[c],f);if(c>0)for(h=g;h<f.length;h++)for(i=0;i<g;i++)if(f[i]===
f[h]){f.splice(h--,1);break}}return f},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,e=b.length;a<e;a++)if(d.contains(this,b[a]))return true})},not:function(a){return this.pushStack(V(this,a,false),"not",a)},filter:function(a){return this.pushStack(V(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?d.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i={},j=1;if(g&&a.length){e=0;for(f=
a.length;e<f;e++){h=a[e];i[h]||(i[h]=ja.test(h)?d(h,b||this.context):h)}for(;g&&g.ownerDocument&&g!==b;){for(h in i){e=i[h];(e.jquery?e.index(g)>-1:d(g).is(e))&&c.push({selector:h,elem:g,level:j})}g=g.parentNode;j++}}return c}h=ja.test(a)||typeof a!=="string"?d(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(g=this[e];g;)if(h?h.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}else{g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}c=c.length>1?d.unique(c):c;return this.pushStack(c,
"closest",a)},index:function(a){return!a?this[0]&&this[0].parentNode?this.prevAll().length:-1:typeof a==="string"?d.inArray(this[0],d(a)):d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a&&a.nodeType?[a]:a),e=d.merge(this.get(),c);return this.pushStack(!c[0]||!c[0].parentNode||c[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}});d.each({parent:function(a){return(a=
a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,
a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=Pa.call(arguments);Ma.test(a)||(e=c);e&&typeof e==="string"&&(f=d.filter(e,f));f=this.length>1&&!Qa[a]?d.unique(f):f;if((this.length>1||Oa.test(e))&&Na.test(a))f=f.reverse();return this.pushStack(f,a,g.join(","))}});d.extend({filter:function(a,b,c){c&&(a=":not("+
a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,c){for(var e=[],a=a[b];a&&a.nodeType!==9&&(c===l||a.nodeType!==1||!d(a).is(c));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,c){for(var b=b||1,d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Ra=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,ka=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
la=/<([\w:]+)/,Sa=/<tbody/i,Ta=/<|&#?\w+;/,ma=/<(?:script|object|embed|option|style)/i,na=/checked\s*(?:[^=]|=\s*.checked.)/i,Ua=/\/(java|ecma)script/i,Aa=/^\s*<!(?:\[CDATA\[|\-\-)/,s={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,
"",""]};s.optgroup=s.option;s.tbody=s.tfoot=s.colgroup=s.caption=s.thead;s.th=s.td;d.support.htmlSerialize||(s._default=[1,"div<div>","</div>"]);d.fn.extend({text:function(a){return d.isFunction(a)?this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))}):typeof a!=="object"&&a!==l?this.empty().append((this[0]&&this[0].ownerDocument||k).createTextNode(a)):d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=
d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return d.isFunction(a)?this.each(function(b){d(this).wrapInner(a.call(this,b))}):this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,
"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length){if(!b&&e.nodeType===1){d.cleanData(e.getElementsByTagName("*"));d.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},
empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===l)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ra,""):null;if(typeof a==="string"&&!ma.test(a)&&(d.support.leadingWhitespace||!Q.test(a))&&!s[(la.exec(a)||["",""])[1].toLowerCase()]){a=
a.replace(ka,"<$1></$2>");try{for(var b=0,c=this.length;b<c;b++)if(this[b].nodeType===1){d.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&
(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove();b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,c){var e,f,g,h=a[0],i=[];if(!d.support.checkClone&&arguments.length===3&&typeof h==="string"&&na.test(h))return this.each(function(){d(this).domManip(a,b,c,true)});if(d.isFunction(h))return this.each(function(e){var f=
d(this);a[0]=h.call(this,e,b?f.html():l);f.domManip(a,b,c)});if(this[0]){e=h&&h.parentNode;e=d.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:d.buildFragment(a,this,i);g=e.fragment;if(f=g.childNodes.length===1?g=g.firstChild:g.firstChild){b=b&&d.nodeName(f,"tr");f=0;for(var j=this.length,k=j-1;f<j;f++)c.call(b?d.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],
e.cacheable||j>1&&f<k?d.clone(g,true,true):g)}i.length&&d.each(i,za)}return this}});d.buildFragment=function(a,b,c){var e,f,g,h;b&&b[0]&&(h=b[0].ownerDocument||b[0]);h.createDocumentFragment||(h=k);if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&h===k&&a[0].charAt(0)==="<"&&!ma.test(a[0])&&(d.support.checkClone||!na.test(a[0]))){f=true;(g=d.fragments[a[0]])&&g!==1&&(e=g)}if(!e){e=h.createDocumentFragment();d.clean(a,h,e,c)}f&&(d.fragments[a[0]]=g?e:1);return{fragment:e,cacheable:f}};d.fragments=
{};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],c=d(c),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&c.length===1){c[b](this[0]);return this}for(var f=0,g=c.length;f<g;f++){var h=(f>0?this.clone(true):this).get();d(c[f])[b](h);e=e.concat(h)}return this.pushStack(e,a,c.selector)}});d.extend({clone:function(a,b,c){var e=a.cloneNode(true),f,g,h;if((!d.support.noCloneEvent||
!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){X(a,e);f=F(a);g=F(e);for(h=0;f[h];++h)g[h]&&X(f[h],g[h])}if(b){W(a,e);if(c){f=F(a);g=F(e);for(h=0;f[h];++h)W(f[h],g[h])}}return e},clean:function(a,b,c,e){b=b||k;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||k);for(var f=[],g,h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i=i+"");if(i){if(typeof i==="string")if(Ta.test(i)){i=i.replace(ka,"<$1></$2>");g=(la.exec(i)||["",""])[1].toLowerCase();
var j=s[g]||s._default,l=j[0],m=b.createElement("div");for(m.innerHTML=j[1]+i+j[2];l--;)m=m.lastChild;if(!d.support.tbody){l=Sa.test(i);j=g==="table"&&!l?m.firstChild&&m.firstChild.childNodes:j[1]==="<table>"&&!l?m.childNodes:[];for(g=j.length-1;g>=0;--g)d.nodeName(j[g],"tbody")&&!j[g].childNodes.length&&j[g].parentNode.removeChild(j[g])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild);i=m.childNodes}else i=b.createTextNode(i);var o;if(!d.support.appendChecked)if(i[0]&&
typeof(o=i.length)==="number")for(g=0;g<o;g++)Z(i[g]);else Z(i);i.nodeType?f.push(i):f=d.merge(f,i)}}if(c){a=function(a){return!a.type||Ua.test(a.type)};for(h=0;f[h];h++)if(e&&d.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{if(f[h].nodeType===1){b=d.grep(f[h].getElementsByTagName("script"),a);f.splice.apply(f,[h+1,0].concat(b))}c.appendChild(f[h])}}return f},cleanData:function(a){for(var b,c,e=
d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando,i=0,j;(j=a[i])!=null;i++)if(!j.nodeName||!d.noData[j.nodeName.toLowerCase()])if(c=j[d.expando]){if((b=e[c]&&e[c][f])&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);if(b.handle)b.handle.elem=null}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando);delete e[c]}}});var R=/alpha\([^)]*\)/i,Va=/opacity=([^)]*)/,Wa=/([A-Z]|^ms)/g,oa=/^-?\d+(?:px)?$/i,Xa=/^-?\d/,Ya=/^([\-+])=([\-+.\de]+)/,
Za={position:"absolute",visibility:"hidden",display:"block"},Ba=["Left","Right"],Ca=["Top","Bottom"],u,pa,qa;d.fn.css=function(a,b){return arguments.length===2&&b===l?this:d.access(this,a,b,true,function(a,b,f){return f!==l?d.style(a,b,f):d.css(a,b)})};d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=u(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":d.support.cssFloat?
"cssFloat":"styleFloat"},style:function(a,b,c,e){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var f,g=d.camelCase(b),h=a.style,i=d.cssHooks[g],b=d.cssProps[g]||g;if(c!==l){e=typeof c;if(e==="string"&&(f=Ya.exec(c))){c=+(f[1]+1)*+f[2]+parseFloat(d.css(a,b));e="number"}if(!(c==null||e==="number"&&isNaN(c))){e==="number"&&!d.cssNumber[g]&&(c=c+"px");if(!i||!("set"in i)||(c=i.set(a,c))!==l)try{h[b]=c}catch(j){}}}else return i&&"get"in i&&(f=i.get(a,false,e))!==l?f:h[b]}},css:function(a,b,c){var e,
f,b=d.camelCase(b);f=d.cssHooks[b];b=d.cssProps[b]||b;b==="cssFloat"&&(b="float");if(f&&"get"in f&&(e=f.get(a,true,c))!==l)return e;if(u)return u(a,b)},swap:function(a,b,c){var d={},f;for(f in b){d[f]=a.style[f];a.style[f]=b[f]}c.call(a);for(f in b)a.style[f]=d[f]}});d.curCSS=d.css;d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,e,f){var g;if(e){if(a.offsetWidth!==0)return aa(a,b,f);d.swap(a,Za,function(){g=aa(a,b,f)});return g}},set:function(a,b){if(oa.test(b)){b=parseFloat(b);
if(b>=0)return b+"px"}else return b}}});d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return Va.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,e=a.currentStyle,f=d.isNaN(b)?"":"alpha(opacity="+b*100+")",g=e&&e.filter||c.filter||"";c.zoom=1;if(b>=1&&d.trim(g.replace(R,""))===""){c.removeAttribute("filter");if(e&&!e.filter)return}c.filter=R.test(g)?g.replace(R,f):g+" "+f}});d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight=
{get:function(a,b){var c;d.swap(a,{display:"inline-block"},function(){c=b?u(a,"margin-right","marginRight"):a.style.marginRight});return c}}});k.defaultView&&k.defaultView.getComputedStyle&&(pa=function(a,b){var c,e,b=b.replace(Wa,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return l;if(e=e.getComputedStyle(a,null)){c=e.getPropertyValue(b);c===""&&!d.contains(a.ownerDocument.documentElement,a)&&(c=d.style(a,b))}return c});k.documentElement.currentStyle&&(qa=function(a,b){var c,d=a.currentStyle&&
a.currentStyle[b],f=a.runtimeStyle&&a.runtimeStyle[b],g=a.style;if(!oa.test(d)&&Xa.test(d)){c=g.left;if(f)a.runtimeStyle.left=a.currentStyle.left;g.left=b==="fontSize"?"1em":d||0;d=g.pixelLeft+"px";g.left=c;if(f)a.runtimeStyle.left=f}return d===""?"auto":d});u=pa||qa;d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});
return d}(window);

var h=void 0,i=null;function aa(a,b,c){if(!j)return!1;var d=typeof b==="number"||typeof b==="string"?String(b):i,e=b===!0||b&&b.force===!0||c&&c.force===!0,f=typeof b==="object"&&b.skip===!0||typeof c==="object"&&c.skip===!0;if(d)try{ba(a,d)}catch(g){l("API","Error while activating experiment "+a+" for variation "+d+" -- proceeding without bucketing user.")}var k=i,t=[],F=[];ca(a)?t.push(a):m(n(),function(a){p(a,"manual")&&t.push(a)});m(t,function(a){if(e||da(a,!0))(k=ea(a,f))&&F.push(a)});fa(F);ga();ha()}
function ba(a,b,c){ia=!0;j&&c!==!0&&r.f(document.location.href);a=String(a);b=String(b);if(b==="-1"){v[a]&&delete v[a];ja[a]&&delete ja[a];for(b=0;b<w.length;b++)w[b].j===a&&w.splice(b,1);ka()}else if((c=x(a))&&c.length>0){a:{for(var c=x(a),d=0;d<c.length;d++){var e=la(c[d]);if(y(e,b)){c=c[d];break a}}c=""}A[a]=A[a]||{};A[a][c]=b;l("Distributor","Preferring variation partial "+b+" of section "+c+" of experiment "+a);a=ma(a);a.length===1&&B(a[0],"api.bucketUser",!1,!0)}else B(b,"api.bucketUser",!1,
!0);ga()}function na(a){a&&a==="tracking"||(j=!1);oa=!1}function pa(a,b){var c=[],d=b;C(b)&&(c=qa(b,1),d=b[0]);var e=a[d];e?(l("API",'Called function "'+d+'"'),d!=="acknowledgePreviewMode"&&ra(d,{type:"api"}),e.apply(i,c)):l("API",'Error for unknown function "'+d+'"');sa()}
function ta(){ua={};D={};va={};m(wa(),function(a){var b=E(a);ua[b]=a.split("_");var c=D,d;a:{var e=E(a);d=x(e);if(d.length===0){d=xa(e);for(e=0;e<d.length;e++)if(d[e]===a){d=e;break a}}else{for(var e=a.split("_"),f=[],g=0;g<d.length;g++)for(var k=la(d[g]),t=0;t<k.length;t++)k[t]===e[g]&&f.push(t);if(f!==[]){d=f;break a}}d=-1}c[b]=d;va[b]=ya(a)});za();Aa(window.optimizely,{activeExperiments:Ba,allExperiments:Ca(),all_experiments:Ca(),data:H,variationIdsMap:ua,variationMap:D,variationNamesMap:va,variation_map:D})}
function Da(a){if(!ca(a))return!1;Ea=Number(a)}function Fa(){Ga=!0}
function za(){var a=n();H={experiments:{},sections:{},state:{},variations:{},visitor:{}};for(var b=0;b<a.length;b++){var c=a[b],d={};d.code=p(c,"code")||"";d.name=p(c,"name")||"";d.manual=p(c,"manual")||!1;d.section_ids=x(c);d.variation_ids=xa(c);H.experiments[c]=d}a=Ha(I("sections")||{});for(b=0;b<a.length;b++)c=a[b],d={},d.name=I("sections",c,"name")||"",d.variation_ids=la(c),H.sections[c]=d;a=Ha(I("variations")||{});for(b=0;b<a.length;b++)c=a[b],d={},d.name=ya(c),d.code=Ia(c),H.variations[c]=d;
a={};b=Ja();a.browser={ff:"Firefox",ie:"Internet Explorer",safari:"Safari",gc:"Google Chrome",opera:"Opera"}[b]||"";b=Ka();a.location={city:b.city,state:b.region,country:b.country};a.params={};c=La();c.reverse();b=0;for(d=c.length;b<d;b++)a.params[c[b][0]]=decodeURIComponent(c[b][1]);a.referrer=String(document.referrer);a.mobile=Ma()!=="unknown";b=navigator.appVersion||"";c="";b.indexOf("Win")!==-1&&(c="Windows");b.indexOf("Mac")!==-1&&(c="Mac");b.indexOf("Linux")!==-1&&(c="Linux");a.os=c;H.visitor=
a;b={};b.activeExperiments=Ba||[];b.variationMap=D;b.variationNamesMap=va;H.state=b}var H={},ua={},D={},va={};function y(a,b){for(var c=0;c<a.length;c++)if(b==a[c])return!0;return!1}function Na(a){var b=a.length;if(b===0)return i;if(b===1)return 0;for(var c=0,d=0;d<b;d++)c+=a[d];c*=Math.random();for(d=0;d<b;d++){if(c<a[d])return d;c-=a[d]}return Math.floor(Math.random()*b)}function J(a,b){return a.indexOf(b)!==-1}function Oa(a,b){var c=qa(arguments,1);return function(){var b=qa(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}
function m(a,b){var c=i;if(C(a))for(var d=a.length,e=0;e<d;++e){if(c=b.call(h,a[e],e),K(c))break}else for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&(c=b.call(h,d,a[d]),K(c)))break;return c}function Aa(a,b){m(b,function(b,d){a[b]=d})}function Pa(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d];b(f)&&c.push(f)}return c}function Qa(a,b){return m(b,function(b){if(b===a)return!0})||!1}function C(a){return a&&typeof a==="object"&&a.length&&typeof a.length==="number"}
function K(a){return typeof a!=="undefined"}function ca(a){return(typeof a==="number"||typeof a==="string")&&Number(a)==a}function Ha(a){Ha=Object.keys||function(a){var c=[];m(a,function(a){c.push(a)});return c};return Ha.call(i,a)}function Ra(a){var b=document.G||document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.src=a;c.type="text/javascript";b.appendChild(c)}
function L(a,b,c){var d=window.console;if(M&&d&&d.log){var e=qa(arguments,1);e[0]="Optimizely / "+a+" / "+b;Function.prototype.apply.call(d.log,d,e)}}function qa(a,b){return Array.prototype.slice.call(a,b||0,a.length)}function Sa(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function Ta(){if(!Ua){var a=I("click_goals")||[];Ua=[];for(var b=0,c=a.length;b<c;b++)for(var d=a[b],e=d.selector.split(","),f=0,g=e.length;f<g;f++){var k=e[f];if(k)k={event_name:d.event_name,selector:k},d.experiments!==h?k.experiments=d.experiments:d.url_conditions!==h&&(k.url_conditions=d.url_conditions),Ua.push(k)}}return Ua}function Va(){var a=Pa(n(),Wa);Va=function(){return a};return a}function Xa(){return Pa(Ta(),function(a){return a.experiments?!1:Ya(a.url_conditions||[])})}
function Za(a){var b={},c=p(a,"events")||{};m(c,function(a,c){b[a]=[c]});for(var c=Pa(Ta(),function(b){return y(b.experiments||[],a)}),d=0;d<c.length;d++){var e=c[d];b[e.selector]||(b[e.selector]=[]);b[e.selector].push(e.event_name)}return b}function Ca(){return I("experiments")||{}}function n(){return Ha(I("experiments")||{})}function N(a){return'experiment "'+(p(a,"name")||"")+'" ('+a+")"}function x(a){return p(a,"section_ids")||[]}function xa(a){return p(a,"variation_ids")||[]}
function $a(a){var b={},c=I("public_suffixes")||{};m(c,function(a,c){m(c,function(c){b[c]=a})});$a=function(a){return b[a]||""};return $a.call(i,a)}function la(a){return I("sections",a,"variation_ids")||[]}function Ia(a){var b=[];m(a.split("_"),function(a){(a=I("variations",a,"code"))&&b.push(a)});return b.join("\n")}
function E(a){var b={};m(n(),function(a){m(x(a),function(d){m(la(d),function(d){b[d]=a})});m(xa(a),function(d){b[d]=a})});E=function(a){return b[a.split("_")[0]]||""};return E.call(i,a)}function ya(a){var b;return ab(a).join(b||", ")}function ab(a){var b=[];m(a.split("_"),function(a){b.push(I("variations",a,"name")||"Unnamed")});return b}function Wa(a){return!!p(a,"enabled")}function p(a,b){return I("experiments",a,b)}function bb(a){return p(a,"google_analytics")}
function I(a){var b=DATA;if(m(arguments,function(a){a=b[a];if(K(a))b=a;else return i})!==i)return b}function cb(a){var a=I(a),b=document.location.protocol;b==="chrome-extension:"&&(b="http:");return b+"//"+a+".optimizely.com"}var Ua=i;function ra(a,b){b=b||{};window.optimizelyPreview=window.optimizelyPreview||[];db||(window.optimizelyPreview.push(["addEvent",window.location.href,{type:"url"}]),db=!0);window.optimizelyPreview.push(["addEvent",a,b])}function eb(){l("Preview","Preview acknowledgement received");fb=!0}function gb(){O=!0;hb&&!fb&&ib()}
function ib(){if(O&&!jb)l("Preview","Will load preview script"),window.optimizelyPreview=window.optimizelyPreview||[],$(document).ready(function(){var a=I("project_id"),a="//optimizely.s3.amazonaws.com/js/"+a+"_preview.js?account_id="+a+"&no_cache="+Math.floor(1E9*Math.random());Ra(a);l("Preview","Now loading preview script "+a)});hb=!0}var fb=!1,db=!1,hb=!1,kb=[];function La(){var a=window.location.search||"";a.indexOf("?")===0&&(a=a.substring(1));for(var a=a.split("&"),b=[],c=0;c<a.length;c++){var d="",e="",f=a[c].split("=");f.length>0&&(d=f[0]);f.length>1&&(e=f[1]);b.push([d,e])}return b}function lb(){for(var a=window.location.search,b,c=/optimizely_([^=]+)=([^&]*)/g,d={};b=c.exec(a);)d[b[1]]=decodeURIComponent(b[2]);return d}
function mb(a,b){var c=x(a),d=[];if(c.length===b.length)m(c,function(a,c){var e=b[c];if(e=la(a)[e])d.push(e);else return d=[],i});else if(b.length===1){var c=xa(a),e=b[0],f=c[e];!f&&y(c,e)&&(f=e);f&&d.push(f)}return d.join("_")};function da(a,b){b=b===!0;l("Condition","Testing experiment "+a);var c=Wa(a),d=p(a,"manual")||!1;if(c)if(nb(a)){if(!b&&d)return l("Condition"," Failed for experiment "+a+" (manual activation mode)"),ob[a]="it is set to use manual activation mode",!1}else return l("Condition","Failed for experiment "+a+" (condition failed)"),!1;else return l("Condition","Failed for experiment "+a+" (paused)"),ob[a]="it is paused",!1;return!0}
function nb(a){var b=p(a,"conditions")||[],c=!0;m(b,function(b){var e=b.type;if(b.only_first_time&&pb(a))l("Condition",e+" condition passed because it only gets checked when bucketing",!0);else{var f=!b.not,g=(0,qb[e])(b),b=g!==f,e="the visitor "+(g?"passed":"failed")+" a "+e+" targeting condition  when it needed to "+(f?"pass":"fail");l("Condition",e,!b);if(b)return c=!1,ob[a]=e,!1}});return c}
function Ya(a){for(var b=window.location.href,c=0;c<a.values.length;c++){var d=a.values[c],e=d.value,d=d.match,f=rb(b,e,d);l("Condition","Testing URL "+b+" against  "+e+" ("+d+")",!0);if(f)return!0}return!1}
var qb={browser:function(a){var b=Ja(),c=sb(),d=!1,e=Ma();m(a.values,function(a){e!=="unknown"?(d=a==="mobile"||a===e,l("Condition",e,!0)):a.indexOf(b)===0&&(a=a.substr(b.length),d=a===""||a<=c&&c<Number(a)+1);if(d)return i});return d},code:function(a){a=a.value;if(a===h)return!0;try{return Boolean(eval(a))}catch(b){return!1}},cookies:function(a){for(var b=!1,c=a.names||[],a=a.values||[],d=0;d<c.length;d++){var e=P(c[d]);if(b=K(a[d])&&Sa(a[d])!==""?b||a[d]===e:b||e!==i&&e!==h)return!0}return!1},event:function(a){var b=
P("optimizelyCustomEvents")||"{}";try{b=tb(b)}catch(c){b={}}var d=b[ub()]||[];C(d)||(d=[]);var e=!1;m(a.values,function(a){if($.inArray(a,d)!==-1)return e=!0});return e},language:function(a){var b=vb(),c=!1;m(a.values,function(a){if(c=a==="any"||b.indexOf(a)===0)return i});return c},location:function(a){for(var b=Ka(),c=0;c<a.values.length;c++){var d=a.values[c].split("|"),e=$.trim(d[0]),f=$.trim(d[1]),g=$.trim(d[2]),k=$.trim(d[3]);switch(d.length){case 1:if(b.country===e)return!0;break;case 2:if(b.region===
f&&b.country===e)return!0;break;case 3:if(b.city===g&&(b.region===f||""===f)&&b.country===e)return!0;break;case 4:if(b.continent===k)return!0}}return!1},query:function(a){if(a.values.length===0)return!0;var b=!1,c=La();m(a.values,function(a){for(var e=a.key,a=a.value||"",f=0;f<c.length;f++){var g=c[f],k=g[0],g=g[1];if(e!==""&&e===k&&(a===""||a===g))return b=!0}});return b},referrer:function(a){for(var b=document.referrer,c=0;c<a.values.length;c++){var d=a.values[c],e=d.value,d=d.match,f=rb(b,e,d);
l("Condition","Testing referrer "+b+" against  "+e+" ("+d+")",!0);if(f)return!0}return!1},url:Ya,visitor:function(a){var b=wb?"returning":"new";switch(a.value){case "new":return b==="returning"?!1:!0;case "returning":return b==="returning"}return!0}};var xb=window.OPTIMIZELY_TEST_MODULE,yb="com,local,net,org,xxx,edu,es,gov,biz,info,fr,nl,ca,de,kr,it,me,ly,tv,mx,cn,jp,il,in,iq".split(","),zb=/\/\* _optimizely_variation_url( +include="([^"]*)")?( +exclude="([^"]*)")?( +match_type="([^"]*)")?( +include_match_types="([^"]*)")?( +exclude_match_types="([^"]*)")? +\*\//;function P(a){var b=a+"=",c=[];m((document.cookie||"").split(/\s*;\s*/),function(a){a.indexOf(b)===0&&c.push(decodeURIComponent(a.substr(b.length)))});var d=c.length;d>1&&L("Cookie","Values found for %s: %s",a,d);return d===0?i:c[0]}
function Q(a,b,c){var d=R||S,e=document.location.hostname;!R&&I("remote_public_suffix")&&Ab.push({w:c,name:a,value:b});R&&R!==S&&(Bb(a,e),Bb(a,S));Cb(a,b,d,c);var f=P(a);f===b?L("Cookie","Successful set %s=%s on %s",a,b,d):(L("Cookie","Setting %s on %s apparently failed (%s != %s)",a,d,f,b),L("Cookie","Setting %s on %s",a,e),Cb(a,b,e,c),f=P(a),f===b&&(L("Cookie","Setting %s on %s worked; saving as new public suffix",a,e),S=e))}
function Bb(a,b){L("Cookie","Deleting %s on %s",a,b);document.cookie=[a,"=; domain=.",b,"; path=/; expires=",(new Date(0)).toUTCString()].join("")}function Db(a){R=a.public_suffix;L("Cookie","Public suffix request returned: %s",R);Q("optimizelyPublicSuffix",R,31536E4);if(R!==S)for(;Ab.length>0;)a=Ab.shift(),Q(a.name,a.value,a.w);Ab=[]}
function Eb(a){var a=cb("api_host")+"/iapi/public_suffix?host="+encodeURIComponent(a),b="callback"+Math.random().toString().replace("0.",""),c=document,d=c.G||c.getElementsByTagName("head")[0]||c.documentElement,c=c.createElement("script");window.optimizely[b]=Db;c.async="async";c.src=[a,a.indexOf("?")!==-1?"&":"?","callback=optimizely.",b].join("");d.insertBefore(c,d.firstChild)}
function Cb(a,b,c,d){a=[a,"=",encodeURIComponent(b),"; domain=.",c,"; path=/"];d&&a.push("; expires=",(new Date(+new Date+d*1E3)).toUTCString());document.cookie=a.join("")}var S="",R="",Ab=[];function Fb(){var a=navigator.userAgent,b=Gb([{id:"gc",substring:"Chrome",g:"Chrome"},{id:"safari",O:navigator.vendor,substring:"Apple",g:"Version"},{id:"ff",substring:"Firefox",g:"Firefox"},{id:"opera",prop:window.opera,g:"Opera"},{id:"ie",substring:"MSIE",g:"MSIE"},{id:"mo",substring:"Gecko",g:"rv"}],a),c=Gb([{id:"android",substring:"Android"},{id:"blackberry",substring:"BlackBerry"},{id:"ipad",substring:"iPad"},{id:"iphone",substring:"iPhone"},{id:"ipod",substring:"iPod"},{id:"windows phone",substring:"Windows Phone"}],
a),d=i,e=b.g;e&&(d=Hb(a,e)||Hb(navigator.appVersion,e));return{z:b.id||"unknown",A:d||"unknown",M:c.id||"unknown"}}function Hb(a,b){var c=a.indexOf(b),d=i;c!==-1&&(c+=b.length+1,d=parseFloat(a.substring(c)));return d}function Gb(a,b){return m(a,function(a){var d=a.O||b;if(d&&J(d,a.substring)||a.prop)return a})||{}};var Ea=0,jb=!1,j=!0,O=!1,T="",M=!1,Ib=!1,ia=!1,Ga=!1,oa=!0;function ea(a,b){var b=b===!0,c=Jb(a);if(c&&c.length>0)return l("Distributor","Not distributing experiment "+a+" (already in plan)"),!0;if(b||a in v)return l("Distributor","Not distributing experiment "+a+" (is ignored)"),!1;c=p(a,"enabled_variation_ids")||[];if(c.length===0)return l("Distributor","Permanently ignoring experiment "+a+" (no enabled variations)"),Kb(a),!1;else{var d=p(a,"ignore")||0;if(d>Math.floor(Math.random()*100))return l("Distributor","Permanently ignoring experiment "+a+"("+d+
"% likelihood)"),Kb(a),!1;else{var e=c;A[a]!==h&&(l("Distributor","Taking into account bucketUser variations for experiment "+a),e=ma(a));d=Lb(a,e);e=e[d];l("Distributor","Picked variation "+e+" [index "+d+" of "+c.length+"]");B(e,"distributor",!1);return!0}}}function Lb(a,b){var c=[],d=p(a,"variation_weights")||{};m(b,function(a){c.push(d[a])});return Na(c)}
function ma(a){var b=[];m(p(a,"enabled_variation_ids")||[],function(c){var d=!0,e;for(e in A[a])c.indexOf(A[a][e])===-1&&(d=!1);d&&b.push(c)});return b}var A={};function fa(a){if(j){C(a)?Mb(a):(a=[],Mb());a=a.concat(U);U=[];for(var b=0;b<a.length;b++)y(Ba,a[b])||Ba.push(a[b]);a=Nb(a);Ob.push.apply(Ob,a);Pb()}}
function Pb(){var a=!1;Qb=i;for(l("Evaluator",Rb+" times waited");!a&&Ob.length>0;){l("Evaluator",Ob.length+" steps remaining");var b=Ob.shift(),c=b,a=!1;if(c.S&&!Sb)l("Evaluator","Document not ready yet"),a=!0;else if(c.h&&!Sb&&(c=c.e))for(var c=C(c)?c:[c],d=0;d<c.length;d++){var e=c[d];if(!(e===i||e===h||!e.length)&&$(e).length===0)l("Evaluator","'"+e+"' not found"),a=!0}a?Ob.unshift(b):b.i?(l("Evaluator","Bound event "+b.i+" to selector "+b.e),Tb(b.e,b.i)):b.code&&(l("Evaluator","Run code: "+b.code),
Ub(b.code))}a?(Qb=setTimeout(Pb,Rb===0?10:50),Rb++):l("Evaluator",Rb+" total times waited")}
function Ub(a){a=a.replace(Vb,Wb);if(Xb(a)){l("Evaluator","Redirect detected");var b;Yb(a||"")?b=!0:(b=P("optimizelyRedirect"),b=b===h||b===i||b==="");if(b)l("Evaluator","OK to redirect"),Yb(a)||(l("Evaluator","NOT setting a redirect cookie"),Q("optimizelyRedirect",window.location.href,5)),Q("optimizelyReferrer",document.referrer||"http://www.optimizely.com/redirect-no-referrer");else{l("Evaluator","NOT OK to redirect");return}}eval("var $j = $;");try{eval(a)}catch(c){b=M,M=!0,l("Evaluator","Error: "+
c.message),l("Evaluator","Code: "+a),M=b,l("Evaluator","Failed to run code: "+c.message)}}function Tb(a,b){if(!Zb[a]||!Zb[a][b]){var c="mousedown",d=Ma();if(d==="iphone"||d==="ipad"||d==="ipod")c="touchstart";$(a).bind(c,function(){r.f.call(r,b,"custom")});Zb[a]||(Zb[a]={});Zb[a][b]=c}}function $b(a){ac=a}
function Mb(a){a||(a=n());for(var b=0;b<a.length;b++){var c=a[b],d=ob[c];d?(ra("Not activating "+N(c)+" because "+d+".",{type:"explanation"}),delete ob[c]):ra("Activating "+N(c)+".",{type:"explanation"})}}var Zb={},Ba=[],U=U||[],ac=0,Sb=!1,ob={},Ob=[],Qb=i,Rb=0;$(function(){Sb=!0;Qb!==i&&(l("Evaluator","Document is ready"),clearTimeout(Qb),ac>0?setTimeout(Pb,ac):Pb())});var tb,bc;
(function(){function a(a){d.lastIndex=0;return d.test(a)?'"'+a.replace(d,function(a){var b=g[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function b(c,d){var g,q,o,V,W=e,z,u=d[c];typeof k==="function"&&(u=k.call(d,c,u));switch(typeof u){case "string":return a(u);case "number":return isFinite(u)?String(u):"null";case "boolean":case "null":return String(u);case "object":if(!u)return"null";e+=f;z=[];if(Object.prototype.toString.apply(u)==="[object Array]"){V=
u.length;for(g=0;g<V;g+=1)z[g]=b(g,u)||"null";o=z.length===0?"[]":e?"[\n"+e+z.join(",\n"+e)+"\n"+W+"]":"["+z.join(",")+"]";e=W;return o}if(k&&typeof k==="object"){V=k.length;for(g=0;g<V;g+=1)typeof k[g]==="string"&&(q=k[g],(o=b(q,u))&&z.push(a(q)+(e?": ":":")+o))}else for(q in u)Object.prototype.hasOwnProperty.call(u,q)&&(o=b(q,u))&&z.push(a(q)+(e?": ":":")+o);o=z.length===0?"{}":e?"{\n"+e+z.join(",\n"+e)+"\n"+W+"}":"{"+z.join(",")+"}";e=W;return o}}var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
d=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,f,g={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},k;bc=function(a,c,d){var g;f=e="";if(typeof d==="number")for(g=0;g<d;g+=1)f+=" ";else typeof d==="string"&&(f=d);if((k=c)&&typeof c!=="function"&&(typeof c!=="object"||typeof c.length!=="number"))throw Error("JSON.stringify");return b("",{"":a})};tb=function(a,b){function d(a,c){var e,
f,g=a[c];if(g&&typeof g==="object")for(e in g)Object.prototype.hasOwnProperty.call(g,e)&&(f=d(g,e),f!==h?g[e]=f:delete g[e]);return b.call(a,c,g)}var e,a=String(a);c.lastIndex=0;c.test(a)&&(a=a.replace(c,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 e=eval("("+a+")"),typeof b===
"function"?d({"":e},""):e;throw new SyntaxError("JSON.parse");}})();function cc(a){a=a||{};if(oa){a&&a.sVariable&&(dc=a.sVariable);var b=dc||(typeof window.s!=="undefined"?window.s:i);b?ec?(L("Integrator","Tracking with SiteCatalyst"),m(fc(),function(a){var d=E(a),a=gc(d,a,100,100,25,!0),e=a.key+": "+a.value;m(hc(d),function(a){L("Integrator","Setting Site Catalyst %s='%s'",a,e);b[a]=e})})):ic=!0:l("Integrator","Error with SiteCatalyst integration: 's' variable not defined")}}function jc(a,b){return a.replace(/[^a-zA-Z0-9\.\~\!\*\(\)\']+/g,"_").substring(0,b)}
function hc(a){var b=[],c=p(a,"site_catalyst_evar")||i,a=p(a,"site_catalyst_prop")||i;c!==i&&b.push("eVar"+c);a!==i&&b.push("prop"+a);return b}function gc(a,b,c,d,e,f){a=kc+(p(a,"name")||"");b=ab(b);b.length>1?(b=$.map(b,function(a){return a.substr(0,e-1)}),b=b.join("~")):b=b[0];f?(a=jc(a,c),b=jc(b.replace("#",""),d)):(a=a.substring(0,c),b=b.substring(0,d));return{key:a,value:b}}
function ha(){oa&&(m(fc(),function(a){var b=E(a);if(bb(b)){var c;c=bb(b);var d=0;K(c)&&(d=c.slot||d);c=d;var d=bb(b),e="";K(d)&&(e=d.tracker||e);d=e;e=gc(b,a,28,24,5,!0);try{var f="";d!==""&&(f=d+".");L("Integrator","Calling _gaq._setCustomVar for slot %d",c);_gaq.push([f+"_setCustomVar",c,e.key,e.value,2])}catch(g){l("Integrator","Error sending Google Analytics data for "+N(b))}}if(I("kissmetrics")){c=gc(b,a,100,100,15,!0);d={};d[c.key]=c.value;try{L("Integrator","Calling _kmq.set"),_kmq.push(["set",
d])}catch(k){l("Integrator","Error sending KISSmetrics data for "+N(b))}}if(p(b,"mixpanel")){a=gc(b,a,100,100,15,!1);c={};c[a.key]=a.value;try{L("Integrator","Calling mixpanel.push"),mixpanel.push(["register",c])}catch(t){l("Integrator","Error sending Mixpanel data for "+N(b))}}}),lc(),ec=!0,ic&&(cc(),ic=!1))}function mc(a){kc=a}function nc(a){dc=a}
function fc(){var a=Ba.concat(U),b=[];m(wa(),function(c){var d=E(c),e=!1;if(Wa(d)){var f=ya(c);y(a,d)&&(L("Integrator",'"%s" relevant because experiment active',f),e=!0);Xb(Ia(c))&&(L("Integrator",'"%s" relevant because it redirects',f),e=!0);e&&b.push(c)}});return b}
function lc(){var a=P("optimizelyReferrer");if(a&&a.length>0){try{L("Integrator","Calling _gaq._setReferrerOverride with %s",a),_gaq.push(["_setReferrerOverride",a])}catch(b){L("Integrator","Error setting Google Analytics referrer: %s",a)}Q("optimizelyReferrer","")}}var ic=!1,ec=!1,kc="Optimizely ",dc=i;function B(a,b,c,d){var c=c===!0,d=d===!0,e=!1,f=E(a);if(f&&(d||!pb(f))){e=!0;if(d&&pb(f))for(d=0;d<w.length;d++)w[d].j===f&&w.splice(d,1);w.push({j:f,id:a,source:b});c&&(U=U||[],U.push(f));ja[f]=!0;ka();l("Plan","Added experiment "+f+" and variation id "+a+" to the plan, source is "+b,!0)}return e}function pb(a){return a in v||a in ja}function oc(a){for(var b=Xa(),c=0,d=b.length;c<d;c++)a.push({i:b[c].event_name,e:b[c].selector,type:"event '"+b[c].event_name+"' (click goal)",h:!0})}
function Nb(a){a===h?a=[]:ca(a)&&(a=[a]);var b=wa(a),c=[],d=[],e=[],f=[];oc(c);m(a,function(a){pc(a,c,e,d,f)});m(b,function(a){for(var a=Ia(a),a=a.split("\n"),b=[],c=!0,e=0,G=a.length;e<G;e++){var q=$.trim(a[e]);if(q==="/* _optimizely_variation_url_end */")c=!0;else if(q!==""){var o=zb.exec(q);if(o&&o.length===11){var V=o[2]?o[2].split(" "):[],q=o[4]?o[4].split(" "):[],W=o[6]?o[6]:"substring",z=o[8]?o[8].split(" "):[],o=o[10]?o[10].split(" "):[];V.length>0&&(c=qc(V,z,W),c=Ya(c));c&&q.length>0&&(c=
qc(q,o,W),c=!Ya(c))}else c&&b.push(q)}}a=b.join("\n");rc(a,d,f)});a=[];a.push.apply(a,d);a.push.apply(a,e);a.push.apply(a,f);a.push.apply(a,c);return a}function Jb(a){var b=i;m(w,function(c){if(a==c.j)b=c.id});return b}function wa(a){var b=[],c=!K(a),a=a||[];m(w,function(d){(c||y(a,d.j))&&b.push(d.id)});return b}function Kb(a){var b;if(b===!0||!pb(a))v[a]=!0,ka()}
function ga(){var a={};m(sc,function(b,c){a[b]=c});m(w,function(b){var c=E(b.id);a[c]=b.id});m(v,function(b){a[b]="0"});Q("optimizelyBuckets",bc(a),31536E4)}function ka(){m(tc,function(a){a()})}
function pc(a,b,c,d,e){var f=Za(a);m(f,function(c,d){m(d,function(d){b.push({i:d,e:c,type:"event '"+d+"' (experiment "+a+")",h:!0})})});var f=p(a,"css")||"",g=p(a,"code")||"",k=p(a,"html")||"";k&&c.push({code:'$("body").append("<div style=\'display:none\'>'+k.replace(/([\f\n\r\t\\'"])/g,"\\$1")+'</div>");',e:"body",type:"global html (experiment "+a+")",h:!0});f&&c.push({code:'$("body").append("<style>'+f.replace(/([\f\n\r\t\\'"])/g,"\\$1")+'</style>");',e:"body",type:"global css (experiment "+a+")",
h:!0});g&&rc(g,d,e)}
function rc(a,b,c){if(J(a,"_optimizely_redirect"))b.push({code:a,type:"code forced (redirect)"});else{for(var a=a.split("\n"),d=!1,e=!1,f=[],g=[];a.length>0;){var k=Sa(a.shift()),t=g.length>0;if(k)if(J(k,"_optimizely_evaluate=force"))e=!0;else if(J(k,"_optimizely_evaluate=safe")||J(k,"_optimizely_evaluate=end_force"))e=!1;else if(J(k,"_optimizely_evaluate=editor_only"))d=!0;else if(J(k,"_optimizely_evaluate=end_editor_only"))d=!1;else if(!d)if(e)f.push(k);else{if(!t){var F=uc.exec(k),G=[];F?(G.push(F[1]),
(F=vc.exec(k))&&F.length>4&&G.push(F[4]),c.push({code:k,e:G,type:"safe jquery",h:!0})):t=!0}t&&g.push(k)}}f.length>0&&b.push({code:f.join("\n"),type:"forced evaluation"});g.length>0&&c.push({code:g.join("\n"),type:"safe non-jquery",S:!0})}}function qc(a,b,c){for(var d={values:[]},e=0,f=a.length;e<f;e++)d.values.push({value:a[e],match:b[e]||c});return d}
var tc=[],sc={},v={},uc=/^\$j?\(['"](.+?)['"]\)\..+;\s*$/,vc=/^\$j?\(['"](.+?)['"]\)\.detach\(\)\.(appendTo|insertAfter|insertBefore|prependTo)\(['"](.+?)['"]\);\s*$/,ja={},w=[];function Xb(a){return J(a,"_optimizely_redirect")}function Yb(a){return J(a,"_optimizely_redirect_no_cookie")};function Wb(a,b){var c;c=$.trim(b);var d="";if(window.optimizely&&window.optimizely.data)if(d=c.match(wc))d=window.optimizely.data.visitor.params[d[1]],d===h&&(d="");else{for(var d=c.split("."),e=window.optimizely,f=0,g=d.length;f<g;f++)if(e=e[d[f]],e===h||e===i){e="";break}d=""+e}l("Template",c+" evaluated to: '"+d+"'");return d}var Vb=/\{\{ *optimizely\.([^\n\r{}<>]*)\}\}/g,wc=/^data\.visitor\.params\.(.*)$/;function l(a,b,c){xc.push({C:new Date,B:a,message:b,n:c||!1});yc&&sa()}function zc(){M=!0}function Ac(){Ib=M=!0}function sa(){M&&(m(xc,function(a){if(!a.J&&(!a.n||a.n===Ib)){var b=+a.C;L(a.B,a.message+(" [time "+(Bc?b-Bc:0)+" +"+(Cc?b-Cc:0)+"]"));Cc=b;Bc||(Bc=b);a.J=!0}}),yc=!0)}var Cc=i,Bc=i,xc=[],yc=!1;var r={};r.v=function(a,b){var c={},c=b&&ca(b)?{revenue:Number(b)}:b;r.f(a,"custom",c)};r.f=function(a,b,c){c=c||{};O&&(ca(c.revenue)?ra(a,{value:c.revenue}):ra(a));oa&&(r.l.push({name:a,type:b,options:c}),r.u?(r.q(),l("Tracker","Tracking event '"+a+"'")):l("Tracker","Queued tracking event '"+a+"'"))};r.D=function(){$("html").one("mousedown",Oa(r.f,"engagement"))};r.F=function(a){return function(){r.N(a)}};
r.m=function(){var a=P("optimizelyPendingLogEvents")||"[]",b=[];try{b=tb(a)}catch(c){}if(C(b))for(var a=0,d=b.length;a<d;a++){var e=b[a];if(typeof e!=="string"){b=[];break}else try{tb(e);b=[];break}catch(f){}}else b=[];return b};r.K=function(a,b){r.I(a)?r.L(a,b):r.o(a,b)};r.o=function(a,b){l("Tracker","Making log image request.");var c=new Image;c.onload=b;var d=cb("log_host")+"/event?"+a,d=r.P(d);c.src=d};
r.L=function(a,b){l("Tracker","Making log XHR request.");var c=cb("log_host")+"/event?"+a;try{var d=new XMLHttpRequest;if("withCredentials"in d)d.onerror=b,d.onload=b,d.open("GET",c,!0),d.withCredentials=!0,d.send();else throw"CORS with credentials is not supported.";}catch(e){l("Tracker","Found that XHR with credentials is not supported in this browser."),r.o(a,b)}};r.I=function(a){return a.indexOf(r.k)!==-1};r.P=function(a){return a.replace("&"+r.k,"")};
r.p=function(a){var b=(a=a===!0||a==="true")?"true":"false";a?(Q("optimizelyOptOut",b,31536E4),Q("optimizelyBuckets",b,31536E4),alert("You have successfully opted out of Optimizely for this domain.")):(Q("optimizelyOptOut",b,31536E4),alert("You are NOT opted out of Optimizely for this domain."))};r.N=function(a){for(var b=r.m(),c=0,d=b.length;c<d;c++)if(b[c]===a){b.splice(c,1);break}r.t(b);l("Tracker","Removed a pending log event from the pending events cookie.")};r.l=[];r.u=!1;
r.q=function(){var a=["a="+I("project_id"),"d="+I("admin_account_id"),"y="+!!I("ip_anonymization")];ia&&a.push("override=true");m(wa(),function(b){var c=E(b);a.push("x"+c+"="+b)});a.push("f="+Va().join(","));var b=a.join("&"),c=[];m(r.l,function(a){var b=[];a.name&&b.push("n="+encodeURIComponent(a.name));a.options.revenue&&b.push("v="+encodeURIComponent(a.options.revenue));a.options.anonymous!==!0&&b.push("u="+ub());a.type==="pageview"&&b.push(r.k);b.push("t="+ +new Date);c.push(b.join("&"));if(a.type===
"custom")try{r.R(a.name)}catch(d){}});var d=c.concat(r.m());r.t(d);d=r.r?c:d;r.r=!0;for(var e=0,f=d.length;e<f;e++){var g=d[e];r.K(b+"&"+g,r.F(g))}r.l=[];r.u=!0};r.t=function(a){for(var b=bc(a);b.length>1536;)a=a.slice(0,-1),b=bc(a);Q("optimizelyPendingLogEvents",b,15)};
r.R=function(a){var b=ub(),c=P("optimizelyCustomEvents")||"{}";try{c=tb(c)}catch(d){c={}}var e=c[b]||(c[b]=[]),e=C(e)?e:[];$.inArray(a,e)!==-1&&e.splice($.inArray(a,e),1);e.push(a);e.length>10&&e.shift();c[b]=e;var a=0,e=i,f=0,g;for(g in c)if(c.hasOwnProperty(g)&&(a++,c[g].length>f&&g!==b))e=g,f=c[g].length;a>10&&e!==i&&delete c[e];Q("optimizelyCustomEvents",bc(c),31536E4)};r.r=!1;r.k="wxhr=true";var X;function Ja(){function a(){return X.z}X=X||Fb();Ja=a;return a()}function vb(){var a="";try{a=navigator.userLanguage||window.navigator.language,a=a.toLowerCase()}catch(b){a=""}return a}function sb(){function a(){return X.A}X=X||Fb();sb=a;return a()}function ub(){var a=P("optimizelyEndUserId");a||(a="oeu"+ +new Date+"r"+Math.random(),Q("optimizelyEndUserId",a,31536E4));return a}
function Ka(){var a={};try{a=GEOTARGETING}catch(b){}var c="",d="",e="",f="";try{d=a.country.toUpperCase()||""}catch(g){d=""}try{e=a.region.toUpperCase()||""}catch(k){e=""}e==="N/A"&&(e="");try{f=a.city.toUpperCase()||""}catch(t){f=""}f==="N/A"&&(f="");try{c=a.continent.toUpperCase()||""}catch(F){c=""}c==="N/A"&&(c="");return{city:f,continent:c,country:d,region:e}}function Ma(){function a(){return X.M}X=X||Fb();Ma=a;return a()}var wb=h;function Dc(){for(var a=T,b=0,c=Ec.length;b<c;b++){var d=Ec[b];if(d.test(a))return!1}b=0;for(c=Fc.length;b<c;b++)if(d=Fc[b],d.test(a))return!0;return!1}var Ec=[/(edit|preview)(-local)?\.optimizely\.com/,/optimizelyedit\.appspot\.com/],Fc=[/^(https:)?\/\/www\.local\//,/^(https:)?\/\/([A-Za-z0-9\-]+\.)?optimizely\.com\//,/^(https:)?\/\/([A-Za-z0-9\-]+\.)?optimizely(-hrd)?\.appspot\.com\//];function rb(a,b,c){switch(c){case "exact":return a=Gc(a),a=Hc(a,"optimizely_log"),a=Hc(a,"optimizely_verbose"),a===Gc(b);case "regex":try{return Boolean(a.match(b))}catch(d){return!1}case "simple":return a=Gc(Ic(a)),b=Gc(Ic(b)),a===b;case "substring":return a=Gc(a),b=Gc(b),a.indexOf(b)!==-1;default:return!1}}function Ic(a){var b=a.indexOf("?");b!==-1&&(a=a.substring(0,b));b=a.indexOf("#");b!==-1&&(a=a.substring(0,b));return a}
function Hc(a,b){return a.replace("&"+b+"=true","").replace("?"+b+"=true&","?").replace("?"+b+"=true","")}function Gc(a){for(var a=a.toLowerCase(),b=a.charAt(a.length-1);b==="/"||b==="&"||b==="?";)a=a.substring(0,a.length-1),b=a.charAt(a.length-1);for(var b=Jc.length,c=0;c<b;c++){var d=Jc[c];a.indexOf(d)===0&&(a=a.substring(d.length))}return a}var Jc=["http://edit.local/","http://preview.optimizely.com/","http://","https://","www."];function Kc(a){return function(b){if(typeof b==="object"&&Lc()){var c=i,d;for(d in b)b.hasOwnProperty(d)&&(c=a.call(this,d,b[d]));return c}else return a.apply(this,arguments)}}function Mc(){var a=Y.each,b=Y;return function(c,d,e){if((c.length===h||b.isFunction(c))&&Lc())if(e)for(var f in c){if(c.hasOwnProperty(f)&&d.apply(c[f],e)===!1)break}else for(f in c){if(c.hasOwnProperty(f)&&!d.call(c[f],f,c[f])===!1)break}else a.apply(this,arguments);return c}}
function Nc(){function a(a,c,d){return new b(a,c,d)}var b=Y.fn.H,c=Y;function d(a){return a&&a.toString().indexOf("[native code]")!==-1}var e=document.getElementsByClassName;if(!d(e))var f=(window.optimizely||{}).getElementsByClassName,g=(window.optly||{}).getElementsByClassName,e=d(f)?f:d(g)?g:i;return function(b,f,g){var G=a,q=document.getElementsByClassName;!d(q)&&e&&(G=function(b,c,d){document.getElementsByClassName=e;b=a(b,c,d);document.getElementsByClassName=q;return b});return typeof b==="string"&&
f&&c.type(f)==="object"&&Lc()?(b=G(b,h,g),b.attr(f),b):G(b,f,g)}}function Lc(){for(var a in{})return!0;return!1};if(!xb){var Y=$;Y.fn.attr=Kc(Y.fn.attr);Y.fn.css=Kc(Y.fn.css);Y.fn.extend=Kc(Y.fn.extend);Y.each=Mc();Y.fn.H=Nc()}l("Main","Started, revision "+I("revision"));
(function(){var a=lb(),b=/x(\d+)/,c=!1;m(a,function(a,e){var f=b.exec(a);if(f&&(c=!0,f=f[1],e!=="-1")){var g=mb(f,e.split("_"));B(g,"query",!0);kb.push(f)}});(a.opt_out==="true"||a.opt_out==="false")&&r.p(a.opt_out==="true");jb=a.cross_browser==="true";j=a.disable!=="true"&&a.opt_out!=="true"&&P("optimizelyOptOut")!=="true";O=(a.preview||O)&&j;T=a.load_script;M=a.log==="true";Ib=a.verbose==="true";oa=!c||a.force_tracking==="true";a.client==="false"&&(j=!1,T="js/"+I("project_id")+".js");T&&(Dc()||
(T=""))})();var Oc=document.location.hostname,Z=Oc.split("."),Pc=Oc,Qc=Z[Z.length-1];Z.length>2&&Z[Z.length-2]==="appspot"&&Qc==="com"?Pc=Z[Z.length-3]+".appspot.com":Z.length>1&&Qa(Qc,yb)&&(Pc=Z[Z.length-2]+"."+Qc);S=Pc;L("Cookie","Guessed public suffix: %s",S);R=$a(Oc);L("Cookie","Public suffix (from data): %s",R);R||(R=P("optimizelyPublicSuffix")||"",L("Cookie","Public suffix (from cookie): %s",R));
!R&&I("remote_public_suffix")&&(L("Cookie","Making request for public suffix on DOM ready"),$(Oa(Eb,Oc)));var Rc=P("optimizelyBuckets"),wb=Rc!==h&&Rc!==i;
(function(){var a=P("optimizelyBuckets");if(a){try{a=tb(a)}catch(b){a={}}var c={};m(a,function(a,b){var b=String(b),f=E(b);x(f).length>1&&b.indexOf("_")===-1?(c[f]=c[f]||{},c[f][a]=b):b!=="0"?B(b,"cookie",!1)||(sc[a]=b):Kb(a)});m(c,function(a,b){var c;a:{c=[];for(var g=x(a),k=0;k<g.length;k++){var t=b[g[k]];if(t==="0"){c="";break a}c.push(t)}c=c.join("_")}c.length>0?B(c,"cookie",!1):Kb(a)})}})();
(function(){tc.push(ta);var a={$:$,activeExperiments:Ba||[],allExperiments:Ca(),all_experiments:Ca(),allVariations:I("variations")||{},data:H,getElementsByClassName:document.getElementsByClassName,revision:I("revision"),variationIdsMap:ua,variation_map:D,variationMap:D,variationNamesMap:va},b={},c=Oa(pa,b);Aa(b,{acknowledgePreviewMode:eb,activate:aa,activateSiteCatalyst:cc,bucketUser:ba,bucketVisitor:ba,delayDomReadyEval:$b,delayPageviewTracking:Da,disable:na,log:zc,integrationPrefix:mc,optOut:r.p,
preview:gb,push:c,sc_activate:cc,sc_svar:nc,skipPageTracking:Fa,trackEvent:r.v,verbose:Ac});Aa(a,b);b=window.optimizely;C(b)&&m(b,function(a){c(a)});window.optimizely=a})();l("Info","Is enabled: "+j);l("Info","Is previewing: "+O);l("Info","Script to load: "+(T||"none"));l("Info","Browser type: "+Ja());l("Info","Browser version: "+sb());var Sc=Ma();Sc!=="unknown"&&l("Info","Mobile browser type: "+Sc);l("Info","Visitor type: "+(wb?"returning":"new"));l("Info","User ID: "+ub());T&&Ra(T);
j&&(m(n(),function(a){if(!Qa(a,U)&&da(a)){l("Distributor","Going to distribute "+N(a));var b=ea(a),c=!1;O&&kb.length>0&&!y(kb,a)&&(l("Distributor","Not going to evaluate because of preview mode, for "+N(a)),c=!0,ob[a]="it is not being previewed");b&&!c&&(U=U||[],U.push(a))}}),ga(),r.D(),Ga||(Ea>0?setTimeout(function(){r.f(document.location.href,"pageview")},Ea):r.f(document.location.href,"pageview")),r.q(),ha());
M&&(m(v,function(a){var b=p(a,"name")||"";l("Plan","Ignore experiment '"+b+"' ("+a+")")}),m(w,function(a){var b=E(a.id),c=ya(a.id);l("Plan",N(b)+' in variation "'+c+'" ('+a.id+")")}));j&&(fa(),l("API","Finalizing API."),ta(),sa());ib();l("Main","End of main");

optly.Cleanse.finish();
})();
