(function(g,l){function t(){if(!c.isReady){try{v.documentElement.doScroll("left")}catch(a){setTimeout(t,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 C(a,b,d,e,f,i){var j=a.length;if(typeof b==="object"){for(var p in b)C(a,p,b[p],e,f,d);return a}if(d!==l){e=!i&&e&&c.isFunction(d);for(p=0;p<j;p++)f(a[p],b,e?d.call(a[p],p,f(a[p],b)):d,i);return a}return j?
f(a[0],b):l}function D(){return(new Date).getTime()}function E(){return false}function z(){return true}function x(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function I(a){var b,d=[],e=[],f=arguments,i,j,p,m,q,u;j=c.data(this,"events");if(!(a.liveFired===this||!j||!j.live||a.button&&a.type==="click")){a.liveFired=this;var F=j.live.slice(0);for(m=0;m<F.length;m++){j=F[m];j.origType.replace(aa,"")===a.type?e.push(j.selector):F.splice(m--,1)}i=c(a.target).closest(e,a.currentTarget);q=0;for(u=
i.length;q<u;q++)for(m=0;m<F.length;m++){j=F[m];if(i[q].selector===j.selector){p=i[q].elem;e=null;if(j.preType==="mouseenter"||j.preType==="mouseleave")e=c(a.relatedTarget).closest(j.selector)[0];if(!e||e!==p)d.push({elem:p,handleObj:j})}}q=0;for(u=d.length;q<u;q++){i=d[q];a.currentTarget=i.elem;a.data=i.handleObj.data;a.handleObj=i.handleObj;if(i.handleObj.origHandler.apply(i.elem,f)===false){b=false;break}}return b}}function L(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function J(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,e);if(e=e&&e.events){delete f.handle;f.events={};for(var i in e)for(var j in e[i])c.event.add(this,i,e[i][j],e[i][j].data)}}})}function R(a,b,d){var e,f,i;b=b&&b[0]?b[0].ownerDocument||b[0]:v;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===v&&!wa.test(a[0])&&(c.support.checkClone||!xa.test(a[0]))){f=true;if(i=c.fragments[a[0]])if(i!==1)e=i}if(!e){e=b.createDocumentFragment();
c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=i?e:1;return{fragment:e,cacheable:f}}function N(a,b){var d={};c.each(ya.concat.apply([],ya.slice(0,b)),function(){d[this]=a});return d}function S(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)},W=g.jQuery,Sa=g.$,v=g.document,fa,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ba=navigator.userAgent,
za=false,ca=[],X,ja=Object.prototype.toString,ka=Object.prototype.hasOwnProperty,la=Array.prototype.push,da=Array.prototype.slice,Aa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,e,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=v;this[0]=v.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:v;if(e=Xa.exec(a))if(c.isPlainObject(b)){a=
[v.createElement(e[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(e[1])];else{e=R([d[1]],[f]);a=(e.cacheable?e.fragment.cloneNode(true):e.fragment).childNodes}return c.merge(this,a)}else{if(e=v.getElementById(d[2])){if(e.id!==d[2])return fa.find(a);this.length=1;this[0]=e}this.context=v;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=v;a=v.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||fa).find(a):c(b).find(a);else if(c.isFunction(a))return fa.ready(a);
if(a.selector!==l){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 da.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 e=c();c.isArray(a)?la.apply(e,a):c.merge(e,a);e.prevObject=this;e.context=this.context;if(b==="find")e.selector=this.selector+(this.selector?" ":"")+d;else if(b)e.selector=this.selector+
"."+b+"("+d+")";return e},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(v,c);else ca&&ca.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(da.apply(this,arguments),"slice",da.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:la,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,e=false,f,i,j,p;if(typeof a==="boolean"){e=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(i in f){j=a[i];p=f[i];if(a!==p)if(e&&p&&(c.isPlainObject(p)||c.isArray(p))){j=j&&(c.isPlainObject(j)||c.isArray(j))?j:c.isArray(p)?[]:{};a[i]=c.extend(e,j,p)}else if(p!==l)a[i]=
p}return a};c.extend({noConflict:function(a){g.$=Sa;if(a)g.jQuery=W;return c},isReady:false,ready:function(){if(!c.isReady){if(!v.body)return setTimeout(c.ready,13);c.isReady=true;if(ca){for(var a,b=0;a=ca[b++];)a.call(v,c);ca=null}c.fn.triggerHandler&&c(v).triggerHandler("ready")}},bindReady:function(){if(!za){za=true;if(v.readyState==="complete")return c.ready();if(v.addEventListener){v.addEventListener("DOMContentLoaded",X,false);g.addEventListener("load",c.ready,false)}else if(v.attachEvent){v.attachEvent("onreadystatechange",
X);g.attachEvent("onload",c.ready);var a=false;try{a=g.frameElement==null}catch(b){}v.documentElement.doScroll&&a&&t()}}},isFunction:function(a){return ja.call(a)==="[object Function]"},isArray:function(a){return ja.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ja.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ka.call(a,"constructor")&&!ka.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===l||ka.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 g.JSON&&g.JSON.parse?g.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&
Va.test(a)){var b=v.getElementsByTagName("head")[0]||v.documentElement,d=v.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(v.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 e,f=0,i=a.length,j=i===l||c.isFunction(a);if(d)if(j)for(e in a){if(b.apply(a[e],d)===false)break}else for(;f<i;){if(b.apply(a[f++],d)===false)break}else if(j)for(e in a){if(b.call(a[e],
e,a[e])===false)break}else for(d=a[0];f<i&&b.call(d,f,d)!==false;d=a[++f]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){var d=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?la.call(d,a):c.merge(d,a);return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,e=0;if(typeof b.length==="number")for(var f=
b.length;e<f;e++)a[d++]=b[e];else for(;b[e]!==l;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var e=[],f=0,i=a.length;f<i;f++)!d!==!b(a[f],f)&&e.push(a[f]);return e},map:function(a,b,d){for(var e=[],f,i=0,j=a.length;i<j;i++){f=b(a[i],i,d);if(f!=null)e[e.length]=f}return e.concat.apply([],e)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=l}else if(b&&!c.isFunction(b)){d=b;b=l}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:{}});ba=c.uaMatch(ba);if(ba.browser){c.browser[ba.browser]=true;c.browser.version=ba.version}if(c.browser.webkit)c.browser.safari=true;if(Aa)c.inArray=function(a,b){return Aa.call(b,a)};fa=c(v);
if(v.addEventListener)X=function(){v.removeEventListener("DOMContentLoaded",X,false);c.ready()};else if(v.attachEvent)X=function(){if(v.readyState==="complete"){v.detachEvent("onreadystatechange",X);c.ready()}};(function(){c.support={};var a=v.documentElement,b=v.createElement("script"),d=v.createElement("div"),e="script"+D();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("*"),
i=d.getElementsByTagName("a")[0];if(!(!f||!f.length||!i)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:v.createElement("select").appendChild(v.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(v.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(v.createTextNode("window."+e+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(g[e]){c.support.scriptEval=true;delete g[e]}try{delete b.test}catch(p){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function m(){c.support.noCloneEvent=
false;d.detachEvent("onclick",m)});d.cloneNode(true).fireEvent("onclick")}d=v.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=v.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var m=v.createElement("div");m.style.width=m.style.paddingLeft="1px";v.body.appendChild(m);c.boxModel=c.support.boxModel=m.offsetWidth===2;v.body.removeChild(m).style.display="none"});a=function(m){var q=
v.createElement("div");m="on"+m;var u=m in q;if(!u){q.setAttribute(m,"return;");u=typeof q[m]==="function"}return u};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=i=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var T="jQuery"+D(),Ya=0,Ba={};c.extend({cache:{},expando:T,noData:{embed:true,object:true,
applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==g?Ba:a;var e=a[T],f=c.cache;if(!e&&typeof b==="string"&&d===l)return null;e||(e=++Ya);if(typeof b==="object"){a[T]=e;f[e]=c.extend(true,{},b)}else if(!f[e]){a[T]=e;f[e]={}}a=f[e];if(d!==l)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==g?Ba:a;var d=a[T],e=c.cache,f=e[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 e[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===l){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===l&&this.length)e=c.data(this[0],a);return e===l&&d[1]?this.data(d[0]):e}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 e=c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===
l)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 Ca=/[\n\t]/g,ma=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,
cb=/^(a|area)$/i,Da=/radio|checkbox/;c.fn.extend({attr:function(a,b){return C(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(q){var u=c(this);u.addClass(a.call(this,q,u.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ma),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var i=" "+f.className+" ",
j=f.className,p=0,m=b.length;p<m;p++)if(i.indexOf(" "+b[p]+" ")<0)j+=" "+b[p];f.className=c.trim(j)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(m){var q=c(this);q.removeClass(a.call(this,m,q.attr("class")))});if(a&&typeof a==="string"||a===l)for(var b=(a||"").split(ma),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var i=(" "+f.className+" ").replace(Ca," "),j=0,p=b.length;j<p;j++)i=i.replace(" "+b[j]+" ",
" ");f.className=c.trim(i)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var i=c(this);i.toggleClass(a.call(this,f,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,i=0,j=c(this),p=b,m=a.split(ma);f=m[i++];){p=e?p:!j.hasClass(f);j[p?"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(Ca," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===l){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,e=[],f=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:f.length;i<d;i++){var j=
f[i];if(j.selected){a=c(j).val();if(b)return a;e.push(a)}}return e}if(Da.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return l}var p=c.isFunction(a);return this.each(function(m){var q=c(this),u=a;if(this.nodeType===1){if(p)u=a.call(this,m,q.val());if(typeof u==="number")u+="";if(c.isArray(u)&&Da.test(this.type))this.checked=c.inArray(q.val(),u)>=0;else if(c.nodeName(this,"select")){var F=c.makeArray(u);c("option",this).each(function(){this.selected=
c.inArray(c(this).val(),F)>=0});if(!F.length)this.selectedIndex=-1}else this.value=u}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return l;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==l;b=e&&c.props[b]||b;if(a.nodeType===1){var i=$a.test(b);if(b in a&&e&&!i){if(f){b==="type"&&ab.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:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:l;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&e&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?l:a}return c.style(a,b,d)}});var aa=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,
function(b){return"\\"+b})};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==g&&!a.frameElement)a=g;var f,i;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(i=c.data(a)){var j=i.events=i.events||{},p=i.handle;if(!p)i.handle=p=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(p.elem,arguments):l};p.elem=a;b=b.split(" ");for(var m,q=0,u;m=b[q++];){i=f?c.extend({},f):{handler:d,data:e};if(m.indexOf(".")>-1){u=m.split(".");
m=u.shift();i.namespace=u.slice(0).sort().join(".")}else{u=[];i.namespace=""}i.type=m;i.guid=d.guid;var F=j[m],H=c.event.special[m]||{};if(!F){F=j[m]=[];if(!H.setup||H.setup.call(a,e,u,p)===false)if(a.addEventListener)a.addEventListener(m,p,false);else a.attachEvent&&a.attachEvent("on"+m,p)}if(H.add){H.add.call(a,i);if(!i.handler.guid)i.handler.guid=d.guid}F.push(i);c.event.global[m]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){var f,i=0,j,p,m,q,u,F,H=c.data(a),
M=H&&H.events;if(H&&M){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in M)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[i++];){q=f;j=f.indexOf(".")<0;p=[];if(!j){p=f.split(".");f=p.shift();m=RegExp("(^|\\.)"+c.map(p.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(u=M[f])if(d){q=c.event.special[f]||{};for(K=e||0;K<u.length;K++){F=u[K];if(d.guid===F.guid){if(j||m.test(F.namespace)){e==null&&u.splice(K--,1);q.remove&&q.remove.call(a,F)}if(e!=
null)break}}if(u.length===0||e!=null&&u.length===1){if(!q.teardown||q.teardown.call(a,p)===false)Ea(a,f,H.handle);delete M[f]}}else for(var K=0;K<u.length;K++){F=u[K];if(j||m.test(F.namespace)){c.event.remove(a,q,F.handler,K);u.splice(K--,1)}}}if(c.isEmptyObject(M)){if(b=H.handle)b.elem=null;delete H.events;delete H.handle;c.isEmptyObject(H)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[T]?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 l;a.result=l;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=c.data(d,"handle"))&&e.apply(d,b);e=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(i){}if(!a.isPropagationStopped()&&
e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){e=a.target;var j,p=c.nodeName(e,"a")&&f==="click",m=c.event.special[f]||{};if((!m._default||m._default.call(d,a)===false)&&!p&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[f]){if(j=e["on"+f])e["on"+f]=null;c.event.triggered=true;e[f]()}}catch(q){}if(j)e["on"+f]=j;c.event.triggered=false}}},handle:function(a){var b,d,e,f;a=arguments[0]=c.event.fix(a||g.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;
if(!b){d=a.type.split(".");a.type=d.shift();e=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 i=d.length;f<i;f++){var j=d[f];if(b||e.test(j.namespace)){a.handler=j.handler;a.data=j.data;a.handleObj=j;j=j.handler.apply(this,arguments);if(j!==l){a.result=j;if(j===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[T])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||v;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=v.documentElement;d=v.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!==l)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:I}))},remove:function(a){var b=true,d=a.origType.replace(aa,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(aa,""))return b=false});b&&c.event.remove(this,a.origType,I)}},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 Ea=v.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=D();this[T]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=z;this.stopPropagation()},isDefaultPrevented:E,isPropagationStopped:E,
isImmediatePropagationStopped:E};var Fa=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){}},Ga=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?Ga:Fa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ga:Fa)}}});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 x("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 x("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var na=
/textarea|input|select/i,oa,Ha=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(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},pa=function(a,b){var d=a.target,e,f;if(!(!na.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=Ha(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===l||f===e))if(e!=null||
f){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:pa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return pa.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 pa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Ha(a))}},setup:function(){if(this.type===
"file")return false;for(var a in oa)c.event.add(this,a+".specialChange",oa[a]);return na.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return na.test(this.nodeName)}};oa=c.event.special.change.filters}v.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}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,e,f){if(typeof d==="object"){for(var i in d)this[b](i,e,d[i],f);return this}if(c.isFunction(e)){f=e;e=l}var j=b==="one"?c.proxy(f,function(m){c(this).unbind(m,j);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{i=0;for(var p=this.length;i<p;i++)c.event.add(this[i],d,j,e)}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 e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,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]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.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(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ia={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,i){var j,p=0,m,q,u=i||this.selector,F=i?this:c(this.context);if(c.isFunction(e)){f=e;e=l}for(d=
(d||"").split(" ");(j=d[p++])!=null;){i=aa.exec(j);m="";if(i){m=i[0];j=j.replace(aa,"")}if(j==="hover")d.push("mouseenter"+m,"mouseleave"+m);else{q=j;if(j==="focus"||j==="blur"){d.push(Ia[j]+m);j+=m}else j=(Ia[j]||j)+m;b==="live"?F.each(function(){c.event.add(this,L(j,u),{data:e,selector:u,handler:f,origType:j,origHandler:f,preType:q})}):F.unbind(L(j,u),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});g.attachEvent&&!g.addEventListener&&g.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 k="",n,o=0;h[o];o++){n=h[o];if(n.nodeType===3||n.nodeType===4)k+=n.nodeValue;else if(n.nodeType!==8)k+=a(n.childNodes)}return k}function b(h,k,n,o,s,r){s=0;for(var A=o.length;s<A;s++){var y=o[s];
if(y){y=y[h];for(var G=false;y;){if(y.sizcache===n){G=o[y.sizset];break}if(y.nodeType===1&&!r){y.sizcache=n;y.sizset=s}if(y.nodeName.toLowerCase()===k){G=y;break}y=y[h]}o[s]=G}}}function d(h,k,n,o,s,r){s=0;for(var A=o.length;s<A;s++){var y=o[s];if(y){y=y[h];for(var G=false;y;){if(y.sizcache===n){G=o[y.sizset];break}if(y.nodeType===1){if(!r){y.sizcache=n;y.sizset=s}if(typeof k!=="string"){if(y===k){G=true;break}}else if(m.filter(k,[y]).length>0){G=y;break}}y=y[h]}o[s]=G}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,i=Object.prototype.toString,j=false,p=true;[0,0].sort(function(){p=false;return 0});var m=function(h,k,n,o){n=n||[];var s=k=k||v;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!h||typeof h!=="string")return n;for(var r=[],A,y,G,ea,U=true,Y=B(k),V=h;(e.exec(""),A=e.exec(V))!==null;){V=A[3];r.push(A[1]);if(A[2]){ea=A[3];break}}if(r.length>1&&u.exec(h))if(r.length===2&&q.relative[r[0]])y=qa(r[0]+r[1],k);else for(y=q.relative[r[0]]?[k]:m(r.shift(),k);r.length;){h=r.shift();if(q.relative[h])h+=r.shift();
y=qa(h,y)}else{if(!o&&r.length>1&&k.nodeType===9&&!Y&&q.match.ID.test(r[0])&&!q.match.ID.test(r[r.length-1])){A=m.find(r.shift(),k,Y);k=A.expr?m.filter(A.expr,A.set)[0]:A.set[0]}if(k){A=o?{expr:r.pop(),set:H(o)}:m.find(r.pop(),r.length===1&&(r[0]==="~"||r[0]==="+")&&k.parentNode?k.parentNode:k,Y);y=A.expr?m.filter(A.expr,A.set):A.set;if(r.length>0)G=H(y);else U=false;for(;r.length;){var P=r.pop();A=P;if(q.relative[P])A=r.pop();else P="";if(A==null)A=k;q.relative[P](G,A,Y)}}else G=[]}G||(G=y);G||m.error(P||
h);if(i.call(G)==="[object Array]")if(U)if(k&&k.nodeType===1)for(h=0;G[h]!=null;h++){if(G[h]&&(G[h]===true||G[h].nodeType===1&&O(k,G[h])))n.push(y[h])}else for(h=0;G[h]!=null;h++)G[h]&&G[h].nodeType===1&&n.push(y[h]);else n.push.apply(n,G);else H(G,n);if(ea){m(ea,s,n,o);m.uniqueSort(n)}return n};m.uniqueSort=function(h){if(K){j=p;h.sort(K);if(j)for(var k=1;k<h.length;k++)h[k]===h[k-1]&&h.splice(k--,1)}return h};m.matches=function(h,k){return m(h,null,null,k)};m.find=function(h,k,n){var o,s;if(!h)return[];
for(var r=0,A=q.order.length;r<A;r++){var y=q.order[r];if(s=q.leftMatch[y].exec(h)){var G=s[1];s.splice(1,1);if(G.substr(G.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");o=q.find[y](s,k,n);if(o!=null){h=h.replace(q.match[y],"");break}}}}o||(o=k.getElementsByTagName("*"));return{set:o,expr:h}};m.filter=function(h,k,n,o){for(var s=h,r=[],A=k,y,G,ea=k&&k[0]&&B(k[0]);h&&k.length;){for(var U in q.filter)if((y=q.leftMatch[U].exec(h))!=null&&y[2]){var Y=q.filter[U],V,P;P=y[1];G=false;y.splice(1,1);
if(P.substr(P.length-1)!=="\\"){if(A===r)r=[];if(q.preFilter[U])if(y=q.preFilter[U](y,A,n,r,o,ea)){if(y===true)continue}else G=V=true;if(y)for(var ga=0;(P=A[ga])!=null;ga++)if(P){V=Y(P,y,ga,A);var Ja=o^!!V;if(n&&V!=null)if(Ja)G=true;else A[ga]=false;else if(Ja){r.push(P);G=true}}if(V!==l){n||(A=r);h=h.replace(q.match[U],"");if(!G)return[];break}}}if(h===s)if(G==null)m.error(h);else break;s=h}return A};m.error=function(h){throw"Syntax error, unrecognized expression: "+h;};var q=m.selectors={order:["ID",
"NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\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,k){var n=typeof k==="string",o=n&&!/\W/.test(k);n=n&&!o;if(o)k=k.toLowerCase();o=0;for(var s=h.length,r;o<s;o++)if(r=h[o]){for(;(r=r.previousSibling)&&r.nodeType!==1;);h[o]=n||r&&r.nodeName.toLowerCase()===k?r||false:r===k}n&&m.filter(k,h,true)},">":function(h,k){var n=typeof k==="string";if(n&&!/\W/.test(k)){k=k.toLowerCase();for(var o=0,s=h.length;o<s;o++){var r=h[o];if(r){n=r.parentNode;h[o]=
n.nodeName.toLowerCase()===k?n:false}}}else{o=0;for(s=h.length;o<s;o++)if(r=h[o])h[o]=n?r.parentNode:r.parentNode===k;n&&m.filter(k,h,true)}},"":function(h,k,n){var o=f++,s=d;if(typeof k==="string"&&!/\W/.test(k)){var r=k=k.toLowerCase();s=b}s("parentNode",k,o,h,r,n)},"~":function(h,k,n){var o=f++,s=d;if(typeof k==="string"&&!/\W/.test(k)){var r=k=k.toLowerCase();s=b}s("previousSibling",k,o,h,r,n)}},find:{ID:function(h,k,n){if(typeof k.getElementById!=="undefined"&&!n)return(h=k.getElementById(h[1]))?
[h]:[]},NAME:function(h,k){if(typeof k.getElementsByName!=="undefined"){for(var n=[],o=k.getElementsByName(h[1]),s=0,r=o.length;s<r;s++)o[s].getAttribute("name")===h[1]&&n.push(o[s]);return n.length===0?null:n}},TAG:function(h,k){return k.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,k,n,o,s,r){h=" "+h[1].replace(/\\/g,"")+" ";if(r)return h;r=0;for(var A;(A=k[r])!=null;r++)if(A)if(s^(A.className&&(" "+A.className+" ").replace(/[\t\n]/g," ").indexOf(h)>=0))n||o.push(A);else if(n)k[r]=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 k=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=k[1]+(k[2]||1)-0;h[3]=k[3]-0}h[0]=f++;return h},ATTR:function(h,k,n,o,s,r){k=h[1].replace(/\\/g,"");if(!r&&q.attrMap[k])h[1]=q.attrMap[k];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,k,n,o,s){if(h[1]==="not")if((e.exec(h[3])||
"").length>1||/^\w/.test(h[3]))h[3]=m(h[3],null,null,k);else{h=m.filter(h[3],k,n,true^s);n||o.push.apply(o,h);return false}else if(q.match.POS.test(h[0])||q.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,k,n){return!!m(n[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,k){return k===0},last:function(h,k,n,o){return k===o.length-1},even:function(h,k){return k%2===0},odd:function(h,k){return k%2===1},lt:function(h,k,n){return k<n[3]-0},gt:function(h,k,n){return k>n[3]-0},nth:function(h,k,n){return n[3]-0===k},eq:function(h,k,n){return n[3]-0===k}},filter:{PSEUDO:function(h,k,n,o){var s=k[1],r=q.filters[s];if(r)return r(h,n,k,o);else if(s==="contains")return(h.textContent||
h.innerText||a([h])||"").indexOf(k[3])>=0;else if(s==="not"){k=k[3];n=0;for(o=k.length;n<o;n++)if(k[n]===h)return false;return true}else m.error("Syntax error, unrecognized expression: "+s)},CHILD:function(h,k){var n=k[1],o=h;switch(n){case "only":case "first":for(;o=o.previousSibling;)if(o.nodeType===1)return false;if(n==="first")return true;o=h;case "last":for(;o=o.nextSibling;)if(o.nodeType===1)return false;return true;case "nth":n=k[2];var s=k[3];if(n===1&&s===0)return true;var r=k[0],A=h.parentNode;
if(A&&(A.sizcache!==r||!h.nodeIndex)){var y=0;for(o=A.firstChild;o;o=o.nextSibling)if(o.nodeType===1)o.nodeIndex=++y;A.sizcache=r}o=h.nodeIndex-s;return n===0?o===0:o%n===0&&o/n>=0}},ID:function(h,k){return h.nodeType===1&&h.getAttribute("id")===k},TAG:function(h,k){return k==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===k},CLASS:function(h,k){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(h,k){var n=k[1];n=q.attrHandle[n]?q.attrHandle[n](h):h[n]!=null?h[n]:
h.getAttribute(n);var o=n+"",s=k[2],r=k[4];return n==null?s==="!=":s==="="?o===r:s==="*="?o.indexOf(r)>=0:s==="~="?(" "+o+" ").indexOf(r)>=0:!r?o&&n!==false:s==="!="?o!==r:s==="^="?o.indexOf(r)===0:s==="$="?o.substr(o.length-r.length)===r:s==="|="?o===r||o.substr(0,r.length+1)===r+"-":false},POS:function(h,k,n,o){var s=q.setFilters[k[2]];if(s)return s(h,n,k,o)}}},u=q.match.POS;for(var F in q.match){q.match[F]=RegExp(q.match[F].source+/(?![^\[]*\])(?![^\(]*\))/.source);q.leftMatch[F]=RegExp(/(^(?:.|\r|\n)*?)/.source+
q.match[F].source.replace(/\\(\d+)/g,function(h,k){return"\\"+(k-0+1)}))}var H=function(h,k){h=Array.prototype.slice.call(h,0);if(k){k.push.apply(k,h);return k}return h};try{Array.prototype.slice.call(v.documentElement.childNodes,0)}catch(M){H=function(h,k){var n=k||[];if(i.call(h)==="[object Array]")Array.prototype.push.apply(n,h);else if(typeof h.length==="number")for(var o=0,s=h.length;o<s;o++)n.push(h[o]);else for(o=0;h[o];o++)n.push(h[o]);return n}}var K;if(v.documentElement.compareDocumentPosition)K=
function(h,k){if(!h.compareDocumentPosition||!k.compareDocumentPosition){if(h==k)j=true;return h.compareDocumentPosition?-1:1}var n=h.compareDocumentPosition(k)&4?-1:h===k?0:1;if(n===0)j=true;return n};else if("sourceIndex"in v.documentElement)K=function(h,k){if(!h.sourceIndex||!k.sourceIndex){if(h==k)j=true;return h.sourceIndex?-1:1}var n=h.sourceIndex-k.sourceIndex;if(n===0)j=true;return n};else if(v.createRange)K=function(h,k){if(!h.ownerDocument||!k.ownerDocument){if(h==k)j=true;return h.ownerDocument?
-1:1}var n=h.ownerDocument.createRange(),o=k.ownerDocument.createRange();n.setStart(h,0);n.setEnd(h,0);o.setStart(k,0);o.setEnd(k,0);n=n.compareBoundaryPoints(Range.START_TO_END,o);if(n===0)j=true;return n};(function(){var h=v.createElement("div"),k="script"+(new Date).getTime();h.innerHTML="<a name='"+k+"'/>";var n=v.documentElement;n.insertBefore(h,n.firstChild);if(v.getElementById(k)){q.find.ID=function(o,s,r){if(typeof s.getElementById!=="undefined"&&!r)return(s=s.getElementById(o[1]))?s.id===
o[1]||typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id").nodeValue===o[1]?[s]:l:[]};q.filter.ID=function(o,s){var r=typeof o.getAttributeNode!=="undefined"&&o.getAttributeNode("id");return o.nodeType===1&&r&&r.nodeValue===s}}n.removeChild(h);n=h=null})();(function(){var h=v.createElement("div");h.appendChild(v.createComment(""));if(h.getElementsByTagName("*").length>0)q.find.TAG=function(k,n){var o=n.getElementsByTagName(k[1]);if(k[1]==="*"){for(var s=[],r=0;o[r];r++)o[r].nodeType===
1&&s.push(o[r]);o=s}return o};h.innerHTML="<a href='#'></a>";if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")q.attrHandle.href=function(k){return k.getAttribute("href",2)};h=null})();v.querySelectorAll&&function(){var h=m,k=v.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===0)){m=function(o,s,r,A){s=s||v;if(!A&&s.nodeType===9&&!B(s))try{return H(s.querySelectorAll(o),r)}catch(y){}return h(o,
s,r,A)};for(var n in h)m[n]=h[n];k=null}}();(function(){var h=v.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){q.order.splice(1,0,"CLASS");q.find.CLASS=function(k,n,o){if(typeof n.getElementsByClassName!=="undefined"&&!o)return n.getElementsByClassName(k[1])};h=null}}})();var O=v.compareDocumentPosition?function(h,
k){return!!(h.compareDocumentPosition(k)&16)}:function(h,k){return h!==k&&(h.contains?h.contains(k):true)},B=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false},qa=function(h,k){for(var n=[],o="",s,r=k.nodeType?[k]:k;s=q.match.PSEUDO.exec(h);){o+=s[0];h=h.replace(q.match.PSEUDO,"")}h=q.relative[h]?h+"*":h;s=0;for(var A=r.length;s<A;s++)m(h,r[s],n);return m.filter(o,n)};c.find=m;c.expr=m.selectors;c.expr[":"]=c.expr.filters;c.unique=m.uniqueSort;c.text=a;c.isXMLDoc=
B;c.contains=O})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,hb=/,/;da=Array.prototype.slice;var Ka=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,i){return!!b.call(f,i,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Ua.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}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,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var i=d;i<b.length;i++)for(var j=0;j<d;j++)if(b[j]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ka(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ka(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=[],e=this[0],f,i={},j;if(e&&a.length){f=0;for(var p=a.length;f<p;f++){j=a[f];i[j]||(i[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;e&&e.ownerDocument&&e!==b;){for(j in i){f=i[j];if(f.jquery?f.index(e)>-1:c(e).is(f)){d.push({selector:j,elem:e});delete i[j]}}e=e.parentNode}}return d}var m=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(q,u){for(;u&&u.ownerDocument&&u!==b;){if(m?m.index(u)>-1:c(u).is(a))return u;
u=u.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){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},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,e){var f=c.map(this,b,d);fb.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||hb.test(e))&&gb.test(a))f=f.reverse();return this.pushStack(f,a,da.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 e=[];for(a=a[b];a&&a.nodeType!==9&&(d===l||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===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 La=/ jQuery\d+="(?:\d+|null)"/g,ha=/^\s+/,Ma=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Na=/<([\w:]+)/,jb=/<tbody/i,kb=/<|&#?\w+;/,
wa=/<script|<object|<embed|<option|<style/i,xa=/checked\s*(?:[^=]|=\s*.checked.)/i,Oa=function(a,b,d){return ib.test(d)?a:b+"></"+d+">"},Q={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,"",""]};Q.optgroup=Q.option;Q.tbody=Q.tfoot=
Q.colgroup=Q.caption=Q.thead;Q.th=Q.td;if(!c.support.htmlSerialize)Q._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!==l)return this.empty().append((this[0]&&this[0].ownerDocument||v).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,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&
e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&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,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(La,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ha,
"")],e)[0]}else return this.cloneNode(true)});if(a===true){J(this,b);J(this.find("*"),b.find("*"))}return b},html:function(a){if(a===l)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(La,""):null;else if(typeof a==="string"&&!wa.test(a)&&(c.support.leadingWhitespace||!ha.test(a))&&!Q[(Na.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ma,Oa);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(e){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(f){var i=c(this),j=i.html();i.empty().append(function(){return a.call(this,f,j)})}):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),e=d.html();d.replaceWith(a.call(this,b,e))});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){var e,f,i=a[0],j=[],p;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&xa.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(q){var u=c(this);a[0]=i.call(this,q,b?u.html():l);u.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:R(a,this,
j);p=e.fragment;if(f=p.childNodes.length===1?p=p.firstChild:p.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var m=this.length;f<m;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],f>0||e.cacheable||this.length>1?p.cloneNode(true):p)}j.length&&c.each(j,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 e=[];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 i=d.length;f<i;f++){var j=(f>0?this.clone(true):this).get();c.fn[b].apply(c(d[f]),j);e=e.concat(j)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||v;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||v;for(var f=[],i=0,j;(j=a[i])!=null;i++){if(typeof j===
"number")j+="";if(j){if(typeof j==="string"&&!kb.test(j))j=b.createTextNode(j);else if(typeof j==="string"){j=j.replace(Ma,Oa);var p=(Na.exec(j)||["",""])[1].toLowerCase(),m=Q[p]||Q._default,q=m[0],u=b.createElement("div");for(u.innerHTML=m[1]+j+m[2];q--;)u=u.lastChild;if(!c.support.tbody){q=jb.test(j);p=p==="table"&&!q?u.firstChild&&u.firstChild.childNodes:m[1]==="<table>"&&!q?u.childNodes:[];for(m=p.length-1;m>=0;--m)c.nodeName(p[m],"tbody")&&!p[m].childNodes.length&&p[m].parentNode.removeChild(p[m])}!c.support.leadingWhitespace&&
ha.test(j)&&u.insertBefore(b.createTextNode(ha.exec(j)[0]),u.firstChild);j=u.childNodes}if(j.nodeType)f.push(j);else f=c.merge(f,j)}}if(d)for(i=0;f[i];i++)if(e&&c.nodeName(f[i],"script")&&(!f[i].type||f[i].type.toLowerCase()==="text/javascript"))e.push(f[i].parentNode?f[i].parentNode.removeChild(f[i]):f[i]);else{f[i].nodeType===1&&f.splice.apply(f,[i+1,0].concat(c.makeArray(f[i].getElementsByTagName("script"))));d.appendChild(f[i])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,
i=c.support.deleteExpando,j=0,p;(p=a[j])!=null;j++)if(d=p[c.expando]){b=e[d];if(b.events)for(var m in b.events)f[m]?c.event.remove(p,m):Ea(p,m,b.handle);if(i)delete p[c.expando];else p.removeAttribute&&p.removeAttribute(c.expando);delete e[d]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Pa=/alpha\([^)]*\)/,Qa=/opacity=([^)]*)/,ra=/float/i,sa=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],
rb=["Top","Bottom"],sb=v.defaultView&&v.defaultView.getComputedStyle,Ra=c.support.cssFloat?"cssFloat":"styleFloat",ta=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return C(this,a,b,true,function(d,e,f){if(f===l)return c.curCSS(d,e);if(typeof f==="number"&&!lb.test(e))f+="px";c.style(d,e,f)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return l;if((b==="width"||b==="height")&&parseFloat(d)<0)d=l;var e=a.style||a,f=d!==l;if(!c.support.opacity&&b==="opacity"){if(f){e.zoom=
1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=e.filter||c.curCSS(a,"filter")||"";e.filter=Pa.test(a)?a.replace(Pa,b):b}return e.filter&&e.filter.indexOf("opacity=")>=0?parseFloat(Qa.exec(e.filter)[1])/100+"":""}if(ra.test(b))b=Ra;b=b.replace(sa,ta);if(f)e[b]=d;return e[b]},css:function(a,b,d,e){if(b==="width"||b==="height"){var f,i=b==="width"?qb:rb;d=function(){f=b==="width"?a.offsetWidth:a.offsetHeight;e!=="border"&&c.each(i,function(){e||(f-=parseFloat(c.curCSS(a,"padding"+this,
true))||0);if(e==="margin")f+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else f-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,pb,d);return Math.max(0,Math.round(f))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var e,f=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){e=Qa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return e===""?"1":e}if(ra.test(b))b=Ra;if(!d&&f&&f[b])e=f[b];else if(sb){if(ra.test(b))b="float";b=b.replace(mb,
"-$1").toLowerCase();f=a.ownerDocument.defaultView;if(!f)return null;if(a=f.getComputedStyle(a,null))e=a.getPropertyValue(b);if(b==="opacity"&&e==="")e="1"}else if(a.currentStyle){d=b.replace(sa,ta);e=a.currentStyle[b]||a.currentStyle[d];if(!nb.test(e)&&ob.test(e)){b=f.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=d==="fontSize"?"1em":e||0;e=f.pixelLeft+"px";f.left=b;a.runtimeStyle.left=i}}return e},swap:function(a,b,d){var e={};for(var f in b){e[f]=a.style[f];a.style[f]=
b[f]}d.call(a);for(f in b)a.style[f]=e[f]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,e=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!e?true:b>0&&d>0&&!e?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var tb=D(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Z=/=\?(&|$)/,ua=
/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return Ab.call(this,a);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var i=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(j,p){if(p==="success"||p==="notmodified")i.html(f?
c("<div />").append(j.responseText.replace(ub,"")).find(f):j.responseText);d&&i.each(d,[j.responseText,p,j])}});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||vb.test(this.nodeName)||wb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,
value:e}}):{name:b.name,value:d}}).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,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},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,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",
url:a,data:b,success:d,dataType:e})},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:g.XMLHttpRequest&&(g.location.protocol!=="file:"||!g.ActiveXObject)?function(){return new g.XMLHttpRequest}:function(){try{return new g.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(m,p,j,B);f.global&&e("ajaxSuccess",[B,f])}function d(){f.complete&&f.complete.call(m,B,j);f.global&&e("ajaxComplete",[B,f]);f.global&&!--c.active&&c.event.trigger("ajaxStop")}function e(s,r){(f.context?c(f.context):c.event).trigger(s,r)}var f=c.extend(true,{},c.ajaxSettings,a),i,j,p,m=a&&a.context||f,q=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(q==="GET")Z.test(f.url)||(f.url+=(ua.test(f.url)?"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!Z.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&Z.test(f.data)||Z.test(f.url))){i=f.jsonpCallback||"jsonp"+tb++;if(f.data)f.data=(f.data+"").replace(Z,"="+i+"$1");f.url=f.url.replace(Z,"="+i+"$1");f.dataType="script";g[i]=g[i]||function(s){p=
s;b();d();g[i]=l;try{delete g[i]}catch(r){}H&&H.removeChild(M)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===false&&q==="GET"){var u=D(),F=f.url.replace(xb,"$1_="+u+"$2");f.url=F+(F===f.url?(ua.test(f.url)?"&":"?")+"_="+u:"")}if(f.data&&q==="GET")f.url+=(ua.test(f.url)?"&":"?")+f.data;f.global&&!c.active++&&c.event.trigger("ajaxStart");u=(u=yb.exec(f.url))&&(u[1]&&u[1]!==location.protocol||u[2]!==location.host);if(f.dataType==="script"&&q==="GET"&&u){var H=v.getElementsByTagName("head")[0]||
v.documentElement,M=v.createElement("script");M.src=f.url;if(f.scriptCharset)M.charset=f.scriptCharset;if(!i){var K=false;M.onload=M.onreadystatechange=function(){if(!K&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){K=true;b();d();M.onload=M.onreadystatechange=null;H&&M.parentNode&&H.removeChild(M)}}}H.insertBefore(M,H.firstChild);return l}var O=false,B=f.xhr();if(B){f.username?B.open(q,f.url,f.async,f.username,f.password):B.open(q,f.url,f.async);try{if(f.data||a&&
a.contentType)B.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){c.lastModified[f.url]&&B.setRequestHeader("If-Modified-Since",c.lastModified[f.url]);c.etag[f.url]&&B.setRequestHeader("If-None-Match",c.etag[f.url])}u||B.setRequestHeader("X-Requested-With","XMLHttpRequest");B.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":f.accepts._default)}catch(qa){}if(f.beforeSend&&f.beforeSend.call(m,B,f)===false){f.global&&!--c.active&&c.event.trigger("ajaxStop");
B.abort();return false}f.global&&e("ajaxSend",[B,f]);var h=B.onreadystatechange=function(s){if(!B||B.readyState===0||s==="abort"){O||d();O=true;if(B)B.onreadystatechange=c.noop}else if(!O&&B&&(B.readyState===4||s==="timeout")){O=true;B.onreadystatechange=c.noop;j=s==="timeout"?"timeout":!c.httpSuccess(B)?"error":f.ifModified&&c.httpNotModified(B,f.url)?"notmodified":"success";var r;if(j==="success")try{p=c.httpData(B,f.dataType,f)}catch(A){j="parsererror";r=A}if(j==="success"||j==="notmodified")i||
b();else c.handleError(f,B,j,r);d();s==="timeout"&&B.abort();if(f.async)B=null}};try{var k=B.abort;B.abort=function(){B&&k.call(B);h("abort")}}catch(n){}f.async&&f.timeout>0&&setTimeout(function(){B&&!O&&h("timeout")},f.timeout);try{B.send(q==="POST"||q==="PUT"||q==="DELETE"?f.data:null)}catch(o){c.handleError(f,B,null,o);d()}f.async||h();return B}},handleError:function(a,b,d,e){if(a.error)a.error.call(a.context||a,b,d,e);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,e])},
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"),e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304||a.status===0},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.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&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(j,p){if(c.isArray(p))c.each(p,function(m,q){b||/\[\]$/.test(j)?e(j,q):d(j+"["+(typeof q==="object"||c.isArray(q)?m:"")+"]",q)});else!b&&p!=null&&typeof p==="object"?c.each(p,function(m,q){d(j+"["+m+"]",
q)}):e(j,p)}function e(j,p){p=c.isFunction(p)?p():p;f[f.length]=encodeURIComponent(j)+"="+encodeURIComponent(p)}var f=[];if(b===l)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var i in a)d(i,a[i]);return f.join("&").replace(zb,"+")}});var va={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,ia,ya=[["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(N("show",3),a,b);else{for(var d=0,e=this.length;d<e;d++){var f=c.data(this[d],"olddisplay");this[d].style.display=f||"";if(c.css(this[d],"display")==="none"){f=this[d].nodeName;var i;if(va[f])i=va[f];else{var j=c("<"+f+" />").appendTo("body");i=j.css("display");if(i==="none")i="block";j.remove();va[f]=i}c.data(this[d],"olddisplay",i)}}d=0;for(e=this.length;d<e;d++)this[d].style.display=c.data(this[d],"olddisplay")||"";return this}},
hide:function(a,b){if(a||a===0)return this.animate(N("hide",3),a,b);else{for(var d=0,e=this.length;d<e;d++){var f=c.data(this[d],"olddisplay");!f&&f!=="none"&&c.data(this[d],"olddisplay",c.css(this[d],"display"))}d=0;for(e=this.length;d<e;d++)this[d].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 e=d?a:c(this).is(":hidden");c(this)[e?
"show":"hide"]()}):this.animate(N("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,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var i=c.extend({},f),j,p=this.nodeType===1&&c(this).is(":hidden"),m=this;for(j in a){var q=j.replace(sa,ta);if(j!==q){a[q]=a[j];delete a[j];j=q}if(a[j]==="hide"&&p||a[j]==="show"&&
!p)return i.complete.call(this);if((j==="height"||j==="width")&&this.style){i.display=c.css(this,"display");i.overflow=this.style.overflow}if(c.isArray(a[j])){(i.specialEasing=i.specialEasing||{})[j]=a[j][1];a[j]=a[j][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=c.extend({},a);c.each(a,function(u,F){var H=new c.fx(m,i,u);if(Bb.test(F))H[F==="toggle"?p?"show":"hide":F](a);else{var M=Cb.exec(F),K=H.cur(true)||0;if(M){var O=parseFloat(M[2]),B=M[3]||"px";if(B!=="px"){m.style[u]=(O||
1)+B;K=(O||1)/H.cur(true)*K;m.style[u]=K+B}if(M[1])O=(M[1]==="-="?-1:1)*O+K;H.custom(K,O,B)}else H.custom(K,F,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:N("show",1),slideUp:N("hide",1),slideToggle:N("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e){return this.animate(b,
d,e)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:c.fx.speeds[e.duration]||c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+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 e(i){return f.step(i)}this.startTime=D();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ia)ia=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=D(),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 e in this.options.curAnim)if(this.options.curAnim[e]!==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(ia);ia=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 v.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(),e=b.ownerDocument;b=e.body;e=e.documentElement;
return{top:d.top+(self.pageYOffset||c.support.boxModel&&e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(u){c.offset.setOffset(this,a,u)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,e=b,f=b.ownerDocument,i,j=f.documentElement,p=f.body;
e=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var m=b.offsetTop,q=b.offsetLeft;(b=b.parentNode)&&b!==p&&b!==j;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;i=f?f.getComputedStyle(b,null):b.currentStyle;m-=b.scrollTop;q-=b.scrollLeft;if(b===d){m+=b.offsetTop;q+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){m+=parseFloat(i.borderTopWidth)||0;q+=parseFloat(i.borderLeftWidth)||0}e=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&
i.overflow!=="visible"){m+=parseFloat(i.borderTopWidth)||0;q+=parseFloat(i.borderLeftWidth)||0}e=i}if(e.position==="relative"||e.position==="static"){m+=p.offsetTop;q+=p.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){m+=Math.max(j.scrollTop,p.scrollTop);q+=Math.max(j.scrollLeft,p.scrollLeft)}return{top:m,left:q}};c.offset={initialize:function(){var a=v.body,b=v.createElement("div"),d,e,f,i=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;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==
5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;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 e=c(a),f=e.offset(),i=parseInt(c.curCSS(a,"top",true),10)||0,j=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,f);d={top:b.top-f.top+i,left:b.left-f.left+j};"using"in b?b.using.call(a,d):e.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],
b=this.offsetParent(),d=this.offset(),e=/^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;e.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;e.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||v.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(e){var f=this[0],i;if(!f)return null;if(e!==l)return this.each(function(){if(i=S(this))i.scrollTo(!a?e:c(i).scrollLeft(),a?e:c(i).scrollTop());else this[d]=e});else return(i=S(f))?"pageXOffset"in i?i[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&i.document.documentElement[d]||i.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(e){return this[0]?c.css(this[0],d,false,e?"margin":"border"):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(i){var j=c(this);j[d](e.call(this,i,j[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]):e===l?c.css(f,d):this.css(d,typeof e==="string"?e:e+"px")}});g.jQuery=g.$=c})(window);var eb=dsf={version:"00105",environment:"production",template:{cache:{},render:function(g,l){if(!this.cache[g]){var t="var p=[],print=function(){p.push.apply(p,arguments);};try { with(obj){ p.push('"+$(g).html().replace(/[\r\t\n]/g," ").replace(/'(?=[^#]*#>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<#=(.+?)#>/g,"',$1,'").split("<#").join("');").split("#>").join("p.push('")+"');}return p.join('');} catch (e) { err = e.message; console.log('Template error: ' + err); return ''; }";
this.cache[g]=new Function("obj",t)}return this.cache[g](l)}},ui:{replace_content:function(g){var l=g._this?$(g._this):false,t=g.target?$(g.target):$(g._this),w=g.data?g.data:{},C=g.dataType?g.dataType:"json",D=g.template?g.template:false,E=g.url?g.url:false,z=g.update_current?g.update_current:true,x=g.current_home?g.current_home:"parent",I=g.current_name?g.current_name:".current",L=g.current_class?g.current_class:"current",J=g.animation?g.animation:"fade",R=function(N,S){"object"==typeof N&&S?t.replaceWith(eb.template.render(S,
N)):t.replaceWith(N);if(z)if(x=="parent"&&l){l.parent().parent().find(I).removeClass(L).end();l.parent().addClass(L)}};E?$.ajax({url:E,dataType:C,cache:false,beforeSend:function(){if(t.attr("data-ajax_pending"))return false;t.attr("data-ajax_pending",true);J&&J=="fade"&&t.css("opacity",0.5)},success:function(N){if(C=="json")for(var S in w)N[S]=w[S];R(N,D)},complete:function(){t.attr("data-ajax_pending",null);J&&J=="fade"&&t.css("opacity",1)}}):R(w,D);return false},carousel:{_carousels:{},init:function(g){var l=
$(g.target),t=$(g.controls.next_button),w=$(g.controls.prev_button),C=$(g.controls.current_page),D=$(g.controls.total_pages),E=l.width(),z=l.wrapInner("<div/>").wrapInner("<div/>").css("position","relative").find("div:first").css("position","relative").css("width",E).attr("data-long_div","true");l.css("overflow","hidden").css("width",E);z.find("> *:first").css("width",E).css("float","left");var x=this._carousels[g.target]={o:g,total_pages:g.data.length,$total_pages:D.html(g.data.length),current_page:parseInt(C.eq(0).text(),
10),$current_page:C,$target:l,$next:t,$prev:w,$long_div:z,width:E,data:[]},I=function(L){typeof x.o.before=="function"&&x.o.before(x);eb.ui.carousel.refresh(x,L,function(){C.html(x.current_page);typeof x.o.after=="function"&&x.o.after(x)})};if(typeof x.o.uid!="undefined"){g=RegExp("#"+x.o.uid+"=(\\w+)");if((g=document.location.toString().match(g))&&g[1]&&g[1]!=x.current_page)if(g[1]<=x.total_pages&&g[1]>=1){x.current_page=parseInt(g[1],10);I("right")}}t.click(function(){x.current_page+=1;if(x.current_page>
x.total_pages)x.current_page=1;I("right");return false});w.click(function(){x.current_page-=1;if(x.current_page<1)x.current_page=x.total_pages;I("left");return false})},refresh:function(g,l,t){var w=typeof g.o.data[g.current_page-1].url=="string"?g.o.data[g.current_page-1].url:false,C=function(D){var E=g.o.data[g.current_page-1]&&g.o.data[g.current_page-1].template?g.o.data[g.current_page-1].template:g.o.default_template,z=g.$target.width();E=$("<div>"+eb.template.render(E,D)+"</div>").css("width",
z).css("float","left");l=="right"?g.$long_div.append(E):g.$long_div.prepend(E);var x=g.$long_div.find("> *").size();E.height();z=parseInt(x*z,10);g.$long_div.css("width",z);if(l=="right")g.$target.animate({scrollLeft:[z,"linear"]},{duration:"fast",complete:function(){g.$long_div.find("> *:first").attr("data-remove_me","remove").remove();g.$target.scrollLeft(0);t()}});else{g.$target.scrollLeft(z);g.$target.animate({scrollLeft:[0,"linear"]},{duration:"fast",complete:function(){g.$long_div.find("> *:last").attr("data-remove_me",
"remove").remove();t()}})}if(typeof g.o.uid!="undefined"&&typeof D.page!="undefined")document.location.hash=""+g.o.uid+"="+D.page};typeof w=="undefined"||!w?C(g.o.data[g.current_page-1]):$.ajax({url:(typeof g.o.url_prefix=="string"?g.o.url_prefix:"")+g.o.data[g.current_page-1].url,cache:false,dataType:"json",beforeSend:function(){if(g.o.ajax_pending)return false;g.o.ajax_pending=true;g.$target.css("opacity","0.5")},success:function(D){C(D)},complete:function(){g.o.ajax_pending=false;g.$target.css("opacity",
"1")}})}},accordion:{init:function(g){$wrapper=$(g.wrapper);$wrapper.find(g.button).click(function(){var l=$(this),t=this,w=l.next(g.element);if(w.css("display")=="none"){typeof g.before=="function"&&g.before.apply(t,[$wrapper,l]);$wrapper.find(g.element+":visible").slideUp("fast");w.slideDown("fast",function(){typeof g.after=="function"&&g.after.apply(t,[$wrapper,l]);$("body").scrollTop()>l.offset().top&&$("html, body").animate({scrollTop:w.offset().top-l.height()-parseInt($(window).height()*0.1,
10)},500)})}})}}},url:{decode:function(g){var l={};g=g.toString();var t=function(w,C,D){var E=[];E=D.split(w);return E.join(C)};l["!"]="%21";l["%20"]="+";for(replace in l){search=l[replace];g=t(search,replace,g)}return decodeURIComponent(g)},encode:function(g){return encodeURIComponent(g)}},cookie:{create:function(g,l,t){if(t){var w=new Date;w.setTime(w.getTime()+t*24*60*60*1E3);t="; expires="+w.toGMTString()}else t="";document.cookie=g+"="+l+t+"; path=/"},read:function(g){g=g+"=";for(var l=document.cookie.split(";"),
t=0;t<l.length;t++){for(var w=l[t];w.charAt(0)==" ";)w=w.substring(1,w.length);if(w.indexOf(g)==0)return w.substring(g.length,w.length)}return null},erase:function(g){this.create(g,"",-1)}},bookmark:{create:function(g,l,t){if($.browser.msie)t.setHomePage(l);else if(window.sidebar)window.sidebar.addPanel(g,l,"");else if(window.opera&&window.print){t=document.createElement("a");t.setAttribute("href",l);t.setAttribute("title",g);t.setAttribute("rel","sidebar");t.click()}else document.all&&window.external.AddFavorite(l,
g)}},object:{serialize:function(g){var l=function(x){var I=typeof x,L,J;if(I=="object"&&!x)return"null";if(I=="object"){if(!x.constructor)return"object";x=x.constructor.toString();if(L=x.match(/(\w+)\(/))x=L[1].toLowerCase();L=["boolean","number","string","array"];for(J in L)if(x==L[J]){I=L[J];break}}return I},t=l(g),w,C="";switch(t){case "function":w="";break;case "boolean":w="b:"+(g?"1":"0");break;case "number":w=(Math.round(g)==g?"i":"d")+":"+g;break;case "string":w="s:"+encodeURIComponent(g).replace(/%../g,
"x").length+':"'+g+'"';break;case "array":case "object":w="a";var D=0,E="",z;for(z in g){C=l(g[z]);if(C!="function"){C=z.match(/^[0-9]+$/)?parseInt(z,10):z;E+=dsf.object.serialize(C)+dsf.object.serialize(g[z]);D++}}w+=":"+D+":{"+E+"}";break;case "undefined":default:w="N";break}if(t!="object"&&t!="array")w+=";";return w},unserialize:function(g){var l=function(D,E,z,x){throw new this.window[D](E,z,x);},t=function(D,E,z){for(var x=[],I=D.slice(E,E+1),L=2;I!=z;){L+E>D.length&&l("Error","Invalid");x.push(I);
I=D.slice(E+(L-1),E+L);L+=1}return[x.length,x.join("")]},w=function(D,E,z){var x;x=[];for(var I=0;I<z;I++){var L=D.slice(E+(I-1),E+I);x.push(L)}return[x.length,x.join("")]},C=function(D,E){var z,x=0,I;E||(E=0);var L=D.slice(E,E+1).toLowerCase(),J=E+2,R=new Function("x","return x");switch(L){case "i":R=function(W){return parseInt(W,10)};z=t(D,J,";");x=z[0];z=z[1];J+=x+1;break;case "b":R=function(W){return parseInt(W,10)!==0};z=t(D,J,";");x=z[0];z=z[1];J+=x+1;break;case "d":R=function(W){return parseFloat(W)};
z=t(D,J,";");x=z[0];z=z[1];J+=x+1;break;case "n":z=null;break;case "s":z=t(D,J,":");x=z[0];I=z[1];J+=x+2;z=w(D,J+1,parseInt(I,10));x=z[0];z=z[1];J+=x+2;x!=parseInt(I,10)&&x!=z.length&&l("SyntaxError","String length mismatch");break;case "a":z={};I=t(D,J,":");x=I[0];I=I[1];J+=x+2;for(x=0;x<parseInt(I,10);x++){var N=C(D,J),S=N[2];J+=N[1];N=C(D,J);var c=N[2];J+=N[1];z[S]=c}J+=1;break;default:l("SyntaxError","Unknown / Unhandled data type(s): "+L);break}return[L,J-E,R(z)]};return C(g+"",0)[2]}},comments:{loaded:false,
development_url:"http://10.0.0.1:8080/php/ultracomments/javascripts/dsf_comments.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00409/dsf_comments_409845a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00409/dsf_comments_409845a.js"},login:{loaded:true,callback_que:[],require_reload:false,status:{mhid:-1,fbid:-1,fbstatus:"not_yet_set",mhstatus:"not_yet_set"},urls:{development:"http://10.0.0.1:8080/php/ultralogin/",testing:"/php/ultralogin/",production:"http://ekstrabladet.dk/php/ultralogin/"},
ultralogin:function(g){var l=dsf.login.urls[dsf.environment]+"?page=login.ajax&height=432&width=731",t=null;if(g&&g.n_source)l+="&n_source="+g.n_source;if(g&&g.n_origin)l+="&n_origin="+g.n_origin;if(g&&g.n_campaign)l+="&n_campaign="+g.n_campaign;l+=g&&g.n_returnurl?"&n_returnurl="+g.n_returnurl:"&n_returnurl="+dsf.url.encode(window.location.href);l+=g&&g.n_returnname?"&n_returnname="+g.n_returnurl:"&n_returnname="+document.title;if(g&&g.data)t=g.data;return dsf.tb.extend.open({title:"Log ind",href:l,
rel:null,data:t})},add_callback:function(g,l){if(l)this.require_reload=l;else this.callback_que.push(g)},trigger:function(g,l){if(this.require_reload){var t=this.require_reload;setTimeout(function(){if(t===true)window.location.reload();else window.location.href=t},10);return false}else{for(var w in this.callback_que)this.callback_que[w](g);l&&l();dsf.tb.extend.close()}},__trigger_backend_user_updating_and_mirroring:function(g){$.ajax({dataType:"json",timeout:3E3,type:"POST",url:typeof FB.Connect!=
"undefined"?dsf.login.urls[dsf.environment]+"?page=update.fb.json":dsf.login.urls[dsf.environment]+"?page=new_update.fb.json",data:{},beforeSend:function(){dsf.tb.extend.show_spinner()},success:function(l){if(l.status==true)g(true);else l.message?g(false,l.message):g(false)}})},connect_with_facebook:function(g){if(window.FB){var l=function(){dsf.login.__trigger_backend_user_updating_and_mirroring(function(w,C){g.callback&&g.callback(w,C);w&&dsf.login.trigger("login")})},t=function(){try{FB.ensureInit(function(){FB_RequireFeatures(["Connect"],
function(){FB.Connect.requireSession(function(){l()})})})}catch(w){}return false};if(typeof FB.Connect!="undefined")return t();else FB.getLoginStatus(function(w){w.session?l():FB.login(function(C){C.session&&l()},{perms:"publish_stream,email"})});setTimeout(function(){dsf.tb.extend.close()},100);return false}},get_status:function(g,l){dsf.login.status.mhstatus=dsf.cookie.read("mh_mail")&&dsf.cookie.read("mh_pass")?"logged_in":"logged_out";if(l)dsf.login.status.fbstatus="unknown";else if(window.FB){if(typeof FB.Connect!=
"undefined"){FB.Connect.forceSessionRefresh();FB.ensureInit(function(){FB_RequireFeatures(["Connect"],function(){FB.Connect.get_status().waitUntilReady(function(t){if(t==FB.ConnectState.connected&&dsf.login.status.fbstatus!="connected"||t==FB.ConnectState.appNotAuthorized&&dsf.login.status.fbstatus!="app_not_authorized"||t==FB.ConnectState.userNotLoggedIn&&dsf.login.status.fbstatus!="user_not_logged_in")switch(t){case FB.ConnectState.connected:dsf.login.status.fbstatus="connected";dsf.login.status.fbid=
FB.Facebook.apiClient.get_session();g(dsf.login.status);break;case FB.ConnectState.appNotAuthorized:dsf.login.status.fbstatus="app_not_authorized";g(dsf.login.status);break;case FB.ConnectState.userNotLoggedIn:dsf.login.status.fbstatus="user_not_logged_in";g(dsf.login.status);break}else g(dsf.login.status)})})})}else FB.getLoginStatus(function(t){if(t.status)dsf.login.status.fbstatus=t.status;if(t.session&&t.session.uid)dsf.login.status.fbid=t.session.uid;g(dsf.login.status)});return false}g(dsf.login.status)},
custom_login_button_click:function(g){var l=$(g.form),t=$(g._this),w=t.val();$.ajax({dataType:"json",timeout:3E3,type:"POST",url:dsf.login.urls[dsf.environment]+"?page=login.json",data:{username:l.find('input[name="username"]:first').val(),password:l.find('input[name="password"]:first').val(),remember_me:l.find('input[name="remember_me"]:first').attr("checked")},beforeSend:function(){_({f:["tb","show_spinner"]});t.attr("value","Logger ind...");l.find("input").attr("disabled","disabled")},success:function(C){if(C.status==
true)dsf.login.trigger("login",function(){dsf.tb.extend.close()});else C.message&&alert(C.message)},complete:function(){l.find("input").attr("disabled","");t.attr("value",w);dsf.tb.extend.close()}});return false},custom_logout_button_click:function(g){$(g.form);var l=$(g._this);$.ajax({dataType:"json",timeout:3E3,type:"POST",url:dsf.login.urls[dsf.environment]+"?page=logout.json",data:{logout:"true"},beforeSend:function(){_({f:["tb","show_spinner"]});l.attr("disabled","disabled")},success:function(t){if(t.status==
true){var w=function(){dsf.login.trigger("logout",function(){dsf.tb.extend.close();eb.cookie.erase("mh_mail");eb.cookie.erase("mh_pass")})};eb.login.get_status(function(C){if(C.fbstatus=="connected")if(typeof FB.Connect!="undefined"){FB.Connect.forceSessionRefresh();FB.Connect.logout(function(){w()})}else FB.logout(function(){w()});else w()})}else t.message&&alert(t.message)},complete:function(){setTimeout(function(){_({f:["tb","hide_spinner"]})},2E4);l.attr("disabled","")}});return false},obtain_permission:function(g,
l){dsf.tb.extend.show_spinner();var t=function(C){dsf.tb.extend.close();C&&C()};try{switch(g.name){case "email":(function(C){FB.ensureInit(function(){$("#TB_load").hide();FB.Connect.showPermissionDialog("email",function(D){D=="email"?C.success():C.failure()})})})({success:function(){dsf.login.__trigger_backend_user_updating_and_mirroring(function(){t(function(){l({status:true})})})},failure:function(){if(g.required){g.error_text&&window.alert(g.error_text);dsf.login.obtain_permission(g,l)}else l({status:false})}});
break;default:l({status:false});return}}catch(w){}}},tb:{loaded:true,prefixes:{development:"http://10.0.0.1:8080/php/ultracomments/",testing:"http://ekstrabladet.dk/php/ultrasocial/",production:"http://ekstrabladet.dk/php/ultrasocial/"},extend:{show_spinner:function(){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");document.getElementById("TB_HideSelect")===null&&$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>")}else{document.getElementById("TB_overlay")===
null&&$("body").append("<div id=\"TB_overlay\"></div><div id='TB_window'></div>");$("#TB_overlay").click(this.close)}$("object,embed").hide()}catch(g){}if($("#TB_load").length<1){imgLoader=new Image;imgLoader.src=dsf.tb.prefixes[dsf.environment]+"images/loadingAnimation.gif";$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>")}$("#TB_load").fadeIn("fast")},hide_spinner:function(){$("#TB_load").length>0&&$("#TB_load").hide()},open:function(g){this.show_spinner();dsf.load_script("jquery_thickbox",
function(){dsf.load_script("jquery_form",function(){if(g._this){var l=$(g._this),t=l.attr("title")||l.attr("name")||null,w=l.attr("href")||l.attr("alt"),C=l.attr("rel")||false;tb_show(t,w,C,g.data||false);l.blur()}else tb_show(g.title,g.href,g.rel||false,g.data||false)})});return false},close:function(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_overlay").fadeOut("fast",function(){$("#TB_window").fadeOut("fast",function(){$("#TB_window, #TB_overlay, #TB_HideSelect").trigger("unload").unbind().remove();
$("object,embed").show()})});dsf.tb.extend.hide_spinner();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}}},jquery_form:{loaded:false,development_url:"http://10.0.0.1:8080/php/ultracomments/javascripts/jquery_form.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00409/jquery_form_409857a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00409/jquery_form_409857a.js"},
jquery_thickbox:{loaded:false,development_url:"http://10.0.0.1:8080/php/ultracomments/javascripts/thickbox_3_1.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00409/thickbox_3_1_409856a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00409/thickbox_3_1_409856a.js"},tv_right_box:{loaded:false,development_url:"javascripts/tv_right_box.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_right_box_382057a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_right_box_382057a.js",
extend:null,target:null,preload:function(){this.target=$(".boxid2").css("opacity",0.4)},afterload:function(){this.target.css("opacity",1)}},tv_box41:{loaded:false,development_url:"javascripts/tv_box41.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_box41_382056a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_box41_382056a.js",extend:null,target:null,preload:function(){this.target=$("#eb_main div.boxid41:first").css("opacity",0.4)},afterload:function(){this.target.css("opacity",
1)}},tv_box42:{loaded:false,development_url:"javascripts/tv_box42.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_box42_382350a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_box42_382350a.js",extend:null,target:null,preload:function(){this.target=$("div.boxid42:first").css("opacity",0.4)},afterload:function(){this.target.css("opacity",1)}},tv_quicksearch:{loaded:false,development_url:"http://10.0.0.1:8080/EkstraBladet/redesign/javascripts/tv_quicksearch.js",
testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_quicksearch_382058a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_quicksearch_382058a.js"},tv_box106:{loaded:false,development_url:"http://10.0.0.1:8080/EkstraBladet/redesign/javascripts/tv_box106.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_box106_382049a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00382/tv_box106_382049a.js",preload:function(){this.target=
$(".boxid106:first").css("opacity",0.4)},afterload:function(){this.target.css("opacity",1)}},livesports:{loaded:false,development_url:"http://10.0.0.1:8080/EkstraBladet/php/livesportoversigt/javascripts/dsf_livesports.js",testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00455/dsf_livesports_455817a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00455/dsf_livesports_455817a.js"},quicksearch:{loaded:false,development_url:"http://10.0.0.1:8080/EkstraBladet/redesign/javascripts/quicksearch.js",
testing_url:"http://multimedia.ekstrabladet.dk/eb/archive/00394/quicksearch_394498a.js",production_url:"http://multimedia.ekstrabladet.dk/eb/archive/00394/quicksearch_394498a.js"},std_tabbed_box:{d:function(g){var l=$(g._this),t=$(g.target),w=!g.current_class?"current":g.current_class;l.parent().parent().find("."+w).removeClass(w);t.css("opacity",0.4);$.ajax({type:"GET",dataType:"html",url:g.url,cache:false,complete:function(){t.css("opacity",1)},success:function(C){l.parent().addClass(w);$(t).html(C)}});
return false},double_d:function(g){if(!this.selected_subtab)this.selected_subtab=[1,1,1,1,1,1,1,1,1,1,1];var l=$(g.supertabs),t=$(g.subgroups),w=$(g.target);if(!g.current_class||g.current_class==null)g.current_class="current";if(!g.subtab||g.subtab==null)g.subtab=this.selected_subtab[g.supertab-1];else this.selected_subtab[g.supertab-1]=g.subtab;g.data.supertab=g.supertab;g.data.subtab=g.subtab;$.ajax({type:"GET",dataType:"html",url:g.url,data:g.data,beforeSend:function(){w.css("opacity",0.4)},success:function(C){l.removeClass(g.current_class);
l.eq(g.supertab-1).addClass(g.current_class);t.hide();t.eq(g.supertab-1).show();var D=t.eq(g.supertab-1).find("li");D.removeClass(g.current_class);D.eq(g.subtab-1).addClass(g.current_class);w.html(C);w.css("opacity",1)}})}},load_script:function(g,l){if(this[g].loaded==true)l();else{var t=dsf[g][dsf.environment+"_url"];if(dsf.environment!="production")t=t+"?"+Math.random();$.ajax({type:"GET",url:t,success:function(){setTimeout(function(){l()},1E3)},dataType:"script",cache:dsf.environment=="production"?
true:false,data:null})}}};if(document.URL.substring(0,8)=="http://1")eb.environment="development";else if(document.URL.substring(0,23).toLowerCase()!="http://ekstrabladet.dk/"&&document.URL.substring(0,23).toLowerCase()!="http://ekstrabladet.tv/")eb.environment="testing";if(!console)var console={log:function(g){eb.environment!="production"&&alert(g)}};
function _(g){if(g.f&&g.f instanceof Array&&g.f[0]&&g.f[1])if(dsf[g.f[0]].loaded)if(g.f.length==2)dsf[g.f[0]].extend[g.f[1]](g);else g.f.length==3&&dsf[g.f[0]].extend[g.f[1]][g.f[2]](g);else dsf.load_script(g.f[0],function(){dsf[g.f[0]].preload&&dsf[g.f[0]].preload(g);try{if(g.f.length==2)dsf[g.f[0]].extend[g.f[1]](g);else g.f.length==3&&dsf[g.f[0]].extend[g.f[1]][g.f[2]](g)}catch(l){}dsf[g.f[0]].afterload&&dsf[g.f[0]].afterload(g)});return false};

