(function(e,q){function B(){if(!c.isReady){try{D.documentElement.doScroll("left")}catch(a){setTimeout(B,1);return}c.ready()}}function w(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function j(a,b,d,g,f,o){var n=a.length;if(typeof b==="object"){for(var F in b)j(a,F,b[F],g,f,d);return a}if(d!==q){g=!o&&g&&c.isFunction(d);for(F=0;F<n;F++)f(a[F],b,g?d.call(a[F],F,f(a[F],b)):d,o);return a}return n?
f(a[0],b):q}function k(){return(new Date).getTime()}function l(){return false}function H(){return true}function s(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function v(a){var b,d=[],g=[],f=arguments,o,n,F,x,E,N;n=c.data(this,"events");if(!(a.liveFired===this||!n||!n.live||a.button&&a.type==="click")){a.liveFired=this;var U=n.live.slice(0);for(x=0;x<U.length;x++){n=U[x];n.origType.replace(M,"")===a.type?g.push(n.selector):U.splice(x--,1)}o=c(a.target).closest(g,a.currentTarget);E=0;for(N=
o.length;E<N;E++)for(x=0;x<U.length;x++){n=U[x];if(o[E].selector===n.selector){F=o[E].elem;g=null;if(n.preType==="mouseenter"||n.preType==="mouseleave")g=c(a.relatedTarget).closest(n.selector)[0];if(!g||g!==F)d.push({elem:F,handleObj:n})}}E=0;for(N=d.length;E<N;E++){o=d[E];a.currentTarget=o.elem;a.data=o.handleObj.data;a.handleObj=o.handleObj;if(o.handleObj.origHandler.apply(o.elem,f)===false){b=false;break}}return b}}function G(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function p(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function r(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var g=c.data(a[d++]),f=c.data(this,g);if(g=g&&g.events){delete f.handle;f.events={};for(var o in g)for(var n in g[o])c.event.add(this,o,g[o][n],g[o][n].data)}}})}function z(a,b,d){var g,f,o;b=b&&b[0]?b[0].ownerDocument||b[0]:D;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===D&&!Ya.test(a[0])&&(c.support.checkClone||!Za.test(a[0]))){f=
true;if(o=c.fragments[a[0]])if(o!==1)g=o}if(!g){g=b.createDocumentFragment();c.clean(a,b,g,d)}if(f)c.fragments[a[0]]=o?g:1;return{fragment:g,cacheable:f}}function O(a,b){var d={};c.each($a.concat.apply([],$a.slice(0,b)),function(){d[this]=a});return d}function u(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},L=e.jQuery,K=e.$,D=e.document,X,fa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Q=/^.[^:#\[\.,]*$/,aa=/\S/,ka=
/^(\s|\u00A0)+|(\s|\u00A0)+$/g,xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ja=navigator.userAgent,ba=false,la=[],wa,ya=Object.prototype.toString,qa=Object.prototype.hasOwnProperty,za=Array.prototype.push,ra=Array.prototype.slice,Aa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,g;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=D;this[0]=D.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=fa.exec(a))&&
(d[1]||!b))if(d[1]){g=b?b.ownerDocument||b:D;if(a=xa.exec(a))if(c.isPlainObject(b)){a=[D.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[g.createElement(a[1])];else{a=z([d[1]],[g]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=D.getElementById(d[2])){if(b.id!==d[2])return X.find(a);this.length=1;this[0]=b}this.context=D;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=D;a=D.getElementsByTagName(a);return c.merge(this,
a)}else return!b||b.jquery?(b||X).find(a):c(b).find(a);else if(c.isFunction(a))return X.ready(a);if(a.selector!==q){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return ra.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var g=c();c.isArray(a)?za.apply(g,a):c.merge(g,a);g.prevObject=this;g.context=this.context;if(b===
"find")g.selector=this.selector+(this.selector?" ":"")+d;else if(b)g.selector=this.selector+"."+b+"("+d+")";return g},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(D,c);else la&&la.push(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(ra.apply(this,arguments),"slice",ra.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:za,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,g=false,f,o,n,F;if(typeof a==="boolean"){g=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((f=arguments[b])!=null)for(o in f){n=a[o];F=f[o];if(a!==F)if(g&&F&&(c.isPlainObject(F)||c.isArray(F))){n=n&&(c.isPlainObject(n)||
c.isArray(n))?n:c.isArray(F)?[]:{};a[o]=c.extend(g,n,F)}else if(F!==q)a[o]=F}return a};c.extend({noConflict:function(a){e.$=K;if(a)e.jQuery=L;return c},isReady:false,ready:function(){if(!c.isReady){if(!D.body)return setTimeout(c.ready,13);c.isReady=true;if(la){for(var a,b=0;a=la[b++];)a.call(D,c);la=null}c.fn.triggerHandler&&c(D).triggerHandler("ready")}},bindReady:function(){if(!ba){ba=true;if(D.readyState==="complete")return c.ready();if(D.addEventListener){D.addEventListener("DOMContentLoaded",
wa,false);e.addEventListener("load",c.ready,false)}else if(D.attachEvent){D.attachEvent("onreadystatechange",wa);e.attachEvent("onload",c.ready);var a=false;try{a=e.frameElement==null}catch(b){}D.documentElement.doScroll&&a&&B()}}},isFunction:function(a){return ya.call(a)==="[object Function]"},isArray:function(a){return ya.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ya.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!qa.call(a,"constructor")&&
!qa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===q||qa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(a):
(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&aa.test(a)){var b=D.getElementsByTagName("head")[0]||D.documentElement,d=D.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(D.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var g,f=0,o=a.length,n=o===q||c.isFunction(a);
if(d)if(n)for(g in a){if(b.apply(a[g],d)===false)break}else for(;f<o;){if(b.apply(a[f++],d)===false)break}else if(n)for(g in a){if(b.call(a[g],g,a[g])===false)break}else for(d=a[0];f<o&&b.call(d,f,d)!==false;d=a[++f]);return a},trim:function(a){return(a||"").replace(ka,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?za.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=
0,g=b.length;d<g;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,g=0;if(typeof b.length==="number")for(var f=b.length;g<f;g++)a[d++]=b[g];else for(;b[g]!==q;)a[d++]=b[g++];a.length=d;return a},grep:function(a,b,d){for(var g=[],f=0,o=a.length;f<o;f++)!d!==!b(a[f],f)&&g.push(a[f]);return g},map:function(a,b,d){for(var g=[],f,o=0,n=a.length;o<n;o++){f=b(a[o],o,d);if(f!=null)g[g.length]=f}return g.concat.apply([],g)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b===
"string"){d=a;a=d[b];b=q}else if(b&&!c.isFunction(b)){d=b;b=q}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});ja=c.uaMatch(ja);if(ja.browser){c.browser[ja.browser]=true;
c.browser.version=ja.version}if(c.browser.webkit)c.browser.safari=true;if(Aa)c.inArray=function(a,b){return Aa.call(b,a)};X=c(D);if(D.addEventListener)wa=function(){D.removeEventListener("DOMContentLoaded",wa,false);c.ready()};else if(D.attachEvent)wa=function(){if(D.readyState==="complete"){D.detachEvent("onreadystatechange",wa);c.ready()}};(function(){c.support={};var a=D.documentElement,b=D.createElement("script"),d=D.createElement("div"),g="script"+k();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var f=d.getElementsByTagName("*"),o=d.getElementsByTagName("a")[0];if(!(!f||!f.length||!o)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(o.getAttribute("style")),hrefNormalized:o.getAttribute("href")==="/a",opacity:/^0.55$/.test(o.style.opacity),cssFloat:!!o.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:D.createElement("select").appendChild(D.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(D.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(D.createTextNode("window."+g+"=1;"))}catch(n){}a.insertBefore(b,a.firstChild);if(e[g]){c.support.scriptEval=true;delete e[g]}try{delete b.test}catch(F){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function x(){c.support.noCloneEvent=
false;d.detachEvent("onclick",x)});d.cloneNode(true).fireEvent("onclick")}d=D.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=D.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var x=D.createElement("div");x.style.width=x.style.paddingLeft="1px";D.body.appendChild(x);c.boxModel=c.support.boxModel=x.offsetWidth===2;D.body.removeChild(x).style.display="none"});a=function(x){var E=
D.createElement("div");x="on"+x;var N=x in E;if(!N){E.setAttribute(x,"return;");N=typeof E[x]==="function"}return N};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=o=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ma="jQuery"+k(),Ka=0,La={};c.extend({cache:{},expando:ma,noData:{embed:true,
object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==e?La:a;var g=a[ma],f=c.cache;if(!g&&typeof b==="string"&&d===q)return null;g||(g=++Ka);if(typeof b==="object"){a[ma]=g;f[g]=c.extend(true,{},b)}else if(!f[g]){a[ma]=g;f[g]={}}a=f[g];if(d!==q)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==e?La:a;var d=a[ma],g=c.cache,f=g[d];if(b){if(f){delete f[b];c.isEmptyObject(f)&&
c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);delete g[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===q){var g=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(g===q&&this.length)g=c.data(this[0],a);return g===q&&d[1]?this.data(d[0]):g}else return this.trigger("setData"+
d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var g=c.data(a,b);if(!d)return g||[];if(!g||c.isArray(d))g=c.data(a,b,c.makeArray(d));else g.push(d);return g}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),g=d.shift();if(g==="inprogress")g=d.shift();if(g){b==="fx"&&d.unshift("inprogress");g.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,
b){if(typeof a!=="string"){b=a;a="fx"}if(b===q)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var va=/[\n\t]/g,Ba=/\s+/,sa=/\r/g,Ma=/href|src|style/,Oa=
/(button|input)/i,S=/(button|input|object|select|textarea)/i,t=/^(a|area)$/i,A=/radio|checkbox/;c.fn.extend({attr:function(a,b){return j(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(E){var N=c(this);N.addClass(a.call(this,E,N.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(Ba),d=0,g=this.length;d<g;d++){var f=this[d];if(f.nodeType===
1)if(f.className){for(var o=" "+f.className+" ",n=f.className,F=0,x=b.length;F<x;F++)if(o.indexOf(" "+b[F]+" ")<0)n+=" "+b[F];f.className=c.trim(n)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(x){var E=c(this);E.removeClass(a.call(this,x,E.attr("class")))});if(a&&typeof a==="string"||a===q)for(var b=(a||"").split(Ba),d=0,g=this.length;d<g;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var o=(" "+f.className+" ").replace(va," "),
n=0,F=b.length;n<F;n++)o=o.replace(" "+b[n]+" "," ");f.className=c.trim(o)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,g=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var o=c(this);o.toggleClass(a.call(this,f,o.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,o=0,n=c(this),F=b,x=a.split(Ba);f=x[o++];){F=g?F:!n.hasClass(f);n[F?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,
"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(va," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===q){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,g=[],f=b.options;b=b.type==="select-one";if(d<0)return null;
var o=b?d:0;for(d=b?d+1:f.length;o<d;o++){var n=f[o];if(n.selected){a=c(n).val();if(b)return a;g.push(a)}}return g}if(A.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(sa,"")}return q}var F=c.isFunction(a);return this.each(function(x){var E=c(this),N=a;if(this.nodeType===1){if(F)N=a.call(this,x,E.val());if(typeof N==="number")N+="";if(c.isArray(N)&&A.test(this.type))this.checked=c.inArray(E.val(),N)>=0;else if(c.nodeName(this,"select")){var U=
c.makeArray(N);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),U)>=0});if(!U.length)this.selectedIndex=-1}else this.value=N}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,g){if(!a||a.nodeType===3||a.nodeType===8)return q;if(g&&b in c.attrFn)return c(a)[b](d);g=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==q;b=g&&c.props[b]||b;if(a.nodeType===1){var o=Ma.test(b);if(b in a&&g&&!o){if(f){b==="type"&&Oa.test(a.nodeName)&&
a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:S.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:q;return a[b]}if(!c.support.style&&g&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&g&&o?a.getAttribute(b,2):a.getAttribute(b);return a===null?q:a}return c.style(a,
b,d)}});var M=/\.(.*)$/,P=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,g){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==e&&!a.frameElement)a=e;var f,o;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(o=c.data(a)){var n=o.events=o.events||{},F=o.handle;if(!F)o.handle=F=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(F.elem,arguments):q};F.elem=a;b=b.split(" ");for(var x,E=0,N;x=b[E++];){o=
f?c.extend({},f):{handler:d,data:g};if(x.indexOf(".")>-1){N=x.split(".");x=N.shift();o.namespace=N.slice(0).sort().join(".")}else{N=[];o.namespace=""}o.type=x;o.guid=d.guid;var U=n[x],da=c.event.special[x]||{};if(!U){U=n[x]=[];if(!da.setup||da.setup.call(a,g,N,F)===false)if(a.addEventListener)a.addEventListener(x,F,false);else a.attachEvent&&a.attachEvent("on"+x,F)}if(da.add){da.add.call(a,o);if(!o.handler.guid)o.handler.guid=d.guid}U.push(o);c.event.global[x]=true}a=null}}},global:{},remove:function(a,
b,d,g){if(!(a.nodeType===3||a.nodeType===8)){var f,o=0,n,F,x,E,N,U,da=c.data(a),ha=da&&da.events;if(da&&ha){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in ha)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[o++];){E=f;n=f.indexOf(".")<0;F=[];if(!n){F=f.split(".");f=F.shift();x=new RegExp("(^|\\.)"+c.map(F.slice(0).sort(),P).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(N=ha[f])if(d){E=c.event.special[f]||{};for(ea=g||0;ea<N.length;ea++){U=N[ea];if(d.guid===
U.guid){if(n||x.test(U.namespace)){g==null&&N.splice(ea--,1);E.remove&&E.remove.call(a,U)}if(g!=null)break}}if(N.length===0||g!=null&&N.length===1){if(!E.teardown||E.teardown.call(a,F)===false)R(a,f,da.handle);delete ha[f]}}else for(var ea=0;ea<N.length;ea++){U=N[ea];if(n||x.test(U.namespace)){c.event.remove(a,E,U.handler,ea);N.splice(ea--,1)}}}if(c.isEmptyObject(ha)){if(b=da.handle)b.elem=null;delete da.events;delete da.handle;c.isEmptyObject(da)&&c.removeData(a)}}}}},trigger:function(a,b,d,g){var f=
a.type||a;if(!g){a=typeof a==="object"?a[ma]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return q;a.result=q;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(g=c.data(d,"handle"))&&g.apply(d,b);g=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+
f]&&d["on"+f].apply(d,b)===false)a.result=false}catch(o){}if(!a.isPropagationStopped()&&g)c.event.trigger(a,b,g,true);else if(!a.isDefaultPrevented()){g=a.target;var n,F=c.nodeName(g,"a")&&f==="click",x=c.event.special[f]||{};if((!x._default||x._default.call(d,a)===false)&&!F&&!(g&&g.nodeName&&c.noData[g.nodeName.toLowerCase()])){try{if(g[f]){if(n=g["on"+f])g["on"+f]=null;c.event.triggered=true;g[f]()}}catch(E){}if(n)g["on"+f]=n;c.event.triggered=false}}},handle:function(a){var b,d,g,f;a=arguments[0]=
c.event.fix(a||e.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();g=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}f=c.data(this,"events");d=f[a.type];if(f&&d){d=d.slice(0);f=0;for(var o=d.length;f<o;f++){var n=d[f];if(b||g.test(n.namespace)){a.handler=n.handler;a.data=n.data;a.handleObj=n;n=n.handler.apply(this,arguments);if(n!==q){a.result=n;if(n===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[ma])return a;var b=a;a=c.Event(b);for(var d=this.props.length,g;d;){g=this.props[--d];a[g]=b[g]}if(!a.target)a.target=a.srcElement||
D;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=D.documentElement;d=D.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&
a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==q)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:v}))},remove:function(a){var b=true,d=a.origType.replace(M,"");c.each(c.data(this,"events").live||[],function(){if(d===this.origType.replace(M,""))return b=false});b&&c.event.remove(this,a.origType,v)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=
d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var R=D.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=k();this[ma]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=H;var a=this.originalEvent;if(a){a.preventDefault&&
a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=H;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=H;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var Y=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},
Z=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Z:Y,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Z:Y)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return s("submit",
this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return s("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var ga=/textarea|input|select/i,ia,Ca=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(g){return g.selected}).join("-"):
"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Da=function(a,b){var d=a.target,g,f;if(!(!ga.test(d.nodeName)||d.readOnly)){g=c.data(d,"_change_data");f=Ca(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(g===q||f===g))if(g!=null||f){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Da,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Da.call(this,
a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Da.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Ca(a))}},setup:function(){if(this.type==="file")return false;for(var a in ia)c.event.add(this,a+".specialChange",ia[a]);return ga.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ga.test(this.nodeName)}};
ia=c.event.special.change.filters}D.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(g){g=c.event.fix(g);g.type=b;return c.event.handle.call(this,g)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,g,f){if(typeof d==="object"){for(var o in d)this[b](o,g,d[o],f);return this}if(c.isFunction(g)){f=g;g=q}var n=b==="one"?c.proxy(f,function(x){c(this).unbind(x,
n);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,g,f);else{o=0;for(var F=this.length;o<F;o++)c.event.add(this[o],d,n,g)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var g=this.length;d<g;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,g){return this.live(b,d,g,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},
trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(g){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);g.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});var ta={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,g,f,o){var n,F=0,x,E,N=o||this.selector,U=o?this:c(this.context);if(c.isFunction(g)){f=g;g=q}for(d=(d||"").split(" ");(n=d[F++])!=null;){o=M.exec(n);x="";if(o){x=o[0];n=n.replace(M,"")}if(n==="hover")d.push("mouseenter"+x,"mouseleave"+x);else{E=n;if(n==="focus"||n==="blur"){d.push(ta[n]+x);n+=x}else n=(ta[n]||n)+x;b==="live"?U.each(function(){c.event.add(this,
G(n,N),{data:g,selector:N,handler:f,origType:n,origHandler:f,preType:E})}):U.unbind(G(n,N),f)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});e.attachEvent&&!e.addEventListener&&e.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(h){for(var m="",y,C=0;h[C];C++){y=h[C];if(y.nodeType===3||y.nodeType===4)m+=y.nodeValue;else if(y.nodeType!==8)m+=a(y.childNodes)}return m}function b(h,m,y,C,J,I){J=0;for(var V=C.length;J<V;J++){var T=C[J];if(T){T=T[h];for(var ca=false;T;){if(T.sizcache===y){ca=C[T.sizset];break}if(T.nodeType===1&&!I){T.sizcache=y;T.sizset=J}if(T.nodeName.toLowerCase()===m){ca=T;break}T=T[h]}C[J]=ca}}}function d(h,m,y,C,J,I){J=0;for(var V=C.length;J<V;J++){var T=C[J];if(T){T=T[h];for(var ca=
false;T;){if(T.sizcache===y){ca=C[T.sizset];break}if(T.nodeType===1){if(!I){T.sizcache=y;T.sizset=J}if(typeof m!=="string"){if(T===m){ca=true;break}}else if(x.filter(m,[T]).length>0){ca=T;break}}T=T[h]}C[J]=ca}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,o=Object.prototype.toString,n=false,F=true;[0,0].sort(function(){F=false;return 0});var x=function(h,m,y,C){y=y||[];var J=m=m||D;if(m.nodeType!==1&&
m.nodeType!==9)return[];if(!h||typeof h!=="string")return y;for(var I=[],V,T,ca,Na,Ea=true,Ga=W(m),Fa=h;(g.exec(""),V=g.exec(Fa))!==null;){Fa=V[3];I.push(V[1]);if(V[2]){Na=V[3];break}}if(I.length>1&&N.exec(h))if(I.length===2&&E.relative[I[0]])T=Sa(I[0]+I[1],m);else for(T=E.relative[I[0]]?[m]:x(I.shift(),m);I.length;){h=I.shift();if(E.relative[h])h+=I.shift();T=Sa(h,T)}else{if(!C&&I.length>1&&m.nodeType===9&&!Ga&&E.match.ID.test(I[0])&&!E.match.ID.test(I[I.length-1])){V=x.find(I.shift(),m,Ga);m=V.expr?
x.filter(V.expr,V.set)[0]:V.set[0]}if(m){V=C?{expr:I.pop(),set:da(C)}:x.find(I.pop(),I.length===1&&(I[0]==="~"||I[0]==="+")&&m.parentNode?m.parentNode:m,Ga);T=V.expr?x.filter(V.expr,V.set):V.set;if(I.length>0)ca=da(T);else Ea=false;for(;I.length;){var na=I.pop();V=na;if(E.relative[na])V=I.pop();else na="";if(V==null)V=m;E.relative[na](ca,V,Ga)}}else ca=[]}ca||(ca=T);ca||x.error(na||h);if(o.call(ca)==="[object Array]")if(Ea)if(m&&m.nodeType===1)for(h=0;ca[h]!=null;h++){if(ca[h]&&(ca[h]===true||ca[h].nodeType===
1&&oa(m,ca[h])))y.push(T[h])}else for(h=0;ca[h]!=null;h++)ca[h]&&ca[h].nodeType===1&&y.push(T[h]);else y.push.apply(y,ca);else da(ca,y);if(Na){x(Na,J,y,C);x.uniqueSort(y)}return y};x.uniqueSort=function(h){if(ea){n=F;h.sort(ea);if(n)for(var m=1;m<h.length;m++)h[m]===h[m-1]&&h.splice(m--,1)}return h};x.matches=function(h,m){return x(h,null,null,m)};x.find=function(h,m,y){var C,J;if(!h)return[];for(var I=0,V=E.order.length;I<V;I++){var T=E.order[I];if(J=E.leftMatch[T].exec(h)){var ca=J[1];J.splice(1,
1);if(ca.substr(ca.length-1)!=="\\"){J[1]=(J[1]||"").replace(/\\/g,"");C=E.find[T](J,m,y);if(C!=null){h=h.replace(E.match[T],"");break}}}}C||(C=m.getElementsByTagName("*"));return{set:C,expr:h}};x.filter=function(h,m,y,C){for(var J=h,I=[],V=m,T,ca,Na=m&&m[0]&&W(m[0]);h&&m.length;){for(var Ea in E.filter)if((T=E.leftMatch[Ea].exec(h))!=null&&T[2]){var Ga=E.filter[Ea],Fa,na;na=T[1];ca=false;T.splice(1,1);if(na.substr(na.length-1)!=="\\"){if(V===I)I=[];if(E.preFilter[Ea])if(T=E.preFilter[Ea](T,V,y,I,
C,Na)){if(T===true)continue}else ca=Fa=true;if(T)for(var Pa=0;(na=V[Pa])!=null;Pa++)if(na){Fa=Ga(na,T,Pa,V);var ab=C^!!Fa;if(y&&Fa!=null)if(ab)ca=true;else V[Pa]=false;else if(ab){I.push(na);ca=true}}if(Fa!==q){y||(V=I);h=h.replace(E.match[Ea],"");if(!ca)return[];break}}}if(h===J)if(ca==null)x.error(h);else break;J=h}return V};x.error=function(h){throw"Syntax error, unrecognized expression: "+h;};var E=x.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|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(h){return h.getAttribute("href")}},
relative:{"+":function(h,m){var y=typeof m==="string",C=y&&!/\W/.test(m);y=y&&!C;if(C)m=m.toLowerCase();C=0;for(var J=h.length,I;C<J;C++)if(I=h[C]){for(;(I=I.previousSibling)&&I.nodeType!==1;);h[C]=y||I&&I.nodeName.toLowerCase()===m?I||false:I===m}y&&x.filter(m,h,true)},">":function(h,m){var y=typeof m==="string";if(y&&!/\W/.test(m)){m=m.toLowerCase();for(var C=0,J=h.length;C<J;C++){var I=h[C];if(I){y=I.parentNode;h[C]=y.nodeName.toLowerCase()===m?y:false}}}else{C=0;for(J=h.length;C<J;C++)if(I=h[C])h[C]=
y?I.parentNode:I.parentNode===m;y&&x.filter(m,h,true)}},"":function(h,m,y){var C=f++,J=d;if(typeof m==="string"&&!/\W/.test(m)){var I=m=m.toLowerCase();J=b}J("parentNode",m,C,h,I,y)},"~":function(h,m,y){var C=f++,J=d;if(typeof m==="string"&&!/\W/.test(m)){var I=m=m.toLowerCase();J=b}J("previousSibling",m,C,h,I,y)}},find:{ID:function(h,m,y){if(typeof m.getElementById!=="undefined"&&!y)return(h=m.getElementById(h[1]))?[h]:[]},NAME:function(h,m){if(typeof m.getElementsByName!=="undefined"){var y=[];
m=m.getElementsByName(h[1]);for(var C=0,J=m.length;C<J;C++)m[C].getAttribute("name")===h[1]&&y.push(m[C]);return y.length===0?null:y}},TAG:function(h,m){return m.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,m,y,C,J,I){h=" "+h[1].replace(/\\/g,"")+" ";if(I)return h;I=0;for(var V;(V=m[I])!=null;I++)if(V)if(J^(V.className&&(" "+V.className+" ").replace(/[\t\n]/g," ").indexOf(h)>=0))y||C.push(V);else if(y)m[I]=false;return false},ID:function(h){return h[1].replace(/\\/g,"")},TAG:function(h){return h[1].toLowerCase()},
CHILD:function(h){if(h[1]==="nth"){var m=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=m[1]+(m[2]||1)-0;h[3]=m[3]-0}h[0]=f++;return h},ATTR:function(h,m,y,C,J,I){m=h[1].replace(/\\/g,"");if(!I&&E.attrMap[m])h[1]=E.attrMap[m];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,m,y,C,J){if(h[1]==="not")if((g.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=x(h[3],null,null,m);else{h=x.filter(h[3],m,y,true^J);y||C.push.apply(C,
h);return false}else if(E.match.POS.test(h[0])||E.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild},has:function(h,m,y){return!!x(y[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},
text:function(h){return"text"===h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===h.type||h.nodeName.toLowerCase()==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)}},
setFilters:{first:function(h,m){return m===0},last:function(h,m,y,C){return m===C.length-1},even:function(h,m){return m%2===0},odd:function(h,m){return m%2===1},lt:function(h,m,y){return m<y[3]-0},gt:function(h,m,y){return m>y[3]-0},nth:function(h,m,y){return y[3]-0===m},eq:function(h,m,y){return y[3]-0===m}},filter:{PSEUDO:function(h,m,y,C){var J=m[1],I=E.filters[J];if(I)return I(h,y,m,C);else if(J==="contains")return(h.textContent||h.innerText||a([h])||"").indexOf(m[3])>=0;else if(J==="not"){m=
m[3];y=0;for(C=m.length;y<C;y++)if(m[y]===h)return false;return true}else x.error("Syntax error, unrecognized expression: "+J)},CHILD:function(h,m){var y=m[1],C=h;switch(y){case "only":case "first":for(;C=C.previousSibling;)if(C.nodeType===1)return false;if(y==="first")return true;C=h;case "last":for(;C=C.nextSibling;)if(C.nodeType===1)return false;return true;case "nth":y=m[2];var J=m[3];if(y===1&&J===0)return true;m=m[0];var I=h.parentNode;if(I&&(I.sizcache!==m||!h.nodeIndex)){var V=0;for(C=I.firstChild;C;C=
C.nextSibling)if(C.nodeType===1)C.nodeIndex=++V;I.sizcache=m}h=h.nodeIndex-J;return y===0?h===0:h%y===0&&h/y>=0}},ID:function(h,m){return h.nodeType===1&&h.getAttribute("id")===m},TAG:function(h,m){return m==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===m},CLASS:function(h,m){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(m)>-1},ATTR:function(h,m){var y=m[1];h=E.attrHandle[y]?E.attrHandle[y](h):h[y]!=null?h[y]:h.getAttribute(y);y=h+"";var C=m[2];m=m[4];return h==null?C==="!=":C===
"="?y===m:C==="*="?y.indexOf(m)>=0:C==="~="?(" "+y+" ").indexOf(m)>=0:!m?y&&h!==false:C==="!="?y!==m:C==="^="?y.indexOf(m)===0:C==="$="?y.substr(y.length-m.length)===m:C==="|="?y===m||y.substr(0,m.length+1)===m+"-":false},POS:function(h,m,y,C){var J=E.setFilters[m[2]];if(J)return J(h,y,m,C)}}},N=E.match.POS;for(var U in E.match){E.match[U]=new RegExp(E.match[U].source+/(?![^\[]*\])(?![^\(]*\))/.source);E.leftMatch[U]=new RegExp(/(^(?:.|\r|\n)*?)/.source+E.match[U].source.replace(/\\(\d+)/g,function(h,
m){return"\\"+(m-0+1)}))}var da=function(h,m){h=Array.prototype.slice.call(h,0);if(m){m.push.apply(m,h);return m}return h};try{Array.prototype.slice.call(D.documentElement.childNodes,0)}catch(ha){da=function(h,m){m=m||[];if(o.call(h)==="[object Array]")Array.prototype.push.apply(m,h);else if(typeof h.length==="number")for(var y=0,C=h.length;y<C;y++)m.push(h[y]);else for(y=0;h[y];y++)m.push(h[y]);return m}}var ea;if(D.documentElement.compareDocumentPosition)ea=function(h,m){if(!h.compareDocumentPosition||
!m.compareDocumentPosition){if(h==m)n=true;return h.compareDocumentPosition?-1:1}h=h.compareDocumentPosition(m)&4?-1:h===m?0:1;if(h===0)n=true;return h};else if("sourceIndex"in D.documentElement)ea=function(h,m){if(!h.sourceIndex||!m.sourceIndex){if(h==m)n=true;return h.sourceIndex?-1:1}h=h.sourceIndex-m.sourceIndex;if(h===0)n=true;return h};else if(D.createRange)ea=function(h,m){if(!h.ownerDocument||!m.ownerDocument){if(h==m)n=true;return h.ownerDocument?-1:1}var y=h.ownerDocument.createRange(),
C=m.ownerDocument.createRange();y.setStart(h,0);y.setEnd(h,0);C.setStart(m,0);C.setEnd(m,0);h=y.compareBoundaryPoints(Range.START_TO_END,C);if(h===0)n=true;return h};(function(){var h=D.createElement("div"),m="script"+(new Date).getTime();h.innerHTML="<a name='"+m+"'/>";var y=D.documentElement;y.insertBefore(h,y.firstChild);if(D.getElementById(m)){E.find.ID=function(C,J,I){if(typeof J.getElementById!=="undefined"&&!I)return(J=J.getElementById(C[1]))?J.id===C[1]||typeof J.getAttributeNode!=="undefined"&&
J.getAttributeNode("id").nodeValue===C[1]?[J]:q:[]};E.filter.ID=function(C,J){var I=typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id");return C.nodeType===1&&I&&I.nodeValue===J}}y.removeChild(h);y=h=null})();(function(){var h=D.createElement("div");h.appendChild(D.createComment(""));if(h.getElementsByTagName("*").length>0)E.find.TAG=function(m,y){y=y.getElementsByTagName(m[1]);if(m[1]==="*"){m=[];for(var C=0;y[C];C++)y[C].nodeType===1&&m.push(y[C]);y=m}return y};h.innerHTML="<a href='#'></a>";
if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")E.attrHandle.href=function(m){return m.getAttribute("href",2)};h=null})();D.querySelectorAll&&function(){var h=x,m=D.createElement("div");m.innerHTML="<p class='TEST'></p>";if(!(m.querySelectorAll&&m.querySelectorAll(".TEST").length===0)){x=function(C,J,I,V){J=J||D;if(!V&&J.nodeType===9&&!W(J))try{return da(J.querySelectorAll(C),I)}catch(T){}return h(C,J,I,V)};for(var y in h)x[y]=h[y];m=null}}();
(function(){var h=D.createElement("div");h.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){E.order.splice(1,0,"CLASS");E.find.CLASS=function(m,y,C){if(typeof y.getElementsByClassName!=="undefined"&&!C)return y.getElementsByClassName(m[1])};h=null}}})();var oa=D.compareDocumentPosition?function(h,m){return!!(h.compareDocumentPosition(m)&16)}:
function(h,m){return h!==m&&(h.contains?h.contains(m):true)},W=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false},Sa=function(h,m){var y=[],C="",J;for(m=m.nodeType?[m]:m;J=E.match.PSEUDO.exec(h);){C+=J[0];h=h.replace(E.match.PSEUDO,"")}h=E.relative[h]?h+"*":h;J=0;for(var I=m.length;J<I;J++)x(h,m[J],y);return x.filter(C,y)};c.find=x;c.expr=x.selectors;c.expr[":"]=c.expr.filters;c.unique=x.uniqueSort;c.text=a;c.isXMLDoc=W;c.contains=oa})();var ua=/Until$/,Ha=/^(?:parents|prevUntil|prevAll)/,
Ia=/,/;ra=Array.prototype.slice;var bb=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,o){return!!b.call(f,o,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var g=c.grep(a,function(f){return f.nodeType===1});if(Q.test(b))return c.filter(b,g,!d);else b=c.filter(b,g)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,g=0,f=this.length;g<f;g++){d=b.length;
c.find(a,this[g],b);if(g>0)for(var o=d;o<b.length;o++)for(var n=0;n<d;n++)if(b[n]===b[o]){b.splice(o--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,g=b.length;d<g;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(bb(this,a,false),"not",a)},filter:function(a){return this.pushStack(bb(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],g=this[0],f,o=
{},n;if(g&&a.length){f=0;for(var F=a.length;f<F;f++){n=a[f];o[n]||(o[n]=c.expr.match.POS.test(n)?c(n,b||this.context):n)}for(;g&&g.ownerDocument&&g!==b;){for(n in o){f=o[n];if(f.jquery?f.index(g)>-1:c(g).is(f)){d.push({selector:n,elem:g});delete o[n]}}g=g.parentNode}}return d}var x=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(E,N){for(;N&&N.ownerDocument&&N!==b;){if(x?x.index(N)>-1:c(N).is(a))return N;N=N.parentNode}return null})},index:function(a){if(!a||typeof a===
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(p(a[0])||p(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},
next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,g){var f=c.map(this,b,d);ua.test(a)||(g=d);if(g&&typeof g==="string")f=c.filter(g,f);f=this.length>1?c.unique(f):f;if((this.length>1||Ia.test(g))&&Ha.test(a))f=f.reverse();return this.pushStack(f,a,ra.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var g=[];for(a=a[b];a&&a.nodeType!==9&&(d===q||a.nodeType!==1||
!c(a).is(d));){a.nodeType===1&&g.push(a);a=a[b]}return g},nth:function(a,b,d){b=b||1;for(var g=0;a;a=a[d])if(a.nodeType===1&&++g===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var cb=/ jQuery\d+="(?:\d+|null)"/g,Qa=/^\s+/,db=/(<([\w:]+)[^>]*?)\/>/g,jb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,eb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,Ya=/<script|<object|<embed|<option|<style/i,Za=/checked\s*(?:[^=]|=\s*.checked.)/i,
fb=function(a,b,d){return jb.test(d)?a:b+"></"+d+">"},pa={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,"",""]};pa.optgroup=pa.option;pa.tbody=pa.tfoot=pa.colgroup=pa.caption=pa.thead;pa.th=pa.td;if(!c.support.htmlSerialize)pa._default=
[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==q)return this.empty().append((this[0]&&this[0].ownerDocument||D).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=
this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,g;(g=this[d])!=null;d++)if(!a||c.filter(a,[g]).length){if(!b&&g.nodeType===1){c.cleanData(g.getElementsByTagName("*"));c.cleanData([g])}g.parentNode&&g.parentNode.removeChild(g)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,g=this.ownerDocument;if(!d){d=g.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(cb,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(Qa,"")],g)[0]}else return this.cloneNode(true)});if(a===true){r(this,b);r(this.find("*"),b.find("*"))}return b},html:function(a){if(a===q)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(cb,
""):null;else if(typeof a==="string"&&!Ya.test(a)&&(c.support.leadingWhitespace||!Qa.test(a))&&!pa[(eb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(db,fb);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(g){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var o=c(this),n=o.html();o.empty().append(function(){return a.call(this,f,n)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),g=d.html();d.replaceWith(a.call(this,b,g))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function g(U){return c.nodeName(U,"table")?U.getElementsByTagName("tbody")[0]||
U.appendChild(U.ownerDocument.createElement("tbody")):U}var f,o,n=a[0],F=[],x;if(!c.support.checkClone&&arguments.length===3&&typeof n==="string"&&Za.test(n))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(n))return this.each(function(U){var da=c(this);a[0]=n.call(this,U,b?da.html():q);da.domManip(a,b,d)});if(this[0]){f=n&&n.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:z(a,this,F);x=f.fragment;if(o=x.childNodes.length===
1?(x=x.firstChild):x.firstChild){b=b&&c.nodeName(o,"tr");for(var E=0,N=this.length;E<N;E++)d.call(b?g(this[E],o):this[E],E>0||f.cacheable||this.length>1?x.cloneNode(true):x)}F.length&&c.each(F,w)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var g=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);
return this}else{f=0;for(var o=d.length;f<o;f++){var n=(f>0?this.clone(true):this).get();c.fn[b].apply(c(d[f]),n);g=g.concat(n)}return this.pushStack(g,a,d.selector)}}});c.extend({clean:function(a,b,d,g){b=b||D;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||D;for(var f=[],o=0,n;(n=a[o])!=null;o++){if(typeof n==="number")n+="";if(n){if(typeof n==="string"&&!lb.test(n))n=b.createTextNode(n);else if(typeof n==="string"){n=n.replace(db,fb);var F=(eb.exec(n)||["",
""])[1].toLowerCase(),x=pa[F]||pa._default,E=x[0],N=b.createElement("div");for(N.innerHTML=x[1]+n+x[2];E--;)N=N.lastChild;if(!c.support.tbody){E=kb.test(n);F=F==="table"&&!E?N.firstChild&&N.firstChild.childNodes:x[1]==="<table>"&&!E?N.childNodes:[];for(x=F.length-1;x>=0;--x)c.nodeName(F[x],"tbody")&&!F[x].childNodes.length&&F[x].parentNode.removeChild(F[x])}!c.support.leadingWhitespace&&Qa.test(n)&&N.insertBefore(b.createTextNode(Qa.exec(n)[0]),N.firstChild);n=N.childNodes}if(n.nodeType)f.push(n);
else f=c.merge(f,n)}}if(d)for(o=0;f[o];o++)if(g&&c.nodeName(f[o],"script")&&(!f[o].type||f[o].type.toLowerCase()==="text/javascript"))g.push(f[o].parentNode?f[o].parentNode.removeChild(f[o]):f[o]);else{f[o].nodeType===1&&f.splice.apply(f,[o+1,0].concat(c.makeArray(f[o].getElementsByTagName("script"))));d.appendChild(f[o])}return f},cleanData:function(a){for(var b,d,g=c.cache,f=c.event.special,o=c.support.deleteExpando,n=0,F;(F=a[n])!=null;n++)if(d=F[c.expando]){b=g[d];if(b.events)for(var x in b.events)f[x]?
c.event.remove(F,x):R(F,x,b.handle);if(o)delete F[c.expando];else F.removeAttribute&&F.removeAttribute(c.expando);delete g[d]}}});var mb=/z-?index|font-?weight|opacity|zoom|line-?height/i,gb=/alpha\([^)]*\)/,hb=/opacity=([^)]*)/,Ta=/float/i,Ua=/-([a-z])/ig,nb=/([A-Z])/g,ob=/^-?\d+(?:px)?$/i,pb=/^-?\d/,qb={position:"absolute",visibility:"hidden",display:"block"},rb=["Left","Right"],sb=["Top","Bottom"],tb=D.defaultView&&D.defaultView.getComputedStyle,ib=c.support.cssFloat?"cssFloat":"styleFloat",Va=
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return j(this,a,b,true,function(d,g,f){if(f===q)return c.curCSS(d,g);if(typeof f==="number"&&!mb.test(g))f+="px";c.style(d,g,f)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return q;if((b==="width"||b==="height")&&parseFloat(d)<0)d=q;var g=a.style||a,f=d!==q;if(!c.support.opacity&&b==="opacity"){if(f){g.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=g.filter||c.curCSS(a,"filter")||"";g.filter=
gb.test(a)?a.replace(gb,b):b}return g.filter&&g.filter.indexOf("opacity=")>=0?parseFloat(hb.exec(g.filter)[1])/100+"":""}if(Ta.test(b))b=ib;b=b.replace(Ua,Va);if(f)g[b]=d;return g[b]},css:function(a,b,d,g){if(b==="width"||b==="height"){var f,o=b==="width"?rb:sb;function n(){f=b==="width"?a.offsetWidth:a.offsetHeight;g!=="border"&&c.each(o,function(){g||(f-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(g==="margin")f+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else f-=parseFloat(c.curCSS(a,
"border"+this+"Width",true))||0})}a.offsetWidth!==0?n():c.swap(a,qb,n);return Math.max(0,Math.round(f))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var g,f=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){g=hb.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return g===""?"1":g}if(Ta.test(b))b=ib;if(!d&&f&&f[b])g=f[b];else if(tb){if(Ta.test(b))b="float";b=b.replace(nb,"-$1").toLowerCase();f=a.ownerDocument.defaultView;if(!f)return null;if(a=f.getComputedStyle(a,null))g=
a.getPropertyValue(b);if(b==="opacity"&&g==="")g="1"}else if(a.currentStyle){d=b.replace(Ua,Va);g=a.currentStyle[b]||a.currentStyle[d];if(!ob.test(g)&&pb.test(g)){b=f.left;var o=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=d==="fontSize"?"1em":g||0;g=f.pixelLeft+"px";f.left=b;a.runtimeStyle.left=o}}return g},swap:function(a,b,d){var g={};for(var f in b){g[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=g[f]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
a.offsetWidth,d=a.offsetHeight,g=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!g?true:b>0&&d>0&&!g?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var ub=k(),vb=/<script(.|\s)*?\/script>/gi,wb=/select|textarea/i,xb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Ja=/=\?(&|$)/,Wa=/\?/,yb=/(\?|&)_=.*?(&|$)/,zb=/^(\w+:)?\/\/([^\/?#]+)/,Ab=/%20/g,Bb=c.fn.load;c.fn.extend({load:function(a,b,
d){if(typeof a!=="string")return Bb.call(this,a);else if(!this.length)return this;var g=a.indexOf(" ");if(g>=0){var f=a.slice(g,a.length);a=a.slice(0,g)}g="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);g="POST"}var o=this;c.ajax({url:a,type:g,dataType:"html",data:b,complete:function(n,F){if(F==="success"||F==="notmodified")o.html(f?c("<div />").append(n.responseText.replace(vb,"")).find(f):n.responseText);d&&o.each(d,[n.responseText,
F,n])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||wb.test(this.nodeName)||xb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,g){if(c.isFunction(b)){g=g||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:g})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,g){if(c.isFunction(b)){g=g||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:g})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:e.XMLHttpRequest&&(e.location.protocol!=="file:"||!e.ActiveXObject)?function(){return new e.XMLHttpRequest}:function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){f.success&&
f.success.call(x,F,n,W);f.global&&g("ajaxSuccess",[W,f])}function d(){f.complete&&f.complete.call(x,W,n);f.global&&g("ajaxComplete",[W,f]);f.global&&!--c.active&&c.event.trigger("ajaxStop")}function g(J,I){(f.context?c(f.context):c.event).trigger(J,I)}var f=c.extend(true,{},c.ajaxSettings,a),o,n,F,x=a&&a.context||f,E=f.type.toUpperCase();if(f.data&&f.processData&&typeof f.data!=="string")f.data=c.param(f.data,f.traditional);if(f.dataType==="jsonp"){if(E==="GET")Ja.test(f.url)||(f.url+=(Wa.test(f.url)?
"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!Ja.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&Ja.test(f.data)||Ja.test(f.url))){o=f.jsonpCallback||"jsonp"+ub++;if(f.data)f.data=(f.data+"").replace(Ja,"="+o+"$1");f.url=f.url.replace(Ja,"="+o+"$1");f.dataType="script";e[o]=e[o]||function(J){F=J;b();d();e[o]=q;try{delete e[o]}catch(I){}da&&da.removeChild(ha)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===
false&&E==="GET"){var N=k(),U=f.url.replace(yb,"$1_="+N+"$2");f.url=U+(U===f.url?(Wa.test(f.url)?"&":"?")+"_="+N:"")}if(f.data&&E==="GET")f.url+=(Wa.test(f.url)?"&":"?")+f.data;f.global&&!c.active++&&c.event.trigger("ajaxStart");N=(N=zb.exec(f.url))&&(N[1]&&N[1]!==location.protocol||N[2]!==location.host);if(f.dataType==="script"&&E==="GET"&&N){var da=D.getElementsByTagName("head")[0]||D.documentElement,ha=D.createElement("script");ha.src=f.url;if(f.scriptCharset)ha.charset=f.scriptCharset;if(!o){var ea=
false;ha.onload=ha.onreadystatechange=function(){if(!ea&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){ea=true;b();d();ha.onload=ha.onreadystatechange=null;da&&ha.parentNode&&da.removeChild(ha)}}}da.insertBefore(ha,da.firstChild);return q}var oa=false,W=f.xhr();if(W){f.username?W.open(E,f.url,f.async,f.username,f.password):W.open(E,f.url,f.async);try{if(f.data||a&&a.contentType)W.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){c.lastModified[f.url]&&
W.setRequestHeader("If-Modified-Since",c.lastModified[f.url]);c.etag[f.url]&&W.setRequestHeader("If-None-Match",c.etag[f.url])}N||W.setRequestHeader("X-Requested-With","XMLHttpRequest");W.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":f.accepts._default)}catch(Sa){}if(f.beforeSend&&f.beforeSend.call(x,W,f)===false){f.global&&!--c.active&&c.event.trigger("ajaxStop");W.abort();return false}f.global&&g("ajaxSend",[W,f]);var h=W.onreadystatechange=function(J){if(!W||
W.readyState===0||J==="abort"){oa||d();oa=true;if(W)W.onreadystatechange=c.noop}else if(!oa&&W&&(W.readyState===4||J==="timeout")){oa=true;W.onreadystatechange=c.noop;n=J==="timeout"?"timeout":!c.httpSuccess(W)?"error":f.ifModified&&c.httpNotModified(W,f.url)?"notmodified":"success";var I;if(n==="success")try{F=c.httpData(W,f.dataType,f)}catch(V){n="parsererror";I=V}if(n==="success"||n==="notmodified")o||b();else c.handleError(f,W,n,I);d();J==="timeout"&&W.abort();if(f.async)W=null}};try{var m=W.abort;
W.abort=function(){W&&m.call(W);h("abort")}}catch(y){}f.async&&f.timeout>0&&setTimeout(function(){W&&!oa&&h("timeout")},f.timeout);try{W.send(E==="POST"||E==="PUT"||E==="DELETE"?f.data:null)}catch(C){c.handleError(f,W,null,C);d()}f.async||h();return W}},handleError:function(a,b,d,g){if(a.error)a.error.call(a.context||a,b,d,g);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,g])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&
a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),g=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(g)c.etag[b]=g;return a.status===304||a.status===0},httpData:function(a,b,d){var g=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&g.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,
b);if(typeof a==="string")if(b==="json"||!b&&g.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&g.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(n,F){if(c.isArray(F))c.each(F,function(x,E){b||/\[\]$/.test(n)?g(n,E):d(n+"["+(typeof E==="object"||c.isArray(E)?x:"")+"]",E)});else!b&&F!=null&&typeof F==="object"?c.each(F,function(x,E){d(n+"["+x+"]",E)}):g(n,F)}function g(n,F){F=c.isFunction(F)?F():F;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(F)}
var f=[];if(b===q)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){g(this.name,this.value)});else for(var o in a)d(o,a[o]);return f.join("&").replace(Ab,"+")}});var Xa={},Cb=/toggle|show|hide/,Db=/^([+-]=)?([\d+-.]+)(.*)$/,Ra,$a=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(O("show",3),a,b);else{a=0;for(b=this.length;a<
b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var g;if(Xa[d])g=Xa[d];else{var f=c("<"+d+" />").appendTo("body");g=f.css("display");if(g==="none")g="block";f.remove();Xa[d]=g}c.data(this[a],"olddisplay",g)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(O("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],
"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var g=d?a:c(this).is(":hidden");c(this)[g?"show":"hide"]()}):this.animate(O("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",
0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,g){var f=c.speed(b,d,g);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var o=c.extend({},f),n,F=this.nodeType===1&&c(this).is(":hidden"),x=this;for(n in a){var E=n.replace(Ua,Va);if(n!==E){a[E]=a[n];delete a[n];n=E}if(a[n]==="hide"&&F||a[n]==="show"&&!F)return o.complete.call(this);if((n==="height"||n==="width")&&this.style){o.display=c.css(this,"display");o.overflow=this.style.overflow}if(c.isArray(a[n])){(o.specialEasing=
o.specialEasing||{})[n]=a[n][1];a[n]=a[n][0]}}if(o.overflow!=null)this.style.overflow="hidden";o.curAnim=c.extend({},a);c.each(a,function(N,U){var da=new c.fx(x,o,N);if(Cb.test(U))da[U==="toggle"?F?"show":"hide":U](a);else{var ha=Db.exec(U),ea=da.cur(true)||0;if(ha){U=parseFloat(ha[2]);var oa=ha[3]||"px";if(oa!=="px"){x.style[N]=(U||1)+oa;ea=(U||1)/da.cur(true)*ea;x.style[N]=ea+oa}if(ha[1])U=(ha[1]==="-="?-1:1)*U+ea;da.custom(ea,U,oa)}else da.custom(ea,U,"")}});return true})},stop:function(a,b){var d=
c.timers;a&&this.queue([]);this.each(function(){for(var g=d.length-1;g>=0;g--)if(d[g].elem===this){b&&d[g](true);d.splice(g,1)}});b||this.dequeue();return this}});c.each({slideDown:O("show",1),slideUp:O("hide",1),slideToggle:O("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,g){return this.animate(b,d,g)}});c.extend({speed:function(a,b,d){var g=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&
b};g.duration=c.fx.off?0:typeof g.duration==="number"?g.duration:c.fx.speeds[g.duration]||c.fx.speeds._default;g.old=g.complete;g.complete=function(){g.queue!==false&&c(this).dequeue();c.isFunction(g.old)&&g.old.call(this)};return g},easing:{linear:function(a,b,d,g){return d+g*a},swing:function(a,b,d,g){return(-Math.cos(a*Math.PI)/2+0.5)*g+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,
this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function g(o){return f.step(o)}this.startTime=k();this.start=a;this.end=b;this.unit=
d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;g.elem=this.elem;if(g()&&c.timers.push(g)&&!Ra)Ra=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=k(),d=true;if(a||
b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var g in this.options.curAnim)if(this.options.curAnim[g]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||
this.options.show)for(var f in this.options.curAnim)c.style(this.elem,f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{f=b-this.startTime;this.state=f/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,f,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=
c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(Ra);Ra=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(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;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===
b.elem}).length};c.fn.offset="getBoundingClientRect"in D.documentElement?function(a){var b=this[0];if(a)return this.each(function(f){c.offset.setOffset(this,a,f)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),g=b.ownerDocument;b=g.body;g=g.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&g.scrollLeft||
b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(N){c.offset.setOffset(this,a,N)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,g=b,f=b.ownerDocument,o,n=f.documentElement,F=f.body;g=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var x=b.offsetTop,E=b.offsetLeft;(b=b.parentNode)&&b!==F&&b!==n;){if(c.offset.supportsFixedPosition&&g.position===
"fixed")break;o=f?f.getComputedStyle(b,null):b.currentStyle;x-=b.scrollTop;E-=b.scrollLeft;if(b===d){x+=b.offsetTop;E+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){x+=parseFloat(o.borderTopWidth)||0;E+=parseFloat(o.borderLeftWidth)||0}g=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&o.overflow!=="visible"){x+=parseFloat(o.borderTopWidth)||0;E+=parseFloat(o.borderLeftWidth)||0}g=o}if(g.position==="relative"||
g.position==="static"){x+=F.offsetTop;E+=F.offsetLeft}if(c.offset.supportsFixedPosition&&g.position==="fixed"){x+=Math.max(n.scrollTop,F.scrollTop);E+=Math.max(n.scrollLeft,F.scrollLeft)}return{top:x,left:E}};c.offset={initialize:function(){var a=D.body,b=D.createElement("div"),d,g,f,o=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.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(b,a.firstChild);d=b.firstChild;g=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=g.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;g.style.position="fixed";g.style.top="20px";this.supportsFixedPosition=g.offsetTop===20||g.offsetTop===15;g.style.position=g.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=g.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==o;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var g=c(a),f=g.offset(),o=parseInt(c.curCSS(a,"top",true),10)||0,n=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,f);d={top:b.top-f.top+o,left:b.left-f.left+n};"using"in b?b.using.call(a,d):g.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),g=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;g.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;g.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
g.top,left:d.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||D.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(g){var f=this[0],o;if(!f)return null;return g!==q?this.each(function(){if(o=u(this))o.scrollTo(!a?g:c(o).scrollLeft(),a?g:c(o).scrollTop());else this[d]=g}):(o=u(f))?"pageXOffset"in o?o[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&o.document.documentElement[d]||o.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(g){return this[0]?c.css(this[0],d,false,g?"margin":"border"):null};c.fn[d]=function(g){var f=this[0];if(!f)return g==null?null:this;if(c.isFunction(g))return this.each(function(o){var n=c(this);n[d](g.call(this,o,n[d]()))});return"scrollTo"in f&&f.document?
f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b]:f.nodeType===9?Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]):g===q?c.css(f,d):this.css(d,typeof g==="string"?g:g+"px")}});e.jQuery=e.$=c})(window);
(function(e){function q(j,k,l){var H=this,s=j.add(this),v=j.find(l.tabs),G=k.jquery?k:j.children(k),p;v.length||(v=j.children());G.length||(G=j.parent().find(k));G.length||(G=e(k));e.extend(this,{click:function(r,z){var O=v.eq(r);if(typeof r=="string"&&r.replace("#","")){O=v.filter("[href*="+r.replace("#","")+"]");r=Math.max(v.index(O),0)}if(l.rotate){var u=v.length-1;if(r<0)return H.click(u,z);if(r>u)return H.click(0,z)}if(!O.length){if(p>=0)return H;r=l.initialIndex;O=v.eq(r)}if(r===p)return H;
z=z||e.Event();z.type="onBeforeClick";s.trigger(z,[r]);if(!z.isDefaultPrevented()){B[l.effect].call(H,r,function(){z.type="onClick";s.trigger(z,[r])});p=r;v.removeClass(l.current);O.addClass(l.current);return H}},getConf:function(){return l},getTabs:function(){return v},getPanes:function(){return G},getCurrentPane:function(){return G.eq(p)},getCurrentTab:function(){return v.eq(p)},getIndex:function(){return p},next:function(){return H.click(p+1)},prev:function(){return H.click(p-1)},destroy:function(){v.unbind(l.event).removeClass(l.current);
G.find("a[href^=#]").unbind("click.T");return H}});e.each("onBeforeClick,onClick".split(","),function(r,z){e.isFunction(l[z])&&e(H).bind(z,l[z]);H[z]=function(O){e(H).bind(z,O);return H}});if(l.history&&e.fn.history){e.tools.history.init(v);l.event="history"}v.each(function(r){e(this).bind(l.event,function(z){H.click(r,z);return z.preventDefault()})});G.find("a[href^=#]").bind("click.T",function(r){H.click(e(this).attr("href"),r)});if(location.hash)H.click(location.hash);else if(l.initialIndex===
0||l.initialIndex>0)H.click(l.initialIndex)}e.tools=e.tools||{version:"1.2.3"};e.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(j,k){B[j]=k}};var B={"default":function(j,k){this.getPanes().hide().eq(j).show();k.call()},fade:function(j,k){var l=this.getConf(),H=l.fadeOutSpeed,s=this.getPanes();H?s.fadeOut(H):s.hide();s.eq(j).fadeIn(l.fadeInSpeed,k)},slide:function(j,k){this.getPanes().slideUp(200);
this.getPanes().eq(j).slideDown(400,k)},ajax:function(j,k){this.getPanes().eq(0).load(this.getTabs().eq(j).attr("href"),k)}},w;e.tools.tabs.addEffect("horizontal",function(j,k){w||(w=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){e(this).hide()});this.getPanes().eq(j).animate({width:w},function(){e(this).show();k.call()})});e.fn.tabs=function(j,k){var l=this.data("tabs");if(l){l.destroy();this.removeData("tabs")}if(e.isFunction(k))k={onBeforeClick:k};k=e.extend({},
e.tools.tabs.conf,k);this.each(function(){l=new q(e(this),j,k);e(this).data("tabs",l)});return k.api?l:this}})(jQuery);
(function(e){function q(j,k){var l=this,H=j.add(l),s=e(window),v,G,p,r=e.tools.expose&&(k.mask||k.expose),z=Math.random().toString().slice(10);if(r){if(typeof r=="string")r={color:r};r.closeOnClick=r.closeOnEsc=false}var O=k.target||j.attr("rel");G=O?e(O):j;if(!G.length)throw"Could not find Overlay: "+O;j&&j.index(G)==-1&&j.click(function(u){l.load(u);return u.preventDefault()});e.extend(l,{load:function(u){if(l.isOpened())return l;var c=w[k.effect];if(!c)throw'Overlay: cannot find effect : "'+k.effect+
'"';k.oneInstance&&e.each(B,function(){this.close(u)});u=u||e.Event();u.type="onBeforeLoad";H.trigger(u);if(u.isDefaultPrevented())return l;p=true;r&&e(G).expose(r);var L=k.top,K=k.left,D=G.outerWidth({margin:true}),X=G.outerHeight({margin:true});if(typeof L=="string")L=L=="center"?Math.max((s.height()-X)/2,0):parseInt(L,10)/100*s.height();if(K=="center")K=Math.max((s.width()-D)/2,0);c[0].call(l,{top:L,left:K},function(){if(p){u.type="onLoad";H.trigger(u)}});r&&k.closeOnClick&&e.mask.getMask().one("click",
l.close);k.closeOnClick&&e(document).bind("click."+z,function(fa){e(fa.target).parents(G).length||l.close(fa)});k.closeOnEsc&&e(document).bind("keydown."+z,function(fa){fa.keyCode==27&&l.close(fa)});return l},close:function(u){if(!l.isOpened())return l;u=u||e.Event();u.type="onBeforeClose";H.trigger(u);if(!u.isDefaultPrevented()){p=false;w[k.effect][1].call(l,function(){u.type="onClose";H.trigger(u)});e(document).unbind("click."+z).unbind("keydown."+z);r&&e.mask.close();return l}},getOverlay:function(){return G},
getTrigger:function(){return j},getClosers:function(){return v},isOpened:function(){return p},getConf:function(){return k}});e.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(u,c){e.isFunction(k[c])&&e(l).bind(c,k[c]);l[c]=function(L){e(l).bind(c,L);return l}});v=G.find(k.close||".close");if(!v.length&&!k.close){v=e('<a class="close"></a>');G.prepend(v)}v.click(function(u){l.close(u)});k.load&&l.load()}e.tools=e.tools||{version:"1.2.3"};e.tools.overlay={addEffect:function(j,
k,l){w[j]=[k,l]},conf:{close:null,closeOnClick:true,closeOnEsc:true,closeSpeed:"fast",effect:"default",fixed:!e.browser.msie||e.browser.version>6,left:"center",load:false,mask:null,oneInstance:true,speed:"normal",target:null,top:"10%"}};var B=[],w={};e.tools.overlay.addEffect("default",function(j,k){var l=this.getConf(),H=e(window);if(!l.fixed){j.top+=H.scrollTop();j.left+=H.scrollLeft()}j.position=l.fixed?"fixed":"absolute";this.getOverlay().css(j).fadeIn(l.speed,k)},function(j){this.getOverlay().fadeOut(this.getConf().closeSpeed,
j)});e.fn.overlay=function(j){var k=this.data("overlay");if(k)return k;if(e.isFunction(j))j={onBeforeLoad:j};j=e.extend(true,{},e.tools.overlay.conf,j);this.each(function(){k=new q(e(this),j);B.push(k);e(this).data("overlay",k)});return j.api?k:this}})(jQuery);
(function(e){function q(w,j){function k(c){var L=e(c);return L.length<2?L:w.parent().find(c)}var l=this,H=w.add(this),s=w.data("tabs"),v,G,p,r=false,z=k(j.next).click(function(){s.next()}),O=k(j.prev).click(function(){s.prev()});e.extend(l,{getTabs:function(){return s},getConf:function(){return j},play:function(){if(!v){var c=e.Event("onBeforePlay");H.trigger(c);if(c.isDefaultPrevented())return l;r=false;v=setInterval(s.next,j.interval);H.trigger("onPlay");s.next()}},pause:function(){if(!v)return l;
var c=e.Event("onBeforePause");H.trigger(c);if(c.isDefaultPrevented())return l;v=clearInterval(v);p=clearInterval(p);H.trigger("onPause")},stop:function(){l.pause();r=true}});e.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(c,L){e.isFunction(j[L])&&l.bind(L,j[L]);l[L]=function(K){return l.bind(L,K)}});j.autopause&&s.getTabs().add(z).add(O).add(s.getPanes()).hover(function(){l.pause();G=clearInterval(G)},function(){r||(G=setTimeout(l.play,j.interval))});if(j.autoplay)p=setTimeout(l.play,
j.interval);else l.stop();j.clickable&&s.getPanes().click(function(){s.next()});if(!s.getConf().rotate){var u=j.disabledClass;s.getIndex()||O.addClass(u);s.onBeforeClick(function(c,L){if(L){O.removeClass(u);L==s.getTabs().length-1?z.addClass(u):z.removeClass(u)}else O.addClass(u)})}}var B;B=e.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3E3,clickable:true,api:false}};e.fn.slideshow=function(w){var j=this.data("slideshow");
if(j)return j;w=e.extend({},B.conf,w);this.each(function(){j=new q(e(this),w);e(this).data("slideshow",j)});return w.api?j:this}})(jQuery);
(function(e){function q(j,k,l){var H=l.relative?j.position().top:j.offset().top,s=l.relative?j.position().left:j.offset().left,v=l.position[0];H-=k.outerHeight()-l.offset[0];s+=j.outerWidth()+l.offset[1];var G=k.outerHeight()+j.outerHeight();if(v=="center")H+=G/2;if(v=="bottom")H+=G;v=l.position[1];j=k.outerWidth()+j.outerWidth();if(v=="center")s-=j/2;if(v=="left")s-=j;return{top:H,left:s}}function B(j,k){var l=this,H=j.add(l),s,v=0,G=0,p=j.attr("title"),r=w[k.effect],z,O=j.is(":input"),u=O&&j.is(":checkbox, :radio, select, :button"),
c=j.attr("type"),L=k.events[c]||k.events[O?u?"widget":"input":"def"];if(!r)throw'Nonexistent effect "'+k.effect+'"';L=L.split(/,\s*/);if(L.length!=2)throw"Tooltip: bad events configuration for "+c;j.bind(L[0],function(K){if(k.predelay){clearTimeout(v);G=setTimeout(function(){l.show(K)},k.predelay)}else l.show(K)}).bind(L[1],function(K){if(k.delay){clearTimeout(G);v=setTimeout(function(){l.hide(K)},k.delay)}else l.hide(K)});if(p&&k.cancelDefault){j.removeAttr("title");j.data("title",p)}e.extend(l,
{show:function(K){if(!s){if(p)s=e(k.layout).addClass(k.tipClass).appendTo(document.body).hide().append(p);else if(k.tip)s=e(k.tip).eq(0);else{s=j.next();s.length||(s=j.parent().next())}if(!s.length)throw"Cannot find tooltip for "+j;}if(l.isShown())return l;s.stop(true,true);var D=q(j,s,k);K=K||e.Event();K.type="onBeforeShow";H.trigger(K,[D]);if(K.isDefaultPrevented())return l;D=q(j,s,k);s.css({position:"absolute",top:D.top,left:D.left});z=true;r[0].call(l,function(){K.type="onShow";z="full";H.trigger(K)});
D=k.events.tooltip.split(/,\s*/);s.bind(D[0],function(){clearTimeout(v);clearTimeout(G)});D[1]&&!j.is("input:not(:checkbox, :radio), textarea")&&s.bind(D[1],function(X){X.relatedTarget!=j[0]&&j.trigger(L[1].split(" ")[0])});return l},hide:function(K){if(!s||!l.isShown())return l;K=K||e.Event();K.type="onBeforeHide";H.trigger(K);if(!K.isDefaultPrevented()){z=false;w[k.effect][1].call(l,function(){K.type="onHide";z=false;H.trigger(K)});return l}},isShown:function(K){return K?z=="full":z},getConf:function(){return k},
getTip:function(){return s},getTrigger:function(){return j}});e.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(K,D){e.isFunction(k[D])&&e(l).bind(D,k[D]);l[D]=function(X){e(l).bind(D,X);return l}})}e.tools=e.tools||{version:"1.2.2"};e.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:false,cancelDefault:true,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",
tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(j,k,l){w[j]=[k,l]}};(function(j){function k(s,v,G){var p=G.relative?s.position().top:s.offset().top,r=G.relative?s.position().left:s.offset().left,z=G.position[0];p-=v.outerHeight()-G.offset[0];r+=s.outerWidth()+G.offset[1];var O=v.outerHeight()+s.outerHeight();if(z=="center")p+=O/2;if(z=="bottom")p+=O;z=G.position[1];s=v.outerWidth()+s.outerWidth();if(z=="center")r-=s/2;if(z=="left")r-=s;return{top:p,left:r}}
function l(s,v){var G=this,p=s.add(G),r,z=0,O=0,u=s.attr("title"),c=H[v.effect],L,K=s.is(":input"),D=K&&s.is(":checkbox, :radio, select, :button, :submit"),X=s.attr("type"),fa=v.events[X]||v.events[K?D?"widget":"input":"def"];if(!c)throw'Nonexistent effect "'+v.effect+'"';fa=fa.split(/,\s*/);if(fa.length!=2)throw"Tooltip: bad events configuration for "+X;s.bind(fa[0],function(Q){clearTimeout(z);if(v.predelay)O=setTimeout(function(){G.show(Q)},v.predelay);else G.show(Q)}).bind(fa[1],function(Q){clearTimeout(O);
if(v.delay)z=setTimeout(function(){G.hide(Q)},v.delay);else G.hide(Q)});if(u&&v.cancelDefault){s.removeAttr("title");s.data("title",u)}j.extend(G,{show:function(Q){if(!r){if(u)r=j(v.layout).addClass(v.tipClass).appendTo(document.body).hide().append(u);else if(v.tip)r=j(v.tip).eq(0);else{r=s.next();r.length||(r=s.parent().next())}if(!r.length)throw"Cannot find tooltip for "+s;}if(G.isShown())return G;r.stop(true,true);var aa=k(s,r,v);Q=Q||j.Event();Q.type="onBeforeShow";p.trigger(Q,[aa]);if(Q.isDefaultPrevented())return G;
aa=k(s,r,v);r.css({position:"absolute",top:aa.top,left:aa.left});L=true;c[0].call(G,function(){Q.type="onShow";L="full";p.trigger(Q)});aa=v.events.tooltip.split(/,\s*/);r.bind(aa[0],function(){clearTimeout(z);clearTimeout(O)});aa[1]&&!s.is("input:not(:checkbox, :radio), textarea")&&r.bind(aa[1],function(ka){ka.relatedTarget!=s[0]&&s.trigger(fa[1].split(" ")[0])});return G},hide:function(Q){if(!r||!G.isShown())return G;Q=Q||j.Event();Q.type="onBeforeHide";p.trigger(Q);if(!Q.isDefaultPrevented()){L=
false;H[v.effect][1].call(G,function(){Q.type="onHide";L=false;p.trigger(Q)});return G}},isShown:function(Q){return Q?L=="full":L},getConf:function(){return v},getTip:function(){return r},getTrigger:function(){return s}});j.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(Q,aa){j.isFunction(v[aa])&&j(G).bind(aa,v[aa]);G[aa]=function(ka){j(G).bind(aa,ka);return G}})}j.tools=j.tools||{version:"1.2.3"};j.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,
tip:0,position:["top","center"],offset:[0,0],relative:false,cancelDefault:true,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(s,v,G){H[s]=[v,G]}};var H={toggle:[function(s){var v=this.getConf(),G=this.getTip();v=v.opacity;v<1&&G.css({opacity:v});G.show();s.call()},function(s){this.getTip().hide();s.call()}],fade:[function(s){var v=this.getConf();this.getTip().fadeTo(v.fadeInSpeed,
v.opacity,s)},function(s){this.getTip().fadeOut(this.getConf().fadeOutSpeed,s)}]};j.fn.tooltip=function(s){var v=this.data("tooltip");if(v)return v;s=j.extend(true,{},j.tools.tooltip.conf,s);if(typeof s.position=="string")s.position=s.position.split(/,?\s/);this.each(function(){v=new l(j(this),s);j(this).data("tooltip",v)});return s.api?v:this}})(jQuery);var w={toggle:[function(j){var k=this.getConf(),l=this.getTip();k=k.opacity;k<1&&l.css({opacity:k});l.show();j.call()},function(j){this.getTip().hide();
j.call()}],fade:[function(j){var k=this.getConf();this.getTip().fadeTo(k.fadeInSpeed,k.opacity,j)},function(j){this.getTip().fadeOut(this.getConf().fadeOutSpeed,j)}]};e.fn.tooltip=function(j){var k=this.data("tooltip");if(k)return k;j=e.extend(true,{},e.tools.tooltip.conf,j);if(typeof j.position=="string")j.position=j.position.split(/,?\s/);this.each(function(){k=new B(e(this),j);e(this).data("tooltip",k)});return j.api?k:this}})(jQuery);
(function(e){function q(j){var k=e(window),l=k.width()+k.scrollLeft(),H=k.height()+k.scrollTop();return[j.offset().top<=k.scrollTop(),l<=j.offset().left+j.width(),H<=j.offset().top+j.height(),k.scrollLeft()>=j.offset().left]}function B(j){for(var k=j.length;k--;)if(j[k])return false;return true}var w=e.tools.tooltip;w.dynamic={conf:{classNames:"top right bottom left"}};e.fn.dynamic=function(j){if(typeof j=="number")j={speed:j};j=e.extend({},w.dynamic.conf,j);var k=j.classNames.split(/\s/),l;this.each(function(){var H=
e(this).tooltip().onBeforeShow(function(s,v){s=this.getTip();var G=this.getConf();l||(l=[G.position[0],G.position[1],G.offset[0],G.offset[1],e.extend({},G)]);e.extend(G,l[4]);G.position=[l[0],l[1]];G.offset=[l[2],l[3]];s.css({visibility:"hidden",position:"absolute",top:v.top,left:v.left}).show();v=q(s);if(!B(v)){if(v[2]){e.extend(G,j.top);G.position[0]="top";s.addClass(k[0])}if(v[3]){e.extend(G,j.right);G.position[1]="right";s.addClass(k[1])}if(v[0]){e.extend(G,j.bottom);G.position[0]="bottom";s.addClass(k[2])}if(v[1]){e.extend(G,
j.left);G.position[1]="left";s.addClass(k[3])}if(v[0]||v[2])G.offset[0]*=-1;if(v[1]||v[3])G.offset[1]*=-1}s.css({visibility:"visible"}).hide()});H.onBeforeShow(function(){var s=this.getConf();this.getTip();setTimeout(function(){s.position=[l[0],l[1]];s.offset=[l[2],l[3]]},0)});H.onHide(function(){this.getTip().removeClass(j.classNames)});ret=H});return j.api?ret:this}})(jQuery);
(function(e){function q(){if(e.browser.msie){var v=e(document).height(),G=e(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,v-G<20?G:v]}return[e(document).width(),e(document).height()]}function B(v){if(v)return v.call(e.mask)}e.tools=e.tools||{version:"1.2.3"};var w;w=e.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,startOpacity:0,color:"#fff",onLoad:null,
onClose:null}};var j,k,l,H,s;e.mask={load:function(v,G){if(l)return this;if(typeof v=="string")v={color:v};v=v||H;H=v=e.extend(e.extend({},w.conf),v);j=e("#"+v.maskId);if(!j.length){j=e("<div/>").attr("id",v.maskId);e("body").append(j)}var p=q();j.css({position:"absolute",top:0,left:0,width:p[0],height:p[1],display:"none",opacity:v.startOpacity,zIndex:v.zIndex});v.color&&j.css("backgroundColor",v.color);if(B(v.onBeforeLoad)===false)return this;v.closeOnEsc&&e(document).bind("keydown.mask",function(r){r.keyCode==
27&&e.mask.close(r)});v.closeOnClick&&j.bind("click.mask",function(r){e.mask.close(r)});e(window).bind("resize.mask",function(){e.mask.fit()});if(G&&G.length){s=G.eq(0).css("zIndex");e.each(G,function(){var r=e(this);/relative|absolute|fixed/i.test(r.css("position"))||r.css("position","relative")});k=G.css({zIndex:Math.max(v.zIndex+1,s=="auto"?0:s)})}j.css({display:"block"}).fadeTo(v.loadSpeed,v.opacity,function(){e.mask.fit();B(v.onLoad)});l=true;return this},close:function(){if(l){if(B(H.onBeforeClose)===
false)return this;j.fadeOut(H.closeSpeed,function(){B(H.onClose);k&&k.css({zIndex:s})});e(document).unbind("keydown.mask");j.unbind("click.mask");e(window).unbind("resize.mask");l=false}return this},fit:function(){if(l){var v=q();j.css({width:v[0],height:v[1]})}},getMask:function(){return j},isLoaded:function(){return l},getConf:function(){return H},getExposed:function(){return k}};e.fn.mask=function(v){e.mask.load(v);return this};e.fn.expose=function(v){e.mask.load(v,this);return this}})(jQuery);
(function(e){function q(j,k){var l=e(k);return l.length<2?l:j.parent().find(k)}function B(j,k){var l=this,H=j.add(l),s=j.children(),v=0,G=k.vertical;w||(w=l);if(s.length>1)s=e(k.items,j);e.extend(l,{getConf:function(){return k},getIndex:function(){return v},getSize:function(){return l.getItems().size()},getNaviButtons:function(){return z.add(O)},getRoot:function(){return j},getItemWrap:function(){return s},getItems:function(){return s.children(k.item).not("."+k.clonedClass)},move:function(u,c){return l.seekTo(v+
u,c)},next:function(u){return l.move(1,u)},prev:function(u){return l.move(-1,u)},begin:function(u){return l.seekTo(0,u)},end:function(u){return l.seekTo(l.getSize()-1,u)},focus:function(){return w=l},addItem:function(u){u=e(u);if(k.circular){e(".cloned:last").before(u);e(".cloned:first").replaceWith(u.clone().addClass(k.clonedClass))}else s.append(u);H.trigger("onAddItem",[u]);return l},seekTo:function(u,c,L){if(k.circular&&u===0&&v==-1&&c!==0)return l;if(!k.circular&&u<0||u>l.getSize()||u<-1)return l;
var K=u;if(u.jquery)u=l.getItems().index(u);else K=l.getItems().eq(u);var D=e.Event("onBeforeSeek");if(!L){H.trigger(D,[u,c]);if(D.isDefaultPrevented()||!K.length)return l}K=G?{top:-K.position().top}:{left:-K.position().left};v=u;w=l;if(c===undefined)c=k.speed;s.animate(K,c,k.easing,L||function(){H.trigger("onSeek",[u])});return l}});e.each(["onBeforeSeek","onSeek","onAddItem"],function(u,c){e.isFunction(k[c])&&e(l).bind(c,k[c]);l[c]=function(L){e(l).bind(c,L);return l}});if(k.circular){var p=l.getItems().slice(-1).clone().prependTo(s),
r=l.getItems().eq(1).clone().appendTo(s);p.add(r).addClass(k.clonedClass);l.onBeforeSeek(function(u,c,L){if(!u.isDefaultPrevented())if(c==-1){l.seekTo(p,L,function(){l.end(0)});return u.preventDefault()}else c==l.getSize()&&l.seekTo(r,L,function(){l.begin(0)})});l.seekTo(0,0)}var z=q(j,k.prev).click(function(){l.prev()}),O=q(j,k.next).click(function(){l.next()});!k.circular&&l.getSize()>1&&l.onBeforeSeek(function(u,c){setTimeout(function(){if(!u.isDefaultPrevented()){z.toggleClass(k.disabledClass,
c<=0);O.toggleClass(k.disabledClass,c>=l.getSize()-1)}},1)});k.mousewheel&&e.fn.mousewheel&&j.mousewheel(function(u,c){if(k.mousewheel){l.move(c<0?1:-1,k.wheelSpeed||50);return false}});k.keyboard&&e(document).bind("keydown.scrollable",function(u){if(!(!k.keyboard||u.altKey||u.ctrlKey||e(u.target).is(":input")))if(!(k.keyboard!="static"&&w!=l)){var c=u.keyCode;if(G&&(c==38||c==40)){l.move(c==38?-1:1);return u.preventDefault()}if(!G&&(c==37||c==39)){l.move(c==37?-1:1);return u.preventDefault()}}});
e(l).trigger("onBeforeSeek",[k.initialIndex])}e.tools=e.tools||{version:"1.2.3"};e.tools.scrollable={conf:{activeClass:"active",circular:false,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:true,mousewheel:false,next:".next",prev:".prev",speed:400,vertical:false,wheelSpeed:0}};var w;e.fn.scrollable=function(j){var k=this.data("scrollable");if(k)return k;j=e.extend({},e.tools.scrollable.conf,j);this.each(function(){k=new B(e(this),j);e(this).data("scrollable",
k)});return j.api?k:this}})(jQuery);
(function(e){var q=e.tools.scrollable;q.autoscroll={conf:{autoplay:true,interval:3E3,autopause:true}};e.fn.autoscroll=function(B){if(typeof B=="number")B={interval:B};var w=e.extend({},q.autoscroll.conf,B),j;this.each(function(){var k=e(this).data("scrollable");if(k)j=k;var l,H,s=true;k.play=function(){if(!l){s=false;l=setInterval(function(){k.next()},w.interval);k.next()}};k.pause=function(){l=clearInterval(l)};k.stop=function(){k.pause();s=true};w.autopause&&k.getRoot().add(k.getNaviButtons()).hover(function(){k.pause();
clearInterval(H)},function(){s||(H=setTimeout(k.play,w.interval))});w.autoplay&&setTimeout(k.play,w.interval)});return w.api?j:this}})(jQuery);
(function(e){function q(w,j){var k=e(j);return k.length<2?k:w.parent().find(j)}var B=e.tools.scrollable;B.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,idPrefix:null,history:false}};e.fn.navigator=function(w){if(typeof w=="string")w={navi:w};w=e.extend({},B.navigator.conf,w);var j;this.each(function(){function k(O,u,c){v.seekTo(u);if(z){if(location.hash)location.hash=O.attr("href").replace("#","")}else return c.preventDefault()}function l(){return G.find(w.naviItem||
"> *")}function H(O){var u=e("<"+(w.naviItem||"a")+"/>").click(function(c){k(e(this),O,c)}).attr("href","#"+O);O===0&&u.addClass(r);w.indexed&&u.text(O+1);w.idPrefix&&u.attr("id",w.idPrefix+O);return u.appendTo(G)}function s(O,u){O=l().eq(u.replace("#",""));O.length||(O=l().filter("[href="+u+"]"));O.click()}var v=e(this).data("scrollable"),G=q(v.getRoot(),w.navi),p=v.getNaviButtons(),r=w.activeClass,z=w.history&&e.fn.history;if(v)j=v;v.getNaviButtons=function(){return p.add(G)};l().length?l().each(function(O){e(this).click(function(u){k(e(this),
O,u)})}):e.each(v.getItems(),function(O){H(O)});v.onBeforeSeek(function(O,u){setTimeout(function(){if(!O.isDefaultPrevented()){var c=l().eq(u);!O.isDefaultPrevented()&&c.length&&l().removeClass(r).eq(u).addClass(r)}},1)});v.onAddItem(function(O,u){u=H(v.getItems().index(u));z&&u.history(s)});z&&l().history(s)});return w.api?j:this}})(jQuery);
(function(e){function q(p,r,z){var O=p.offset().top,u=p.offset().left,c=z.position.split(/,?\s+/),L=c[0];c=c[1];O-=r.outerHeight()-z.offset[0];u+=p.outerWidth()+z.offset[1];z=r.outerHeight()+p.outerHeight();if(L=="center")O+=z/2;if(L=="bottom")O+=z;p=p.outerWidth();if(c=="center")u-=(p+r.outerWidth())/2;if(c=="left")u-=p;return{top:O,left:u}}function B(p){function r(){return this.getAttribute("type")==p}r.key="[type="+p+"]";return r}function w(p,r,z){function O(L,K,D){if(!(!z.grouped&&L.length)){var X;
if(D===false||e.isArray(D)){X=s.messages[K.key||K]||s.messages["*"];X=X[z.lang]||s.messages["*"].en;(K=X.match(/\$\d/g))&&e.isArray(D)&&e.each(K,function(fa){X=X.replace(this,D[fa])})}else X=D[z.lang]||D;L.push(X)}}var u=this,c=r.add(u);p=p.not(":button, :image, :reset, :submit");e.extend(u,{getConf:function(){return z},getForm:function(){return r},getInputs:function(){return p},invalidate:function(L,K){if(!K){var D=[];e.each(L,function(X,fa){X=p.filter("[name="+X+"]");if(X.length){X.trigger("OI",
[fa]);D.push({input:X,messages:[fa]})}});L=D;K=e.Event()}K.type="onFail";c.trigger(K,[L]);K.isDefaultPrevented()||G[z.effect][0].call(u,L,K);return u},reset:function(L){L=L||p;L.removeClass(z.errorClass).each(function(){var K=e(this).data("msg.el");if(K){K.remove();e(this).data("msg.el",null)}}).unbind(z.errorInputEvent||"");return u},destroy:function(){r.unbind(z.formEvent).unbind("reset.V");p.unbind(z.inputEvent||"").unbind("change.V");return u.reset()},checkValidity:function(L,K){L=L||p;L=L.not(":disabled");
if(!L.length)return true;K=K||e.Event();K.type="onBeforeValidate";c.trigger(K,[L]);if(K.isDefaultPrevented())return K.result;var D=[],X=z.errorInputEvent+".v";L.each(function(){var Q=[],aa=e(this).unbind(X).data("messages",Q);e.each(v,function(){var ka=this,xa=ka[0];if(aa.filter(xa).length){ka=ka[1].call(u,aa,aa.val());if(ka!==true){K.type="onBeforeFail";c.trigger(K,[aa,xa]);if(K.isDefaultPrevented())return false;var ja=aa.attr(z.messageAttr);if(ja){Q=[ja];return false}else O(Q,xa,ka)}}});if(Q.length){D.push({input:aa,
messages:Q});aa.trigger("OI",[Q]);z.errorInputEvent&&aa.bind(X,function(ka){u.checkValidity(aa,ka)})}if(z.singleError&&D.length)return false});var fa=G[z.effect];if(!fa)throw'Validator: cannot find effect "'+z.effect+'"';if(D.length){u.invalidate(D,K);return false}else{fa[1].call(u,L,K);K.type="onSuccess";c.trigger(K,[L]);L.unbind(X)}return true}});e.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(L,K){e.isFunction(z[K])&&e(u).bind(K,z[K]);u[K]=function(D){e(u).bind(K,D);
return u}});z.formEvent&&r.bind(z.formEvent,function(L){if(!u.checkValidity(null,L))return L.preventDefault()});r.bind("reset.V",function(){u.reset()});p[0]&&p[0].validity&&p.each(function(){this.oninvalid=function(){return false}});if(r[0])r[0].checkValidity=u.checkValidity;z.inputEvent&&p.bind(z.inputEvent,function(L){u.checkValidity(e(this),L)});p.filter(":checkbox, select").filter("[required]").bind("change.V",function(L){var K=e(this);if(this.checked||K.is("select")&&e(this).val())G[z.effect][1].call(u,
K,L)})}e.tools=e.tools||{version:"1.2.3"};var j=/\[type=([a-z]+)\]/,k=/^-?[0-9]*(\.[0-9]+)?$/,l=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,H=/^(https?:\/\/)?([\da-z\.\-]+)\.([a-z\.]{2,6})([\/\w \.\-]*)*\/?$/i,s;s=e.tools.validator={conf:{grouped:false,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:false,speed:"normal"},
messages:{"*":{en:"Please correct this value"}},localize:function(p,r){e.each(r,function(z,O){s.messages[z]=s.messages[z]||{};s.messages[z][p]=O})},localizeFn:function(p,r){s.messages[p]=s.messages[p]||{};e.extend(s.messages[p],r)},fn:function(p,r,z){if(e.isFunction(r))z=r;else{if(typeof r=="string")r={en:r};this.messages[p.key||p]=r}if(r=j.exec(p))p=B(r[1]);v.push([p,z])},addEffect:function(p,r,z){G[p]=[r,z]}};var v=[],G={"default":[function(p){var r=this.getConf();e.each(p,function(z,O){z=O.input;
z.addClass(r.errorClass);var u=z.data("msg.el");if(!u){u=e(r.message).addClass(r.messageClass).appendTo(document.body);z.data("msg.el",u)}u.css({visibility:"hidden"}).find("span").remove();e.each(O.messages,function(c,L){e("<span/>").html(L).appendTo(u)});u.outerWidth()==u.parent().width()&&u.add(u.find("p")).css({display:"inline"});O=q(z,u,r);u.css({visibility:"visible",position:"absolute",top:O.top,left:O.left}).fadeIn(r.speed)})},function(p){var r=this.getConf();p.removeClass(r.errorClass).each(function(){var z=
e(this).data("msg.el");z&&z.css({visibility:"hidden"})})}]};e.each("email,url,number".split(","),function(p,r){e.expr[":"][r]=function(z){return z.getAttribute("type")===r}});e.fn.oninvalid=function(p){return this[p?"bind":"trigger"]("OI",p)};s.fn(":email","Please enter a valid email address",function(p,r){return!r||l.test(r)});s.fn(":url","Please enter a valid URL",function(p,r){return!r||H.test(r)});s.fn(":number","Please enter a numeric value.",function(p,r){return k.test(r)});s.fn("[max]","Please enter a value smaller than $1",
function(p,r){if(e.tools.dateinput&&p.is(":date"))return true;p=p.attr("max");return parseFloat(r)<=parseFloat(p)?true:[p]});s.fn("[min]","Please enter a value larger than $1",function(p,r){if(e.tools.dateinput&&p.is(":date"))return true;p=p.attr("min");return parseFloat(r)>=parseFloat(p)?true:[p]});s.fn("[required]","Please complete this mandatory field.",function(p,r){if(p.is(":checkbox"))return p.is(":checked");return!!r});s.fn("[pattern]",function(p){return(new RegExp("^"+p.attr("pattern")+"$")).test(p.val())});
e.fn.validator=function(p){var r=this.data("validator");if(r){r.destroy();this.removeData("validator")}p=e.extend(true,{},s.conf,p);if(this.is("form"))return this.each(function(){var z=e(this);r=new w(z.find(":input"),z,p);z.data("validator",r)});else{r=new w(this,this.eq(0).closest("form"),p);return this.data("validator",r)}}})(jQuery);
var UserAction={scripts:[],add:function(e){this.scripts.push(e)},execute:function(){var e=this;$(function(){$("body").one("mousemove",function(){for(var q=0;q<e.scripts.length;q++)if(typeof e.scripts[q]=="string")$.getScript(e.scripts[q]);else typeof e.scripts[q]=="function"&&e.scripts[q]()})})}};
(function(e){var q=navigator.userAgent.toLowerCase(),B=q.search("mobile")>-1&&q.search("safari")>-1;e.fn.onVisible=function(w){var j={threshold:0,container:window,callback:false};if(typeof w!="function")e.extend(j,w);else j.callback=w;var k=this;this.each(function(){if(j.callback){var l=e(this);l.one("visible",function(){j.callback.call(l)})}});e(j.container).bind("scroll",function(){if(j.container===window)var l=e(window).height(),H=e(window).scrollTop();else{H=e(j.container).scrollTop();l=e(j.container).height()}var s=
H+(l+j.threshold);k.each(function(){(j.container===window?!B?e(this).offset().top:(H-e(this).offset().top)*-1:e(this).offset().top)<=s&&e(this).trigger("visible")})});e(j.container).trigger("scroll");return this}})(jQuery);
(function(e){e.fn.lazyImage=function(q){var B={errorImg:false,callback:false};q&&e.extend(B,q);return this.each(function(){var w=this;e("<img />").bind("load",function(){e(w).hide().attr("src",e(w).attr("longdesc")).fadeIn();B.callback&&B.callback.call(w)}).bind("error",function(){B.errorImg&&e(w).attr("src",B.errorImg)}).attr("src",e(w).attr("longdesc"))})}})(jQuery);
(function(e){var q={};e.fn.template=function(B,w){return this.html(e.template(B,w))};e.template=function B(w,j){w=!/\W/.test(w)?(q[w]=q[w]||B(document.getElementById(w).innerHTML)):new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+w.replace(/[\r\t\n]/g,"").split("[!").join("\t").replace(/((^|!\])[^\t]*)'/g,"$1\r").replace(/\t=(.*?)!\]/g,"',$1,'").split("\t").join("');").split("!]").join("p.push('").split("\r").join("\\'")+"');}return p.join('');");return j?
w(j):w}})(jQuery);var block_index=0,google_adnum=0,ad_arr=[],ad_arr_counter=0,google_bid,google_ad_type,google_max_num_ads,google_image_size,google_ad_client,google_ad_channel,google_ad_output,google_safe,google_encoding,google_ad_section,google_skip;
function print_google_ad(e,q,B,w){ad_arr[ad_arr_counter]={unique_id:e,css:"",num_ads:Number(q),type:B,bid:"cpc",category_title:"",safe:"high",display_order:e,channel:w};if(typeof class_name=="undefined")class_name="";if(typeof image_size=="string")ad_arr[ad_arr_counter].image_size=image_size;if(typeof ad_client=="string"){ad_arr[ad_arr_counter].ad_client=ad_client;delete ad_client}if(typeof ad_label=="string")ad_arr[ad_arr_counter].ad_label=ad_label;if(typeof page=="string")ad_arr[ad_arr_counter].page=
page;if(typeof search_query=="string")ad_arr[ad_arr_counter].search_query=search_query;if(typeof ad_keywords!="undefined")ad_arr[ad_arr_counter].keywords=ad_keywords;if(typeof kw_type=="string")ad_arr[ad_arr_counter].kw_type=kw_type;if(typeof hints=="string")ad_arr[ad_arr_counter].hints=hints;if(typeof contents=="string")ad_arr[ad_arr_counter].contents=contents;if(typeof google_rt=="string")ad_arr[ad_arr_counter].google_rt=google_rt;if(typeof google_page_url=="string")ad_arr[ad_arr_counter].google_page_url=
google_page_url;if(typeof studio_id=="string")ad_arr[ad_arr_counter].studio_id=studio_id;if(typeof content_id=="string")ad_arr[ad_arr_counter].content_id=content_id;ad_arr_counter++;document.write('<span name="KonaFilter"><div id="googlead_'+e+'" class="ad_block '+class_name+'"></div></span>')}
function google_radlink_request_done(e){var q=block_index;block_index++;block_index<ad_arr.length&&request_google_ads();if(!(e.length<=0)){var B=document.getElementById("googlead_"+ad_arr[q].unique_id),w=document.createElement("span");w.className="ads_by";w.innerHTML=typeof ad_arr[q].ad_label=="string"?ad_arr[q].ad_label+" Ads":"Related Ads";B.appendChild(w);w=e[0].line1;for(i=1;i<e.length;i++)w+=","+e[i].line1;var j=0;for(i=0;i<e.length;i++){var k=document.createElement("span");k.innerHTML+='<a href="/related-ads.php?term='+
e[j].url_escaped_term+"&channel="+ad_arr[q].channel+"&category="+ad_arr[q].category_title+"&links="+w+"&google_rt="+e[j].radlink_token+"&studio_id="+ad_arr[q].studio_id+"&content_id="+ad_arr[q].content_id+'" class="rad" onmouseover="window.status=\''+e[j].term+"'; return true;\" onmouseout=\"window.status=''; return true;\">"+e[j].line1+"</a>";B.appendChild(k);j++}if(e=document.getElementById("side_bar_content"))e.style.visibility="visible"}}
function google_ad_request_done(e){if(e.length!=0){var q=document.getElementById("googlead_"+ad_arr[block_index].unique_id),B=0;if(e[0].type=="image"){q.className=q.className.trim()+"_image";q.style.width=e[0].image_width+"px";var w=document.createElement("div");w.className="ad";w.innerHTML+='<a href="'+e[0].url+'" title="go to '+e[0].visible_url+'" target="_blank" ><img src="'+e[0].image_url+'" width="'+e[0].image_width+'" height="'+e[0].image_height+'" border="0" /></a>';q.appendChild(w)}else if(e[0].type==
"flash"){q.className=q.className.trim()+"_flash";q.style.width=e[0].image_width+"px";w=document.createElement("div");w.className="ad";w.innerHTML+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+e[0].image_width+'" HEIGHT="'+e[0].image_height+'"><PARAM NAME="movie" VALUE="'+e[0].image_url+'"><PARAM NAME="quality" VALUE="high"><PARAM NAME="AllowScriptAccess" VALUE="never"><EMBED src="'+
e[0].image_url+'" WIDTH="'+e[0].image_width+'" HEIGHT="'+e[0].image_height+'" TYPE="application/x-shockwave-flash" AllowScriptAccess="never"  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';q.appendChild(w)}else{q.className=q.className.trim()+" "+q.className.trim()+"_"+e.length;w=document.createElement("div");w.className="ads_by";w.innerHTML='<a href="'+google_info.feedback_url+'" target="_blank" rel="nofollow">Sponsored Links</a>';q.appendChild(w);for(i=0;i<e.length;i++){w=
document.createElement("div");w.url=e[B].url;w.className="ad ad"+(i+1);var j="";j+='<span class="line1"><a href="'+e[B].url+'" onmouseover="window.status=\'go to '+e[B].visible_url+'\'; return true;" target="_blank" onmouseout="window.status=\'\'; return true;" rel="nofollow" class="adsenseLink">'+e[B].line1+"</a></span> ";j+='<span class="line2">'+e[B].line2+"</span> ";j+='<span class="line3">'+e[B].line3+"</span> ";j+='<span class="url"><a href="'+e[B].url+'" onmouseover="window.status=\'go to '+
e[B].visible_url+'\'; return true;" target="_blank" onmouseout="window.status=\'\'; return true;" rel="nofollow" class="adsenseLink">'+e[B].visible_url+"</a></span> ";j+="";w.innerHTML=j;q.appendChild(w);B++}}google_adnum+=e.length}}
function google_afs_request_done(e){if(e.length!=0)for(var q=0,B=0;B<ad_arr.length;B++){var w=document.getElementById("googlead_"+ad_arr[B].unique_id);w.className=w.className.trim()+" "+w.className.trim()+"_"+e.length;var j=document.createElement("div");j.className="ads_by";j.innerHTML="Sponsored Links";w.appendChild(j);for(j=0;j<ad_arr[B].num_ads;j++){if(e[q]==undefined)break;var k=document.createElement("div");k.className="ad ad"+(j+1);k.url=e[q].url;var l="";l+='<a href="'+e[q].url+'" onmouseover="window.status=\'go to '+
e[q].visible_url+'\'; return true;" target="_blank" onmouseout="window.status=\'\'; return true;" rel="nofollow" class="adsenseLink">';l+='<span class="line1">'+e[q].line1+"</span> ";l+="</a>";l+='<span class="line2">'+e[q].line2+"</span> ";if(e[q].type=="text/narrow")l+='<span class="line3">'+e[q].line3+"</span> ";l+='<span class="url">'+e[q].visible_url+"</span> ";k.innerHTML=l;w.appendChild(k);q++}google_adnum+=e.length}}function sort_ads(e,q){return e.display_order-q.display_order}
function request_google_ads(){block_index==0&&ad_arr.sort(sort_ads);if(ad_arr[block_index]){if(ad_arr[block_index].ad_client)var e=ad_arr[block_index].ad_client;if(ad_arr[block_index].type=="radlinks"){document.write('<script type="text/javascript" language="JavaScript">');ad_arr[block_index].hints&&document.write('google_hints = "'+ad_arr[block_index].hints+'";');document.write('google_safe = "high";');document.write('google_ad_output = "js";');document.write('google_encoding = "utf8";');document.write('google_ad_section = "default";');
document.write('google_ad_client = "'+e+'";');document.write('google_max_num_ads = "0";');document.write("google_max_radlink_len = 27;");document.write('google_kw_type = "radlink";');document.write("google_num_radlinks = "+ad_arr[block_index].num_ads+";");document.write('google_ad_channel = "'+ad_arr[block_index].channel+'";');document.write("<\/script>");document.write('<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}else if(ad_arr[block_index].type==
"search"){var q=0;for(i=0;i<ad_arr.length;i++)q+=Number(ad_arr[i].num_ads);document.write('<script type="text/javascript" language="JavaScript">');document.write('google_afs_query = "'+ad_arr[block_index].search_query+'";');document.write('google_afs_adpage = "'+ad_arr[block_index].page+'";');document.write('google_afs_ad = "w'+q+'";');document.write('google_afs_client = "'+e+'";');document.write('google_afs_channel = "'+ad_arr[block_index].channel+'";');document.write('google_afs_adsafe = "high";');
document.write('google_afs_ie = "utf8";');document.write('google_afs_oe = "utf8";');document.write("<\/script>");document.write('<script language="JavaScript" src="http://www.google.com/afsonline/show_afs_ads.js"><\/script>')}else{document.write('<script type="text/javascript" language="JavaScript">');if(ad_arr[block_index].keywords){document.write('google_kw = "'+ad_arr[block_index].keywords+'";');ad_arr[block_index].kw_type?document.write('google_kw_type = "'+ad_arr[block_index].kw_type+'";'):document.write('google_kw_type = "broad";')}ad_arr[block_index].hints&&
document.write('google_hints = "'+ad_arr[block_index].hints+'";');ad_arr[block_index].contents&&document.write('google_contents = "'+ad_arr[block_index].contents+'";');if(ad_arr[block_index].google_rt){document.write("google_rt = '"+ad_arr[block_index].google_rt+"';");document.write("google_page_url = '"+ad_arr[block_index].google_page_url+"';");document.write('google_prev_ad_formats_by_region = "adlinks";')}document.write('google_safe = "high";');document.write('google_ad_output = "js";');document.write('google_encoding = "utf8";');
document.write('google_ad_section = "default";');document.write('google_ad_client = "'+e+'";');document.write("google_max_num_ads = "+ad_arr[block_index].num_ads+";");document.write('google_ad_type = "'+ad_arr[block_index].type+'";');document.write('google_ad_channel = "'+ad_arr[block_index].channel+'";');document.write('google_image_size = "'+ad_arr[block_index].image_size+'";');document.write("google_skip = google_adnum;");document.write("<\/script>");document.write('<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}}}
function html_entity_decode(e){var q=document.createElement("textarea");q.innerHTML=e;return q.value}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"")};
(function(){$(function(){$("#primaryNavgation li:eq(0)").tooltip({tip:"#nav-health",position:"bottom right",offset:[-1,-100],relative:true,predelay:100,effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});$("#primaryNavgation li:eq(1)").tooltip({tip:"#nav-fitness",position:"bottom right",offset:[-1,-150],relative:true,predelay:100,effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});$("#primaryNavgation li:eq(2)").tooltip({tip:"#nav-diet-nutrition",position:"bottom right",offset:[-1,-200],relative:true,predelay:100,
effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});$("#primaryNavgation li:eq(3)").tooltip({tip:"#nav-tools",position:"bottom right",offset:[-1,-300],relative:true,predelay:100,effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});$("#primaryNavgation li:eq(4)").tooltip({tip:"#nav-inspiration",position:"bottom right",offset:[-1,-101],relative:true,predelay:100,effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});$("#primaryNavgation li:eq(5)").tooltip({tip:"#nav-myplate",position:"bottom right",offset:[-1,-101],
relative:true,predelay:100,effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});$("#primaryNavgation li:eq(6)").tooltip({tip:"#nav-foundation",position:"bottom right",offset:[-1,-990],relative:true,predelay:100,effect:"fade",fadeInSpeed:400,fadeOutSpeed:100,onHide:function(){}})})})();
var Facebook=function(){function e(k,l){if(q)typeof k==="function"&&k();else{q=true;var H=document.getElementsByTagName("body")[0],s=document.createElement("script");s.src=(document.location.protocol==="https:"?"https://ssl.connect":"http://static.ak")+".facebook.com/js/api_lib/v0.4/FeatureLoader.js.php";s.onload=s.onreadystatechange=function(){typeof FB_RequireFeatures==="function"&&FB_RequireFeatures(["Connect"],function(){FB.Facebook.init(B,"/xd_receiver.html",l);j=FB.Facebook.apiClient;w=j.get_session();
typeof k==="function"&&k(w)})};H.insertBefore(s,H.firstChild)}}var q=false,B="",w,j;return{set_key:function(k){B=k},get_key:function(){return B},connect:function(k,l){e(function(H){FB_RequireFeatures(["Connect"],function(){FB.Connect.requireSession(function(){H=j.get_session();typeof k==="function"&&k(H)})})},l)},logout:function(k){e(function(){FB.Connect.logout(function(){typeof k==="function"&&k()})})},getUsers:function(k,l){e(function(){j.users_getInfo(k,["name","pic_square","email","is_app_user"],
function(H){typeof l==="function"&&l(H)})})},getFriends:function(k){Facebook.connect(function(){j.friends_get(null,function(l){Facebook.getUsers(l,function(H){typeof k==="function"&&k(H)})})})},publish:function(k){if(typeof k.user_message_prompt==="undefined")k.user_message_prompt="Share on Facebook:";e(function(){FB_RequireFeatures(["Connect"],function(){FB.Connect.get_status().waitUntilReady(function(){FB.Connect.streamPublish(k.user_message,k.attachment,k.action_links,k.target_id,k.user_message_prompt,
k.callback,k.auto_publish,k.actor_id)})})})},shareNumber:function(k,l){e(function(){FB.Facebook.apiClient.fql_query('SELECT share_count, like_count, comment_count, total_count FROM link_stat WHERE url="'+k+'"',function(H){typeof l==="function"&&l(H[0])})})},share:function(){var k=window.location.href;document.write('<a id="facebookShare"></a>');var l=document.getElementById("facebookShare");l.onclick=function(){window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(k)+"&t=asfdsaf")};
Facebook.shareNumber(k,function(H){l.innerHTML=H.total_count})},extendedPermissions:function(){Facebook.connect(function(){FB.Connect.showPermissionDialog("email")})}}}(),global_facebook_username,nl_opt_in_value="checked",tnc_agree_value="",email_value="";
function string_new_account(e){facebook_username=global_facebook_username;return['<div id="facebook_connect"> <h2 class="title">Last step...</h2>',e,' <div class="form_row">  <label for="facebook_username">Choose a LIVE<strong>STRONG</strong> username:</label>','  <input type="text" class="text" id="facebook_username" name="username" value="'+facebook_username+'" />',' </div> <div class="form_row">  <label for="facebook_email">Enter Email Address:</label>','  <input type="text" class="text" id="facebook_email" name="email" value="'+
email_value+'" />',' </div> <div class="form_row">  Already a LIVE<strong>STRONG</strong>.COM user?  <a href="#" onclick="$.facebox(string_link_account()); return false;">Link your Facebook account</a> </div> <div class="form_row flc">','  <input name="nl_opt_in" id="nl_opt_in" type="checkbox" '+nl_opt_in_value+' class="checkbox" />','  <p class="desc">Sign up to receive the weekly health and fitness newsletter.</p> </div> <div class="form_row flc">','  <input name="tnc_agree" id="tnc_agree" type="checkbox" '+
tnc_agree_value+' class="checkbox" />','  <p class="desc">I have read, understood and agree to the <a target="_blank" href="/privacy-policy/">Privacy Policy</a> and <br /><a target="_blank" href="/terms/">Terms & Conditions</a> of LIVE<strong>STRONG</strong>.COM</p> </div> <div class="form_row">  <input type="submit" value="submit" onclick="return checkUser(true);" class="button button_2" /> </div></div>'].join("")}
function string_link_account(e){facebook_username=global_facebook_username;return['<div id="facebook_connect"> <h2 class="title">Link your existing LIVESTRONG.COM account</h2>',e,' <div class="form_row">  <label for="facebook_username" style="width: 160px;">LIVE<strong>STRONG</strong> Username:</label>','  <input type="text" class="text" id="facebook_username" name="username" value="'+facebook_username+'" />',' </div> <div class="form_row">  <label for="facebook_password" style="width: 160px;">LIVE<strong>STRONG</strong> Password:</label>  <input type="password" class="text" id="new_password" name="new_password"/> </div> <div class="form_row">  Not a LIVE<strong>STRONG</strong>.COM member?   <a href="#" onclick="$.facebox(string_new_account()); return false;">Create a new account</a> </div> <div class="form_row">  <input type="submit" value="submit" onclick="return checkUser(false);" class="button button_2" /> </div></div>'].join("")}
function string_successful(e){return['<div id="facebook_connect">',' <h2 class="title">'+e+"</h2>","</div>"].join("")}
function checkUser(e){nl_opt_in_value=$("#nl_opt_in").attr("checked")==true?"checked":"";tnc_agree_value=$("#tnc_agree").attr("checked")==true?"checked":"";email_value=$("#facebook_email").val();global_facebook_username=$("#facebook_username").val();e={username:$("#facebook_username").val(),email:$("#facebook_email").val(),new_password:$("#new_password").val(),nl_opt_in:$("#nl_opt_in").attr("checked"),tnc_agree:$("#tnc_agree").attr("checked"),register:e?1:0,type:"facebook"};$.post("/ajax/validate_new_user/",
e,function(q){if(q.no_tnc_agree){var B=' <div class="form_row error">  <p>You are required to agree to our terms and conditions.</p> </div>';jQuery.facebox(string_new_account(B))}if(q.invalid_username){B=' <div class="form_row error">  <p>Invalid username.</p> </div>';jQuery.facebox(string_new_account(B))}if(q.bad_email_address){B=' <div class="form_row error">  <p>Invalid email address.</p> </div>';jQuery.facebox(string_new_account(B))}if(q.has_username){B=' <div class="form_row error">  <p>This username has already been taken</p> </div>';
jQuery.facebox(string_new_account(B))}if(q.blank_email){B=' <div class="form_row error">  <p>Email field cannot be blank</p> </div>';jQuery.facebox(string_new_account(B))}if(q.blank_username){B=' <div class="form_row error">  <p>Username field cannot be blank</p> </div>';jQuery.facebox(string_new_account(B))}if(q.has_email){B='<div id="facebook_connect"> <h2 class="title">This email address has already been associated to a LIVESTRONG account.</h2></div>';jQuery.facebox(B)}if(q.already_associated){B=
'<div id="facebook_connect"> <h2 class="title">This account has already been associated with a facebook user</h2></div>';jQuery.facebox(B)}if(q.register_success){message="Congratulations! You have successfully registered.";jQuery.facebox(string_successful(message));window.location="/extlogin/?type=facebook"}if(q.associated_success){message="Congratulations! Your LIVESTRONG account has been successfully linked with Facebook.";jQuery.facebox(string_successful(message));window.location="/extlogin/?type=facebook"}if(q.associated_success==
0){B=' <div class="form_row error">  <p>Invalid username/ password combination</p> </div>';jQuery.facebox(string_link_account(B))}},"json");return false}
function fb_init_connect(){Facebook.connect(function(){$.getJSON("/ajax/check_credentials/?type=facebook",function(e){if(e.has_account)FB.Connect.showPermissionDialog("publish_stream,email",function(){window.location="/extlogin/?type=facebook&referrer="+escape(window.location)});else{global_facebook_username=e.username;jQuery.facebox(string_new_account())}})},{permsToRequestOnConnect:"publish_stream,email"})}
$(document).ready(function(){$(".fb_login").click(function(){fb_init_connect();return false});$(".fb_logout").click(function(){Facebook.logout(function(){window.location="/logout/"});return false})});
var swfobject=function(){function e(){if(!va){try{var t=ba.getElementsByTagName("body")[0].appendChild(c("span"));t.parentNode.removeChild(t)}catch(A){return}va=true;t=ya.length;for(var M=0;M<t;M++)ya[M]()}}function q(t){if(va)t();else ya[ya.length]=t}function B(t){if(typeof ja.addEventListener!=Q)ja.addEventListener("load",t,false);else if(typeof ba.addEventListener!=Q)ba.addEventListener("load",t,false);else if(typeof ja.attachEvent!=Q)L(ja,"onload",t);else if(typeof ja.onload=="function"){var A=
ja.onload;ja.onload=function(){A();t()}}else ja.onload=t}function w(){wa?j():k()}function j(){var t=ba.getElementsByTagName("body")[0],A=c(aa);A.setAttribute("type",ka);var M=t.appendChild(A);if(M){var P=0;(function(){if(typeof M.GetVariable!=Q){var R=M.GetVariable("$version");if(R){R=R.split(" ")[1].split(",");S.pv=[parseInt(R[0],10),parseInt(R[1],10),parseInt(R[2],10)]}}else if(P<10){P++;setTimeout(arguments.callee,10);return}t.removeChild(A);M=null;k()})()}else k()}function k(){var t=qa.length;
if(t>0)for(var A=0;A<t;A++){var M=qa[A].id,P=qa[A].callbackFn,R={success:false,id:M};if(S.pv[0]>0){var Y=u(M);if(Y)if(K(qa[A].swfVersion)&&!(S.wk&&S.wk<312)){X(M,true);if(P){R.success=true;R.ref=l(M);P(R)}}else if(qa[A].expressInstall&&H()){R={};R.data=qa[A].expressInstall;R.width=Y.getAttribute("width")||"0";R.height=Y.getAttribute("height")||"0";if(Y.getAttribute("class"))R.styleclass=Y.getAttribute("class");if(Y.getAttribute("align"))R.align=Y.getAttribute("align");var Z={};Y=Y.getElementsByTagName("param");
for(var ga=Y.length,ia=0;ia<ga;ia++)if(Y[ia].getAttribute("name").toLowerCase()!="movie")Z[Y[ia].getAttribute("name")]=Y[ia].getAttribute("value");s(R,Z,M,P)}else{v(Y);P&&P(R)}}else{X(M,true);if(P){if((M=l(M))&&typeof M.SetVariable!=Q){R.success=true;R.ref=M}P(R)}}}}function l(t){var A=null;if((t=u(t))&&t.nodeName=="OBJECT")if(typeof t.SetVariable!=Q)A=t;else if(t=t.getElementsByTagName(aa)[0])A=t;return A}function H(){return!Ba&&K("6.0.65")&&(S.win||S.mac)&&!(S.wk&&S.wk<312)}function s(t,A,M,P){Ba=
true;Ka=P||null;La={success:false,id:M};var R=u(M);if(R){if(R.nodeName=="OBJECT"){Aa=G(R);ma=null}else{Aa=R;ma=M}t.id=xa;if(typeof t.width==Q||!/%$/.test(t.width)&&parseInt(t.width,10)<310)t.width="310";if(typeof t.height==Q||!/%$/.test(t.height)&&parseInt(t.height,10)<137)t.height="137";ba.title=ba.title.slice(0,47)+" - Flash Player Installation";P=S.ie&&S.win?"ActiveX":"PlugIn";P="MMredirectURL="+ja.location.toString().replace(/&/g,"%26")+"&MMplayerType="+P+"&MMdoctitle="+ba.title;if(typeof A.flashvars!=
Q)A.flashvars+="&"+P;else A.flashvars=P;if(S.ie&&S.win&&R.readyState!=4){P=c("div");M+="SWFObjectNew";P.setAttribute("id",M);R.parentNode.insertBefore(P,R);R.style.display="none";(function(){R.readyState==4?R.parentNode.removeChild(R):setTimeout(arguments.callee,10)})()}p(t,A,M)}}function v(t){if(S.ie&&S.win&&t.readyState!=4){var A=c("div");t.parentNode.insertBefore(A,t);A.parentNode.replaceChild(G(t),A);t.style.display="none";(function(){t.readyState==4?t.parentNode.removeChild(t):setTimeout(arguments.callee,
10)})()}else t.parentNode.replaceChild(G(t),t)}function G(t){var A=c("div");if(S.win&&S.ie)A.innerHTML=t.innerHTML;else if(t=t.getElementsByTagName(aa)[0])if(t=t.childNodes)for(var M=t.length,P=0;P<M;P++)!(t[P].nodeType==1&&t[P].nodeName=="PARAM")&&t[P].nodeType!=8&&A.appendChild(t[P].cloneNode(true));return A}function p(t,A,M){var P,R=u(M);if(S.wk&&S.wk<312)return P;if(R){if(typeof t.id==Q)t.id=M;if(S.ie&&S.win){var Y="";for(var Z in t)if(t[Z]!=Object.prototype[Z])if(Z.toLowerCase()=="data")A.movie=
t[Z];else if(Z.toLowerCase()=="styleclass")Y+=' class="'+t[Z]+'"';else if(Z.toLowerCase()!="classid")Y+=" "+Z+'="'+t[Z]+'"';Z="";for(var ga in A)if(A[ga]!=Object.prototype[ga])Z+='<param name="'+ga+'" value="'+A[ga]+'" />';R.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+Y+">"+Z+"</object>";za[za.length]=t.id;P=u(t.id)}else{ga=c(aa);ga.setAttribute("type",ka);for(Y in t)if(t[Y]!=Object.prototype[Y])if(Y.toLowerCase()=="styleclass")ga.setAttribute("class",t[Y]);else Y.toLowerCase()!=
"classid"&&ga.setAttribute(Y,t[Y]);for(var ia in A)A[ia]!=Object.prototype[ia]&&ia.toLowerCase()!="movie"&&r(ga,ia,A[ia]);R.parentNode.replaceChild(ga,R);P=ga}}return P}function r(t,A,M){var P=c("param");P.setAttribute("name",A);P.setAttribute("value",M);t.appendChild(P)}function z(t){var A=u(t);if(A&&A.nodeName=="OBJECT")if(S.ie&&S.win){A.style.display="none";(function(){A.readyState==4?O(t):setTimeout(arguments.callee,10)})()}else A.parentNode.removeChild(A)}function O(t){if(t=u(t)){for(var A in t)if(typeof t[A]==
"function")t[A]=null;t.parentNode.removeChild(t)}}function u(t){var A=null;try{A=ba.getElementById(t)}catch(M){}return A}function c(t){return ba.createElement(t)}function L(t,A,M){t.attachEvent(A,M);ra[ra.length]=[t,A,M]}function K(t){var A=S.pv;t=t.split(".");t[0]=parseInt(t[0],10);t[1]=parseInt(t[1],10)||0;t[2]=parseInt(t[2],10)||0;return A[0]>t[0]||A[0]==t[0]&&A[1]>t[1]||A[0]==t[0]&&A[1]==t[1]&&A[2]>=t[2]?true:false}function D(t,A,M,P){if(!(S.ie&&S.mac)){var R=ba.getElementsByTagName("head")[0];
if(R){M=M&&typeof M=="string"?M:"screen";if(P)Ma=sa=null;if(!sa||Ma!=M){P=c("style");P.setAttribute("type","text/css");P.setAttribute("media",M);sa=R.appendChild(P);if(S.ie&&S.win&&typeof ba.styleSheets!=Q&&ba.styleSheets.length>0)sa=ba.styleSheets[ba.styleSheets.length-1];Ma=M}if(S.ie&&S.win)sa&&typeof sa.addRule==aa&&sa.addRule(t,A);else sa&&typeof ba.createTextNode!=Q&&sa.appendChild(ba.createTextNode(t+" {"+A+"}"))}}}function X(t,A){if(Oa){A=A?"visible":"hidden";if(va&&u(t))u(t).style.visibility=
A;else D("#"+t,"visibility:"+A)}}function fa(t){return/[\\\"<>\.;]/.exec(t)!=null&&typeof encodeURIComponent!=Q?encodeURIComponent(t):t}var Q="undefined",aa="object",ka="application/x-shockwave-flash",xa="SWFObjectExprInst",ja=window,ba=document,la=navigator,wa=false,ya=[w],qa=[],za=[],ra=[],Aa,ma,Ka,La,va=false,Ba=false,sa,Ma,Oa=true,S=function(){var t=typeof ba.getElementById!=Q&&typeof ba.getElementsByTagName!=Q&&typeof ba.createElement!=Q,A=la.userAgent.toLowerCase(),M=la.platform.toLowerCase(),
P=M?/win/.test(M):/win/.test(A);M=M?/mac/.test(M):/mac/.test(A);A=/webkit/.test(A)?parseFloat(A.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var R=!+"\u000b1",Y=[0,0,0],Z=null;if(typeof la.plugins!=Q&&typeof la.plugins["Shockwave Flash"]==aa){if((Z=la.plugins["Shockwave Flash"].description)&&!(typeof la.mimeTypes!=Q&&la.mimeTypes[ka]&&!la.mimeTypes[ka].enabledPlugin)){wa=true;R=false;Z=Z.replace(/^.*\s+(\S+\s+\S+$)/,"$1");Y[0]=parseInt(Z.replace(/^(.*)\..*$/,"$1"),10);Y[1]=parseInt(Z.replace(/^.*\.(.*)\s.*$/,
"$1"),10);Y[2]=/[a-zA-Z]/.test(Z)?parseInt(Z.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof ja.ActiveXObject!=Q)try{var ga=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(ga)if(Z=ga.GetVariable("$version")){R=true;Z=Z.split(" ")[1].split(",");Y=[parseInt(Z[0],10),parseInt(Z[1],10),parseInt(Z[2],10)]}}catch(ia){}return{w3:t,pv:Y,wk:A,ie:R,win:P,mac:M}}();(function(){if(S.w3){if(typeof ba.readyState!=Q&&ba.readyState=="complete"||typeof ba.readyState==Q&&(ba.getElementsByTagName("body")[0]||
ba.body))e();if(!va){typeof ba.addEventListener!=Q&&ba.addEventListener("DOMContentLoaded",e,false);if(S.ie&&S.win){ba.attachEvent("onreadystatechange",function(){if(ba.readyState=="complete"){ba.detachEvent("onreadystatechange",arguments.callee);e()}});ja==top&&function(){if(!va){try{ba.documentElement.doScroll("left")}catch(t){setTimeout(arguments.callee,0);return}e()}}()}S.wk&&function(){va||(/loaded|complete/.test(ba.readyState)?e():setTimeout(arguments.callee,0))}();B(e)}}})();(function(){S.ie&&
S.win&&window.attachEvent("onunload",function(){for(var t=ra.length,A=0;A<t;A++)ra[A][0].detachEvent(ra[A][1],ra[A][2]);t=za.length;for(A=0;A<t;A++)z(za[A]);for(var M in S)S[M]=null;S=null;for(var P in swfobject)swfobject[P]=null;swfobject=null})})();return{registerObject:function(t,A,M,P){if(S.w3&&t&&A){var R={};R.id=t;R.swfVersion=A;R.expressInstall=M;R.callbackFn=P;qa[qa.length]=R;X(t,false)}else P&&P({success:false,id:t})},getObjectById:function(t){if(S.w3)return l(t)},embedSWF:function(t,A,M,
P,R,Y,Z,ga,ia,Ca){var Da={success:false,id:A};if(S.w3&&!(S.wk&&S.wk<312)&&t&&A&&M&&P&&R){X(A,false);q(function(){M+="";P+="";var ta={};if(ia&&typeof ia===aa)for(var ua in ia)ta[ua]=ia[ua];ta.data=t;ta.width=M;ta.height=P;ua={};if(ga&&typeof ga===aa)for(var Ha in ga)ua[Ha]=ga[Ha];if(Z&&typeof Z===aa)for(var Ia in Z)if(typeof ua.flashvars!=Q)ua.flashvars+="&"+Ia+"="+Z[Ia];else ua.flashvars=Ia+"="+Z[Ia];if(K(R)){Ha=p(ta,ua,A);ta.id==A&&X(A,true);Da.success=true;Da.ref=Ha}else if(Y&&H()){ta.data=Y;s(ta,
ua,A,Ca);return}else X(A,true);Ca&&Ca(Da)})}else Ca&&Ca(Da)},switchOffAutoHideShow:function(){Oa=false},ua:S,getFlashPlayerVersion:function(){return{major:S.pv[0],minor:S.pv[1],release:S.pv[2]}},hasFlashPlayerVersion:K,createSWF:function(t,A,M){if(S.w3)return p(t,A,M)},showExpressInstall:function(t,A,M,P){S.w3&&H()&&s(t,A,M,P)},removeSWF:function(t){S.w3&&z(t)},createCSS:function(t,A,M,P){S.w3&&D(t,A,M,P)},addDomLoadEvent:q,addLoadEvent:B,getQueryParamValue:function(t){var A=ba.location.search||ba.location.hash;
if(A){if(/\?/.test(A))A=A.split("?")[1];if(t==null)return fa(A);A=A.split("&");for(var M=0;M<A.length;M++)if(A[M].substring(0,A[M].indexOf("="))==t)return fa(A[M].substring(A[M].indexOf("=")+1))}return""},expressInstallCallback:function(){if(Ba){var t=u(xa);if(t&&Aa){t.parentNode.replaceChild(Aa,t);if(ma){X(ma,true);if(S.ie&&S.win)Aa.style.display="block"}Ka&&Ka(La)}Ba=false}}}}(),relatedArticles=function(){return{get:function(e,q){if(typeof q==="function"){if(typeof e=="object"){limit=e.l;e=e.t}else limit=
5;$.getJSON("/myplate/foods/related/articles/",{q:e,l:limit},function(B){B.status!="ok"&&B.result.length==0||q(B)})}}}}(),relatedAds=function(){return{get:function(e,q){if(typeof q==="function"){if(typeof e=="object"){e=e.t;limit=title.l}else limit=1;$.getJSON("/ajax/ads.php",{q:e,l:limit},function(B){B.status!="ok"&&B.result.length==0||q(B)})}}}}();
(function(e){e.fn.stronglinks=function(q){var B=e.extend({},e.fn.stronglinks.defaults,q);e("#strong_container").appendTo("body");e(this).each(function(){var w=this.innerHTML;e(this).addClass(B.tip_class);B.addToolTip(this,function(){e("#strong_container").html(e.template("stronger_template",{keyword:w}));B.getRelatedContent(w,B.maxArticles)})})};e.fn.stronglinks.defaults={addToolTip:function(q,B){e(q).tooltip({tip:"#strong_container",predelay:200,delay:400,onBeforeShow:B}).dynamic()},getRelatedContent:function(q,
B){relatedArticles.get(q,function(w){w.maxArticles=B;w=e.template("stronger_article_template",w);e(w).appendTo("#strong_container .content .articles")})},getRelatedAds:function(q,B){relatedAds.get(q,function(w){w.maxAds=B;w=e.template("stronger_ad_template",w);e(w).appendTo("#strong_container .content .ad")})},getBingResults:function(q){bingSearch.get(q,function(B){B.maxArticles=4;e(e.template("stronger_web_template",B)).appendTo("#strong_container .row2 .webresults");e(e.template("stronger_media_template",
B)).appendTo("#strong_container .row2 .mediaresults")})},url:null,tip_class:"strongerlink",maxArticles:2,maxAds:1}})(jQuery);$(document).ready(function(){$(".tooltip_enabled").tooltip();$(".tab_container").tabs(".tab_container > .pane",{tabs:"li"})});
$(document).ready(function(){var e=$(".site_search input:text.input");e.val()==""&&e.css("background",'url("/media/images/google_custom_search_watermark.gif") no-repeat scroll 10px center');e.bind("blur",function(){$(this).val()==""&&$(this).css("background",'url("/media/images/google_custom_search_watermark.gif") no-repeat scroll 10px center')}).bind("focus",function(){$(this).css("background",0)})});var site_search_tooltip;
(function(){$(function(){site_search_tooltip=$(".site_search_options").tooltip({tip:".site_search_option_values",position:"bottom middle",offset:[0,-100],relative:true,predelay:0,effect:"fade",fadeInSpeed:200,fadeOutSpeed:100});site_search_tooltip=$(".site_search_options").data("tooltip")})})();function select_option(e,q){$(".search_mode").val(e);$(".site_search_options").text(q);$("#search").focus();site_search_tooltip.hide()}
(function(e){function q(p){if(e.facebox.settings.inited)return true;else e.facebox.settings.inited=true;e(document).trigger("init.facebox");j();var r=e.facebox.settings.imageTypes.join("|");e.facebox.settings.imageTypesRegexp=new RegExp("."+r+"$","i");p&&e.extend(e.facebox.settings,p);e("body").append(e.facebox.settings.faceboxHtml);var z=[new Image,new Image];z[0].src=e.facebox.settings.closeImage;z[1].src=e.facebox.settings.loadingImage;e("#facebox").find(".b:first, .bl, .br, .tl, .tr").each(function(){z.push(new Image);
z.slice(-1).src=e(this).css("background-image").replace(/url\((.+)\)/,"$1")});e("#facebox .close").click(e.facebox.close);e("#facebox .close_image").attr("src",e.facebox.settings.closeImage)}function B(){var p,r;if(self.pageYOffset){r=self.pageYOffset;p=self.pageXOffset}else if(document.documentElement&&document.documentElement.scrollTop){r=document.documentElement.scrollTop;p=document.documentElement.scrollLeft}else if(document.body){r=document.body.scrollTop;p=document.body.scrollLeft}return new Array(p,
r)}function w(){var p;if(self.innerHeight)p=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)p=document.documentElement.clientHeight;else if(document.body)p=document.body.clientHeight;return p}function j(){var p=e.facebox.settings;p.loadingImage=p.loading_image||p.loadingImage;p.closeImage=p.close_image||p.closeImage;p.imageTypes=p.image_types||p.imageTypes;p.faceboxHtml=p.facebox_html||p.faceboxHtml}function k(p,r){if(p.match(/#/)){var z=window.location.href.split("#")[0];
p=p.replace(z,"");e.facebox.reveal(e(p).clone().show(),r)}else p.match(e.facebox.settings.imageTypesRegexp)?l(p,r):H(p,r)}function l(p,r){var z=new Image;z.onload=function(){e.facebox.reveal('<div class="image"><img src="'+z.src+'" /></div>',r)};z.src=p}function H(p,r){e.get(p,function(z){e.facebox.reveal(z,r)})}function s(){return e.facebox.settings.overlay==false||e.facebox.settings.opacity===null}function v(){if(!s()){e("facebox_overlay").length==0&&e("body").append('<div id="facebox_overlay" class="facebox_hide"></div>');
e("#facebox_overlay").hide().addClass("facebox_overlayBG").css("opacity",e.facebox.settings.opacity).click(function(){e(document).trigger("close.facebox")}).fadeIn(200);return false}}function G(){if(!s()){e("#facebox_overlay").fadeOut(200,function(){e("#facebox_overlay").removeClass("facebox_overlayBG");e("#facebox_overlay").addClass("facebox_hide");e("#facebox_overlay").remove()});return false}}e.facebox=function(p,r){e.facebox.loading();if(p.ajax)H(p.ajax);else if(p.image)l(p.image);else if(p.div)k(p.div);
else e.isFunction(p)?p.call(e):e.facebox.reveal(p,r)};e.extend(e.facebox,{settings:{opacity:0,overlay:true,loadingImage:"/media/js/facebox/loading.gif",closeImage:"/media/js/facebox/closelabel.gif",imageTypes:["png","jpg","jpeg","gif"],faceboxHtml:'    <div id="facebox" style="display:none;">       <div class="popup">         <table>           <tbody>             <tr>               <td class="tl"/><td class="b"/><td class="tr"/>             </tr>             <tr>               <td class="b"/>               <td class="body">                 <div class="content">                 </div>                 <div class="footer">                   <a href="#" class="close">                     <img src="/media/js/facebox/closelabel.gif" title="close" class="close_image" />                   </a>                 </div>               </td>               <td class="b"/>             </tr>             <tr>               <td class="bl"/><td class="b"/><td class="br"/>             </tr>           </tbody>         </table>       </div>     </div>'},
loading:function(){q();if(e("#facebox .loading").length==1)return true;v();e("#facebox .content").empty();e("#facebox .body").children().hide().end().append('<div class="loading"><img src="'+e.facebox.settings.loadingImage+'"/></div>');e("#facebox").css({top:B()[1]+w()/10,left:385.5}).show();e(document).bind("keydown.facebox",function(p){p.keyCode==27&&e.facebox.close();return true});e(document).trigger("loading.facebox")},reveal:function(p,r){e(document).trigger("beforeReveal.facebox");r&&e("#facebox .content").addClass(r);
e("#facebox .content").append(p);e("#facebox .loading").remove();e("#facebox .body").children().fadeIn("normal");e("#facebox").css("left",e(window).width()/2-e("#facebox table").width()/2);e(document).trigger("reveal.facebox").trigger("afterReveal.facebox")},close:function(){e(document).trigger("close.facebox");return false}});e.fn.facebox=function(p){function r(){e.facebox.loading(true);var z=this.rel.match(/facebox\[?\.(\w+)\]?/);if(z)z=z[1];k(this.href,z);return false}q(p);return this.click(r)};
e(document).bind("close.facebox",function(){e(document).unbind("keydown.facebox");e("#facebox").fadeOut(function(){e("#facebox .content").removeClass().addClass("content");G();e("#facebox .loading").remove()})})})(jQuery);
var SiteUiConfig={width:990,headerHeight:155},DartUtils={clickEnabled:true,callbacks:[],heightOffsetSelector:".main_content_top",backgroundSelector:".main_content",addTakeoverCallback:function(e){$.isFunction(e)&&DartUtils.callbacks.push(e)},takeover:function(e,q,B){$(function(){if(DartUtils.clickEnabled){$(".main_content").mouseup(function(){window.open(q)});$(".main_content > *").mouseup(function(){return false})}$("html").addClass("takeover");$(DartUtils.backgroundSelector).css("background-image",
"url("+e+")").css("background-position","center 0").css("background-repeat","no-repeat");if(B.height){var w=document.createElement("a");w.href=q;w.target="_blank";w.style.cursor="pointer";w.style.display="block";w.style.margin="0 auto";w.style.height=B.height+"px";w.style.width=SiteUiConfig.width+"px";$(DartUtils.heightOffsetSelector).prepend(w)}B.fixedBg&&$(DartUtils.backgroundSelector).css("background-attachment","fixed");B.bodyClass&&$(DartUtils.backgroundSelector).addClass(B.bodyClass);w=DartUtils.callbacks.length;
for(i=0;i<w;i++)DartUtils.callbacks[i].apply()})}};
