/*
 jQuery JavaScript Library v1.6.1
 http://jquery.com/

 Copyright 2011, John Resig
 Dual licensed under the MIT or GPL Version 2 licenses.
 http://jquery.org/license

 Includes Sizzle.js
 http://sizzlejs.com/
 Copyright 2011, The Dojo Foundation
 Released under the MIT, BSD, and GPL Licenses.

 Date: Thu May 12 15:04:36 2011 -0400
 jQuery UI Effects 1.8.14

 Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 Dual licensed under the MIT or GPL Version 2 licenses.
 http://jquery.org/license

 http://docs.jquery.com/UI/Effects/
 jQuery Address Plugin v1.4
 http://www.asual.com/jquery/address/

 Copyright (c) 2009-2010 Rostislav Hristov
 Dual licensed under the MIT or GPL Version 2 licenses.
 http://jquery.org/license

 Date: 2011-05-04 14:22:12 +0300 (Wed, 04 May 2011)
 SWFObject v2.2 <http://code.google.com/p/swfobject/>
 is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>

 Cufon
 Copyright (c) 2011 Simo Kinnunen.
 Licensed under the MIT license.

 @version 1.10
*/
(function(g,j){function q(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function o(a){if(!Ba[a]){var d=b("<"+a+">").appendTo("body"),h=d.css("display");d.remove();if(h==="none"||h===""){fa||(fa=v.createElement("iframe"),fa.frameBorder=fa.width=fa.height=0);v.body.appendChild(fa);if(!ra||!fa.createElement)ra=(fa.contentWindow||fa.contentDocument).document,ra.write("<!doctype><html><body></body></html>");d=ra.createElement(a);ra.body.appendChild(d);h=b.css(d,"display");v.body.removeChild(fa)}Ba[a]=
h}return Ba[a]}function f(a,d){var h={};b.each(Ha.concat.apply([],Ha.slice(0,d)),function(){h[this]=a});return h}function s(){va=j}function l(){setTimeout(s,0);return va=b.now()}function y(){try{return new g.XMLHttpRequest}catch(a){}}function n(a,d,h,k){if(b.isArray(d))b.each(d,function(d,p){h||Xa.test(a)?k(a,p):n(a+"["+(typeof p=="object"||b.isArray(p)?d:"")+"]",p,h,k)});else if(!h&&d!=null&&typeof d=="object")for(var p in d)n(a+"["+p+"]",d[p],h,k);else k(a,d)}function t(a,d,b,k,p,z){p=p||d.dataTypes[0];
z=z||{};z[p]=!0;for(var p=a[p],c=0,g=p?p.length:0,e=a===Ca,f;c<g&&(e||!f);c++)f=p[c](d,b,k),typeof f=="string"&&(!e||z[f]?f=j:(d.dataTypes.unshift(f),f=t(a,d,b,k,f,z)));(e||!f)&&!z["*"]&&(f=t(a,d,b,k,"*",z));return f}function x(a){return function(d,h){var ha;typeof d!="string"&&(h=d,d="*");if(b.isFunction(h))for(var k=d.toLowerCase().split(Ia),p=0,z=k.length,c,g;p<z;p++)c=k[p],(g=/^\+/.test(c))&&(c=c.substr(1)||"*"),ha=a[c]=a[c]||[],c=ha,c[g?"unshift":"push"](h)}}function r(a,d,h){var k=d==="width"?
a.offsetWidth:a.offsetHeight;if(h==="border")return k;b.each(d==="width"?Ya:Za,function(){h||(k-=parseFloat(b.css(a,"padding"+this))||0);h==="margin"?k+=parseFloat(b.css(a,"margin"+this))||0:k-=parseFloat(b.css(a,"border"+this+"Width"))||0});return k}function c(a,d){d.src?b.ajax({url:d.src,async:!1,dataType:"script"}):b.globalEval((d.text||d.textContent||d.innerHTML||"").replace($a,"/*$0*/"));d.parentNode&&d.parentNode.removeChild(d)}function e(a){b.nodeName(a,"input")?m(a):a.getElementsByTagName&&
b.grep(a.getElementsByTagName("input"),m)}function m(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function w(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function I(a,d){var h;if(d.nodeType===1){d.clearAttributes&&d.clearAttributes();d.mergeAttributes&&d.mergeAttributes(a);h=d.nodeName.toLowerCase();if(h==="object")d.outerHTML=a.outerHTML;else if(h!=="input"||a.type!=="checkbox"&&a.type!=="radio")if(h===
"option")d.selected=a.defaultSelected;else{if(h==="input"||h==="textarea")d.defaultValue=a.defaultValue}else a.checked&&(d.defaultChecked=d.checked=a.checked),d.value!==a.value&&(d.value=a.value);d.removeAttribute(b.expando)}}function V(a,d){if(d.nodeType===1&&b.hasData(a)){var h=b.expando,k=b.data(a),p=b.data(d,k);if(k=k[h]){var z=k.events,p=p[h]=b.extend({},k);if(z){delete p.handle;p.events={};for(var c in z){h=0;for(k=z[c].length;h<k;h++)b.event.add(d,c+(z[c][h].namespace?".":"")+z[c][h].namespace,
z[c][h],z[c][h].data)}}}}}function D(a,d,h){d=d||0;if(b.isFunction(d))return b.grep(a,function(a,b){return!!d.call(a,b,a)===h});if(d.nodeType)return b.grep(a,function(a){return a===d===h});if(typeof d=="string"){var k=b.grep(a,function(a){return a.nodeType===1});if(ab.test(d))return b.filter(d,k,!h);d=b.filter(d,k)}return b.grep(a,function(a){return b.inArray(a,d)>=0===h})}function H(a,d){return(a&&a!=="*"?a+".":"")+d.replace(wa,"`").replace(sa,"&")}function X(a){var d,h,k,p,z,c,g,e,f,j,l,m=[];p=
[];z=b._data(this,"events");if(!(a.liveFired===this||!z||!z.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(l=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var r=z.live.slice(0);for(g=0;g<r.length;g++)z=r[g],z.origType.replace(R,"")===a.type?p.push(z.selector):r.splice(g--,1);p=b(a.target).closest(p,a.currentTarget);e=0;for(f=p.length;e<f;e++){j=p[e];for(g=0;g<r.length;g++)if(z=r[g],j.selector===z.selector&&(!l||l.test(z.namespace))&&
!j.elem.disabled){c=j.elem;k=null;if(z.preType==="mouseenter"||z.preType==="mouseleave")a.type=z.preType,(k=b(a.relatedTarget).closest(z.selector)[0])&&b.contains(c,k)&&(k=c);(!k||k!==c)&&m.push({elem:c,handleObj:z,level:j.level})}}e=0;for(f=m.length;e<f;e++){p=m[e];if(h&&p.level>h)break;a.currentTarget=p.elem;a.data=p.handleObj.data;a.handleObj=p.handleObj;l=p.handleObj.origHandler.apply(p.elem,arguments);if(l===!1||a.isPropagationStopped())if(h=p.level,l===!1&&(d=!1),a.isImmediatePropagationStopped())break}return d}}
function N(a,d,h){var k=b.extend({},h[0]);k.type=a;k.originalEvent={};k.liveFired=j;b.event.handle.call(d,k);k.isDefaultPrevented()&&h[0].preventDefault()}function M(){return!0}function B(){return!1}function W(a,d,h){var k=d+"defer",p=d+"queue",z=d+"mark",c=b.data(a,k,j,!0);c&&(h==="queue"||!b.data(a,p,j,!0))&&(h==="mark"||!b.data(a,z,j,!0))&&setTimeout(function(){!b.data(a,p,j,!0)&&!b.data(a,z,j,!0)&&(b.removeData(a,k,!0),c.resolve())},0)}function K(a){for(var d in a)if(d!=="toJSON")return!1;return!0}
function Z(a,d,h){if(h===j&&a.nodeType===1)if(h="data-"+d.replace(P,"$1-$2").toLowerCase(),h=a.getAttribute(h),typeof h=="string"){try{h=h==="true"?!0:h==="false"?!1:h==="null"?null:b.isNaN(h)?u.test(h)?b.parseJSON(h):h:parseFloat(h)}catch(k){}b.data(a,d,h)}else h=j;return h}var v=g.document,J=g.navigator,E=g.location,b=function(){function a(){if(!d.isReady){try{v.documentElement.doScroll("left")}catch(b){setTimeout(a,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,p)},b=g.jQuery,
k=g.$,p,c=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,e=/\S/,f=/^\s+/,l=/\s+$/,r=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,u=/^[\],:{}\s]*$/,F=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,G=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,w=/(?:^|:|,)(?:\s*\[)+/g,aa=/(webkit)[ \/]([\w.]+)/,C=/(opera)(?:.*version)?[ \/]([\w.]+)/,n=/(msie) ([\w.]+)/,o=/(mozilla)(?:.*? rv:([\w.]+))?/,ha=J.userAgent,xa,s,y=Object.prototype.toString,Da=Object.prototype.hasOwnProperty,L=Array.prototype.push,P=Array.prototype.slice,
q=String.prototype.trim,t=Array.prototype.indexOf,T={};d.fn=d.prototype={constructor:d,init:function(a,b,h){var k,p;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!b&&v.body)return this.context=v,this[0]=v.body,this.selector=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?k=c.exec(a):k=[null,a,null];if(k&&(k[1]||!b)){if(k[1])return p=(b=b instanceof d?b[0]:b)?b.ownerDocument||b:v,(h=m.exec(a))?d.isPlainObject(b)?
(a=[v.createElement(h[1])],d.fn.attr.call(a,b,!0)):a=[p.createElement(h[1])]:(h=d.buildFragment([k[1]],[p]),a=(h.cacheable?d.clone(h.fragment):h.fragment).childNodes),d.merge(this,a);if((b=v.getElementById(k[2]))&&b.parentNode){if(b.id!==k[2])return h.find(a);this.length=1;this[0]=b}this.context=v;this.selector=a;return this}return!b||b.jquery?(b||h).find(a):this.constructor(b).find(a)}if(d.isFunction(a))return h.ready(a);a.selector!==j&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,
this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return P.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,h){var k=this.constructor();d.isArray(a)?L.apply(k,a):d.merge(k,a);k.prevObject=this;k.context=this.context;b==="find"?k.selector=this.selector+(this.selector?" ":"")+h:b&&(k.selector=this.selector+"."+b+"("+h+")");return k},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady();
xa.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(P.apply(this,arguments),"slice",P.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(d,b){return a.call(d,b,d)}))},end:function(){return this.prevObject||this.constructor(null)},push:L,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a,
b,h,k,p,c,z=arguments[0]||{},g=1,ha=arguments.length,e=!1;typeof z=="boolean"&&(e=z,z=arguments[1]||{},g=2);typeof z!="object"&&!d.isFunction(z)&&(z={});for(ha===g&&(z=this,--g);g<ha;g++)if((a=arguments[g])!=null)for(b in a)h=z[b],k=a[b],z!==k&&(e&&k&&(d.isPlainObject(k)||(p=d.isArray(k)))?(p?(p=!1,c=h&&d.isArray(h)?h:[]):c=h&&d.isPlainObject(h)?h:{},z[b]=d.extend(e,c,k)):k!==j&&(z[b]=k));return z};d.extend({noConflict:function(a){g.$===d&&(g.$=k);a&&g.jQuery===d&&(g.jQuery=b);return d},isReady:!1,
readyWait:1,holdReady:function(a){a?d.readyWait++:d.ready(!0)},ready:function(a){if(a===!0&&!--d.readyWait||a!==!0&&!d.isReady){if(!v.body)return setTimeout(d.ready,1);d.isReady=!0;a!==!0&&--d.readyWait>0||(xa.resolveWith(v,[d]),d.fn.trigger&&d(v).trigger("ready").unbind("ready"))}},bindReady:function(){if(!xa){xa=d._Deferred();if(v.readyState==="complete")return setTimeout(d.ready,1);if(v.addEventListener)v.addEventListener("DOMContentLoaded",s,!1),g.addEventListener("load",d.ready,!1);else if(v.attachEvent){v.attachEvent("onreadystatechange",
s);g.attachEvent("onload",d.ready);var b=!1;try{b=g.frameElement==null}catch(h){}v.documentElement.doScroll&&b&&a()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!r.test(a)||isNaN(a)},type:function(a){return a==null?String(a):T[y.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;
if(a.constructor&&!Da.call(a,"constructor")&&!Da.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var b in a);return b===j||Da.call(a,b)},isEmptyObject:function(a){for(var d in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!="string"||!a)return null;a=d.trim(a);if(g.JSON&&g.JSON.parse)return g.JSON.parse(a);if(u.test(a.replace(F,"@").replace(G,"]").replace(w,"")))return(new Function("return "+a))();d.error("Invalid JSON: "+a)},parseXML:function(a,b,h){g.DOMParser?
(h=new DOMParser,b=h.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a));h=b.documentElement;(!h||!h.nodeName||h.nodeName==="parsererror")&&d.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&e.test(a)&&(g.execScript||function(a){g.eval.call(g,a)})(a)},nodeName:function(a,d){return a.nodeName&&a.nodeName.toUpperCase()===d.toUpperCase()},each:function(a,b,h){var k,p=0,z=a.length,c=z===j||d.isFunction(a);if(h)if(c)for(k in a){if(b.apply(a[k],
h)===!1)break}else for(;p<z;){if(b.apply(a[p++],h)===!1)break}else if(c)for(k in a){if(b.call(a[k],k,a[k])===!1)break}else for(;p<z;)if(b.call(a[p],p,a[p++])===!1)break;return a},trim:q?function(a){return a==null?"":q.call(a)}:function(a){return a==null?"":(a+"").replace(f,"").replace(l,"")},makeArray:function(a,b){var h=b||[];if(a!=null){var k=d.type(a);a.length==null||k==="string"||k==="function"||k==="regexp"||d.isWindow(a)?L.call(h,a):d.merge(h,a)}return h},inArray:function(a,d){if(t)return t.call(d,
a);for(var b=0,h=d.length;b<h;b++)if(d[b]===a)return b;return-1},merge:function(a,d){var b=a.length,h=0;if(typeof d.length=="number")for(var k=d.length;h<k;h++)a[b++]=d[h];else for(;d[h]!==j;)a[b++]=d[h++];a.length=b;return a},grep:function(a,d,b){for(var h=[],k,b=!!b,p=0,z=a.length;p<z;p++)k=!!d(a[p],p),b!==k&&h.push(a[p]);return h},map:function(a,b,h){var k,p,z=[],c=0,g=a.length;if(a instanceof d||g!==j&&typeof g=="number"&&(g>0&&a[0]&&a[g-1]||g===0||d.isArray(a)))for(;c<g;c++)k=b(a[c],c,h),k!=
null&&(z[z.length]=k);else for(p in a)k=b(a[p],p,h),k!=null&&(z[z.length]=k);return z.concat.apply([],z)},guid:1,proxy:function(a,b){if(typeof b=="string")var h=a[b],b=a,a=h;if(!d.isFunction(a))return j;var k=P.call(arguments,2),h=function(){return a.apply(b,k.concat(P.call(arguments)))};h.guid=a.guid=a.guid||h.guid||d.guid++;return h},access:function(a,b,h,k,p,z){var c=a.length;if(typeof b=="object"){for(var g in b)d.access(a,g,b[g],k,p,h);return a}if(h!==j){k=!z&&k&&d.isFunction(h);for(g=0;g<c;g++)p(a[g],
b,k?h.call(a[g],g,p(a[g],b)):h,z);return a}return c?p(a[0],b):j},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=aa.exec(a)||C.exec(a)||n.exec(a)||a.indexOf("compatible")<0&&o.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(d,b){return new a.fn.init(d,b)}d.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(h,k){k&&k instanceof d&&!(k instanceof a)&&(k=a(k));return d.fn.init.call(this,
h,k,b)};a.fn.init.prototype=a.fn;var b=a(v);return a},browser:{}});d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,d){T["[object "+d+"]"]=d.toLowerCase()});ha=d.uaMatch(ha);ha.browser&&(d.browser[ha.browser]=!0,d.browser.version=ha.version);d.browser.webkit&&(d.browser.safari=!0);e.test(" ")&&(f=/^[\s\xA0]+/,l=/[\s\xA0]+$/);p=d(v);v.addEventListener?s=function(){v.removeEventListener("DOMContentLoaded",s,!1);d.ready()}:v.attachEvent&&(s=function(){v.readyState===
"complete"&&(v.detachEvent("onreadystatechange",s),d.ready())});return d}(),Q="done fail isResolved isRejected promise then always pipe".split(" "),F=[].slice;b.extend({_Deferred:function(){var a=[],d,h,k,p={done:function(){if(!k){var h=arguments,c,g,e,f,j;d&&(j=d,d=0);c=0;for(g=h.length;c<g;c++)e=h[c],f=b.type(e),f==="array"?p.done.apply(p,e):f==="function"&&a.push(e);j&&p.resolveWith(j[0],j[1])}return this},resolveWith:function(b,p){if(!k&&!d&&!h){p=p||[];h=1;try{for(;a[0];)a.shift().apply(b,p)}finally{d=
[b,p],h=0}}return this},resolve:function(){p.resolveWith(this,arguments);return this},isResolved:function(){return!!h||!!d},cancel:function(){k=1;a=[];return this}};return p},Deferred:function(a){var d=b._Deferred(),h=b._Deferred(),k;b.extend(d,{then:function(a,b){d.done(a).fail(b);return this},always:function(){return d.done.apply(d,arguments).fail.apply(this,arguments)},fail:h.done,rejectWith:h.resolveWith,reject:h.resolve,isRejected:h.isResolved,pipe:function(a,h){return b.Deferred(function(k){b.each({done:[a,
"resolve"],fail:[h,"reject"]},function(a,h){var p=h[0],c=h[1],z;b.isFunction(p)?d[a](function(){(z=p.apply(this,arguments))&&b.isFunction(z.promise)?z.promise().then(k.resolve,k.reject):k[c](z)}):d[a](k[c])})}).promise()},promise:function(a){if(a==null){if(k)return k;k=a={}}for(var b=Q.length;b--;)a[Q[b]]=d[Q[b]];return a}});d.done(h.cancel).fail(d.cancel);delete d.cancel;a&&a.call(d,d);return d},when:function(a){function d(a){return function(d){h[a]=arguments.length>1?F.call(arguments,0):d;--c||
g.resolveWith(g,F.call(h,0))}}var h=arguments,k=0,p=h.length,c=p,g=p<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(p>1){for(;k<p;k++)h[k]&&b.isFunction(h[k].promise)?h[k].promise().then(d(k),g.reject):--c;c||g.resolveWith(g,h)}else g!==a&&g.resolveWith(g,p?[a]:[]);return g.promise()}});b.support=function(){var a=v.createElement("div"),d=v.documentElement,b,k,p,c,g,e,f;a.setAttribute("className","t");a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
b=a.getElementsByTagName("*");k=a.getElementsByTagName("a")[0];if(!b||!b.length||!k)return{};p=v.createElement("select");c=p.appendChild(v.createElement("option"));b=a.getElementsByTagName("input")[0];e={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:/^0.55$/.test(k.style.opacity),cssFloat:!!k.style.cssFloat,
checkOn:b.value==="on",optSelected:c.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};b.checked=!0;e.noCloneChecked=b.cloneNode(!0).checked;p.disabled=!0;e.optDisabled=!c.disabled;try{delete a.test}catch(j){e.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function bb(){e.noCloneEvent=!1;a.detachEvent("onclick",
bb)}),a.cloneNode(!0).fireEvent("onclick"));b=v.createElement("input");b.value="t";b.setAttribute("type","radio");e.radioValue=b.value==="t";b.setAttribute("checked","checked");a.appendChild(b);k=v.createDocumentFragment();k.appendChild(a.firstChild);e.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";k=v.createElement("body");p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(f in p)k.style[f]=p[f];k.appendChild(a);
d.insertBefore(k,d.firstChild);e.appendChecked=b.checked;e.boxModel=a.offsetWidth===2;"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,e.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",e.shrinkWrapBlocks=a.offsetWidth!==2);a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";p=a.getElementsByTagName("td");b=p[0].offsetHeight===0;p[0].style.display="";p[1].style.display="none";e.reliableHiddenOffsets=
b&&p[0].offsetHeight===0;a.innerHTML="";v.defaultView&&v.defaultView.getComputedStyle&&(g=v.createElement("div"),g.style.width="0",g.style.marginRight="0",a.appendChild(g),e.reliableMarginRight=(parseInt((v.defaultView.getComputedStyle(g,null)||{marginRight:0}).marginRight,10)||0)===0);k.innerHTML="";d.removeChild(k);if(a.attachEvent)for(f in{submit:1,change:1,focusin:1})d="on"+f,(b=d in a)||(a.setAttribute(d,"return;"),b=typeof a[d]=="function"),e[f+"Bubbles"]=b;return e}();b.boxModel=b.support.boxModel;
var u=/^(?:\{.*\}|\[.*\])$/,P=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?b.cache[a[b.expando]]:a[b.expando];return!!a&&!K(a)},data:function(a,d,h,k){if(b.acceptData(a)){var p=b.expando,c=typeof d=="string",g=a.nodeType,e=g?b.cache:a,f=g?a[b.expando]:a[b.expando]&&b.expando;if(f&&(!k||!f||e[f][p])||!(c&&h===j)){f||(g?a[b.expando]=
f=++b.uuid:f=b.expando);e[f]||(e[f]={},g||(e[f].toJSON=b.noop));if(typeof d=="object"||typeof d=="function")k?e[f][p]=b.extend(e[f][p],d):e[f]=b.extend(e[f],d);a=e[f];k&&(a[p]||(a[p]={}),a=a[p]);h!==j&&(a[b.camelCase(d)]=h);return d==="events"&&!a[d]?a[p]&&a[p].events:c?a[b.camelCase(d)]:a}}},removeData:function(a,d,h){if(b.acceptData(a)){var k=b.expando,p=a.nodeType,c=p?b.cache:a,e=p?a[b.expando]:b.expando;if(c[e]){if(d){var f=h?c[e][k]:c[e];if(f&&(delete f[d],!K(f)))return}if(h&&(delete c[e][k],
!K(c[e])))return;d=c[e][k];b.support.deleteExpando||c!=g?delete c[e]:c[e]=null;d?(c[e]={},p||(c[e].toJSON=b.noop),c[e][k]=d):p&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,d,h){return b.data(a,d,h,!0)},acceptData:function(a){if(a.nodeName){var d=b.noData[a.nodeName.toLowerCase()];if(d)return d!==!0&&a.getAttribute("classid")===d}return!0}});b.fn.extend({data:function(a,d){var h=null;if(typeof a=="undefined"){if(this.length&&
(h=b.data(this[0]),this[0].nodeType===1))for(var k=this[0].attributes,p,c=0,g=k.length;c<g;c++)p=k[c].name,p.indexOf("data-")===0&&(p=b.camelCase(p.substring(5)),Z(this[0],p,h[p]));return h}if(typeof a=="object")return this.each(function(){b.data(this,a)});var e=a.split(".");e[1]=e[1]?"."+e[1]:"";return d===j?(h=this.triggerHandler("getData"+e[1]+"!",[e[0]]),h===j&&this.length&&(h=b.data(this[0],a),h=Z(this[0],a,h)),h===j&&e[1]?this.data(e[0]):h):this.each(function(){var h=b(this),k=[e[0],d];h.triggerHandler("setData"+
e[1]+"!",k);b.data(this,a,d);h.triggerHandler("changeData"+e[1]+"!",k)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({_mark:function(a,d){a&&(d=(d||"fx")+"mark",b.data(a,d,(b.data(a,d,j,!0)||0)+1,!0))},_unmark:function(a,d,h){a!==!0&&(h=d,d=a,a=!1);if(d){var h=h||"fx",k=h+"mark";(a=a?0:(b.data(d,k,j,!0)||1)-1)?b.data(d,k,a,!0):(b.removeData(d,k,!0),W(d,h,"mark"))}},queue:function(a,d,h){if(a){var d=(d||"fx")+"queue",k=b.data(a,d,j,!0);h&&(!k||b.isArray(h)?
k=b.data(a,d,b.makeArray(h),!0):k.push(h));return k||[]}},dequeue:function(a,d){var d=d||"fx",h=b.queue(a,d),k=h.shift();k==="inprogress"&&(k=h.shift());k&&(d==="fx"&&h.unshift("inprogress"),k.call(a,function(){b.dequeue(a,d)}));h.length||(b.removeData(a,d+"queue",!0),W(a,d,"queue"))}});b.fn.extend({queue:function(a,d){typeof a!="string"&&(d=a,a="fx");return d===j?b.queue(this[0],a):this.each(function(){var h=b.queue(this,a,d);a==="fx"&&h[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,
a)})},delay:function(a,d){a=b.fx?b.fx.speeds[a]||a:a;d=d||"fx";return this.queue(d,function(){var h=this;setTimeout(function(){b.dequeue(h,d)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function d(){--c||h.resolveWith(k,[k])}typeof a!="string"&&(a=j);var a=a||"fx",h=b.Deferred(),k=this,p=k.length,c=1,g=a+"defer",e=a+"queue";a+="mark";for(var f;p--;)if(f=b.data(k[p],g,j,!0)||(b.data(k[p],e,j,!0)||b.data(k[p],a,j,!0))&&b.data(k[p],g,b._Deferred(),!0))c++,f.done(d);
d();return h.promise()}});var C=/[\n\t\r]/g,S=/\s+/,O=/\r/g,ca=/^(?:button|input)$/i,A=/^(?:button|input|object|select|textarea)$/i,aa=/^a(?:rea)?$/i,G=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,T=/\:/,Y,da;b.fn.extend({attr:function(a,d){return b.access(this,a,d,!0,b.attr)},removeAttr:function(a){return this.each(function(){b.removeAttr(this,a)})},prop:function(a,d){return b.access(this,a,d,!0,b.prop)},removeProp:function(a){a=
b.propFix[a]||a;return this.each(function(){try{this[a]=j,delete this[a]}catch(d){}})},addClass:function(a){if(b.isFunction(a))return this.each(function(d){var h=b(this);h.addClass(a.call(this,d,h.attr("class")||""))});if(a&&typeof a=="string")for(var d=(a||"").split(S),h=0,k=this.length;h<k;h++){var p=this[h];if(p.nodeType===1)if(p.className){for(var c=" "+p.className+" ",g=p.className,e=0,f=d.length;e<f;e++)c.indexOf(" "+d[e]+" ")<0&&(g+=" "+d[e]);p.className=b.trim(g)}else p.className=a}return this},
removeClass:function(a){if(b.isFunction(a))return this.each(function(d){var h=b(this);h.removeClass(a.call(this,d,h.attr("class")))});if(a&&typeof a=="string"||a===j)for(var d=(a||"").split(S),h=0,k=this.length;h<k;h++){var p=this[h];if(p.nodeType===1&&p.className)if(a){for(var c=(" "+p.className+" ").replace(C," "),g=0,e=d.length;g<e;g++)c=c.replace(" "+d[g]+" "," ");p.className=b.trim(c)}else p.className=""}return this},toggleClass:function(a,d){var h=typeof a,k=typeof d=="boolean";return b.isFunction(a)?
this.each(function(h){var k=b(this);k.toggleClass(a.call(this,h,k.attr("class"),d),d)}):this.each(function(){if(h==="string")for(var p,c=0,g=b(this),e=d,f=a.split(S);p=f[c++];)e=k?e:!g.hasClass(p),g[e?"addClass":"removeClass"](p);else if(h==="undefined"||h==="boolean")this.className&&b._data(this,"__className__",this.className),this.className=this.className||a===!1?"":b._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",d=0,b=this.length;d<b;d++)if((" "+this[d].className+
" ").replace(C," ").indexOf(a)>-1)return!0;return!1},val:function(a){var d,h,k=this[0];if(!arguments.length)return k?(d=b.valHooks[k.nodeName.toLowerCase()]||b.valHooks[k.type])&&"get"in d&&(h=d.get(k,"value"))!==j?h:(k.value||"").replace(O,""):j;var p=b.isFunction(a);return this.each(function(h){var k=b(this),c;if(this.nodeType===1&&(p?c=a.call(this,h,k.val()):c=a,c==null?c="":typeof c=="number"?c+="":b.isArray(c)&&(c=b.map(c,function(a){return a==null?"":a+""})),d=b.valHooks[this.nodeName.toLowerCase()]||
b.valHooks[this.type],!d||!("set"in d)||d.set(this,c,"value")===j))this.value=c})}});b.extend({valHooks:{option:{get:function(a){var d=a.attributes.value;return!d||d.specified?a.value:a.text}},select:{get:function(a){var d,h=a.selectedIndex,k=[],p=a.options,a=a.type==="select-one";if(h<0)return null;for(var c=a?h:0,g=a?h+1:p.length;c<g;c++)if(d=p[c],d.selected&&(b.support.optDisabled?!d.disabled:d.getAttribute("disabled")===null)&&(!d.parentNode.disabled||!b.nodeName(d.parentNode,"optgroup"))){d=
b(d).val();if(a)return d;k.push(d)}return a&&!k.length&&p.length?b(p[h]).val():k},set:function(a,d){var h=b.makeArray(d);b(a).find("option").each(function(){this.selected=b.inArray(b(this).val(),h)>=0});h.length||(a.selectedIndex=-1);return h}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,d,h,k){var p=a.nodeType;if(!a||p===3||p===8||p===2)return j;if(k&&d in b.attrFn)return b(a)[d](h);if(!("getAttribute"in a))return b.prop(a,
d,h);var c,d=(p=p!==1||!b.isXMLDoc(a))&&b.attrFix[d]||d;(k=b.attrHooks[d])||(!G.test(d)||typeof h!="boolean"&&h!==j&&h.toLowerCase()!==d.toLowerCase()?Y&&(b.nodeName(a,"form")||T.test(d))&&(k=Y):k=da);if(h!==j){if(h===null)return b.removeAttr(a,d),j;if(k&&"set"in k&&p&&(c=k.set(a,h,d))!==j)return c;a.setAttribute(d,""+h);return h}if(k&&"get"in k&&p)return k.get(a,d);c=a.getAttribute(d);return c===null?j:c},removeAttr:function(a,d){var h;a.nodeType===1&&(d=b.attrFix[d]||d,b.support.getSetAttribute?
a.removeAttribute(d):(b.attr(a,d,""),a.removeAttributeNode(a.getAttributeNode(d))),G.test(d)&&(h=b.propFix[d]||d)in a&&(a[h]=!1))},attrHooks:{type:{set:function(a,d){if(ca.test(a.nodeName)&&a.parentNode)b.error("type property can't be changed");else if(!b.support.radioValue&&d==="radio"&&b.nodeName(a,"input")){var h=a.value;a.setAttribute("type",d);h&&(a.value=h);return d}}},tabIndex:{get:function(a){var d=a.getAttributeNode("tabIndex");return d&&d.specified?parseInt(d.value,10):A.test(a.nodeName)||
aa.test(a.nodeName)&&a.href?0:j}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,d,h){var k=a.nodeType;if(!a||k===3||k===8||k===2)return j;var p,d=(k!==1||!b.isXMLDoc(a))&&b.propFix[d]||d,k=b.propHooks[d];return h!==j?k&&"set"in k&&(p=k.set(a,h,d))!==j?p:a[d]=
h:k&&"get"in k&&(p=k.get(a,d))!==j?p:a[d]},propHooks:{}});da={get:function(a,d){return a[b.propFix[d]||d]?d.toLowerCase():j},set:function(a,d,h){var k;d===!1?b.removeAttr(a,h):(k=b.propFix[h]||h,k in a&&(a[k]=d),a.setAttribute(h,h.toLowerCase()));return h}};b.attrHooks.value={get:function(a,d){return Y&&b.nodeName(a,"button")?Y.get(a,d):a.value},set:function(a,d,h){if(Y&&b.nodeName(a,"button"))return Y.set(a,d,h);a.value=d}};b.support.getSetAttribute||(b.attrFix=b.propFix,Y=b.attrHooks.name=b.valHooks.button=
{get:function(a,d){var b;return(b=a.getAttributeNode(d))&&b.nodeValue!==""?b.nodeValue:j},set:function(a,d,b){if(a=a.getAttributeNode(b))return a.nodeValue=d}},b.each(["width","height"],function(a,d){b.attrHooks[d]=b.extend(b.attrHooks[d],{set:function(a,b){if(b==="")return a.setAttribute(d,"auto"),b}})}));b.support.hrefNormalized||b.each(["href","src","width","height"],function(a,d){b.attrHooks[d]=b.extend(b.attrHooks[d],{get:function(a){a=a.getAttribute(d,2);return a===null?j:a}})});b.support.style||
(b.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||j},set:function(a,d){return a.style.cssText=""+d}});b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(){}}));b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(a,d){if(b.isArray(d))return a.checked=
b.inArray(b(a).val(),d)>=0}})});var R=/\.(.*)$/,ea=/^(?:textarea|input|select)$/i,wa=/\./g,sa=/ /g,la=/[^\w\s.|`]/g,ya=function(a){return a.replace(la,"\\$&")};b.event={add:function(a,d,h,k){if(a.nodeType!==3&&a.nodeType!==8){if(h===!1)h=B;else if(!h)return;var p,c;h.handler&&(p=h,h=p.handler);h.guid||(h.guid=b.guid++);if(c=b._data(a)){var g=c.events,e=c.handle;g||(c.events=g={});e||(c.handle=e=function(a){return typeof b!="undefined"&&(!a||b.event.triggered!==a.type)?b.event.handle.apply(e.elem,
arguments):j});e.elem=a;for(var d=d.split(" "),f,l=0,r;f=d[l++];){c=p?b.extend({},p):{handler:h,data:k};f.indexOf(".")>-1?(r=f.split("."),f=r.shift(),c.namespace=r.slice(0).sort().join(".")):(r=[],c.namespace="");c.type=f;c.guid||(c.guid=h.guid);var m=g[f],u=b.event.special[f]||{};if(!m&&(m=g[f]=[],!u.setup||u.setup.call(a,k,r,e)===!1))a.addEventListener?a.addEventListener(f,e,!1):a.attachEvent&&a.attachEvent("on"+f,e);u.add&&(u.add.call(a,c),c.handler.guid||(c.handler.guid=h.guid));m.push(c);b.event.global[f]=
!0}a=null}}},global:{},remove:function(a,d,h,k){if(a.nodeType!==3&&a.nodeType!==8){h===!1&&(h=B);var c,g,e=0,f,l,r,m,u,F,G=b.hasData(a)&&b._data(a),w=G&&G.events;if(G&&w)if(d&&d.type&&(h=d.handler,d=d.type),!d||typeof d=="string"&&d.charAt(0)===".")for(c in d=d||"",w)b.event.remove(a,c+d);else{for(d=d.split(" ");c=d[e++];)if(m=c,f=c.indexOf(".")<0,l=[],f||(l=c.split("."),c=l.shift(),r=RegExp("(^|\\.)"+b.map(l.slice(0).sort(),ya).join("\\.(?:.*\\.)?")+"(\\.|$)")),u=w[c])if(h){m=b.event.special[c]||
{};for(g=k||0;g<u.length;g++)if(F=u[g],h.guid===F.guid){if(f||r.test(F.namespace))k==null&&u.splice(g--,1),m.remove&&m.remove.call(a,F);if(k!=null)break}if(u.length===0||k!=null&&u.length===1)(!m.teardown||m.teardown.call(a,l)===!1)&&b.removeEvent(a,c,G.handle),delete w[c]}else for(g=0;g<u.length;g++)if(F=u[g],f||r.test(F.namespace))b.event.remove(a,m,F.handler,g),u.splice(g--,1);if(b.isEmptyObject(w))(d=G.handle)&&(d.elem=null),delete G.events,delete G.handle,b.isEmptyObject(G)&&b.removeData(a,j,
!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,d,h,k){var c=a.type||a,e=[],f;c.indexOf("!")>=0&&(c=c.slice(0,-1),f=!0);c.indexOf(".")>=0&&(e=c.split("."),c=e.shift(),e.sort());if(h&&!b.event.customEvent[c]||b.event.global[c]){a=typeof a=="object"?a[b.expando]?a:new b.Event(c,a):new b.Event(c);a.type=c;a.exclusive=f;a.namespace=e.join(".");a.namespace_re=RegExp("(^|\\.)"+e.join("\\.(?:.*\\.)?")+"(\\.|$)");if(k||!h)a.preventDefault(),a.stopPropagation();if(h){if(!(h.nodeType===
3||h.nodeType===8)){a.result=j;a.target=h;d=d?b.makeArray(d):[];d.unshift(a);e=h;k=c.indexOf(":")<0?"on"+c:"";do f=b._data(e,"handle"),a.currentTarget=e,f&&f.apply(e,d),k&&b.acceptData(e)&&e[k]&&e[k].apply(e,d)===!1&&(a.result=!1,a.preventDefault()),e=e.parentNode||e.ownerDocument||e===a.target.ownerDocument&&g;while(e&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var l,e=b.event.special[c]||{};if((!e._default||e._default.call(h.ownerDocument,a)===!1)&&(c!=="click"||!b.nodeName(h,"a"))&&
b.acceptData(h)){try{k&&h[c]&&(l=h[k],l&&(h[k]=null),b.event.triggered=c,h[c]())}catch(m){}l&&(h[k]=l);b.event.triggered=j}}return a.result}}else b.each(b.cache,function(){var h=this[b.expando];h&&h.events&&h.events[c]&&b.event.trigger(a,d,h.handle.elem)})}},handle:function(a){var a=b.event.fix(a||g.event),d=((b._data(this,"events")||{})[a.type]||[]).slice(0),h=!a.exclusive&&!a.namespace,k=Array.prototype.slice.call(arguments,0);k[0]=a;a.currentTarget=this;for(var c=0,e=d.length;c<e;c++){var f=d[c];
if(h||a.namespace_re.test(f.namespace))if(a.handler=f.handler,a.data=f.data,a.handleObj=f,f=f.handler.apply(this,k),f!==j&&(a.result=f,f===!1&&(a.preventDefault(),a.stopPropagation())),a.isImmediatePropagationStopped())break}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[b.expando])return a;for(var d=a,a=b.Event(d),h=this.props.length,k;h;)k=this.props[--h],a[k]=d[k];a.target||(a.target=a.srcElement||v);a.target.nodeType===3&&(a.target=a.target.parentNode);!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null)h=a.target.ownerDocument||v,d=h.documentElement,h=h.body,a.pageX=a.clientX+(d&&d.scrollLeft||h&&h.scrollLeft||0)-(d&&d.clientLeft||h&&h.clientLeft||0),a.pageY=
a.clientY+(d&&d.scrollTop||h&&h.scrollTop||0)-(d&&d.clientTop||h&&h.clientTop||0);a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode);!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey);!a.which&&a.button!==j&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,H(a.origType,a.selector),b.extend({},a,{handler:X,guid:a.handler.guid}))},remove:function(a){b.event.remove(this,
H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,d,h){b.isWindow(this)&&(this.onbeforeunload=h)},teardown:function(a,d){this.onbeforeunload===d&&(this.onbeforeunload=null)}}}};b.removeEvent=v.removeEventListener?function(a,d,b){a.removeEventListener&&a.removeEventListener(d,b,!1)}:function(a,d,b){a.detachEvent&&a.detachEvent("on"+d,b)};b.Event=function(a,d){if(!this.preventDefault)return new b.Event(a,d);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?M:B):this.type=a;d&&b.extend(this,d);this.timeStamp=b.now();this[b.expando]=!0};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=M;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=M;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
M;this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var ma=function(a){var d=a.relatedTarget;a.type=a.data;try{if(!d||d===v||d.parentNode){for(;d&&d!==this;)d=d.parentNode;d!==this&&b.event.handle.apply(this,arguments)}}catch(h){}},ta=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,d){b.event.special[a]={setup:function(h){b.event.add(this,d,h&&h.selector?ta:ma,a)},teardown:function(a){b.event.remove(this,
d,a&&a.selector?ta:ma)}}});b.support.submitBubbles||(b.event.special.submit={setup:function(){if(b.nodeName(this,"form"))return!1;else b.event.add(this,"click.specialSubmit",function(a){var d=a.target,h=d.type;(h==="submit"||h==="image")&&b(d).closest("form").length&&N("submit",this,arguments)}),b.event.add(this,"keypress.specialSubmit",function(a){var d=a.target,h=d.type;(h==="text"||h==="password")&&b(d).closest("form").length&&a.keyCode===13&&N("submit",this,arguments)})},teardown:function(){b.event.remove(this,
".specialSubmit")}});if(!b.support.changeBubbles){var ga,U=function(a){var d=a.type,h=a.value;d==="radio"||d==="checkbox"?h=a.checked:d==="select-multiple"?h=a.selectedIndex>-1?b.map(a.options,function(a){return a.selected}).join("-"):"":b.nodeName(a,"select")&&(h=a.selectedIndex);return h},ia=function(a,d){var h=a.target,k,c;if(ea.test(h.nodeName)&&!h.readOnly&&(k=b._data(h,"_change_data"),c=U(h),(a.type!=="focusout"||h.type!=="radio")&&b._data(h,"_change_data",c),!(k===j||c===k)))if(k!=null||c)a.type=
"change",a.liveFired=j,b.event.trigger(a,d,h)};b.event.special.change={filters:{focusout:ia,beforedeactivate:ia,click:function(a){var d=a.target,h=b.nodeName(d,"input")?d.type:"";(h==="radio"||h==="checkbox"||b.nodeName(d,"select"))&&ia.call(this,a)},keydown:function(a){var d=a.target,h=b.nodeName(d,"input")?d.type:"";(a.keyCode===13&&!b.nodeName(d,"textarea")||a.keyCode===32&&(h==="checkbox"||h==="radio")||h==="select-multiple")&&ia.call(this,a)},beforeactivate:function(a){a=a.target;b._data(a,"_change_data",
U(a))}},setup:function(){if(this.type==="file")return!1;for(var a in ga)b.event.add(this,a+".specialChange",ga[a]);return ea.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return ea.test(this.nodeName)}};ga=b.event.special.change.filters;ga.focus=ga.beforeactivate}b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(a,d){function h(a){var h=b.event.fix(a);h.type=d;h.originalEvent={};b.event.trigger(h,null,h.target);h.isDefaultPrevented()&&a.preventDefault()}
var k=0;b.event.special[d]={setup:function(){k++===0&&v.addEventListener(a,h,!0)},teardown:function(){--k===0&&v.removeEventListener(a,h,!0)}}});b.each(["bind","one"],function(a,d){b.fn[d]=function(a,k,c){var g;if(typeof a=="object"){for(var e in a)this[d](e,k,a[e],c);return this}if(arguments.length===2||k===!1)c=k,k=j;d==="one"?(g=function(a){b(this).unbind(a,g);return c.apply(this,arguments)},g.guid=c.guid||b.guid++):g=c;if(a==="unload"&&d!=="one")this.one(a,k,c);else{e=0;for(var f=this.length;e<
f;e++)b.event.add(this[e],a,g,k)}return this}});b.fn.extend({unbind:function(a,d){if(typeof a=="object"&&!a.preventDefault)for(var h in a)this.unbind(h,a[h]);else{h=0;for(var k=this.length;h<k;h++)b.event.remove(this[h],a,d)}return this},delegate:function(a,d,b,k){return this.live(d,b,k,a)},undelegate:function(a,d,b){return arguments.length===0?this.unbind("live"):this.die(d,null,b,a)},trigger:function(a,d){return this.each(function(){b.event.trigger(a,d,this)})},triggerHandler:function(a,d){if(this[0])return b.event.trigger(a,
d,this[0],!0)},toggle:function(a){var d=arguments,h=a.guid||b.guid++,k=0,c=function(h){var c=(b.data(this,"lastToggle"+a.guid)||0)%k;b.data(this,"lastToggle"+a.guid,c+1);h.preventDefault();return d[c].apply(this,arguments)||!1};for(c.guid=h;k<d.length;)d[k++].guid=h;return this.click(c)},hover:function(a,d){return this.mouseenter(a).mouseleave(d||a)}});var ua={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(a,d){b.fn[d]=function(a,k,c,g){var e=
0,f,l,m=g||this.selector,r=g?this:b(this.context);if(typeof a=="object"&&!a.preventDefault){for(f in a)r[d](f,k,a[f],m);return this}if(d==="die"&&!a&&g&&g.charAt(0)===".")return r.unbind(g),this;if(k===!1||b.isFunction(k))c=k||B,k=j;for(a=(a||"").split(" ");(g=a[e++])!=null;)if(f=R.exec(g),l="",f&&(l=f[0],g=g.replace(R,"")),g==="hover")a.push("mouseenter"+l,"mouseleave"+l);else if(f=g,ua[g]?(a.push(ua[g]+l),g+=l):g=(ua[g]||g)+l,d==="live"){l=0;for(var u=r.length;l<u;l++)b.event.add(r[l],"live."+H(g,
m),{data:k,selector:m,handler:c,origType:g,origHandler:c,preType:f})}else r.unbind("live."+H(g,m),c);return this}});b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,d){b.fn[d]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?this.bind(d,a,b):this.trigger(d)};b.attrFn&&(b.attrFn[d]=!0)});(function(){function a(a,d,b,h,
k,c){for(var k=0,g=h.length;k<g;k++){var e=h[k];if(e){for(var p=!1,e=e[a];e;){if(e.sizcache===b){p=h[e.sizset];break}if(e.nodeType===1)if(c||(e.sizcache=b,e.sizset=k),typeof d!="string"){if(e===d){p=!0;break}}else if(m.filter(d,[e]).length>0){p=e;break}e=e[a]}h[k]=p}}}function d(a,d,b,h,k,c){for(var k=0,g=h.length;k<g;k++){var e=h[k];if(e){for(var p=!1,e=e[a];e;){if(e.sizcache===b){p=h[e.sizset];break}e.nodeType===1&&!c&&(e.sizcache=b,e.sizset=k);if(e.nodeName.toLowerCase()===d){p=e;break}e=e[a]}h[k]=
p}}}var h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,k=0,c=Object.prototype.toString,g=!1,e=!0,f=/\\/g,l=/\W/;[0,0].sort(function(){e=!1;return 0});var m=function(a,d,b,k){var b=b||[],g=d=d||v;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!a||typeof a!="string")return b;var e,f,l,z,j,F,G=!0,aa=m.isXML(d),C=[],n=a;do if(h.exec(""),e=h.exec(n))if(n=e[3],C.push(e[1]),e[2]){z=e[3];break}while(e);if(C.length>1&&
u.exec(a))if(C.length===2&&r.relative[C[0]])f=o(C[0]+C[1],d);else for(f=r.relative[C[0]]?[d]:m(C.shift(),d);C.length;)a=C.shift(),r.relative[a]&&(a+=C.shift()),f=o(a,f);else if(!k&&C.length>1&&d.nodeType===9&&!aa&&r.match.ID.test(C[0])&&!r.match.ID.test(C[C.length-1])&&(j=m.find(C.shift(),d,aa),d=j.expr?m.filter(j.expr,j.set)[0]:j.set[0]),d){j=k?{expr:C.pop(),set:w(k)}:m.find(C.pop(),C.length===1&&(C[0]==="~"||C[0]==="+")&&d.parentNode?d.parentNode:d,aa);f=j.expr?m.filter(j.expr,j.set):j.set;for(C.length>
0?l=w(f):G=!1;C.length;)e=F=C.pop(),r.relative[F]?e=C.pop():F="",e==null&&(e=d),r.relative[F](l,e,aa)}else l=[];l||(l=f);l||m.error(F||a);if(c.call(l)==="[object Array]")if(G)if(d&&d.nodeType===1)for(a=0;l[a]!=null;a++)l[a]&&(l[a]===!0||l[a].nodeType===1&&m.contains(d,l[a]))&&b.push(f[a]);else for(a=0;l[a]!=null;a++)l[a]&&l[a].nodeType===1&&b.push(f[a]);else b.push.apply(b,l);else w(l,b);z&&(m(z,g,b,k),m.uniqueSort(b));return b};m.uniqueSort=function(a){if(C&&(g=e,a.sort(C),g))for(var d=1;d<a.length;d++)a[d]===
a[d-1]&&a.splice(d--,1);return a};m.matches=function(a,d){return m(a,null,null,d)};m.matchesSelector=function(a,d){return m(d,null,null,[a]).length>0};m.find=function(a,d,b){var h;if(!a)return[];for(var k=0,c=r.order.length;k<c;k++){var e,g=r.order[k];if(e=r.leftMatch[g].exec(a)){var p=e[1];e.splice(1,1);if(p.substr(p.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(f,""),h=r.find[g](e,d,b),h!=null)){a=a.replace(r.match[g],"");break}}}h||(h=typeof d.getElementsByTagName!="undefined"?d.getElementsByTagName("*"):
[]);return{set:h,expr:a}};m.filter=function(a,d,b,h){for(var k,c,e=a,g=[],p=d,f=d&&d[0]&&m.isXML(d[0]);a&&d.length;){for(var l in r.filter)if((k=r.leftMatch[l].exec(a))!=null&&k[2]){var z,u,F=r.filter[l];u=k[1];c=!1;k.splice(1,1);if(u.substr(u.length-1)!=="\\"){p===g&&(g=[]);if(r.preFilter[l])if(k=r.preFilter[l](k,p,b,g,h,f)){if(k===!0)continue}else c=z=!0;if(k)for(var C=0;(u=p[C])!=null;C++)if(u){z=F(u,k,C,p);var G=h^!!z;b&&z!=null?G?c=!0:p[C]=!1:G&&(g.push(u),c=!0)}if(z!==j){b||(p=g);a=a.replace(r.match[l],
"");if(!c)return[];break}}}if(a===e)if(c==null)m.error(a);else break;e=a}return p};m.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var r=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,d){var b=typeof d=="string",h=b&&!l.test(d),b=b&&!h;h&&(d=d.toLowerCase());for(var h=0,k=a.length,c;h<k;h++)if(c=a[h]){for(;(c=c.previousSibling)&&c.nodeType!==
1;);a[h]=b||c&&c.nodeName.toLowerCase()===d?c||!1:c===d}b&&m.filter(d,a,!0)},">":function(a,d){var b,h=typeof d=="string",k=0,c=a.length;if(h&&!l.test(d))for(d=d.toLowerCase();k<c;k++){if(b=a[k])b=b.parentNode,a[k]=b.nodeName.toLowerCase()===d?b:!1}else{for(;k<c;k++)(b=a[k])&&(a[k]=h?b.parentNode:b.parentNode===d);h&&m.filter(d,a,!0)}},"":function(b,h,c){var e,g=k++,p=a;typeof h=="string"&&!l.test(h)&&(h=h.toLowerCase(),e=h,p=d);p("parentNode",h,g,b,e,c)},"~":function(b,h,c){var e,g=k++,p=a;typeof h==
"string"&&!l.test(h)&&(h=h.toLowerCase(),e=h,p=d);p("previousSibling",h,g,b,e,c)}},find:{ID:function(a,d,b){if(typeof d.getElementById!="undefined"&&!b)return(a=d.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,d){if(typeof d.getElementsByName!="undefined"){for(var b=[],h=d.getElementsByName(a[1]),k=0,c=h.length;k<c;k++)h[k].getAttribute("name")===a[1]&&b.push(h[k]);return b.length===0?null:b}},TAG:function(a,d){if(typeof d.getElementsByTagName!="undefined")return d.getElementsByTagName(a[1])}},
preFilter:{CLASS:function(a,d,b,h,k,c){a=" "+a[1].replace(f,"")+" ";if(c)return a;for(var c=0,e;(e=d[c])!=null;c++)e&&(k^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?b||h.push(e):b&&(d[c]=!1));return!1},ID:function(a){return a[1].replace(f,"")},TAG:function(a){return a[1].replace(f,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var d=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||
!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=d[1]+(d[2]||1)-0;a[3]=d[3]-0}else a[2]&&m.error(a[0]);a[0]=k++;return a},ATTR:function(a,d,b,h,k,c){d=a[1]=a[1].replace(f,"");!c&&r.attrMap[d]&&(a[1]=r.attrMap[d]);a[4]=(a[4]||a[5]||"").replace(f,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,d,b,k,c){if(a[1]==="not")if((h.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=m(a[3],null,null,d);else return a=m.filter(a[3],d,b,1^c),b||k.push.apply(k,a),!1;else if(r.match.POS.test(a[0])||r.match.CHILD.test(a[0]))return!0;
return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,d,b){return!!m(b[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var d=a.getAttribute("type"),b=a.type;return a.nodeName.toLowerCase()===
"input"&&"text"===b&&(d===b||d===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var d=a.nodeName.toLowerCase();return(d==="input"||d==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()===
"input"&&"image"===a.type},reset:function(a){var d=a.nodeName.toLowerCase();return(d==="input"||d==="button")&&"reset"===a.type},button:function(a){var d=a.nodeName.toLowerCase();return d==="input"&&"button"===a.type||d==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,d){return d===0},last:function(a,d,b,h){return d===h.length-1},even:function(a,d){return d%2===0},odd:function(a,
d){return d%2===1},lt:function(a,d,b){return d<b[3]-0},gt:function(a,d,b){return d>b[3]-0},nth:function(a,d,b){return b[3]-0===d},eq:function(a,d,b){return b[3]-0===d}},filter:{PSEUDO:function(a,d,b,h){var k=d[1],c=r.filters[k];if(c)return c(a,b,d,h);if(k==="contains")return(a.textContent||a.innerText||m.getText([a])||"").indexOf(d[3])>=0;if(k==="not"){d=d[3];b=0;for(h=d.length;b<h;b++)if(d[b]===a)return!1;return!0}m.error(k)},CHILD:function(a,d){var b=d[1],h=a;switch(b){case "only":case "first":for(;h=
h.previousSibling;)if(h.nodeType===1)return!1;if(b==="first")return!0;h=a;case "last":for(;h=h.nextSibling;)if(h.nodeType===1)return!1;return!0;case "nth":var b=d[2],k=d[3];if(b===1&&k===0)return!0;var c=d[0],e=a.parentNode;if(e&&(e.sizcache!==c||!a.nodeIndex)){for(var g=0,h=e.firstChild;h;h=h.nextSibling)h.nodeType===1&&(h.nodeIndex=++g);e.sizcache=c}h=a.nodeIndex-k;return b===0?h===0:h%b===0&&h/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=r.attrHandle[b]?r.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),h=b+"",k=d[2],c=d[4];return b==null?k==="!=":k==="="?h===c:k==="*="?h.indexOf(c)>=0:k==="~="?(" "+h+" ").indexOf(c)>=0:c?k==="!="?h!==c:k==="^="?h.indexOf(c)===0:k==="$="?h.substr(h.length-c.length)===c:k==="|="?h===c||h.substr(0,c.length+1)===c+"-":!1:h&&b!==
!1},POS:function(a,d,b,h){var k=r.setFilters[d[2]];if(k)return k(a,b,d,h)}}},u=r.match.POS,F=function(a,d){return"\\"+(d-0+1)},G;for(G in r.match)r.match[G]=RegExp(r.match[G].source+/(?![^\[]*\])(?![^\(]*\))/.source),r.leftMatch[G]=RegExp(/(^(?:.|\r|\n)*?)/.source+r.match[G].source.replace(/\\(\d+)/g,F));var w=function(a,d){a=Array.prototype.slice.call(a,0);return d?(d.push.apply(d,a),d):a};try{Array.prototype.slice.call(v.documentElement.childNodes,0)}catch(aa){w=function(a,d){var b=0,h=d||[];if(c.call(a)===
"[object Array]")Array.prototype.push.apply(h,a);else if(typeof a.length=="number")for(var k=a.length;b<k;b++)h.push(a[b]);else for(;a[b];b++)h.push(a[b]);return h}}var C,n;v.documentElement.compareDocumentPosition?C=function(a,d){return a===d?(g=!0,0):!a.compareDocumentPosition||!d.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(d)&4?-1:1}:(C=function(a,d){if(a===d)return g=!0,0;if(a.sourceIndex&&d.sourceIndex)return a.sourceIndex-d.sourceIndex;var b,h,k=[],c=[];
b=a.parentNode;h=d.parentNode;var e=b;if(b===h)return n(a,d);if(!b)return-1;if(!h)return 1;for(;e;)k.unshift(e),e=e.parentNode;for(e=h;e;)c.unshift(e),e=e.parentNode;b=k.length;h=c.length;for(e=0;e<b&&e<h;e++)if(k[e]!==c[e])return n(k[e],c[e]);return e===b?n(a,c[e],-1):n(k[e],d,1)},n=function(a,d,b){if(a===d)return b;for(a=a.nextSibling;a;){if(a===d)return-1;a=a.nextSibling}return 1});m.getText=function(a){for(var d="",b,h=0;a[h];h++)b=a[h],b.nodeType===3||b.nodeType===4?d+=b.nodeValue:b.nodeType!==
8&&(d+=m.getText(b.childNodes));return d};(function(){var a=v.createElement("div"),d="script"+(new Date).getTime(),b=v.documentElement;a.innerHTML="<a name='"+d+"'/>";b.insertBefore(a,b.firstChild);v.getElementById(d)&&(r.find.ID=function(a,d,b){if(typeof d.getElementById!="undefined"&&!b)return(d=d.getElementById(a[1]))?d.id===a[1]||typeof d.getAttributeNode!="undefined"&&d.getAttributeNode("id").nodeValue===a[1]?[d]:j:[]},r.filter.ID=function(a,d){var b=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");
return a.nodeType===1&&b&&b.nodeValue===d});b.removeChild(a);b=a=null})();(function(){var a=v.createElement("div");a.appendChild(v.createComment(""));a.getElementsByTagName("*").length>0&&(r.find.TAG=function(a,d){var b=d.getElementsByTagName(a[1]);if(a[1]==="*"){for(var h=[],k=0;b[k];k++)b[k].nodeType===1&&h.push(b[k]);b=h}return b});a.innerHTML="<a href='#'></a>";a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(r.attrHandle.href=function(a){return a.getAttribute("href",
2)});a=null})();v.querySelectorAll&&function(){var a=m,d=v.createElement("div");d.innerHTML="<p class='TEST'></p>";if(!d.querySelectorAll||d.querySelectorAll(".TEST").length!==0){m=function(d,b,h,k){b=b||v;if(!k&&!m.isXML(b)){var c=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(d);if(c&&(b.nodeType===1||b.nodeType===9)){if(c[1])return w(b.getElementsByTagName(d),h);if(c[2]&&r.find.CLASS&&b.getElementsByClassName)return w(b.getElementsByClassName(c[2]),h)}if(b.nodeType===9){if(d==="body"&&b.body)return w([b.body],
h);if(c&&c[3]){var e=b.getElementById(c[3]);if(!e||!e.parentNode)return w([],h);if(e.id===c[3])return w([e],h)}try{return w(b.querySelectorAll(d),h)}catch(g){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var c=b,p=(e=b.getAttribute("id"))||"__sizzle__",f=b.parentNode,l=/^\s*[+~]/.test(d);e?p=p.replace(/'/g,"\\$&"):b.setAttribute("id",p);l&&f&&(b=b.parentNode);try{if(!l||f)return w(b.querySelectorAll("[id='"+p+"'] "+d),h)}catch(z){}finally{e||c.removeAttribute("id")}}}return a(d,b,
h,k)};for(var b in a)m[b]=a[b];d=null}}();(function(){var a=v.documentElement,d=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(d){var b=!d.call(v.createElement("div"),"div"),h=!1;try{d.call(v.documentElement,"[test!='']:sizzle")}catch(k){h=!0}m.matchesSelector=function(a,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(h||!r.match.PSEUDO.test(k)&&!/!=/.test(k)){var c=d.call(a,k);if(c||!b||a.document&&a.document.nodeType!==11)return c}}catch(e){}return m(k,
null,null,[a]).length>0}}})();(function(){var a=v.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))r.order.splice(1,0,"CLASS"),r.find.CLASS=function(a,d,b){if(typeof d.getElementsByClassName!="undefined"&&!b)return d.getElementsByClassName(a[1])},a=null})();v.documentElement.contains?m.contains=function(a,d){return a!==d&&
(a.contains?a.contains(d):!0)}:v.documentElement.compareDocumentPosition?m.contains=function(a,d){return!!(a.compareDocumentPosition(d)&16)}:m.contains=function(){return!1};m.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var o=function(a,d){for(var b,h=[],k="",c=d.nodeType?[d]:d;b=r.match.PSEUDO.exec(a);)k+=b[0],a=a.replace(r.match.PSEUDO,"");a=r.relative[a]?a+"*":a;b=0;for(var e=c.length;b<e;b++)m(a,c[b],h);return m.filter(k,h)};b.find=m;b.expr=m.selectors;
b.expr[":"]=b.expr.filters;b.unique=m.uniqueSort;b.text=m.getText;b.isXMLDoc=m.isXML;b.contains=m.contains})();var L=/Until$/,na=/^(?:parents|prevUntil|prevAll)/,cb=/,/,ab=/^.[^:#\[\.,]*$/,db=Array.prototype.slice,Ja=b.expr.match.POS,eb={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(a){var d=this,h,k;if(typeof a!="string")return b(a).filter(function(){h=0;for(k=d.length;h<k;h++)if(b.contains(d[h],this))return!0});var c=this.pushStack("","find",a),e,g,f;h=0;for(k=this.length;h<
k;h++)if(e=c.length,b.find(a,this[h],c),h>0)for(g=e;g<c.length;g++)for(f=0;f<e;f++)if(c[f]===c[g]){c.splice(g--,1);break}return c},has:function(a){var d=b(a);return this.filter(function(){for(var a=0,k=d.length;a<k;a++)if(b.contains(this,d[a]))return!0})},not:function(a){return this.pushStack(D(this,a,!1),"not",a)},filter:function(a){return this.pushStack(D(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?b.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,
d){var h=[],k,c,e=this[0];if(b.isArray(a)){var g,f={},m=1;if(e&&a.length){k=0;for(c=a.length;k<c;k++)g=a[k],f[g]||(f[g]=Ja.test(g)?b(g,d||this.context):g);for(;e&&e.ownerDocument&&e!==d;){for(g in f)k=f[g],(k.jquery?k.index(e)>-1:b(e).is(k))&&h.push({selector:g,elem:e,level:m});e=e.parentNode;m++}}return h}g=Ja.test(a)||typeof a!="string"?b(a,d||this.context):0;k=0;for(c=this.length;k<c;k++)for(e=this[k];e;){if(g?g.index(e)>-1:b.find.matchesSelector(e,a)){h.push(e);break}e=e.parentNode;if(!e||!e.ownerDocument||
e===d||e.nodeType===11)break}h=h.length>1?b.unique(h):h;return this.pushStack(h,"closest",a)},index:function(a){return!a||typeof a=="string"?b.inArray(this[0],a?b(a):this.parent().children()):b.inArray(a.jquery?a[0]:a,this)},add:function(a,d){var h=typeof a=="string"?b(a,d):b.makeArray(a&&a.nodeType?[a]:a),k=b.merge(this.get(),h);return this.pushStack(!h[0]||!h[0].parentNode||h[0].parentNode.nodeType===11||!k[0]||!k[0].parentNode||k[0].parentNode.nodeType===11?k:b.unique(k))},andSelf:function(){return this.add(this.prevObject)}});
b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,d,h){return b.dir(a,"parentNode",h)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,d,h){return b.dir(a,"nextSibling",h)},prevUntil:function(a,d,h){return b.dir(a,"previousSibling",
h)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,d){b.fn[a]=function(h,k){var c=b.map(this,d,h),e=db.call(arguments);L.test(a)||(k=h);k&&typeof k=="string"&&(c=b.filter(k,c));c=this.length>1&&!eb[a]?b.unique(c):c;(this.length>1||cb.test(k))&&na.test(a)&&(c=c.reverse());return this.pushStack(c,
a,e.join(","))}});b.extend({filter:function(a,d,h){h&&(a=":not("+a+")");return d.length===1?b.find.matchesSelector(d[0],a)?[d[0]]:[]:b.find.matches(a,d)},dir:function(a,d,h){for(var k=[],a=a[d];a&&a.nodeType!==9&&(h===j||a.nodeType!==1||!b(a).is(h));)a.nodeType===1&&k.push(a),a=a[d];return k},nth:function(a,d,b){for(var d=d||1,k=0;a;a=a[b])if(a.nodeType===1&&++k===d)break;return a},sibling:function(a,d){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==d&&b.push(a);return b}});var fb=/ jQuery\d+="(?:\d+|null)"/g,
Ea=/^\s+/,Ka=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,La=/<([\w:]+)/,gb=/<tbody/i,hb=/<|&#?\w+;/,Ma=/<(?:script|object|embed|option|style)/i,Na=/checked\s*(?:[^=]|=\s*.checked.)/i,ib=/\/(java|ecma)script/i,$a=/^\s*<!(?:\[CDATA\[|\-\-)/,ba={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,"",""]};ba.optgroup=ba.option;ba.tbody=ba.tfoot=ba.colgroup=ba.caption=ba.thead;ba.th=ba.td;b.support.htmlSerialize||(ba._default=[1,"div<div>","</div>"]);b.fn.extend({text:function(a){return b.isFunction(a)?this.each(function(d){var h=b(this);h.text(a.call(this,d,h.text()))}):typeof a!="object"&&a!==j?this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(a)):b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(d){b(this).wrapAll(a.call(this,
d))});if(this[0]){var d=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&d.insertBefore(this[0]);d.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return b.isFunction(a)?this.each(function(d){b(this).wrapInner(a.call(this,d))}):this.each(function(){var d=b(this),h=d.contents();h.length?h.wrapAll(a):d.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,
"body")||b(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)});if(arguments.length){var a=b(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,d){for(var h=0,k;(k=this[h])!=null;h++)if(!a||b.filter(a,[k]).length)!d&&k.nodeType===1&&(b.cleanData(k.getElementsByTagName("*")),b.cleanData([k])),k.parentNode&&k.parentNode.removeChild(k);return this},
empty:function(){for(var a=0,d;(d=this[a])!=null;a++)for(d.nodeType===1&&b.cleanData(d.getElementsByTagName("*"));d.firstChild;)d.removeChild(d.firstChild);return this},clone:function(a,d){a=a==null?!1:a;d=d==null?a:d;return this.map(function(){return b.clone(this,a,d)})},html:function(a){if(a===j)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(fb,""):null;if(typeof a=="string"&&!Ma.test(a)&&(b.support.leadingWhitespace||!Ea.test(a))&&!ba[(La.exec(a)||["",""])[1].toLowerCase()]){a=
a.replace(Ka,"<$1></$2>");try{for(var d=0,h=this.length;d<h;d++)this[d].nodeType===1&&(b.cleanData(this[d].getElementsByTagName("*")),this[d].innerHTML=a)}catch(k){this.empty().append(a)}}else b.isFunction(a)?this.each(function(d){var h=b(this);h.html(a.call(this,d,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(d){var h=b(this),k=h.html();h.replaceWith(a.call(this,d,k))});typeof a!="string"&&(a=
b(a).detach());return this.each(function(){var d=this.nextSibling,h=this.parentNode;b(this).remove();d?b(d).before(a):b(h).append(a)})}return this.length?this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,d,h){var k,e,g,f=a[0],m=[];if(!b.support.checkClone&&arguments.length===3&&typeof f=="string"&&Na.test(f))return this.each(function(){b(this).domManip(a,d,h,!0)});if(b.isFunction(f))return this.each(function(k){var c=b(this);
a[0]=f.call(this,k,d?c.html():j);c.domManip(a,d,h)});if(this[0]){g=f&&f.parentNode;b.support.parentNode&&g&&g.nodeType===11&&g.childNodes.length===this.length?k={fragment:g}:k=b.buildFragment(a,this,m);g=k.fragment;g.childNodes.length===1?e=g=g.firstChild:e=g.firstChild;if(e){d=d&&b.nodeName(e,"tr");e=0;for(var l=this.length,r=l-1;e<l;e++)h.call(d?b.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e]:this[e],
k.cacheable||l>1&&e<r?b.clone(g,!0,!0):g)}m.length&&b.each(m,c)}return this}});b.buildFragment=function(a,d,h){var k,c,e,d=d&&d[0]?d[0].ownerDocument||d[0]:v;a.length===1&&typeof a[0]=="string"&&a[0].length<512&&d===v&&a[0].charAt(0)==="<"&&!Ma.test(a[0])&&(b.support.checkClone||!Na.test(a[0]))&&(c=!0,e=b.fragments[a[0]],e&&e!==1&&(k=e));k||(k=d.createDocumentFragment(),b.clean(a,d,k,h));c&&(b.fragments[a[0]]=e?k:1);return{fragment:k,cacheable:c}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,d){b.fn[a]=function(h){var k=[],h=b(h),c=this.length===1&&this[0].parentNode;if(c&&c.nodeType===11&&c.childNodes.length===1&&h.length===1)return h[d](this[0]),this;for(var c=0,e=h.length;c<e;c++){var g=(c>0?this.clone(!0):this).get();b(h[c])[d](g);k=k.concat(g)}return this.pushStack(k,a,h.selector)}});b.extend({clone:function(a,d,h){var k=a.cloneNode(!0),c,e,g;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===
1||a.nodeType===11)&&!b.isXMLDoc(a)){I(a,k);c=w(a);e=w(k);for(g=0;c[g];++g)I(c[g],e[g])}if(d&&(V(a,k),h)){c=w(a);e=w(k);for(g=0;c[g];++g)V(c[g],e[g])}return k},clean:function(a,d,h,k){d=d||v;typeof d.createElement=="undefined"&&(d=d.ownerDocument||d[0]&&d[0].ownerDocument||v);for(var c=[],g,f=0,m;(m=a[f])!=null;f++)if(typeof m=="number"&&(m+=""),m){if(typeof m=="string")if(hb.test(m)){m=m.replace(Ka,"<$1></$2>");g=(La.exec(m)||["",""])[1].toLowerCase();var l=ba[g]||ba._default,r=l[0],j=d.createElement("div");
for(j.innerHTML=l[1]+m+l[2];r--;)j=j.lastChild;if(!b.support.tbody){r=gb.test(m);l=g==="table"&&!r?j.firstChild&&j.firstChild.childNodes:l[1]==="<table>"&&!r?j.childNodes:[];for(g=l.length-1;g>=0;--g)b.nodeName(l[g],"tbody")&&!l[g].childNodes.length&&l[g].parentNode.removeChild(l[g])}!b.support.leadingWhitespace&&Ea.test(m)&&j.insertBefore(d.createTextNode(Ea.exec(m)[0]),j.firstChild);m=j.childNodes}else m=d.createTextNode(m);var u;if(!b.support.appendChecked)if(m[0]&&typeof(u=m.length)=="number")for(g=
0;g<u;g++)e(m[g]);else e(m);m.nodeType?c.push(m):c=b.merge(c,m)}if(h){a=function(a){return!a.type||ib.test(a.type)};for(f=0;c[f];f++)k&&b.nodeName(c[f],"script")&&(!c[f].type||c[f].type.toLowerCase()==="text/javascript")?k.push(c[f].parentNode?c[f].parentNode.removeChild(c[f]):c[f]):(c[f].nodeType===1&&(d=b.grep(c[f].getElementsByTagName("script"),a),c.splice.apply(c,[f+1,0].concat(d))),h.appendChild(c[f]))}return c},cleanData:function(a){for(var d,h,k=b.cache,c=b.expando,e=b.event.special,g=b.support.deleteExpando,
f=0,m;(m=a[f])!=null;f++)if(!m.nodeName||!b.noData[m.nodeName.toLowerCase()])if(h=m[b.expando]){if((d=k[h]&&k[h][c])&&d.events){for(var l in d.events)e[l]?b.event.remove(m,l):b.removeEvent(m,l,d.handle);d.handle&&(d.handle.elem=null)}g?delete m[b.expando]:m.removeAttribute&&m.removeAttribute(b.expando);delete k[h]}}});var Oa=/alpha\([^)]*\)/i,jb=/opacity=([^)]*)/,kb=/-([a-z])/ig,lb=/([A-Z]|^ms)/g,Pa=/^-?\d+(?:px)?$/i,mb=/^-?\d/,nb=/^[+\-]=/,ob=/[^+\-\.\de]+/g,pb={position:"absolute",visibility:"hidden",
display:"block"},Ya=["Left","Right"],Za=["Top","Bottom"],oa,Qa,za,qb=function(a,d){return d.toUpperCase()};b.fn.css=function(a,d){return arguments.length===2&&d===j?this:b.access(this,a,d,!0,function(a,d,c){return c!==j?b.style(a,d,c):b.css(a,d)})};b.extend({cssHooks:{opacity:{get:function(a,d){if(d){var b=oa(a,"opacity","opacity");return b===""?"1":b}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":b.support.cssFloat?
"cssFloat":"styleFloat"},style:function(a,d,h,k){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var c,e=b.camelCase(d),g=a.style,f=b.cssHooks[e],d=b.cssProps[e]||e;if(h===j)return f&&"get"in f&&(c=f.get(a,!1,k))!==j?c:g[d];k=typeof h;if(!(k==="number"&&isNaN(h)||h==null))if(k==="string"&&nb.test(h)&&(h=+h.replace(ob,"")+parseFloat(b.css(a,d))),k==="number"&&!b.cssNumber[e]&&(h+="px"),!f||!("set"in f)||(h=f.set(a,h))!==j)try{g[d]=h}catch(m){}}},css:function(a,d,h){var c,e,d=b.camelCase(d);e=b.cssHooks[d];
d=b.cssProps[d]||d;d==="cssFloat"&&(d="float");if(e&&"get"in e&&(c=e.get(a,!0,h))!==j)return c;if(oa)return oa(a,d)},swap:function(a,d,b){var c={},e;for(e in d)c[e]=a.style[e],a.style[e]=d[e];b.call(a);for(e in d)a.style[e]=c[e]},camelCase:function(a){return a.replace(kb,qb)}});b.curCSS=b.css;b.each(["height","width"],function(a,d){b.cssHooks[d]={get:function(a,c,e){var g;if(c)return a.offsetWidth!==0?g=r(a,d,e):b.swap(a,pb,function(){g=r(a,d,e)}),g<=0&&(g=oa(a,d,d),g==="0px"&&za&&(g=za(a,d,d)),g!=
null)?g===""||g==="auto"?"0px":g:g<0||g==null?(g=a.style[d],g===""||g==="auto"?"0px":g):typeof g=="string"?g:g+"px"},set:function(a,d){if(!Pa.test(d))return d;d=parseFloat(d);if(d>=0)return d+"px"}}});b.support.opacity||(b.cssHooks.opacity={get:function(a,d){return jb.test((d&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":d?"1":""},set:function(a,d){var h=a.style,c=a.currentStyle;h.zoom=1;var e=b.isNaN(d)?"":"alpha(opacity="+d*100+")",c=c&&c.filter||h.filter||
"";h.filter=Oa.test(c)?c.replace(Oa,e):c+" "+e}});b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(a,d){var h;b.swap(a,{display:"inline-block"},function(){d?h=oa(a,"margin-right","marginRight"):h=a.style.marginRight});return h}})});v.defaultView&&v.defaultView.getComputedStyle&&(Qa=function(a,d){var h,c,d=d.replace(lb,"-$1").toLowerCase();if(!(c=a.ownerDocument.defaultView))return j;if(c=c.getComputedStyle(a,null))h=c.getPropertyValue(d),h===""&&!b.contains(a.ownerDocument.documentElement,
a)&&(h=b.style(a,d));return h});v.documentElement.currentStyle&&(za=function(a,d){var b,c=a.currentStyle&&a.currentStyle[d],e=a.runtimeStyle&&a.runtimeStyle[d],g=a.style;!Pa.test(c)&&mb.test(c)&&(b=g.left,e&&(a.runtimeStyle.left=a.currentStyle.left),g.left=d==="fontSize"?"1em":c||0,c=g.pixelLeft+"px",g.left=b,e&&(a.runtimeStyle.left=e));return c===""?"auto":c});oa=Qa||za;b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(a){var d=a.offsetHeight;return a.offsetWidth===0&&d===0||!b.support.reliableHiddenOffsets&&
(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)});var rb=/%20/g,Xa=/\[\]$/,Ra=/\r?\n/g,sb=/#.*$/,tb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ub=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vb=/^(?:GET|HEAD)$/,wb=/^\/\//,Sa=/\?/,xb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,yb=/^(?:select|textarea)/i,Ia=/\s+/,zb=/([?&])_=[^&]*/,Ta=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,
Ua=b.fn.load,Ca={},Va={},ja,ka;try{ja=E.href}catch(Fb){ja=v.createElement("a"),ja.href="",ja=ja.href}ka=Ta.exec(ja.toLowerCase())||[];b.fn.extend({load:function(a,d,h){if(typeof a!="string"&&Ua)return Ua.apply(this,arguments);if(!this.length)return this;var c=a.indexOf(" ");if(c>=0)var e=a.slice(c,a.length),a=a.slice(0,c);c="GET";d&&(b.isFunction(d)?(h=d,d=j):typeof d=="object"&&(d=b.param(d,b.ajaxSettings.traditional),c="POST"));var g=this;b.ajax({url:a,type:c,dataType:"html",data:d,complete:function(a,
d,c){c=a.responseText;a.isResolved()&&(a.done(function(a){c=a}),g.html(e?b("<div>").append(c.replace(xb,"")).find(e):c));h&&g.each(h,[c,d,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yb.test(this.nodeName)||ub.test(this.type))}).map(function(a,d){var h=b(this).val();return h==null?null:b.isArray(h)?
b.map(h,function(a){return{name:d.name,value:a.replace(Ra,"\r\n")}}):{name:d.name,value:h.replace(Ra,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,d){b.fn[d]=function(a){return this.bind(d,a)}});b.each(["get","post"],function(a,d){b[d]=function(a,c,e,g){b.isFunction(c)&&(g=g||e,e=c,c=j);return b.ajax({type:d,url:a,data:c,success:e,dataType:g})}});b.extend({getScript:function(a,d){return b.get(a,j,d,"script")},getJSON:function(a,d,
h){return b.get(a,d,h,"json")},ajaxSetup:function(a,d){d?b.extend(!0,a,b.ajaxSettings,d):(d=a,a=b.extend(!0,b.ajaxSettings,d));for(var h in{context:1,url:1})h in d?a[h]=d[h]:h in b.ajaxSettings&&(a[h]=b.ajaxSettings[h]);return a},ajaxSettings:{url:ja,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(ka[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",
"*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":g.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:x(Ca),ajaxTransport:x(Va),ajax:function(a,d){function h(a,d,h,u){if(o!==2){o=2;aa&&clearTimeout(aa);w=j;C=u||"";L.readyState=a?4:0;var F,G,n;if(h){var u=c,y=L,P=u.contents,q=u.dataTypes,v=u.responseFields,t,T,I,S;for(T in v)T in h&&(y[v[T]]=h[T]);for(;q[0]==="*";)q.shift(),t===j&&(t=
u.mimeType||y.getResponseHeader("content-type"));if(t)for(T in P)if(P[T]&&P[T].test(t)){q.unshift(T);break}if(q[0]in h)I=q[0];else{for(T in h){if(!q[0]||u.converters[T+" "+q[0]]){I=T;break}S||(S=T)}I=I||S}I?(I!==q[0]&&q.unshift(I),h=h[I]):h=void 0}else h=j;if(a>=200&&a<300||a===304){if(c.ifModified){if(t=L.getResponseHeader("Last-Modified"))b.lastModified[r]=t;if(t=L.getResponseHeader("Etag"))b.etag[r]=t}if(a===304)d="notmodified",F=!0;else try{t=c;t.dataFilter&&(h=t.dataFilter(h,t.dataType));var A=
t.dataTypes;T={};var Y,O,x=A.length,na,R=A[0],da,B,D,E,ca;for(Y=1;Y<x;Y++){if(Y===1)for(O in t.converters)typeof O=="string"&&(T[O.toLowerCase()]=t.converters[O]);da=R;R=A[Y];if(R==="*")R=da;else if(da!=="*"&&da!==R){B=da+" "+R;D=T[B]||T["* "+R];if(!D)for(E in ca=j,T)if(na=E.split(" "),na[0]===da||na[0]==="*")if(ca=T[na[1]+" "+R]){E=T[E];E===!0?D=ca:ca===!0&&(D=E);break}!D&&!ca&&b.error("No conversion from "+B.replace(" "," to "));D!==!0&&(h=D?D(h):ca(E(h)))}}G=h;d="success";F=!0}catch(ea){d="parsererror",
n=ea}}else if(n=d,!d||a)d="error",a<0&&(a=0);L.status=a;L.statusText=d;F?f.resolveWith(e,[G,d,L]):f.rejectWith(e,[L,d,n]);L.statusCode(l);l=j;s&&g.trigger("ajax"+(F?"Success":"Error"),[L,c,F?G:n]);m.resolveWith(e,[L,d]);s&&(g.trigger("ajaxComplete",[L,c]),--b.active||b.event.trigger("ajaxStop"))}}typeof a=="object"&&(d=a,a=j);var d=d||{},c=b.ajaxSetup({},d),e=c.context||c,g=e!==c&&(e.nodeType||e instanceof b)?b(e):b.event,f=b.Deferred(),m=b._Deferred(),l=c.statusCode||{},r,u={},F={},C,G,w,aa,n,o=
0,s,y,L={readyState:0,setRequestHeader:function(a,d){if(!o){var b=a.toLowerCase(),a=F[b]=F[b]||a;u[a]=d}return this},getAllResponseHeaders:function(){return o===2?C:null},getResponseHeader:function(a){var d;if(o===2){if(!G)for(G={};d=tb.exec(C);)G[d[1].toLowerCase()]=d[2];d=G[a.toLowerCase()]}return d===j?null:d},overrideMimeType:function(a){o||(c.mimeType=a);return this},abort:function(a){a=a||"abort";w&&w.abort(a);h(0,a);return this}};f.promise(L);L.success=L.done;L.error=L.fail;L.complete=m.done;
L.statusCode=function(a){if(a){var d;if(o<2)for(d in a)l[d]=[l[d],a[d]];else d=a[L.status],L.then(d,d)}return this};c.url=((a||c.url)+"").replace(sb,"").replace(wb,ka[1]+"//");c.dataTypes=b.trim(c.dataType||"*").toLowerCase().split(Ia);c.crossDomain==null&&(n=Ta.exec(c.url.toLowerCase()),c.crossDomain=!(!n||n[1]==ka[1]&&n[2]==ka[2]&&(n[3]||(n[1]==="http:"?80:443))==(ka[3]||(ka[1]==="http:"?80:443))));c.data&&c.processData&&typeof c.data!="string"&&(c.data=b.param(c.data,c.traditional));t(Ca,c,d,L);
if(o===2)return!1;s=c.global;c.type=c.type.toUpperCase();c.hasContent=!vb.test(c.type);s&&b.active++===0&&b.event.trigger("ajaxStart");if(!c.hasContent&&(c.data&&(c.url+=(Sa.test(c.url)?"&":"?")+c.data),r=c.url,c.cache===!1)){n=b.now();var P=c.url.replace(zb,"$1_="+n);c.url=P+(P===c.url?(Sa.test(c.url)?"&":"?")+"_="+n:"")}(c.data&&c.hasContent&&c.contentType!==!1||d.contentType)&&L.setRequestHeader("Content-Type",c.contentType);c.ifModified&&(r=r||c.url,b.lastModified[r]&&L.setRequestHeader("If-Modified-Since",
b.lastModified[r]),b.etag[r]&&L.setRequestHeader("If-None-Match",b.etag[r]));L.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", */*; q=0.01":""):c.accepts["*"]);for(y in c.headers)L.setRequestHeader(y,c.headers[y]);if(c.beforeSend&&(c.beforeSend.call(e,L,c)===!1||o===2))return L.abort(),!1;for(y in{success:1,error:1,complete:1})L[y](c[y]);if(w=t(Va,c,d,L)){L.readyState=1;s&&g.trigger("ajaxSend",[L,c]);c.async&&c.timeout>0&&(aa=
setTimeout(function(){L.abort("timeout")},c.timeout));try{o=1,w.send(u,h)}catch(q){status<2?h(-1,q):b.error(q)}}else h(-1,"No Transport");return L},param:function(a,d){var c=[],e=function(a,d){d=b.isFunction(d)?d():d;c[c.length]=encodeURIComponent(a)+"="+encodeURIComponent(d)};d===j&&(d=b.ajaxSettings.traditional);if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){e(this.name,this.value)});else for(var g in a)n(g,a[g],d,e);return c.join("&").replace(rb,"+")}});b.extend({active:0,lastModified:{},
etag:{}});var Ab=b.now(),Aa=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+Ab++}});b.ajaxPrefilter("json jsonp",function(a,d,c){d=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data=="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==!1&&(Aa.test(a.url)||d&&Aa.test(a.data))){var e,f=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,m=g[f],l=a.url,r=a.data,j="$1"+f+"$2";a.jsonp!==!1&&(l=l.replace(Aa,j),a.url===
l&&(d&&(r=r.replace(Aa,j)),a.data===r&&(l+=(/\?/.test(l)?"&":"?")+a.jsonp+"="+f)));a.url=l;a.data=r;g[f]=function(a){e=[a]};c.always(function(){g[f]=m;e&&b.isFunction(m)&&g[f](e[0])});a.converters["script json"]=function(){e||b.error(f+" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);
return a}}});b.ajaxPrefilter("script",function(a){a.cache===j&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});b.ajaxTransport("script",function(a){if(a.crossDomain){var d,b=v.head||v.getElementsByTagName("head")[0]||v.documentElement;return{send:function(c,e){d=v.createElement("script");d.async="async";a.scriptCharset&&(d.charset=a.scriptCharset);d.src=a.url;d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=
null,b&&d.parentNode&&b.removeChild(d),d=j,c||e(200,"success")};b.insertBefore(d,b.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var Fa=g.ActiveXObject?function(){for(var a in pa)pa[a](0,1)}:!1,Bb=0,pa;b.ajaxSettings.xhr=g.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&y()))a:{try{a=new g.ActiveXObject("Microsoft.XMLHTTP");break a}catch(d){}a=void 0}return a}:y;(function(a){b.extend(b.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(b.ajaxSettings.xhr());b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||
b.support.cors){var d;return{send:function(c,e){var f=a.xhr(),m,l;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(l in a.xhrFields)f[l]=a.xhrFields[l];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);!a.crossDomain&&!c["X-Requested-With"]&&(c["X-Requested-With"]="XMLHttpRequest");try{for(l in c)f.setRequestHeader(l,c[l])}catch(r){}f.send(a.hasContent&&a.data||null);d=function(c,h){var g,l,r,u,F;try{if(d&&(h||f.readyState===
4))if(d=j,m&&(f.onreadystatechange=b.noop,Fa&&delete pa[m]),h)f.readyState!==4&&f.abort();else{g=f.status;r=f.getAllResponseHeaders();u={};(F=f.responseXML)&&F.documentElement&&(u.xml=F);u.text=f.responseText;try{l=f.statusText}catch(G){l=""}!g&&a.isLocal&&!a.crossDomain?g=u.text?200:404:g===1223&&(g=204)}}catch(C){h||e(-1,C)}u&&e(g,l,u,r)};!a.async||f.readyState===4?d():(m=++Bb,Fa&&(pa||(pa={},b(g).unload(Fa)),pa[m]=d),f.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var Ba={},fa,ra,Cb=/^(?:toggle|show|hide)$/,
Db=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,qa,Ha=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],va,Ga=g.webkitRequestAnimationFrame||g.mozRequestAnimationFrame||g.oRequestAnimationFrame;b.fn.extend({show:function(a,d,c){var e;if(a||a===0)return this.animate(f("show",3),a,d,c);d=0;for(c=this.length;d<c;d++)a=this[d],a.style&&(e=a.style.display,!b._data(a,"olddisplay")&&e==="none"&&(e=a.style.display=""),
e===""&&b.css(a,"display")==="none"&&b._data(a,"olddisplay",o(a.nodeName)));for(d=0;d<c;d++)if(a=this[d],a.style&&(e=a.style.display,e===""||e==="none"))a.style.display=b._data(a,"olddisplay")||"";return this},hide:function(a,d,c){if(a||a===0)return this.animate(f("hide",3),a,d,c);a=0;for(d=this.length;a<d;a++)this[a].style&&(c=b.css(this[a],"display"),c!=="none"&&!b._data(this[a],"olddisplay")&&b._data(this[a],"olddisplay",c));for(a=0;a<d;a++)this[a].style&&(this[a].style.display="none");return this},
_toggle:b.fn.toggle,toggle:function(a,d,c){var e=typeof a=="boolean";b.isFunction(a)&&b.isFunction(d)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var d=e?a:b(this).is(":hidden");b(this)[d?"show":"hide"]()}):this.animate(f("toggle",3),a,d,c);return this},fadeTo:function(a,d,b,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},a,b,c)},animate:function(a,d,c,e){var g=b.speed(d,c,e);if(b.isEmptyObject(a))return this.each(g.complete,[!1]);a=b.extend({},
a);return this[g.queue===!1?"each":"queue"](function(){var p;g.queue===!1&&b._mark(this);var d=b.extend({},g),c=this.nodeType===1,h=c&&b(this).is(":hidden"),e,k,f,m,l,r,j,u;d.animatedProperties={};for(f in a){e=b.camelCase(f);f!==e&&(a[e]=a[f],delete a[f]);k=a[e];b.isArray(k)?(d.animatedProperties[e]=k[1],p=a[e]=k[0],k=p):d.animatedProperties[e]=d.specialEasing&&d.specialEasing[e]||d.easing||"swing";if(k==="hide"&&h||k==="show"&&!h)return d.complete.call(this);c&&(e==="height"||e==="width")&&(d.overflow=
[this.style.overflow,this.style.overflowX,this.style.overflowY],b.css(this,"display")==="inline"&&b.css(this,"float")==="none"&&(b.support.inlineBlockNeedsLayout?(m=o(this.nodeName),m==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}d.overflow!=null&&(this.style.overflow="hidden");for(f in a)c=new b.fx(this,d,f),k=a[f],Cb.test(k)?c[k==="toggle"?h?"show":"hide":k]():(l=Db.exec(k),r=c.cur(),l?(j=parseFloat(l[2]),u=l[3]||
(b.cssNumber[f]?"":"px"),u!=="px"&&(b.style(this,f,(j||1)+u),r*=(j||1)/c.cur(),b.style(this,f,r+u)),l[1]&&(j=(l[1]==="-="?-1:1)*j+r),c.custom(r,j,u)):c.custom(r,k,""));return!0})},stop:function(a,d){a&&this.queue([]);this.each(function(){var a=b.timers,c=a.length;for(d||b._unmark(!0,this);c--;)a[c].elem===this&&(d&&a[c](!0),a.splice(c,1))});d||this.dequeue();return this}});b.each({slideDown:f("show",1),slideUp:f("hide",1),slideToggle:f("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},
fadeToggle:{opacity:"toggle"}},function(a,d){b.fn[a]=function(a,b,c){return this.animate(d,a,b,c)}});b.extend({speed:function(a,d,c){var e=a&&typeof a=="object"?b.extend({},a):{complete:c||!c&&d||b.isFunction(a)&&a,duration:a,easing:c&&d||d&&!b.isFunction(d)&&d};e.duration=b.fx.off?0:typeof e.duration=="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;e.old=e.complete;e.complete=function(a){e.queue!==!1?b.dequeue(this):a!==!1&&b._unmark(this);b.isFunction(e.old)&&
e.old.call(this)};return e},easing:{linear:function(a,d,b,c){return b+c*a},swing:function(a,d,b,c){return(-Math.cos(a*Math.PI)/2+0.5)*c+b}},timers:[],fx:function(a,d,b){this.options=d;this.elem=a;this.prop=b;d.orig=d.orig||{}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];
var a,d=b.css(this.elem,this.prop);return isNaN(a=parseFloat(d))?!d||d==="auto"?0:d:a},custom:function(a,d,c){function e(a){return g.step(a)}var g=this,f=b.fx,m;this.startTime=va||l();this.start=a;this.end=d;this.unit=c||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&b.timers.push(e)&&!qa&&(Ga?(qa=1,m=function(){qa&&(Ga(m),f.tick())},Ga(m)):qa=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=b.style(this.elem,
this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var d=va||l(),c=!0,e=this.elem,g=this.options,f,m;if(a||d>=g.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();g.animatedProperties[this.prop]=!0;for(f in g.animatedProperties)g.animatedProperties[f]!==!0&&(c=!1);
if(c){g.overflow!=null&&!b.support.shrinkWrapBlocks&&b.each(["","X","Y"],function(a,d){e.style["overflow"+d]=g.overflow[a]});g.hide&&b(e).hide();if(g.hide||g.show)for(var r in g.animatedProperties)b.style(e,r,g.orig[r]);g.complete.call(e)}return!1}g.duration==Infinity?this.now=d:(m=d-this.startTime,this.state=m/g.duration,this.pos=b.easing[g.animatedProperties[this.prop]](this.state,m,0,1,g.duration),this.now=this.start+(this.end-this.start)*this.pos);this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=
b.timers,d=0;d<a.length;++d)a[d]()||a.splice(d--,1);a.length||b.fx.stop()},interval:13,stop:function(){clearInterval(qa);qa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});b.expr&&b.expr.filters&&(b.expr.filters.animated=function(a){return b.grep(b.timers,function(d){return a===
d.elem}).length});var Eb=/^t(?:able|d|h)$/i,Wa=/^(?:body|html)$/i;"getBoundingClientRect"in v.documentElement?b.fn.offset=function(a){var d=this[0],c;if(a)return this.each(function(d){b.offset.setOffset(this,a,d)});if(!d||!d.ownerDocument)return null;if(d===d.ownerDocument.body)return b.offset.bodyOffset(d);try{c=d.getBoundingClientRect()}catch(e){}var g=d.ownerDocument,f=g.documentElement;if(!c||!b.contains(f,d))return c?{top:c.top,left:c.left}:{top:0,left:0};d=g.body;g=q(g);return{top:c.top+(g.pageYOffset||
b.support.boxModel&&f.scrollTop||d.scrollTop)-(f.clientTop||d.clientTop||0),left:c.left+(g.pageXOffset||b.support.boxModel&&f.scrollLeft||d.scrollLeft)-(f.clientLeft||d.clientLeft||0)}}:b.fn.offset=function(a){var d=this[0];if(a)return this.each(function(d){b.offset.setOffset(this,a,d)});if(!d||!d.ownerDocument)return null;if(d===d.ownerDocument.body)return b.offset.bodyOffset(d);b.offset.initialize();var c,e=d.offsetParent,g=d.ownerDocument,f=g.documentElement,m=g.body;c=(g=g.defaultView)?g.getComputedStyle(d,
null):d.currentStyle;for(var l=d.offsetTop,r=d.offsetLeft;(d=d.parentNode)&&d!==m&&d!==f;){if(b.offset.supportsFixedPosition&&c.position==="fixed")break;c=g?g.getComputedStyle(d,null):d.currentStyle;l-=d.scrollTop;r-=d.scrollLeft;d===e&&(l+=d.offsetTop,r+=d.offsetLeft,b.offset.doesNotAddBorder&&(!b.offset.doesAddBorderForTableAndCells||!Eb.test(d.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,r+=parseFloat(c.borderLeftWidth)||0),e=d.offsetParent);b.offset.subtractsBorderForOverflowNotVisible&&c.overflow!==
"visible"&&(l+=parseFloat(c.borderTopWidth)||0,r+=parseFloat(c.borderLeftWidth)||0)}if(c.position==="relative"||c.position==="static")l+=m.offsetTop,r+=m.offsetLeft;b.offset.supportsFixedPosition&&c.position==="fixed"&&(l+=Math.max(f.scrollTop,m.scrollTop),r+=Math.max(f.scrollLeft,m.scrollLeft));return{top:l,left:r}};b.offset={initialize:function(){var a=v.body,d=v.createElement("div"),c,e,g,f=parseFloat(b.css(a,"marginTop"))||0;b.extend(d.style,{position:"absolute",top:0,left:0,margin:0,border:0,
width:"1px",height:"1px",visibility:"hidden"});d.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(d,a.firstChild);c=d.firstChild;e=c.firstChild;g=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=
g.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";c.style.overflow="hidden";c.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==f;a.removeChild(d);b.offset.initialize=b.noop},bodyOffset:function(a){var d=a.offsetTop,c=a.offsetLeft;b.offset.initialize();b.offset.doesNotIncludeMarginInBodyOffset&&(d+=parseFloat(b.css(a,
"marginTop"))||0,c+=parseFloat(b.css(a,"marginLeft"))||0);return{top:d,left:c}},setOffset:function(a,d,c){var e=b.css(a,"position");e==="static"&&(a.style.position="relative");var g=b(a),f=g.offset(),m=b.css(a,"top"),l=b.css(a,"left"),r={},j={},u,F;(e==="absolute"||e==="fixed")&&b.inArray("auto",[m,l])>-1?(j=g.position(),u=j.top,F=j.left):(u=parseFloat(m)||0,F=parseFloat(l)||0);b.isFunction(d)&&(d=d.call(a,c,f));d.top!=null&&(r.top=d.top-f.top+u);d.left!=null&&(r.left=d.left-f.left+F);"using"in d?
d.using.call(a,r):g.css(r)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],d=this.offsetParent(),c=this.offset(),e=Wa.test(d[0].nodeName)?{top:0,left:0}:d.offset();c.top-=parseFloat(b.css(a,"marginTop"))||0;c.left-=parseFloat(b.css(a,"marginLeft"))||0;e.top+=parseFloat(b.css(d[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(d[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||
v.body;a&&!Wa.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,d){var c="scroll"+d;b.fn[c]=function(d){var e,g;return d===j?(e=this[0],!e?null:(g=q(e))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&g.document.documentElement[c]||g.document.body[c]:e[c]):this.each(function(){(g=q(this))?g.scrollTo(a?b(g).scrollLeft():d,a?d:b(g).scrollTop()):this[c]=d})}});b.each(["Height","Width"],function(a,d){var c=d.toLowerCase();
b.fn["inner"+d]=function(){return this[0]?parseFloat(b.css(this[0],c,"padding")):null};b.fn["outer"+d]=function(a){return this[0]?parseFloat(b.css(this[0],c,a?"margin":"border")):null};b.fn[c]=function(a){var e=this[0];if(!e)return a==null?null:this;if(b.isFunction(a))return this.each(function(d){var e=b(this);e[c](a.call(this,d,e[c]()))});if(b.isWindow(e)){var g=e.document.documentElement["client"+d];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+d]||g}return e.nodeType===
9?Math.max(e.documentElement["client"+d],e.body["scroll"+d],e.documentElement["scroll"+d],e.body["offset"+d],e.documentElement["offset"+d]):a===j?(e=b.css(e,c),g=parseFloat(e),b.isNaN(g)?e:g):this.css(c,typeof a=="string"?a:a+"px")}});g.jQuery=g.$=b})(window);
jQuery.effects||function(g,j){function q(f){var c;return f&&f.constructor==Array&&f.length==3?f:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f))?[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f))?[parseInt(c[1],16),parseInt(c[2],
16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(f)?n.transparent:n[g.trim(f).toLowerCase()]}function o(){var g=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,c={},e,f;if(g&&g.length&&g[0]&&g[g[0]])for(var l=g.length;l--;)e=g[l],typeof g[e]=="string"&&(f=e.replace(/\-(\w)/g,function(c,e){return e.toUpperCase()}),c[f]=g[e]);else for(e in g)typeof g[e]===
"string"&&(c[e]=g[e]);return c}function f(f){var c,e;for(c in f)e=f[c],(e==null||g.isFunction(e)||c in x||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(e)))&&delete f[c];return f}function s(g,c){var e={_:0},f;for(f in c)g[f]!=c[f]&&(e[f]=c[f]);return e}function l(f,c,e,m){if(typeof f=="object")m=c,e=null,c=f,f=c.effect;g.isFunction(c)&&(m=c,e=null,c={});if(typeof c=="number"||g.fx.speeds[c])m=e,e=c,c={};g.isFunction(e)&&(m=e,e=null);c=c||{};e=e||c.duration;e=g.fx.off?0:typeof e=="number"?
e:e in g.fx.speeds?g.fx.speeds[e]:g.fx.speeds._default;m=m||c.complete;return[f,c,e,m]}function y(f){return!f||typeof f==="number"||g.fx.speeds[f]?!0:typeof f==="string"&&!g.effects[f]?!0:!1}g.effects={};g.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(f,c){g.fx.step[c]=function(e){if(!e.colorInit){var f;f=e.elem;var l=c,r;do{r=g.curCSS(f,l);if(r!=""&&r!="transparent"||g.nodeName(f,"body"))break;l="backgroundColor"}while(f=
f.parentNode);f=q(r);e.start=f;e.end=q(e.end);e.colorInit=!0}e.elem.style[c]="rgb("+Math.max(Math.min(parseInt(e.pos*(e.end[0]-e.start[0])+e.start[0],10),255),0)+","+Math.max(Math.min(parseInt(e.pos*(e.end[1]-e.start[1])+e.start[1],10),255),0)+","+Math.max(Math.min(parseInt(e.pos*(e.end[2]-e.start[2])+e.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],
darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],
maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},t=["add","remove","toggle"],x={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};g.effects.animateClass=function(l,c,e,m){g.isFunction(e)&&(m=e,e=null);return this.queue(function(){var j=g(this),n=j.attr("style")||
" ",y=f(o.call(this)),q,x=j.attr("class");g.each(t,function(c,e){l[e]&&j[e+"Class"](l[e])});q=f(o.call(this));j.attr("class",x);j.animate(s(y,q),{queue:!1,duration:c,easing:e,complete:function(){g.each(t,function(c,e){l[e]&&j[e+"Class"](l[e])});typeof j.attr("style")=="object"?(j.attr("style").cssText="",j.attr("style").cssText=n):j.attr("style",n);m&&m.apply(this,arguments);g.dequeue(this)}})})};g.fn.extend({_addClass:g.fn.addClass,addClass:function(f,c,e,l){return c?g.effects.animateClass.apply(this,
[{add:f},c,e,l]):this._addClass(f)},_removeClass:g.fn.removeClass,removeClass:function(f,c,e,l){return c?g.effects.animateClass.apply(this,[{remove:f},c,e,l]):this._removeClass(f)},_toggleClass:g.fn.toggleClass,toggleClass:function(f,c,e,l,n){return typeof c=="boolean"||c===j?e?g.effects.animateClass.apply(this,[c?{add:f}:{remove:f},e,l,n]):this._toggleClass(f,c):g.effects.animateClass.apply(this,[{toggle:f},c,e,l])},switchClass:function(f,c,e,l,j){return g.effects.animateClass.apply(this,[{add:c,
remove:f},e,l,j])}});g.extend(g.effects,{version:"1.8.14",save:function(g,c){for(var e=0;e<c.length;e++)c[e]!==null&&g.data("ec.storage."+c[e],g[0].style[c[e]])},restore:function(g,c){for(var e=0;e<c.length;e++)c[e]!==null&&g.css(c[e],g.data("ec.storage."+c[e]))},setMode:function(g,c){c=="toggle"&&(c=g.is(":hidden")?"show":"hide");return c},getBaseline:function(g,c){var e;switch(g[0]){case "top":e=0;break;case "middle":e=0.5;break;case "bottom":e=1;break;default:e=g[0]/c.height}switch(g[1]){case "left":g=
0;break;case "center":g=0.5;break;case "right":g=1;break;default:g=g[1]/c.width}return{x:g,y:e}},createWrapper:function(f){if(f.parent().is(".ui-effects-wrapper"))return f.parent();var c={width:f.outerWidth(!0),height:f.outerHeight(!0),"float":f.css("float")},e=g("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});f.wrap(e);e=f.parent();f.css("position")=="static"?(e.css({position:"relative"}),f.css({position:"relative"})):
(g.extend(c,{position:f.css("position"),zIndex:f.css("z-index")}),g.each(["top","left","bottom","right"],function(e,g){c[g]=f.css(g);isNaN(parseInt(c[g],10))&&(c[g]="auto")}),f.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"}));return e.css(c).show()},removeWrapper:function(g){return g.parent().is(".ui-effects-wrapper")?g.parent().replaceWith(g):g},setTransition:function(f,c,e,l){l=l||{};g.each(c,function(c,g){unit=f.cssUnit(g);unit[0]>0&&(l[g]=unit[0]*e+unit[1])});return l}});g.fn.extend({effect:function(f){var c=
l.apply(this,arguments),e={options:c[1],duration:c[2],callback:c[3]},c=e.options.mode,m=g.effects[f];return g.fx.off||!m?c?this[c](e.duration,e.callback):this.each(function(){e.callback&&e.callback.call(this)}):m.call(this,e)},_show:g.fn.show,show:function(g){if(y(g))return this._show.apply(this,arguments);else{var c=l.apply(this,arguments);c[1].mode="show";return this.effect.apply(this,c)}},_hide:g.fn.hide,hide:function(g){if(y(g))return this._hide.apply(this,arguments);else{var c=l.apply(this,arguments);
c[1].mode="hide";return this.effect.apply(this,c)}},__toggle:g.fn.toggle,toggle:function(f){if(y(f)||typeof f==="boolean"||g.isFunction(f))return this.__toggle.apply(this,arguments);else{var c=l.apply(this,arguments);c[1].mode="toggle";return this.effect.apply(this,c)}},cssUnit:function(f){var c=this.css(f),e=[];g.each(["em","px","%","pt"],function(g,f){c.indexOf(f)>0&&(e=[parseFloat(c),f])});return e}});g.easing.jswing=g.easing.swing;g.extend(g.easing,{def:"easeOutQuad",swing:function(f,c,e,l,j){return g.easing[g.easing.def](f,
c,e,l,j)},easeInQuad:function(g,c,e,f,l){return f*(c/=l)*c+e},easeOutQuad:function(g,c,e,f,l){return-f*(c/=l)*(c-2)+e},easeInOutQuad:function(g,c,e,f,l){return(c/=l/2)<1?f/2*c*c+e:-f/2*(--c*(c-2)-1)+e},easeInCubic:function(g,c,e,f,l){return f*(c/=l)*c*c+e},easeOutCubic:function(g,c,e,f,l){return f*((c=c/l-1)*c*c+1)+e},easeInOutCubic:function(g,c,e,f,l){return(c/=l/2)<1?f/2*c*c*c+e:f/2*((c-=2)*c*c+2)+e},easeInQuart:function(g,c,e,f,l){return f*(c/=l)*c*c*c+e},easeOutQuart:function(g,c,e,f,l){return-f*
((c=c/l-1)*c*c*c-1)+e},easeInOutQuart:function(g,c,e,f,l){return(c/=l/2)<1?f/2*c*c*c*c+e:-f/2*((c-=2)*c*c*c-2)+e},easeInQuint:function(g,c,e,f,l){return f*(c/=l)*c*c*c*c+e},easeOutQuint:function(g,c,e,f,l){return f*((c=c/l-1)*c*c*c*c+1)+e},easeInOutQuint:function(g,c,e,f,l){return(c/=l/2)<1?f/2*c*c*c*c*c+e:f/2*((c-=2)*c*c*c*c+2)+e},easeInSine:function(g,c,e,f,l){return-f*Math.cos(c/l*(Math.PI/2))+f+e},easeOutSine:function(g,c,e,f,l){return f*Math.sin(c/l*(Math.PI/2))+e},easeInOutSine:function(g,c,
e,f,l){return-f/2*(Math.cos(Math.PI*c/l)-1)+e},easeInExpo:function(g,c,e,f,l){return c==0?e:f*Math.pow(2,10*(c/l-1))+e},easeOutExpo:function(g,c,e,f,l){return c==l?e+f:f*(-Math.pow(2,-10*c/l)+1)+e},easeInOutExpo:function(g,c,e,f,l){return c==0?e:c==l?e+f:(c/=l/2)<1?f/2*Math.pow(2,10*(c-1))+e:f/2*(-Math.pow(2,-10*--c)+2)+e},easeInCirc:function(g,c,e,f,l){return-f*(Math.sqrt(1-(c/=l)*c)-1)+e},easeOutCirc:function(g,c,e,f,l){return f*Math.sqrt(1-(c=c/l-1)*c)+e},easeInOutCirc:function(g,c,e,f,l){return(c/=
l/2)<1?-f/2*(Math.sqrt(1-c*c)-1)+e:f/2*(Math.sqrt(1-(c-=2)*c)+1)+e},easeInElastic:function(g,c,e,f,l){var j=0,n=f;if(c==0)return e;if((c/=l)==1)return e+f;j||(j=l*0.3);n<Math.abs(f)?(n=f,g=j/4):g=j/(2*Math.PI)*Math.asin(f/n);return-(n*Math.pow(2,10*(c-=1))*Math.sin((c*l-g)*2*Math.PI/j))+e},easeOutElastic:function(g,c,e,f,l){var j=0,n=f;if(c==0)return e;if((c/=l)==1)return e+f;j||(j=l*0.3);n<Math.abs(f)?(n=f,g=j/4):g=j/(2*Math.PI)*Math.asin(f/n);return n*Math.pow(2,-10*c)*Math.sin((c*l-g)*2*Math.PI/
j)+f+e},easeInOutElastic:function(g,c,e,f,l){var j=0,n=f;if(c==0)return e;if((c/=l/2)==2)return e+f;j||(j=l*0.3*1.5);n<Math.abs(f)?(n=f,g=j/4):g=j/(2*Math.PI)*Math.asin(f/n);return c<1?-0.5*n*Math.pow(2,10*(c-=1))*Math.sin((c*l-g)*2*Math.PI/j)+e:n*Math.pow(2,-10*(c-=1))*Math.sin((c*l-g)*2*Math.PI/j)*0.5+f+e},easeInBack:function(g,c,e,f,l,n){n==j&&(n=1.70158);return f*(c/=l)*c*((n+1)*c-n)+e},easeOutBack:function(g,c,e,f,l,n){n==j&&(n=1.70158);return f*((c=c/l-1)*c*((n+1)*c+n)+1)+e},easeInOutBack:function(g,
c,e,f,l,n){n==j&&(n=1.70158);return(c/=l/2)<1?f/2*c*c*(((n*=1.525)+1)*c-n)+e:f/2*((c-=2)*c*(((n*=1.525)+1)*c+n)+2)+e},easeInBounce:function(f,c,e,l,j){return l-g.easing.easeOutBounce(f,j-c,0,l,j)+e},easeOutBounce:function(g,c,e,f,l){return(c/=l)<1/2.75?f*7.5625*c*c+e:c<2/2.75?f*(7.5625*(c-=1.5/2.75)*c+0.75)+e:c<2.5/2.75?f*(7.5625*(c-=2.25/2.75)*c+0.9375)+e:f*(7.5625*(c-=2.625/2.75)*c+0.984375)+e},easeInOutBounce:function(f,c,e,l,j){return c<j/2?g.easing.easeInBounce(f,c*2,0,l,j)*0.5+e:g.easing.easeOutBounce(f,
c*2-j,0,l,j)*0.5+l*0.5+e}})}(jQuery);
(function(g){g.address=function(){var j=function(b){g(g.address).trigger(g.extend(g.Event(b),function(){for(var b={},c=g.address.parameterNames(),e=0,f=c.length;e<f;e++)b[c[e]]=g.address.parameter(c[e]);return{value:g.address.value(),path:g.address.path(),pathNames:g.address.pathNames(),parameterNames:c,parameters:b,queryString:g.address.queryString()}}.call(g.address)))},q=function(){g().bind.apply(g(g.address),Array.prototype.slice.call(arguments));return g.address},o=function(){return aa.pushState&&
E.state!==N},f=function(){return("/"+G.pathname.replace(RegExp(E.state),"")+G.search+(s()?"#"+s():"")).replace(da,"/")},s=function(){var b=G.href.indexOf("#");return b!=-1?n(G.href.substr(b+1),J):""},l=function(){return o()?f():s()},y=function(b){b=b.toString();return(E.strict&&b.substr(0,1)!="/"?"/":"")+b},n=function(b,c){return E.crawlable&&c?(b!==""?"!":"")+b:b.replace(/^\!/,"")},t=function(b,c){return parseInt(b.css(c),10)},x=function(b){for(var c,e,g=0,f=b.childNodes.length;g<f;g++){try{"src"in
b.childNodes[g]&&b.childNodes[g].src&&(c=String(b.childNodes[g].src))}catch(l){}if(e=x(b.childNodes[g]))c=e}return c},r=function(){if(!la){var b=l();U!=b&&(u&&Q<7?G.reload():(u&&Q<8&&E.history&&Y(m,50),U=b,c(J)))}},c=function(b){j(W);j(b?K:Z);Y(e,10)},e=function(){if(E.tracker!=="null"&&E.tracker!==null){var b=g.isFunction(E.tracker)?E.tracker:O[E.tracker],c=(G.pathname+G.search+(g.address&&!o()?g.address.value():"")).replace(/\/\//,"/").replace(/^\/$/,"");g.isFunction(b)?b(c):g.isFunction(O.urchinTracker)?
O.urchinTracker(c):O.pageTracker!==N&&g.isFunction(O.pageTracker._trackPageview)?O.pageTracker._trackPageview(c):O._gaq!==N&&g.isFunction(O._gaq.push)&&O._gaq.push(["_trackPageview",decodeURI(c)])}},m=function(){var b="javascript:"+J+";document.open();document.writeln('<html><head><title>"+A.title.replace("'","\\'")+"</title><script>var "+M+' = "'+encodeURIComponent(l())+(A.domain!=G.hostname?'";document.domain="'+A.domain:"")+"\";<\/script></head></html>');document.close();";Q<7?R.src=b:R.contentWindow.location.replace(b)},
w=function(){if(ea&&wa!=-1){var b,c=ea.substr(wa+1).split("&");for(i=0;i<c.length;i++)b=c[i].split("="),/^(autoUpdate|crawlable|history|strict|wrap)$/.test(b[0])&&(E[b[0]]=isNaN(b[1])?/^(true|yes)$/i.test(b[1]):parseInt(b[1],10)!==0),/^(state|tracker)$/.test(b[0])&&(E[b[0]]=b[1]);ea=null}U=l()},I=function(){if(!ya){ya=v;w();var b=function(){V.call(this);X.call(this)},e=g("body").ajaxComplete(b);b();E.wrap&&(g("body > *").wrapAll('<div style="padding:'+(t(e,"marginTop")+t(e,"paddingTop"))+"px "+(t(e,
"marginRight")+t(e,"paddingRight"))+"px "+(t(e,"marginBottom")+t(e,"paddingBottom"))+"px "+(t(e,"marginLeft")+t(e,"paddingLeft"))+'px;" />').parent().wrap('<div id="'+M+'" style="height:100%;overflow:auto;position:relative;'+(C&&!window.statusbar.visible?"resize:both;":"")+'" />'),g("html, body").css({height:"100%",margin:0,padding:0,overflow:"hidden"}),C&&g('<style type="text/css" />').appendTo("head").text("#"+M+"::-webkit-resizer { background-color: #fff; }"));if(u&&Q<8)b=A.getElementsByTagName("frameset")[0],
R=A.createElement((b?"":"i")+"frame"),b?(b.insertAdjacentElement("beforeEnd",R),b[b.cols?"cols":"rows"]+=",0",R.noResize=v,R.frameBorder=R.frameSpacing=0):(R.style.display="none",R.style.width=R.style.height=0,R.tabIndex=-1,A.body.insertAdjacentElement("afterBegin",R)),Y(function(){g(R).bind("load",function(){var b=R.contentWindow;U=b[M]!==N?b[M]:"";if(U!=l())c(J),G.hash=n(U,v)});R.contentWindow[M]===N&&m()},50);Y(function(){j("init");c(J)},1);o()||(u&&Q>7||!u&&"on"+B in O?O.addEventListener?O.addEventListener(B,
r,J):O.attachEvent&&O.attachEvent("on"+B,r):T(r,50))}},V=function(){var b,c=g("a"),e=c.size(),f=-1,l=function(){++f!=e&&(b=g(c.get(f)),b.is('[rel*="address:"]')&&b.address(),Y(l,1))};Y(l,1)},D=function(){U!=l()&&(U=l(),c(J))},H=function(){O.removeEventListener?O.removeEventListener(B,r,J):O.detachEvent&&O.detachEvent("on"+B,r)},X=function(){if(E.crawlable){var b=G.pathname.replace(/\/$/,"");g("body").html().indexOf("_escaped_fragment_")!=-1&&g('a[href]:not([href^=http]), a[href*="'+document.domain+
'"]').each(function(){var c=g(this).attr("href").replace(/^http:/,"").replace(RegExp(b+"/?$"),"");(c===""||c.indexOf("_escaped_fragment_")!=-1)&&g(this).attr("href","#"+c.replace(/\/(.*)\?_escaped_fragment_=(.*)$/,"!$2"))})}},N,M="jQueryAddress",B="hashchange",W="change",K="internalChange",Z="externalChange",v=!0,J=!1,E={autoUpdate:v,crawlable:J,history:v,strict:v,wrap:J},b=g.browser,Q=parseFloat(g.browser.version),F=b.mozilla,u=b.msie,P=b.opera,C=b.webkit||b.safari,S=J,O;try{O=top.document!==N?top:
window}catch(ca){O=window}var A=O.document,aa=O.history,G=O.location,T=setInterval,Y=setTimeout,da=/\/{2,9}/g,b=navigator.userAgent,R,ea=x(document),wa=ea?ea.indexOf("?"):-1,sa=A.title,la=J,ya=J,ma=v,ta=v,ga=J,U=l();if(u){Q=parseFloat(b.substr(b.indexOf("MSIE")+4));A.documentMode&&A.documentMode!=Q&&(Q=A.documentMode!=8?7:8);var ia=A.onpropertychange;A.onpropertychange=function(){ia&&ia.call(A);if(A.title!=sa&&A.title.indexOf("#"+l())!=-1)A.title=sa}}if(S=F&&Q>=1||u&&Q>=6||P&&Q>=9.5||C&&Q>=523){if(P)history.navigationMode=
"compatible";if(document.readyState=="complete")var ua=setInterval(function(){g.address&&(I(),clearInterval(ua))},50);else w(),g(I);g(window).bind("popstate",D).bind("unload",H)}else!S&&s()!==""?G.replace(G.href.substr(0,G.href.indexOf("#"))):e();return{bind:function(b,c,e){return q(b,c,e)},init:function(b){return q("init",b)},change:function(b){return q(W,b)},internalChange:function(b){return q(K,b)},externalChange:function(b){return q(Z,b)},baseURL:function(){var b=G.href;b.indexOf("#")!=-1&&(b=
b.substr(0,b.indexOf("#")));/\/$/.test(b)&&(b=b.substr(0,b.length-1));return b},autoUpdate:function(b){return b!==N?(E.autoUpdate=b,this):E.autoUpdate},crawlable:function(b){return b!==N?(E.crawlable=b,this):E.crawlable},history:function(b){return b!==N?(E.history=b,this):E.history},state:function(b){if(b!==N){E.state=b;var c=f();E.state!==N&&(aa.pushState?c.substr(0,3)=="/#/"&&G.replace(E.state.replace(/^\/$/,"")+c.substr(2)):c!="/"&&c.replace(/^\/#/,"")!=s()&&Y(function(){G.replace(E.state.replace(/^\/$/,
"")+"/#"+c)},1));return this}return E.state},strict:function(b){return b!==N?(E.strict=b,this):E.strict},tracker:function(b){return b!==N?(E.tracker=b,this):E.tracker},wrap:function(b){return b!==N?(E.wrap=b,this):E.wrap},update:function(){ga=v;this.value(U);ga=J;return this},title:function(b){return b!==N?(Y(function(){sa=A.title=b;if(ta&&R&&R.contentWindow&&R.contentWindow.document)R.contentWindow.document.title=b,ta=J;!ma&&F&&G.replace(G.href.indexOf("#")!=-1?G.href:G.href+"#");ma=J},50),this):
A.title},value:function(b){if(b!==N){b=y(b);b=="/"&&(b="");if(U==b&&!ga)return;ma=v;U=b;if(E.autoUpdate||ga)if(c(v),o())aa[E.history?"pushState":"replaceState"]({},"",E.state.replace(/\/$/,"")+(U===""?"/":U));else{la=v;if(C)E.history?G.hash="#"+n(U,v):G.replace("#"+n(U,v));else if(U!=l())E.history?G.hash="#"+n(U,v):G.replace("#"+n(U,v));u&&Q<8&&E.history&&Y(m,50);C?Y(function(){la=J},1):la=J}return this}return!S?null:y(U)},path:function(b){if(b!==N){var c=this.queryString(),e=this.hash();this.value(b+
(c?"?"+c:"")+(e?"#"+e:""));return this}return y(U).split("#")[0].split("?")[0]},pathNames:function(){var b=this.path(),c=b.replace(da,"/").split("/");(b.substr(0,1)=="/"||b.length===0)&&c.splice(0,1);b.substr(b.length-1,1)=="/"&&c.splice(c.length-1,1);return c},queryString:function(b){if(b!==N){var c=this.hash();this.value(this.path()+(b?"?"+b:"")+(c?"#"+c:""));return this}b=U.split("?");return b.slice(1,b.length).join("?").split("#")[0]},parameter:function(b,c,e){var f,l;if(c!==N){var j=this.parameterNames();
l=[];c=c?c.toString():"";for(f=0;f<j.length;f++){var u=j[f],m=this.parameter(u);typeof m=="string"&&(m=[m]);u==b&&(m=c===null||c===""?[]:e?m.concat([c]):[c]);for(var n=0;n<m.length;n++)l.push(u+"="+m[n])}g.inArray(b,j)==-1&&c!==null&&c!==""&&l.push(b+"="+c);this.queryString(l.join("&"));return this}if(c=this.queryString()){e=[];l=c.split("&");for(f=0;f<l.length;f++)c=l[f].split("="),c[0]==b&&e.push(c.slice(1).join("="));if(e.length!==0)return e.length!=1?e:e[0]}},parameterNames:function(){var b=this.queryString(),
c=[];if(b&&b.indexOf("=")!=-1)for(var b=b.split("&"),e=0;e<b.length;e++){var f=b[e].split("=")[0];g.inArray(f,c)==-1&&c.push(f)}return c},hash:function(b){if(b!==N)return this.value(U.split("#")[0]+(b?"#"+b:"")),this;b=U.split("#");return b.slice(1,b.length).join("#")}}}();g.fn.address=function(j){if(!g(this).attr("address")){var q=function(o){if(o.shiftKey||o.ctrlKey||o.metaKey)return!0;if(g(this).is("a")){var f=j?j.call(this):/address:/.test(g(this).attr("rel"))?g(this).attr("rel").split("address:")[1].split(" ")[0]:
g.address.state()!==void 0&&g.address.state()!="/"?g(this).attr("href").replace(RegExp("^(.*"+g.address.state()+"|\\.)"),""):g(this).attr("href").replace(/^(#\!?|\.)/,"");g.address.value(f);o.preventDefault()}};g(this).click(q).live("click",q).live("submit",function(o){if(g(this).is("form")){var f=g(this).attr("action"),f=j?j.call(this):(f.indexOf("?")!=-1?f.replace(/&$/,""):f+"?")+g(this).serialize();g.address.value(f);o.preventDefault()}}).attr("address",!0)}return this}})(jQuery);
(function(g){var j={preloadImg:!0,button:'input:submit, input:reset, input[type="button"]',text:"input:text, input:password",checkbox:"input:checkbox",radio:"input:radio",textarea:"textarea",select:"select"},q=function(f){var j=g(f.get(0).form),n=f.next();n.is("label")||(n=f.prev(),n.is("label")&&(f=f.attr("id"))&&(n=j.find('label[for="'+f+'"]')));return n.is("label")?n.css("cursor","pointer"):!1},o=function(f){g(".jqTransformSelectWrapper ul:visible").each(function(){var j=g(this).parents(".jqTransformSelectWrapper:first").find("select").get(0);
(!f||!(j.oLabel&&j.oLabel.get(0)==f.get(0)))&&g(this).hide()})},f=function(f){g(f.target).parents(".jqTransformSelectWrapper").length===0&&o(g(f.target))},s=function(f){var j;g(".jqTransformSelectWrapper select",f).each(function(){j=this.selectedIndex<0?0:this.selectedIndex;g("ul",g(this).parent()).each(function(){g("a:eq("+j+")",this).click()})});g("a.jqTransformCheckbox, a.jqTransformRadio",f).removeClass("jqTransformChecked");g("input:checkbox, input:radio",f).each(function(){this.checked&&g("a",
g(this).parent()).addClass("jqTransformChecked")})};g.fn.jqTransInputButton=function(){return this.each(function(){var f=g('<button id="'+this.id+'" name="'+this.name+'" type="'+this.type+'" class="'+this.className+' jqTransformButton"><span><span>'+g(this).attr("value")+"</span></span>").hover(function(){f.addClass("jqTransformButton_hover")},function(){f.removeClass("jqTransformButton_hover")}).mousedown(function(){f.addClass("jqTransformButton_click")}).mouseup(function(){f.removeClass("jqTransformButton_click")});
g(this).replaceWith(f)})};g.fn.jqTransInputText=function(){return this.each(function(){var f=g(this);if(!f.hasClass("jqtranformdone")&&f.is("input")){f.addClass("jqtranformdone");var j=q(g(this));j&&j.bind("click",function(){f.focus()});j=f.width();f.attr("size")&&(j=f.attr("size")*10,f.css("width",j));f.addClass("jqTransformInput").wrap('<div class="jqTransformInputWrapper"><div class="jqTransformInputInner"><div></div></div></div>');var n=f.parent().parent().parent();n.css("width",j+10);f.focus(function(){n.addClass("jqTransformInputWrapper_focus")}).blur(function(){n.removeClass("jqTransformInputWrapper_focus")}).hover(function(){n.addClass("jqTransformInputWrapper_hover")},
function(){n.removeClass("jqTransformInputWrapper_hover")});g.browser.safari&&n.addClass("jqTransformSafari");g.browser.safari&&f.css("width",n.width()+16);this.wrapper=n}})};g.fn.jqTransCheckBox=function(){return this.each(function(){if(!g(this).hasClass("jqTransformHidden")){var f=g(this),j=g('<a href="#" class="jqTransformCheckbox"></a>');q(f);f.addClass("jqTransformHidden").wrap('<span class="jqTransformCheckboxWrapper"></span>').parent().prepend(j);f.change(function(){this.checked&&j.addClass("jqTransformChecked")||
j.removeClass("jqTransformChecked");return!0});j.click(function(){if(f.attr("disabled"))return!1;f.trigger("click").trigger("change");return!1});this.checked&&j.addClass("jqTransformChecked")}})};g.fn.jqTransRadio=function(){return this.each(function(){if(!g(this).hasClass("jqTransformHidden")){var f=g(this),j=this;(oLabel=q(f))&&oLabel.click(function(){n.trigger("click")});var n=g('<a href="#" class="jqTransformRadio" rel="'+this.name+'"></a>');f.addClass("jqTransformHidden").wrap('<span class="jqTransformRadioWrapper"></span>').parent().prepend(n);
f.change(function(){j.checked&&n.addClass("jqTransformChecked")||n.removeClass("jqTransformChecked");return!0});n.click(function(){if(f.attr("disabled"))return!1;f.trigger("click").trigger("change");g('input[name="'+f.attr("name")+'"]',j.form).not(f).each(function(){g(this).attr("type")=="radio"&&g(this).trigger("change")});return!1});j.checked&&n.addClass("jqTransformChecked")}})};g.fn.jqTransTextarea=function(){return this.each(function(){var f=g(this);if(!f.hasClass("jqtransformdone")){f.addClass("jqtransformdone");
(oLabel=q(f))&&oLabel.click(function(){f.focus()});var j='<table cellspacing="0" cellpadding="0" border="0" class="jqTransformTextarea">';j+='<tr><td id="jqTransformTextarea-tl"></td><td id="jqTransformTextarea-tm"></td><td id="jqTransformTextarea-tr"></td></tr>';j+='<tr><td id="jqTransformTextarea-ml">&nbsp;</td><td id="jqTransformTextarea-mm"><div></div></td><td id="jqTransformTextarea-mr">&nbsp;</td></tr>';j+='<tr><td id="jqTransformTextarea-bl"></td><td id="jqTransformTextarea-bm"></td><td id="jqTransformTextarea-br"></td></tr>';
j+="</table>";var n=g(j).insertAfter(f).hover(function(){!n.hasClass("jqTransformTextarea-focus")&&n.addClass("jqTransformTextarea-hover")},function(){n.removeClass("jqTransformTextarea-hover")});f.focus(function(){n.removeClass("jqTransformTextarea-hover").addClass("jqTransformTextarea-focus")}).blur(function(){n.removeClass("jqTransformTextarea-focus")}).appendTo(g("#jqTransformTextarea-mm div",n));this.oTable=n;g.browser.safari&&g("#jqTransformTextarea-mm",n).addClass("jqTransformSafariTextarea").find("div").css("height",
f.height()).css("width",f.width())}})};g.fn.jqTransSelect=function(){return this.each(function(f){var j=g(this);if(!j.hasClass("jqTransformHidden")&&!j.attr("multiple")){var n=q(j),s=j.addClass("jqTransformHidden").wrap('<div class="jqTransformSelectWrapper"></div>').parent().css({zIndex:10-f});s.prepend('<div><span></span><a href="#" class="jqTransformSelectOpen"></a></div><ul></ul>');var x=g("ul",s).css("width",j.width()+20).hide();g("option",this).each(function(c){c=g('<li><a href="#" index="'+
c+'">'+g(this).html()+"</a></li>");x.append(c)});x.find("a").click(function(){g("a.selected",s).removeClass("selected");g(this).addClass("selected");if(j[0].selectedIndex!=g(this).attr("index")&&j[0].onchange)j[0].selectedIndex=g(this).attr("index"),j[0].onchange();j[0].selectedIndex=g(this).attr("index");g("span:eq(0)",s).html(g(this).html());x.hide();return!1});g("a:eq("+this.selectedIndex+")",x).click();g("span:first",s).click(function(){g("a.jqTransformSelectOpen",s).trigger("click")});n&&n.click(function(){g("a.jqTransformSelectOpen",
s).trigger("click")});this.oLabel=n;var r=g("a.jqTransformSelectOpen",s).click(function(){x.css("display")=="none"&&o();if(j.attr("disabled"))return!1;x.slideToggle("fast",function(){var c=g("a.selected",x).offset().top-x.offset().top;x.animate({scrollTop:c})});return!1}),f=j.outerWidth(),n=g("span:first",s),r=f>n.innerWidth()?f+r.outerWidth():s.width();s.css("width",r);x.css("width",r-2+20);n.css({width:f});x.css({display:"block",visibility:"hidden"});f=g("li",x).length*g("li:first",x).height();
f<x.height()&&x.css({height:f,overflow:"hidden"});x.css({display:"none",visibility:"visible"})}})};g.fn.jqTransform=function(l){var o=g.extend({},j,l);return this.each(function(){var l=g(this);l.hasClass("jqtransformdone")||(l.addClass("jqtransformdone"),o.button&&g(o.button,this).jqTransInputButton(),o.text&&g(o.text,this).jqTransInputText(),o.checkbox&&g(o.checkbox,this).jqTransCheckBox(),o.radio&&g(o.radio,this).jqTransRadio(),o.textarea&&g(o.textarea,this).jqTransTextarea(),o.select&&g(o.select,
this).jqTransSelect().length>0&&g(document).mousedown(f),l.bind("reset",function(){window.setTimeout(function(){s(this)},10)}))})}})(jQuery);
var swfobject=function(){function g(){if(!P){try{var b=B.getElementsByTagName("body")[0].appendChild(B.createElement("span"));b.parentNode.removeChild(b)}catch(c){return}P=!0;for(var b=Z.length,e=0;e<b;e++)Z[e]()}}function j(b){P?b():Z[Z.length]=b}function q(b){if(typeof M.addEventListener!=D)M.addEventListener("load",b,!1);else if(typeof B.addEventListener!=D)B.addEventListener("load",b,!1);else if(typeof M.attachEvent!=D)e(M,"onload",b);else if(typeof M.onload=="function"){var c=M.onload;M.onload=
function(){c();b()}}else M.onload=b}function o(){var b=B.getElementsByTagName("body")[0],c=B.createElement(H);c.setAttribute("type",X);var e=b.appendChild(c);if(e){var g=0;(function(){if(typeof e.GetVariable!=D){var l=e.GetVariable("$version");if(l)l=l.split(" ")[1].split(","),A.pv=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)]}else if(g<10){g++;setTimeout(arguments.callee,10);return}b.removeChild(c);e=null;f()})()}else f()}function f(){var b=v.length;if(b>0)for(var e=0;e<b;e++){var f=v[e].id,
g=v[e].callbackFn,j={success:!1,id:f};if(A.pv[0]>0){var u=c(f);if(u)if(m(v[e].swfVersion)&&!(A.wk&&A.wk<312)){if(I(f,!0),g)j.success=!0,j.ref=s(f),g(j)}else if(v[e].expressInstall&&l()){j={};j.data=v[e].expressInstall;j.width=u.getAttribute("width")||"0";j.height=u.getAttribute("height")||"0";if(u.getAttribute("class"))j.styleclass=u.getAttribute("class");if(u.getAttribute("align"))j.align=u.getAttribute("align");for(var F={},u=u.getElementsByTagName("param"),C=u.length,o=0;o<C;o++)u[o].getAttribute("name").toLowerCase()!=
"movie"&&(F[u[o].getAttribute("name")]=u[o].getAttribute("value"));y(j,F,f,g)}else n(u),g&&g(j)}else if(I(f,!0),g){if((f=s(f))&&typeof f.SetVariable!=D)j.success=!0,j.ref=f;g(j)}}}function s(b){var e=null;if((b=c(b))&&b.nodeName=="OBJECT")typeof b.SetVariable!=D?e=b:(b=b.getElementsByTagName(H)[0])&&(e=b);return e}function l(){return!C&&m("6.0.65")&&(A.win||A.mac)&&!(A.wk&&A.wk<312)}function y(e,f,g,l){C=!0;F=l||null;u={success:!1,id:g};var j=c(g);if(j){j.nodeName=="OBJECT"?(b=t(j),Q=null):(b=j,Q=
g);e.id=N;if(typeof e.width==D||!/%$/.test(e.width)&&parseInt(e.width,10)<310)e.width="310";if(typeof e.height==D||!/%$/.test(e.height)&&parseInt(e.height,10)<137)e.height="137";B.title=B.title.slice(0,47)+" - Flash Player Installation";l=A.ie&&A.win?"ActiveX":"PlugIn";l="MMredirectURL="+M.location.toString().replace(/&/g,"%26")+"&MMplayerType="+l+"&MMdoctitle="+B.title;typeof f.flashvars!=D?f.flashvars+="&"+l:f.flashvars=l;if(A.ie&&A.win&&j.readyState!=4)l=B.createElement("div"),g+="SWFObjectNew",
l.setAttribute("id",g),j.parentNode.insertBefore(l,j),j.style.display="none",function(){j.readyState==4?j.parentNode.removeChild(j):setTimeout(arguments.callee,10)}();x(e,f,g)}}function n(b){if(A.ie&&A.win&&b.readyState!=4){var c=B.createElement("div");b.parentNode.insertBefore(c,b);c.parentNode.replaceChild(t(b),c);b.style.display="none";(function(){b.readyState==4?b.parentNode.removeChild(b):setTimeout(arguments.callee,10)})()}else b.parentNode.replaceChild(t(b),b)}function t(b){var c=B.createElement("div");
if(A.win&&A.ie)c.innerHTML=b.innerHTML;else if(b=b.getElementsByTagName(H)[0])if(b=b.childNodes)for(var e=b.length,f=0;f<e;f++)!(b[f].nodeType==1&&b[f].nodeName=="PARAM")&&b[f].nodeType!=8&&c.appendChild(b[f].cloneNode(!0));return c}function x(b,e,f){var g,l=c(f);if(A.wk&&A.wk<312)return g;if(l){if(typeof b.id==D)b.id=f;if(A.ie&&A.win){var j="",u;for(u in b)if(b[u]!=Object.prototype[u])u.toLowerCase()=="data"?e.movie=b[u]:u.toLowerCase()=="styleclass"?j+=' class="'+b[u]+'"':u.toLowerCase()!="classid"&&
(j+=" "+u+'="'+b[u]+'"');u="";for(var m in e)e[m]!=Object.prototype[m]&&(u+='<param name="'+m+'" value="'+e[m]+'" />');l.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+j+">"+u+"</object>";J[J.length]=b.id;g=c(b.id)}else{m=B.createElement(H);m.setAttribute("type",X);for(var n in b)b[n]!=Object.prototype[n]&&(n.toLowerCase()=="styleclass"?m.setAttribute("class",b[n]):n.toLowerCase()!="classid"&&m.setAttribute(n,b[n]));for(j in e)e[j]!=Object.prototype[j]&&j.toLowerCase()!=
"movie"&&(b=m,u=j,n=e[j],f=B.createElement("param"),f.setAttribute("name",u),f.setAttribute("value",n),b.appendChild(f));l.parentNode.replaceChild(m,l);g=m}}return g}function r(b){var e=c(b);if(e&&e.nodeName=="OBJECT")A.ie&&A.win?(e.style.display="none",function(){if(e.readyState==4){var f=c(b);if(f){for(var g in f)typeof f[g]=="function"&&(f[g]=null);f.parentNode.removeChild(f)}}else setTimeout(arguments.callee,10)}()):e.parentNode.removeChild(e)}function c(b){var c=null;try{c=B.getElementById(b)}catch(e){}return c}
function e(b,c,e){b.attachEvent(c,e);E[E.length]=[b,c,e]}function m(b){var c=A.pv,b=b.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return c[0]>b[0]||c[0]==b[0]&&c[1]>b[1]||c[0]==b[0]&&c[1]==b[1]&&c[2]>=b[2]?!0:!1}function w(b,c,e,f){if(!A.ie||!A.mac){var g=B.getElementsByTagName("head")[0];if(g){e=e&&typeof e=="string"?e:"screen";f&&(O=S=null);if(!S||O!=e)f=B.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",e),S=g.appendChild(f),
A.ie&&A.win&&typeof B.styleSheets!=D&&B.styleSheets.length>0&&(S=B.styleSheets[B.styleSheets.length-1]),O=e;A.ie&&A.win?S&&typeof S.addRule==H&&S.addRule(b,c):S&&typeof B.createTextNode!=D&&S.appendChild(B.createTextNode(b+" {"+c+"}"))}}}function I(b,e){if(ca){var f=e?"visible":"hidden";P&&c(b)?c(b).style.visibility=f:w("#"+b,"visibility:"+f)}}function V(b){return/[\\\"<>\.;]/.exec(b)!=null&&typeof encodeURIComponent!=D?encodeURIComponent(b):b}var D="undefined",H="object",X="application/x-shockwave-flash",
N="SWFObjectExprInst",M=window,B=document,W=navigator,K=!1,Z=[function(){K?o():f()}],v=[],J=[],E=[],b,Q,F,u,P=!1,C=!1,S,O,ca=!0,A=function(){var b=typeof B.getElementById!=D&&typeof B.getElementsByTagName!=D&&typeof B.createElement!=D,c=W.userAgent.toLowerCase(),e=W.platform.toLowerCase(),f=e?/win/.test(e):/win/.test(c),e=e?/mac/.test(e):/mac/.test(c),c=/webkit/.test(c)?parseFloat(c.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\u000b1",l=[0,0,0],j=null;if(typeof W.plugins!=D&&typeof W.plugins["Shockwave Flash"]==
H){if((j=W.plugins["Shockwave Flash"].description)&&!(typeof W.mimeTypes!=D&&W.mimeTypes[X]&&!W.mimeTypes[X].enabledPlugin))K=!0,g=!1,j=j.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),l[0]=parseInt(j.replace(/^(.*)\..*$/,"$1"),10),l[1]=parseInt(j.replace(/^.*\.(.*)\s.*$/,"$1"),10),l[2]=/[a-zA-Z]/.test(j)?parseInt(j.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof M.ActiveXObject!=D)try{var u=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(u&&(j=u.GetVariable("$version")))g=!0,j=j.split(" ")[1].split(","),
l=[parseInt(j[0],10),parseInt(j[1],10),parseInt(j[2],10)]}catch(m){}return{w3:b,pv:l,wk:c,ie:g,win:f,mac:e}}();(function(){A.w3&&((typeof B.readyState!=D&&B.readyState=="complete"||typeof B.readyState==D&&(B.getElementsByTagName("body")[0]||B.body))&&g(),P||(typeof B.addEventListener!=D&&B.addEventListener("DOMContentLoaded",g,!1),A.ie&&A.win&&(B.attachEvent("onreadystatechange",function(){B.readyState=="complete"&&(B.detachEvent("onreadystatechange",arguments.callee),g())}),M==top&&function(){if(!P){try{B.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,
0);return}g()}}()),A.wk&&function(){P||(/loaded|complete/.test(B.readyState)?g():setTimeout(arguments.callee,0))}(),q(g)))})();(function(){A.ie&&A.win&&window.attachEvent("onunload",function(){for(var b=E.length,c=0;c<b;c++)E[c][0].detachEvent(E[c][1],E[c][2]);b=J.length;for(c=0;c<b;c++)r(J[c]);for(var e in A)A[e]=null;A=null;for(var f in swfobject)swfobject[f]=null;swfobject=null})})();return{registerObject:function(b,c,e,f){if(A.w3&&b&&c){var g={};g.id=b;g.swfVersion=c;g.expressInstall=e;g.callbackFn=
f;v[v.length]=g;I(b,!1)}else f&&f({success:!1,id:b})},getObjectById:function(b){if(A.w3)return s(b)},embedSWF:function(b,c,e,f,g,u,n,F,C,o){var s={success:!1,id:c};A.w3&&!(A.wk&&A.wk<312)&&b&&c&&e&&f&&g?(I(c,!1),j(function(){e+="";f+="";var j={};if(C&&typeof C===H)for(var r in C)j[r]=C[r];j.data=b;j.width=e;j.height=f;r={};if(F&&typeof F===H)for(var q in F)r[q]=F[q];if(n&&typeof n===H)for(var P in n)typeof r.flashvars!=D?r.flashvars+="&"+P+"="+n[P]:r.flashvars=P+"="+n[P];if(m(g))q=x(j,r,c),j.id==
c&&I(c,!0),s.success=!0,s.ref=q;else if(u&&l()){j.data=u;y(j,r,c,o);return}else I(c,!0);o&&o(s)})):o&&o(s)},switchOffAutoHideShow:function(){ca=!1},ua:A,getFlashPlayerVersion:function(){return{major:A.pv[0],minor:A.pv[1],release:A.pv[2]}},hasFlashPlayerVersion:m,createSWF:function(b,c,e){if(A.w3)return x(b,c,e)},showExpressInstall:function(b,c,e,f){A.w3&&l()&&y(b,c,e,f)},removeSWF:function(b){A.w3&&r(b)},createCSS:function(b,c,e,f){A.w3&&w(b,c,e,f)},addDomLoadEvent:j,addLoadEvent:q,getQueryParamValue:function(b){var c=
B.location.search||B.location.hash;if(c){/\?/.test(c)&&(c=c.split("?")[1]);if(b==null)return V(c);for(var c=c.split("&"),e=0;e<c.length;e++)if(c[e].substring(0,c[e].indexOf("="))==b)return V(c[e].substring(c[e].indexOf("=")+1))}return""},expressInstallCallback:function(){if(C){var e=c(N);if(e&&b){e.parentNode.replaceChild(b,e);if(Q&&(I(Q,!0),A.ie&&A.win))b.style.display="block";F&&F(u)}C=!1}}}}(),Cufon=function(){function g(b){var c=this.face=b.face,e={" ":1,"\u00a0":1,"\u3000":1};this.glyphs=function(b){var c,
e={"\u2011":"-","\u00ad":"\u2011"};for(c in e)e.hasOwnProperty(c)&&(b[c]||(b[c]=b[e[c]]));return b}(b.glyphs);this.w=b.w;this.baseSize=parseInt(c["units-per-em"],10);this.family=c["font-family"].toLowerCase();this.weight=c["font-weight"];this.style=c["font-style"]||"normal";this.viewBox=function(){var b=c.bbox.split(/\s+/),b={minX:parseInt(b[0],10),minY:parseInt(b[1],10),maxX:parseInt(b[2],10),maxY:parseInt(b[3],10)};b.width=b.maxX-b.minX;b.height=b.maxY-b.minY;b.toString=function(){return[this.minX,
this.minY,this.width,this.height].join(" ")};return b}();this.ascent=-parseInt(c.ascent,10);this.descent=-parseInt(c.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(b,c,f){for(var g=this.glyphs,l,j,u=[],m=0,n=-1,F=-1,o;o=b[++n];)if(l=g[o]||this.missingGlyph)j&&(m-=j=j[o]||0,u[F]-=j),j=l.w,isNaN(j)&&(j=+this.w),j>0&&(j+=c,e[o]&&(j+=f)),m+=u[++F]=~~j,j=l.k;u.total=m;return u}}function j(){var b={},c={oblique:"italic",italic:"oblique"};this.add=function(c){(b[c.style]||(b[c.style]=
{}))[c.weight]=c};this.get=function(e,f){var g=b[e]||b[c[e]]||b.normal||b.italic||b.oblique;if(!g)return null;f={normal:400,bold:700}[f]||parseInt(f,10);if(g[f])return g[f];var j={1:1,99:0}[f%100],l=[],m,n;j===void 0&&(j=f>400);f==500&&(f=400);for(var o in g)if(g.hasOwnProperty(o)){o=parseInt(o,10);if(!m||o<m)m=o;if(!n||o>n)n=o;l.push(o)}f<m&&(f=m);f>n&&(f=n);l.sort(function(b,c){return(j?b>=f&&c>=f?b<c:b>c:b<=f&&c<=f?b>c:b<c)?-1:1});return g[l[0]]}}function q(b){var c={},e={};this.extend=function(b){for(var e in b)b.hasOwnProperty(e)&&
(c[e]=b[e]);return this};this.get=function(e){return c[e]!=void 0?c[e]:b[e]};this.getSize=function(b,c){return e[b]||(e[b]=new w.Size(this.get(b),c))};this.isUsable=function(){return!!b}}function o(b,c,e){b.addEventListener?b.addEventListener(c,e,!1):b.attachEvent&&b.attachEvent("on"+c,e)}function f(b,c){if(c._mediatorMode)return b;var e=N.get(b),f=e.options;if(f){if(f===c)return b;f.hover&&M.detach(b)}c.hover&&c.hoverables[b.nodeName.toLowerCase()]&&M.attach(b);e.options=c;return b}function s(b){var c=
{};return function(e){c.hasOwnProperty(e)||(c[e]=b.apply(null,arguments));return c[e]}}function l(b){return document.getElementsByTagName(b)}function y(){for(var b={},c,e,f=0,g=arguments.length;c=arguments[f],f<g;++f)for(e in c)c.hasOwnProperty(e)&&(b[e]=c[e]);return b}function n(b,c,e,f,g,j){var l=document.createDocumentFragment();if(c==="")return l;var m=f.separate,n=c.split(Q[m]);if((m=m=="words")&&I)/^\s/.test(c)&&n.unshift(""),/\s$/.test(c)&&n.push("");for(var o=0,s=n.length;o<s;++o)(c=J[f.engine](b,
m?w.textAlign(n[o],e,o,s):n[o],e,f,g,j,o<s-1))&&l.appendChild(c);return l}function t(b,c,e){b.removeEventListener?b.removeEventListener(c,e,!1):b.detachEvent&&b.detachEvent("on"+c,e)}function x(b,e){var g=b.nodeName.toLowerCase();if(!e.ignore[g]&&(!e.ignoreClass||!e.ignoreClass.test(b.className))){if(e.onBeforeReplace)e.onBeforeReplace(b,e);var g=!e.textless[g],j=e.trim==="simple",l=w.getStyle(f(b,e)).extend(e);if(parseFloat(l.get("fontSize"))!==0){var m;a:{m=w.quotedList(l.get("fontFamily").toLowerCase());
for(var s,q=0;s=m[q];++q)if(E[s]){m=E[s].get(l.get("fontStyle"),l.get("fontWeight"));break a}m=null}var v,t,y,x,B=e.softHyphens,I=!1,H=/\u00ad/g,Q=e.modifyText;if(m){for(s=b.firstChild;s;s=v){q=s.nodeType;v=s.nextSibling;if(g&&q==3){if(B&&b.nodeName.toLowerCase()!=D&&(y=s.data.indexOf("\u00ad"),y>=0))s.splitText(y),v=s.nextSibling,v.deleteData(0,1),I=document.createElement(D),I.appendChild(document.createTextNode("\u00ad")),b.insertBefore(I,v),v=I,I=!0;t?(t.appendData(s.data),b.removeChild(s)):t=
s;if(v)continue}if(t)y=t.data,B||(y=y.replace(H,"")),y=w.whiteSpace(y,l,t,x,j),Q&&(y=Q(y,t,b,e)),b.replaceChild(n(m,y,l,e,s,b),t),t=null;if(q==1){if(s.firstChild)if(s.nodeName.toLowerCase()=="cufon")J[e.engine](m,null,l,e,s,b);else arguments.callee(s,e);x=s}}B&&I&&(r(b),K||o(window,"resize",c),K=!0);if(e.onAfterReplace)e.onAfterReplace(b,e)}}}}function r(b){var c,e,f,g,j,l,b=b.getElementsByTagName(D);for(l=0;c=b[l];++l)if(c.className=H,f=e=c.parentNode,f.nodeName.toLowerCase()!=V)g=document.createElement(V),
g.appendChild(c.previousSibling),e.insertBefore(g,c),g.appendChild(c);else if(f=f.parentNode,f.nodeName.toLowerCase()==V){for(e=f.parentNode;f.firstChild;)e.insertBefore(f.firstChild,f);e.removeChild(f)}for(l=0;c=b[l];++l)if(c.className="",f=c.parentNode,e=f.parentNode,j=f.nextSibling||e.nextSibling,g=j.nodeName.toLowerCase()==V?f:c.previousSibling,g.offsetTop>=j.offsetTop)c.className=H,g.offsetTop<j.offsetTop&&(g=document.createElement(V),e.insertBefore(g,f),g.appendChild(f),g.appendChild(j))}function c(){v||
(w.addClass(m.root(),X),clearTimeout(Z),Z=setTimeout(function(){v=!0;w.removeClass(m.root(),X);r(document);v=!1},100))}var e=function(){return e.replace.apply(null,arguments)},m=e.DOM={ready:function(){var b=!1,c={loaded:1,complete:1},e=[],f=function(){if(!b){b=!0;for(var c;c=e.shift();c());}};document.addEventListener&&(document.addEventListener("DOMContentLoaded",f,!1),window.addEventListener("pageshow",f,!1));!window.opera&&document.readyState&&function(){c[document.readyState]?f():setTimeout(arguments.callee,
10)}();document.readyState&&document.createStyleSheet&&function(){try{document.body.doScroll("left"),f()}catch(b){setTimeout(arguments.callee,1)}}();o(window,"load",f);return function(c){arguments.length?b?c():e.push(c):f()}}(),root:function(){return document.documentElement||document.body},strict:function(){var b;if(document.compatMode=="BackCompat")return!1;if(b=document.doctype)return!/frameset|transitional/i.test(b.publicId);b=document.firstChild;return b.nodeType!=8||/^DOCTYPE.+(transitional|frameset)/i.test(b.data)?
!1:!0}()},w=e.CSS={Size:function(b,c){this.value=parseFloat(b);this.unit=String(b).match(/[a-z%]*$/)[0]||"px";this.convert=function(b){return b/c*this.value};this.convertFrom=function(b){return b/this.value*c};this.toString=function(){return this.value+this.unit}},addClass:function(b,c){var e=b.className;b.className=e+(e&&" ")+c;return b},color:s(function(b){var c={};c.color=b.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(b,e,f){c.opacity=parseFloat(f);return"rgb("+e+")"});return c}),fontStretch:s(function(b){return typeof b==
"number"?b:/%$/.test(b)?parseFloat(b)/100:{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[b]||1}),getStyle:function(b){var c=document.defaultView;return c&&c.getComputedStyle?new q(c.getComputedStyle(b,null)):b.currentStyle?new q(b.currentStyle):new q(b.style)},gradient:s(function(b){for(var c={id:b,type:b.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},b=b.substr(b.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig),
e=0,f=b.length,g;e<f;++e)g=b[e].split("=",2).reverse(),c.stops.push([g[1]||e/(f-1),g[0]]);return c}),quotedList:s(function(b){for(var c=[],e=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,f;f=e.exec(b);)c.push(f[3]||f[1]);return c}),recognizesMedia:s(function(b){var c=document.createElement("style"),e;c.type="text/css";c.media=b;try{c.appendChild(document.createTextNode("/**/"))}catch(f){}b=l("head")[0];b.insertBefore(c,b.firstChild);e=(e=c.sheet||c.styleSheet)&&!e.disabled;b.removeChild(c);return e}),
removeClass:function(b,c){b.className=b.className.replace(RegExp("(?:^|\\s+)"+c+"(?=\\s|$)","g"),"");return b},supports:function(b,c){var e=document.createElement("span").style;if(e[b]===void 0)return!1;e[b]=c;return e[b]===c},textAlign:function(b,c,e,f){c.get("textAlign")=="right"?e>0&&(b=" "+b):e<f-1&&(b+=" ");return b},textShadow:s(function(b){if(b=="none")return null;for(var c=[],e={},f,g=0,l=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;f=l.exec(b);)f[0]==","?(c.push(e),e={},g=0):
f[1]?e.color=f[1]:e[["offX","offY","blur"][g++]]=f[2];c.push(e);return c}),textTransform:function(){var b={uppercase:function(b){return b.toUpperCase()},lowercase:function(b){return b.toLowerCase()},capitalize:function(b){return b.replace(/(?:^|\s)./g,function(b){return b.toUpperCase()})}};return function(c,e){var f=b[e.get("textTransform")];return f?f(c):c}}(),whiteSpace:function(){var b={inline:1,"inline-block":1,"run-in":1},c=/^\s+/,e=/\s+$/;return function(f,g,l,j,m){if(m)return f.replace(c,"").replace(e,
"");j&&j.nodeName.toLowerCase()=="br"&&(f=f.replace(c,""));if(b[g.get("display")])return f;l.previousSibling||(f=f.replace(c,""));l.nextSibling||(f=f.replace(e,""));return f}}()};w.ready=function(){function b(e){return!s[e.type.toLowerCase()]?!0:e.disabled||c(e.sheet,e.media||"screen")}function c(b,e){if(!w.recognizesMedia(e||"all"))return!0;if(!b||b.disabled)return!1;try{var f=b.cssRules,g;if(f){var j=0,l=f.length;a:for(;g=f[j],j<l;++j)switch(g.type){case 2:break;case 3:if(!c(g.styleSheet,g.media.mediaText))return!1;
break;default:break a}}}catch(m){}return!0}function e(){if(document.createStyleSheet)return!0;var c,f;for(f=0;c=n[f];++f)if(c.rel.toLowerCase()=="stylesheet"&&!b(c))return!1;for(f=0;c=o[f];++f)if(!b(c))return!1;return!0}var f=!w.recognizesMedia("all"),g=!1,j=[],n=l("link"),o=l("style"),s={"":1,"text/css":1};m.ready(function(){g||(g=w.getStyle(document.body).isUsable());if(f||g&&e()){f=!0;for(var b;b=j.shift();b());}else setTimeout(arguments.callee,10)});return function(b){f?b():j.push(b)}}();var I=
" ".split(/\s+/).length==0,V="cufonglue",D="cufonshy",H="cufon-shy-disabled",X="cufon-viewport-resizing",N=new function(){var b={},c=0;this.get=function(e){e=e.cufid||(e.cufid=++c);return b[e]||(b[e]={})}},M=new function(){function b(c){var e=c.relatedTarget,g;if(g=e)a:{try{g=this.contains?this.contains(e):this.compareDocumentPosition(e)&16;break a}catch(j){}g=!1}g||f(this,c.type=="mouseover")}function c(b){if(!b)b=window.event;f(b.target||b.srcElement,b.type=="mouseenter")}function f(b,c){setTimeout(function(){var f=
N.get(b).options;if(c)f=y(f,f.hover),f._mediatorMode=1;e.replace(b,f,!0)},10)}this.attach=function(e){e.onmouseenter===void 0?(o(e,"mouseover",b),o(e,"mouseout",b)):(o(e,"mouseenter",c),o(e,"mouseleave",c))};this.detach=function(e){e.onmouseenter===void 0?(t(e,"mouseover",b),t(e,"mouseout",b)):(t(e,"mouseenter",c),t(e,"mouseleave",c))}},B=new function(){var b=[],c={};this.add=function(e,f){c[e]=b.push(f)-1};this.repeat=function(){var f;if(arguments.length){f=arguments;for(var g=[],j,l=0;j=f[l];++l)g[l]=
b[c[j]];f=g}else f=b;for(j=0;g=f[j++];)e.replace(g[0],g[1],!0)}},W=!1,K=!1,Z,v=!1,J={},E={},b={autoDetect:!1,engine:null,forceHitArea:!1,hover:!1,hoverables:{a:!0},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,noscript:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},ignoreClass:null,modifyText:null,onAfterReplace:null,onBeforeReplace:null,printable:!0,selector:window.Sizzle||window.jQuery&&function(b){return jQuery(b)}||window.dojo&&dojo.query||window.glow&&
glow.dom&&glow.dom.get||window.Ext&&Ext.query||window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query||window.$$&&function(b){return $$(b)}||window.$&&function(b){return $(b)}||document.querySelectorAll&&function(b){return document.querySelectorAll(b)}||l,separate:"words",softHyphens:!0,textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none",trim:"advanced"},Q={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};e.now=function(){m.ready();
return e};e.refresh=function(){B.repeat.apply(B,arguments);return e};e.registerEngine=function(b,c){if(!c)return e;J[b]=c;return e.set("engine",b)};e.registerFont=function(b){if(!b)return e;var b=new g(b),c=b.family;E[c]||(E[c]=new j);E[c].add(b);return e.set("fontFamily",'"'+c+'"')};e.replace=function(c,f,g){f=y(b,f);if(!f.engine)return e;W||(w.addClass(m.root(),"cufon-active cufon-loading"),w.ready(function(){w.addClass(w.removeClass(m.root(),"cufon-loading"),"cufon-ready")}),W=!0);if(f.hover)f.forceHitArea=
!0;f.autoDetect&&delete f.fontFamily;if(typeof f.ignoreClass=="string")f.ignoreClass=RegExp("(?:^|\\s)(?:"+f.ignoreClass.replace(/\s+/g,"|")+")(?:\\s|$)");if(typeof f.textShadow=="string")f.textShadow=w.textShadow(f.textShadow);typeof f.color=="string"&&/^-/.test(f.color)?f.textGradient=w.gradient(f.color):delete f.textGradient;typeof c=="string"?(g||B.add(c,arguments),c=[c]):c.nodeType&&(c=[c]);w.ready(function(){for(var b=0,g=c.length;b<g;++b){var j=c[b];typeof j=="string"?e.replace(f.selector(j),
f,!0):x(j,f)}});return e};e.set=function(c,f){b[c]=f;return e};return e}();
Cufon.registerEngine("vml",function(){function g(f,g){if(!isNaN(g)||/px$/i.test(g))return parseFloat(g);var j=f.style.left,n=f.runtimeStyle.left;f.runtimeStyle.left=f.currentStyle.left;f.style.left=g.replace("%","em");var o=f.style.pixelLeft;f.style.left=j;f.runtimeStyle.left=n;return o}function j(f,j,o,n){var q="computed"+n,x=j[q];isNaN(x)&&(x=j.get(n),j[q]=x=x=="normal"?0:~~o.convertFrom(g(f,x)));return x}var q=document.namespaces;if(q&&(q.add("cvml","urn:schemas-microsoft-com:vml"),q=null,q=document.createElement("cvml:shape"),
q.style.behavior="url(#default#VML)",q.coordsize)){var q=null,o=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(o?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;text-align:left;}cufonshy.cufon-shy-disabled,.cufon-viewport-resizing cufonshy{display:none;}cufonglue{white-space:nowrap;display:inline-block;}.cufon-viewport-resizing cufonglue{white-space:normal;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,
"!important;"));var f={};return function(s,l,q,n,t,x,r){var c=l===null;if(c)l=t.alt;var e=s.viewBox,m;if(!(m=q.computedFontSize)){m=Cufon.CSS.Size;var w;w=q.get("fontSize");w=g(x,/(?:em|ex|%)$|^[a-z-]+$/i.test(w)?"1em":w);m=q.computedFontSize=new m(w+"px",s.baseSize)}w=m;if(c)m=t,t=t.firstChild;else{m=document.createElement("cufon");m.className="cufon cufon-vml";m.alt=l;t=document.createElement("cufoncanvas");m.appendChild(t);if(n.printable){var I=document.createElement("cufontext");I.appendChild(document.createTextNode(l));
m.appendChild(I)}r||m.appendChild(document.createElement("cvml:shape"))}var r=m.style,V=t.style,D=w.convert(e.height),I=Math.ceil(D),D=I/D*Cufon.CSS.fontStretch(q.get("fontStretch")),H=e.minX,X=e.minY;V.height=I;V.top=Math.round(w.convert(X-s.ascent));V.left=Math.round(w.convert(H));r.height=w.convert(s.height)+"px";var N=q.get("color"),M=Cufon.CSS.textTransform(l,q).split(""),B=s.spacing(M,j(x,q,w,"letterSpacing"),j(x,q,w,"wordSpacing"));if(!B.length)return null;var l=B.total,W=-H+l+(e.width-B[B.length-
1]),V=w.convert(W*D),V=Math.round(V),e=W+","+e.height,K,W="r"+e+"ns",Z;if(Z=n.textGradient){var v=n.textGradient;Z=v.id;if(!f[Z]){var v=v.stops,J=document.createElement("cvml:fill"),E=[];J.type="gradient";J.angle=180;J.focus="0";J.method="none";J.color=v[0][1];for(var b=1,Q=v.length-1;b<Q;++b)E.push(v[b][0]*100+"% "+v[b][1]);J.colors=E.join(",");J.color2=v[Q][1];f[Z]=J}Z=f[Z]}v=s.glyphs;J=0;E=n.textShadow;b=-1;for(Q=0;M[++b];){var F=v[M[b]]||s.missingGlyph,u;if(F){if(c)for(u=t.childNodes[Q];u.firstChild;)u.removeChild(u.firstChild);
else u=document.createElement("cvml:shape"),t.appendChild(u);u.stroked="f";u.coordsize=e;u.coordorigin=K=H-J+","+X;u.path=(F.d?"m"+F.d+"xe":"")+"m"+K+W;u.fillcolor=N;Z&&u.appendChild(Z.cloneNode(!1));K=u.style;K.width=V;K.height=I;if(E){K=E[0];var F=E[1],P=Cufon.CSS.color(K.color),C,S=document.createElement("cvml:shadow");S.on="t";S.color=P.color;S.offset=K.offX+","+K.offY;if(F)C=Cufon.CSS.color(F.color),S.type="double",S.color2=C.color,S.offset2=F.offX+","+F.offY;S.opacity=P.opacity||C&&C.opacity||
1;u.appendChild(S)}J+=B[Q++]}}s=u.nextSibling;if(n.forceHitArea){if(!s)s=document.createElement("cvml:rect"),s.stroked="f",s.className="cufon-vml-cover",n=document.createElement("cvml:fill"),n.opacity=0,s.appendChild(n),t.appendChild(s);n=s.style;n.width=V;n.height=I}else s&&t.removeChild(s);r.width=Math.max(Math.ceil(w.convert(l*D)),0);if(o){n=q.computedYAdjust;if(n===void 0)n=q.get("lineHeight"),n=="normal"?n="1em":isNaN(n)||(n+="em"),q.computedYAdjust=n=0.5*(g(x,n)-parseFloat(r.height));if(n)r.marginTop=
Math.ceil(n)+"px",r.marginBottom=n+"px"}return m}}}());
Cufon.registerEngine("canvas",function(){var g=document.createElement("canvas");if(g&&g.getContext&&g.getContext.apply){var g=null,j=Cufon.CSS.supports("display","inline-block"),g=!j&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId)),q=document.createElement("style");q.type="text/css";q.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(g?
"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;text-align:left;text-indent:-10000in;}"+(j?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"cufonshy.cufon-shy-disabled,.cufon-viewport-resizing cufonshy{display:none;}cufonglue{white-space:nowrap;display:inline-block;}.cufon-viewport-resizing cufonglue{white-space:normal;}}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));
document.getElementsByTagName("head")[0].appendChild(q);return function(g,f,s,l,q){function n(){var c=g.glyphs,e,f=-1,j=-1;for(K.scale(W,1);N[++f];)if(e=c[N[f]]||g.missingGlyph){if(e.d){K.beginPath();if(e.code){var b=e.code;e=K;for(var l=0,m=b.length;l<m;++l){var n=b[l];e[n.m].apply(e,n.a)}}else{b=e;e="m"+e.d;var l=K,n=m=0,s=[],r=/([mrvxe])([^a-z]*)/g,q=void 0,t=0;a:for(;q=r.exec(e);++t){var w=q[2].split(",");switch(q[1]){case "v":s[t]={m:"bezierCurveTo",a:[m+~~w[0],n+~~w[1],m+~~w[2],n+~~w[3],m+=
~~w[4],n+=~~w[5]]};break;case "r":s[t]={m:"lineTo",a:[m+=~~w[0],n+=~~w[1]]};break;case "m":s[t]={m:"moveTo",a:[m=~~w[0],n=~~w[1]]};break;case "x":s[t]={m:"closePath"};break;case "e":break a}l[s[t].m].apply(l,s[t].a)}b.code=s}K.fill()}K.translate(M[++j],0)}K.restore()}var t=f===null;t&&(f=q.getAttribute("alt"));var x=g.viewBox,r=s.getSize("fontSize",g.baseSize),c=0,e=0,m=0,w=0,I=l.textShadow,V=[];if(I)for(var D=I.length;D--;){var H=I[D],X=r.convertFrom(parseFloat(H.offX)),H=r.convertFrom(parseFloat(H.offY));
V[D]=[X,H];H<c&&(c=H);X>e&&(e=X);H>m&&(m=H);X<w&&(w=X)}var N=Cufon.CSS.textTransform(f,s).split(""),M=g.spacing(N,~~r.convertFrom(parseFloat(s.get("letterSpacing"))||0),~~r.convertFrom(parseFloat(s.get("wordSpacing"))||0));if(!M.length)return null;H=M.total;e+=x.width-M[M.length-1];w+=x.minX;t?(t=q,D=q.firstChild):(t=document.createElement("cufon"),t.className="cufon cufon-canvas",t.setAttribute("alt",f),D=document.createElement("canvas"),t.appendChild(D),l.printable&&(q=document.createElement("cufontext"),
q.appendChild(document.createTextNode(f)),t.appendChild(q)));var q=t.style,B=D.style,X=r.convert(x.height),f=Math.ceil(X)/X,W=f*Cufon.CSS.fontStretch(s.get("fontStretch"));H*=W;e=Math.ceil(r.convert(H+e-w));m=Math.ceil(r.convert(x.height-c+m));D.width=e;D.height=m;B.width=e+"px";B.height=m+"px";c+=x.minY;B.top=Math.round(r.convert(c-g.ascent))+"px";B.left=Math.round(r.convert(w))+"px";H=Math.max(Math.ceil(r.convert(H)),0)+"px";j?(q.width=H,q.height=r.convert(g.height)+"px"):(q.paddingLeft=H,q.paddingBottom=
r.convert(g.height)-1+"px");var K=D.getContext("2d"),r=X/x.height,H=window.devicePixelRatio||1;if(H!=1)D.width=e*H,D.height=m*H,K.scale(H,H);K.scale(r,r*f);K.translate(-w,-c);K.save();if(I)for(D=I.length;D--;)H=I[D],K.save(),K.fillStyle=H.color,K.translate.apply(K,V[D]),n();if(l=l.textGradient){s=l.stops;x=K.createLinearGradient(0,x.minY,0,x.maxY);D=0;for(l=s.length;D<l;++D)x.addColorStop.apply(x,s[D]);K.fillStyle=x}else K.fillStyle=s.get("color");n();return t}}}());
function Form(){function g(){for(var g=!0,j=0;j<f.length;j++)f[j].validate()?f[j].hideError():(f[j].showError(),g=!1);return g}function j(f){g()||f.preventDefault()}function q(f){f.preventDefault();g()&&$(o.root).submit()}var o={},f=[];(function(g){o.root=g;$(o.root).bind("submit",j);for(var g=$('input[type="text"], input[type="checkbox"], input[type="radio"], textarea, select',o.root),l=0;l<g.length;l++)f[l]=new Form.Input(g.get(l));if(g=$(".genericSubmit",o.root))g.addClass("replaced"),o.fauxSubmit=
$('<a href="#" class="fauxSubmit">Verzenden</a>'),o.fauxSubmit.insertAfter(g),o.fauxSubmit.bind("click",q)}).apply(this,arguments);return this}if(typeof String.prototype.trim!=="function")String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};
Form.Input=function(){function g(){if(y){var c=y.split(",");c.length<=1&&(c[0]=y);$.each(c,function(c,e){switch(e){case "removeSpaces":$(f.root).val($(f.root).val().split(" ").join(""));break;case "postCodeCheck":$("#nr").val();var g=$("#pc").val();$.getJSON("http://api.pro6pp.nl/v1/autocomplete?callback=?",{auth_key:"UkMdKLpI9FBszPrb",nl_sixpp:g,format:"json"},function(c){c.status=="ok"&&($("#street").val(c.results[0].street),$("#city").val(c.results[0].city))});break;case "amountCheckPreset":var g=
$('input[name="amount_preset"]:checked'),j=$('input[name="amount_preset"]').last();if(g.attr("id")==j.attr("id"))$("#amount").val($("#amount_custom").val());else if($("#amount_custom").val(""),g.length>=1)g=g[0].value,$("#amount").val(g);break;case "amountCheckCustom":g=$('input[name="amount_preset"]'),j=$("#"+g[g.length-1].id),j.prop("checked",!0),f.errorContext.children("div.radioList").children("div.radioOption").children("span.jqTransformRadioWrapper").children("a.jqTransformChecked").removeClass("jqTransformChecked"),
f.errorContext.children("div.radioList").children("div.radioOption").last().children("span.jqTransformRadioWrapper").children("a").addClass("jqTransformChecked"),$("#amount").val($("#amount_custom").val())}})}}function j(){s==$(f.root).val()&&$(f.root).val("");$(f.border).removeClass("default").addClass("active")}function q(){var c=$.trim($(f.root).val());c==""||c==s?($(f.root).val(s),$(f.border).addClass("default")):$(f.border).removeClass("default");$(f.border).removeClass("active")}var o=this,
f={},s="",l="",y="",n="",t=!1,x=!1,r=!1,c=!1;o.validate=function(){if(n=="select"){if($(f.root).parent().parent().parent().hasClass("doNotValidate"))return!0}else if(n=="text"&&$(f.root).parent().parent().hasClass("doNotValidate"))return!0;if(l==void 0)return!0;l.substr(0,7)=="number_"&&(x=!0,l=l.split("_"),r=parseInt(l[1]),c=parseInt(l[2]),l=l[0]);if(l)if(l=="empty"&&$(f.root).val()==s)t=!1;else if(l!="empty"&&l!="donate_amount"&&$(f.root).val()==s)t=!0;else switch(l){case "value":switch(n){case "textarea":case "text":t=
$(f.root).val().trim().length==0?!0:!1;break;case "select":t=$(f.root).val()<=-1?!0:!1;break;case "radio":var e=$('input[name="'+$(f.root).attr("name")+'"]');t=!0;for(var g=0;g<e.length;g++)if($(e.get(g)).prop("checked")){t=!1;break}}break;case "checked":n=="checkbox"&&(t=!0,$(f.root).prop("checked")&&(t=!1));break;case "email":t=!1;g=/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}/i;if(n=="text"||n=="textarea")$(f.root).val().match(g)||(t=!0);break;case "number":if(n=="text"||n=="textarea")t=!1,g=$(f.root).val(),
g.substr(0,1)=="0"&&(g=g.substr(1,1)),g=parseInt(g),t=x?g<r||g>c?!0:!1:""+g==g?!1:!0;break;case "empty":if((n=="text"||n=="textarea")&&$(f.root).val()==s)$(f.root).val(""),t=!1;break;case "donate_amount":t=!0;g=$("#amount").val();g=g.replace(",",".")-0;t=g==""||isNaN(g)?!0:$("#paymentmethod").val()=="ideal"?$("#amount").val()<2?!0:!1:!1;break;case "donate_notempty":t=$(f.root).val().trim().length==0?!0:!1;break;case "donate_email":t=$(f.root).val().match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/)==
null?!0:!1;break;case "donate_number":t=isNaN($(f.root).val())||$(f.root).val().trim().length==0?!0:!1;break;case "donate_checked":t=$(f.root).prop("checked")?!1:!0;break;case "donate_accnr":if(e=$(f.root).val().replace(/\D/,""),e.length>11)t=!0;else if(e.length>=5&&e.length<=8||e.length>9)t=!1;else{for(var j=0,g=1;g<10;g++){var o=e.charAt(g-1);j+=o*(10-g)}t=j%11==0&&e.length==9?!1:!0}}return!t};o.getType=function(){var c="",g=$(f.root).get(0).nodeName.toLowerCase();g=="textarea"?c="textarea":g==
"select"?c="select":g=="input"&&(c=$(f.root).attr("type").toLowerCase());return c};o.showError=function(){$(f.errorContext).addClass("error");$(f.root).addClass("yesError");$(f.root).removeClass("noError")};o.hideError=function(){$(f.root).removeClass("yesError");$(f.root).addClass("noError");$(f.errorContext).find($(".yesError")).attr("id")||$(f.errorContext).removeClass("error")};(function(c){f.root=c;f.border=$(f.root).parents(".inputBorder");f.errorContext=$(f.root).parents(".errorContext");$(f.root).bind("focus",
j);$(f.root).bind("blur",q);$(f.root).bind("change",g);s=$(f.root).attr("m:default");l=$(f.root).attr("m:validateas");y=$(f.root).attr("m:onchange");n=o.getType();q()}).apply(this,arguments);return o};function StoryBackground(){var g={},j;this.setStory=function(q){$(g.background).css({backgroundImage:"url("+siteImageFolder+"story_"+q+"_"+j+".png)"})};g.body=document.body;g.background=$("#bg");j=/gray/i.test($(g.body).attr("class"))?"gray":"red";return this}
function MainPage(){function g(f){f.preventDefault();$(j).trigger("requestShow")}var j=this,q={},o,f=new StorySidebar;j.show=function(){f.show[0]();q.veil.detach();var g=$({});g.queue("anim",function(f){q.root.animate({marginLeft:0},400,"easeOutCubic",function(){f()})});g.queue("anim",function(){f.show[1]();j.setHeight(0)});g.dequeue("anim")};j.hide=function(){f.hide[0]();q.root.append(q.veil);var g=$("#mainSite .content").height(),j=$("#storiesSite").height();j>g&&q.padder.animate({height:o+(j-g)},
200);g=$({});g.queue("anim",function(f){q.root.animate({marginLeft:-750},400,"easeOutCubic",function(){f()})});g.queue("anim",function(){f.hide[1]()});g.dequeue("anim")};j.setHeight=function(f){var g=q.content.height();g&&f>g?q.padder.animate({height:o+(f-g)},200):q.padder.animate({height:o},200)};j.setStory=function(g){f.setStory(g)};q.root=$("#mainSite");q.content=$("#mainSite>.content");q.padder=$(".padder",q.root);q.veil=$("<div/>",{"class":"veil"});$(f).bind("requestShow",g);$(f).bind("requestHide",
function(f){f.preventDefault();$(j).trigger("requestHide")});q.veil.bind("click",g);o=q.padder.height();return j}
function StorySidebar(){var g=this,j={},q=[],o={};g.show=[];g.show.push(function(){j.head.css({visibility:"visible"});j.body.css({visibility:"visible"});j.toggle.css({visibility:"visible"});j.tinyToggle.css({visibility:"hidden",marginLeft:-84})});g.show.push(function(){j.head.animate({opacity:1},400,"easeOutCubic");j.body.animate({opacity:1},400,"easeOutCubic");j.toggle.animate({marginLeft:-27},400,"easeOutCubic")});g.hide=[];g.hide.push(function(){j.head.css({visibility:"hidden",opacity:0});j.body.css({visibility:"hidden",
opacity:0});j.toggle.css({visibility:"hidden",marginLeft:-242});j.tinyToggle.css({visibility:"visible"})});g.hide.push(function(){j.tinyToggle.animate({marginLeft:-27},400,"easeOutCubic")});g.setStory=function(f){if(f=q[o[f]])j.fields.teaseTitle.empty(),j.fields.teaseTitle.html(redDot(f.extra.teaseTitle)),j.fields.teaseSubtitle.empty(),j.fields.teaseSubtitle.text(f.extra.teaseSubtitle),j.fields.actionLabel.empty(),j.fields.actionLabel.text("BEKIJK"),j.fields.toggleText.empty(),j.fields.toggleText.text("Het verhaal van "+
f.extra.personName),Cufon.replace($(".utopiaCaption",j.root),{fontFamily:"Utopia Std Semibold Caption",ignoreClass:"nocufon"}),Cufon.replace($(".akzidenzGrotesk",j.root),{fontFamily:"Akzidenz-Grotesk BQ",ignoreClass:"nocufon"})};g.setData=function(f){q=f;o={};for(var g=0;g<f.length;g++)o[f[g].id]=g};j.root=$("#storySidebar");j.head=$(".head",j.root);j.body=$(".body",j.root);j.toggle=$(".toggle",j.root);j.tinyToggle=$(".tinyToggle",j.root);j.fields={};j.fields.teaseTitle=$(".fTeaseTitle",j.root);j.fields.teaseSubtitle=
$(".fTeaseSubtitle",j.root);j.fields.actionLabel=$(".fActionLabel",j.root);j.fields.toggleText=$(".fToggleText",j.root);j.toggle.bind("click",function(f){f.preventDefault();$(g).trigger("requestHide")});j.tinyToggle.bind("click",function(f){f.preventDefault();$(g).trigger("requestShow")});g.setData(window.storiesData);j.root.css({position:"absolute"});return g}
function StoriesPage(){function g(){f.fields.title.empty();f.fields.summary.empty();f.fields.quote.empty();f.fields.content.empty();f.fields.calltoAction.empty()}function j(){l&&(f.fields.video.empty(),f.fields.video.html('<iframe src="'+("https:"==document.location.protocol?"https":"http")+"://player.vimeo.com/video/"+l+'?color=e1272c&title=0&byline=0&portrait=0" width="578" height="324" frameborder="0"></iframe>'))}function q(c){c.preventDefault();$(o).trigger("requestHide")}var o=this,f={},s={},
l,y={},n={},t=!1,x,r=!0;o.show=function(){t=!0;o.setStory(x);f.root.animate({marginRight:-320,opacity:1},400,"easeOutCubic",function(){j()})};o.hide=function(){t=!1;var c=$({});c.queue("anim",function(){f.root.animate({marginRight:-1120,opacity:0},400,"easeOutCubic",function(){f.fields.video.empty();g()})});c.dequeue("anim")};o.isOpen=function(){return t};o.setStory=function(c){var e=y[c];e==void 0&&(e=0);if(e=s[e])f.fields.video.html(""),e.extra.vimeoId?(l=e.extra.vimeoId,f.fields.video.css({display:"block"}),
t&&j()):(l=null,f.fields.video.css({display:"none"})),g(),f.fields.title.html(redDot(e.title)),f.fields.summary.html("<p>"+e.summary+"</p>"),f.fields.quote.text("\u2018"+e.extra.quote+"\u2019"),f.fields.content.html("<p>"+e.content+"</p>"),f.fields.calltoAction.text(e.extra.callToAction),r&&($(f.cTopMenuLinks[n[x]]).removeClass("active"),$(f.cTopMenuLinks[n[c]]).addClass("active"),x=c),Cufon.replace($(".utopiaCaption",f.root),{fontFamily:"Utopia Std Semibold Caption",ignoreClass:"nocufon"}),$(o).trigger("storyChange",
{id:c});else throw new Exception("Could not get Story data");};o.setData=function(c){s=c;y={};for(var e=0;e<c.length;e++)y[c[e].id]=e};(function(){f.root=$("#storiesSite");f.close=$(".close",f.root);f.fields={};f.fields.video=$(".fVideo",f.root);f.fields.title=$(".fTitle",f.root);f.fields.summary=$(".fSummary",f.root);f.fields.quote=$(".fQuote",f.root);f.fields.content=$(".fContent",f.root);f.fields.calltoAction=$(".fCallToAction",f.root);f.cTopMenuLinks=$("#stories-topMenu li a");f.cTopMenuLinks.length==
0&&(r=!1);$(f.close).bind("click",q);o.setData(window.storiesData);if(s[0].extra.vimeoId)l=s[0].extra.vimeoId;if(r)for(var c=0;c<f.cTopMenuLinks.length;c++){var e=$(f.cTopMenuLinks[c]).attr("m:id");n[e]=c;!x&&$(f.cTopMenuLinks[c]).hasClass("active")&&(x=e)}})();return o}
function DonatePanel(){function g(f){f.preventDefault();s?$(this).trigger("requestHide"):$(this).trigger("requestShow")}function j(g,j){(j==void 0||!j.ignore)&&f.customOption.val("")}function q(){$(".period div.jqTransformSelectWrapper span").text()=="Eenmalig"?$(".method .ideal input").attr("disabled",!1):($(".method .ideal input").attr("disabled",!0),$(".method .ideal a.jqTransformChecked").removeClass("jqTransformChecked"),$(".method .machtiging input").click(),$(".method .machtiging input").attr("checked",
!0),$(".method .machtiging a").addClass("jqTransformChecked"))}function o(){f.cRadio.prop("checked",!1).trigger("change",{ignore:!0});f.customOption.val(f.customOption.val().replace(/[^0-9,.]/g,""))}var f={},s=!1;this.show=function(){s=!0;f.root.addClass("opened").removeClass("closed");f.panel.animate({marginLeft:0},300,"easeOutCubic")};this.hide=function(){s=!1;f.panel.animate({marginLeft:-256},300,"easeOutCubic",function(){f.root.addClass("closed").removeClass("opened")})};this.isOpen=function(){return s};
$.proxy(function(){f.root=$("#donatePanel");f.toggle=$(".trigger",f.root);f.panel=$(".dropShadow",f.root);f.cRadio=$('input[name="euroOption"]',f.root);f.periods=$(".period div.jqTransformSelectWrapper ul li a",f.root);f.customOption=$('input[name="alternativeSum"]');$(f.toggle).bind("click",$.proxy(g,this));f.cRadio.bind("change",j);f.periods.bind("click",q);f.customOption.bind("change keydown past input",o);q()},this)()}
function EmailPopUp(){function g(){if(!t){t=!0;x=r=!1;$(".inputRow, .textAreaRow",n.form).removeClass("error");n.fauxSubmit.css({marginTop:0});n.fauxSubmit.animate({marginTop:29},300,"easeOutCubic");var c=n.form.serialize();$.post("/ajax/share.php",c,$.proxy(l,this));setTimeout(y,1E3)}}function j(){$('input[type="text"], textarea',n.form).val("");$(".inputRow, .textAreaRow",n.form).removeClass("error")}function q(){if(r&&x){n.fauxSubmit.css({marginTop:-29});n.fauxSubmit.animate({marginTop:0},300,
"easeOutCubic");try{if(c.status)switch(c.status){case "ok":j();break;case "error":for(var e=0;e<c.fields.length;e++){var f=$('input[name="'+c.fields[e]+'"], textarea[name="'+c.fields[e]+'"]',n.form);f&&f.parents(".inputRow, .textAreaRow").addClass("error")}}}catch(g){}t=!1}}function o(c){c.preventDefault();this.hide()}function f(c){c.preventDefault();g()}function s(c){c.preventDefault();g()}function l(e){c=e;r=!0;q()}function y(){x=!0;q()}var n={},t=!1,x=!0,r=!0,c={};this.setData=function(c){n.inputs.url.val(c.url)};
this.show=function(){j();$(document.body).append(n.veil);$(document.body).append(n.popUp);Cufon.replace("#emailPopUp .akzidenzGrotesk",{fontFamily:"Akzidenz-Grotesk BQ",ignoreClass:"nocufon"})};this.hide=function(){n.popUp.detach();n.veil.detach()};$.proxy(function(){n.popUp=$('<div id="emailPopUp">\t<div class="borderBottom">\t\t<div class="content">\t\t\t<div class="head">\t\t\t\t<span class="akzidenzGrotesk text">Delen via e-mail</span>\t\t\t\t<a href="#" class="close">close</a>\t\t\t</div>\t\t\t<div class="body">\t\t\t\t<p class="copy">\t\t\t\t\tDeel deze link met iemand die je kent. Je kan eventueel een persoonlijk bericht toevoegen. De link zelf wordt automatisch toegevoegd aan je e-mail.\t\t\t\t</p>\t\t\t\t<form>\t\t\t\t\t<input type="hidden" value="" name="url">\t\t\t\t\t<div class="inputGroup">\t\t\t\t\t\t<div class="inputRow clearfix">\t\t\t\t\t\t\t<div class="label">\t\t\t\t\t\t\t\t<label for="popUpName1">Naam ontvanger</label>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t<div class="inputBorder">\t\t\t\t\t\t\t\t<div class="inputBg">\t\t\t\t\t\t\t\t\t<input type="text" id="popUpName1" name="name1">\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class="inputRow clearfix">\t\t\t\t\t\t\t<div class="label">\t\t\t\t\t\t\t\t<label for="popUpEmail1">E-mail ontvanger</label>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t<div class="inputBorder">\t\t\t\t\t\t\t\t<div class="inputBg">\t\t\t\t\t\t\t\t\t<input type="text" id="popUpEmail1" name="email1">\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class="inputGroup">\t\t\t\t\t\t<div class="inputRow clearfix">\t\t\t\t\t\t\t<div class="label">\t\t\t\t\t\t\t\t<label for="popUpName2">Jouw naam</label>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t<div class="inputBorder">\t\t\t\t\t\t\t\t<div class="inputBg">\t\t\t\t\t\t\t\t\t<input type="text" id="popUpName2" name="name2">\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class="inputRow clearfix error">\t\t\t\t\t\t\t<div class="label">\t\t\t\t\t\t\t\t<label for="popUpEmail2">Jouw e-mailadres</label>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t<div class="inputBorder">\t\t\t\t\t\t\t\t<div class="inputBg">\t\t\t\t\t\t\t\t\t<input type="text" id="popUpEmail2" name="email2">\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class="textAreaRow">\t\t\t\t\t\t<div class="label clearfix">\t\t\t\t\t\t\t<label for="popUpMessage">Bericht</label>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class="inputBorder">\t\t\t\t\t\t\t<div class="inputBg">\t\t\t\t\t\t\t\t<textarea name="message"></textarea>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class="submitRow">\t\t\t\t\t\t<input type="submit" value="Versturen">\t\t\t\t\t\t<div class="submitClipper">\t\t\t\t\t\t\t<div class="loader"></div>\t\t\t\t\t\t\t<a href="#" class="fauxSubmit">Versturen</a>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t</form>\t\t\t</div>\t\t</div></div>');
n.veil=$("<div/>",{"class":"popUpVeil"});n.close=$(".close",n.popUp);n.form=$("form",n.popUp);n.inputs={};n.inputs.url=$('input[name="url"]',n.popUp);n.loader=$(".loader",n.popUp);n.fauxSubmit=$(".fauxSubmit",n.popUp);n.veil.bind("click",$.proxy(o,this));n.close.bind("click",$.proxy(o,this));n.form.bind("submit",$.proxy(s,this));n.fauxSubmit.bind("click",$.proxy(f,this))},this)()}
function SearchForm(){function g(){window.location="/zoek/resultaten/"+encodeURIComponent(o.inputs.query.val())}function j(f){f.preventDefault();g()}function q(f){f.preventDefault();g()}var o={};(function(f){if(f==void 0)throw"root for SearchForm can't be undefined";o.root=$(f);o.form=$("form",o.root);o.inputs={};o.inputs.query=$('input[name="q"]',o.root);o.fauxSubmit=$(".fauxSubmit",o.root);o.icon=$(".icon",o.root);$(o.form).bind("submit",j);o.fauxSubmit&&$(o.fauxSubmit).bind("click",q);o.icon&&
$(o.icon).bind("click",q)}).apply(this,arguments);return this}
function SignupForm(){function g(){var f=o.inputs.name.val(),g=o.inputs.email.val(),j=o.inputs.key.val();if(g=="")return!1;if(g==o.inputs.email.attr("m:default"))return!1;f==o.inputs.name.attr("m:default")&&(f="");if(f!="")if(f=f.split(" "),f.length>1){for(var q=0,n=f[q++],t="";f[q];)t+=f[q++]+" ";t=t.substr(0,t.length-1)}else n=f,t="";window.location="/ajax/newsletter.php?email="+g+"&voornaam="+n+"&achternaam="+t+"&key="+j}function j(f){f.preventDefault();g()}function q(f){f.preventDefault();g()}
var o={};(function(f){if(f==void 0)throw"root for SignupForm can't be undefined";o.root=$(f);o.form=$("form",o.root);o.inputs={};o.inputs.name=$('input[name="name"]',o.root);o.inputs.email=$('input[name="email"]',o.root);o.inputs.key=$('input[name="key"]',o.root);o.fauxSubmit=$(".fauxSubmit",o.root);$(o.form).bind("submit",j);o.fauxSubmit&&$(o.fauxSubmit).bind("click",q);o.icon&&$(o.icon).bind("click",q)}).apply(this,arguments);return this}
function AjaxList(){function g(){if(t&&x)$.trim(n)==""?f.loadMore.parent().detach():(f.list.append(n),y=f.list.children().length,f.list.animate({height:f.list[0].scrollHeight},400,"easeOutCubic",function(){f.list.height("")}),f.loadMore.css({marginTop:-47}),f.loadMore.animate({marginTop:0},200,"easeOutCubic"),Cufon.refresh()),l=!1}function j(g){g.preventDefault();l||(l=!0,x=t=!1,f.list.height(f.list.height()),f.loadMore.css({marginTop:0}),f.loadMore.animate({marginTop:47},200,"easeOutCubic"),requestUrl=
s.replace(/start=[0-9]+/,"start="+y),$.get(requestUrl,q),setTimeout(o,1E3))}function q(f){n=f;t=!0;g()}function o(){x=!0;g()}var f={},s="",l=!1,y=0,n="",t=!0,x=!0;(function(g){f.root=g;f.list=$(".list",f.root);f.loadMore=$(".loadMore",f.root);f.loadMore.bind("click",j);s=f.loadMore.attr("href");y=f.list.children().length}).apply(this,arguments);return this}
function ResearchList(){function g(){y.showLoader();var f=s.getSerialized()+l.getSerialized();$.post(n,f,o)}function j(){g()}function q(){g()}function o(g){$(f.fields.count).text(g.meta.count);y.setHtml(g.html);Cufon.refresh()}var f={},s=new ResearchList.Filter,l,y=new ResearchList.List,n="";(function(g){if(g==void 0)throw"root for ResearchList can't be undefined";f.root=g;f.fields={};f.fields.count=$(".count .number",f.root);l=new ResearchList.Sorting($(".sorting",f.root));$(s).bind("change",j);
$(l).bind("change",q);n=$("form",f.root).attr("action")}).apply(this,arguments);return this}
ResearchList.Filter=function(){function g(){$(q).trigger("change")}function j(g){for(var j=0;j<f.length;j++)g.target==f[j]?f[j].open():f[j].close()}var q=this,o={},f=[];q.getSettings=function(){for(var g={},j=0;j<f.length;j++)g[f[j].getName()]=f[j].isChecked?"1":"0";return g};q.getSerialized=function(){return $("form",o.root).serialize()};o.root=$("#research-filter");(function(){for(var q=$(".filterOptions>li",o.root),l=0;l<q.length;l++){var y=new ResearchList.Filter.Option(q[l]);$(y).bind("change",
g);$(y).bind("open",j);f.push(y)}})();return q};
ResearchList.Filter.Option=function(){function g(f){f.preventDefault();l?$(q).trigger("close"):$(q).trigger("open")}function j(){s=o.checkBox.checked;setTimeout(function(){$(q).trigger("change")},100)}var q=this,o={},f,s,l=!1;q.getName=function(){return f};q.isChecked=function(){return s};q.open=function(){l=!0;$(o.root).addClass("open");o.body.animate({height:o.body[0].scrollHeight},500,"easeOutCubic")};q.close=function(){l=!1;$(o.root).removeClass("open");o.body.animate({height:0},500,"easeOutCubic")};
(function(l){o.root=l;o.checkBox=$('input[type="checkbox"]',o.root);o.toggle=$(".toggle",o.root);o.body=$(".body",o.root);o.toggle.bind("click",g);o.checkBox.bind("click",j);f=$(o.checkBox).attr("name");s=o.checkBox.checked}).apply(this,arguments);return q};
ResearchList.Sorting=function(){function g(g){for(var l=0;l<o.length;l++)o[l]==g.target?(o[l].set({active:!0,asc:o[l].isActive()?o[l].isAsc()?!1:!0:!1}),f={name:o[l].getName(),asc:o[l].isAsc()}):o[l].set({active:!1});$(j).trigger("change")}var j=this,q={},o=[],f={name:"",asc:!1};j.getSettings=function(){return f};j.getSerialized=function(){return"&name="+encodeURIComponent(f.name)+"&asc="+(f.asc?"1":"0")};(function(j){if(j==void 0)throw"root for Sorting can't be undefined";q.root=j;for(var j=$("li",
q.root),l=0;l<j.length;l++){var y=new ResearchList.Sorting.Option(j[l]);$(y).bind("click",g);o.push(y);y.isActive()&&(f={name:y.getName(),asc:y.isAsc()})}}).apply(this,arguments);return j};
ResearchList.Sorting.Option=function(){function g(f){f.preventDefault();$(j).trigger("click")}var j=this,q={},o,f=!1,s=!1;j.isActive=function(){return s};j.getName=function(){return o};j.isAsc=function(){return f};j.set=function(g){if(g.active!==void 0)(s=g.active)?$(q.root).addClass("selected"):$(q.root).removeClass("selected");if(g.asc!==void 0)(f=g.asc)?$(q.root).removeClass("desc").addClass("asc"):$(q.root).removeClass("asc").addClass("desc")};(function(j){if(j==void 0)throw"root for Sorting.Option can't be undefined";
q.root=j;q.link=$("a",q.root);$(q.link).bind("click",g);o=$(q.link).attr("m:name");$(q.root).hasClass("selected")&&(s=!0);$(q.root).hasClass("asc")&&(f=!0)}).apply(this,arguments);return j};
ResearchList.List=function(){var g={};this.setHtml=function(j){$(g.root).empty();$(g.root).html(j);$(g.root).height($(g.root).height());$(g.root).animate({height:g.root[0].scrollHeight},500,"easeOutCubic",function(){g.root.height("")})};this.showLoader=function(){$(g.root).height($(g.root).height());$(g.root).empty();$(g.root).html('<div class="loader"></div>');$(g.root).animate({height:100},400,"easeOutCubic")};g.root=$("#research-list");return this};
function Site(){function g(c){var f=e;if(c.pathNames.length>0)switch(c.pathNames[0]){case "stories":if(c.pathNames.length>1)try{t.setStory(c.pathNames[1])}catch(g){}e="stories";break;default:e="main"}else e="main";if(f!=e)switch(e){case "main":clearTimeout(m);y.hideStories();break;case "stories":y.showStories()}}function j(c,e){t.isOpen&&(n.setHeight($("#storiesSite").height()),clearTimeout(m),m=setTimeout(function(){n.setHeight($("#storiesSite").height());m=setTimeout(function(){n.setHeight($("#storiesSite").height())},
800)},800));n.setStory(e.id);r.setStory(e.id)}function q(){$.address.value("stories")}function o(){$.address.value("main")}function f(){$.address.value("main")}function s(){$.address.value("stories")}function l(e){e.preventDefault();var f={},e=$(e.target);f.url=e.attr("data-url");c.setData(f);c.show()}var y=this,n=new MainPage,t=new StoriesPage,x=new DonatePanel,r=new StoryBackground,c=new EmailPopUp,e="main",m;y.showStories=function(){x.isOpen()&&x.hide();n.hide();t.show()};y.hideStories=function(){t.hide();
n.show()};y.showDonatePanel=function(){t.isOpen()&&y.hideStories();x.show()};y.hideDonatePanel=function(){x.hide()};(function(){$(n).bind("requestHide",q);$(n).bind("requestShow",o);$(t).bind("requestShow",s);$(t).bind("requestHide",f);$(t).bind("storyChange",j);$(x).bind("requestShow",y.showDonatePanel);$(x).bind("requestHide",y.hideDonatePanel);$.address.change(g);$(".emailButton").live("click",l);for(var c=$("form"),e=0;e<c.length;e++)new Form(c.get(e));c=$(".wSignupForm");new SignupForm(c);c=
$(".wSearchForm");for(e=0;e<c.length;e++)new SearchForm(c[e]);c=$(".wAjaxList");for(e=0;e<c.length;e++)new AjaxList(c[e]);c=$(".wResearchList");c.length>0&&new ResearchList(c)})();return y}try{console.log("init:\tThe console object is present.")}catch(e$$173){console={log:function(){}}}$.fn.pause=function(g){$(this).animate({dummy:1},g);return this};var website={home:{}};
website.home.carrousel=function(){if($("#home-carrousel").length!=0){var g=!1,j={},q=1;init=function(){$("#home-carrousel > .carrousel-content > .info-carrousel > .info").length>1&&(attributes={styleclass:"swfobject_present"},window.swfobject.embedSWF("/swf/carrousel.swf","carrousel-flash-element","100%","100%","9","false",!1,{scale:"noscale",menu:"false",wmode:"transparent",allowscriptaccess:"samedomain"},attributes),window.swfobject.createCSS("#carrousel-flash-element","outline:none"),setTimeout(function(){f()},
1500));$(".image-carrousel").live("mouseenter",l);$(".image-carrousel").live("mouseleave",y);$(".image-carrousel > .video").live("click",function(){var f=$(this);f.css("background-repeat","no-repeat");f.css("background-position","0px -640px");f.html('<iframe src="http://player.vimeo.com/video/'+$(f).attr("vimeoId")+'?color=e1272c&title=0&amp;byline=0&amp;portrait=0&amp;autoplay=1&amp;loop=1" width="640" height="360" frameborder="0" style="display: block; background-color: #000;"></iframe>');$("#home-carrousel > .carrousel-header").animate({height:360},
{queue:!1,duration:350,easing:"easeOutExpo"});$(".image-carrousel > .video").animate({height:360},{queue:!1,duration:350,easing:"easeOutExpo"});g=!0;o("carrousel-flash-element").pauseCarrousel()})};var o=function(f){return navigator.appName.indexOf("Microsoft")!=-1?window[f]:document[f]},f=function(){if(!$("#carrousel-flash-element.swfobject_present").length){console.log("carrousel: no flash embed detected. triggering fallback");$("#carrousel-flash-fallback").css("display","block");$("#carrousel-flash-fallback > .carrousel-flash-fallback-left").attr("src",
"/img/home/carrousel/fallback-left.png");$("#carrousel-flash-fallback > .carrousel-flash-fallback-right").attr("src","/img/home/carrousel/fallback-right.png");$("#carrousel-flash-fallback > .carrousel-flash-fallback-left").mouseenter(function(){$(this).attr("src","/img/home/carrousel/fallback-left-hover.png")});$("#carrousel-flash-fallback > .carrousel-flash-fallback-left").mouseleave(function(){$(this).attr("src","/img/home/carrousel/fallback-left.png")});$("#carrousel-flash-fallback > .carrousel-flash-fallback-left").click(function(){q>=
2?(s(q-1),q-=1):(s(4),q=4);clearInterval(f)});$("#carrousel-flash-fallback > .carrousel-flash-fallback-right").mouseenter(function(){$(this).attr("src","/img/home/carrousel/fallback-right-hover.png")});$("#carrousel-flash-fallback > .carrousel-flash-fallback-right").mouseleave(function(){$(this).attr("src","/img/home/carrousel/fallback-right.png")});$("#carrousel-flash-fallback > .carrousel-flash-fallback-right").click(function(){q<=3?(s(q+1),q+=1):(s(1),q=1);clearInterval(f)});var f=setInterval(function(){q<=
3?(s(q+1),q+=1):(s(1),q=1)},12E3)}},s=function(f){setTimeout(function(){$(".image-carrousel > .video").css("background-repeat","repeat");$(".image-carrousel > .video").css("background-position","0px 0px");g==!0&&($(".image-carrousel > .video").html('<img class="play-button" src="/img/home/carrousel/play_button.png" />'),g=!1)},350);$("#home-carrousel > .carrousel-header").animate({height:271},{queue:!1,duration:350,easing:"easeOutExpo"});$(".image-carrousel > .video").animate({height:271},{queue:!1,
duration:350,easing:"easeOutExpo"});itemWidth=640;$(".image-carrousel").animate({"margin-left":-(itemWidth*(f-1))},{queue:!1,duration:350,easing:"easeOutExpo"});$(".info-carrousel").animate({right:1920-itemWidth*(f-1)},{queue:!1,duration:600,easing:"easeOutExpo"})},l=function(){$("#carrousel-flash-element.swfobject_present").length&&(o("carrousel-flash-element").showNavigation(),$(".image-carrousel > .video > .play-button").attr("src","/img/home/carrousel/play_button_hover.png"))},y=function(){$("#carrousel-flash-element.swfobject_present").length&&
(o("carrousel-flash-element").hideNavigation(),$(".image-carrousel > .video > .play-button").attr("src","/img/home/carrousel/play_button.png"))};j.navigateTo=function(f){s(f);q=f};init();return j}};function redDot(g){var j=[".","!","?",":"],q=g.substr(-1,1),o=0;$.inArray(q,j)!=-1?g=g.substr(0,g.length-1):o=0;q=g.match(/[^\s]+$/);g=g.replace(/[^\s]+$/,"");return g=g+'<span style="white-space: nowrap">'+q+'<span class="dot">'+j[o]+"</span></span>"}
Cufon.replace(".utopiaCaption",{fontFamily:"Utopia Std Semibold Caption",ignoreClass:"nocufon"});Cufon.replace(".utopiaSubhead",{fontFamily:"Utopia Std Semibold Subhead",ignoreClass:"nocufon"});Cufon.replace(".akzidenzGrotesk",{fontFamily:"Akzidenz-Grotesk BQ",ignoreClass:"nocufon",hover:!0});
var onDomReady=function(){$("form").jqTransform({button:!1,text:!1,textarea:!1});$("#topMenu .root>li").bind("mouseenter mouseleave",function(){var g=this;setTimeout(function(){(function(){Cufon.replace($(".label",this),{fontFamily:"Akzidenz-Grotesk BQ",ignoreClass:"nocufon"});Cufon.replace($("ul>li>a",this),{fontFamily:"Akzidenz-Grotesk BQ",hover:!0,ignoreClass:"nocufon"})}).apply(g)},10)});window.site=new Site;website.home.carrousel=website.home.carrousel()};$(document).ready(onDomReady);
website.home.twitter=function(g){if($("#home-realTime > .social > .tweet > p").length!=0)return function(g){g=g.replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,'<a href="$1" target="_blank">$1</a>');g=g.replace(/(^|\s)@(\w+)/g,'$1<a href="http://www.twitter.com/$2" target="_blank">@$2</a>');g=g.replace(/(^|\s)#(\w+)/g,'$1#<a href="http://search.twitter.com/search?q=%23$2" target="_blank">$2</a>');$("#home-realTime > .social > .tweet > p")[0].innerHTML=g}(g),{}};

