(function(o,k){function q(){if(!c.isReady){try{E.documentElement.doScroll("left")}catch(a){setTimeout(q,1);return}c.ready()}}function t(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 B(a,b,d,f,e,m){var n=a.length;if(typeof b==="object"){for(var v in b)B(a,v,b[v],f,e,d);return a}if(d!==k){f=!m&&f&&c.isFunction(d);for(v=0;v<n;v++)e(a[v],b,f?d.call(a[v],v,e(a[v],b)):d,m);return a}return n?
e(a[0],b):k}function C(){return(new Date).getTime()}function D(){return false}function O(){return true}function L(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function S(a){var b,d=[],f=[],e=arguments,m,n,v,s,w,F;n=c.data(this,"events");if(!(a.liveFired===this||!n||!n.live||a.button&&a.type==="click")){a.liveFired=this;var M=n.live.slice(0);for(s=0;s<M.length;s++){n=M[s];n.origType.replace(oa,"")===a.type?f.push(n.selector):M.splice(s--,1)}m=c(a.target).closest(f,a.currentTarget);w=0;for(F=
m.length;w<F;w++)for(s=0;s<M.length;s++){n=M[s];if(m[w].selector===n.selector){v=m[w].elem;f=null;if(n.preType==="mouseenter"||n.preType==="mouseleave")f=c(a.relatedTarget).closest(n.selector)[0];if(!f||f!==v)d.push({elem:v,handleObj:n})}}w=0;for(F=d.length;w<F;w++){m=d[w];a.currentTarget=m.elem;a.data=m.handleObj.data;a.handleObj=m.handleObj;if(m.handleObj.origHandler.apply(m.elem,e)===false){b=false;break}}return b}}function G(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function T(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var m in f)for(var n in f[m])c.event.add(this,m,f[m][n],f[m][n].data)}}})}function R(a,b,d){var f,e,m;b=b&&b[0]?b[0].ownerDocument||b[0]:E;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===E&&!l.test(a[0])&&(c.support.checkClone||!z.test(a[0]))){e=true;if(m=c.fragments[a[0]])if(m!==1)f=m}if(!f){f=b.createDocumentFragment();
c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=m?f:1;return{fragment:f,cacheable:e}}function da(a,b){var d={};c.each(mb.concat.apply([],mb.slice(0,b)),function(){d[this]=a});return d}function ka(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)},Va=o.jQuery,Wa=o.$,E=o.document,Ea,Xa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ya=/^.[^:#\[\.,]*$/,aa=/\S/,Za=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Na=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ya=navigator.userAgent,
ia=false,za=[],Aa,ta=Object.prototype.toString,ua=Object.prototype.hasOwnProperty,Fa=Array.prototype.push,h=Array.prototype.slice,W=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=E;this[0]=E.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Xa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:E;if(a=Na.exec(a))if(c.isPlainObject(b)){a=
[E.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=R([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=E.getElementById(d[2])){if(b.id!==d[2])return Ea.find(a);this.length=1;this[0]=b}this.context=E;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=E;a=E.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||Ea).find(a):c(b).find(a);else if(c.isFunction(a))return Ea.ready(a);
if(a.selector!==k){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 h.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 f=c();c.isArray(a)?Fa.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+
"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(E,c);else za&&za.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(h.apply(this,arguments),"slice",h.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:Fa,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,f=false,e,m,n,v;if(typeof a==="boolean"){f=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((e=arguments[b])!=null)for(m in e){n=a[m];v=e[m];if(a!==v)if(f&&v&&(c.isPlainObject(v)||c.isArray(v))){n=n&&(c.isPlainObject(n)||c.isArray(n))?n:c.isArray(v)?[]:{};a[m]=c.extend(f,n,v)}else if(v!==k)a[m]=
v}return a};c.extend({noConflict:function(a){o.$=Wa;if(a)o.jQuery=Va;return c},isReady:false,ready:function(){if(!c.isReady){if(!E.body)return setTimeout(c.ready,13);c.isReady=true;if(za){for(var a,b=0;a=za[b++];)a.call(E,c);za=null}c.fn.triggerHandler&&c(E).triggerHandler("ready")}},bindReady:function(){if(!ia){ia=true;if(E.readyState==="complete")return c.ready();if(E.addEventListener){E.addEventListener("DOMContentLoaded",Aa,false);o.addEventListener("load",c.ready,false)}else if(E.attachEvent){E.attachEvent("onreadystatechange",
Aa);o.attachEvent("onload",c.ready);var a=false;try{a=o.frameElement==null}catch(b){}E.documentElement.doScroll&&a&&q()}}},isFunction:function(a){return ta.call(a)==="[object Function]"},isArray:function(a){return ta.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ta.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ua.call(a,"constructor")&&!ua.call(a.constructor.prototype,"isPrototypeOf"))return false;for(var b in a);return b===k||ua.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 o.JSON&&o.JSON.parse?o.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&
aa.test(a)){var b=E.getElementsByTagName("head")[0]||E.documentElement,d=E.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(E.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 f,e=0,m=a.length,n=m===k||c.isFunction(a);if(d)if(n)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<m;){if(b.apply(a[e++],d)===false)break}else if(n)for(f in a){if(b.call(a[f],
f,a[f])===false)break}else for(d=a[0];e<m&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Za,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?Fa.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<
e;f++)a[d++]=b[f];else for(;b[f]!==k;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,m=a.length;e<m;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,m=0,n=a.length;m<n;m++){e=b(a[m],m,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=k}else if(b&&!c.isFunction(b)){d=b;b=k}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:{}});ya=c.uaMatch(ya);if(ya.browser){c.browser[ya.browser]=true;c.browser.version=ya.version}if(c.browser.webkit)c.browser.safari=true;if(W)c.inArray=function(a,b){return W.call(b,a)};Ea=c(E);if(E.addEventListener)Aa=
function(){E.removeEventListener("DOMContentLoaded",Aa,false);c.ready()};else if(E.attachEvent)Aa=function(){if(E.readyState==="complete"){E.detachEvent("onreadystatechange",Aa);c.ready()}};(function(){c.support={};var a=E.documentElement,b=E.createElement("script"),d=E.createElement("div"),f="script"+C();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 e=d.getElementsByTagName("*"),m=d.getElementsByTagName("a")[0];
if(!(!e||!e.length||!m)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(m.getAttribute("style")),hrefNormalized:m.getAttribute("href")==="/a",opacity:/^0.55$/.test(m.style.opacity),cssFloat:!!m.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:E.createElement("select").appendChild(E.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(E.createElement("div"))).parentNode===
null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(E.createTextNode("window."+f+"=1;"))}catch(n){}a.insertBefore(b,a.firstChild);if(o[f]){c.support.scriptEval=true;delete o[f]}try{delete b.test}catch(v){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function s(){c.support.noCloneEvent=false;d.detachEvent("onclick",s)});d.cloneNode(true).fireEvent("onclick")}d=E.createElement("div");
d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=E.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var s=E.createElement("div");s.style.width=s.style.paddingLeft="1px";E.body.appendChild(s);c.boxModel=c.support.boxModel=s.offsetWidth===2;E.body.removeChild(s).style.display="none"});a=function(s){var w=E.createElement("div");s="on"+s;var F=s in w;if(!F){w.setAttribute(s,"return;");F=typeof w[s]===
"function"}return F};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=m=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var pa="jQuery"+C(),gb=0,$a={};c.extend({cache:{},expando:pa,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==o?$a:a;var f=a[pa],e=c.cache;if(!f&&typeof b==="string"&&d===k)return null;f||(f=++gb);if(typeof b==="object"){a[pa]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[pa]=f;e[f]={}}a=e[f];if(d!==k)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==o?$a:a;var d=a[pa],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);
delete f[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===k){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===k&&this.length)f=c.data(this[0],a);return f===k&&d[1]?this.data(d[0]):f}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 f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===k)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 ab=/[\n\t]/g,Oa=/\s+/,ba=/\r/g,bb=/href|src|style/,cb=/(button|input)/i,la=/(button|input|object|select|textarea)/i,Ha=/^(a|area)$/i,$=/radio|checkbox/;c.fn.extend({attr:function(a,
b){return B(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(w){var F=c(this);F.addClass(a.call(this,w,F.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(Oa),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var m=" "+e.className+" ",n=e.className,v=0,s=b.length;v<s;v++)if(m.indexOf(" "+b[v]+" ")<
0)n+=" "+b[v];e.className=c.trim(n)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(s){var w=c(this);w.removeClass(a.call(this,s,w.attr("class")))});if(a&&typeof a==="string"||a===k)for(var b=(a||"").split(Oa),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var m=(" "+e.className+" ").replace(ab," "),n=0,v=b.length;n<v;n++)m=m.replace(" "+b[n]+" "," ");e.className=c.trim(m)}else e.className=""}return this},toggleClass:function(a,
b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var m=c(this);m.toggleClass(a.call(this,e,m.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,m=0,n=c(this),v=b,s=a.split(Oa);e=s[m++];){v=f?v:!n.hasClass(e);n[v?"addClass":"removeClass"](e)}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(ab," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===k){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,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var m=b?d:0;for(d=b?d+1:e.length;m<d;m++){var n=e[m];if(n.selected){a=c(n).val();if(b)return a;f.push(a)}}return f}if($.test(b.type)&&
!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(ba,"")}return k}var v=c.isFunction(a);return this.each(function(s){var w=c(this),F=a;if(this.nodeType===1){if(v)F=a.call(this,s,w.val());if(typeof F==="number")F+="";if(c.isArray(F)&&$.test(this.type))this.checked=c.inArray(w.val(),F)>=0;else if(c.nodeName(this,"select")){var M=c.makeArray(F);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),M)>=0});if(!M.length)this.selectedIndex=
-1}else this.value=F}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return k;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==k;b=f&&c.props[b]||b;if(a.nodeType===1){var m=bb.test(b);if(b in a&&f&&!m){if(e){b==="type"&&cb.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:la.test(a.nodeName)||Ha.test(a.nodeName)&&a.href?0:k;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&m?a.getAttribute(b,2):a.getAttribute(b);return a===null?k:a}return c.style(a,b,d)}});var oa=/\.(.*)$/,Ia=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===
3||a.nodeType===8)){if(a.setInterval&&a!==o&&!a.frameElement)a=o;var e,m;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(m=c.data(a)){var n=m.events=m.events||{},v=m.handle;if(!v)m.handle=v=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(v.elem,arguments):k};v.elem=a;b=b.split(" ");for(var s,w=0,F;s=b[w++];){m=e?c.extend({},e):{handler:d,data:f};if(s.indexOf(".")>-1){F=s.split(".");s=F.shift();m.namespace=F.slice(0).sort().join(".")}else{F=[];m.namespace=
""}m.type=s;m.guid=d.guid;var M=n[s],Q=c.event.special[s]||{};if(!M){M=n[s]=[];if(!Q.setup||Q.setup.call(a,f,F,v)===false)if(a.addEventListener)a.addEventListener(s,v,false);else a.attachEvent&&a.attachEvent("on"+s,v)}if(Q.add){Q.add.call(a,m);if(!m.handler.guid)m.handler.guid=d.guid}M.push(m);c.event.global[s]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,m=0,n,v,s,w,F,M,Q=c.data(a),V=Q&&Q.events;if(Q&&V){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b===
"string"&&b.charAt(0)==="."){b=b||"";for(e in V)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[m++];){w=e;n=e.indexOf(".")<0;v=[];if(!n){v=e.split(".");e=v.shift();s=RegExp("(^|\\.)"+c.map(v.slice(0).sort(),Ia).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(F=V[e])if(d){w=c.event.special[e]||{};for(U=f||0;U<F.length;U++){M=F[U];if(d.guid===M.guid){if(n||s.test(M.namespace)){f==null&&F.splice(U--,1);w.remove&&w.remove.call(a,M)}if(f!=null)break}}if(F.length===0||f!=null&&F.length===1){if(!w.teardown||w.teardown.call(a,
v)===false)Ja(a,e,Q.handle);delete V[e]}}else for(var U=0;U<F.length;U++){M=F[U];if(n||s.test(M.namespace)){c.event.remove(a,w,M.handler,U);F.splice(U--,1)}}}if(c.isEmptyObject(V)){if(b=Q.handle)b.elem=null;delete Q.events;delete Q.handle;c.isEmptyObject(Q)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[pa]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&
c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return k;a.result=k;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(m){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=
a.target;var n,v=c.nodeName(f,"a")&&e==="click",s=c.event.special[e]||{};if((!s._default||s._default.call(d,a)===false)&&!v&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(n=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(w){}if(n)f["on"+e]=n;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||o.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+
"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var m=d.length;e<m;e++){var n=d[e];if(b||f.test(n.namespace)){a.handler=n.handler;a.data=n.data;a.handleObj=n;n=n.handler.apply(this,arguments);if(n!==k){a.result=n;if(n===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[pa])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||E;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=E.documentElement;d=E.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!==k)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:S}))},remove:function(a){var b=true,d=a.origType.replace(oa,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(oa,""))return b=false});b&&c.event.remove(this,a.origType,S)}},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 Ja=E.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=C();this[pa]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=O;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=O;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=O;this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,
isImmediatePropagationStopped:D};var va=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){}},qa=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?qa:va,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?qa:va)}}});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 L("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 L("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Pa=
/textarea|input|select/i,Qa,ea=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(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,f,e;if(!(!Pa.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=ea(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===k||e===f))if(f!=null||
e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.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 Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ea(a))}},setup:function(){if(this.type===
"file")return false;for(var a in Qa)c.event.add(this,a+".specialChange",Qa[a]);return Pa.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Pa.test(this.nodeName)}};Qa=c.event.special.change.filters}E.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}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,f,e){if(typeof d==="object"){for(var m in d)this[b](m,f,d[m],e);return this}if(c.isFunction(f)){e=f;f=k}var n=b==="one"?c.proxy(e,function(s){c(this).unbind(s,n);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{m=0;for(var v=this.length;m<v;m++)c.event.add(this[m],d,n,f)}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 f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,
b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ja={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,m){var n,v=0,s,w,F=m||this.selector,M=m?this:c(this.context);if(c.isFunction(f)){e=f;f=k}for(d=
(d||"").split(" ");(n=d[v++])!=null;){m=oa.exec(n);s="";if(m){s=m[0];n=n.replace(oa,"")}if(n==="hover")d.push("mouseenter"+s,"mouseleave"+s);else{w=n;if(n==="focus"||n==="blur"){d.push(ja[n]+s);n+=s}else n=(ja[n]||n)+s;b==="live"?M.each(function(){c.event.add(this,G(n,F),{data:f,selector:F,handler:e,origType:n,origHandler:e,preType:w})}):M.unbind(G(n,F),e)}}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});o.attachEvent&&!o.addEventListener&&o.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(g){for(var j="",r,u=0;g[u];u++){r=g[u];if(r.nodeType===3||r.nodeType===4)j+=r.nodeValue;else if(r.nodeType!==8)j+=a(r.childNodes)}return j}function b(g,j,r,u,A,y){A=0;for(var K=u.length;A<K;A++){var I=u[A];
if(I){I=I[g];for(var P=false;I;){if(I.sizcache===r){P=u[I.sizset];break}if(I.nodeType===1&&!y){I.sizcache=r;I.sizset=A}if(I.nodeName.toLowerCase()===j){P=I;break}I=I[g]}u[A]=P}}}function d(g,j,r,u,A,y){A=0;for(var K=u.length;A<K;A++){var I=u[A];if(I){I=I[g];for(var P=false;I;){if(I.sizcache===r){P=u[I.sizset];break}if(I.nodeType===1){if(!y){I.sizcache=r;I.sizset=A}if(typeof j!=="string"){if(I===j){P=true;break}}else if(s.filter(j,[I]).length>0){P=I;break}}I=I[g]}u[A]=P}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,m=Object.prototype.toString,n=false,v=true;[0,0].sort(function(){v=false;return 0});var s=function(g,j,r,u){r=r||[];var A=j=j||E;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return r;for(var y=[],K,I,P,Ra,Ba=true,Ka=N(j),Ca=g;(f.exec(""),K=f.exec(Ca))!==null;){Ca=K[3];y.push(K[1]);if(K[2]){Ra=K[3];break}}if(y.length>1&&F.exec(g))if(y.length===2&&w.relative[y[0]])I=hb(y[0]+y[1],j);else for(I=w.relative[y[0]]?[j]:s(y.shift(),j);y.length;){g=y.shift();if(w.relative[g])g+=
y.shift();I=hb(g,I)}else{if(!u&&y.length>1&&j.nodeType===9&&!Ka&&w.match.ID.test(y[0])&&!w.match.ID.test(y[y.length-1])){K=s.find(y.shift(),j,Ka);j=K.expr?s.filter(K.expr,K.set)[0]:K.set[0]}if(j){K=u?{expr:y.pop(),set:Q(u)}:s.find(y.pop(),y.length===1&&(y[0]==="~"||y[0]==="+")&&j.parentNode?j.parentNode:j,Ka);I=K.expr?s.filter(K.expr,K.set):K.set;if(y.length>0)P=Q(I);else Ba=false;for(;y.length;){var fa=y.pop();K=fa;if(w.relative[fa])K=y.pop();else fa="";if(K==null)K=j;w.relative[fa](P,K,Ka)}}else P=
[]}P||(P=I);P||s.error(fa||g);if(m.call(P)==="[object Array]")if(Ba)if(j&&j.nodeType===1)for(g=0;P[g]!=null;g++){if(P[g]&&(P[g]===true||P[g].nodeType===1&&ga(j,P[g])))r.push(I[g])}else for(g=0;P[g]!=null;g++)P[g]&&P[g].nodeType===1&&r.push(I[g]);else r.push.apply(r,P);else Q(P,r);if(Ra){s(Ra,A,r,u);s.uniqueSort(r)}return r};s.uniqueSort=function(g){if(U){n=v;g.sort(U);if(n)for(var j=1;j<g.length;j++)g[j]===g[j-1]&&g.splice(j--,1)}return g};s.matches=function(g,j){return s(g,null,null,j)};s.find=function(g,
j,r){var u,A;if(!g)return[];for(var y=0,K=w.order.length;y<K;y++){var I=w.order[y];if(A=w.leftMatch[I].exec(g)){var P=A[1];A.splice(1,1);if(P.substr(P.length-1)!=="\\"){A[1]=(A[1]||"").replace(/\\/g,"");u=w.find[I](A,j,r);if(u!=null){g=g.replace(w.match[I],"");break}}}}u||(u=j.getElementsByTagName("*"));return{set:u,expr:g}};s.filter=function(g,j,r,u){for(var A=g,y=[],K=j,I,P,Ra=j&&j[0]&&N(j[0]);g&&j.length;){for(var Ba in w.filter)if((I=w.leftMatch[Ba].exec(g))!=null&&I[2]){var Ka=w.filter[Ba],Ca,
fa;fa=I[1];P=false;I.splice(1,1);if(fa.substr(fa.length-1)!=="\\"){if(K===y)y=[];if(w.preFilter[Ba])if(I=w.preFilter[Ba](I,K,r,y,u,Ra)){if(I===true)continue}else P=Ca=true;if(I)for(var db=0;(fa=K[db])!=null;db++)if(fa){Ca=Ka(fa,I,db,K);var nb=u^!!Ca;if(r&&Ca!=null)if(nb)P=true;else K[db]=false;else if(nb){y.push(fa);P=true}}if(Ca!==k){r||(K=y);g=g.replace(w.match[Ba],"");if(!P)return[];break}}}if(g===A)if(P==null)s.error(g);else break;A=g}return K};s.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var w=s.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(g){return g.getAttribute("href")}},relative:{"+":function(g,j){var r=typeof j==="string",u=r&&!/\W/.test(j);r=r&&!u;if(u)j=j.toLowerCase();u=0;for(var A=g.length,y;u<A;u++)if(y=g[u]){for(;(y=y.previousSibling)&&y.nodeType!==1;);g[u]=r||y&&y.nodeName.toLowerCase()===j?y||false:y===j}r&&s.filter(j,g,true)},">":function(g,j){var r=typeof j==="string";if(r&&!/\W/.test(j)){j=j.toLowerCase();for(var u=0,A=g.length;u<A;u++){var y=
g[u];if(y){r=y.parentNode;g[u]=r.nodeName.toLowerCase()===j?r:false}}}else{u=0;for(A=g.length;u<A;u++)if(y=g[u])g[u]=r?y.parentNode:y.parentNode===j;r&&s.filter(j,g,true)}},"":function(g,j,r){var u=e++,A=d;if(typeof j==="string"&&!/\W/.test(j)){var y=j=j.toLowerCase();A=b}A("parentNode",j,u,g,y,r)},"~":function(g,j,r){var u=e++,A=d;if(typeof j==="string"&&!/\W/.test(j)){var y=j=j.toLowerCase();A=b}A("previousSibling",j,u,g,y,r)}},find:{ID:function(g,j,r){if(typeof j.getElementById!=="undefined"&&
!r)return(g=j.getElementById(g[1]))?[g]:[]},NAME:function(g,j){if(typeof j.getElementsByName!=="undefined"){var r=[];j=j.getElementsByName(g[1]);for(var u=0,A=j.length;u<A;u++)j[u].getAttribute("name")===g[1]&&r.push(j[u]);return r.length===0?null:r}},TAG:function(g,j){return j.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,j,r,u,A,y){g=" "+g[1].replace(/\\/g,"")+" ";if(y)return g;y=0;for(var K;(K=j[y])!=null;y++)if(K)if(A^(K.className&&(" "+K.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=
0))r||u.push(K);else if(r)j[y]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=e++;return g},ATTR:function(g,j,r,u,A,y){j=g[1].replace(/\\/g,"");if(!y&&w.attrMap[j])g[1]=w.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,r,u,
A){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=s(g[3],null,null,j);else{g=s.filter(g[3],j,r,true^A);r||u.push.apply(u,g);return false}else if(w.match.POS.test(g[0])||w.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},
empty:function(g){return!g.firstChild},has:function(g,j,r){return!!s(r[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===
g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,j){return j===0},last:function(g,j,r,u){return j===u.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,r){return j<r[3]-0},gt:function(g,j,r){return j>r[3]-0},nth:function(g,j,r){return r[3]-0===j},eq:function(g,j,r){return r[3]-0===j}},filter:{PSEUDO:function(g,j,r,u){var A=j[1],y=w.filters[A];if(y)return y(g,
r,j,u);else if(A==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(j[3])>=0;else if(A==="not"){j=j[3];r=0;for(u=j.length;r<u;r++)if(j[r]===g)return false;return true}else s.error("Syntax error, unrecognized expression: "+A)},CHILD:function(g,j){var r=j[1],u=g;switch(r){case "only":case "first":for(;u=u.previousSibling;)if(u.nodeType===1)return false;if(r==="first")return true;u=g;case "last":for(;u=u.nextSibling;)if(u.nodeType===1)return false;return true;case "nth":r=j[2];var A=
j[3];if(r===1&&A===0)return true;j=j[0];var y=g.parentNode;if(y&&(y.sizcache!==j||!g.nodeIndex)){var K=0;for(u=y.firstChild;u;u=u.nextSibling)if(u.nodeType===1)u.nodeIndex=++K;y.sizcache=j}g=g.nodeIndex-A;return r===0?g===0:g%r===0&&g/r>=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var r=
j[1];g=w.attrHandle[r]?w.attrHandle[r](g):g[r]!=null?g[r]:g.getAttribute(r);r=g+"";var u=j[2];j=j[4];return g==null?u==="!=":u==="="?r===j:u==="*="?r.indexOf(j)>=0:u==="~="?(" "+r+" ").indexOf(j)>=0:!j?r&&g!==false:u==="!="?r!==j:u==="^="?r.indexOf(j)===0:u==="$="?r.substr(r.length-j.length)===j:u==="|="?r===j||r.substr(0,j.length+1)===j+"-":false},POS:function(g,j,r,u){var A=w.setFilters[j[2]];if(A)return A(g,r,j,u)}}},F=w.match.POS,M;for(M in w.match){w.match[M]=RegExp(w.match[M].source+/(?![^\[]*\])(?![^\(]*\))/.source);
w.leftMatch[M]=RegExp(/(^(?:.|\r|\n)*?)/.source+w.match[M].source.replace(/\\(\d+)/g,function(g,j){return"\\"+(j-0+1)}))}var Q=function(g,j){g=Array.prototype.slice.call(g,0);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(E.documentElement.childNodes,0)}catch(V){Q=function(g,j){j=j||[];if(m.call(g)==="[object Array]")Array.prototype.push.apply(j,g);else if(typeof g.length==="number")for(var r=0,u=g.length;r<u;r++)j.push(g[r]);else for(r=0;g[r];r++)j.push(g[r]);return j}}var U;
if(E.documentElement.compareDocumentPosition)U=function(g,j){if(!g.compareDocumentPosition||!j.compareDocumentPosition){if(g==j)n=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(j)&4?-1:g===j?0:1;if(g===0)n=true;return g};else if("sourceIndex"in E.documentElement)U=function(g,j){if(!g.sourceIndex||!j.sourceIndex){if(g==j)n=true;return g.sourceIndex?-1:1}g=g.sourceIndex-j.sourceIndex;if(g===0)n=true;return g};else if(E.createRange)U=function(g,j){if(!g.ownerDocument||!j.ownerDocument){if(g==
j)n=true;return g.ownerDocument?-1:1}var r=g.ownerDocument.createRange(),u=j.ownerDocument.createRange();r.setStart(g,0);r.setEnd(g,0);u.setStart(j,0);u.setEnd(j,0);g=r.compareBoundaryPoints(Range.START_TO_END,u);if(g===0)n=true;return g};(function(){var g=E.createElement("div"),j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var r=E.documentElement;r.insertBefore(g,r.firstChild);if(E.getElementById(j)){w.find.ID=function(u,A,y){if(typeof A.getElementById!=="undefined"&&!y)return(A=
A.getElementById(u[1]))?A.id===u[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===u[1]?[A]:k:[]};w.filter.ID=function(u,A){var y=typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id");return u.nodeType===1&&y&&y.nodeValue===A}}r.removeChild(g);r=g=null})();(function(){var g=E.createElement("div");g.appendChild(E.createComment(""));if(g.getElementsByTagName("*").length>0)w.find.TAG=function(j,r){r=r.getElementsByTagName(j[1]);if(j[1]==="*"){j=[];for(var u=
0;r[u];u++)r[u].nodeType===1&&j.push(r[u]);r=j}return r};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")w.attrHandle.href=function(j){return j.getAttribute("href",2)};g=null})();E.querySelectorAll&&function(){var g=s,j=E.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){s=function(u,A,y,K){A=A||E;if(!K&&A.nodeType===9&&!N(A))try{return Q(A.querySelectorAll(u),
y)}catch(I){}return g(u,A,y,K)};for(var r in g)s[r]=g[r];j=null}}();(function(){var g=E.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){w.order.splice(1,0,"CLASS");w.find.CLASS=function(j,r,u){if(typeof r.getElementsByClassName!=="undefined"&&!u)return r.getElementsByClassName(j[1])};g=null}}})();var ga=E.compareDocumentPosition?
function(g,j){return!!(g.compareDocumentPosition(j)&16)}:function(g,j){return g!==j&&(g.contains?g.contains(j):true)},N=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},hb=function(g,j){var r=[],u="",A;for(j=j.nodeType?[j]:j;A=w.match.PSEUDO.exec(g);){u+=A[0];g=g.replace(w.match.PSEUDO,"")}g=w.relative[g]?g+"*":g;A=0;for(var y=j.length;A<y;A++)s(g,j[A],r);return s.filter(u,r)};c.find=s;c.expr=s.selectors;c.expr[":"]=c.expr.filters;c.unique=s.uniqueSort;c.text=
a;c.isXMLDoc=N;c.contains=ga})();var ra=/Until$/,Sa=/^(?:parents|prevUntil|prevAll)/,Ta=/,/;h=Array.prototype.slice;var eb=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,m){return!!b.call(e,m,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ya.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=
this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var m=d;m<b.length;m++)for(var n=0;n<d;n++)if(b[n]===b[m]){b.splice(m--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(eb(this,a,false),"not",a)},filter:function(a){return this.pushStack(eb(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=[],f=this[0],e,m={},n;if(f&&a.length){e=0;for(var v=a.length;e<v;e++){n=a[e];m[n]||(m[n]=c.expr.match.POS.test(n)?c(n,b||this.context):n)}for(;f&&f.ownerDocument&&f!==b;){for(n in m){e=m[n];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:n,elem:f});delete m[n]}}f=f.parentNode}}return d}var s=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(w,F){for(;F&&F.ownerDocument&&F!==b;){if(s?s.index(F)>-1:c(F).is(a))return F;
F=F.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(!a[0]||!a[0].parentNode||a[0].parentNode.nodeType===11||!b[0]||!b[0].parentNode||b[0].parentNode.nodeType===11?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=
a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);ra.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||Ta.test(f))&&Sa.test(a))e=e.reverse();return this.pushStack(e,a,h.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 f=[];for(a=a[b];a&&a.nodeType!==9&&(d===k||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===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 ha=/ jQuery\d+="(?:\d+|null)"/g,ca=/^\s+/,ma=/(<([\w:]+)[^>]*?)\/>/g,Ua=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,X=/<([\w:]+)/,i=/<tbody/i,p=/<|&#?\w+;/,
l=/<script|<object|<embed|<option|<style/i,z=/checked\s*(?:[^=]|=\s*.checked.)/i,x=function(a,b,d){return Ua.test(d)?a:b+"></"+d+">"},H={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,"",""]};H.optgroup=H.option;H.tbody=H.tfoot=
H.colgroup=H.caption=H.thead;H.th=H.td;if(!c.support.htmlSerialize)H._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!==k)return this.empty().append((this[0]&&this[0].ownerDocument||E).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,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&
f.parentNode.removeChild(f)}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,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(ha,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ca,
"")],f)[0]}else return this.cloneNode(true)});if(a===true){T(this,b);T(this.find("*"),b.find("*"))}return b},html:function(a){if(a===k)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ha,""):null;else if(typeof a==="string"&&!l.test(a)&&(c.support.leadingWhitespace||!ca.test(a))&&!H[(X.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ma,x);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(f){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(e){var m=c(this),n=m.html();m.empty().append(function(){return a.call(this,e,n)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});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 f,e,m=a[0],n=[],v;if(!c.support.checkClone&&arguments.length===3&&typeof m==="string"&&z.test(m))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(m))return this.each(function(w){var F=c(this);a[0]=m.call(this,w,b?F.html():k);F.domManip(a,b,d)});if(this[0]){f=m&&m.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:R(a,this,
n);v=f.fragment;if(e=v.childNodes.length===1?v=v.firstChild:v.firstChild){b=b&&c.nodeName(e,"tr");e=0;for(var s=this.length;e<s;e++)d.call(b?c.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e]:this[e],e>0||f.cacheable||this.length>1?v.cloneNode(true):v)}n.length&&c.each(n,t)}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 f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{e=0;for(var m=d.length;e<m;e++){var n=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),n);f=f.concat(n)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||E;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||E;for(var e=[],m=0,n;(n=a[m])!=null;m++){if(typeof n===
"number")n+="";if(n){if(typeof n==="string"&&!p.test(n))n=b.createTextNode(n);else if(typeof n==="string"){n=n.replace(ma,x);var v=(X.exec(n)||["",""])[1].toLowerCase(),s=H[v]||H._default,w=s[0],F=b.createElement("div");for(F.innerHTML=s[1]+n+s[2];w--;)F=F.lastChild;if(!c.support.tbody){w=i.test(n);v=v==="table"&&!w?F.firstChild&&F.firstChild.childNodes:s[1]==="<table>"&&!w?F.childNodes:[];for(s=v.length-1;s>=0;--s)c.nodeName(v[s],"tbody")&&!v[s].childNodes.length&&v[s].parentNode.removeChild(v[s])}!c.support.leadingWhitespace&&
ca.test(n)&&F.insertBefore(b.createTextNode(ca.exec(n)[0]),F.firstChild);n=F.childNodes}if(n.nodeType)e.push(n);else e=c.merge(e,n)}}if(d)for(m=0;e[m];m++)if(f&&c.nodeName(e[m],"script")&&(!e[m].type||e[m].type.toLowerCase()==="text/javascript"))f.push(e[m].parentNode?e[m].parentNode.removeChild(e[m]):e[m]);else{e[m].nodeType===1&&e.splice.apply(e,[m+1,0].concat(c.makeArray(e[m].getElementsByTagName("script"))));d.appendChild(e[m])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,
m=c.support.deleteExpando,n=0,v;(v=a[n])!=null;n++)if(d=v[c.expando]){b=f[d];if(b.events)for(var s in b.events)e[s]?c.event.remove(v,s):Ja(v,s,b.handle);if(m)delete v[c.expando];else v.removeAttribute&&v.removeAttribute(c.expando);delete f[d]}}});var J=/z-?index|font-?weight|opacity|zoom|line-?height/i,Y=/alpha\([^)]*\)/,sa=/opacity=([^)]*)/,na=/float/i,wa=/-([a-z])/ig,Ga=/([A-Z])/g,xa=/^-?\d+(?:px)?$/i,Da=/^-?\d/,La={position:"absolute",visibility:"hidden",display:"block"},ib=["Left","Right"],pb=
["Top","Bottom"],qb=E.defaultView&&E.defaultView.getComputedStyle,ob=c.support.cssFloat?"cssFloat":"styleFloat",jb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return B(this,a,b,true,function(d,f,e){if(e===k)return c.curCSS(d,f);if(typeof e==="number"&&!J.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return k;if((b==="width"||b==="height")&&parseFloat(d)<0)d=k;var f=a.style||a,e=d!==k;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=
1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=Y.test(a)?a.replace(Y,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(sa.exec(f.filter)[1])/100+"":""}if(na.test(b))b=ob;b=b.replace(wa,jb);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,m=b==="width"?ib:pb;d=function(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(m,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||
0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,La,d);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=sa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(na.test(b))b=ob;if(!d&&e&&e[b])f=e[b];else if(qb){if(na.test(b))b="float";b=b.replace(Ga,
"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(wa,jb);f=a.currentStyle[b]||a.currentStyle[d];if(!xa.test(f)&&Da.test(f)){b=e.left;var m=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=m}}return f},swap:function(a,b,d){var f={},e;for(e in b){f[e]=a.style[e];a.style[e]=
b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var rb=C(),sb=/<script(.|\s)*?\/script>/gi,tb=/select|textarea/i,ub=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Ma=/=\?(&|$)/,
kb=/\?/,vb=/(\?|&)_=.*?(&|$)/,wb=/^(\w+:)?\/\/([^\/?#]+)/,xb=/%20/g,yb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return yb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var m=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(n,v){if(v==="success"||v==="notmodified")m.html(e?
c("<div />").append(n.responseText.replace(sb,"")).find(e):n.responseText);d&&m.each(d,[n.responseText,v,n])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||tb.test(this.nodeName)||ub.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,
value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},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,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",
url:a,data:b,success:d,dataType:f})},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:o.XMLHttpRequest&&(o.location.protocol!=="file:"||!o.ActiveXObject)?function(){return new o.XMLHttpRequest}:function(){try{return new o.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(){e.success&&e.success.call(s,v,n,N);e.global&&f("ajaxSuccess",[N,e])}function d(){e.complete&&e.complete.call(s,N,n);e.global&&f("ajaxComplete",[N,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(A,y){(e.context?c(e.context):c.event).trigger(A,y)}var e=c.extend(true,{},c.ajaxSettings,a),m,n,v,s=a&&a.context||e,w=e.type.toUpperCase();if(e.data&&e.processData&&
typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(w==="GET")Ma.test(e.url)||(e.url+=(kb.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!Ma.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&Ma.test(e.data)||Ma.test(e.url))){m=e.jsonpCallback||"jsonp"+rb++;if(e.data)e.data=(e.data+"").replace(Ma,"="+m+"$1");e.url=e.url.replace(Ma,"="+m+"$1");e.dataType="script";o[m]=o[m]||
function(A){v=A;b();d();o[m]=k;try{delete o[m]}catch(y){}Q&&Q.removeChild(V)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===false&&w==="GET"){var F=C(),M=e.url.replace(vb,"$1_="+F+"$2");e.url=M+(M===e.url?(kb.test(e.url)?"&":"?")+"_="+F:"")}if(e.data&&w==="GET")e.url+=(kb.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");F=(F=wb.exec(e.url))&&(F[1]&&F[1]!==location.protocol||F[2]!==location.host);if(e.dataType==="script"&&w==="GET"&&F){var Q=E.getElementsByTagName("head")[0]||
E.documentElement,V=E.createElement("script");V.src=e.url;if(e.scriptCharset)V.charset=e.scriptCharset;if(!m){var U=false;V.onload=V.onreadystatechange=function(){if(!U&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){U=true;b();d();V.onload=V.onreadystatechange=null;Q&&V.parentNode&&Q.removeChild(V)}}}Q.insertBefore(V,Q.firstChild);return k}var ga=false,N=e.xhr();if(N){e.username?N.open(w,e.url,e.async,e.username,e.password):N.open(w,e.url,e.async);try{if(e.data||a&&
a.contentType)N.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&N.setRequestHeader("If-Modified-Since",c.lastModified[e.url]);c.etag[e.url]&&N.setRequestHeader("If-None-Match",c.etag[e.url])}F||N.setRequestHeader("X-Requested-With","XMLHttpRequest");N.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(hb){}if(e.beforeSend&&e.beforeSend.call(s,N,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");
N.abort();return false}e.global&&f("ajaxSend",[N,e]);var g=N.onreadystatechange=function(A){if(!N||N.readyState===0||A==="abort"){ga||d();ga=true;if(N)N.onreadystatechange=c.noop}else if(!ga&&N&&(N.readyState===4||A==="timeout")){ga=true;N.onreadystatechange=c.noop;n=A==="timeout"?"timeout":!c.httpSuccess(N)?"error":e.ifModified&&c.httpNotModified(N,e.url)?"notmodified":"success";var y;if(n==="success")try{v=c.httpData(N,e.dataType,e)}catch(K){n="parsererror";y=K}if(n==="success"||n==="notmodified")m||
b();else c.handleError(e,N,n,y);d();A==="timeout"&&N.abort();if(e.async)N=null}};try{var j=N.abort;N.abort=function(){N&&j.call(N);g("abort")}}catch(r){}e.async&&e.timeout>0&&setTimeout(function(){N&&!ga&&g("timeout")},e.timeout);try{N.send(w==="POST"||w==="PUT"||w==="DELETE"?e.data:null)}catch(u){c.handleError(e,N,null,u);d()}e.async||g();return N}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},
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"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;
e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(n,v){if(c.isArray(v))c.each(v,function(s,w){b||/\[\]$/.test(n)?f(n,w):d(n+"["+(typeof w==="object"||c.isArray(w)?s:"")+"]",w)});else!b&&v!=null&&typeof v==="object"?c.each(v,function(s,w){d(n+"["+s+"]",
w)}):f(n,v)}function f(n,v){v=c.isFunction(v)?v():v;e[e.length]=encodeURIComponent(n)+"="+encodeURIComponent(v)}var e=[];if(b===k)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var m in a)d(m,a[m]);return e.join("&").replace(xb,"+")}});var lb={},zb=/toggle|show|hide/,Ab=/^([+-]=)?([\d+-.]+)(.*)$/,fb,mb=[["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(da("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(lb[d])f=lb[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();lb[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},
hide:function(a,b){if(a||a===0)return this.animate(da("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?
"show":"hide"]()}):this.animate(da("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,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var m=c.extend({},e),n,v=this.nodeType===1&&c(this).is(":hidden"),s=this;for(n in a){var w=n.replace(wa,jb);if(n!==w){a[w]=a[n];delete a[n];n=w}if(a[n]==="hide"&&v||a[n]==="show"&&
!v)return m.complete.call(this);if((n==="height"||n==="width")&&this.style){m.display=c.css(this,"display");m.overflow=this.style.overflow}if(c.isArray(a[n])){(m.specialEasing=m.specialEasing||{})[n]=a[n][1];a[n]=a[n][0]}}if(m.overflow!=null)this.style.overflow="hidden";m.curAnim=c.extend({},a);c.each(a,function(F,M){var Q=new c.fx(s,m,F);if(zb.test(M))Q[M==="toggle"?v?"show":"hide":M](a);else{var V=Ab.exec(M),U=Q.cur(true)||0;if(V){M=parseFloat(V[2]);var ga=V[3]||"px";if(ga!=="px"){s.style[F]=(M||
1)+ga;U=(M||1)/Q.cur(true)*U;s.style[F]=U+ga}if(V[1])M=(V[1]==="-="?-1:1)*M+U;Q.custom(U,M,ga)}else Q.custom(U,M,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:da("show",1),slideUp:da("hide",1),slideToggle:da("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,
d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+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>-1E4?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(m){return e.step(m)}this.startTime=C();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!fb)fb=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=C(),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 f in this.options.curAnim)if(this.options.curAnim[f]!==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 e in this.options.curAnim)c.style(this.elem,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/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,e,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(fb);fb=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 E.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;
return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}: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);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,m,n=e.documentElement,v=e.body;
f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var s=b.offsetTop,w=b.offsetLeft;(b=b.parentNode)&&b!==v&&b!==n;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;m=e?e.getComputedStyle(b,null):b.currentStyle;s-=b.scrollTop;w-=b.scrollLeft;if(b===d){s+=b.offsetTop;w+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){s+=parseFloat(m.borderTopWidth)||0;w+=parseFloat(m.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&
m.overflow!=="visible"){s+=parseFloat(m.borderTopWidth)||0;w+=parseFloat(m.borderLeftWidth)||0}f=m}if(f.position==="relative"||f.position==="static"){s+=v.offsetTop;w+=v.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){s+=Math.max(n.scrollTop,v.scrollTop);w+=Math.max(n.scrollLeft,v.scrollLeft)}return{top:s,left:w}};c.offset={initialize:function(){var a=E.body,b=E.createElement("div"),d,f,e,m=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;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==
5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==m;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 f=c(a),e=f.offset(),m=parseInt(c.curCSS(a,"top",true),10)||0,n=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,e);d={top:b.top-e.top+m,left:b.left-e.left+n};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],
b=this.offsetParent(),d=this.offset(),f=/^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;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||E.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(f){var e=this[0],m;if(!e)return null;return f!==k?this.each(function(){if(m=ka(this))m.scrollTo(!a?f:c(m).scrollLeft(),a?f:c(m).scrollTop());else this[d]=f}):(m=ka(e))?"pageXOffset"in m?m[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&m.document.documentElement[d]||m.document.body[d]:e[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(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(m){var n=c(this);n[d](f.call(this,m,n[d]()))});return"scrollTo"in e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+
b],e.body["offset"+b],e.documentElement["offset"+b]):f===k?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});o.jQuery=o.$=c})(window);
jQuery.ui||function(o){o.ui={version:"1.8",plugin:{add:function(k,q,t){k=o.ui[k].prototype;for(var B in t){k.plugins[B]=k.plugins[B]||[];k.plugins[B].push([q,t[B]])}},call:function(k,q,t){if((q=k.plugins[q])&&k.element[0].parentNode)for(var B=0;B<q.length;B++)k.options[q[B][0]]&&q[B][1].apply(k.element,t)}},contains:function(k,q){return document.compareDocumentPosition?k.compareDocumentPosition(q)&16:k!==q&&k.contains(q)},hasScroll:function(k,q){if(o(k).css("overflow")=="hidden")return false;var t=
q&&q=="left"?"scrollLeft":"scrollTop",B=false;if(k[t]>0)return true;k[t]=1;B=k[t]>0;k[t]=0;return B},isOverAxis:function(k,q,t){return k>q&&k<q+t},isOver:function(k,q,t,B,C,D){return o.ui.isOverAxis(k,t,C)&&o.ui.isOverAxis(q,B,D)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,
SHIFT:16,SPACE:32,TAB:9,UP:38}};o.fn.extend({_focus:o.fn.focus,focus:function(k,q){return typeof k==="number"?this.each(function(){var t=this;setTimeout(function(){o(t).focus();q&&q.call(t)},k)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var k;
k=o.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(o.curCSS(this,"position",1))&&/(auto|scroll)/.test(o.curCSS(this,"overflow",1)+o.curCSS(this,"overflow-y",1)+o.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(o.curCSS(this,"overflow",1)+o.curCSS(this,"overflow-y",1)+o.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||
!k.length?o(document):k},zIndex:function(k){if(k!==undefined)return this.css("zIndex",k);if(this.length){k=o(this[0]);for(var q;k.length&&k[0]!==document;){q=k.css("position");if(q=="absolute"||q=="relative"||q=="fixed"){q=parseInt(k.css("zIndex"));if(!isNaN(q)&&q!=0)return q}k=k.parent()}}return 0}});o.extend(o.expr[":"],{data:function(k,q,t){return!!o.data(k,t[3])},focusable:function(k){var q=k.nodeName.toLowerCase(),t=o.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(q)?!k.disabled:
"a"==q||"area"==q?k.href||!isNaN(t):!isNaN(t))&&!o(k)["area"==q?"parents":"closest"](":hidden").length},tabbable:function(k){var q=o.attr(k,"tabindex");return(isNaN(q)||q>=0)&&o(k).is(":focusable")}})}(jQuery);
(function(o){var k=o.fn.remove;o.fn.remove=function(q,t){return this.each(function(){if(!t)if(!q||o.filter(q,[this]).length)o("*",this).add(this).each(function(){o(this).triggerHandler("remove")});return k.call(o(this),q,t)})};o.widget=function(q,t,B){var C=q.split(".")[0],D;q=q.split(".")[1];D=C+"-"+q;if(!B){B=t;t=o.Widget}o.expr[":"][D]=function(O){return!!o.data(O,q)};o[C]=o[C]||{};o[C][q]=function(O,L){arguments.length&&this._createWidget(O,L)};t=new t;t.options=o.extend({},t.options);o[C][q].prototype=
o.extend(true,t,{namespace:C,widgetName:q,widgetEventPrefix:o[C][q].prototype.widgetEventPrefix||q,widgetBaseClass:D},B);o.widget.bridge(q,o[C][q])};o.widget.bridge=function(q,t){o.fn[q]=function(B){var C=typeof B==="string",D=Array.prototype.slice.call(arguments,1),O=this;B=!C&&D.length?o.extend.apply(null,[true,B].concat(D)):B;if(C&&B.substring(0,1)==="_")return O;C?this.each(function(){var L=o.data(this,q),S=L&&o.isFunction(L[B])?L[B].apply(L,D):L;if(S!==L&&S!==undefined){O=S;return false}}):this.each(function(){var L=
o.data(this,q);if(L){B&&L.option(B);L._init()}else o.data(this,q,new t(B,this))});return O}};o.Widget=function(q,t){arguments.length&&this._createWidget(q,t)};o.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(q,t){this.element=o(t).data(this.widgetName,this);this.options=o.extend(true,{},this.options,o.metadata&&o.metadata.get(t)[this.widgetName],q);var B=this;this.element.bind("remove."+this.widgetName,function(){B.destroy()});this._create();
this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled")},widget:function(){return this.element},option:function(q,t){var B=q,C=this;if(arguments.length===0)return o.extend({},C.options);if(typeof q==="string"){if(t===undefined)return this.options[q];B={};B[q]=t}o.each(B,
function(D,O){C._setOption(D,O)});return C},_setOption:function(q,t){this.options[q]=t;if(q==="disabled")this.widget()[t?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",t);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(q,t,B){var C=this.options[q];t=o.Event(t);t.type=(q===this.widgetEventPrefix?q:this.widgetEventPrefix+q).toLowerCase();
B=B||{};if(t.originalEvent){q=o.event.props.length;for(var D;q;){D=o.event.props[--q];t[D]=t.originalEvent[D]}}this.element.trigger(t,B);return!(o.isFunction(C)&&C.call(this.element[0],t,B)===false||t.isDefaultPrevented())}}})(jQuery);
(function(o){o.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},_create:function(){var k=this.options,q=this;this.running=0;this.element.addClass("ui-accordion ui-widget ui-helper-reset");
this.element[0].nodeName=="UL"&&this.element.children("li").addClass("ui-accordion-li-fix");this.headers=this.element.find(k.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){o(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){o(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){o(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){o(this).removeClass("ui-state-focus")});
this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(k.navigation){var t=this.element.find("a").filter(k.navigationFilter);if(t.length){var B=t.closest(".ui-accordion-header");this.active=B.length?B:t.closest(".ui-accordion-content").prev()}}this.active=this._findActive(this.active||k.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");
this._createIcons();o.browser.msie&&this.element.find("a").css("zoom","1");this.resize();this.element.attr("role","tablist");this.headers.attr("role","tab").bind("keydown",function(C){return q._keydown(C)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();this.active.length?this.active.attr("aria-expanded","true").attr("tabIndex","0"):this.headers.eq(0).attr("tabIndex","0");o.browser.safari||this.headers.find("a").attr("tabIndex",
"-1");k.event&&this.headers.bind(k.event+".accordion",function(C){q._clickHandler.call(q,C,this);C.preventDefault()})},_createIcons:function(){var k=this.options;if(k.icons){o("<span/>").addClass("ui-icon "+k.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(k.icons.header).toggleClass(k.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},
destroy:function(){var k=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");this.headers.find("a").removeAttr("tabindex");this._destroyIcons();var q=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");
if(k.autoHeight||k.fillHeight)q.css("height","");return this},_setOption:function(k,q){o.Widget.prototype._setOption.apply(this,arguments);k=="active"&&this.activate(q);if(k=="icons"){this._destroyIcons();q&&this._createIcons()}},_keydown:function(k){var q=o.ui.keyCode;if(!(this.options.disabled||k.altKey||k.ctrlKey)){var t=this.headers.length,B=this.headers.index(k.target),C=false;switch(k.keyCode){case q.RIGHT:case q.DOWN:C=this.headers[(B+1)%t];break;case q.LEFT:case q.UP:C=this.headers[(B-1+t)%
t];break;case q.SPACE:case q.ENTER:this._clickHandler({target:k.target},k.target);k.preventDefault()}if(C){o(k.target).attr("tabIndex","-1");o(C).attr("tabIndex","0");C.focus();return false}return true}},resize:function(){var k=this.options,q;if(k.fillSpace){if(o.browser.msie){var t=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}q=this.element.parent().height();o.browser.msie&&this.element.parent().css("overflow",t);this.headers.each(function(){q-=o(this).outerHeight(true)});
this.headers.next().each(function(){o(this).height(Math.max(0,q-o(this).innerHeight()+o(this).height()))}).css("overflow","auto")}else if(k.autoHeight){q=0;this.headers.next().each(function(){q=Math.max(q,o(this).height())}).height(q)}return this},activate:function(k){this.options.active=k;k=this._findActive(k)[0];this._clickHandler({target:k},k);return this},_findActive:function(k){return k?typeof k=="number"?this.headers.filter(":eq("+k+")"):this.headers.not(this.headers.not(k)):k===false?o([]):
this.headers.filter(":eq(0)")},_clickHandler:function(k,q){var t=this.options;if(!t.disabled)if(k.target){var B=o(k.currentTarget||q),C=B[0]==this.active[0];t.active=t.collapsible&&C?false:o(".ui-accordion-header",this.element).index(B);if(!(this.running||!t.collapsible&&C)){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(t.icons.headerSelected).addClass(t.icons.header);if(!C){B.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(t.icons.header).addClass(t.icons.headerSelected);
B.next().addClass("ui-accordion-content-active")}L=B.next();D=this.active.next();O={options:t,newHeader:C&&t.collapsible?o([]):B,oldHeader:this.active,newContent:C&&t.collapsible?o([]):L,oldContent:D};t=this.headers.index(this.active[0])>this.headers.index(B[0]);this.active=C?o([]):B;this._toggle(L,D,O,C,t)}}else if(t.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(t.icons.headerSelected).addClass(t.icons.header);
this.active.next().addClass("ui-accordion-content-active");var D=this.active.next(),O={options:t,newHeader:o([]),oldHeader:t.active,newContent:o([]),oldContent:D},L=this.active=o([]);this._toggle(L,D,O)}},_toggle:function(k,q,t,B,C){var D=this.options,O=this;this.toShow=k;this.toHide=q;this.data=t;var L=function(){if(O)return O._completed.apply(O,arguments)};this._trigger("changestart",null,this.data);this.running=q.size()===0?k.size():q.size();if(D.animated){t={};t=D.collapsible&&B?{toShow:o([]),
toHide:q,complete:L,down:C,autoHeight:D.autoHeight||D.fillSpace}:{toShow:k,toHide:q,complete:L,down:C,autoHeight:D.autoHeight||D.fillSpace};if(!D.proxied)D.proxied=D.animated;if(!D.proxiedDuration)D.proxiedDuration=D.duration;D.animated=o.isFunction(D.proxied)?D.proxied(t):D.proxied;D.duration=o.isFunction(D.proxiedDuration)?D.proxiedDuration(t):D.proxiedDuration;B=o.ui.accordion.animations;var S=D.duration,G=D.animated;if(G&&!B[G]&&!o.easing[G])G="slide";B[G]||(B[G]=function(T){this.slide(T,{easing:G,
duration:S||700})});B[G](t)}else{if(D.collapsible&&B)k.toggle();else{q.hide();k.show()}L(true)}q.prev().attr("aria-expanded","false").attr("tabIndex","-1").blur();k.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(k){var q=this.options;this.running=k?0:--this.running;if(!this.running){q.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");this._trigger("change",null,this.data)}}});o.extend(o.ui.accordion,
{version:"1.8",animations:{slide:function(k,q){k=o.extend({easing:"swing",duration:300},k,q);if(k.toHide.size())if(k.toShow.size()){var t=k.toShow.css("overflow"),B=0,C={},D={},O,L=k.toShow;O=L[0].style.width;L.width(parseInt(L.parent().width(),10)-parseInt(L.css("paddingLeft"),10)-parseInt(L.css("paddingRight"),10)-(parseInt(L.css("borderLeftWidth"),10)||0)-(parseInt(L.css("borderRightWidth"),10)||0));o.each(["height","paddingTop","paddingBottom"],function(S,G){D[G]="hide";var T=(""+o.css(k.toShow[0],
G)).match(/^([\d+-.]+)(.*)$/);C[G]={value:T[1],unit:T[2]||"px"}});k.toShow.css({height:0,overflow:"hidden"}).show();k.toHide.filter(":hidden").each(k.complete).end().filter(":visible").animate(D,{step:function(S,G){if(G.prop=="height")B=G.end-G.start===0?0:(G.now-G.start)/(G.end-G.start);k.toShow[0].style[G.prop]=B*C[G.prop].value+C[G.prop].unit},duration:k.duration,easing:k.easing,complete:function(){k.autoHeight||k.toShow.css("height","");k.toShow.css("width",O);k.toShow.css({overflow:t});k.complete()}})}else k.toHide.animate({height:"hide"},
k);else k.toShow.animate({height:"show"},k)},bounceslide:function(k){this.slide(k,{easing:k.down?"easeOutBounce":"swing",duration:k.down?1E3:200})}}})})(jQuery);
jQuery.cookie=function(o,k,q){if(typeof k!="undefined"){q=q||{};if(k===null){k="";q.expires=-1}var t="";if(q.expires&&(typeof q.expires=="number"||q.expires.toUTCString)){if(typeof q.expires=="number"){t=new Date;t.setTime(t.getTime()+q.expires*24*60*60*1E3)}else t=q.expires;t="; expires="+t.toUTCString()}var B=q.path?"; path="+q.path:"",C=q.domain?"; domain="+q.domain:"";q=q.secure?"; secure":"";document.cookie=[o,"=",encodeURIComponent(k),t,B,C,q].join("")}else{k=null;if(document.cookie&&document.cookie!=
""){q=document.cookie.split(";");for(t=0;t<q.length;t++){B=jQuery.trim(q[t]);if(B.substring(0,o.length+1)==o+"="){k=decodeURIComponent(B.substring(o.length+1));break}}}return k}};
(function(o,k){var q=function(C){var D,O,L=[],S;if(typeof C=="object"){for(D in C){if(typeof C[D]=="object"){S=[];for(O in C[D])S.push([O,"=",encodeURIComponent(C[D][O])][B](""));C[D]=S[B]("&amp;")}C[D]&&L.push(['<param name="',D,'" value="',C[D],'" />'][B](""))}C=L[B]("")}return C},t=false,B="join";o[k]=function(){try{var C="0,0,0",D=navigator.plugins["Shockwave Flash"]||ActiveXObject,O;if(!(O=D.description))a:{try{O=(new D("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version");break a}catch(L){}O=
void 0}C=O}catch(S){}C=C.match(/^[A-Za-z\s]*?(\d+)[\.|,](\d+)(?:\s+[d|r]|,)(\d+)/);return{available:C[1]>0,activeX:D&&!D.name,version:{major:C[1]*1,minor:C[2]*1,release:C[3]*1},hasVersion:function(G){var T=this.version;G=/string|number/.test(typeof G)?G.toString().split("."):G||[0,0,0];G=[G.major||G[0]||T.major,G.minor||G[1]||T.minor,G.release||G[2]||T.release];return G[0]<T.major||G[0]==T.major&&G[1]<T.minor||G[0]==T.major&&G[1]==T.minor&&G[2]<=T.release},expressInstall:"expressInstall.swf",create:function(G){if(!o[k].available||
t||!typeof G=="object"||!G.swf)return false;if(G.hasVersion&&!o[k].hasVersion(G.hasVersion)){G={swf:G.expressInstall||o[k].expressInstall,attrs:{id:G.id||"SWFObjectExprInst",name:G.name,height:Math.max(G.height||137),width:Math.max(G.width||214)},params:{flashvars:{MMredirectURL:location.href,MMplayerType:o[k].activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}};t=true}else G=o.extend(true,{attrs:{id:G.id,name:G.name,height:G.height||180,width:G.width||
320},params:{wmode:G.wmode||"opaque",flashvars:G.flashvars}},G);if(o[k].activeX){G.attrs.classid=G.attrs.classid||"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";G.params.movie=G.params.movie||G.swf}else{G.attrs.type=G.attrs.classid||"application/x-shockwave-flash";G.attrs.data=G.attrs.data||G.swf}var T=G.attrs,R,da=[];for(R in T)/string|number/.test(typeof T[R])&&T[R]!==""&&da.push(R+'="'+T[R]+'"');return["<object ",da[B](""),">",q(G.params),"</object>"][B]("")}}}();o.fn[k]=function(C){if(typeof C==
"object")this.each(function(){var D=document.createElement(k),O=o[k].create(C);if(O){D.innerHTML=O;D.childNodes[0]&&this.appendChild(D.childNodes[0])}});else typeof C=="function"&&this.find("object").andSelf().filter("object").each(function(){var D=this;D.jsInteractionTimeoutMs=D.jsInteractionTimeoutMs||0;if(D.jsInteractionTimeoutMs<660)D.clientWidth||D.clientHeight?C.call(this):setTimeout(function(){o(D)[k](C)},D.jsInteractionTimeoutMs+66)});return this}})(jQuery,"flash");
(function(o,k){function q(i){if(h.options.enableKeys)(i?ka:c)(document,"keydown",t)}function t(i){if(!(i.metaKey||i.shiftKey||i.altKey||i.ctrlKey)){var p;switch(i.keyCode){case 81:case 88:case 27:p=h.close;break;case 37:p=h.previous;break;case 39:p=h.next;break;case 32:p=typeof $=="number"?h.pause:h.play}if(p){i.preventDefault();p()}}}function B(i){q(false);var p=h.getCurrent(),l=p.player=="inline"?"html":p.player;if(typeof h[l]!="function")throw"unknown player "+l;if(i){h.player.remove();h.revertOptions();
h.applyOptions(p.options||{})}h.player=new h[l](p,h.playerId);if(h.gallery.length>1){p=h.gallery[h.current+1]||h.gallery[0];if(p.player=="img")(new Image).src=p.content;p=h.gallery[h.current-1]||h.gallery[h.gallery.length-1];if(p.player=="img")(new Image).src=p.content}h.skin.onLoad(i,C)}function C(){if(ba)if(typeof h.player.ready!="undefined")var i=setInterval(function(){if(ba){if(h.player.ready){clearInterval(i);i=null;h.skin.onReady(D)}}else{clearInterval(i);i=null}},10);else h.skin.onReady(D)}
function D(){if(ba){h.player.append(h.skin.body,h.dimensions);h.skin.onShow(O)}}function O(){if(ba){h.player.onLoad&&h.player.onLoad();h.options.onFinish(h.getCurrent());h.isPaused()||h.play();q(true)}}function L(i,p){for(var l in p)i[l]=p[l];return i}function S(i,p){for(var l=0,z=i.length,x=i[0];l<z&&p.call(x,l,x)!==false;x=i[++l]);}function G(i,p){return i.replace(/\{(\w+?)\}/g,function(l,z){return p[z]})}function T(){}function R(i){return document.getElementById(i)}function da(i){i.parentNode.removeChild(i)}
function ka(i,p,l){jQuery(i).bind(p,l)}function c(i,p,l){jQuery(i).unbind(p,l)}function Va(){if(!Ja){try{document.documentElement.doScroll("left")}catch(i){setTimeout(Va,1);return}h.load()}}function Wa(i){h.open(this);h.gallery.length&&i.preventDefault()}function E(){var i=h.dimensions;L(ja.style,{height:i.innerHeight+"px",width:i.innerWidth+"px"})}function Ea(i){i.preventDefault();i=[i.pageX,i.pageY];Z.startX=i[0];Z.startY=i[1];ra=R(h.player.id);ka(document,"mousemove",Xa);ka(document,"mouseup",
Ya);if(h.isGecko)ja.style.cursor="-moz-grabbing"}function Xa(i){var p=h.player,l=h.dimensions;i=[i.pageX,i.pageY];var z=i[0]-Z.startX;Z.startX+=z;Z.x=Math.max(Math.min(0,Z.x+z),l.innerWidth-p.width);i=i[1]-Z.startY;Z.startY+=i;Z.y=Math.max(Math.min(0,Z.y+i),l.innerHeight-p.height);L(ra.style,{left:Z.x+"px",top:Z.y+"px"})}function Ya(){c(document,"mousemove",Xa);c(document,"mouseup",Ya);if(h.isGecko)ja.style.cursor="-moz-grab"}function aa(i,p,l,z,x){var H=p=="opacity",J=H?h.setOpacity:function(La,
ib){La.style[p]=""+ib+"px"};if(z==0||!H&&!h.options.animate||H&&!h.options.animateFade){J(i,l);x&&x()}else{var Y=parseFloat(h.getStyle(i,p))||0,sa=l-Y;if(sa==0)x&&x();else{z*=1E3;var na=(new Date).getTime(),wa=h.ease,Ga=na+z,xa,Da=setInterval(function(){xa=(new Date).getTime();if(xa>=Ga){clearInterval(Da);Da=null;J(i,l);x&&x()}else J(i,Y+wa((xa-na)/z)*sa)},10)}}}function Za(){ha.style.height=h.getWindowSize("Height")+"px";ha.style.width=h.getWindowSize("Width")+"px"}function Na(){ha.style.top=document.documentElement.scrollTop+
"px";ha.style.left=document.documentElement.scrollLeft+"px"}function ya(i){if(i)S(Ta,function(p,l){l[0].style.visibility=l[1]||""});else{Ta=[];S(h.options.troubleElements,function(p,l){S(document.getElementsByTagName(l),function(z,x){Ta.push([x,x.style.visibility]);x.style.visibility="hidden"})})}}function ia(i,p){var l=R("sb-nav-"+i);if(l)l.style.display=p?"":"none"}function za(i,p){var l=R("sb-loading"),z=h.getCurrent().player;z=z=="img"||z=="html";if(i){h.setOpacity(l,0);l.style.display="block";
var x=function(){h.clearOpacity(l);p&&p()};z?aa(l,"opacity",1,h.options.fadeDuration,x):x()}else{x=function(){l.style.display="none";h.clearOpacity(l);p&&p()};z?aa(l,"opacity",0,h.options.fadeDuration,x):x()}}function Aa(i,p){var l=R("sb-title"),z=R("sb-info");l=l.offsetHeight;z=z.offsetHeight;var x=R("sb-title-inner"),H=R("sb-info-inner"),J=i?0.35:0;aa(x,"marginTop",l,J);aa(H,"marginTop",z*-1,J,function(){x.style.visibility=H.style.visibility="hidden";p()})}function ta(i,p,l,z){var x=R("sb-wrapper-inner");
l=l?h.options.resizeDuration:0;aa(ma,"top",p,l);aa(x,"height",i,l,z)}function ua(i,p,l,z){l=l?h.options.resizeDuration:0;aa(ma,"left",p,l);aa(ma,"width",i,l,z)}function Fa(i,p){var l=R("sb-body-inner");i=parseInt(i);p=parseInt(p);var z=ma.offsetHeight-l.offsetHeight;l=ma.offsetWidth-l.offsetWidth;var x=ca.offsetHeight,H=ca.offsetWidth,J=parseInt(h.options.viewportPadding)||20;return h.setDimensions(i,p,x,H,z,l,J,h.player&&h.options.handleOversize!="drag")}var h={version:"3.0.3"},W=navigator.userAgent.toLowerCase();
if(W.indexOf("windows")>-1||W.indexOf("win32")>-1)h.isWindows=true;else if(W.indexOf("macintosh")>-1||W.indexOf("mac os x")>-1)h.isMac=true;else if(W.indexOf("linux")>-1)h.isLinux=true;h.isIE=W.indexOf("msie")>-1;h.isIE6=W.indexOf("msie 6")>-1;h.isIE7=W.indexOf("msie 7")>-1;h.isGecko=W.indexOf("gecko")>-1&&W.indexOf("safari")==-1;h.isWebKit=W.indexOf("applewebkit/")>-1;var pa=/#(.+)$/,gb=/^(light|shadow)box\[(.*?)\]/i,$a=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,ab=/[0-9a-z]+$/i,Oa=/(.+\/)shadowbox\.js/i,ba=
false,bb=false,cb={},la=0,Ha,$;h.current=-1;h.dimensions=null;h.ease=function(i){return 1+Math.pow(i-1,3)};h.errorInfo={fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};h.gallery=[];h.onReady=T;h.path=null;h.player=null;h.playerId="sb-player";h.options={animate:true,
animateFade:true,autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:T,onClose:T,onFinish:T,onOpen:T,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};h.getCurrent=function(){return h.current>-1?h.gallery[h.current]:null};h.hasNext=function(){return h.gallery.length>1&&(h.current!=h.gallery.length-1||h.options.continuous)};h.isOpen=
function(){return ba};h.isPaused=function(){return $=="pause"};h.applyOptions=function(i){cb=L({},h.options);L(h.options,i)};h.revertOptions=function(){L(h.options,cb)};h.init=function(i,p){if(!bb){bb=true;h.skin.options&&L(h.options,h.skin.options);i&&L(h.options,i);if(!h.path)for(var l,z=document.getElementsByTagName("script"),x=0,H=z.length;x<H;++x)if(l=Oa.exec(z[x].src)){h.path=l[1];break}if(p)h.onReady=p;if(document.readyState==="complete")h.load();else if(document.addEventListener){document.addEventListener("DOMContentLoaded",
va,false);o.addEventListener("load",h.load,false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",va);o.attachEvent("onload",h.load);l=false;try{l=o.frameElement===null}catch(J){}document.documentElement.doScroll&&l&&Va()}}};h.open=function(i){if(!ba){i=h.makeGallery(i);h.gallery=i[0];h.current=i[1];i=h.getCurrent();if(i!=null){h.applyOptions(i.options||{});i=h.errorInfo;for(var p=h.plugins,l,z,x,H,J=0;J<h.gallery.length;++J){l=h.gallery[J];z=false;x=null;switch(l.player){case "flv":case "swf":p.fla||
(x="fla");break;case "qt":p.qt||(x="qt");break;case "wmp":if(h.isMac)if(p.qt&&p.f4m)l.player="qt";else x="qtf4m";else p.wmp||(x="wmp");break;case "qtwmp":if(p.qt)l.player="qt";else if(p.wmp)l.player="wmp";else x="qtwmp"}if(x)if(h.options.handleUnsupported=="link"){switch(x){case "qtf4m":H="shared";x=[i.qt.url,i.qt.name,i.f4m.url,i.f4m.name];break;case "qtwmp":H="either";x=[i.qt.url,i.qt.name,i.wmp.url,i.wmp.name];break;default:H="single";x=[i[x].url,i[x].name]}l.player="html";l.content='<div class="sb-message">'+
G(h.lang.errors[H],x)+"</div>"}else z=true;else if(l.player=="inline")if(H=pa.exec(l.content))if(H=R(H[1]))l.content=H.innerHTML;else z=true;else z=true;else if(l.player=="swf"||l.player=="flv"){H=l.options&&l.options.flashVersion||h.options.flashVersion;if(h.flash&&!h.flash.hasFlashPlayerVersion(H)){l.width=310;l.height=177}}if(z){h.gallery.splice(J,1);if(J<h.current)--h.current;else if(J==h.current)h.current=J>0?J-1:J;--J}}if(h.gallery.length){i=h.getCurrent();if(h.options.onOpen(i)!==false){ba=
true;h.skin.onOpen(i,B)}}}}};h.close=function(){if(ba){ba=false;if(h.player){h.player.remove();h.player=null}if(typeof $=="number"){clearTimeout($);$=null}la=0;q(false);h.options.onClose(h.getCurrent());h.skin.onClose();h.revertOptions()}};h.play=function(){if(h.hasNext()){la||(la=h.options.slideshowDelay*1E3);if(la){Ha=(new Date).getTime();$=setTimeout(function(){la=Ha=0;h.next()},la);h.skin.onPlay&&h.skin.onPlay()}}};h.pause=function(){if(typeof $=="number")if(la=Math.max(0,la-((new Date).getTime()-
Ha))){clearTimeout($);$="pause";h.skin.onPause&&h.skin.onPause()}};h.change=function(i){if(!(i in h.gallery))if(h.options.continuous){i=i<0?h.gallery.length+i:0;if(!(i in h.gallery))return}else return;h.current=i;if(typeof $=="number"){clearTimeout($);$=null;la=Ha=0}h.options.onChange(h.getCurrent());B(true)};h.next=function(){h.change(h.current+1)};h.previous=function(){h.change(h.current-1)};h.setDimensions=function(i,p,l,z,x,H,J,Y){var sa=i,na=p,wa=2*J+x;if(i+wa>l)i=l-wa;var Ga=2*J+H;if(p+Ga>z)p=
z-Ga;var xa=(sa-i)/sa,Da=(na-p)/na,La=xa>0||Da>0;if(Y&&La)if(xa>Da)p=Math.round(na/sa*i);else if(Da>xa)i=Math.round(sa/na*p);h.dimensions={height:i+x,width:p+H,innerHeight:i,innerWidth:p,top:Math.floor((l-(i+wa))/2+J),left:Math.floor((z-(p+Ga))/2+J),oversized:La};return h.dimensions};h.makeGallery=function(i){var p=[],l=-1;if(typeof i=="string")i=[i];if(typeof i.length=="number"){S(i,function(H,J){p[H]=J.content?J:{content:J}});l=0}else{if(i.tagName){var z=h.getCache(i);i=z?z:h.makeObject(i)}if(i.gallery){p=
[];for(var x in h.cache){z=h.cache[x];if(z.gallery&&z.gallery==i.gallery){if(l==-1&&z.content==i.content)l=p.length;p.push(z)}}if(l==-1){p.unshift(i);l=0}}else{p=[i];l=0}}S(p,function(H,J){p[H]=L({},J)});return[p,l]};h.makeObject=function(i,p){var l={content:i.href,title:i.getAttribute("title")||"",link:i};if(p){p=L({},p);S(["player","title","height","width","gallery"],function(H,J){if(typeof p[J]!="undefined"){l[J]=p[J];delete p[J]}});l.options=p}else l.options={};if(!l.player)l.player=h.getPlayer(l.content);
var z=i.getAttribute("rel");if(z){var x=z.match(gb);if(x)l.gallery=escape(x[2]);S(z.split(";"),function(H,J){if(x=J.match($a))l[x[1]]=x[2]})}return l};h.getPlayer=function(i){if(i.indexOf("#")>-1&&i.indexOf(document.location.href)==0)return"inline";var p=i.indexOf("?");if(p>-1)i=i.substring(0,p);var l;if(i=i.match(ab))l=i[0].toLowerCase();if(l){if(h.img&&h.img.ext.indexOf(l)>-1)return"img";if(h.swf&&h.swf.ext.indexOf(l)>-1)return"swf";if(h.flv&&h.flv.ext.indexOf(l)>-1)return"flv";if(h.qt&&h.qt.ext.indexOf(l)>
-1)return h.wmp&&h.wmp.ext.indexOf(l)>-1?"qtwmp":"qt";if(h.wmp&&h.wmp.ext.indexOf(l)>-1)return"wmp"}return"iframe"};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(i,p){var l=this.length>>>0;p=p||0;if(p<0)p+=l;for(;p<l;++p)if(p in this&&this[p]===i)return p;return-1};var oa=true,Ia=true;h.getStyle=function(){var i=/opacity=([^)]*)/,p=document.defaultView&&document.defaultView.getComputedStyle;return function(l,z){var x;if(!oa&&z=="opacity"&&l.currentStyle){x=i.test(l.currentStyle.filter||
"")?parseFloat(RegExp.$1)/100+"":"";return x===""?"1":x}if(p){var H=p(l,null);if(H)x=H[z];if(z=="opacity"&&x=="")x="1"}else x=l.currentStyle[z];return x}}();h.appendHTML=function(i,p){if(i.insertAdjacentHTML)i.insertAdjacentHTML("BeforeEnd",p);else if(i.lastChild){var l=i.ownerDocument.createRange();l.setStartAfter(i.lastChild);l=l.createContextualFragment(p);i.appendChild(l)}else i.innerHTML=p};h.getWindowSize=function(i){if(document.compatMode==="CSS1Compat")return document.documentElement["client"+
i];return document.body["client"+i]};h.setOpacity=function(i,p){var l=i.style;if(oa)l.opacity=p==1?"":p;else{l.zoom=1;if(p==1){if(typeof l.filter=="string"&&/alpha/i.test(l.filter))l.filter=l.filter.replace(/\s*[\w\.]*alpha\([^\)]*\);?/gi,"")}else l.filter=(l.filter||"").replace(/\s*[\w\.]*alpha\([^\)]*\)/gi,"")+" alpha(opacity="+p*100+")"}};h.clearOpacity=function(i){h.setOpacity(i,1)};jQuery.fn.shadowbox=function(i){return this.each(function(){var p=jQuery(this),l=jQuery.extend({},i||{},jQuery.metadata?
p.metadata():jQuery.meta?p.data():{}),z=this.className||"";l.width=parseInt((z.match(/w:(\d+)/)||[])[1])||l.width;l.height=parseInt((z.match(/h:(\d+)/)||[])[1])||l.height;Shadowbox.setup(p,l)})};var Ja=false,va;if(document.addEventListener)va=function(){document.removeEventListener("DOMContentLoaded",va,false);h.load()};else if(document.attachEvent)va=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",va);h.load()}};h.load=function(){if(!Ja){if(!document.body)return setTimeout(h.load,
13);Ja=true;var i=document.body,p=document.createElement("div");oa=typeof p.style.opacity==="string";p.style.position="fixed";p.style.margin=0;p.style.top="20px";i.appendChild(p,i.firstChild);Ia=p.offsetTop==20;i.removeChild(p);h.onReady();h.options.skipSetup||h.setup();h.skin.init()}};h.plugins={};if(navigator.plugins&&navigator.plugins.length){var qa=[];S(navigator.plugins,function(i,p){qa.push(p.name)});qa=qa.join(",");W=qa.indexOf("Flip4Mac")>-1;h.plugins={fla:qa.indexOf("Shockwave Flash")>-1,
qt:qa.indexOf("QuickTime")>-1,wmp:!W&&qa.indexOf("Windows Media")>-1,f4m:W}}else{W=function(i){var p;try{p=new ActiveXObject(i)}catch(l){}return!!p};h.plugins={fla:W("ShockwaveFlash.ShockwaveFlash"),qt:W("QuickTime.QuickTime"),wmp:W("wmplayer.ocx"),f4m:false}}var Pa=/^(light|shadow)box/i,Qa=1;h.cache={};h.select=function(i){var p=[];if(i){var l=i.length;if(l)if(typeof i=="string"){if(h.find)p=h.find(i)}else if(l==2&&typeof i[0]=="string"&&i[1].nodeType){if(h.find)p=h.find(i[0],i[1])}else for(var z=
0;z<l;++z)p[z]=i[z];else p.push(i)}else{var x;S(document.getElementsByTagName("a"),function(H,J){(x=J.getAttribute("rel"))&&Pa.test(x)&&p.push(J)})}return p};h.setup=function(i,p){S(h.select(i),function(l,z){h.addCache(z,p)})};h.teardown=function(i){S(h.select(i),function(p,l){h.removeCache(l)})};h.addCache=function(i,p){var l=i.shadowboxCacheKey;if(l==k){l=Qa++;i.shadowboxCacheKey=l;ka(i,"click",Wa)}h.cache[l]=h.makeObject(i,p)};h.removeCache=function(i){c(i,"click",Wa);delete h.cache[i.shadowboxCacheKey];
i.shadowboxCacheKey=null};h.getCache=function(i){i=i.shadowboxCacheKey;return i in h.cache&&h.cache[i]};h.clearCache=function(){for(var i in h.cache)h.removeCache(h.cache[i].link);h.cache={}};h.lang={code:"ru",of:"\u0438\u0437",loading:"\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430",cancel:"\u041e\u0442\u043c\u0435\u043d\u0430",next:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f",previous:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f",play:"\u041f\u0443\u0441\u043a",pause:"\u041f\u0430\u0443\u0437\u0430",
close:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",errors:{single:'\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043f\u043b\u0430\u0433\u0438\u043d <a href="{0}">{1}</a>, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442.',shared:'\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438 <a href="{0}">{1}</a>, \u0438 <a href="{2}">{3}</a>.',
either:'\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u043b\u0438 <a href="{0}">{1}</a> \u043f\u043b\u0430\u0433\u0438\u043d, \u0438\u043b\u0438 <a href="{2}">{3}</a>, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442.'}};var ea,Z,ja,ra;h.img=function(i,p){this.obj=i;this.id=p;this.ready=false;var l=this;ea=new Image;
ea.onload=function(){l.height=i.height?parseInt(i.height,10):ea.height;l.width=i.width?parseInt(i.width,10):ea.width;l.ready=true;ea=ea.onload=null};ea.src=i.content};h.img.ext=["bmp","gif","jpg","jpeg","png"];h.img.prototype={append:function(i,p){var l=document.createElement("img");l.id=this.id;l.src=this.obj.content;l.style.position="absolute";var z,x;if(p.oversized&&h.options.handleOversize=="resize"){z=p.innerHeight;x=p.innerWidth}else{z=this.height;x=this.width}l.setAttribute("height",z);l.setAttribute("width",
x);i.appendChild(l)},remove:function(){var i=R(this.id);i&&da(i);if(ja){c(ja,"mousedown",Ea);da(ja);ja=null}ra=null;if(ea)ea=ea.onload=null},onLoad:function(){if(h.dimensions.oversized&&h.options.handleOversize=="drag"){Z={x:0,y:0,startX:null,startY:null};var i=["position:absolute","cursor:"+(h.isGecko?"-moz-grab":"move"),"background-color:"+(h.isIE?"#fff;filter:alpha(opacity=0)":"transparent")].join(";");h.appendHTML(h.skin.body,'<div id="sb-drag-proxy" style="'+i+'"></div>');ja=R("sb-drag-proxy");
E();ka(ja,"mousedown",Ea)}},onWindowResize:function(){var i=h.dimensions;switch(h.options.handleOversize){case "resize":var p=R(this.id);p.height=i.innerHeight;p.width=i.innerWidth;break;case "drag":if(ra){p=parseInt(h.getStyle(ra,"top"));var l=parseInt(h.getStyle(ra,"left"));if(p+this.height<i.innerHeight)ra.style.top=i.innerHeight-this.height+"px";if(l+this.width<i.innerWidth)ra.style.left=i.innerWidth-this.width+"px";E()}}}};var Sa=false,Ta=[],eb=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause",
"sb-nav-previous"],ha,ca,ma,Ua=true,X={};X.markup='<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-wrapper-inner"><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><div id="sb-loading-inner"><span>{loading}</span></div></div></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div></div></div></div></div>';
X.options={animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]};X.init=function(){h.appendHTML(document.body,G(X.markup,h.lang));X.body=R("sb-body-inner");ha=R("sb-container");ca=R("sb-overlay");ma=R("sb-wrapper");if(!Ia)ha.style.position="absolute";if(!oa){var i,p,
l=/url\("(.*\.png)"\)/;S(eb,function(x,H){if(i=R(H))if(p=h.getStyle(i,"backgroundImage").match(l)){i.style.backgroundImage="none";i.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+p[1]+",sizingMethod=scale);"}})}var z;ka(o,"resize",function(){if(z){clearTimeout(z);z=null}if(ba)z=setTimeout(X.onWindowResize,10)})};X.onOpen=function(i,p){Ua=false;ha.style.display="block";Za();var l=Fa(h.options.initialHeight,h.options.initialWidth);ta(l.innerHeight,l.top);ua(l.width,
l.left);if(h.options.showOverlay){ca.style.backgroundColor=h.options.overlayColor;h.setOpacity(ca,0);h.options.modal||ka(ca,"click",h.close);Sa=true}if(!Ia){Na();ka(o,"scroll",Na)}ya();ha.style.visibility="visible";Sa?aa(ca,"opacity",h.options.overlayOpacity,h.options.fadeDuration,p):p()};X.onLoad=function(i,p){for(za(true);X.body.firstChild;)da(X.body.firstChild);Aa(i,function(){if(ba){if(!i)ma.style.visibility="visible";var l=h.getCurrent();R("sb-title-inner").innerHTML=l.title||"";var z,x,H,J,
Y;if(h.options.displayNav){z=true;l=h.gallery.length;if(l>1)if(h.options.continuous)x=Y=true;else{x=l-1>h.current;Y=h.current>0}if(h.options.slideshowDelay>0&&h.hasNext()){J=!h.isPaused();H=!J}}else z=x=H=J=Y=false;ia("close",z);ia("next",x);ia("play",H);ia("pause",J);ia("previous",Y);x="";if(h.options.displayCounter&&h.gallery.length>1){l=h.gallery.length;if(h.options.counterType=="skip"){H=0;Y=l;J=parseInt(h.options.counterLimit)||0;if(J<l&&J>2){Y=Math.floor(J/2);H=h.current-Y;if(H<0)H+=l;Y=h.current+
(J-Y);if(Y>l)Y-=l}for(;H!=Y;){if(H==l)H=0;x+='<a onclick="Shadowbox.change('+H+');"';if(H==h.current)x+=' class="sb-counter-current"';x+=">"+ ++H+"</a>"}}else x=[h.current+1,h.lang.of,l].join(" ")}R("sb-counter").innerHTML=x;p()}})};X.onReady=function(i){if(ba){var p=h.player,l=Fa(p.height,p.width),z=function(){var x=R("sb-title-inner"),H=R("sb-info-inner");x.style.visibility=H.style.visibility="";x.innerHTML!=""&&aa(x,"marginTop",0,0.35);aa(H,"marginTop",0,0.35,i)};switch(h.options.animSequence){case "hw":ta(l.innerHeight,
l.top,true,function(){ua(l.width,l.left,true,z)});break;case "wh":ua(l.width,l.left,true,function(){ta(l.innerHeight,l.top,true,z)});break;default:ua(l.width,l.left,true);ta(l.innerHeight,l.top,true,z)}}};X.onShow=function(i){za(false,i);Ua=true};X.onClose=function(){Ia||c(o,"scroll",Na);c(ca,"click",h.close);ma.style.visibility="hidden";var i=function(){ha.style.visibility="hidden";ha.style.display="none";ya(true)};Sa?aa(ca,"opacity",0,h.options.fadeDuration,i):i()};X.onPlay=function(){ia("play",
false);ia("pause",true)};X.onPause=function(){ia("pause",false);ia("play",true)};X.onWindowResize=function(){if(Ua){Za();var i=h.player,p=Fa(i.height,i.width);ua(p.width,p.left);ta(p.innerHeight,p.top);i.onWindowResize&&i.onWindowResize()}};h.skin=X;o.Shadowbox=h})(window);function getAbsPosition(o){for(var k=0,q=0;o;){k+=o.offsetLeft;q+=o.offsetTop;o=o.offsetParent}return{left:k,top:q}}
function piShow(o,k,q){piClearTimer();var t=document.getElementById("producer");if(q&&t.style.display=="block")t.style.display="none";else{q=getAbsPosition(o).left;o=getAbsPosition(o).top;t.getElementsByTagName("div")[0].innerHTML="<span>\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f:</span> "+producers[k][1]+'<br/><span>\u0412\u0435\u0431-\u0441\u0430\u0439\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f:</span> <a href="'+producers[k][2]+
'" target="_blank">'+producers[k][2]+"</a>";if(q+310>document.body.offsetWidth){t.style.left=q-280+"px";t.className="saleBubble saleBubbleRight"}else{t.style.left=q+"px";t.className="saleBubble"}t.style.top=o+10+"px";t.style.display="block"}return false}var piTimer=null,piOutInterval=100;function piClearTimer(){clearTimeout(piTimer);piTimer=null}function piMOHandler(o){if(o)document.getElementById("producer").style.display="none";else piTimer=setTimeout("piMOHandler(1)",piOutInterval)}
(function(o){o(function(){if(o("#float-portfolio").length){o("#float-portfolio").css("display",o(window).width()>1200?"block":"none");o(window).resize(function(){o("#float-portfolio").css("display",o(window).width()>1200?"block":"none")})}})})(jQuery);
