(function(k,s){function X(){if(!c.isReady){try{t.documentElement.doScroll("left")}catch(a){setTimeout(X,1);return}c.ready()}}function P(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 R(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var p in b)R(a,p,b[p],f,e,d);return a}if(d!==s){f=!j&&f&&c.isFunction(d);for(p=0;p<i;p++)e(a[p],b,f?d.call(a[p],p,e(a[p],b)):d,j);return a}return i?
e(a[0],b):s}function D(){return(new Date).getTime()}function L(){return false}function Q(){return true}function I(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Y(a){var b,d=[],f=[],e=arguments,j,i,p,l,o,u;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var w=i.live.slice(0);for(l=0;l<w.length;l++){i=w[l];i.origType.replace(ma,"")===a.type?f.push(i.selector):w.splice(l--,1)}j=c(a.target).closest(f,a.currentTarget);o=0;for(u=
j.length;o<u;o++)for(l=0;l<w.length;l++){i=w[l];if(j[o].selector===i.selector){p=j[o].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==p)d.push({elem:p,handleObj:i})}}o=0;for(u=d.length;o<u;o++){j=d[o];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function E(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function F(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ca(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 j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function na(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Fa.test(a[0])&&(c.support.checkClone||!Ga.test(a[0]))){e=
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function N(a,b){var d={};c.each(Ha.concat.apply([],Ha.slice(0,b)),function(){d[this]=a});return d}function qa(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)},oa=k.jQuery,O=k.$,t=k.document,ha,ra=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,y=/^.[^:#\[\.,]*$/,M=/\S/,
da=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,J=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ia=navigator.userAgent,Z=false,A=[],K,aa=Object.prototype.toString,ba=Object.prototype.hasOwnProperty,S=Array.prototype.push,T=Array.prototype.slice,ja=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=t;this[0]=t.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:t;if(a=J.exec(a))if(c.isPlainObject(b)){a=[t.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=na([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=t.getElementById(d[2])){if(b.id!==d[2])return ha.find(a);this.length=1;this[0]=b}this.context=t;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=t;a=t.getElementsByTagName(a);return c.merge(this,
a)}else return!b||b.jquery?(b||ha).find(a):c(b).find(a);else if(c.isFunction(a))return ha.ready(a);if(a.selector!==s){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 T.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)?S.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(t,c);else A&&A.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(T.apply(this,arguments),"slice",T.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:S,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,j,i,p;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(j in e){i=a[j];p=e[j];if(a!==p)if(f&&p&&(c.isPlainObject(p)||c.isArray(p))){i=i&&(c.isPlainObject(i)||
c.isArray(i))?i:c.isArray(p)?[]:{};a[j]=c.extend(f,i,p)}else if(p!==s)a[j]=p}return a};c.extend({noConflict:function(a){k.$=O;if(a)k.jQuery=oa;return c},isReady:false,ready:function(){if(!c.isReady){if(!t.body)return setTimeout(c.ready,13);c.isReady=true;if(A){for(var a,b=0;a=A[b++];)a.call(t,c);A=null}c.fn.triggerHandler&&c(t).triggerHandler("ready")}},bindReady:function(){if(!Z){Z=true;if(t.readyState==="complete")return c.ready();if(t.addEventListener){t.addEventListener("DOMContentLoaded",K,false);
k.addEventListener("load",c.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",K);k.attachEvent("onload",c.ready);var a=false;try{a=k.frameElement==null}catch(b){}t.documentElement.doScroll&&a&&X()}}},isFunction:function(a){return aa.call(a)==="[object Function]"},isArray:function(a){return aa.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||aa.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ba.call(a,"constructor")&&!ba.call(a.constructor.prototype,
"isPrototypeOf"))return false;var b;for(b in a);return b===s||ba.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 k.JSON&&k.JSON.parse?k.JSON.parse(a):(new Function("return "+
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&M.test(a)){var b=t.getElementsByTagName("head")[0]||t.documentElement,d=t.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(t.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,j=a.length,i=j===s||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],
d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(da,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?S.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]!==s;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,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=s}else if(b&&
!c.isFunction(b)){d=b;b=s}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:{}});ia=c.uaMatch(ia);if(ia.browser){c.browser[ia.browser]=true;c.browser.version=ia.version}if(c.browser.webkit)c.browser.safari=
true;if(ja)c.inArray=function(a,b){return ja.call(b,a)};ha=c(t);if(t.addEventListener)K=function(){t.removeEventListener("DOMContentLoaded",K,false);c.ready()};else if(t.attachEvent)K=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",K);c.ready()}};(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),f="script"+D();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:t.createElement("select").appendChild(t.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(t.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(k[f]){c.support.scriptEval=true;delete k[f]}try{delete b.test}catch(p){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function l(){c.support.noCloneEvent=
false;d.detachEvent("onclick",l)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var l=t.createElement("div");l.style.width=l.style.paddingLeft="1px";t.body.appendChild(l);c.boxModel=c.support.boxModel=l.offsetWidth===2;t.body.removeChild(l).style.display="none"});a=function(l){var o=
t.createElement("div");l="on"+l;var u=l in o;if(!u){o.setAttribute(l,"return;");u=typeof o[l]==="function"}return u};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ea="jQuery"+D(),Za=0,Ia={};c.extend({cache:{},expando:ea,noData:{embed:true,
object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==k?Ia:a;var f=a[ea],e=c.cache;if(!f&&typeof b==="string"&&d===s)return null;f||(f=++Za);if(typeof b==="object"){a[ea]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[ea]=f;e[f]={}}a=e[f];if(d!==s)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==k?Ia:a;var d=a[ea],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===s){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===s&&this.length)f=c.data(this[0],a);return f===s&&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===s)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 Ja=/[\n\t]/g,va=/\s+/,$a=/\r/g,ab=/href|src|style/,bb=
/(button|input)/i,cb=/(button|input|object|select|textarea)/i,db=/^(a|area)$/i,Ka=/radio|checkbox/;c.fn.extend({attr:function(a,b){return R(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(o){var u=c(this);u.addClass(a.call(this,o,u.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(va),d=0,f=this.length;d<f;d++){var e=this[d];
if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",i=e.className,p=0,l=b.length;p<l;p++)if(j.indexOf(" "+b[p]+" ")<0)i+=" "+b[p];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(l){var o=c(this);o.removeClass(a.call(this,l,o.attr("class")))});if(a&&typeof a==="string"||a===s)for(var b=(a||"").split(va),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Ja,
" "),i=0,p=b.length;i<p;i++)j=j.replace(" "+b[i]+" "," ");e.className=c.trim(j)}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 j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),p=b,l=a.split(va);e=l[j++];){p=f?p:!i.hasClass(e);i[p?"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(Ja," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===s){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 j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i=e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ka.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace($a,"")}return s}var p=c.isFunction(a);return this.each(function(l){var o=c(this),u=a;if(this.nodeType===1){if(p)u=a.call(this,l,o.val());if(typeof u==="number")u+="";if(c.isArray(u)&&Ka.test(this.type))this.checked=c.inArray(o.val(),u)>=0;else if(c.nodeName(this,"select")){var w=
c.makeArray(u);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),w)>=0});if(!w.length)this.selectedIndex=-1}else this.value=u}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return s;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==s;b=f&&c.props[b]||b;if(a.nodeType===1){var j=ab.test(b);if(b in a&&f&&!j){if(e){b==="type"&&bb.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:cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:s;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&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?s:a}return c.style(a,
b,d)}});var ma=/\.(.*)$/,eb=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!==k&&!a.frameElement)a=k;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},p=j.handle;if(!p)j.handle=p=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(p.elem,arguments):s};p.elem=a;b=b.split(" ");for(var l,o=0,u;l=b[o++];){j=
e?c.extend({},e):{handler:d,data:f};if(l.indexOf(".")>-1){u=l.split(".");l=u.shift();j.namespace=u.slice(0).sort().join(".")}else{u=[];j.namespace=""}j.type=l;j.guid=d.guid;var w=i[l],C=c.event.special[l]||{};if(!w){w=i[l]=[];if(!C.setup||C.setup.call(a,f,u,p)===false)if(a.addEventListener)a.addEventListener(l,p,false);else a.attachEvent&&a.attachEvent("on"+l,p)}if(C.add){C.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}w.push(j);c.event.global[l]=true}a=null}}},global:{},remove:function(a,
b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,p,l,o,u,w,C=c.data(a),H=C&&C.events;if(C&&H){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in H)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){o=e;i=e.indexOf(".")<0;p=[];if(!i){p=e.split(".");e=p.shift();l=new RegExp("(^|\\.)"+c.map(p.slice(0).sort(),eb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(u=H[e])if(d){o=c.event.special[e]||{};for(G=f||0;G<u.length;G++){w=u[G];if(d.guid===w.guid){if(i||
l.test(w.namespace)){f==null&&u.splice(G--,1);o.remove&&o.remove.call(a,w)}if(f!=null)break}}if(u.length===0||f!=null&&u.length===1){if(!o.teardown||o.teardown.call(a,p)===false)La(a,e,C.handle);delete H[e]}}else for(var G=0;G<u.length;G++){w=u[G];if(i||l.test(w.namespace)){c.event.remove(a,o,w.handler,G);u.splice(G--,1)}}}if(c.isEmptyObject(H)){if(b=C.handle)b.elem=null;delete C.events;delete C.handle;c.isEmptyObject(C)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a===
"object"?a[ea]?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 s;a.result=s;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(j){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,p=c.nodeName(f,"a")&&e==="click",l=c.event.special[e]||{};if((!l._default||l._default.call(d,a)===false)&&!p&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(o){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=
c.event.fix(a||k.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 j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==s){a.result=i;if(i===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[ea])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||
t;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=t.documentElement;d=t.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!==s)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:Y}))},remove:function(a){var b=true,d=a.origType.replace(ma,"");c.each(c.data(this,"events").live||[],function(){if(d===this.origType.replace(ma,""))return b=false});b&&c.event.remove(this,a.origType,Y)}},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 La=t.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=D();this[ea]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Q;var a=this.originalEvent;if(a){a.preventDefault&&
a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Q;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Q;this.stopPropagation()},isDefaultPrevented:L,isPropagationStopped:L,isImmediatePropagationStopped:L};var Ma=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){}},
Na=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?Na:Ma,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Na:Ma)}}});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 I("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 I("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var wa=/textarea|input|select/i,xa,Oa=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},ya=function(a,b){var d=a.target,f,e;if(!(!wa.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Oa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===s||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:ya,click:function(a){var b=a.target,d=b.type;
if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ya.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 ya.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Oa(a))}},setup:function(){if(this.type==="file")return false;for(var a in xa)c.event.add(this,a+".specialChange",xa[a]);return wa.test(this.nodeName)},teardown:function(){c.event.remove(this,
".specialChange");return wa.test(this.nodeName)}};xa=c.event.special.change.filters}t.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 j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=
f;f=s}var i=b==="one"?c.proxy(e,function(l){c(this).unbind(l,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var p=this.length;j<p;j++)c.event.add(this[j],d,i,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 Pa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,p=0,l,o,u=j||this.selector,w=j?this:c(this.context);if(c.isFunction(f)){e=f;f=s}for(d=(d||"").split(" ");(i=d[p++])!=null;){j=ma.exec(i);l="";if(j){l=j[0];i=i.replace(ma,"")}if(i==="hover")d.push("mouseenter"+l,"mouseleave"+l);else{o=i;if(i==="focus"||i==="blur"){d.push(Pa[i]+
l);i+=l}else i=(Pa[i]||i)+l;b==="live"?w.each(function(){c.event.add(this,E(i,u),{data:f,selector:u,handler:e,origType:i,origHandler:e,preType:o})}):w.unbind(E(i,u),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});k.attachEvent&&
!k.addEventListener&&k.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 h="",m,n=0;g[n];n++){m=g[n];if(m.nodeType===3||m.nodeType===4)h+=m.nodeValue;else if(m.nodeType!==8)h+=a(m.childNodes)}return h}function b(g,h,m,n,r,q){r=0;for(var x=n.length;r<x;r++){var v=n[r];if(v){v=v[g];for(var B=false;v;){if(v.sizcache===m){B=n[v.sizset];break}if(v.nodeType===1&&!q){v.sizcache=m;v.sizset=
r}if(v.nodeName.toLowerCase()===h){B=v;break}v=v[g]}n[r]=B}}}function d(g,h,m,n,r,q){r=0;for(var x=n.length;r<x;r++){var v=n[r];if(v){v=v[g];for(var B=false;v;){if(v.sizcache===m){B=n[v.sizset];break}if(v.nodeType===1){if(!q){v.sizcache=m;v.sizset=r}if(typeof h!=="string"){if(v===h){B=true;break}}else if(l.filter(h,[v]).length>0){B=v;break}}v=v[g]}n[r]=B}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,
j=Object.prototype.toString,i=false,p=true;[0,0].sort(function(){p=false;return 0});var l=function(g,h,m,n){m=m||[];var r=h=h||t;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return m;for(var q=[],x,v,B,pa,fa=true,ka=z(h),ga=g;(f.exec(""),x=f.exec(ga))!==null;){ga=x[3];q.push(x[1]);if(x[2]){pa=x[3];break}}if(q.length>1&&u.exec(g))if(q.length===2&&o.relative[q[0]])v=za(q[0]+q[1],h);else for(v=o.relative[q[0]]?[h]:l(q.shift(),h);q.length;){g=q.shift();if(o.relative[g])g+=q.shift();
v=za(g,v)}else{if(!n&&q.length>1&&h.nodeType===9&&!ka&&o.match.ID.test(q[0])&&!o.match.ID.test(q[q.length-1])){x=l.find(q.shift(),h,ka);h=x.expr?l.filter(x.expr,x.set)[0]:x.set[0]}if(h){x=n?{expr:q.pop(),set:C(n)}:l.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&h.parentNode?h.parentNode:h,ka);v=x.expr?l.filter(x.expr,x.set):x.set;if(q.length>0)B=C(v);else fa=false;for(;q.length;){var U=q.pop();x=U;if(o.relative[U])x=q.pop();else U="";if(x==null)x=h;o.relative[U](B,x,ka)}}else B=[]}B||(B=v);
B||l.error(U||g);if(j.call(B)==="[object Array]")if(fa)if(h&&h.nodeType===1)for(g=0;B[g]!=null;g++){if(B[g]&&(B[g]===true||B[g].nodeType===1&&V(h,B[g])))m.push(v[g])}else for(g=0;B[g]!=null;g++)B[g]&&B[g].nodeType===1&&m.push(v[g]);else m.push.apply(m,B);else C(B,m);if(pa){l(pa,r,m,n);l.uniqueSort(m)}return m};l.uniqueSort=function(g){if(G){i=p;g.sort(G);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};l.matches=function(g,h){return l(g,null,null,h)};l.find=function(g,h,m){var n,
r;if(!g)return[];for(var q=0,x=o.order.length;q<x;q++){var v=o.order[q];if(r=o.leftMatch[v].exec(g)){var B=r[1];r.splice(1,1);if(B.substr(B.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");n=o.find[v](r,h,m);if(n!=null){g=g.replace(o.match[v],"");break}}}}n||(n=h.getElementsByTagName("*"));return{set:n,expr:g}};l.filter=function(g,h,m,n){for(var r=g,q=[],x=h,v,B,pa=h&&h[0]&&z(h[0]);g&&h.length;){for(var fa in o.filter)if((v=o.leftMatch[fa].exec(g))!=null&&v[2]){var ka=o.filter[fa],ga,U;U=v[1];
B=false;v.splice(1,1);if(U.substr(U.length-1)!=="\\"){if(x===q)q=[];if(o.preFilter[fa])if(v=o.preFilter[fa](v,x,m,q,n,pa)){if(v===true)continue}else B=ga=true;if(v)for(var sa=0;(U=x[sa])!=null;sa++)if(U){ga=ka(U,v,sa,x);var Qa=n^!!ga;if(m&&ga!=null)if(Qa)B=true;else x[sa]=false;else if(Qa){q.push(U);B=true}}if(ga!==s){m||(x=q);g=g.replace(o.match[fa],"");if(!B)return[];break}}}if(g===r)if(B==null)l.error(g);else break;r=g}return x};l.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var o=l.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,h){var m=typeof h==="string",n=m&&!/\W/.test(h);m=m&&!n;if(n)h=h.toLowerCase();n=0;for(var r=g.length,q;n<r;n++)if(q=g[n]){for(;(q=q.previousSibling)&&q.nodeType!==1;);g[n]=m||q&&q.nodeName.toLowerCase()===h?q||false:q===h}m&&l.filter(h,g,true)},">":function(g,h){var m=typeof h==="string";if(m&&!/\W/.test(h)){h=h.toLowerCase();for(var n=0,r=g.length;n<r;n++){var q=
g[n];if(q){m=q.parentNode;g[n]=m.nodeName.toLowerCase()===h?m:false}}}else{n=0;for(r=g.length;n<r;n++)if(q=g[n])g[n]=m?q.parentNode:q.parentNode===h;m&&l.filter(h,g,true)}},"":function(g,h,m){var n=e++,r=d;if(typeof h==="string"&&!/\W/.test(h)){var q=h=h.toLowerCase();r=b}r("parentNode",h,n,g,q,m)},"~":function(g,h,m){var n=e++,r=d;if(typeof h==="string"&&!/\W/.test(h)){var q=h=h.toLowerCase();r=b}r("previousSibling",h,n,g,q,m)}},find:{ID:function(g,h,m){if(typeof h.getElementById!=="undefined"&&
!m)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var m=[];h=h.getElementsByName(g[1]);for(var n=0,r=h.length;n<r;n++)h[n].getAttribute("name")===g[1]&&m.push(h[n]);return m.length===0?null:m}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,m,n,r,q){g=" "+g[1].replace(/\\/g,"")+" ";if(q)return g;q=0;for(var x;(x=h[q])!=null;q++)if(x)if(r^(x.className&&(" "+x.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=
0))m||n.push(x);else if(m)h[q]=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 h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,m,n,r,q){h=g[1].replace(/\\/g,"");if(!q&&o.attrMap[h])g[1]=o.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,m,n,
r){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=l(g[3],null,null,h);else{g=l.filter(g[3],h,m,true^r);m||n.push.apply(n,g);return false}else if(o.match.POS.test(g[0])||o.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,h,m){return!!l(m[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,h){return h===0},last:function(g,h,m,n){return h===n.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,m){return h<m[3]-0},gt:function(g,h,m){return h>m[3]-0},nth:function(g,h,m){return m[3]-0===h},eq:function(g,h,m){return m[3]-0===h}},filter:{PSEUDO:function(g,h,m,n){var r=h[1],q=o.filters[r];if(q)return q(g,
m,h,n);else if(r==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(r==="not"){h=h[3];m=0;for(n=h.length;m<n;m++)if(h[m]===g)return false;return true}else l.error("Syntax error, unrecognized expression: "+r)},CHILD:function(g,h){var m=h[1],n=g;switch(m){case "only":case "first":for(;n=n.previousSibling;)if(n.nodeType===1)return false;if(m==="first")return true;n=g;case "last":for(;n=n.nextSibling;)if(n.nodeType===1)return false;return true;case "nth":m=h[2];var r=
h[3];if(m===1&&r===0)return true;h=h[0];var q=g.parentNode;if(q&&(q.sizcache!==h||!g.nodeIndex)){var x=0;for(n=q.firstChild;n;n=n.nextSibling)if(n.nodeType===1)n.nodeIndex=++x;q.sizcache=h}g=g.nodeIndex-r;return m===0?g===0:g%m===0&&g/m>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var m=
h[1];g=o.attrHandle[m]?o.attrHandle[m](g):g[m]!=null?g[m]:g.getAttribute(m);m=g+"";var n=h[2];h=h[4];return g==null?n==="!=":n==="="?m===h:n==="*="?m.indexOf(h)>=0:n==="~="?(" "+m+" ").indexOf(h)>=0:!h?m&&g!==false:n==="!="?m!==h:n==="^="?m.indexOf(h)===0:n==="$="?m.substr(m.length-h.length)===h:n==="|="?m===h||m.substr(0,h.length+1)===h+"-":false},POS:function(g,h,m,n){var r=o.setFilters[h[2]];if(r)return r(g,m,h,n)}}},u=o.match.POS;for(var w in o.match){o.match[w]=new RegExp(o.match[w].source+/(?![^\[]*\])(?![^\(]*\))/.source);
o.leftMatch[w]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[w].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var C=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(H){C=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var m=0,n=g.length;m<n;m++)h.push(g[m]);else for(m=0;g[m];m++)h.push(g[m]);return h}}var G;
if(t.documentElement.compareDocumentPosition)G=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in t.documentElement)G=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(t.createRange)G=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==
h)i=true;return g.ownerDocument?-1:1}var m=g.ownerDocument.createRange(),n=h.ownerDocument.createRange();m.setStart(g,0);m.setEnd(g,0);n.setStart(h,0);n.setEnd(h,0);g=m.compareBoundaryPoints(Range.START_TO_END,n);if(g===0)i=true;return g};(function(){var g=t.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var m=t.documentElement;m.insertBefore(g,m.firstChild);if(t.getElementById(h)){o.find.ID=function(n,r,q){if(typeof r.getElementById!=="undefined"&&!q)return(r=
r.getElementById(n[1]))?r.id===n[1]||typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id").nodeValue===n[1]?[r]:s:[]};o.filter.ID=function(n,r){var q=typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id");return n.nodeType===1&&q&&q.nodeValue===r}}m.removeChild(g);m=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(h,m){m=m.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var n=
0;m[n];n++)m[n].nodeType===1&&h.push(m[n]);m=h}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();t.querySelectorAll&&function(){var g=l,h=t.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){l=function(n,r,q,x){r=r||t;if(!x&&r.nodeType===9&&!z(r))try{return C(r.querySelectorAll(n),
q)}catch(v){}return g(n,r,q,x)};for(var m in g)l[m]=g[m];h=null}}();(function(){var g=t.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){o.order.splice(1,0,"CLASS");o.find.CLASS=function(h,m,n){if(typeof m.getElementsByClassName!=="undefined"&&!n)return m.getElementsByClassName(h[1])};g=null}}})();var V=t.compareDocumentPosition?
function(g,h){return!!(g.compareDocumentPosition(h)&16)}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},z=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},za=function(g,h){var m=[],n="",r;for(h=h.nodeType?[h]:h;r=o.match.PSEUDO.exec(g);){n+=r[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;r=0;for(var q=h.length;r<q;r++)l(g,h[r],m);return l.filter(n,m)};c.find=l;c.expr=l.selectors;c.expr[":"]=c.expr.filters;c.unique=l.uniqueSort;c.text=
a;c.isXMLDoc=z;c.contains=V})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,hb=/,/;T=Array.prototype.slice;var Ra=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,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(y.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 j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,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(Ra(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ra(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,j={},i;if(f&&a.length){e=0;for(var p=a.length;e<p;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var l=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(o,u){for(;u&&u.ownerDocument&&u!==b;){if(l?l.index(u)>-1:c(u).is(a))return u;
u=u.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(F(a[0])||F(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);fb.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||hb.test(f))&&gb.test(a))e=e.reverse();return this.pushStack(e,a,T.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===s||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 Sa=/ jQuery\d+="(?:\d+|null)"/g,ta=/^\s+/,Ta=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ua=/<([\w:]+)/,jb=/<tbody/i,kb=/<|&#?\w+;/,Fa=/<script|<object|<embed|<option|<style/i,
Ga=/checked\s*(?:[^=]|=\s*.checked.)/i,Va=function(a,b,d){return ib.test(d)?a:b+"></"+d+">"},W={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,"",""]};W.optgroup=W.option;W.tbody=W.tfoot=W.colgroup=W.caption=W.thead;W.th=W.td;if(!c.support.htmlSerialize)W._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!==s)return this.empty().append((this[0]&&this[0].ownerDocument||t).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(Sa,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ta,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ca(this,b);ca(this.find("*"),b.find("*"))}return b},html:function(a){if(a===s)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Sa,
""):null;else if(typeof a==="string"&&!Fa.test(a)&&(c.support.leadingWhitespace||!ta.test(a))&&!W[(Ua.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ta,Va);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 j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):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(w){return c.nodeName(w,"table")?w.getElementsByTagName("tbody")[0]||
w.appendChild(w.ownerDocument.createElement("tbody")):w}var e,j,i=a[0],p=[],l;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&Ga.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(w){var C=c(this);a[0]=i.call(this,w,b?C.html():s);C.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:na(a,this,p);l=e.fragment;if(j=l.childNodes.length===
1?(l=l.firstChild):l.firstChild){b=b&&c.nodeName(j,"tr");for(var o=0,u=this.length;o<u;o++)d.call(b?f(this[o],j):this[o],o>0||e.cacheable||this.length>1?l.cloneNode(true):l)}p.length&&c.each(p,P)}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 j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||t;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!kb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ta,Va);var p=(Ua.exec(i)||["",
""])[1].toLowerCase(),l=W[p]||W._default,o=l[0],u=b.createElement("div");for(u.innerHTML=l[1]+i+l[2];o--;)u=u.lastChild;if(!c.support.tbody){o=jb.test(i);p=p==="table"&&!o?u.firstChild&&u.firstChild.childNodes:l[1]==="<table>"&&!o?u.childNodes:[];for(l=p.length-1;l>=0;--l)c.nodeName(p[l],"tbody")&&!p[l].childNodes.length&&p[l].parentNode.removeChild(p[l])}!c.support.leadingWhitespace&&ta.test(i)&&u.insertBefore(b.createTextNode(ta.exec(i)[0]),u.firstChild);i=u.childNodes}if(i.nodeType)e.push(i);else e=
c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,p;(p=a[i])!=null;i++)if(d=p[c.expando]){b=f[d];if(b.events)for(var l in b.events)e[l]?
c.event.remove(p,l):La(p,l,b.handle);if(j)delete p[c.expando];else p.removeAttribute&&p.removeAttribute(c.expando);delete f[d]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Wa=/alpha\([^)]*\)/,Xa=/opacity=([^)]*)/,Aa=/float/i,Ba=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=t.defaultView&&t.defaultView.getComputedStyle,Ya=c.support.cssFloat?"cssFloat":"styleFloat",Ca=
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return R(this,a,b,true,function(d,f,e){if(e===s)return c.curCSS(d,f);if(typeof e==="number"&&!lb.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 s;if((b==="width"||b==="height")&&parseFloat(d)<0)d=s;var f=a.style||a,e=d!==s;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=
Wa.test(a)?a.replace(Wa,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Xa.exec(f.filter)[1])/100+"":""}if(Aa.test(b))b=Ya;b=b.replace(Ba,Ca);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?qb:rb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,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?i():c.swap(a,pb,i);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=Xa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(Aa.test(b))b=Ya;if(!d&&e&&e[b])f=e[b];else if(sb){if(Aa.test(b))b="float";b=b.replace(mb,"-$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(Ba,Ca);f=a.currentStyle[b]||a.currentStyle[d];if(!nb.test(f)&&ob.test(f)){b=e.left;var j=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=j}}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 tb=D(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,la=/=\?(&|$)/,Da=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=c.fn.load;c.fn.extend({load:function(a,b,
d){if(typeof a!=="string")return Ab.call(this,a);else if(!this.length)return this;var 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 j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,p){if(p==="success"||p==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(ub,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,
p,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vb.test(this.nodeName)||wb.test(this.type))}).map(function(a,b){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:k.XMLHttpRequest&&(k.location.protocol!=="file:"||!k.ActiveXObject)?function(){return new k.XMLHttpRequest}:function(){try{return new k.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(l,p,i,z);e.global&&f("ajaxSuccess",[z,e])}function d(){e.complete&&e.complete.call(l,z,i);e.global&&f("ajaxComplete",[z,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(r,q){(e.context?c(e.context):c.event).trigger(r,q)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,p,l=a&&a.context||e,o=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(o==="GET")la.test(e.url)||(e.url+=(Da.test(e.url)?
"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!la.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&la.test(e.data)||la.test(e.url))){j=e.jsonpCallback||"jsonp"+tb++;if(e.data)e.data=(e.data+"").replace(la,"="+j+"$1");e.url=e.url.replace(la,"="+j+"$1");e.dataType="script";k[j]=k[j]||function(r){p=r;b();d();k[j]=s;try{delete k[j]}catch(q){}C&&C.removeChild(H)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
false&&o==="GET"){var u=D(),w=e.url.replace(xb,"$1_="+u+"$2");e.url=w+(w===e.url?(Da.test(e.url)?"&":"?")+"_="+u:"")}if(e.data&&o==="GET")e.url+=(Da.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");u=(u=yb.exec(e.url))&&(u[1]&&u[1]!==location.protocol||u[2]!==location.host);if(e.dataType==="script"&&o==="GET"&&u){var C=t.getElementsByTagName("head")[0]||t.documentElement,H=t.createElement("script");H.src=e.url;if(e.scriptCharset)H.charset=e.scriptCharset;if(!j){var G=
false;H.onload=H.onreadystatechange=function(){if(!G&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){G=true;b();d();H.onload=H.onreadystatechange=null;C&&H.parentNode&&C.removeChild(H)}}}C.insertBefore(H,C.firstChild);return s}var V=false,z=e.xhr();if(z){e.username?z.open(o,e.url,e.async,e.username,e.password):z.open(o,e.url,e.async);try{if(e.data||a&&a.contentType)z.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&z.setRequestHeader("If-Modified-Since",
c.lastModified[e.url]);c.etag[e.url]&&z.setRequestHeader("If-None-Match",c.etag[e.url])}u||z.setRequestHeader("X-Requested-With","XMLHttpRequest");z.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(za){}if(e.beforeSend&&e.beforeSend.call(l,z,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");z.abort();return false}e.global&&f("ajaxSend",[z,e]);var g=z.onreadystatechange=function(r){if(!z||z.readyState===0||r==="abort"){V||
d();V=true;if(z)z.onreadystatechange=c.noop}else if(!V&&z&&(z.readyState===4||r==="timeout")){V=true;z.onreadystatechange=c.noop;i=r==="timeout"?"timeout":!c.httpSuccess(z)?"error":e.ifModified&&c.httpNotModified(z,e.url)?"notmodified":"success";var q;if(i==="success")try{p=c.httpData(z,e.dataType,e)}catch(x){i="parsererror";q=x}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,z,i,q);d();r==="timeout"&&z.abort();if(e.async)z=null}};try{var h=z.abort;z.abort=function(){z&&h.call(z);
g("abort")}}catch(m){}e.async&&e.timeout>0&&setTimeout(function(){z&&!V&&g("timeout")},e.timeout);try{z.send(o==="POST"||o==="PUT"||o==="DELETE"?e.data:null)}catch(n){c.handleError(e,z,null,n);d()}e.async||g();return z}},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(i,p){if(c.isArray(p))c.each(p,function(l,o){b||/\[\]$/.test(i)?f(i,o):d(i+"["+(typeof o==="object"||c.isArray(o)?l:"")+"]",o)});else!b&&p!=null&&typeof p==="object"?c.each(p,function(l,o){d(i+"["+l+"]",o)}):f(i,p)}function f(i,p){p=c.isFunction(p)?p():p;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(p)}var e=[];if(b===s)b=c.ajaxSettings.traditional;
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(zb,"+")}});var Ea={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,ua,Ha=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(N("show",3),a,b);else{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(Ea[d])f=Ea[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();Ea[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(N("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(N("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},
animate:function(a,b,d,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 j=c.extend({},e),i,p=this.nodeType===1&&c(this).is(":hidden"),l=this;for(i in a){var o=i.replace(Ba,Ca);if(i!==o){a[o]=a[i];delete a[i];i=o}if(a[i]==="hide"&&p||a[i]==="show"&&!p)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing=
j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(u,w){var C=new c.fx(l,j,u);if(Bb.test(w))C[w==="toggle"?p?"show":"hide":w](a);else{var H=Cb.exec(w),G=C.cur(true)||0;if(H){w=parseFloat(H[2]);var V=H[3]||"px";if(V!=="px"){l.style[u]=(w||1)+V;G=(w||1)/C.cur(true)*G;l.style[u]=G+V}if(H[1])w=(H[1]==="-="?-1:1)*w+G;C.custom(G,w,V)}else C.custom(G,w,"")}});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:N("show",1),slideUp:N("hide",1),slideToggle:N("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,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(j){return e.step(j)}this.startTime=D();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!ua)ua=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=D(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var 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(ua);ua=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
t.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(u){c.offset.setOffset(this,a,u)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,p=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var l=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==p&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,
null):b.currentStyle;l-=b.scrollTop;o-=b.scrollLeft;if(b===d){l+=b.offsetTop;o+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){l+=parseFloat(j.borderTopWidth)||0;o+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){l+=parseFloat(j.borderTopWidth)||0;o+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){l+=p.offsetTop;
o+=p.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){l+=Math.max(i.scrollTop,p.scrollTop);o+=Math.max(i.scrollLeft,p.scrollLeft)}return{top:l,left:o}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,f,e,j=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!==j;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(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"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||t.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],j;if(!e)return null;return f!==s?this.each(function(){if(j=qa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f}):(j=qa(e))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&j.document.documentElement[d]||j.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(j){var i=c(this);i[d](f.call(this,j,i[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===s?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});k.jQuery=k.$=c})(window);$(function(){$(".kw").mouseover(function(k){var s=$(this).text();s=$.trim(s);$.get("material",{material:s},function(X){$("body").stop().append('<div id="popup"></div>');X="<strong>Lexikon: "+s+"</strong><hr>"+X;$("#popup").html(X);X=$("#popup").width();var P=$("#popup").height(),R=$(window).height(),D=$(window).scrollTop();posY=k.pageY-D+P>R?k.pageY-P-10:k.pageY+10;posX=k.pageX-X-10;$("#popup").css("left",posX+"px");$("#popup").css("top",posY+"px")})});$(".kw").mouseout(function(){$("#popup")&&$("#popup").fadeOut(400,
function(){$("#popup").remove()})})});$(function(){$(".arrows").click(function(){var k=parseFloat($("#slider").css("margin-left")),s=k,X=this.id;k=Math.round(k/162)*162;switch(X){case "arrow_right":k<=-1080||(s=k-162);break;case "arrow_left":k>=0||(s=k+162);break}$("#slider").stop(true,true).animate({marginLeft:s+"px"},{duration:150,queue:true})})});(function(k){k.fn.piroBox=function(s){function X(){var P=k(window).height(),R=k(jQuery('<div class="piro_overlay"></div>').hide().css({opacity:+s.bg_alpha,height:P+"px"})),D=k(jQuery('<table class="pirobox_content" cellpadding="0" cellspacing="0"></table>')),L=k(jQuery('<div class="caption"></div>').css({opacity:"0.8","-moz-border-radius":s.radius+"px","-khtml-border-radius":s.radius+"px","-webkit-border-radius":s.radius+"px","border-radius":s.radius+"px"}));P=k(jQuery('<div class="piro_nav"></div>'));
var Q=k(jQuery('<div class="piro_close"></div>')),I=k(jQuery('<a href="#play" class="play"></a>')),Y=k(jQuery('<a href="#stop" class="stop"></a>')),E=k(jQuery('<a href="#prev" class="'+s.pirobox_prev+'"></a>')),F=k(jQuery('<a href="#next" class="'+s.pirobox_next+'"></a>'));k("body").append(R).append(D);D.append('<tr><td colspan="3" class="pirobox_up"></td></tr><tr><td class="t_l"></td><td class="t_c"></td><td class="t_r"></td></tr><tr><td class="c_l"></td><td class="c_c"><span><span></span></span><div></div></td><td class="c_r"></td></tr><tr><td class="b_l"></td><td class="b_c"></td><td class="b_r"></td></tr><tr><td colspan="3" class="pirobox_down"></td></tr>');
k(".pirobox_up").append(Q);k(".pirobox_down").append(P);k(".c_c").append(I);I.hide();P.append(E).append(F).append(L);if(E.is(".piro_prev_out")||F.is(".piro_next_out")){k("body").append(E).append(F);E.add(F).hide()}else P.append(E).append(F);var ca=E.width();D.hide();P=k("a[class^='pirobox_gall']");for(var na={},N=0;N<P.length;N++){var qa=k(P[N]);na["a."+qa.attr("class")]=0}var c=[];for(var oa in na){c.push(oa);if(k(oa).length===1){alert("For single image is recommended to use class pirobox");k(oa).css("border",
"2px dotted red")}}for(N=0;N<c.length;N++){k(c[N]).each(function(y){this.rel=y+1+"&nbsp;of&nbsp;"+k(c[N]).length});k(c[N]+":first").addClass("first");k(c[N]+":last").addClass("last")}k(P).each(function(y){this.rev=y+0});var O=k(P),t=k("a.pirobox");k.fn.fixPNG=function(){return this.each(function(){var y=k(this).css("backgroundImage");if(y.match(/^url\(["']?(.*\.png)["']?\)$/i)){y=RegExp.$1;k(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod="+
(k(this).css("backgroundRepeat")=="no-repeat"?"crop":"scale")+", src='"+y+"')"}).each(function(){var M=k(this).css("position");M!="absolute"&&M!="relative"&&k(this).css("position","relative")})}})};k(window).resize(function(){var y=k(window).height();R.css({visibility:"visible",height:+y+"px"})});E.add(F).bind("click",function(y){y.preventDefault();y=parseInt(k(O).filter(".item").attr("rev"));(k(this).is(".piro_prev_out,.piro_prev")?k(O).eq(y-1):k(O).eq(y+1)).click();Q.add(L).add(F).add(E).css("visibility",
"hidden")});t.each(function(){var y=k(this);y.bind("click",function(M){M.preventDefault();ha(y.attr("href"));M=y.attr("href");var da=y.attr("title");da==""?L.html("<p>"+M+"<a href="+M+' class="link_to" target="_blank" title="Open Image in a new window"></a></p>'):L.html("<p>"+da+"<a href="+M+' class="link_to" target="_blank" title="Open Image in a new window"></a></p>');k(".c_c").addClass("unique");F.add(E).add(Q).add(L).hide();k(".play").remove()})});k(O).each(function(){var y=k(this);y.bind("click",
function(M){M.preventDefault();ha(y.attr("href"));M=y.attr("href");var da=y.attr("title"),J=y.attr("rel");da==""?L.html("<p>"+M+'<em class="number">'+J+"</em><a href="+M+' class="link_to" target="_blank" title="Open Image in a new window"></a></p>'):L.html("<p>"+da+'<em class="number">'+J+"</em><a href="+M+' class="link_to" target="_blank" title="Open Image in a new window"></a></p>');y.is(".last")?k(".number").css("text-decoration","underline"):k(".number").css("text-decoration","none");if(y.is(".first")){E.hide();
F.show()}else F.add(E).show();if(y.is(".last")){E.show();F.hide()}if(y.is(".last")&&y.is(".first")){E.add(F).hide();k(".number").hide();I.remove()}k(O).filter(".item").removeClass("item");y.addClass("item");k(".c_c").removeClass("unique")})});var ha=function(y){I.add(Y).hide();Q.add(L).add(F).add(E).css("visibility","hidden");if(D.is(":visible"))k(".c_c div").children().fadeOut(300,function(){k(".c_c div").children().remove();ra(y)});else{k(".c_c div").children().remove();D.show();R.fadeIn(300,function(){ra(y)})}},
ra=function(y){function M(){clearTimeout(Z);if(k(O).filter(".item").is(".last")){k(O).children().removeAttr("class");F.add(E).css("width",ca+"px");k(".stop").remove();k(".c_c").append(I);I.hide()}else k(O).children().is("."+s.slideShow)&&F.click()}function da(){if(k(D).is(":visible"))window.onscroll=function(){var A=k(D).height();D.css({marginTop:parseInt(k(this).scrollTop())-A/1.9-10});A=k(window).height();var K=k(".piro_prev_out").height();k(".piro_prev_out").add(".piro_next_out").css({marginTop:parseInt(k(document).scrollTop())+
(A/K-125)})}}if(!D.is(".loading")){D.addClass("loading");var J=new Image;J.onerror=function(){var A=k(D).height();D.css({marginTop:parseInt(k(document).scrollTop())-A/1.9});k(".c_c div").append('<p class="err_mess">There seems to be an Error:&nbsp;<a href="#close" class="close_pirobox">Close Pirobox</a></p>');k(".close_pirobox").bind("click",function(){k(".err_mess").remove();D.add(R).fadeOut(s.close_speed);D.removeClass("loading");k(".c_c").append(I);return false})};J.onload=function(){var A=J.height,
K=J.width;k(D).height();var aa=k(window).height(),ba=k(window).width();if(A+100>aa||K+100>ba){var S=K,T=A;ba=(K+250)/ba;aa=(A+250)/aa;if(aa>ba){S=Math.round(K*(1/aa));T=Math.round(A*(1/aa))}else{S=Math.round(K*(1/ba));T=Math.round(A*(1/ba))}A+=T;K+=S;k(J).height(T).width(S).hide();k(".c_c div").animate({height:T+"px",width:S+"px"},s.my_speed);D.animate({height:T+20+"px",width:S+20+"px",marginLeft:"-"+(S/2+10)+"px",marginTop:parseInt(k(document).scrollTop())-T/1.9-20},s.my_speed,function(){k(".piro_nav,.caption").css({width:S+
"px"});k(".piro_nav").css("margin-left","-"+(S+5)/2+"px");var ja=L.height();L.css({bottom:"-"+(ja+5)+"px"});k(".c_c div").append(J);Q.css("display","block");F.add(E).add(Q).css("visibility","visible");L.css({visibility:"visible",display:"block"});k(J).show().fadeIn(300);D.removeClass("loading");s.slideShow=="slideshow"?I.add(Y).show():I.add(Y).hide()})}else{k(J).height(A).width(K).hide();k(".c_c div").animate({height:A+"px",width:K+"px"},s.my_speed);D.animate({height:A+20+"px",width:K+20+"px",marginLeft:"-"+
(K/2+10)+"px",marginTop:parseInt(k(document).scrollTop())-A/1.9-20},s.my_speed,function(){k(".piro_nav,.caption").css({width:K+"px"});k(".piro_nav").css("margin-left","-"+(K+5)/2+"px");var ja=L.height();L.css({bottom:"-"+(ja+5)+"px"});k(".c_c div").append(J);Q.css("display","block");F.add(E).add(Q).css("visibility","visible");L.css({visibility:"visible",display:"block"});k(J).fadeIn(300);D.removeClass("loading");s.slideShow=="slideshow"?I.add(Y).show():I.add(Y).hide()})}};J.src=y;y=k(window).height();
var ia=k(".piro_prev_out").height();k(".piro_prev_out").add(".piro_next_out").css({marginTop:parseInt(k(document).scrollTop())+(y/ia-125)});k(".caption p").css({"-moz-border-radius":s.radius+"px","-khtml-border-radius":s.radius+"px","-webkit-border-radius":s.radius+"px","border-radius":s.radius+"px"});Y.bind("click",function(A){A.preventDefault();clearTimeout(Z);k(O).children().removeAttr("class");k(".stop").remove();k(".c_c").append(I);F.add(E).css("width",ca+"px")});I.bind("click",function(A){A.preventDefault();
clearTimeout(Z);if(k(J).is(":visible")){k(O).children().addClass(s.slideShow);k(".play").remove();k(".c_c").append(Y)}F.add(E).css({width:"0px"});return M()});k(s.close_all).bind("click",function(A){clearTimeout(Z);if(k(J).is(":visible")){A.preventDefault();Q.add(R).add(D).add(L).add(F).add(E).fadeOut(s.close_speed);D.removeClass("loading");k(O).children().removeAttr("class");F.add(E).css("width",ca+"px").hide();k(".stop").remove();k(".c_c").append(I);I.hide()}});var Z=setInterval(M,s.slideSpeed*
1E3);k().bind("keydown",function(A){if(A.keyCode===27){A.preventDefault();if(k(J).is(":visible")||k(".c_c>div>p>a").is(".close_pirobox")){Q.add(R).add(D).add(L).add(F).add(E).fadeOut(s.close_speed);D.removeClass("loading");clearTimeout(Z);k(O).children().removeAttr("class");k(".stop").remove();k(".c_c").append(I);F.add(E).css("width",ca+"px");k(O).add(t).children().fadeTo(100,1)}}}).bind("keydown",function(A){if(!(k(".c_c").is(".unique")||k(".item").is(".first")))if(k(".c_c").is(".c_c")&&A.keyCode===
37){A.preventDefault();if(k(J).is(":visible")){clearTimeout(Z);k(O).children().removeAttr("class");k(".stop").remove();k(".c_c").append(I);F.add(E).css("width",ca+"px");E.click()}}if(!(k(".c_c").is(".unique")||k(".item").is(".last")))if(k(".c_c").is(".c_c")&&A.keyCode===39){A.preventDefault();if(k(J).is(":visible")){clearTimeout(Z);k(O).children().removeAttr("class");k(".stop").remove();k(".c_c").append(I);F.add(E).css("width",ca+"px");F.click()}}});k.browser.msie6=k.browser.msie&&/MSIE 6\.0/i.test(window.navigator.userAgent);
if(k.browser.msie6&&!/MSIE 8\.0/i.test(window.navigator.userAgent)){k(".t_l,.t_c,.t_r,.c_l,.c_r,.b_l,.b_c,.b_r,a.piro_next, a.piro_prev,a.piro_prev_out,a.piro_next_out,.c_c,.piro_close,a.play,a.stop").fixPNG();y=k(document).height();R.css("height",y+"px")}if(k.browser.msie)s.close_speed=0;if(s.scrollImage==true)return da()}}}s=jQuery.extend({my_speed:null,close_speed:300,bg_alpha:0.5,scrollImage:null,pirobox_next:"piro_next_out",pirobox_prev:"piro_prev_out",radius:4,close_all:".piro_close,.piro_overlay",
slideShow:null,slideSpeed:null},s);X()}})(jQuery);$(document).ready(function(){$().piroBox({my_speed:300,bg_alpha:0.5,radius:4,scrollImage:false,slideShow:"true",slideSpeed:3,pirobox_next:"piro_next",pirobox_prev:"piro_prev",close_all:".piro_close"})});var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-2307431-2"]);_gaq.push(["_trackPageview"]);(function(){var k=document.createElement("script");k.type="text/javascript";k.async=true;k.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(k)})();
