(function(){
var DATA={
  "api_host": "api", 
  "experiments": {
    "15917326": {
      "conditions": [
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.shortform.com/pages/landing"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "events": {
        "a#sign_in": "Sign In", 
        "a#sign_out": "Sign Out", 
        "div#video-thumbnail": "Play Promo Video"
      }, 
      "google_analytics_slot": 3, 
      "is_site_catalyst_enabled": "disabled", 
      "name": "First Landing Page Test", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "15917327", 
        "15929105", 
        "15922439"
      ]
    }, 
    "18316987": {
      "conditions": [
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.shortform.com/pages/landing/adwords/youtube"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "google_analytics_slot": 3, 
      "is_site_catalyst_enabled": "disabled", 
      "name": "First AdWords YouTube", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "18419048", 
        "18419049", 
        "18392399"
      ]
    }, 
    "19717887": {
      "active": true, 
      "active_variation_ids": [
        "19717888", 
        "19846197"
      ], 
      "active_variation_weights": {
        "19717888": 5000, 
        "19846197": 5000
      }, 
      "conditions": [
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.shortform.com/pages/landing/adwords/twitter"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "is_site_catalyst_enabled": "disabled", 
      "name": "January 2011 AdWords Twitter", 
      "variation_ids": [
        "19717888", 
        "19846197"
      ]
    }, 
    "19804783": {
      "conditions": [
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.shortform.com/pages/landing"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "google_analytics_slot": 3, 
      "is_site_catalyst_enabled": "disabled", 
      "name": "Landing Page Twitter and Social", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "19739419", 
        "19831719"
      ]
    }, 
    "19849037": {
      "active": true, 
      "active_variation_ids": [
        "19707464"
      ], 
      "active_variation_weights": {
        "19707464": 10000
      }, 
      "conditions": [
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.shortform.com/pages/landing/adwords/youtube"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "google_analytics_slot": 3, 
      "is_site_catalyst_enabled": "disabled", 
      "name": "YouTube Adwords Static", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "19707464"
      ]
    }
  }, 
  "id": 11838786, 
  "kissmetrics": true, 
  "log_host": "log3", 
  "revision": 123, 
  "variations": {
    "15917327": {
      "name": "Original Page"
    }, 
    "15922439": {
      "code": "/* _optimizely_redirect=http://www.shortform.com/pages/landing/2 */\nvar query = window.location.search;\nquery = query.indexOf('?') == 0 ? query.substring(1) : query;\nvar redirectFirst = 'http://www.shortform.com/pages/landing/2';\nvar redirectSecond = '';\nvar questionMark = query.length || redirectSecond.length ? '?' : '';\nvar ampersand = query.length && redirectSecond.length && redirectSecond[0] != '#' ? '&' : '';\nwindow.location.replace(redirectFirst + questionMark + query + ampersand + redirectSecond);", 
      "name": "YouTube Variation"
    }, 
    "15929105": {
      "code": "/* _optimizely_redirect=http://www.shortform.com/pages/landing/1 */\nvar query = window.location.search;\nquery = query.indexOf('?') == 0 ? query.substring(1) : query;\nvar redirectFirst = 'http://www.shortform.com/pages/landing/1';\nvar redirectSecond = '';\nvar questionMark = query.length || redirectSecond.length ? '?' : '';\nvar ampersand = query.length && redirectSecond.length && redirectSecond[0] != '#' ? '&' : '';\nwindow.location.replace(redirectFirst + questionMark + query + ampersand + redirectSecond);", 
      "name": "Twitter Variation"
    }, 
    "18392399": {
      "code": "$(\"div.bottom-text\").replaceWith(\"<div class=\\\"bottom-text\\\">\\nYouTube Favorites</div>\");", 
      "name": "YouTube Favorites"
    }, 
    "18419048": {
      "name": "Original Page"
    }, 
    "18419049": {
      "code": "$(\"div.bottom-text\").replaceWith(\"<div class=\\\"bottom-text\\\">\\nYouTube Videos</div>\");\n$(\"div.top-text\").replaceWith(\"<div class=\\\"top-text\\\">\\nCreate a channel from</div>\");", 
      "name": "YouTube Videos"
    }, 
    "19707464": {
      "name": "Original Page"
    }, 
    "19717888": {
      "name": "Original Page"
    }, 
    "19739419": {
      "name": "Original Page"
    }, 
    "19831719": {
      "code": "/* _optimizely_redirect=http://www.shortform.com/pages/landing/watch_and_twitter */\nvar query = window.location.search;\nquery = query.indexOf('?') == 0 ? query.substring(1) : query;\nvar redirectFirst = 'http://www.shortform.com/pages/landing/watch_and_twitter';\nvar redirectSecond = '';\nvar questionMark = query.length || redirectSecond.length ? '?' : '';\nvar ampersand = query.length && redirectSecond.length && redirectSecond[0] != '#' ? '&' : '';\nwindow.location.replace(redirectFirst + questionMark + query + ampersand + redirectSecond);", 
      "name": "Watch and Twitter"
    }, 
    "19846197": {
      "code": "$(\"div.bottom-text\").replaceWith(\"<div class=\\\"bottom-text\\\">\\nTwitter Friends</div>\");", 
      "name": "Friends"
    }
  }
};

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(B,o){var r=B.document,J=B.navigator,C=function(){function a(){if(!b.isReady){try{r.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(c,a){return new b.fn.init(c,a,t)},p=B.jQuery,g=B.$,t,m=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,u=/\S/,k=/^\s+/,z=/\s+$/,e=/\d/,h=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,s=/^[\],:{}\s]*$/,f=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,y=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,l=/(?:^|:|,)(?:\s*\[)+/g,
n=/(webkit)[ \/]([\w.]+)/,q=/(opera)(?:.*version)?[ \/]([\w.]+)/,v=/(msie) ([\w.]+)/,d=/(mozilla)(?:.*? rv:([\w.]+))?/,c=/-([a-z]|[0-9])/ig,i=/^-ms-/,A=function(c,a){return(a+"").toUpperCase()},x=J.userAgent,j,w,K=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,D=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};b.fn=b.prototype={constructor:b,init:function(c,a,d){var i;if(!c)return this;if(c.nodeType)return this.context=this[0]=c,this.length=
1,this;if(c==="body"&&!a&&r.body)return this.context=r,this[0]=r.body,this.selector=c,this.length=1,this;if(typeof c==="string")if((i=c.charAt(0)==="<"&&c.charAt(c.length-1)===">"&&c.length>=3?[null,c,null]:m.exec(c))&&(i[1]||!a))if(i[1])return d=(a=a instanceof b?a[0]:a)?a.ownerDocument||a:r,(c=h.exec(c))?b.isPlainObject(a)?(c=[r.createElement(c[1])],b.fn.attr.call(c,a,!0)):c=[d.createElement(c[1])]:(c=b.buildFragment([i[1]],[d]),c=(c.cacheable?b.clone(c.fragment):c.fragment).childNodes),b.merge(this,
c);else{if((a=r.getElementById(i[2]))&&a.parentNode){if(a.id!==i[2])return d.find(c);this.length=1;this[0]=a}this.context=r;this.selector=c;return this}else return!a||a.jquery?(a||d).find(c):this.constructor(a).find(c);else if(b.isFunction(c))return d.ready(c);if(c.selector!==o)this.selector=c.selector,this.context=c.context;return b.makeArray(c,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return D.call(this,0)},get:function(c){return c==null?this.toArray():
c<0?this[this.length+c]:this[c]},pushStack:function(c,a,d){var i=this.constructor();b.isArray(c)?F.apply(i,c):b.merge(i,c);i.prevObject=this;i.context=this.context;if(a==="find")i.selector=this.selector+(this.selector?" ":"")+d;else if(a)i.selector=this.selector+"."+a+"("+d+")";return i},each:function(c,a){return b.each(this,c,a)},ready:function(c){b.bindReady();j.done(c);return this},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
slice:function(){return this.pushStack(D.apply(this,arguments),"slice",D.call(arguments).join(","))},map:function(c){return this.pushStack(b.map(this,function(a,d){return c.call(a,d,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var c,a,d,i,x,j=arguments[0]||{},A=1,h=arguments.length,e=!1;typeof j==="boolean"&&(e=j,j=arguments[1]||{},A=2);typeof j!=="object"&&!b.isFunction(j)&&(j=
{});h===A&&(j=this,--A);for(;A<h;A++)if((c=arguments[A])!=null)for(a in c)d=j[a],i=c[a],j!==i&&(e&&i&&(b.isPlainObject(i)||(x=b.isArray(i)))?(x?(x=!1,d=d&&b.isArray(d)?d:[]):d=d&&b.isPlainObject(d)?d:{},j[a]=b.extend(e,d,i)):i!==o&&(j[a]=i));return j};b.extend({noConflict:function(c){if(B.$===b)B.$=g;if(c&&B.jQuery===b)B.jQuery=p;return b},isReady:!1,readyWait:1,holdReady:function(c){c?b.readyWait++:b.ready(!0)},ready:function(c){if(c===!0&&!--b.readyWait||c!==!0&&!b.isReady){if(!r.body)return setTimeout(b.ready,
1);b.isReady=!0;c!==!0&&--b.readyWait>0||(j.resolveWith(r,[b]),b.fn.trigger&&b(r).trigger("ready").unbind("ready"))}},bindReady:function(){if(!j){j=b._Deferred();if(r.readyState==="complete")return setTimeout(b.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",w,!1),B.addEventListener("load",b.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",w);B.attachEvent("onload",b.ready);var c=!1;try{c=B.frameElement==null}catch(d){}r.documentElement.doScroll&&c&&a()}}},
isFunction:function(c){return b.type(c)==="function"},isArray:Array.isArray||function(c){return b.type(c)==="array"},isWindow:function(c){return c&&typeof c==="object"&&"setInterval"in c},isNaN:function(c){return c==null||!e.test(c)||isNaN(c)},type:function(c){return c==null?String(c):I[K.call(c)]||"object"},isPlainObject:function(c){if(!c||b.type(c)!=="object"||c.nodeType||b.isWindow(c))return!1;try{if(c.constructor&&!E.call(c,"constructor")&&!E.call(c.constructor.prototype,"isPrototypeOf"))return!1}catch(a){return!1}for(var d in c);
return d===o||E.call(c,d)},isEmptyObject:function(c){for(var a in c)return!1;return!0},error:function(c){throw c;},parseJSON:function(c){if(typeof c!=="string"||!c)return null;c=b.trim(c);if(B.JSON&&B.JSON.parse)return B.JSON.parse(c);if(s.test(c.replace(f,"@").replace(y,"]").replace(l,"")))return(new Function("return "+c))();b.error("Invalid JSON: "+c)},parseXML:function(c){var a,d;try{B.DOMParser?(d=new DOMParser,a=d.parseFromString(c,"text/xml")):(a=new ActiveXObject("Microsoft.XMLDOM"),a.async=
"false",a.loadXML(c))}catch(i){a=o}(!a||!a.documentElement||a.getElementsByTagName("parsererror").length)&&b.error("Invalid XML: "+c);return a},noop:function(){},globalEval:function(c){c&&u.test(c)&&(B.execScript||function(c){B.eval.call(B,c)})(c)},camelCase:function(a){return a.replace(i,"ms-").replace(c,A)},nodeName:function(c,a){return c.nodeName&&c.nodeName.toUpperCase()===a.toUpperCase()},each:function(c,a,d){var i,j=0,A=c.length,x=A===o||b.isFunction(c);if(d)if(x)for(i in c){if(a.apply(c[i],
d)===!1)break}else for(;j<A;){if(a.apply(c[j++],d)===!1)break}else if(x)for(i in c){if(a.call(c[i],i,c[i])===!1)break}else for(;j<A;)if(a.call(c[j],j,c[j++])===!1)break;return c},trim:G?function(c){return c==null?"":G.call(c)}:function(c){return c==null?"":c.toString().replace(k,"").replace(z,"")},makeArray:function(c,a){var d=a||[];if(c!=null){var i=b.type(c);c.length==null||i==="string"||i==="function"||i==="regexp"||b.isWindow(c)?F.call(d,c):b.merge(d,c)}return d},inArray:function(c,a){if(!a)return-1;
if(H)return H.call(a,c);for(var d=0,i=a.length;d<i;d++)if(a[d]===c)return d;return-1},merge:function(c,a){var d=c.length,i=0;if(typeof a.length==="number")for(var j=a.length;i<j;i++)c[d++]=a[i];else for(;a[i]!==o;)c[d++]=a[i++];c.length=d;return c},grep:function(c,a,d){for(var i=[],j,d=!!d,A=0,x=c.length;A<x;A++)j=!!a(c[A],A),d!==j&&i.push(c[A]);return i},map:function(c,a,d){var i,j,A=[],x=0,h=c.length;if(c instanceof b||h!==o&&typeof h==="number"&&(h>0&&c[0]&&c[h-1]||h===0||b.isArray(c)))for(;x<
h;x++)i=a(c[x],x,d),i!=null&&(A[A.length]=i);else for(j in c)i=a(c[j],j,d),i!=null&&(A[A.length]=i);return A.concat.apply([],A)},guid:1,proxy:function(c,a){if(typeof a==="string")var d=c[a],a=c,c=d;if(!b.isFunction(c))return o;var i=D.call(arguments,2),d=function(){return c.apply(a,i.concat(D.call(arguments)))};d.guid=c.guid=c.guid||d.guid||b.guid++;return d},access:function(c,a,d,i,j,A){var x=c.length;if(typeof a==="object"){for(var h in a)b.access(c,h,a[h],i,j,d);return c}if(d!==o){i=!A&&i&&b.isFunction(d);
for(h=0;h<x;h++)j(c[h],a,i?d.call(c[h],h,j(c[h],a)):d,A);return c}return x?j(c[0],a):o},now:function(){return(new Date).getTime()},uaMatch:function(c){c=c.toLowerCase();c=n.exec(c)||q.exec(c)||v.exec(c)||c.indexOf("compatible")<0&&d.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},sub:function(){function c(a,d){return new c.fn.init(a,d)}b.extend(!0,c,this);c.superclass=this;c.fn=c.prototype=this();c.fn.constructor=c;c.sub=this.sub;c.fn.init=function(d,i){i&&i instanceof b&&!(i instanceof c)&&
(i=c(i));return b.fn.init.call(this,d,i,a)};c.fn.init.prototype=c.fn;var a=c(r);return c},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(c,a){I["[object "+a+"]"]=a.toLowerCase()});x=b.uaMatch(x);if(x.browser)b.browser[x.browser]=!0,b.browser.version=x.version;if(b.browser.webkit)b.browser.safari=!0;u.test("\u00a0")&&(k=/^[\s\xA0]+/,z=/[\s\xA0]+$/);t=b(r);r.addEventListener?w=function(){r.removeEventListener("DOMContentLoaded",w,!1);b.ready()}:r.attachEvent&&
(w=function(){r.readyState==="complete"&&(r.detachEvent("onreadystatechange",w),b.ready())});return b}();(function(a){var b="done fail isResolved isRejected promise then always pipe".split(" "),p=[].slice;a.extend({_Deferred:function(){var b=[],p,m,u,k={done:function(){if(!u){var m=arguments,e,h,s,f,y;p&&(y=p,p=0);for(e=0,h=m.length;e<h;e++)s=m[e],f=a.type(s),f==="array"?k.done.apply(k,s):f==="function"&&b.push(s);y&&k.resolveWith(y[0],y[1])}return this},resolveWith:function(a,e){if(!u&&!p&&!m){e=
e||[];m=1;try{for(;b[0];)b.shift().apply(a,e)}finally{p=[a,e],m=0}}return this},resolve:function(){k.resolveWith(this,arguments);return this},isResolved:function(){return!(!m&&!p)},cancel:function(){u=1;b=[];return this}};return k},Deferred:function(p){var t=a._Deferred(),m=a._Deferred(),u;a.extend(t,{then:function(a,b){t.done(a).fail(b);return this},always:function(){return t.done.apply(t,arguments).fail.apply(this,arguments)},fail:m.done,rejectWith:m.resolveWith,reject:m.resolve,isRejected:m.isResolved,
pipe:function(b,m){return a.Deferred(function(e){a.each({done:[b,"resolve"],fail:[m,"reject"]},function(h,s){var f=s[0],b=s[1],l;if(a.isFunction(f))t[h](function(){if((l=f.apply(this,arguments))&&a.isFunction(l.promise))l.promise().then(e.resolve,e.reject);else e[b+"With"](this===t?e:this,[l])});else t[h](e[b])})}).promise()},promise:function(a){if(a==null){if(u)return u;u=a={}}for(var m=b.length;m--;)a[b[m]]=t[b[m]];return a}});t.done(m.cancel).fail(t.cancel);delete t.cancel;p&&p.call(t,t);return t},
when:function(b){function t(a){return function(s){m[a]=arguments.length>1?p.call(arguments,0):s;--o||e.resolveWith(e,p.call(m,0))}}var m=arguments,u=0,k=m.length,o=k,e=k<=1&&b&&a.isFunction(b.promise)?b:a.Deferred();if(k>1){for(;u<k;u++)m[u]&&a.isFunction(m[u].promise)?m[u].promise().then(t(u),e.reject):--o;o||e.resolveWith(e,m)}else e!==b&&e.resolveWith(e,k?[b]:[]);return e.promise()}})})(C);(function(a){a.support=function(){var b=r.createElement("div"),p=r.documentElement,g,t,m,u,k,o;b.setAttribute("className",
"t");b.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";g=b.getElementsByTagName("*");t=b.getElementsByTagName("a")[0];if(!g||!g.length||!t)return{};m=r.createElement("select");u=m.appendChild(r.createElement("option"));g=b.getElementsByTagName("input")[0];k={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/top/.test(t.getAttribute("style")),
hrefNormalized:t.getAttribute("href")==="/a",opacity:/^0.55$/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,checkOn:g.value==="on",optSelected:u.selected,getSetAttribute:b.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};g.checked=!0;k.noCloneChecked=g.cloneNode(!0).checked;m.disabled=!0;k.optDisabled=!u.disabled;try{delete b.test}catch(e){k.deleteExpando=!1}!b.addEventListener&&
b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).fireEvent("onclick"));g=r.createElement("input");g.value="t";g.setAttribute("type","radio");k.radioValue=g.value==="t";g.setAttribute("checked","checked");b.appendChild(g);t=r.createDocumentFragment();t.appendChild(b.firstChild);k.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked;b.innerHTML="";b.style.width=b.style.paddingLeft="1px";m=r.getElementsByTagName("body")[0];t=r.createElement(m?
"div":"body");u={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};m&&a.extend(u,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in u)t.style[o]=u[o];t.appendChild(b);p=m||p;p.insertBefore(t,p.firstChild);k.appendChecked=g.checked;k.boxModel=b.offsetWidth===2;if("zoom"in b.style)b.style.display="inline",b.style.zoom=1,k.inlineBlockNeedsLayout=b.offsetWidth===2,b.style.display="",b.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=b.offsetWidth!==2;b.innerHTML=
"<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";m=b.getElementsByTagName("td");g=m[0].offsetHeight===0;m[0].style.display="";m[1].style.display="none";k.reliableHiddenOffsets=g&&m[0].offsetHeight===0;b.innerHTML="";if(r.defaultView&&r.defaultView.getComputedStyle)g=r.createElement("div"),g.style.width="0",g.style.marginRight="0",b.appendChild(g),k.reliableMarginRight=(parseInt((r.defaultView.getComputedStyle(g,null)||{marginRight:0}).marginRight,10)||0)===0;t.innerHTML=
"";p.removeChild(t);if(b.attachEvent)for(o in{submit:1,change:1,focusin:1})p="on"+o,g=p in b,g||(b.setAttribute(p,"return;"),g=typeof b[p]==="function"),k[o+"Bubbles"]=g;t=t=m=u=m=g=b=g=null;return k}();a.boxModel=a.support.boxModel})(C);(function(a){function b(b,p,k){if(k===o&&b.nodeType===1)if(k="data-"+p.replace(t,"-$1").toLowerCase(),k=b.getAttribute(k),typeof k==="string"){try{k=k==="true"?!0:k==="false"?!1:k==="null"?null:!a.isNaN(k)?parseFloat(k):g.test(k)?a.parseJSON(k):k}catch(r){}a.data(b,
p,k)}else k=o;return k}function p(a){for(var b in a)if(b!=="toJSON")return!1;return!0}var g=/^(?:\{.*\}|\[.*\])$/,t=/([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return!!b&&!p(b)},data:function(b,p,k,g){if(a.acceptData(b)){var e=a.expando,h=typeof p==="string",s=b.nodeType,f=s?a.cache:b,y=s?b[a.expando]:
b[a.expando]&&a.expando;if(y&&(!g||!y||!f[y]||f[y][e])||!(h&&k===o)){if(!y)s?b[a.expando]=y=++a.uuid:y=a.expando;if(!f[y]&&(f[y]={},!s))f[y].toJSON=a.noop;if(typeof p==="object"||typeof p==="function")g?f[y][e]=a.extend(f[y][e],p):f[y]=a.extend(f[y],p);b=f[y];g&&(b[e]||(b[e]={}),b=b[e]);k!==o&&(b[a.camelCase(p)]=k);if(p==="events"&&!b[p])return b[e]&&b[e].events;h?(k=b[p],k==null&&(k=b[a.camelCase(p)])):k=b;return k}}},removeData:function(b,g,k){if(a.acceptData(b)){var o,e=a.expando,h=b.nodeType,
s=h?a.cache:b,f=h?b[a.expando]:a.expando;if(s[f]){if(g&&(o=k?s[f][e]:s[f]))if(o[g]||(g=a.camelCase(g)),delete o[g],!p(o))return;if(k&&(delete s[f][e],!p(s[f])))return;g=s[f][e];a.support.deleteExpando||!s.setInterval?delete s[f]:s[f]=null;if(g){s[f]={};if(!h)s[f].toJSON=a.noop;s[f][e]=g}else h&&(a.support.deleteExpando?delete b[a.expando]:b.removeAttribute?b.removeAttribute(a.expando):b[a.expando]=null)}}},_data:function(b,p,g){return a.data(b,p,g,!0)},acceptData:function(b){if(b.nodeName){var p=
a.noData[b.nodeName.toLowerCase()];if(p)return!(p===!0||b.getAttribute("classid")!==p)}return!0}});a.fn.extend({data:function(p,g){var k=null;if(typeof p==="undefined"){if(this.length&&(k=a.data(this[0]),this[0].nodeType===1))for(var t=this[0].attributes,e,h=0,s=t.length;h<s;h++)e=t[h].name,e.indexOf("data-")===0&&(e=a.camelCase(e.substring(5)),b(this[0],e,k[e]));return k}else if(typeof p==="object")return this.each(function(){a.data(this,p)});var f=p.split(".");f[1]=f[1]?"."+f[1]:"";return g===o?
(k=this.triggerHandler("getData"+f[1]+"!",[f[0]]),k===o&&this.length&&(k=a.data(this[0],p),k=b(this[0],p,k)),k===o&&f[1]?this.data(f[0]):k):this.each(function(){var h=a(this),e=[f[0],g];h.triggerHandler("setData"+f[1]+"!",e);a.data(this,p,g);h.triggerHandler("changeData"+f[1]+"!",e)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}})})(C);(function(a){function b(b,g,t){var m=g+"defer",r=g+"queue",k=g+"mark",z=a.data(b,m,o,!0);z&&(t==="queue"||!a.data(b,r,o,!0))&&(t==="mark"||
!a.data(b,k,o,!0))&&setTimeout(function(){!a.data(b,r,o,!0)&&!a.data(b,k,o,!0)&&(a.removeData(b,m,!0),z.resolve())},0)}a.extend({_mark:function(b,g){b&&(g=(g||"fx")+"mark",a.data(b,g,(a.data(b,g,o,!0)||0)+1,!0))},_unmark:function(p,g,t){p!==!0&&(t=g,g=p,p=!1);if(g){var t=t||"fx",m=t+"mark";(p=p?0:(a.data(g,m,o,!0)||1)-1)?a.data(g,m,p,!0):(a.removeData(g,m,!0),b(g,t,"mark"))}},queue:function(b,g,t){if(b){var g=(g||"fx")+"queue",m=a.data(b,g,o,!0);t&&(!m||a.isArray(t)?m=a.data(b,g,a.makeArray(t),!0):
m.push(t));return m||[]}},dequeue:function(p,g){var g=g||"fx",o=a.queue(p,g),m=o.shift();m==="inprogress"&&(m=o.shift());m&&(g==="fx"&&o.unshift("inprogress"),m.call(p,function(){a.dequeue(p,g)}));o.length||(a.removeData(p,g+"queue",!0),b(p,g,"queue"))}});a.fn.extend({queue:function(b,g){typeof b!=="string"&&(g=b,b="fx");return g===o?a.queue(this[0],b):this.each(function(){var o=a.queue(this,b,g);b==="fx"&&o[0]!=="inprogress"&&a.dequeue(this,b)})},dequeue:function(b){return this.each(function(){a.dequeue(this,
b)})},delay:function(b,g){b=a.fx?a.fx.speeds[b]||b:b;g=g||"fx";return this.queue(g,function(){var o=this;setTimeout(function(){a.dequeue(o,g)},b)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(b){function g(){--k||t.resolveWith(m,[m])}typeof b!=="string"&&(b=o);var b=b||"fx",t=a.Deferred(),m=this,r=m.length,k=1,z=b+"defer",e=b+"queue";b+="mark";for(var h;r--;)if(h=a.data(m[r],z,o,!0)||(a.data(m[r],e,o,!0)||a.data(m[r],b,o,!0))&&a.data(m[r],z,a._Deferred(),!0))k++,h.done(g);
g();return t.promise()}})})(C);(function(a){var b=/[\n\t\r]/g,p=/\s+/,g=/\r/g,t=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,u=/^a(?:rea)?$/i,k=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,z,e;a.fn.extend({attr:function(h,b){return a.access(this,h,b,!0,a.attr)},removeAttr:function(h){return this.each(function(){a.removeAttr(this,h)})},prop:function(h,b){return a.access(this,h,b,!0,a.prop)},removeProp:function(h){h=
a.propFix[h]||h;return this.each(function(){try{this[h]=o,delete this[h]}catch(a){}})},addClass:function(h){var b,e,g,l,n,q,v;if(a.isFunction(h))return this.each(function(d){a(this).addClass(h.call(this,d,this.className))});if(h&&typeof h==="string"){b=h.split(p);for(e=0,g=this.length;e<g;e++)if(l=this[e],l.nodeType===1)if(!l.className&&b.length===1)l.className=h;else{n=" "+l.className+" ";for(q=0,v=b.length;q<v;q++)~n.indexOf(" "+b[q]+" ")||(n+=b[q]+" ");l.className=a.trim(n)}}return this},removeClass:function(h){var e,
f,g,l,n,q,v;if(a.isFunction(h))return this.each(function(d){a(this).removeClass(h.call(this,d,this.className))});if(h&&typeof h==="string"||h===o){e=(h||"").split(p);for(f=0,g=this.length;f<g;f++)if(l=this[f],l.nodeType===1&&l.className)if(h){n=(" "+l.className+" ").replace(b," ");for(q=0,v=e.length;q<v;q++)n=n.replace(" "+e[q]+" "," ");l.className=a.trim(n)}else l.className=""}return this},toggleClass:function(h,b){var e=typeof h,g=typeof b==="boolean";return a.isFunction(h)?this.each(function(e){a(this).toggleClass(h.call(this,
e,this.className,b),b)}):this.each(function(){if(e==="string")for(var l,n=0,q=a(this),v=b,d=h.split(p);l=d[n++];)v=g?v:!q.hasClass(l),q[v?"addClass":"removeClass"](l);else if(e==="undefined"||e==="boolean")this.className&&a._data(this,"__className__",this.className),this.className=this.className||h===!1?"":a._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",e=0,f=this.length;e<f;e++)if(this[e].nodeType===1&&(" "+this[e].className+" ").replace(b," ").indexOf(a)>-1)return!0;
return!1},val:function(b){var e,f,k=this[0];if(!arguments.length){if(k){if((e=a.valHooks[k.nodeName.toLowerCase()]||a.valHooks[k.type])&&"get"in e&&(f=e.get(k,"value"))!==o)return f;f=k.value;return typeof f==="string"?f.replace(g,""):f==null?"":f}return o}var l=a.isFunction(b);return this.each(function(f){var g=a(this);if(this.nodeType===1&&(f=l?b.call(this,f,g.val()):b,f==null?f="":typeof f==="number"?f+="":a.isArray(f)&&(f=a.map(f,function(a){return a==null?"":a+""})),e=a.valHooks[this.nodeName.toLowerCase()]||
a.valHooks[this.type],!e||!("set"in e)||e.set(this,f,"value")===o))this.value=f})}});a.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(b){var e,f=b.selectedIndex,g=[],l=b.options,b=b.type==="select-one";if(f<0)return null;for(var n=b?f:0,k=b?f+1:l.length;n<k;n++)if(e=l[n],e.selected&&(a.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!a.nodeName(e.parentNode,"optgroup"))){e=
a(e).val();if(b)return e;g.push(e)}return b&&!g.length&&l.length?a(l[f]).val():g},set:function(b,e){var f=a.makeArray(e);a(b).find("option").each(function(){this.selected=a.inArray(a(this).val(),f)>=0});if(!f.length)b.selectedIndex=-1;return f}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(b,s,f,g){var l=b.nodeType;if(!b||l===3||l===8||l===2)return o;if(g&&s in a.attrFn)return a(b)[s](f);if(!("getAttribute"in b))return a.prop(b,
s,f);var n,q;if(g=l!==1||!a.isXMLDoc(b))s=a.attrFix[s]||s,(q=a.attrHooks[s])||(k.test(s)?q=e:z&&(q=z));return f!==o?f===null?(a.removeAttr(b,s),o):q&&"set"in q&&g&&(n=q.set(b,f,s))!==o?n:(b.setAttribute(s,""+f),f):q&&"get"in q&&g&&(n=q.get(b,s))!==null?n:(n=b.getAttribute(s),n===null?o:n)},removeAttr:function(b,e){var f;if(b.nodeType===1&&(e=a.attrFix[e]||e,a.attr(b,e,""),b.removeAttribute(e),k.test(e)&&(f=a.propFix[e]||e)in b))b[f]=!1},attrHooks:{type:{set:function(b,e){if(t.test(b.nodeName)&&b.parentNode)a.error("type property can't be changed");
else if(!a.support.radioValue&&e==="radio"&&a.nodeName(b,"input")){var f=b.value;b.setAttribute("type",e);if(f)b.value=f;return e}}},value:{get:function(b,e){return z&&a.nodeName(b,"button")?z.get(b,e):e in b?b.value:null},set:function(b,e,f){if(z&&a.nodeName(b,"button"))return z.set(b,e,f);b.value=e}}},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(b,e,f){var g=b.nodeType;if(!b||g===3||g===8||g===2)return o;var l,n;if(g!==1||!a.isXMLDoc(b))e=a.propFix[e]||e,n=a.propHooks[e];return f!==o?n&&"set"in n&&(l=n.set(b,f,e))!==o?l:b[e]=f:n&&"get"in n&&(l=n.get(b,e))!==null?l:b[e]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):m.test(a.nodeName)||u.test(a.nodeName)&&a.href?0:o}}}});a.attrHooks.tabIndex=a.propHooks.tabIndex;
e={get:function(b,e){var f;return a.prop(b,e)===!0||(f=b.getAttributeNode(e))&&f.nodeValue!==!1?e.toLowerCase():o},set:function(b,e,f){e===!1?a.removeAttr(b,f):(e=a.propFix[f]||f,e in b&&(b[e]=!0),b.setAttribute(f,f.toLowerCase()));return f}};if(!a.support.getSetAttribute)z=a.valHooks.button={get:function(a,b){var e;return(e=a.getAttributeNode(b))&&e.nodeValue!==""?e.nodeValue:o},set:function(a,b,e){var g=a.getAttributeNode(e);g||(g=r.createAttribute(e),a.setAttributeNode(g));return g.nodeValue=b+
""}},a.each(["width","height"],function(b,e){a.attrHooks[e]=a.extend(a.attrHooks[e],{set:function(a,b){if(b==="")return a.setAttribute(e,"auto"),b}})});a.support.hrefNormalized||a.each(["href","src","width","height"],function(b,e){a.attrHooks[e]=a.extend(a.attrHooks[e],{get:function(a){a=a.getAttribute(e,2);return a===null?o:a}})});if(!a.support.style)a.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||o},set:function(a,b){return a.style.cssText=""+b}};if(!a.support.optSelected)a.propHooks.selected=
a.extend(a.propHooks.selected,{get:function(){return null}});a.support.checkOn||a.each(["radio","checkbox"],function(){a.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});a.each(["radio","checkbox"],function(){a.valHooks[this]=a.extend(a.valHooks[this],{set:function(b,e){if(a.isArray(e))return b.checked=a.inArray(a(b).val(),e)>=0}})})})(C);(function(a){function b(){return!1}function p(){return!0}function g(d,c,i){var b=a.extend({},i[0]);b.type=d;b.originalEvent=
{};b.liveFired=o;a.event.handle.call(c,b);b.isDefaultPrevented()&&i[0].preventDefault()}function t(d){var c,i,b,e,j,w,h,f,l,g,n,s=[];e=[];j=a._data(this,"events");if(!(d.liveFired===this||!j||!j.live||d.target.disabled||d.button&&d.type==="click")){d.namespace&&(n=RegExp("(^|\\.)"+d.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));d.liveFired=this;var k=j.live.slice(0);for(h=0;h<k.length;h++)j=k[h],j.origType.replace(u,"")===d.type?e.push(j.selector):k.splice(h--,1);e=a(d.target).closest(e,
d.currentTarget);for(f=0,l=e.length;f<l;f++){g=e[f];for(h=0;h<k.length;h++)if(j=k[h],g.selector===j.selector&&(!n||n.test(j.namespace))&&!g.elem.disabled){w=g.elem;b=null;if(j.preType==="mouseenter"||j.preType==="mouseleave")d.type=j.preType,(b=a(d.relatedTarget).closest(j.selector)[0])&&a.contains(w,b)&&(b=w);(!b||b!==w)&&s.push({elem:w,handleObj:j,level:g.level})}}for(f=0,l=s.length;f<l;f++){e=s[f];if(i&&e.level>i)break;d.currentTarget=e.elem;d.data=e.handleObj.data;d.handleObj=e.handleObj;n=e.handleObj.origHandler.apply(e.elem,
arguments);if(n===!1||d.isPropagationStopped())if(i=e.level,n===!1&&(c=!1),d.isImmediatePropagationStopped())break}return c}}function m(a,c){return(a&&a!=="*"?a+".":"")+c.replace(z,"`").replace(e,"&")}var u=/\.(.*)$/,k=/^(?:textarea|input|select)$/i,z=/\./g,e=/ /g,h=/[^\w\s.|`]/g,s=function(a){return a.replace(h,"\\$&")};a.event={add:function(d,c,i,e){if(!(d.nodeType===3||d.nodeType===8)){if(i===!1)i=b;else if(!i)return;var x,j;if(i.handler)x=i,i=x.handler;if(!i.guid)i.guid=a.guid++;if(j=a._data(d)){var w=
j.events,h=j.handle;if(!w)j.events=w={};if(!h)j.handle=h=function(c){return typeof a!=="undefined"&&(!c||a.event.triggered!==c.type)?a.event.handle.apply(h.elem,arguments):o};h.elem=d;for(var c=c.split(" "),f,l=0,g;f=c[l++];){j=x?a.extend({},x):{handler:i,data:e};f.indexOf(".")>-1?(g=f.split("."),f=g.shift(),j.namespace=g.slice(0).sort().join(".")):(g=[],j.namespace="");j.type=f;if(!j.guid)j.guid=i.guid;var n=w[f],s=a.event.special[f]||{};if(!n&&(n=w[f]=[],!s.setup||s.setup.call(d,e,g,h)===!1))d.addEventListener?
d.addEventListener(f,h,!1):d.attachEvent&&d.attachEvent("on"+f,h);if(s.add&&(s.add.call(d,j),!j.handler.guid))j.handler.guid=i.guid;n.push(j);a.event.global[f]=!0}d=null}}},global:{},remove:function(d,c,i,e){if(!(d.nodeType===3||d.nodeType===8)){i===!1&&(i=b);var x,j,w=0,h,f,l,g,n,k,q=a.hasData(d)&&a._data(d),v=q&&q.events;if(q&&v){if(c&&c.type)i=c.handler,c=c.type;if(!c||typeof c==="string"&&c.charAt(0)===".")for(x in c=c||"",v)a.event.remove(d,x+c);else{for(c=c.split(" ");x=c[w++];)if(g=x,h=x.indexOf(".")<
0,f=[],h||(f=x.split("."),x=f.shift(),l=RegExp("(^|\\.)"+a.map(f.slice(0).sort(),s).join("\\.(?:.*\\.)?")+"(\\.|$)")),n=v[x])if(i){g=a.event.special[x]||{};for(j=e||0;j<n.length;j++)if(k=n[j],i.guid===k.guid){if(h||l.test(k.namespace))e==null&&n.splice(j--,1),g.remove&&g.remove.call(d,k);if(e!=null)break}if(n.length===0||e!=null&&n.length===1)(!g.teardown||g.teardown.call(d,f)===!1)&&a.removeEvent(d,x,q.handle),delete v[x]}else for(j=0;j<n.length;j++)if(k=n[j],h||l.test(k.namespace))a.event.remove(d,
g,k.handler,j),n.splice(j--,1);if(a.isEmptyObject(v)){if(c=q.handle)c.elem=null;delete q.events;delete q.handle;a.isEmptyObject(q)&&a.removeData(d,o,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(d,c,i,b){var e=d.type||d,j=[],w;e.indexOf("!")>=0&&(e=e.slice(0,-1),w=!0);e.indexOf(".")>=0&&(j=e.split("."),e=j.shift(),j.sort());if(i&&!a.event.customEvent[e]||a.event.global[e]){d=typeof d==="object"?d[a.expando]?d:new a.Event(e,d):new a.Event(e);d.type=e;d.exclusive=w;d.namespace=
j.join(".");d.namespace_re=RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)");if(b||!i)d.preventDefault(),d.stopPropagation();if(i){if(!(i.nodeType===3||i.nodeType===8)){d.result=o;d.target=i;c=c!=null?a.makeArray(c):[];c.unshift(d);j=i;b=e.indexOf(":")<0?"on"+e:"";do{w=a._data(j,"handle");d.currentTarget=j;w&&w.apply(j,c);if(b&&a.acceptData(j)&&j[b]&&j[b].apply(j,c)===!1)d.result=!1,d.preventDefault();j=j.parentNode||j.ownerDocument||j===d.target.ownerDocument&&B}while(j&&!d.isPropagationStopped());
if(!d.isDefaultPrevented()){var h,j=a.event.special[e]||{};if((!j._default||j._default.call(i.ownerDocument,d)===!1)&&!(e==="click"&&a.nodeName(i,"a"))&&a.acceptData(i)){try{if(b&&i[e])(h=i[b])&&(i[b]=null),a.event.triggered=e,i[e]()}catch(f){}h&&(i[b]=h);a.event.triggered=o}}return d.result}}else a.each(a.cache,function(){var i=this[a.expando];i&&i.events&&i.events[e]&&a.event.trigger(d,c,i.handle.elem)})}},handle:function(d){var d=a.event.fix(d||B.event),c=((a._data(this,"events")||{})[d.type]||
[]).slice(0),i=!d.exclusive&&!d.namespace,b=Array.prototype.slice.call(arguments,0);b[0]=d;d.currentTarget=this;for(var e=0,j=c.length;e<j;e++){var w=c[e];if(i||d.namespace_re.test(w.namespace)){d.handler=w.handler;d.data=w.data;d.handleObj=w;w=w.handler.apply(this,b);if(w!==o)d.result=w,w===!1&&(d.preventDefault(),d.stopPropagation());if(d.isImmediatePropagationStopped())break}}return d.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(d){if(d[a.expando])return d;for(var c=d,d=a.Event(c),i=this.props.length,b;i;)b=this.props[--i],d[b]=c[b];if(!d.target)d.target=d.srcElement||r;if(d.target.nodeType===3)d.target=d.target.parentNode;if(!d.relatedTarget&&d.fromElement)d.relatedTarget=d.fromElement===d.target?d.toElement:d.fromElement;if(d.pageX==null&&d.clientX!=null)i=d.target.ownerDocument||r,c=i.documentElement,i=i.body,d.pageX=d.clientX+(c&&c.scrollLeft||i&&i.scrollLeft||0)-(c&&c.clientLeft||i&&i.clientLeft||0),d.pageY=
d.clientY+(c&&c.scrollTop||i&&i.scrollTop||0)-(c&&c.clientTop||i&&i.clientTop||0);if(d.which==null&&(d.charCode!=null||d.keyCode!=null))d.which=d.charCode!=null?d.charCode:d.keyCode;if(!d.metaKey&&d.ctrlKey)d.metaKey=d.ctrlKey;if(!d.which&&d.button!==o)d.which=d.button&1?1:d.button&2?3:d.button&4?2:0;return d},guid:1E8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(d){a.event.add(this,m(d.origType,d.selector),a.extend({},d,{handler:t,guid:d.handler.guid}))},remove:function(d){a.event.remove(this,
m(d.origType,d.selector),d)}},beforeunload:{setup:function(d,c,i){if(a.isWindow(this))this.onbeforeunload=i},teardown:function(a,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};a.removeEvent=r.removeEventListener?function(a,c,i){a.removeEventListener&&a.removeEventListener(c,i,!1)}:function(a,c,i){a.detachEvent&&a.detachEvent("on"+c,i)};a.Event=function(d,c){if(!this.preventDefault)return new a.Event(d,c);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||
d.returnValue===!1||d.getPreventDefault&&d.getPreventDefault()?p:b):this.type=d;c&&a.extend(this,c);this.timeStamp=a.now();this[a.expando]=!0};a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=p;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=p;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
p;this.stopPropagation()},isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b};var f=function(d){var c=d.relatedTarget,i=!1,b=d.type;d.type=d.data;if(c!==this&&(c&&(i=a.contains(this,c)),!i))a.event.handle.apply(this,arguments),d.type=b},y=function(d){d.type=d.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(d,c){a.event.special[d]={setup:function(i){a.event.add(this,c,i&&i.selector?y:f,d)},teardown:function(i){a.event.remove(this,
c,i&&i.selector?y:f)}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(a.nodeName(this,"form"))return!1;else a.event.add(this,"click.specialSubmit",function(d){var c=d.target,i=a.nodeName(c,"input")||a.nodeName(c,"button")?c.type:"";(i==="submit"||i==="image")&&a(c).closest("form").length&&g("submit",this,arguments)}),a.event.add(this,"keypress.specialSubmit",function(d){var c=d.target,i=a.nodeName(c,"input")||a.nodeName(c,"button")?c.type:"";(i==="text"||i==="password")&&
a(c).closest("form").length&&d.keyCode===13&&g("submit",this,arguments)})},teardown:function(){a.event.remove(this,".specialSubmit")}};if(!a.support.changeBubbles){var l,n=function(d){var c=a.nodeName(d,"input")?d.type:"",i=d.value;if(c==="radio"||c==="checkbox")i=d.checked;else if(c==="select-multiple")i=d.selectedIndex>-1?a.map(d.options,function(c){return c.selected}).join("-"):"";else if(a.nodeName(d,"select"))i=d.selectedIndex;return i},q=function(d,c){var i=d.target,b,e;if(k.test(i.nodeName)&&
!i.readOnly&&(b=a._data(i,"_change_data"),e=n(i),(d.type!=="focusout"||i.type!=="radio")&&a._data(i,"_change_data",e),!(b===o||e===b)))if(b!=null||e)d.type="change",d.liveFired=o,a.event.trigger(d,c,i)};a.event.special.change={filters:{focusout:q,beforedeactivate:q,click:function(d){var c=d.target,i=a.nodeName(c,"input")?c.type:"";(i==="radio"||i==="checkbox"||a.nodeName(c,"select"))&&q.call(this,d)},keydown:function(d){var c=d.target,i=a.nodeName(c,"input")?c.type:"";(d.keyCode===13&&!a.nodeName(c,
"textarea")||d.keyCode===32&&(i==="checkbox"||i==="radio")||i==="select-multiple")&&q.call(this,d)},beforeactivate:function(d){d=d.target;a._data(d,"_change_data",n(d))}},setup:function(){if(this.type==="file")return!1;for(var d in l)a.event.add(this,d+".specialChange",l[d]);return k.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return k.test(this.nodeName)}};l=a.event.special.change.filters;l.focus=l.beforeactivate}a.support.focusinBubbles||a.each({focus:"focusin",
blur:"focusout"},function(d,c){function i(i){var d=a.event.fix(i);d.type=c;d.originalEvent={};a.event.trigger(d,null,d.target);d.isDefaultPrevented()&&i.preventDefault()}var b=0;a.event.special[c]={setup:function(){b++===0&&r.addEventListener(d,i,!0)},teardown:function(){--b===0&&r.removeEventListener(d,i,!0)}}});a.each(["bind","one"],function(d,c){a.fn[c]=function(i,d,b){var e;if(typeof i==="object"){for(var w in i)this[c](w,d,i[w],b);return this}if(arguments.length===2||d===!1)b=d,d=o;c==="one"?
(e=function(c){a(this).unbind(c,e);return b.apply(this,arguments)},e.guid=b.guid||a.guid++):e=b;if(i==="unload"&&c!=="one")this.one(i,d,b);else{w=0;for(var h=this.length;w<h;w++)a.event.add(this[w],i,e,d)}return this}});a.fn.extend({unbind:function(d,c){if(typeof d==="object"&&!d.preventDefault)for(var i in d)this.unbind(i,d[i]);else{i=0;for(var b=this.length;i<b;i++)a.event.remove(this[i],d,c)}return this},delegate:function(a,c,i,b){return this.live(c,i,b,a)},undelegate:function(a,c,i){return arguments.length===
0?this.unbind("live"):this.die(c,null,i,a)},trigger:function(d,c){return this.each(function(){a.event.trigger(d,c,this)})},triggerHandler:function(d,c){if(this[0])return a.event.trigger(d,c,this[0],!0)},toggle:function(d){var c=arguments,i=d.guid||a.guid++,b=0,e=function(i){var e=(a.data(this,"lastToggle"+d.guid)||0)%b;a.data(this,"lastToggle"+d.guid,e+1);i.preventDefault();return c[e].apply(this,arguments)||!1};for(e.guid=i;b<c.length;)c[b++].guid=i;return this.click(e)},hover:function(a,c){return this.mouseenter(a).mouseleave(c||
a)}});var v={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(d,c){a.fn[c]=function(i,d,e,j){var w=0,h,f,l=j||this.selector,g=j?this:a(this.context);if(typeof i==="object"&&!i.preventDefault){for(h in i)g[c](h,d,i[h],l);return this}if(c==="die"&&!i&&j&&j.charAt(0)===".")return g.unbind(j),this;if(d===!1||a.isFunction(d))e=d||b,d=o;for(i=(i||"").split(" ");(j=i[w++])!=null;)if(h=u.exec(j),f="",h&&(f=h[0],j=j.replace(u,"")),j==="hover")i.push("mouseenter"+
f,"mouseleave"+f);else if(h=j,v[j]?(i.push(v[j]+f),j+=f):j=(v[j]||j)+f,c==="live"){f=0;for(var n=g.length;f<n;f++)a.event.add(g[f],"live."+m(j,l),{data:d,selector:l,handler:e,origType:j,origHandler:e,preType:h})}else g.unbind("live."+m(j,l),e);return this}});a.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(d,c){a.fn[c]=function(a,d){d==
null&&(d=a,a=null);return arguments.length>0?this.bind(c,a,d):this.trigger(c)};a.attrFn&&(a.attrFn[c]=!0)})})(C);(function(){function a(c,a,d,b,e,w){for(var e=0,h=b.length;e<h;e++){var f=b[e];if(f){for(var l=!1,f=f[c];f;){if(f.sizcache===d){l=b[f.sizset];break}if(f.nodeType===1&&!w)f.sizcache=d,f.sizset=e;if(f.nodeName.toLowerCase()===a){l=f;break}f=f[c]}b[e]=l}}}function b(c,a,d,b,j,h){for(var j=0,f=b.length;j<f;j++){var l=b[j];if(l){for(var g=!1,l=l[c];l;){if(l.sizcache===d){g=b[l.sizset];break}if(l.nodeType===
1){if(!h)l.sizcache=d,l.sizset=j;if(typeof a!=="string"){if(l===a){g=!0;break}}else if(e.filter(a,[l]).length>0){g=l;break}}l=l[c]}b[j]=g}}}var p=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g=0,t=Object.prototype.toString,m=!1,u=!0,k=/\\/g,z=/\W/;[0,0].sort(function(){u=!1;return 0});var e=function(c,a,b,x){var b=b||[],j=a=a||r;if(a.nodeType!==1&&a.nodeType!==9)return[];if(!c||typeof c!=="string")return b;var f,
g,n,k,q,v=!0,o=e.isXML(a),m=[],y=c;do if(p.exec(""),f=p.exec(y))if(y=f[3],m.push(f[1]),f[2]){k=f[3];break}while(f);if(m.length>1&&s.exec(c))if(m.length===2&&h.relative[m[0]])g=d(m[0]+m[1],a);else for(g=h.relative[m[0]]?[a]:e(m.shift(),a);m.length;)c=m.shift(),h.relative[c]&&(c+=m.shift()),g=d(c,g);else if(!x&&m.length>1&&a.nodeType===9&&!o&&h.match.ID.test(m[0])&&!h.match.ID.test(m[m.length-1])&&(f=e.find(m.shift(),a,o),a=f.expr?e.filter(f.expr,f.set)[0]:f.set[0]),a){f=x?{expr:m.pop(),set:l(x)}:e.find(m.pop(),
m.length===1&&(m[0]==="~"||m[0]==="+")&&a.parentNode?a.parentNode:a,o);g=f.expr?e.filter(f.expr,f.set):f.set;for(m.length>0?n=l(g):v=!1;m.length;)f=q=m.pop(),h.relative[q]?f=m.pop():q="",f==null&&(f=a),h.relative[q](n,f,o)}else n=[];n||(n=g);n||e.error(q||c);if(t.call(n)==="[object Array]")if(v)if(a&&a.nodeType===1)for(c=0;n[c]!=null;c++)n[c]&&(n[c]===!0||n[c].nodeType===1&&e.contains(a,n[c]))&&b.push(g[c]);else for(c=0;n[c]!=null;c++)n[c]&&n[c].nodeType===1&&b.push(g[c]);else b.push.apply(b,n);else l(n,
b);k&&(e(k,j,b,x),e.uniqueSort(b));return b};e.uniqueSort=function(c){if(q&&(m=u,c.sort(q),m))for(var a=1;a<c.length;a++)c[a]===c[a-1]&&c.splice(a--,1);return c};e.matches=function(c,a){return e(c,null,null,a)};e.matchesSelector=function(c,a){return e(a,null,null,[c]).length>0};e.find=function(c,a,d){var b;if(!c)return[];for(var e=0,f=h.order.length;e<f;e++){var l,g=h.order[e];if(l=h.leftMatch[g].exec(c)){var n=l[1];l.splice(1,1);if(n.substr(n.length-1)!=="\\"&&(l[1]=(l[1]||"").replace(k,""),b=h.find[g](l,
a,d),b!=null)){c=c.replace(h.match[g],"");break}}}b||(b=typeof a.getElementsByTagName!=="undefined"?a.getElementsByTagName("*"):[]);return{set:b,expr:c}};e.filter=function(c,a,d,b){for(var j,f,l=c,g=[],n=a,k=a&&a[0]&&e.isXML(a[0]);c&&a.length;){for(var s in h.filter)if((j=h.leftMatch[s].exec(c))!=null&&j[2]){var m,q,v=h.filter[s];q=j[1];f=!1;j.splice(1,1);if(q.substr(q.length-1)!=="\\"){n===g&&(g=[]);if(h.preFilter[s])if(j=h.preFilter[s](j,n,d,g,b,k)){if(j===!0)continue}else f=m=!0;if(j)for(var p=
0;(q=n[p])!=null;p++)if(q){m=v(q,j,p,n);var r=b^!!m;d&&m!=null?r?f=!0:n[p]=!1:r&&(g.push(q),f=!0)}if(m!==o){d||(n=g);c=c.replace(h.match[s],"");if(!f)return[];break}}}if(c===l)if(f==null)e.error(c);else break;l=c}return n};e.error=function(c){throw"Syntax error, unrecognized expression: "+c;};var h=e.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(c){return c.getAttribute("href")},type:function(c){return c.getAttribute("type")}},relative:{"+":function(c,a){var d=
typeof a==="string",b=d&&!z.test(a),d=d&&!b;b&&(a=a.toLowerCase());for(var b=0,j=c.length,f;b<j;b++)if(f=c[b]){for(;(f=f.previousSibling)&&f.nodeType!==1;);c[b]=d||f&&f.nodeName.toLowerCase()===a?f||!1:f===a}d&&e.filter(a,c,!0)},">":function(c,a){var d,b=typeof a==="string",j=0,f=c.length;if(b&&!z.test(a))for(a=a.toLowerCase();j<f;j++){if(d=c[j])d=d.parentNode,c[j]=d.nodeName.toLowerCase()===a?d:!1}else{for(;j<f;j++)(d=c[j])&&(c[j]=b?d.parentNode:d.parentNode===a);b&&e.filter(a,c,!0)}},"":function(c,
d,e){var f,j=g++,h=b;typeof d==="string"&&!z.test(d)&&(f=d=d.toLowerCase(),h=a);h("parentNode",d,j,c,f,e)},"~":function(c,d,e){var f,j=g++,h=b;typeof d==="string"&&!z.test(d)&&(f=d=d.toLowerCase(),h=a);h("previousSibling",d,j,c,f,e)}},find:{ID:function(c,a,d){if(typeof a.getElementById!=="undefined"&&!d)return(c=a.getElementById(c[1]))&&c.parentNode?[c]:[]},NAME:function(c,a){if(typeof a.getElementsByName!=="undefined"){for(var d=[],b=a.getElementsByName(c[1]),e=0,f=b.length;e<f;e++)b[e].getAttribute("name")===
c[1]&&d.push(b[e]);return d.length===0?null:d}},TAG:function(c,a){if(typeof a.getElementsByTagName!=="undefined")return a.getElementsByTagName(c[1])}},preFilter:{CLASS:function(c,a,d,b,e,f){c=" "+c[1].replace(k,"")+" ";if(f)return c;for(var f=0,h;(h=a[f])!=null;f++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(c)>=0)?d||b.push(h):d&&(a[f]=!1));return!1},ID:function(c){return c[1].replace(k,"")},TAG:function(c){return c[1].replace(k,"").toLowerCase()},CHILD:function(c){if(c[1]===
"nth"){c[2]||e.error(c[0]);c[2]=c[2].replace(/^\+|\s*/g,"");var a=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(c[2]==="even"&&"2n"||c[2]==="odd"&&"2n+1"||!/\D/.test(c[2])&&"0n+"+c[2]||c[2]);c[2]=a[1]+(a[2]||1)-0;c[3]=a[3]-0}else c[2]&&e.error(c[0]);c[0]=g++;return c},ATTR:function(c,a,d,b,e,f){a=c[1]=c[1].replace(k,"");!f&&h.attrMap[a]&&(c[1]=h.attrMap[a]);c[4]=(c[4]||c[5]||"").replace(k,"");c[2]==="~="&&(c[4]=" "+c[4]+" ");return c},PSEUDO:function(c,a,d,b,j){if(c[1]==="not")if((p.exec(c[3])||"").length>1||
/^\w/.test(c[3]))c[3]=e(c[3],null,null,a);else return c=e.filter(c[3],a,d,1^j),d||b.push.apply(b,c),!1;else if(h.match.POS.test(c[0])||h.match.CHILD.test(c[0]))return!0;return c},POS:function(c){c.unshift(!0);return c}},filters:{enabled:function(c){return c.disabled===!1&&c.type!=="hidden"},disabled:function(c){return c.disabled===!0},checked:function(c){return c.checked===!0},selected:function(c){return c.selected===!0},parent:function(c){return!!c.firstChild},empty:function(c){return!c.firstChild},
has:function(c,a,d){return!!e(d[3],c).length},header:function(c){return/h\d/i.test(c.nodeName)},text:function(c){var a=c.getAttribute("type"),d=c.type;return c.nodeName.toLowerCase()==="input"&&"text"===d&&(a===d||a===null)},radio:function(c){return c.nodeName.toLowerCase()==="input"&&"radio"===c.type},checkbox:function(c){return c.nodeName.toLowerCase()==="input"&&"checkbox"===c.type},file:function(c){return c.nodeName.toLowerCase()==="input"&&"file"===c.type},password:function(c){return c.nodeName.toLowerCase()===
"input"&&"password"===c.type},submit:function(c){var a=c.nodeName.toLowerCase();return(a==="input"||a==="button")&&"submit"===c.type},image:function(c){return c.nodeName.toLowerCase()==="input"&&"image"===c.type},reset:function(c){var a=c.nodeName.toLowerCase();return(a==="input"||a==="button")&&"reset"===c.type},button:function(c){var a=c.nodeName.toLowerCase();return a==="input"&&"button"===c.type||a==="button"},input:function(c){return/input|select|textarea|button/i.test(c.nodeName)},focus:function(c){return c===
c.ownerDocument.activeElement}},setFilters:{first:function(c,a){return a===0},last:function(c,a,d,b){return a===b.length-1},even:function(c,a){return a%2===0},odd:function(c,a){return a%2===1},lt:function(c,a,d){return a<d[3]-0},gt:function(c,a,d){return a>d[3]-0},nth:function(c,a,d){return d[3]-0===a},eq:function(c,a,d){return d[3]-0===a}},filter:{PSEUDO:function(c,a,d,b){var j=a[1],f=h.filters[j];if(f)return f(c,d,a,b);else if(j==="contains")return(c.textContent||c.innerText||e.getText([c])||"").indexOf(a[3])>=
0;else if(j==="not"){a=a[3];d=0;for(b=a.length;d<b;d++)if(a[d]===c)return!1;return!0}else e.error(j)},CHILD:function(a,d){var b=d[1],e=a;switch(b){case "only":case "first":for(;e=e.previousSibling;)if(e.nodeType===1)return!1;if(b==="first")return!0;e=a;case "last":for(;e=e.nextSibling;)if(e.nodeType===1)return!1;return!0;case "nth":var b=d[2],j=d[3];if(b===1&&j===0)return!0;var f=d[0],h=a.parentNode;if(h&&(h.sizcache!==f||!a.nodeIndex)){for(var l=0,e=h.firstChild;e;e=e.nextSibling)if(e.nodeType===
1)e.nodeIndex=++l;h.sizcache=f}e=a.nodeIndex-j;return b===0?e===0:e%b===0&&e/b>=0}},ID:function(a,d){return a.nodeType===1&&a.getAttribute("id")===d},TAG:function(a,d){return d==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===d},CLASS:function(a,d){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(d)>-1},ATTR:function(a,d){var b=d[1],b=h.attrHandle[b]?h.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),e=b+"",j=d[2],f=d[4];return b==null?j==="!=":j==="="?e===f:j==="*="?e.indexOf(f)>=
0:j==="~="?(" "+e+" ").indexOf(f)>=0:!f?e&&b!==!1:j==="!="?e!==f:j==="^="?e.indexOf(f)===0:j==="$="?e.substr(e.length-f.length)===f:j==="|="?e===f||e.substr(0,f.length+1)===f+"-":!1},POS:function(a,d,b,e){var f=h.setFilters[d[2]];if(f)return f(a,b,d,e)}}},s=h.match.POS,f=function(a,d){return"\\"+(d-0+1)},y;for(y in h.match)h.match[y]=RegExp(h.match[y].source+/(?![^\[]*\])(?![^\(]*\))/.source),h.leftMatch[y]=RegExp(/(^(?:.|\r|\n)*?)/.source+h.match[y].source.replace(/\\(\d+)/g,f));var l=function(a,
d){a=Array.prototype.slice.call(a,0);return d?(d.push.apply(d,a),d):a};try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(n){l=function(a,d){var b=0,e=d||[];if(t.call(a)==="[object Array]")Array.prototype.push.apply(e,a);else if(typeof a.length==="number")for(var f=a.length;b<f;b++)e.push(a[b]);else for(;a[b];b++)e.push(a[b]);return e}}var q,v;r.documentElement.compareDocumentPosition?q=function(a,d){return a===d?(m=!0,0):!a.compareDocumentPosition||!d.compareDocumentPosition?a.compareDocumentPosition?
-1:1:a.compareDocumentPosition(d)&4?-1:1}:(q=function(a,d){if(a===d)return m=!0,0;else if(a.sourceIndex&&d.sourceIndex)return a.sourceIndex-d.sourceIndex;var b,e,f=[],h=[];b=a.parentNode;e=d.parentNode;var l=b;if(b===e)return v(a,d);else if(b){if(!e)return 1}else return-1;for(;l;)f.unshift(l),l=l.parentNode;for(l=e;l;)h.unshift(l),l=l.parentNode;b=f.length;e=h.length;for(l=0;l<b&&l<e;l++)if(f[l]!==h[l])return v(f[l],h[l]);return l===b?v(a,h[l],-1):v(f[l],d,1)},v=function(a,d,b){if(a===d)return b;
for(a=a.nextSibling;a;){if(a===d)return-1;a=a.nextSibling}return 1});e.getText=function(a){for(var d="",b,f=0;a[f];f++)b=a[f],b.nodeType===3||b.nodeType===4?d+=b.nodeValue:b.nodeType!==8&&(d+=e.getText(b.childNodes));return d};(function(){var a=r.createElement("div"),d="script"+(new Date).getTime(),b=r.documentElement;a.innerHTML="<a name='"+d+"'/>";b.insertBefore(a,b.firstChild);if(r.getElementById(d))h.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d)return(c=c.getElementById(a[1]))?
c.id===a[1]||typeof c.getAttributeNode!=="undefined"&&c.getAttributeNode("id").nodeValue===a[1]?[c]:o:[]},h.filter.ID=function(a,c){var d=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&d&&d.nodeValue===c};b.removeChild(a);b=a=null})();(function(){var a=r.createElement("div");a.appendChild(r.createComment(""));if(a.getElementsByTagName("*").length>0)h.find.TAG=function(a,c){var d=c.getElementsByTagName(a[1]);if(a[1]==="*"){for(var b=[],e=0;d[e];e++)d[e].nodeType===
1&&b.push(d[e]);d=b}return d};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")h.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();r.querySelectorAll&&function(){var a=e,d=r.createElement("div");d.innerHTML="<p class='TEST'></p>";if(!(d.querySelectorAll&&d.querySelectorAll(".TEST").length===0)){e=function(d,b,f,i){b=b||r;if(!i&&!e.isXML(b)){var g=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(d);
if(g&&(b.nodeType===1||b.nodeType===9))if(g[1])return l(b.getElementsByTagName(d),f);else if(g[2]&&h.find.CLASS&&b.getElementsByClassName)return l(b.getElementsByClassName(g[2]),f);if(b.nodeType===9){if(d==="body"&&b.body)return l([b.body],f);else if(g&&g[3]){var n=b.getElementById(g[3]);if(n&&n.parentNode){if(n.id===g[3])return l([n],f)}else return l([],f)}try{return l(b.querySelectorAll(d),f)}catch(k){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var g=b,s=(n=b.getAttribute("id"))||
"__sizzle__",q=b.parentNode,m=/^\s*[+~]/.test(d);n?s=s.replace(/'/g,"\\$&"):b.setAttribute("id",s);if(m&&q)b=b.parentNode;try{if(!m||q)return l(b.querySelectorAll("[id='"+s+"'] "+d),f)}catch(v){}finally{n||g.removeAttribute("id")}}}return a(d,b,f,i)};for(var b in a)e[b]=a[b];d=null}}();(function(){var a=r.documentElement,d=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(d){var b=!d.call(r.createElement("div"),"div"),f=!1;try{d.call(r.documentElement,"[test!='']:sizzle")}catch(j){f=
!0}e.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!e.isXML(a))try{if(f||!h.match.PSEUDO.test(c)&&!/!=/.test(c)){var j=d.call(a,c);if(j||!b||a.document&&a.document.nodeType!==11)return j}}catch(l){}return e(c,null,null,[a]).length>0}}})();(function(){var a=r.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",a.getElementsByClassName("e").length!==
1))h.order.splice(1,0,"CLASS"),h.find.CLASS=function(a,c,d){if(typeof c.getElementsByClassName!=="undefined"&&!d)return c.getElementsByClassName(a[1])},a=null})();e.contains=r.documentElement.contains?function(a,d){return a!==d&&(a.contains?a.contains(d):!0)}:r.documentElement.compareDocumentPosition?function(a,d){return!!(a.compareDocumentPosition(d)&16)}:function(){return!1};e.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var d=function(a,d){for(var b,
f=[],j="",l=d.nodeType?[d]:d;b=h.match.PSEUDO.exec(a);)j+=b[0],a=a.replace(h.match.PSEUDO,"");a=h.relative[a]?a+"*":a;b=0;for(var g=l.length;b<g;b++)e(a,l[b],f);return e.filter(j,f)};C.find=e;C.expr=e.selectors;C.expr[":"]=C.expr.filters;C.unique=e.uniqueSort;C.text=e.getText;C.isXMLDoc=e.isXML;C.contains=e.contains})();(function(a){function b(b,h,g){h=h||0;if(a.isFunction(h))return a.grep(b,function(a,b){return!!h.call(a,b,a)===g});else if(h.nodeType)return a.grep(b,function(a){return a===h===g});
else if(typeof h==="string"){var f=a.grep(b,function(a){return a.nodeType===1});if(m.test(h))return a.filter(h,f,!g);else h=a.filter(h,f)}return a.grep(b,function(b){return a.inArray(b,h)>=0===g})}var p=/Until$/,g=/^(?:parents|prevUntil|prevAll)/,r=/,/,m=/^.[^:#\[\.,]*$/,u=Array.prototype.slice,k=a.expr.match.POS,z={children:!0,contents:!0,next:!0,prev:!0};a.fn.extend({find:function(b){var h=this,g,f;if(typeof b!=="string")return a(b).filter(function(){for(g=0,f=h.length;g<f;g++)if(a.contains(h[g],
this))return!0});var k=this.pushStack("","find",b),l,n,q;for(g=0,f=this.length;g<f;g++)if(l=k.length,a.find(b,this[g],k),g>0)for(n=l;n<k.length;n++)for(q=0;q<l;q++)if(k[q]===k[n]){k.splice(n--,1);break}return k},has:function(b){var h=a(b);return this.filter(function(){for(var b=0,e=h.length;b<e;b++)if(a.contains(this,h[b]))return!0})},not:function(a){return this.pushStack(b(this,a,!1),"not",a)},filter:function(a){return this.pushStack(b(this,a,!0),"filter",a)},is:function(b){return!!b&&(typeof b===
"string"?a.filter(b,this).length>0:this.filter(b).length>0)},closest:function(b,h){var g=[],f,m,l=this[0];if(a.isArray(b)){var n,q={},v=1;if(l&&b.length){for(f=0,m=b.length;f<m;f++)n=b[f],q[n]||(q[n]=k.test(n)?a(n,h||this.context):n);for(;l&&l.ownerDocument&&l!==h;){for(n in q)f=q[n],(f.jquery?f.index(l)>-1:a(l).is(f))&&g.push({selector:n,elem:l,level:v});l=l.parentNode;v++}}return g}n=k.test(b)||typeof b!=="string"?a(b,h||this.context):0;for(f=0,m=this.length;f<m;f++)for(l=this[f];l;)if(n?n.index(l)>
-1:a.find.matchesSelector(l,b)){g.push(l);break}else if(l=l.parentNode,!l||!l.ownerDocument||l===h||l.nodeType===11)break;g=g.length>1?a.unique(g):g;return this.pushStack(g,"closest",b)},index:function(b){return!b?this[0]&&this[0].parentNode?this.prevAll().length:-1:typeof b==="string"?a.inArray(this[0],a(b)):a.inArray(b.jquery?b[0]:b,this)},add:function(b,h){var g=typeof b==="string"?a(b,h):a.makeArray(b&&b.nodeType?[b]:b),f=a.merge(this.get(),g);return this.pushStack(!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===
11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:a.unique(f))},andSelf:function(){return this.add(this.prevObject)}});a.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,h,g){return a.dir(b,"parentNode",g)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,
"previousSibling")},nextUntil:function(b,h,g){return a.dir(b,"nextSibling",g)},prevUntil:function(b,h,g){return a.dir(b,"previousSibling",g)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,h){a.fn[b]=function(k,f){var m=a.map(this,h,k),l=u.call(arguments);p.test(b)||(f=k);f&&typeof f==="string"&&
(m=a.filter(f,m));m=this.length>1&&!z[b]?a.unique(m):m;if((this.length>1||r.test(f))&&g.test(b))m=m.reverse();return this.pushStack(m,b,l.join(","))}});a.extend({filter:function(b,h,g){g&&(b=":not("+b+")");return h.length===1?a.find.matchesSelector(h[0],b)?[h[0]]:[]:a.find.matches(b,h)},dir:function(b,g,m){for(var f=[],b=b[g];b&&b.nodeType!==9&&(m===o||b.nodeType!==1||!a(b).is(m));)b.nodeType===1&&f.push(b),b=b[g];return f},nth:function(a,b,g){for(var b=b||1,f=0;a;a=a[g])if(a.nodeType===1&&++f===
b)break;return a},sibling:function(a,b){for(var g=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&g.push(a);return g}})})(C);(function(a){function b(b,c){if(c.nodeType===1&&a.hasData(b)){var e=a.expando,f=a.data(b),g=a.data(c,f);if(f=f[e]){var j=f.events,g=g[e]=a.extend({},f);if(j){delete g.handle;g.events={};for(var h in j){e=0;for(f=j[h].length;e<f;e++)a.event.add(c,h+(j[h][e].namespace?".":"")+j[h][e].namespace,j[h][e],j[h][e].data)}}}}}function p(b,c){var e;if(c.nodeType===1){c.clearAttributes&&c.clearAttributes();
c.mergeAttributes&&c.mergeAttributes(b);e=c.nodeName.toLowerCase();if(e==="object")c.outerHTML=b.outerHTML;else if(e==="input"&&(b.type==="checkbox"||b.type==="radio")){if(b.checked)c.defaultChecked=c.checked=b.checked;if(c.value!==b.value)c.value=b.value}else if(e==="option")c.selected=b.defaultSelected;else if(e==="input"||e==="textarea")c.defaultValue=b.defaultValue;c.removeAttribute(a.expando)}}function g(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):
[]}function t(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function m(b){a.nodeName(b,"input")?t(b):"getElementsByTagName"in b&&a.grep(b.getElementsByTagName("input"),t)}function u(b,c){c.src?a.ajax({url:c.src,async:!1,dataType:"script"}):a.globalEval((c.text||c.textContent||c.innerHTML||"").replace(q,"/*$0*/"));c.parentNode&&c.parentNode.removeChild(c)}var k=/ jQuery\d+="(?:\d+|null)"/g,z=/^\s+/,e=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
h=/<([\w:]+)/,s=/<tbody/i,f=/<|&#?\w+;/,y=/<(?:script|object|embed|option|style)/i,l=/checked\s*(?:[^=]|=\s*.checked.)/i,n=/\/(java|ecma)script/i,q=/^\s*<!(?:\[CDATA\[|\-\-)/,v={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,"",
""]};v.optgroup=v.option;v.tbody=v.tfoot=v.colgroup=v.caption=v.thead;v.th=v.td;if(!a.support.htmlSerialize)v._default=[1,"div<div>","</div>"];a.fn.extend({text:function(b){return a.isFunction(b)?this.each(function(c){var e=a(this);e.text(b.call(this,c,e.text()))}):typeof b!=="object"&&b!==o?this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(b)):a.text(this)},wrapAll:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapAll(b.call(this,c))});if(this[0]){var c=
a(b,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var c=a(this),e=c.contents();e.length?e.wrapAll(b):c.append(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,
"body")||a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(b,c){for(var e=0,f;(f=this[e])!=null;e++)if(!b||a.filter(b,[f]).length)!c&&f.nodeType===1&&(a.cleanData(f.getElementsByTagName("*")),a.cleanData([f])),f.parentNode&&f.parentNode.removeChild(f);return this},
empty:function(){for(var b=0,c;(c=this[b])!=null;b++)for(c.nodeType===1&&a.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(b,c){b=b==null?!1:b;c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(b){if(b===o)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(k,""):null;else if(typeof b==="string"&&!y.test(b)&&(a.support.leadingWhitespace||!z.test(b))&&!v[(h.exec(b)||["",""])[1].toLowerCase()]){b=
b.replace(e,"<$1></$2>");try{for(var c=0,f=this.length;c<f;c++)if(this[c].nodeType===1)a.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=b}catch(g){this.empty().append(b)}}else a.isFunction(b)?this.each(function(c){var e=a(this);e.html(b.call(this,c,e.html()))}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(c){var e=a(this),f=e.html();e.replaceWith(b.call(this,c,f))});typeof b!=="string"&&(b=
a(b).detach());return this.each(function(){var c=this.nextSibling,e=this.parentNode;a(this).remove();c?a(c).before(b):a(e).append(b)})}else return this.length?this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",b):this},detach:function(a){return this.remove(a,!0)},domManip:function(b,c,e){var f,g,h,n=b[0],m=[];if(!a.support.checkClone&&arguments.length===3&&typeof n==="string"&&l.test(n))return this.each(function(){a(this).domManip(b,c,e,!0)});if(a.isFunction(n))return this.each(function(f){var g=
a(this);b[0]=n.call(this,f,c?g.html():o);g.domManip(b,c,e)});if(this[0]){f=n&&n.parentNode;f=a.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:a.buildFragment(b,this,m);h=f.fragment;if(g=h.childNodes.length===1?h=h.firstChild:h.firstChild){c=c&&a.nodeName(g,"tr");g=0;for(var k=this.length,q=k-1;g<k;g++)e.call(c?a.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],
f.cacheable||k>1&&g<q?a.clone(h,!0,!0):h)}m.length&&a.each(m,u)}return this}});a.buildFragment=function(b,c,e){var f,g,h,n;c&&c[0]&&(n=c[0].ownerDocument||c[0]);n.createDocumentFragment||(n=r);if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&n===r&&b[0].charAt(0)==="<"&&!y.test(b[0])&&(a.support.checkClone||!l.test(b[0])))g=!0,(h=a.fragments[b[0]])&&h!==1&&(f=h);f||(f=n.createDocumentFragment(),a.clean(b,n,f,e));g&&(a.fragments[b[0]]=h?f:1);return{fragment:f,cacheable:g}};a.fragments={};
a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){a.fn[b]=function(e){var f=[],e=a(e),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1)return e[c](this[0]),this;else{for(var g=0,h=e.length;g<h;g++){var l=(g>0?this.clone(!0):this).get();a(e[g])[c](l);f=f.concat(l)}return this.pushStack(f,b,e.selector)}}});a.extend({clone:function(d,c,e){var f=d.cloneNode(!0),h,l,n;if((!a.support.noCloneEvent||
!a.support.noCloneChecked)&&(d.nodeType===1||d.nodeType===11)&&!a.isXMLDoc(d)){p(d,f);h=g(d);l=g(f);for(n=0;h[n];++n)l[n]&&p(h[n],l[n])}if(c&&(b(d,f),e)){h=g(d);l=g(f);for(n=0;h[n];++n)b(h[n],l[n])}return f},clean:function(b,c,g,l){c=c||r;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||r);for(var k=[],j,q=0,o;(o=b[q])!=null;q++)if(typeof o==="number"&&(o+=""),o){if(typeof o==="string")if(f.test(o)){o=o.replace(e,"<$1></$2>");j=(h.exec(o)||["",""])[1].toLowerCase();
var p=v[j]||v._default,t=p[0],u=c.createElement("div");for(u.innerHTML=p[1]+o+p[2];t--;)u=u.lastChild;if(!a.support.tbody){t=s.test(o);p=j==="table"&&!t?u.firstChild&&u.firstChild.childNodes:p[1]==="<table>"&&!t?u.childNodes:[];for(j=p.length-1;j>=0;--j)a.nodeName(p[j],"tbody")&&!p[j].childNodes.length&&p[j].parentNode.removeChild(p[j])}!a.support.leadingWhitespace&&z.test(o)&&u.insertBefore(c.createTextNode(z.exec(o)[0]),u.firstChild);o=u.childNodes}else o=c.createTextNode(o);var y;if(!a.support.appendChecked)if(o[0]&&
typeof(y=o.length)==="number")for(j=0;j<y;j++)m(o[j]);else m(o);o.nodeType?k.push(o):k=a.merge(k,o)}if(g){b=function(a){return!a.type||n.test(a.type)};for(q=0;k[q];q++)l&&a.nodeName(k[q],"script")&&(!k[q].type||k[q].type.toLowerCase()==="text/javascript")?l.push(k[q].parentNode?k[q].parentNode.removeChild(k[q]):k[q]):(k[q].nodeType===1&&(c=a.grep(k[q].getElementsByTagName("script"),b),k.splice.apply(k,[q+1,0].concat(c))),g.appendChild(k[q]))}return k},cleanData:function(b){for(var c,e,f=a.cache,g=
a.expando,h=a.event.special,l=a.support.deleteExpando,n=0,k;(k=b[n])!=null;n++)if(!k.nodeName||!a.noData[k.nodeName.toLowerCase()])if(e=k[a.expando]){if((c=f[e]&&f[e][g])&&c.events){for(var m in c.events)h[m]?a.event.remove(k,m):a.removeEvent(k,m,c.handle);if(c.handle)c.handle.elem=null}l?delete k[a.expando]:k.removeAttribute&&k.removeAttribute(a.expando);delete f[e]}}})})(C);(function(a){function b(b,f,g){var k=f==="width"?b.offsetWidth:b.offsetHeight,d=f==="width"?e:h;if(k>0)return g!=="border"&&
a.each(d,function(){g||(k-=parseFloat(a.css(b,"padding"+this))||0);g==="margin"?k+=parseFloat(a.css(b,g+this))||0:k-=parseFloat(a.css(b,"border"+this+"Width"))||0}),k+"px";k=s(b,f,f);if(k<0||k==null)k=b.style[f]||0;k=parseFloat(k)||0;g&&a.each(d,function(){k+=parseFloat(a.css(b,"padding"+this))||0;g!=="padding"&&(k+=parseFloat(a.css(b,"border"+this+"Width"))||0);g==="margin"&&(k+=parseFloat(a.css(b,g+this))||0)});return k+"px"}var p=/alpha\([^)]*\)/i,g=/opacity=([^)]*)/,t=/([A-Z]|^ms)/g,m=/^-?\d+(?:px)?$/i,
u=/^-?\d/,k=/^([\-+])=([\-+.\de]+)/,z={position:"absolute",visibility:"hidden",display:"block"},e=["Left","Right"],h=["Top","Bottom"],s,f,y;a.fn.css=function(b,e){return arguments.length===2&&e===o?this:a.access(this,b,e,!0,function(b,e,d){return d!==o?a.style(b,e,d):a.css(b,e)})};a.extend({cssHooks:{opacity:{get:function(a,b){if(b){var e=s(a,"opacity","opacity");return e===""?"1":e}else return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,
zIndex:!0,zoom:!0},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(b,e,f,g){if(b&&!(b.nodeType===3||b.nodeType===8||!b.style)){var d,c=a.camelCase(e),h=b.style,m=a.cssHooks[c],e=a.cssProps[c]||c;if(f!==o){g=typeof f;if(g==="string"&&(d=k.exec(f)))f=+(d[1]+1)*+d[2]+parseFloat(a.css(b,e)),g="number";if(!(f==null||g==="number"&&isNaN(f)))if(g==="number"&&!a.cssNumber[c]&&(f+="px"),!m||!("set"in m)||(f=m.set(b,f))!==o)try{h[e]=f}catch(p){}}else return m&&"get"in m&&(d=m.get(b,
!1,g))!==o?d:h[e]}},css:function(b,e,f){var g,d,e=a.camelCase(e);d=a.cssHooks[e];e=a.cssProps[e]||e;e==="cssFloat"&&(e="float");if(d&&"get"in d&&(g=d.get(b,!0,f))!==o)return g;else if(s)return s(b,e)},swap:function(a,b,e){var f={},d;for(d in b)f[d]=a.style[d],a.style[d]=b[d];e.call(a);for(d in b)a.style[d]=f[d]}});a.curCSS=a.css;a.each(["height","width"],function(e,f){a.cssHooks[f]={get:function(e,g,d){var c;if(g){if(e.offsetWidth!==0)return b(e,f,d);else a.swap(e,z,function(){c=b(e,f,d)});return c}},
set:function(a,b){if(m.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!a.support.opacity)a.cssHooks.opacity={get:function(a,b){return g.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(b,e){var f=b.style,g=b.currentStyle,d=a.isNaN(e)?"":"alpha(opacity="+e*100+")",c=g&&g.filter||f.filter||"";f.zoom=1;if(e>=1&&a.trim(c.replace(p,""))===""&&(f.removeAttribute("filter"),g&&!g.filter))return;f.filter=p.test(c)?c.replace(p,
d):c+" "+d}};a(function(){if(!a.support.reliableMarginRight)a.cssHooks.marginRight={get:function(b,e){var f;a.swap(b,{display:"inline-block"},function(){f=e?s(b,"margin-right","marginRight"):b.style.marginRight});return f}}});r.defaultView&&r.defaultView.getComputedStyle&&(f=function(b,e){var f,g,e=e.replace(t,"-$1").toLowerCase();if(!(g=b.ownerDocument.defaultView))return o;if(g=g.getComputedStyle(b,null))f=g.getPropertyValue(e),f===""&&!a.contains(b.ownerDocument.documentElement,b)&&(f=a.style(b,
e));return f});r.documentElement.currentStyle&&(y=function(a,b){var e,f=a.currentStyle&&a.currentStyle[b],d=a.runtimeStyle&&a.runtimeStyle[b],c=a.style;if(!m.test(f)&&u.test(f)){e=c.left;if(d)a.runtimeStyle.left=a.currentStyle.left;c.left=b==="fontSize"?"1em":f||0;f=c.pixelLeft+"px";c.left=e;if(d)a.runtimeStyle.left=d}return f===""?"auto":f});s=f||y;if(a.expr&&a.expr.filters)a.expr.filters.hidden=function(b){var e=b.offsetHeight;return b.offsetWidth===0&&e===0||!a.support.reliableHiddenOffsets&&(b.style.display||
a.css(b,"display"))==="none"},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)}})(C);return C}(window);
var h=void 0,i=null;function aa(a,b){b=b===!0;if(!j)return!1;var c=i,d=[],e=[];k(a)?d.push(a):n(o(),function(a){t(a,"manual")&&d.push(a)});n(d,function(a){if(b||ba(a,!0))(c=ca(a,b))&&e.push(a)});da(e);ea();fa()}
function ga(a,b,c){ha=!0;j&&c!==!0&&v.e(document.location.href);a=String(a);b=String(b);if(b==="-1"){w[a]&&delete w[a];ia[a]&&delete ia[a];for(b=0;b<x.length;b++)x[b].h===a&&x.splice(b,1);ja()}else if((c=y(a))&&c.length>0){a:{for(var c=y(a),d=0;d<c.length;d++){var e=ka(c[d]);if(z(e,b)){c=c[d];break a}}c=""}A[a]=A[a]||{};A[a][c]=b;B("Distributor","Preferring variation partial "+b+" of section "+c+" of experiment "+a);a=la(a);a.length===1&&C(a[0],"api.bucketUser",!1,!0)}else C(b,"api.bucketUser",!1,
!0);ea()}function ma(){na=j=!1}function oa(a,b){var c=[],d=b;D(b)&&(c=pa(b,1),d=b[0]);var e=a[d];e?(B("API",'Called function "'+d+'"'),d!=="acknowledgePreviewMode"&&ra(d,{type:"api"}),e.apply(i,c)):B("API",'Error for unknown function "'+d+'"');sa()}
function ta(){ua={};E={};va={};n(wa(),function(a){var b=F(a);ua[b]=a.split("_");var c=E,d;a:{var e=F(a);d=y(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 l=ka(d[g]),q=0;q<l.length;q++)l[q]===e[g]&&f.push(q);if(f!==[]){d=f;break a}}d=-1}c[b]=d;va[b]=ya(a)});za(window.optimizely,{activeExperiments:Aa,allExperiments:Ba(),all_experiments:Ba(),variationIdsMap:ua,variationMap:E,variationNamesMap:va,variation_map:E})}
function Ca(a){if(!k(a))return!1;Da=Number(a)}function Ea(){Fa=!0}var ua={},E={},va={};function z(a,b){for(var c=0;c<a.length;c++)if(b==a[c])return!0;return!1}function Ga(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 Ha(a,b){var c=pa(arguments,1);return function(){var b=pa(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}
function n(a,b){var c=i;if(D(a))for(var d=a.length,e=0;e<d;++e){if(c=b.call(h,a[e],e),Ia(c))break}else for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&(c=b.call(h,d,a[d]),Ia(c)))break;return c}function za(a,b){n(b,function(b,d){a[b]=d})}function Ja(a,b){return n(b,function(b){if(b===a)return!0})||!1}function D(a){return a&&typeof a==="object"&&a.length&&typeof a.length==="number"}function Ia(a){return typeof a!=="undefined"}
function k(a){return(typeof a==="number"||typeof a==="string")&&Number(a)==a}function La(a){La=Object.keys||function(a){var c=[];n(a,function(a){c.push(a)});return c};return La.call(i,a)}function Ma(a){var b=document.C||document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.src=a;c.type="text/javascript";b.appendChild(c)}
function G(a,b,c){var d=window.console;if(H&&d&&d.log){var e=pa(arguments,1);e[0]="Optimizely / "+a+" / "+b;Function.prototype.apply.call(d.log,d,e)}}function pa(a,b){return Array.prototype.slice.call(a,b||0,a.length)}function Na(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function Oa(){if(Pa===i){for(var a=o(),b=Qa,c=[],d=0,e=a.length;d<e;d++){var f=a[d];b(f)&&c.push(f)}Pa=c}return Pa}function Ba(){return I("experiments")||{}}function o(){return La(I("experiments")||{})}function J(a){return'experiment "'+(t(a,"name")||"")+'" ('+a+")"}function y(a){return t(a,"section_ids")||[]}function xa(a){return t(a,"variation_ids")||[]}function ka(a){return I("sections",a,"variation_ids")||[]}
function Ra(a){var b=[];n(a.split("_"),function(a){(a=I("variations",a,"code"))&&b.push(a)});return b.join("\n")}function F(a){var b={};n(o(),function(a){n(y(a),function(d){n(ka(d),function(d){b[d]=a})});n(xa(a),function(d){b[d]=a})});F=function(a){return b[a.split("_")[0]]||""};return F.call(i,a)}function ya(a){var b;return Sa(a).join(b||", ")}function Sa(a){var b=[];n(a.split("_"),function(a){b.push(I("variations",a,"name")||"Unnamed")});return b}function Qa(a){return!!t(a,"active")}
function t(a,b){return I("experiments",a,b)}function I(a){var b=DATA;if(n(arguments,function(a){a=b[a];if(Ia(a))b=a;else return i})!==i)return b}function Ta(a){a=I(a);return document.location.protocol+"//"+a+".optimizely.com"}var Pa=i;function ra(a,b){b=b||{};window.optimizelyPreview=window.optimizelyPreview||[];Ua||(window.optimizelyPreview.push(["addEvent",window.location.href,{type:"url"}]),Ua=!0);window.optimizelyPreview.push(["addEvent",a,b])}function Va(){B("Preview","Preview acknowledgement received")}var Ua=!1,Wa=[];function Xa(){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 Ya(){for(var a=window.location.search,b,c=/optimizely_([^=]+)=([^&]*)/g,d={};b=c.exec(a);)d[b[1]]=decodeURIComponent(b[2]);return d}
function Za(a,b){var c=y(a),d=[];if(b.length===1){var c=xa(a),e=b[0],f=c[e];!f&&z(c,e)&&(f=e);f&&d.push(f)}else c.length===b.length&&n(c,function(a,c){var e=b[c];if(e=ka(a)[e])d.push(e);else return d=[],i});return d.join("_")}var $a="//cdn.optimizely.com/,https://cdn.optimizely.com/,//optimizely.appspot.com/,https://optimizely.appspot.com/,//www.local/,https://www.local/,//www-local.optimizely.com/,https://www-local.optimizely.com/".split(",");function ba(a,b){b=b===!0;B("Condition","Testing experiment "+a);var c=Qa(a),d=t(a,"manual")||!1;if(c)if(ab(a)){if(!b&&d)return B("Condition"," Failed for experiment "+a+" (manual activation mode)"),K[a]="it is set to use manual activation mode",!1}else return B("Condition","Failed for experiment "+a+" (condition failed)"),!1;else return B("Condition","Failed for experiment "+a+" (paused)"),K[a]="it is paused",!1;return!0}
function ab(a){var b=t(a,"conditions")||[],c=!0;n(b,function(b){var e=b.type;if(b.only_first_time&&bb(a))B("Condition",e+" condition passed because it only gets checked when bucketing",!0);else{var f=!b.not,g=(0,cb[e])(b),b=g!==f,g=g?"passed":"failed",f=f?"pass":"fail";B("Condition",e+" condition "+g+" when expected to "+f,!b);if(b)return c=!1,K[a]=e+" condition "+g+" when expected to "+f,!1}});return c}
function db(a){for(var b=0;b<a.values.length;b++){var c=a.values[b];if(eb(window.location.href,c.value,c.match))return!0}return!1}
var cb={browser:function(a){var b=fb(),c=gb(),d=!1,e=hb();n(a.values,function(a){e!=="unknown"?d=a==="mobile":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=L(c[d]);if(b=Ia(a[d])&&Na(a[d])!==""?b||a[d]===e:b||e!==i&&e!==h)return!0}return!1},event:function(a){var b=L("optimizelyCustomEvents")||
"{}";try{b=M(b)}catch(c){b={}}var d=b[ib()]||[];D(d)||(d=[]);var e=!1;n(a.values,function(a){if($.inArray(a,d)!==-1)return e=!0});return e},language:function(a){var b=jb(),c=!1;n(a.values,function(a){if(c=a==="any"||b.indexOf(a)===0)return i});return c},location:function(a){var b;b=GEOTARGETING;var c="",d="",e="",f="";try{d=b.country.toUpperCase()||""}catch(g){d=""}try{e=b.region.toUpperCase()||""}catch(l){e=""}e==="N/A"&&(e="");try{f=b.city.toUpperCase()||""}catch(q){f=""}f==="N/A"&&(f="");try{c=
b.continent.toUpperCase()||""}catch(qa){c=""}c==="N/A"&&(c="");b={city:f,continent:c,country:d,region:e};for(c=0;c<a.values.length;c++){var d=a.values[c].split("|"),e=$.trim(d[0]),f=$.trim(d[1]),Ka=$.trim(d[2]),p=$.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===Ka&&(b.region===f||""===f)&&b.country===e)return!0;break;case 4:if(b.continent===p)return!0}}return!1},query:function(a){if(a.values.length===0)return!0;
var b=!1,c=Xa();n(a.values,function(a){for(var e=a.key,a=a.value||"",f=0;f<c.length;f++){var g=c[f],l=g[0],g=g[1];if(e!==""&&e===l&&(a===""||a===g))return b=!0}});return b},referrer:function(a){for(var b=0;b<a.values.length;b++){var c=a.values[b];if(eb(document.referrer,c.value,c.match))return!0}return!1},url:db,visitor:function(a){var b=kb?"returning":"new";switch(a.value){case "new":return b==="returning"?!1:!0;case "returning":return b==="returning"}return!0}};var lb="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(","),mb=/\/\* _optimizely_variation_url( +include="([^"]*)")?( +exclude="([^"]*)")?( +match_type="([^"]*)")?( +include_match_types="([^"]*)")?( +exclude_match_types="([^"]*)")? \*\//;function L(a){var b=a+"=",c=[];n((document.cookie||"").split(/\s*;\s*/),function(a){a.indexOf(b)===0&&c.push(decodeURIComponent(a.substr(b.length)))});var d=c.length;d>1&&G("Cookie","Values found for %s: %s",a,d);return d===0?i:c[0]}function P(a,b,c){var d=Q;I("public_suffix")&&(R?d=R:nb.push({t:c,name:a,value:b}));a=[a,"=",encodeURIComponent(b),"; domain=.",d,"; path=/"];c&&a.push("; expires=",(new Date(+new Date+c*1E3)).toUTCString());document.cookie=a.join("")}
function ob(a){a=a.public_suffix;G("Cookie","Public suffix request returned: %s",a);a!==Q&&n(nb,function(a){G("Cookie","Deleting %s on %s",a.name,Q);document.cookie=[a.name,"=; domain=.",Q,"; path=/; expires=",(new Date(0)).toUTCString()].join("")});R=a;P("optimizelyPublicSuffix",R,31536E4);if(a!==Q)for(;nb.length>0;)a=nb.shift(),G("Cookie","Setting %s on %s",a.name,R),P(a.name,a.value,a.t);nb=[]}
function pb(a){var a=Ta("api_host")+"/iapi/public_suffix?host="+encodeURIComponent(a),b="callback"+Math.random().toString().replace("0.",""),c=document,d=c.C||c.getElementsByTagName("head")[0]||c.documentElement,c=c.createElement("script");window.optimizely[b]=ob;c.async="async";c.src=[a,a.indexOf("?")!==-1?"&":"?","callback=optimizely.",b].join("");d.insertBefore(c,d.firstChild)}var Q="",R="",nb=[];function qb(){var a=navigator.userAgent,b=rb([{id:"gc",substring:"Chrome",g:"Chrome"},{id:"safari",J: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=rb([{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=sb(a,e)||sb(navigator.appVersion,e));return{u:b.id||"unknown",v:d||"unknown",H:c.id||"unknown"}}function sb(a,b){var c=a.indexOf(b),d=i;c!==-1&&(c+=b.length+1,d=parseFloat(a.substring(c)));return d}function rb(a,b){return n(a,function(a){var d=a.J||b;if(d&&d.indexOf(a.substring)!==-1||a.prop)return a})||{}};var Da=0,j=!0,S=!1,T="",H=!1,tb=!1,ha=!1,Fa=!1,na=!0;function ca(a,b){var b=b===!0,c=ub(a);if(c&&c.length>0)return B("Distributor","Not distributing experiment "+a+" (already in plan)"),!0;if(b||a in w)return B("Distributor","Not distributing experiment "+a+" (is ignored)"),!1;c=t(a,"active_variation_ids")||[];if(c.length===0)return B("Distributor","Permanently ignoring experiment "+a+" (no active variations)"),vb(a),!1;else{var d=t(a,"ignore")||0;if(d>Math.floor(Math.random()*100))return B("Distributor","Permanently ignoring experiment "+a+"("+d+"% likelihood)"),
vb(a),!1;else{d=c;A[a]!==h&&(B("Distributor","Taking into account bucketUser variations for experiment "+a),d=la(a));var e;e=d;for(var f=t(a,"active_variation_weights")||{},g=[],l=0,q=e.length;l<q;l++)g.push(f[e[l]]);e=Ga(g);d=d[e];B("Distributor","Picked variation "+d+" [index "+e+" of "+c.length+"]");C(d,"distributor",!1);return!0}}}
function la(a){for(var b=t(a,"active_variation_ids")||[],c=[],d=0;d<b.length;d++){var e=!0,f=h;for(f in A[a])b[d].indexOf(A[a][f])===-1&&(e=!1);e&&c.push(b[d])}return c}var A={};function da(a){if(j){D(a)?wb(a):(a=[],wb());a=a.concat(U);U=[];for(var b=0;b<a.length;b++)z(Aa,a[b])||Aa.push(a[b]);a=xb(a);V.push.apply(V,a);yb()}}
function yb(){var a=!1;zb=i;for(B("Evaluator",Ab+" times waited");!a&&V.length>0;){B("Evaluator",V.length+" steps remaining");var b=V.shift(),c=b,a=!1;if(c.M&&!Bb)B("Evaluator","Document not ready yet"),a=!0;else if(c.i&&!Bb&&(c=c.f))for(var c=D(c)?c:[c],d=0;d<c.length;d++){var e=c[d];if(!(e===i||e===h||!e.length)&&$(e).length===0)B("Evaluator","'"+e+"' not found"),a=!0}a?V.unshift(b):b.j?(B("Evaluator","Bound event "+b.j+" to selector "+b.f),Cb(b.f,b.j)):b.code&&(B("Evaluator","Run code: "+b.code),
Db(b.code))}a?(zb=setTimeout(yb,Ab===0?10:50),Ab++):B("Evaluator",Ab+" total times waited")}
function Db(a){if(a.indexOf("_optimizely_redirect")!==-1){B("Evaluator","Redirect detected");var b=L("optimizelyRedirect");if(b===h||b===i||b==="")B("Evaluator","OK to redirect"),P("optimizelyRedirect",window.location.href,5),P("optimizelyReferrer",document.referrer||"http://www.optimizely.com/redirect-no-referrer");else{B("Evaluator","NOT OK to redirect");return}}eval("var $j = $;");try{eval(a)}catch(c){b=H,H=!0,B("Evaluator","Error: "+c.message),B("Evaluator","Code: "+a),H=b,B("Evaluator","Failed to run code: "+
c.message)}}function Cb(a,b){var c="mousedown",d=hb();if(d==="iphone"||d==="ipad"||d==="ipod")c="touchstart";$(a).bind(c,function(){v.e.call(v,b,"custom")})}function Eb(a){Fb=a}function wb(a){a||(a=o());for(var b=0;b<a.length;b++){var c=a[b],d=K[c];d?(ra("Not activating "+J(c)+" because "+d+".",{type:"explanation"}),delete K[c]):ra("Activating "+J(c)+".",{type:"explanation"})}}var Aa=[],U=U||[],Fb=0,Bb=!1,K={},V=[],zb=i,Ab=0;
$(function(){Bb=!0;zb!==i&&(B("Evaluator","Document is ready"),clearTimeout(zb),Fb>0?setTimeout(yb,Fb):yb())});var M,Gb;
(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,p,m,N,O=e,u,r=d[c];typeof l==="function"&&(r=l.call(d,c,r));switch(typeof r){case "string":return a(r);case "number":return isFinite(r)?String(r):"null";case "boolean":case "null":return String(r);case "object":if(!r)return"null";e+=f;u=[];if(Object.prototype.toString.apply(r)==="[object Array]"){N=
r.length;for(g=0;g<N;g+=1)u[g]=b(g,r)||"null";m=u.length===0?"[]":e?"[\n"+e+u.join(",\n"+e)+"\n"+O+"]":"["+u.join(",")+"]";e=O;return m}if(l&&typeof l==="object"){N=l.length;for(g=0;g<N;g+=1)typeof l[g]==="string"&&(p=l[g],(m=b(p,r))&&u.push(a(p)+(e?": ":":")+m))}else for(p in r)Object.prototype.hasOwnProperty.call(r,p)&&(m=b(p,r))&&u.push(a(p)+(e?": ":":")+m);m=u.length===0?"{}":e?"{\n"+e+u.join(",\n"+e)+"\n"+O+"}":"{"+u.join(",")+"}";e=O;return m}}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",'"':'\\"',"\\":"\\\\"},l;Gb=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((l=c)&&typeof c!=="function"&&(typeof c!=="object"||typeof c.length!=="number"))throw Error("JSON.stringify");return b("",{"":a})};M=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 Hb(){if(na){var a=Ib||(typeof window.s!=="undefined"?window.s:i);a?n(wa(),function(b){var c=F(b),d=t(c,"is_site_catalyst_enabled")!=="custom_variables"?-1:t(c,"site_catalyst_evar")||-1;d!==-1&&(b=Jb(c,b,100,100,25),a["eVar"+d]=b.key+": "+b.value)}):B("Integrator","Error with SiteCatalyst integration: 's' variable not defined")}}function Kb(a,b){return a.replace(/[^a-zA-Z0-9\.\~\!\*\(\)\']+/g,"_").substring(0,b)}
function Jb(a,b,c,d,e){a=Lb+(t(a,"name")||"");b=Sa(b);b.length>1?(b=$.map(b,function(a){return a.substr(0,e-1)}),b=b.join("~")):b=b[0];a=Kb(a,c);b=Kb(b.replace("#",""),d);return{key:a,value:b}}
function fa(){na&&n(wa(),function(a){var b=F(a);if(t(b,"google_analytics_slot")){window._gaq=window._gaq||[];var c=t(b,"google_analytics_slot")||0,d=window._gaq,e=Jb(b,a,28,24,5);try{d.push(["_setCustomVar",c,e.key,e.value,2])}catch(f){B("Integrator","Error sending Google Analytics data for "+J(b))}}if(I("kissmetrics")){window._kmq=window._kmq||[];c=window._kmq;a=Jb(b,a,100,100,15);d={};d[a.key]=a.value;try{c.push(["set",d])}catch(g){B("Integrator","Error sending KISSmetrics data for "+J(b))}}})}
function Mb(){var a=L("optimizelyReferrer");if(a&&a.length>0){a="_gaq.push(['_setReferrerOverride', '"+a+"']);";try{eval(a)}catch(b){B("Integrator","Error with _gaq.push (Google Analytics integration):"+a)}P("optimizelyReferrer","")}}function Nb(a){Lb=a}function Ob(a){Ib=a}var Lb="Optimizely_",Ib=i;function eb(a,b,c){var d="";switch(c){case "exact":return a=W(a),a=Pb(a,"optimizely_log"),a=Pb(a,"optimizely_verbose"),d=W(b),B("Match","Exact match checking "+a+" and "+d,!0),a===d;case "regex":try{return B("Match","RegEx match checking "+a+" with "+b,!0),Boolean(a.match(b))}catch(e){return!1}case "simple":return a=W(Qb(a)),b=W(Qb(b)),B("Match","Simple match checking "+a+" with "+b,!0),a===b;case "substring":return a=W(a),b=W(b),B("Match","Substring match checking if "+a+" contains "+b,!0),a.indexOf(b)!==
-1;default:return!1}}function Qb(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 Pb(a,b){return a.replace("&"+b+"=true","").replace("?"+b+"=true&","?").replace("?"+b+"=true","")}function W(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);n(Rb,function(b){a.indexOf(b)===0&&(a=a.substring(b.length))});return a}
var Rb=["http://edit.local/","http://preview.optimizely.com/","http://","https://","www."];function C(a,b,c,d){var c=c===!0,d=d===!0,e=F(a);if(e&&(d||!bb(e))){if(d&&bb(e))for(d=0;d<x.length;d++)x[d].h===e&&x.splice(d,1);x.push({h:e,id:a,source:b});c&&(U=U||[],U.push(e));ia[e]=!0;ja();B("Plan","Added experiment "+e+" and variation id "+a+" to the plan, source is "+b,!0)}}function bb(a){return a in w||a in ia}
function xb(a){a===h?a=[]:k(a)&&(a=[a]);var b=wa(a),c=[],d=[],e=[],f=[];n(a,function(a){Sb(a,c,e,d,f)});n(b,function(a){for(var a=Ra(a),a=a.split("\n"),b=[],c=!0,e=0,Ka=a.length;e<Ka;e++){var p=$.trim(a[e]);if(p==="/* _optimizely_variation_url_end */")c=!0;else if(p!==""){var m=mb.exec(p);if(m&&m.length===11){var N=m[2]?m[2].split(" "):[],p=m[4]?m[4].split(" "):[],O=m[6]?m[6]:"substring",u=m[8]?m[8].split(" "):[],m=m[10]?m[10].split(" "):[];N.length>0&&(c=Tb(N,u,O),c=db(c));c&&p.length>0&&(c=Tb(p,
m,O),c=!db(c))}else c&&b.push(p)}}a=b.join("\n");Ub(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 ub(a){var b=i;n(x,function(c){if(a==c.h)b=c.id});return b}function wa(a){var b=[],c=!Ia(a),a=a||[];n(x,function(d){(c||z(a,d.h))&&b.push(d.id)});return b}function vb(a){var b;if(b===!0||!bb(a))w[a]=!0,ja()}function ea(){var a={};n(x,function(b){var c=F(b.id);a[c]=b.id});n(w,function(b){a[b]="0"});P("optimizelyBuckets",Gb(a),31536E4)}
function ja(){n(Vb,function(a){a()})}
function Sb(a,b,c,d,e){var f=t(a,"events")||{};n(f,function(c,d){b.push({j:d,f:c,type:"event '"+d+"' (experiment "+a+")",i:!0})});var f=t(a,"css")||"",g=t(a,"code")||"",l=t(a,"html")||"";l&&c.push({code:'$("body").append("<div style=\'display:none\'>'+l.replace(/([\f\n\r\t\\'"])/g,"\\$1")+'</div>");',f:"body",type:"global html (experiment "+a+")",i:!0});f&&c.push({code:'$("body").append("<style>'+f.replace(/([\f\n\r\t\\'"])/g,"\\$1")+'</style>");',f:"body",type:"global css (experiment "+a+")",i:!0});
g&&Ub(g,d,e)}
function Ub(a,b,c){if(a.indexOf("_optimizely_redirect")!==-1)b.push({code:a,type:"code forced (redirect)"});else{for(var a=a.split("\n"),d=!1,e=[],f=[];a.length>0;){var g=Na(a.shift()),l=f.length>0;if(g)if(g.indexOf("_optimizely_evaluate=force")!==-1)d=!0;else if(g.indexOf("_optimizely_evaluate=safe")!==-1)d=!1;else if(d)e.push(g);else{if(!l){var q=Wb.exec(g),qa=[];q?(qa.push(q[1]),(q=Xb.exec(g))&&q.length>4&&qa.push(q[4]),c.push({code:g,f:qa,type:"safe jquery",i:!0})):l=!0}l&&f.push(g)}}e.length>0&&
b.push({code:e.join("\n"),type:"forced evaluation"});f.length>0&&c.push({code:f.join("\n"),type:"safe non-jquery",M:!0})}}function Tb(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 Vb=[],w={},Wb=/^\$j?\(['"](.+?)['"]\)\..+;\s*$/,Xb=/^\$j?\(['"](.+?)['"]\)\.detach\(\)\.(appendTo|insertAfter|insertBefore|prependTo)\(['"](.+?)['"]\);\s*$/,ia={},x=[];function B(a,b,c){Yb.push({z:new Date,w:a,message:b,m:c||!1});Zb&&sa()}function sa(){H&&(n(Yb,function(a){if(!a.F&&(!a.m||a.m===tb)){var b=+a.z;G(a.w,a.message+(" [time "+($b?b-$b:0)+" +"+(ac?b-ac:0)+"]"));ac=b;$b||($b=b);a.F=!0}}),Zb=!0)}var ac=i,$b=i,Yb=[],Zb=!1;var v={};v.r=function(a,b){var c={},c=b&&k(b)?{revenue:Number(b)}:b;v.e(a,"custom",c)};v.e=function(a,b,c){c=c||{};S&&(k(c.revenue)?ra(a,{value:c.revenue}):ra(a));na&&(v.k.push({name:a,type:b,options:c}),v.q&&v.n(),B("Tracker","Tracking event '"+a+"'"))};v.A=function(){$("html").one("mousedown",Ha(v.e,"engagement"))};v.B=function(a){return function(){v.I(a)}};
v.l=function(){var a=L("optimizelyPendingLogEvents")||"[]",b=[];try{b=M(a)}catch(c){}if(D(b))for(var a=0,d=b.length;a<d;a++){var e=b[a];if(typeof e!=="string"){b=[];break}else try{M(e);b=[];break}catch(f){}}else b=[];return b};v.G=function(a,b){var c=new Image,d=Ta("log_host");c.onload=b;c.src=d+"/event?"+a};v.I=function(a){for(var b=v.l(),c=0,d=b.length;c<d;c++)if(b[c]===a){b.splice(c,1);break}v.p(b)};v.k=[];v.q=!1;
v.n=function(){var a=["a="+I("id"),"y="+!!I("ip_anonymization")];ha&&a.push("override=true");n(wa(),function(b){var c=F(b);a.push("x"+c+"="+b)});a.push("f="+Oa().join(","));var b=a.join("&"),c=[];n(v.k,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="+ib());b.push("t="+ +new Date);c.push(b.join("&"));if(a.type==="custom")try{v.L(a.name)}catch(d){}});var d=c.concat(v.l());
v.p(d);d=v.o?c:d;v.o=!0;for(var e=0,f=d.length;e<f;e++){var g=d[e];v.G(b+"&"+g,v.B(g))}v.k=[];v.q=!0};v.p=function(a){for(var b=Gb(a);b.length>1536;)a=a.slice(0,-1),b=Gb(a);P("optimizelyPendingLogEvents",b,15)};
v.L=function(a){var b=ib(),c=L("optimizelyCustomEvents")||"{}";try{c=M(c)}catch(d){c={}}var e=c[b]||(c[b]=[]),e=D(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];P("optimizelyCustomEvents",Gb(c),31536E4)};v.o=!1;var X;function fb(){function a(){return X.u}X=X||qb();fb=a;return a()}function jb(){var a="";try{a=navigator.userLanguage||window.navigator.language,a=a.toLowerCase()}catch(b){a=""}return a}function gb(){function a(){return X.v}X=X||qb();gb=a;return a()}function ib(){var a=L("optimizelyEndUserId");a||(a="oeu"+ +new Date+"r"+Math.random(),P("optimizelyEndUserId",a,31536E4));return a}function hb(){function a(){return X.H}X=X||qb();hb=a;return a()}var kb=h;function bc(a){return function(b){if(typeof b==="object"&&cc()){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 cc(){for(var a in{})return!0;return!1};var Y=$;Y.fn.attr=bc(Y.fn.attr);Y.fn.css=bc(Y.fn.css);Y.fn.extend=bc(Y.fn.extend);Y.each=function(){var a=Y.each;return function(b,c,d){if((b.length===h||Y.isFunction(b))&&cc())if(d)for(var e in b){if(b.hasOwnProperty(e)&&c.apply(b[e],d)===!1)break}else for(e in b){if(b.hasOwnProperty(e)&&!c.call(b[e],e,b[e])===!1)break}else a.apply(this,arguments);return b}}();
Y.fn.D=function(){var a=Y.fn.D;return function(b,c,d){return typeof b==="string"&&c&&Y.type(c)==="object"&&cc()?(b=new a(b,h,d),b.attr(c),b):new a(b,c,d)}}();B("Main","Started, revision "+I("revision"));
(function(){var a=Ya(),b=/x(\d+)/,c=!1;n(a,function(a,d){var g=b.exec(a);if(g&&(c=!0,g=g[1],d!=="-1")){var l=Za(g,d.split("_"));C(l,"query",!0);Wa.push(g)}});if(a.opt_out==="true"||a.opt_out==="false")P("optimizelyOptOut",a.opt_out,31536E4),P("optimizelyBuckets",a.opt_out,31536E4),a.opt_out==="true"&&alert("You have successfully opted out of Optimizely for this domain.");j=a.disable!=="true"&&a.opt_out!=="true"&&L("optimizelyOptOut")!=="true";S=(a.preview||S)&&j&&!a.cross_browser;T=a.load_script;
H=a.log==="true";tb=a.verbose==="true";na=!c||a.force_tracking==="true";a.client==="false"&&(j=!1,T="js/"+I("id")+".js");if(T){var d=!1;n($a,function(a){if(T.substring(0,a.length)==a)return d=!0});d||(T="")}})();var dc=document.location.hostname,Z=dc.split("."),ec=dc,fc=Z[Z.length-1];Z.length>2&&Z[Z.length-2]==="appspot"&&fc==="com"?ec=Z[Z.length-3]+".appspot.com":Z.length>1&&Ja(fc,lb)&&(ec=Z[Z.length-2]+"."+fc);Q=ec;G("Cookie","Guessed public suffix: %s",Q);
I("public_suffix")&&(R=L("optimizelyPublicSuffix")||"",G("Cookie","Public suffix (from cookie): %s",R),R||(G("Cookie","Making request for public suffix on DOM ready"),$(Ha(pb,dc))));var gc=L("optimizelyBuckets"),kb=gc!==h&&gc!==i;
(function(){var a=L("optimizelyBuckets");if(a){try{a=M(a)}catch(b){a={}}var c={};n(a,function(a,b){var b=String(b),f=F(b);y(f).length>1&&b.indexOf("_")===-1?(c[f]=c[f]||{},c[f][a]=b):b!=="0"?C(b,"cookie",!1):vb(a)});n(c,function(a,b){var c;a:{c=[];for(var g=y(a),l=0;l<g.length;l++){var q=b[g[l]];if(q==="0"){c="";break a}c.push(q)}c=c.join("_")}c.length>0?C(c,"cookie",!1):vb(a)})}})();
(function(){Vb.push(ta);var a={$:$,activeExperiments:Aa||[],allExperiments:Ba(),all_experiments:Ba(),allVariations:I("variations")||{},revision:I("revision"),variationIdsMap:ua,variation_map:E,variationMap:E,variationNamesMap:va},b={},c=Ha(oa,b);za(b,{acknowledgePreviewMode:Va,activate:aa,bucketUser:ga,delayDomReadyEval:Eb,delayPageviewTracking:Ca,disable:ma,integrationPrefix:Nb,push:c,sc_activate:Hb,sc_svar:Ob,skipPageTracking:Ea,trackEvent:v.r});za(a,b);b=window.optimizely;D(b)&&n(b,function(a){c(a)});
window.optimizely=a})();B("Info","Is enabled: "+j);B("Info","Is previewing: "+S);B("Info","Script to load: "+(T||"none"));B("Info","Browser type: "+fb());B("Info","Browser version: "+gb());var hc=hb();hc!=="unknown"&&B("Info","Mobile browser type: "+hc);B("Info","Visitor type: "+(kb?"returning":"new"));B("Info","User ID: "+ib());T&&Ma(T);
j&&(n(o(),function(a){if(!Ja(a,U)&&ba(a)){B("Distributor","Going to distribute "+J(a));var b=ca(a),c=!1;S&&Wa.length>0&&!z(Wa,a)&&(B("Distributor","Not going to evaluate because of preview mode, for "+J(a)),c=!0,K[a]="it is not being previewed");b&&!c&&(U=U||[],U.push(a))}}),ea(),v.A(),Fa||(Da>0?setTimeout(function(){v.e(document.location.href)},Da):v.e(document.location.href)),v.n(),fa(),Mb());
H&&(n(w,function(a){var b=t(a,"name")||"";B("Plan","Ignore experiment '"+b+"' ("+a+")")}),n(x,function(a){var b=F(a.id),c=ya(a.id);B("Plan",J(b)+' in variation "'+c+'" ('+a.id+")")}));j&&(da(),ta(),sa());
if(S)window.optimizelyPreview=window.optimizelyPreview||[],B("Preview","Will load preview script"),$(document).ready(function(){var a="//optimizely.s3.amazonaws.com/js/"+I("id")+"_preview.js?account_id="+I("id")+"&no_cache="+Math.floor(1E9*Math.random());Ma(a);B("Preview","Now loading preview script "+a)});

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