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