/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(bi,b){function ap(){if(!d.isReady){try{a.documentElement.doScroll("left")}catch(c){setTimeout(ap,1);return}d.ready()}}function j(c,s){s.src?d.ajax({url:s.src,async:false,dataType:"script"}):d.globalEval(s.text||s.textContent||s.innerHTML||"");s.parentNode&&s.parentNode.removeChild(s)}function a1(A,F,G,K,J,s){var c=A.length;if(typeof F==="object"){for(var w in F){a1(A,w,F[w],K,J,G)}return A}if(G!==b){K=!s&&K&&d.isFunction(G);for(w=0;w<c;w++){J(A[w],F,K?G.call(A[w],w,J(A[w],F)):G,s)}return A}return c?J(A[0],F):b}function bd(){return(new Date).getTime()}function a2(){return false}function a3(){return true}function aq(c,s,w){w[0].type=c;return d.event.handle.apply(s,w)}function ar(G){var J,K=[],N=[],L=arguments,s,c,F,w,A,O;c=d.data(this,"events");if(!(G.liveFired===this||!c||!c.live||G.button&&G.type==="click")){G.liveFired=this;var P=c.live.slice(0);for(w=0;w<P.length;w++){c=P[w];c.origType.replace(bh,"")===G.type?N.push(c.selector):P.splice(w--,1)}s=d(G.target).closest(N,G.currentTarget);A=0;for(O=s.length;A<O;A++){for(w=0;w<P.length;w++){c=P[w];if(s[A].selector===c.selector){F=s[A].elem;N=null;if(c.preType==="mouseenter"||c.preType==="mouseleave"){N=d(G.relatedTarget).closest(c.selector)[0]}if(!N||N!==F){K.push({elem:F,handleObj:c})}}}}A=0;for(O=K.length;A<O;A++){s=K[A];G.currentTarget=s.elem;G.data=s.handleObj.data;G.handleObj=s.handleObj;if(s.handleObj.origHandler.apply(s.elem,L)===false){J=false;break}}return J}}function ac(c,s){return"live."+(c&&c!=="*"?c+".":"")+s.replace(/\./g,"`").replace(/ /g,"&")}function ad(c){return !c||!c.parentNode||c.parentNode.nodeType===11}function ae(c,s){var w=0;s.each(function(){if(this.nodeName===(c[w]&&c[w].nodeName)){var J=d.data(c[w++]),G=d.data(this,J);if(J=J&&J.events){delete G.handle;G.events={};for(var A in J){for(var F in J[A]){d.event.add(this,A,J[A][F],J[A][F].data)}}}}})}function af(s,w,A){var G,F,c;w=w&&w[0]?w[0].ownerDocument||w[0]:a;if(s.length===1&&typeof s[0]==="string"&&s[0].length<512&&w===a&&!ag.test(s[0])&&(d.support.checkClone||!ah.test(s[0]))){F=true;if(c=d.fragments[s[0]]){if(c!==1){G=c}}}if(!G){G=w.createDocumentFragment();d.clean(s,w,G,A)}if(F){d.fragments[s[0]]=c?G:1}return{fragment:G,cacheable:F}}function be(c,s){var w={};d.each(ai.concat.apply([],ai.slice(0,s)),function(){w[this]=c});return w}function aj(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var d=function(c,s){return new d.fn.init(c,s)},k=bi.jQuery,l=bi.$,a=bi.document,a7,m=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,n=/^.[^:#\[\.,]*$/,o=/\S/,p=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,e=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bc=navigator.userAgent,M=false,a5=[],bf,h=Object.prototype.toString,at=Object.prototype.hasOwnProperty,au=Array.prototype.push,a6=Array.prototype.slice,S=Array.prototype.indexOf;d.fn=d.prototype={init:function(c,s){var w,A;if(!c){return this}if(c.nodeType){this.context=this[0]=c;this.length=1;return this}if(c==="body"&&!s){this.context=a;this[0]=a.body;this.selector="body";this.length=1;return this}if(typeof c==="string"){if((w=m.exec(c))&&(w[1]||!s)){if(w[1]){A=s?s.ownerDocument||s:a;if(c=e.exec(c)){if(d.isPlainObject(s)){c=[a.createElement(c[1])];d.fn.attr.call(c,s,true)}else{c=[A.createElement(c[1])]}}else{c=af([w[1]],[A]);c=(c.cacheable?c.fragment.cloneNode(true):c.fragment).childNodes}return d.merge(this,c)}else{if(s=a.getElementById(w[2])){if(s.id!==w[2]){return a7.find(c)}this.length=1;this[0]=s}this.context=a;this.selector=c;return this}}else{if(!s&&/^\w+$/.test(c)){this.selector=c;this.context=a;c=a.getElementsByTagName(c);return d.merge(this,c)}else{return !s||s.jquery?(s||a7).find(c):d(s).find(c)}}}else{if(d.isFunction(c)){return a7.ready(c)}}if(c.selector!==b){this.selector=c.selector;this.context=c.context}return d.makeArray(c,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return a6.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c]},pushStack:function(c,s,w){var A=d();d.isArray(c)?au.apply(A,c):d.merge(A,c);A.prevObject=this;A.context=this.context;if(s==="find"){A.selector=this.selector+(this.selector?" ":"")+w}else{if(s){A.selector=this.selector+"."+s+"("+w+")"}}return A},each:function(c,s){return d.each(this,c,s)},ready:function(c){d.bindReady();if(d.isReady){c.call(a,d)}else{a5&&a5.push(c)}return this},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(a6.apply(this,arguments),"slice",a6.call(arguments).join(","))},map:function(c){return this.pushStack(d.map(this,function(s,w){return c.call(s,w,s)}))},end:function(){return this.prevObject||d(null)},push:au,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var A=arguments[0]||{},F=1,G=arguments.length,K=false,J,s,c,w;if(typeof A==="boolean"){K=A;A=arguments[1]||{};F=2}if(typeof A!=="object"&&!d.isFunction(A)){A={}}if(G===F){A=this;--F}for(;F<G;F++){if((J=arguments[F])!=null){for(s in J){c=A[s];w=J[s];if(A!==w){if(K&&w&&(d.isPlainObject(w)||d.isArray(w))){c=c&&(d.isPlainObject(c)||d.isArray(c))?c:d.isArray(w)?[]:{};A[s]=d.extend(K,c,w)}else{if(w!==b){A[s]=w}}}}}}return A};d.extend({noConflict:function(c){bi.$=l;if(c){bi.jQuery=k}return d},isReady:false,ready:function(){if(!d.isReady){if(!a.body){return setTimeout(d.ready,13)}d.isReady=true;if(a5){for(var c,s=0;c=a5[s++];){c.call(a,d)}a5=null}d.fn.triggerHandler&&d(a).triggerHandler("ready")}},bindReady:function(){if(!M){M=true;if(a.readyState==="complete"){return d.ready()}if(a.addEventListener){a.addEventListener("DOMContentLoaded",bf,false);bi.addEventListener("load",d.ready,false)}else{if(a.attachEvent){a.attachEvent("onreadystatechange",bf);bi.attachEvent("onload",d.ready);var c=false;try{c=bi.frameElement==null}catch(s){}a.documentElement.doScroll&&c&&ap()}}}},isFunction:function(c){return h.call(c)==="[object Function]"},isArray:function(c){return h.call(c)==="[object Array]"},isPlainObject:function(c){if(!c||h.call(c)!=="[object Object]"||c.nodeType||c.setInterval){return false}if(c.constructor&&!at.call(c,"constructor")&&!at.call(c.constructor.prototype,"isPrototypeOf")){return false}var s;for(s in c){}return s===b||at.call(c,s)},isEmptyObject:function(c){for(var s in c){return false}return true},error:function(c){throw c},parseJSON:function(c){if(typeof c!=="string"||!c){return null}c=d.trim(c);if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return bi.JSON&&bi.JSON.parse?bi.JSON.parse(c):(new Function("return "+c))()}else{d.error("Invalid JSON: "+c)}},noop:function(){},globalEval:function(c){if(c&&o.test(c)){var s=a.getElementsByTagName("head")[0]||a.documentElement,w=a.createElement("script");w.type="text/javascript";if(d.support.scriptEval){w.appendChild(a.createTextNode(c))}else{w.text=c}s.insertBefore(w,s.firstChild);s.removeChild(w)}},nodeName:function(c,s){return c.nodeName&&c.nodeName.toUpperCase()===s.toUpperCase()},each:function(w,A,F){var J,G=0,c=w.length,s=c===b||d.isFunction(w);if(F){if(s){for(J in w){if(A.apply(w[J],F)===false){break}}}else{for(;G<c;){if(A.apply(w[G++],F)===false){break}}}}else{if(s){for(J in w){if(A.call(w[J],J,w[J])===false){break}}}else{for(F=w[0];G<c&&A.call(F,G,F)!==false;F=w[++G]){}}}return w},trim:function(c){return(c||"").replace(p,"")},makeArray:function(c,s){s=s||[];if(c!=null){c.length==null||typeof c==="string"||d.isFunction(c)||typeof c!=="function"&&c.setInterval?au.call(s,c):d.merge(s,c)}return s},inArray:function(c,s){if(s.indexOf){return s.indexOf(c)}for(var w=0,A=s.length;w<A;w++){if(s[w]===c){return w}}return -1},merge:function(c,s){var w=c.length,F=0;if(typeof s.length==="number"){for(var A=s.length;F<A;F++){c[w++]=s[F]}}else{for(;s[F]!==b;){c[w++]=s[F++]}}c.length=w;return c},grep:function(s,w,A){for(var G=[],F=0,c=s.length;F<c;F++){!A!==!w(s[F],F)&&G.push(s[F])}return G},map:function(w,A,F){for(var J=[],G,c=0,s=w.length;c<s;c++){G=A(w[c],c,F);if(G!=null){J[J.length]=G}}return J.concat.apply([],J)},guid:1,proxy:function(c,s,w){if(arguments.length===2){if(typeof s==="string"){w=c;c=w[s];s=b}else{if(s&&!d.isFunction(s)){w=s;s=b}}}if(!s&&c){s=function(){return c.apply(w||this,arguments)}}if(c){s.guid=c.guid=c.guid||s.guid||d.guid++}return s},uaMatch:function(c){c=c.toLowerCase();c=/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||!/compatible/.test(c)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},browser:{}});bc=d.uaMatch(bc);if(bc.browser){d.browser[bc.browser]=true;d.browser.version=bc.version}if(d.browser.webkit){d.browser.safari=true}if(S){d.inArray=function(c,s){return S.call(s,c)}}a7=d(a);if(a.addEventListener){bf=function(){a.removeEventListener("DOMContentLoaded",bf,false);d.ready()}}else{if(a.attachEvent){bf=function(){if(a.readyState==="complete"){a.detachEvent("onreadystatechange",bf);d.ready()}}}}(function(){d.support={};var F=a.documentElement,G=a.createElement("script"),J=a.createElement("div"),L="script"+bd();J.style.display="none";J.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var K=J.getElementsByTagName("*"),s=J.getElementsByTagName("a")[0];if(!(!K||!K.length||!s)){d.support={leadingWhitespace:J.firstChild.nodeType===3,tbody:!J.getElementsByTagName("tbody").length,htmlSerialize:!!J.getElementsByTagName("link").length,style:/red/.test(s.getAttribute("style")),hrefNormalized:s.getAttribute("href")==="/a",opacity:/^0.55$/.test(s.style.opacity),cssFloat:!!s.style.cssFloat,checkOn:J.getElementsByTagName("input")[0].value==="on",optSelected:a.createElement("select").appendChild(a.createElement("option")).selected,parentNode:J.removeChild(J.appendChild(a.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(a.createTextNode("window."+L+"=1;"))}catch(c){}F.insertBefore(G,F.firstChild);if(bi[L]){d.support.scriptEval=true;delete bi[L]}try{delete G.test}catch(A){d.support.deleteExpando=false}F.removeChild(G);if(J.attachEvent&&J.fireEvent){J.attachEvent("onclick",function w(){d.support.noCloneEvent=false;J.detachEvent("onclick",w)});J.cloneNode(true).fireEvent("onclick")}J=a.createElement("div");J.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";F=a.createDocumentFragment();F.appendChild(J.firstChild);d.support.checkClone=F.cloneNode(true).cloneNode(true).lastChild.checked;d(function(){var N=a.createElement("div");N.style.width=N.style.paddingLeft="1px";a.body.appendChild(N);d.boxModel=d.support.boxModel=N.offsetWidth===2;a.body.removeChild(N).style.display="none"});F=function(P){var O=a.createElement("div");P="on"+P;var N=P in O;if(!N){O.setAttribute(P,"return;");N=typeof O[P]==="function"}return N};d.support.submitBubbles=F("submit");d.support.changeBubbles=F("change");F=G=J=K=s=null}})();d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var bk="jQuery"+bd(),f=0,U={};d.extend({cache:{},expando:bk,noData:{embed:true,object:true,applet:true},data:function(c,s,w){if(!(c.nodeName&&d.noData[c.nodeName.toLowerCase()])){c=c==bi?U:c;var F=c[bk],A=d.cache;if(!F&&typeof s==="string"&&w===b){return null}F||(F=++f);if(typeof s==="object"){c[bk]=F;A[F]=d.extend(true,{},s)}else{if(!A[F]){c[bk]=F;A[F]={}}}c=A[F];if(w!==b){c[s]=w}return typeof s==="string"?c[s]:c}},removeData:function(c,s){if(!(c.nodeName&&d.noData[c.nodeName.toLowerCase()])){c=c==bi?U:c;var w=c[bk],F=d.cache,A=F[w];if(s){if(A){delete A[s];d.isEmptyObject(A)&&d.removeData(c)}}else{if(d.support.deleteExpando){delete c[d.expando]}else{c.removeAttribute&&c.removeAttribute(d.expando)}delete F[w]}}}});d.fn.extend({data:function(c,s){if(typeof c==="undefined"&&this.length){return d.data(this[0])}else{if(typeof c==="object"){return this.each(function(){d.data(this,c)})}}var w=c.split(".");w[1]=w[1]?"."+w[1]:"";if(s===b){var A=this.triggerHandler("getData"+w[1]+"!",[w[0]]);if(A===b&&this.length){A=d.data(this[0],c)}return A===b&&w[1]?this.data(w[0]):A}else{return this.trigger("setData"+w[1]+"!",[w[0],s]).each(function(){d.data(this,c,s)})}},removeData:function(c){return this.each(function(){d.removeData(this,c)})}});d.extend({queue:function(c,s,w){if(c){s=(s||"fx")+"queue";var A=d.data(c,s);if(!w){return A||[]}if(!A||d.isArray(w)){A=d.data(c,s,d.makeArray(w))}else{A.push(w)}return A}},dequeue:function(c,s){s=s||"fx";var w=d.queue(c,s),A=w.shift();if(A==="inprogress"){A=w.shift()}if(A){s==="fx"&&w.unshift("inprogress");A.call(c,function(){d.dequeue(c,s)})}}});d.fn.extend({queue:function(c,s){if(typeof c!=="string"){s=c;c="fx"}if(s===b){return d.queue(this[0],c)}return this.each(function(){var w=d.queue(this,c,s);c==="fx"&&w[0]!=="inprogress"&&d.dequeue(this,c)})},dequeue:function(c){return this.each(function(){d.dequeue(this,c)})},delay:function(c,s){c=d.fx?d.fx.speeds[c]||c:c;s=s||"fx";return this.queue(s,function(){var w=this;setTimeout(function(){d.dequeue(w,s)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var z=/[\n\t]/g,av=/\s+/,g=/\r/g,a4=/href|src|style/,aU=/(button|input)/i,aV=/(button|input|object|select|textarea)/i,aW=/^(a|area)$/i,B=/radio|checkbox/;d.fn.extend({attr:function(c,s){return a1(this,c,s,true,d.attr)},removeAttr:function(c){return this.each(function(){d.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(F){if(d.isFunction(F)){return this.each(function(O){var N=d(this);N.addClass(F.call(this,O,N.attr("class")))})}if(F&&typeof F==="string"){for(var G=(F||"").split(av),J=0,L=this.length;J<L;J++){var K=this[J];if(K.nodeType===1){if(K.className){for(var s=" "+K.className+" ",c=K.className,A=0,w=G.length;A<w;A++){if(s.indexOf(" "+G[A]+" ")<0){c+=" "+G[A]}}K.className=d.trim(c)}else{K.className=F}}}}return this},removeClass:function(A){if(d.isFunction(A)){return this.each(function(N){var L=d(this);L.removeClass(A.call(this,N,L.attr("class")))})}if(A&&typeof A==="string"||A===b){for(var F=(A||"").split(av),G=0,K=this.length;G<K;G++){var J=this[G];if(J.nodeType===1&&J.className){if(A){for(var s=(" "+J.className+" ").replace(z," "),c=0,w=F.length;c<w;c++){s=s.replace(" "+F[c]+" "," ")}J.className=d.trim(s)}else{J.className=""}}}}return this},toggleClass:function(c,s){var w=typeof c,A=typeof s==="boolean";if(d.isFunction(c)){return this.each(function(G){var F=d(this);F.toggleClass(c.call(this,G,F.attr("class"),s),s)})}return this.each(function(){if(w==="string"){for(var K,G=0,J=d(this),F=s,L=c.split(av);K=L[G++];){F=A?F:!J.hasClass(K);J[F?"addClass":"removeClass"](K)}}else{if(w==="undefined"||w==="boolean"){this.className&&d.data(this,"__className__",this.className);this.className=this.className||c===false?"":d.data(this,"__className__")||""}}})},hasClass:function(c){c=" "+c+" ";for(var s=0,w=this.length;s<w;s++){if((" "+this[s].className+" ").replace(z," ").indexOf(c)>-1){return true}}return false},val:function(A){if(A===b){var F=this[0];if(F){if(d.nodeName(F,"option")){return(F.attributes.value||{}).specified?F.value:F.text}if(d.nodeName(F,"select")){var G=F.selectedIndex,K=[],J=F.options;F=F.type==="select-one";if(G<0){return null}var s=F?G:0;for(G=F?G+1:J.length;s<G;s++){var c=J[s];if(c.selected){A=d(c).val();if(F){return A}K.push(A)}}return K}if(B.test(F.type)&&!d.support.checkOn){return F.getAttribute("value")===null?"on":F.value}return(F.value||"").replace(g,"")}return b}var w=d.isFunction(A);return this.each(function(P){var N=d(this),L=A;if(this.nodeType===1){if(w){L=A.call(this,P,N.val())}if(typeof L==="number"){L+=""}if(d.isArray(L)&&B.test(this.type)){this.checked=d.inArray(N.val(),L)>=0}else{if(d.nodeName(this,"select")){var O=d.makeArray(L);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),O)>=0});if(!O.length){this.selectedIndex=-1}}else{this.value=L}}}})}});d.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(s,w,A,G){if(!s||s.nodeType===3||s.nodeType===8){return b}if(G&&w in d.attrFn){return d(s)[w](A)}G=s.nodeType!==1||!d.isXMLDoc(s);var F=A!==b;w=G&&d.props[w]||w;if(s.nodeType===1){var c=a4.test(w);if(w in s&&G&&!c){if(F){w==="type"&&aU.test(s.nodeName)&&s.parentNode&&d.error("type property can't be changed");s[w]=A}if(d.nodeName(s,"form")&&s.getAttributeNode(w)){return s.getAttributeNode(w).nodeValue}if(w==="tabIndex"){return(w=s.getAttributeNode("tabIndex"))&&w.specified?w.value:aV.test(s.nodeName)||aW.test(s.nodeName)&&s.href?0:b}return s[w]}if(!d.support.style&&G&&w==="style"){if(F){s.style.cssText=""+A}return s.style.cssText}F&&s.setAttribute(w,""+A);s=!d.support.hrefNormalized&&G&&c?s.getAttribute(w,2):s.getAttribute(w);return s===null?b:s}return d.style(s,w,A)}});var bh=/\.(.*)$/,aX=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s})};d.event={add:function(J,K,L,O){if(!(J.nodeType===3||J.nodeType===8)){if(J.setInterval&&J!==bi&&!J.frameElement){J=bi}var N,s;if(L.handler){N=L;L=N.handler}if(!L.guid){L.guid=d.guid++}if(s=d.data(J)){var c=s.events=s.events||{},F=s.handle;if(!F){s.handle=F=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(F.elem,arguments):b}}F.elem=J;K=K.split(" ");for(var w,A=0,P;w=K[A++];){s=N?d.extend({},N):{handler:L,data:O};if(w.indexOf(".")>-1){P=w.split(".");w=P.shift();s.namespace=P.slice(0).sort().join(".")}else{P=[];s.namespace=""}s.type=w;s.guid=L.guid;var Q=c[w],G=d.event.special[w]||{};if(!Q){Q=c[w]=[];if(!G.setup||G.setup.call(J,O,P,F)===false){if(J.addEventListener){J.addEventListener(w,F,false)}else{J.attachEvent&&J.attachEvent("on"+w,F)}}}if(G.add){G.add.call(J,s);if(!s.handler.guid){s.handler.guid=L.guid}}Q.push(s);d.event.global[w]=true}J=null}}},global:{},remove:function(J,K,L,O){if(!(J.nodeType===3||J.nodeType===8)){var N,s=0,c,F,w,A,P,T,G=d.data(J),R=G&&G.events;if(G&&R){if(K&&K.type){L=K.handler;K=K.type}if(!K||typeof K==="string"&&K.charAt(0)==="."){K=K||"";for(N in R){d.event.remove(J,N+K)}}else{for(K=K.split(" ");N=K[s++];){A=N;c=N.indexOf(".")<0;F=[];if(!c){F=N.split(".");N=F.shift();w=new RegExp("(^|\\.)"+d.map(F.slice(0).sort(),aX).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(P=R[N]){if(L){A=d.event.special[N]||{};for(Q=O||0;Q<P.length;Q++){T=P[Q];if(L.guid===T.guid){if(c||w.test(T.namespace)){O==null&&P.splice(Q--,1);A.remove&&A.remove.call(J,T)}if(O!=null){break}}}if(P.length===0||O!=null&&P.length===1){if(!A.teardown||A.teardown.call(J,F)===false){C(J,N,G.handle)}delete R[N]}}else{for(var Q=0;Q<P.length;Q++){T=P[Q];if(c||w.test(T.namespace)){d.event.remove(J,A,T.handler,Q);P.splice(Q--,1)}}}}}if(d.isEmptyObject(R)){if(K=G.handle){K.elem=null}delete G.events;delete G.handle;d.isEmptyObject(G)&&d.removeData(J)}}}}},trigger:function(G,J,K,N){var L=G.type||G;if(!N){G=typeof G==="object"?G[bk]?G:d.extend(d.Event(L),G):d.Event(L);if(L.indexOf("!")>=0){G.type=L=L.slice(0,-1);G.exclusive=true}if(!K){G.stopPropagation();d.event.global[L]&&d.each(d.cache,function(){this.events&&this.events[L]&&d.event.trigger(G,J,this.handle.elem)})}if(!K||K.nodeType===3||K.nodeType===8){return b}G.result=b;G.target=K;J=d.makeArray(J);J.unshift(G)}G.currentTarget=K;(N=d.data(K,"handle"))&&N.apply(K,J);N=K.parentNode||K.ownerDocument;try{if(!(K&&K.nodeName&&d.noData[K.nodeName.toLowerCase()])){if(K["on"+L]&&K["on"+L].apply(K,J)===false){G.result=false}}}catch(s){}if(!G.isPropagationStopped()&&N){d.event.trigger(G,J,N,true)}else{if(!G.isDefaultPrevented()){N=G.target;var c,F=d.nodeName(N,"a")&&L==="click",w=d.event.special[L]||{};if((!w._default||w._default.call(K,G)===false)&&!F&&!(N&&N.nodeName&&d.noData[N.nodeName.toLowerCase()])){try{if(N[L]){if(c=N["on"+L]){N["on"+L]=null}d.event.triggered=true;N[L]()}}catch(A){}if(c){N["on"+L]=c}d.event.triggered=false}}}},handle:function(w){var A,F,J,G;w=arguments[0]=d.event.fix(w||bi.event);w.currentTarget=this;A=w.type.indexOf(".")<0&&!w.exclusive;if(!A){F=w.type.split(".");w.type=F.shift();J=new RegExp("(^|\\.)"+F.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}G=d.data(this,"events");F=G[w.type];if(G&&F){F=F.slice(0);G=0;for(var c=F.length;G<c;G++){var s=F[G];if(A||J.test(s.namespace)){w.handler=s.handler;w.data=s.data;w.handleObj=s;s=s.handler.apply(this,arguments);if(s!==b){w.result=s;if(s===false){w.preventDefault();w.stopPropagation()}}if(w.isImmediatePropagationStopped()){break}}}}return w.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(c){if(c[bk]){return c}var s=c;c=d.Event(s);for(var w=this.props.length,A;w;){A=this.props[--w];c[A]=s[A]}if(!c.target){c.target=c.srcElement||a}if(c.target.nodeType===3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement===c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){s=a.documentElement;w=a.body;c.pageX=c.clientX+(s&&s.scrollLeft||w&&w.scrollLeft||0)-(s&&s.clientLeft||w&&w.clientLeft||0);c.pageY=c.clientY+(s&&s.scrollTop||w&&w.scrollTop||0)-(s&&s.clientTop||w&&w.clientTop||0)}if(!c.which&&(c.charCode||c.charCode===0?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button!==b){c.which=c.button&1?1:c.button&2?3:c.button&4?2:0}return c},guid:100000000,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(c){d.event.add(this,c.origType,d.extend({},c,{handler:ar}))},remove:function(c){var s=true,w=c.origType.replace(bh,"");d.each(d.data(this,"events").live||[],function(){if(w===this.origType.replace(bh,"")){return s=false}});s&&d.event.remove(this,c.origType,ar)}},beforeunload:{setup:function(c,s,w){if(this.setInterval){this.onbeforeunload=w}return false},teardown:function(c,s){if(this.onbeforeunload===s){this.onbeforeunload=null}}}}};var C=a.removeEventListener?function(c,s,w){c.removeEventListener(s,w,false)}:function(c,s,w){c.detachEvent("on"+s,w)};d.Event=function(c){if(!this.preventDefault){return new d.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=bd();this[bk]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=a3;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=a3;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=a3;this.stopPropagation()},isDefaultPrevented:a2,isPropagationStopped:a2,isImmediatePropagationStopped:a2};var D=function(c){var s=c.relatedTarget;try{for(;s&&s!==this;){s=s.parentNode}if(s!==this){c.type=c.data;d.event.handle.apply(this,arguments)}}catch(w){}},E=function(c){c.type=c.data;d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,s){d.event.special[c]={setup:function(w){d.event.add(this,s,w&&w.selector?E:D,c)},teardown:function(w){d.event.remove(this,s,w&&w.selector?E:D)}}});if(!d.support.submitBubbles){d.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){d.event.add(this,"click.specialSubmit",function(c){var s=c.target,w=s.type;if((w==="submit"||w==="image")&&d(s).closest("form").length){return aq("submit",this,arguments)}});d.event.add(this,"keypress.specialSubmit",function(c){var s=c.target,w=s.type;if((w==="text"||w==="password")&&d(s).closest("form").length&&c.keyCode===13){return aq("submit",this,arguments)}})}else{return false}},teardown:function(){d.event.remove(this,".specialSubmit")}}}if(!d.support.changeBubbles){var aw=/textarea|input|select/i,ax,H=function(c){var s=c.type,w=c.value;if(s==="radio"||s==="checkbox"){w=c.checked}else{if(s==="select-multiple"){w=c.selectedIndex>-1?d.map(c.options,function(A){return A.selected}).join("-"):""}else{if(c.nodeName.toLowerCase()==="select"){w=c.selectedIndex}}}return w},ay=function(c,s){var w=c.target,F,A;if(!(!aw.test(w.nodeName)||w.readOnly)){F=d.data(w,"_change_data");A=H(w);if(c.type!=="focusout"||w.type!=="radio"){d.data(w,"_change_data",A)}if(!(F===b||A===F)){if(F!=null||A){c.type="change";return d.event.trigger(c,s,w)}}}};d.event.special.change={filters:{focusout:ay,click:function(c){var s=c.target,w=s.type;if(w==="radio"||w==="checkbox"||s.nodeName.toLowerCase()==="select"){return ay.call(this,c)}},keydown:function(c){var s=c.target,w=s.type;if(c.keyCode===13&&s.nodeName.toLowerCase()!=="textarea"||c.keyCode===32&&(w==="checkbox"||w==="radio")||w==="select-multiple"){return ay.call(this,c)}},beforeactivate:function(c){c=c.target;d.data(c,"_change_data",H(c))}},setup:function(){if(this.type==="file"){return false}for(var c in ax){d.event.add(this,c+".specialChange",ax[c])}return aw.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return aw.test(this.nodeName)}};ax=d.event.special.change.filters}a.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(c,s){function w(A){A=d.event.fix(A);A.type=s;return d.event.handle.call(this,A)}d.event.special[s]={setup:function(){this.addEventListener(c,w,true)},teardown:function(){this.removeEventListener(c,w,true)}}});d.each(["bind","one"],function(c,s){d.fn[s]=function(G,K,J){if(typeof G==="object"){for(var F in G){this[s](F,K,G[F],J)}return this}if(d.isFunction(K)){J=K;K=b}var A=s==="one"?d.proxy(J,function(L){d(this).unbind(L,A);return J.apply(this,arguments)}):J;if(G==="unload"&&s!=="one"){this.one(G,K,J)}else{F=0;for(var w=this.length;F<w;F++){d.event.add(this[F],G,A,K)}}return this}});d.fn.extend({unbind:function(c,s){if(typeof c==="object"&&!c.preventDefault){for(var w in c){this.unbind(w,c[w])}}else{w=0;for(var A=this.length;w<A;w++){d.event.remove(this[w],c,s)}}return this},delegate:function(c,s,w,A){return this.live(s,w,A,c)},undelegate:function(c,s,w){return arguments.length===0?this.unbind("live"):this.die(s,null,w,c)},trigger:function(c,s){return this.each(function(){d.event.trigger(c,s,this)})},triggerHandler:function(c,s){if(this[0]){c=d.Event(c);c.preventDefault();c.stopPropagation();d.event.trigger(c,s,this[0]);return c.result}},toggle:function(c){for(var s=arguments,w=1;w<s.length;){d.proxy(c,s[w++])}return this.click(d.proxy(c,function(F){var A=(d.data(this,"lastToggle"+c.guid)||0)%w;d.data(this,"lastToggle"+c.guid,A+1);F.preventDefault();return s[A].apply(this,arguments)||false}))},hover:function(c,s){return this.mouseenter(c).mouseleave(s||c)}});var I={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(c,s){d.fn[s]=function(K,N,L,A){var w,J=0,F,G,O=A||this.selector,P=A?this:d(this.context);if(d.isFunction(N)){L=N;N=b}for(K=(K||"").split(" ");(w=K[J++])!=null;){A=bh.exec(w);F="";if(A){F=A[0];w=w.replace(bh,"")}if(w==="hover"){K.push("mouseenter"+F,"mouseleave"+F)}else{G=w;if(w==="focus"||w==="blur"){K.push(I[w]+F);w+=F}else{w=(I[w]||w)+F}s==="live"?P.each(function(){d.event.add(this,ac(w,O),{data:N,selector:O,handler:L,origType:w,origHandler:L,preType:G})}):P.unbind(ac(w,O),L)}}return this}});d.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(c,s){d.fn[s]=function(w){return w?this.bind(s,w):this.trigger(s)};if(d.attrFn){d.attrFn[s]=true}});bi.attachEvent&&!bi.addEventListener&&bi.attachEvent("onunload",function(){for(var c in d.cache){if(d.cache[c].handle){try{d.event.remove(d.cache[c].handle.elem)}catch(s){}}}});(function(){function L(ab){for(var aa="",Z,Y=0;ab[Y];Y++){Z=ab[Y];if(Z.nodeType===3||Z.nodeType===4){aa+=Z.nodeValue}else{if(Z.nodeType!==8){aa+=L(Z.childNodes)}}}return aa}function N(ba,bn,Y,Z,bb,ab){bb=0;for(var bm=Z.length;bb<bm;bb++){var bl=Z[bb];if(bl){bl=bl[ba];for(var aa=false;bl;){if(bl.sizcache===Y){aa=Z[bl.sizset];break}if(bl.nodeType===1&&!ab){bl.sizcache=Y;bl.sizset=bb}if(bl.nodeName.toLowerCase()===bn){aa=bl;break}bl=bl[ba]}Z[bb]=aa}}}function O(ba,bn,Y,Z,bb,ab){bb=0;for(var bm=Z.length;bb<bm;bb++){var bl=Z[bb];if(bl){bl=bl[ba];for(var aa=false;bl;){if(bl.sizcache===Y){aa=Z[bl.sizset];break}if(bl.nodeType===1){if(!ab){bl.sizcache=Y;bl.sizset=bb}if(typeof bn!=="string"){if(bl===bn){aa=true;break}}else{if(G.filter(bn,[bl]).length>0){aa=bl;break}}}bl=bl[ba]}Z[bb]=aa}}}var Q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,P=0,F=Object.prototype.toString,A=false,K=true;[0,0].sort(function(){K=false;return 0});var G=function(bo,bs,ab,ba){ab=ab||[];var bp=bs=bs||a;if(bs.nodeType!==1&&bs.nodeType!==9){return[]}if(!bo||typeof bo!=="string"){return ab}for(var bl=[],br,bq,bb,Z,bn=true,bm=X(bs),Y=bo;(Q.exec(""),br=Q.exec(Y))!==null;){Y=br[3];bl.push(br[1]);if(br[2]){Z=br[3];break}}if(bl.length>1&&s.exec(bo)){if(bl.length===2&&J.relative[bl[0]]){bq=R(bl[0]+bl[1],bs)}else{for(bq=J.relative[bl[0]]?[bs]:G(bl.shift(),bs);bl.length;){bo=bl.shift();if(J.relative[bo]){bo+=bl.shift()}bq=R(bo,bq)}}}else{if(!ba&&bl.length>1&&bs.nodeType===9&&!bm&&J.match.ID.test(bl[0])&&!J.match.ID.test(bl[bl.length-1])){br=G.find(bl.shift(),bs,bm);bs=br.expr?G.filter(br.expr,br.set)[0]:br.set[0]}if(bs){br=ba?{expr:bl.pop(),set:c(ba)}:G.find(bl.pop(),bl.length===1&&(bl[0]==="~"||bl[0]==="+")&&bs.parentNode?bs.parentNode:bs,bm);bq=br.expr?G.filter(br.expr,br.set):br.set;if(bl.length>0){bb=c(bq)}else{bn=false}for(;bl.length;){var aa=bl.pop();br=aa;if(J.relative[aa]){br=bl.pop()}else{aa=""}if(br==null){br=bs}J.relative[aa](bb,br,bm)}}else{bb=[]}}bb||(bb=bq);bb||G.error(aa||bo);if(F.call(bb)==="[object Array]"){if(bn){if(bs&&bs.nodeType===1){for(bo=0;bb[bo]!=null;bo++){if(bb[bo]&&(bb[bo]===true||bb[bo].nodeType===1&&W(bs,bb[bo]))){ab.push(bq[bo])}}}else{for(bo=0;bb[bo]!=null;bo++){bb[bo]&&bb[bo].nodeType===1&&ab.push(bq[bo])}}}else{ab.push.apply(ab,bb)}}else{c(bb,ab)}if(Z){G(Z,bp,ab,ba);G.uniqueSort(ab)}return ab};G.uniqueSort=function(Z){if(T){A=K;Z.sort(T);if(A){for(var Y=1;Y<Z.length;Y++){Z[Y]===Z[Y-1]&&Z.splice(Y--,1)}}}return Z};G.matches=function(Z,Y){return G(Z,null,null,Y)};G.find=function(ba,bn,Y){var Z,bb;if(!ba){return[]}for(var ab=0,bm=J.order.length;ab<bm;ab++){var bl=J.order[ab];if(bb=J.leftMatch[bl].exec(ba)){var aa=bb[1];bb.splice(1,1);if(aa.substr(aa.length-1)!=="\\"){bb[1]=(bb[1]||"").replace(/\\/g,"");Z=J.find[bl](bb,bn,Y);if(Z!=null){ba=ba.replace(J.match[bl],"");break}}}}Z||(Z=bn.getElementsByTagName("*"));return{set:Z,expr:ba}};G.filter=function(bp,bu,ab,ba){for(var bq=bp,bl=[],bs=bu,br,bb,Z=bu&&bu[0]&&X(bu[0]);bp&&bu.length;){for(var bo in J.filter){if((br=J.leftMatch[bo].exec(bp))!=null&&br[2]){var bn=J.filter[bo],Y,aa;aa=br[1];bb=false;br.splice(1,1);if(aa.substr(aa.length-1)!=="\\"){if(bs===bl){bl=[]}if(J.preFilter[bo]){if(br=J.preFilter[bo](br,bs,ab,bl,ba,Z)){if(br===true){continue}}else{bb=Y=true}}if(br){for(var bm=0;(aa=bs[bm])!=null;bm++){if(aa){Y=bn(aa,br,bm,bs);var bt=ba^!!Y;if(ab&&Y!=null){if(bt){bb=true}else{bs[bm]=false}}else{if(bt){bl.push(aa);bb=true}}}}}if(Y!==b){ab||(bs=bl);bp=bp.replace(J.match[bo],"");if(!bb){return[]}break}}}}if(bp===bq){if(bb==null){G.error(bp)}else{break}}bq=bp}return bs};G.error=function(Y){throw"Syntax error, unrecognized expression: "+Y};var J=G.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(Y){return Y.getAttribute("href")}},relative:{"+":function(bb,ab){var Z=typeof ab==="string",Y=Z&&!/\W/.test(ab);Z=Z&&!Y;if(Y){ab=ab.toLowerCase()}Y=0;for(var ba=bb.length,aa;Y<ba;Y++){if(aa=bb[Y]){for(;(aa=aa.previousSibling)&&aa.nodeType!==1;){}bb[Y]=Z||aa&&aa.nodeName.toLowerCase()===ab?aa||false:aa===ab}}Z&&G.filter(ab,bb,true)},">":function(bb,ab){var Z=typeof ab==="string";if(Z&&!/\W/.test(ab)){ab=ab.toLowerCase();for(var Y=0,ba=bb.length;Y<ba;Y++){var aa=bb[Y];if(aa){Z=aa.parentNode;bb[Y]=Z.nodeName.toLowerCase()===ab?Z:false}}}else{Y=0;for(ba=bb.length;Y<ba;Y++){if(aa=bb[Y]){bb[Y]=Z?aa.parentNode:aa.parentNode===ab}}Z&&G.filter(ab,bb,true)}},"":function(bb,ab,Z){var Y=P++,ba=O;if(typeof ab==="string"&&!/\W/.test(ab)){var aa=ab=ab.toLowerCase();ba=N}ba("parentNode",ab,Y,bb,aa,Z)},"~":function(bb,ab,Z){var Y=P++,ba=O;if(typeof ab==="string"&&!/\W/.test(ab)){var aa=ab=ab.toLowerCase();ba=N}ba("previousSibling",ab,Y,bb,aa,Z)}},find:{ID:function(aa,Z,Y){if(typeof Z.getElementById!=="undefined"&&!Y){return(aa=Z.getElementById(aa[1]))?[aa]:[]}},NAME:function(ba,aa){if(typeof aa.getElementsByName!=="undefined"){var Z=[];aa=aa.getElementsByName(ba[1]);for(var Y=0,ab=aa.length;Y<ab;Y++){aa[Y].getAttribute("name")===ba[1]&&Z.push(aa[Y])}return Z.length===0?null:Z}},TAG:function(Z,Y){return Y.getElementsByTagName(Z[1])}},preFilter:{CLASS:function(bl,ba,Z,Y,bb,ab){bl=" "+bl[1].replace(/\\/g,"")+" ";if(ab){return bl}ab=0;for(var aa;(aa=ba[ab])!=null;ab++){if(aa){if(bb^(aa.className&&(" "+aa.className+" ").replace(/[\t\n]/g," ").indexOf(bl)>=0)){Z||Y.push(aa)}else{if(Z){ba[ab]=false}}}}return false},ID:function(Y){return Y[1].replace(/\\/g,"")},TAG:function(Y){return Y[1].toLowerCase()},CHILD:function(Z){if(Z[1]==="nth"){var Y=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Z[2]==="even"&&"2n"||Z[2]==="odd"&&"2n+1"||!/\D/.test(Z[2])&&"0n+"+Z[2]||Z[2]);Z[2]=Y[1]+(Y[2]||1)-0;Z[3]=Y[3]-0}Z[0]=P++;return Z},ATTR:function(bb,ab,Z,Y,ba,aa){ab=bb[1].replace(/\\/g,"");if(!aa&&J.attrMap[ab]){bb[1]=J.attrMap[ab]}if(bb[2]==="~="){bb[4]=" "+bb[4]+" "}return bb},PSEUDO:function(ba,aa,Z,Y,ab){if(ba[1]==="not"){if((Q.exec(ba[3])||"").length>1||/^\w/.test(ba[3])){ba[3]=G(ba[3],null,null,aa)}else{ba=G.filter(ba[3],aa,Z,true^ab);Z||Y.push.apply(Y,ba);return false}}else{if(J.match.POS.test(ba[0])||J.match.CHILD.test(ba[0])){return true}}return ba},POS:function(Y){Y.unshift(true);return Y}},filters:{enabled:function(Y){return Y.disabled===false&&Y.type!=="hidden"},disabled:function(Y){return Y.disabled===true},checked:function(Y){return Y.checked===true},selected:function(Y){return Y.selected===true},parent:function(Y){return !!Y.firstChild},empty:function(Y){return !Y.firstChild},has:function(aa,Z,Y){return !!G(Y[3],aa).length},header:function(Y){return/h\d/i.test(Y.nodeName)},text:function(Y){return"text"===Y.type},radio:function(Y){return"radio"===Y.type},checkbox:function(Y){return"checkbox"===Y.type},file:function(Y){return"file"===Y.type},password:function(Y){return"password"===Y.type},submit:function(Y){return"submit"===Y.type},image:function(Y){return"image"===Y.type},reset:function(Y){return"reset"===Y.type},button:function(Y){return"button"===Y.type||Y.nodeName.toLowerCase()==="button"},input:function(Y){return/input|select|textarea|button/i.test(Y.nodeName)}},setFilters:{first:function(Z,Y){return Y===0},last:function(ab,aa,Z,Y){return aa===Y.length-1},even:function(Z,Y){return Y%2===0},odd:function(Z,Y){return Y%2===1},lt:function(aa,Z,Y){return Z<Y[3]-0},gt:function(aa,Z,Y){return Z>Y[3]-0},nth:function(aa,Z,Y){return Y[3]-0===Z},eq:function(aa,Z,Y){return Y[3]-0===Z}},filter:{PSEUDO:function(bb,ab,Z,Y){var ba=ab[1],aa=J.filters[ba];if(aa){return aa(bb,Z,ab,Y)}else{if(ba==="contains"){return(bb.textContent||bb.innerText||L([bb])||"").indexOf(ab[3])>=0}else{if(ba==="not"){ab=ab[3];Z=0;for(Y=ab.length;Z<Y;Z++){if(ab[Z]===bb){return false}}return true}else{G.error("Syntax error, unrecognized expression: "+ba)}}}},CHILD:function(bl,ba){var Z=ba[1],Y=bl;switch(Z){case"only":case"first":for(;Y=Y.previousSibling;){if(Y.nodeType===1){return false}}if(Z==="first"){return true}Y=bl;case"last":for(;Y=Y.nextSibling;){if(Y.nodeType===1){return false}}return true;case"nth":Z=ba[2];var bb=ba[3];if(Z===1&&bb===0){return true}ba=ba[0];var ab=bl.parentNode;if(ab&&(ab.sizcache!==ba||!bl.nodeIndex)){var aa=0;for(Y=ab.firstChild;Y;Y=Y.nextSibling){if(Y.nodeType===1){Y.nodeIndex=++aa}}ab.sizcache=ba}bl=bl.nodeIndex-bb;return Z===0?bl===0:bl%Z===0&&bl/Z>=0}},ID:function(Z,Y){return Z.nodeType===1&&Z.getAttribute("id")===Y},TAG:function(Z,Y){return Y==="*"&&Z.nodeType===1||Z.nodeName.toLowerCase()===Y},CLASS:function(Z,Y){return(" "+(Z.className||Z.getAttribute("class"))+" ").indexOf(Y)>-1},ATTR:function(ab,aa){var Z=aa[1];ab=J.attrHandle[Z]?J.attrHandle[Z](ab):ab[Z]!=null?ab[Z]:ab.getAttribute(Z);Z=ab+"";var Y=aa[2];aa=aa[4];return ab==null?Y==="!=":Y==="="?Z===aa:Y==="*="?Z.indexOf(aa)>=0:Y==="~="?(" "+Z+" ").indexOf(aa)>=0:!aa?Z&&ab!==false:Y==="!="?Z!==aa:Y==="^="?Z.indexOf(aa)===0:Y==="$="?Z.substr(Z.length-aa.length)===aa:Y==="|="?Z===aa||Z.substr(0,aa.length+1)===aa+"-":false},POS:function(ba,aa,Z,Y){var ab=J.setFilters[aa[2]];if(ab){return ab(ba,Z,aa,Y)}}}},s=J.match.POS;for(var w in J.match){J.match[w]=new RegExp(J.match[w].source+/(?![^\[]*\])(?![^\(]*\))/.source);J.leftMatch[w]=new RegExp(/(^(?:.|\r|\n)*?)/.source+J.match[w].source.replace(/\\(\d+)/g,function(Z,Y){return"\\"+(Y-0+1)}))}var c=function(Z,Y){Z=Array.prototype.slice.call(Z,0);if(Y){Y.push.apply(Y,Z);return Y}return Z};try{Array.prototype.slice.call(a.documentElement.childNodes,0)}catch(V){c=function(ab,aa){aa=aa||[];if(F.call(ab)==="[object Array]"){Array.prototype.push.apply(aa,ab)}else{if(typeof ab.length==="number"){for(var Z=0,Y=ab.length;Z<Y;Z++){aa.push(ab[Z])}}else{for(Z=0;ab[Z];Z++){aa.push(ab[Z])}}}return aa}}var T;if(a.documentElement.compareDocumentPosition){T=function(Z,Y){if(!Z.compareDocumentPosition||!Y.compareDocumentPosition){if(Z==Y){A=true}return Z.compareDocumentPosition?-1:1}Z=Z.compareDocumentPosition(Y)&4?-1:Z===Y?0:1;if(Z===0){A=true}return Z}}else{if("sourceIndex" in a.documentElement){T=function(Z,Y){if(!Z.sourceIndex||!Y.sourceIndex){if(Z==Y){A=true}return Z.sourceIndex?-1:1}Z=Z.sourceIndex-Y.sourceIndex;if(Z===0){A=true}return Z}}else{if(a.createRange){T=function(ab,aa){if(!ab.ownerDocument||!aa.ownerDocument){if(ab==aa){A=true}return ab.ownerDocument?-1:1}var Z=ab.ownerDocument.createRange(),Y=aa.ownerDocument.createRange();Z.setStart(ab,0);Z.setEnd(ab,0);Y.setStart(aa,0);Y.setEnd(aa,0);ab=Z.compareBoundaryPoints(Range.START_TO_END,Y);if(ab===0){A=true}return ab}}}}(function(){var aa=a.createElement("div"),Z="script"+(new Date).getTime();aa.innerHTML="<a name='"+Z+"'/>";var Y=a.documentElement;Y.insertBefore(aa,Y.firstChild);if(a.getElementById(Z)){J.find.ID=function(ab,bb,ba){if(typeof bb.getElementById!=="undefined"&&!ba){return(bb=bb.getElementById(ab[1]))?bb.id===ab[1]||typeof bb.getAttributeNode!=="undefined"&&bb.getAttributeNode("id").nodeValue===ab[1]?[bb]:b:[]}};J.filter.ID=function(ab,bb){var ba=typeof ab.getAttributeNode!=="undefined"&&ab.getAttributeNode("id");return ab.nodeType===1&&ba&&ba.nodeValue===bb}}Y.removeChild(aa);Y=aa=null})();(function(){var Y=a.createElement("div");Y.appendChild(a.createComment(""));if(Y.getElementsByTagName("*").length>0){J.find.TAG=function(aa,ab){ab=ab.getElementsByTagName(aa[1]);if(aa[1]==="*"){aa=[];for(var Z=0;ab[Z];Z++){ab[Z].nodeType===1&&aa.push(ab[Z])}ab=aa}return ab}}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){J.attrHandle.href=function(Z){return Z.getAttribute("href",2)}}Y=null})();a.querySelectorAll&&function(){var aa=G,Z=a.createElement("div");Z.innerHTML="<p class='TEST'></p>";if(!(Z.querySelectorAll&&Z.querySelectorAll(".TEST").length===0)){G=function(ab,bm,bl,bb){bm=bm||a;if(!bb&&bm.nodeType===9&&!X(bm)){try{return c(bm.querySelectorAll(ab),bl)}catch(ba){}}return aa(ab,bm,bl,bb)};for(var Y in aa){G[Y]=aa[Y]}Z=null}}();(function(){var Y=a.createElement("div");Y.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!Y.getElementsByClassName||Y.getElementsByClassName("e").length===0)){Y.lastChild.className="e";if(Y.getElementsByClassName("e").length!==1){J.order.splice(1,0,"CLASS");J.find.CLASS=function(aa,ab,Z){if(typeof ab.getElementsByClassName!=="undefined"&&!Z){return ab.getElementsByClassName(aa[1])}};Y=null}}})();var W=a.compareDocumentPosition?function(Z,Y){return !!(Z.compareDocumentPosition(Y)&16)}:function(Z,Y){return Z!==Y&&(Z.contains?Z.contains(Y):true)},X=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false},R=function(bb,ab){var Z=[],Y="",ba;for(ab=ab.nodeType?[ab]:ab;ba=J.match.PSEUDO.exec(bb);){Y+=ba[0];bb=bb.replace(J.match.PSEUDO,"")}bb=J.relative[bb]?bb+"*":bb;ba=0;for(var aa=ab.length;ba<aa;ba++){G(bb,ab[ba],Z)}return G.filter(Y,Z)};d.find=G;d.expr=G.selectors;d.expr[":"]=d.expr.filters;d.unique=G.uniqueSort;d.text=L;d.isXMLDoc=X;d.contains=W})();var aY=/Until$/,aZ=/^(?:parents|prevUntil|prevAll)/,a0=/,/;a6=Array.prototype.slice;var q=function(c,s,w){if(d.isFunction(s)){return d.grep(c,function(G,F){return !!s.call(G,F,G)===w})}else{if(s.nodeType){return d.grep(c,function(F){return F===s===w})}else{if(typeof s==="string"){var A=d.grep(c,function(F){return F.nodeType===1});if(n.test(s)){return d.filter(s,A,!w)}else{s=d.filter(s,A)}}}}return d.grep(c,function(F){return d.inArray(F,s)>=0===w})};d.fn.extend({find:function(w){for(var A=this.pushStack("","find",w),F=0,J=0,G=this.length;J<G;J++){F=A.length;d.find(w,this[J],A);if(J>0){for(var c=F;c<A.length;c++){for(var s=0;s<F;s++){if(A[s]===A[c]){A.splice(c--,1);break}}}}}return A},has:function(c){var s=d(c);return this.filter(function(){for(var w=0,A=s.length;w<A;w++){if(d.contains(this,s[w])){return true}}})},not:function(c){return this.pushStack(q(this,c,false),"not",c)},filter:function(c){return this.pushStack(q(this,c,true),"filter",c)},is:function(c){return !!c&&d.filter(c,this).length>0},closest:function(F,G){if(d.isArray(F)){var J=[],L=this[0],K,s={},c;if(L&&F.length){K=0;for(var A=F.length;K<A;K++){c=F[K];s[c]||(s[c]=d.expr.match.POS.test(c)?d(c,G||this.context):c)}for(;L&&L.ownerDocument&&L!==G;){for(c in s){K=s[c];if(K.jquery?K.index(L)>-1:d(L).is(K)){J.push({selector:c,elem:L});delete s[c]}}L=L.parentNode}}return J}var w=d.expr.match.POS.test(F)?d(F,G||this.context):null;return this.map(function(O,N){for(;N&&N.ownerDocument&&N!==G;){if(w?w.index(N)>-1:d(N).is(F)){return N}N=N.parentNode}return null})},index:function(c){if(!c||typeof c==="string"){return d.inArray(this[0],c?d(c):this.parent().children())}return d.inArray(c.jquery?c[0]:c,this)},add:function(c,s){c=typeof c==="string"?d(c,s||this.context):d.makeArray(c);s=d.merge(this.get(),c);return this.pushStack(ad(c[0])||ad(s[0])?s:d.unique(s))},andSelf:function(){return this.add(this.prevObject)}});d.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return d.dir(c,"parentNode")},parentsUntil:function(c,s,w){return d.dir(c,"parentNode",w)},next:function(c){return d.nth(c,2,"nextSibling")},prev:function(c){return d.nth(c,2,"previousSibling")},nextAll:function(c){return d.dir(c,"nextSibling")},prevAll:function(c){return d.dir(c,"previousSibling")},nextUntil:function(c,s,w){return d.dir(c,"nextSibling",w)},prevUntil:function(c,s,w){return d.dir(c,"previousSibling",w)},siblings:function(c){return d.sibling(c.parentNode.firstChild,c)},children:function(c){return d.sibling(c.firstChild)},contents:function(c){return d.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:d.makeArray(c.childNodes)}},function(c,s){d.fn[c]=function(w,F){var A=d.map(this,s,w);aY.test(c)||(F=w);if(F&&typeof F==="string"){A=d.filter(F,A)}A=this.length>1?d.unique(A):A;if((this.length>1||a0.test(F))&&aZ.test(c)){A=A.reverse()}return this.pushStack(A,c,a6.call(arguments).join(","))}});d.extend({filter:function(c,s,w){if(w){c=":not("+c+")"}return d.find.matches(c,s)},dir:function(c,s,w){var A=[];for(c=c[s];c&&c.nodeType!==9&&(w===b||c.nodeType!==1||!d(c).is(w));){c.nodeType===1&&A.push(c);c=c[s]}return A},nth:function(c,s,w){s=s||1;for(var A=0;c;c=c[w]){if(c.nodeType===1&&++A===s){break}}return c},sibling:function(c,s){for(var w=[];c;c=c.nextSibling){c.nodeType===1&&c!==s&&w.push(c)}return w}});var r=/ jQuery\d+="(?:\d+|null)"/g,a8=/^\s+/,t=/(<([\w:]+)[^>]*?)\/>/g,aM=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,u=/<([\w:]+)/,aN=/<tbody/i,aO=/<|&#?\w+;/,ag=/<script|<object|<embed|<option|<style/i,ah=/checked\s*(?:[^=]|=\s*.checked.)/i,v=function(c,s,w){return aM.test(w)?c:s+"></"+w+">"},bj={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,"",""]};bj.optgroup=bj.option;bj.tbody=bj.tfoot=bj.colgroup=bj.caption=bj.thead;bj.th=bj.td;if(!d.support.htmlSerialize){bj._default=[1,"div<div>","</div>"]}d.fn.extend({text:function(c){if(d.isFunction(c)){return this.each(function(s){var w=d(this);w.text(c.call(this,s,w.text()))})}if(typeof c!=="object"&&c!==b){return this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(c))}return d.text(this)},wrapAll:function(c){if(d.isFunction(c)){return this.each(function(w){d(this).wrapAll(c.call(this,w))})}if(this[0]){var s=d(c,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&s.insertBefore(this[0]);s.map(function(){for(var w=this;w.firstChild&&w.firstChild.nodeType===1;){w=w.firstChild}return w}).append(this)}return this},wrapInner:function(c){if(d.isFunction(c)){return this.each(function(s){d(this).wrapInner(c.call(this,s))})}return this.each(function(){var s=d(this),w=s.contents();w.length?w.wrapAll(c):s.append(c)})},wrap:function(c){return this.each(function(){d(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this)})}else{if(arguments.length){var c=d(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,d(arguments[0]).toArray());return c}}},remove:function(c,s){for(var w=0,A;(A=this[w])!=null;w++){if(!c||d.filter(c,[A]).length){if(!s&&A.nodeType===1){d.cleanData(A.getElementsByTagName("*"));d.cleanData([A])}A.parentNode&&A.parentNode.removeChild(A)}}return this},empty:function(){for(var c=0,s;(s=this[c])!=null;c++){for(s.nodeType===1&&d.cleanData(s.getElementsByTagName("*"));s.firstChild;){s.removeChild(s.firstChild)}}return this},clone:function(c){var s=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var w=this.outerHTML,A=this.ownerDocument;if(!w){w=A.createElement("div");w.appendChild(this.cloneNode(true));w=w.innerHTML}return d.clean([w.replace(r,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(a8,"")],A)[0]}else{return this.cloneNode(true)}});if(c===true){ae(this,s);ae(this.find("*"),s.find("*"))}return s},html:function(c){if(c===b){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(r,""):null}else{if(typeof c==="string"&&!ag.test(c)&&(d.support.leadingWhitespace||!a8.test(c))&&!bj[(u.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(t,v);try{for(var s=0,w=this.length;s<w;s++){if(this[s].nodeType===1){d.cleanData(this[s].getElementsByTagName("*"));this[s].innerHTML=c}}}catch(A){this.empty().append(c)}}else{d.isFunction(c)?this.each(function(J){var F=d(this),G=F.html();F.empty().append(function(){return c.call(this,J,G)})}):this.empty().append(c)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(d.isFunction(c)){return this.each(function(s){var w=d(this),A=w.html();w.replaceWith(c.call(this,s,A))})}if(typeof c!=="string"){c=d(c).detach()}return this.each(function(){var s=this.nextSibling,w=this.parentNode;d(this).remove();s?d(s).before(c):d(w).append(c)})}else{return this.pushStack(d(d.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(G,J,K){function N(P){return d.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P}var L,s,c=G[0],F=[],w;if(!d.support.checkClone&&arguments.length===3&&typeof c==="string"&&ah.test(c)){return this.each(function(){d(this).domManip(G,J,K,true)})}if(d.isFunction(c)){return this.each(function(P){var Q=d(this);G[0]=c.call(this,P,J?Q.html():b);Q.domManip(G,J,K)})}if(this[0]){L=c&&c.parentNode;L=d.support.parentNode&&L&&L.nodeType===11&&L.childNodes.length===this.length?{fragment:L}:af(G,this,F);w=L.fragment;if(s=w.childNodes.length===1?(w=w.firstChild):w.firstChild){J=J&&d.nodeName(s,"tr");for(var A=0,O=this.length;A<O;A++){K.call(J?N(this[A],s):this[A],A>0||L.cacheable||this.length>1?w.cloneNode(true):w)}}F.length&&d.each(F,j)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,s){d.fn[c]=function(F){var J=[];F=d(F);var G=this.length===1&&this[0].parentNode;if(G&&G.nodeType===11&&G.childNodes.length===1&&F.length===1){F[s](this[0]);return this}else{G=0;for(var A=F.length;G<A;G++){var w=(G>0?this.clone(true):this).get();d.fn[s].apply(d(F[G]),w);J=J.concat(w)}return this.pushStack(J,c,F.selector)}}});d.extend({clean:function(G,J,K,N){J=J||a;if(typeof J.createElement==="undefined"){J=J.ownerDocument||J[0]&&J[0].ownerDocument||a}for(var L=[],s=0,c;(c=G[s])!=null;s++){if(typeof c==="number"){c+=""}if(c){if(typeof c==="string"&&!aO.test(c)){c=J.createTextNode(c)}else{if(typeof c==="string"){c=c.replace(t,v);var F=(u.exec(c)||["",""])[1].toLowerCase(),w=bj[F]||bj._default,A=w[0],O=J.createElement("div");for(O.innerHTML=w[1]+c+w[2];A--;){O=O.lastChild}if(!d.support.tbody){A=aN.test(c);F=F==="table"&&!A?O.firstChild&&O.firstChild.childNodes:w[1]==="<table>"&&!A?O.childNodes:[];for(w=F.length-1;w>=0;--w){d.nodeName(F[w],"tbody")&&!F[w].childNodes.length&&F[w].parentNode.removeChild(F[w])}}!d.support.leadingWhitespace&&a8.test(c)&&O.insertBefore(J.createTextNode(a8.exec(c)[0]),O.firstChild);c=O.childNodes}}if(c.nodeType){L.push(c)}else{L=d.merge(L,c)}}}if(K){for(s=0;L[s];s++){if(N&&d.nodeName(L[s],"script")&&(!L[s].type||L[s].type.toLowerCase()==="text/javascript")){N.push(L[s].parentNode?L[s].parentNode.removeChild(L[s]):L[s])}else{L[s].nodeType===1&&L.splice.apply(L,[s+1,0].concat(d.makeArray(L[s].getElementsByTagName("script"))));K.appendChild(L[s])}}}return L},cleanData:function(F){for(var G,J,L=d.cache,K=d.event.special,s=d.support.deleteExpando,c=0,A;(A=F[c])!=null;c++){if(J=A[d.expando]){G=L[J];if(G.events){for(var w in G.events){K[w]?d.event.remove(A,w):C(A,w,G.handle)}}if(s){delete A[d.expando]}else{A.removeAttribute&&A.removeAttribute(d.expando)}delete L[J]}}}});var aP=/z-?index|font-?weight|opacity|zoom|line-?height/i,x=/alpha\([^)]*\)/,y=/opacity=([^)]*)/,ak=/float/i,al=/-([a-z])/ig,aQ=/([A-Z])/g,aR=/^-?\d+(?:px)?$/i,aS=/^-?\d/,aT={position:"absolute",visibility:"hidden",display:"block"},aE=["Left","Right"],aF=["Top","Bottom"],aG=a.defaultView&&a.defaultView.getComputedStyle,i=d.support.cssFloat?"cssFloat":"styleFloat",am=function(c,s){return s.toUpperCase()};d.fn.css=function(c,s){return a1(this,c,s,true,function(w,F,A){if(A===b){return d.curCSS(w,F)}if(typeof A==="number"&&!aP.test(F)){A+="px"}d.style(w,F,A)})};d.extend({style:function(c,s,w){if(!c||c.nodeType===3||c.nodeType===8){return b}if((s==="width"||s==="height")&&parseFloat(w)<0){w=b}var F=c.style||c,A=w!==b;if(!d.support.opacity&&s==="opacity"){if(A){F.zoom=1;s=parseInt(w,10)+""==="NaN"?"":"alpha(opacity="+w*100+")";c=F.filter||d.curCSS(c,"filter")||"";F.filter=x.test(c)?c.replace(x,s):s}return F.filter&&F.filter.indexOf("opacity=")>=0?parseFloat(y.exec(F.filter)[1])/100+"":""}if(ak.test(s)){s=i}s=s.replace(al,am);if(A){F[s]=w}return F[s]},css:function(w,A,F,J){if(A==="width"||A==="height"){var G,c=A==="width"?aE:aF;function s(){G=A==="width"?w.offsetWidth:w.offsetHeight;J!=="border"&&d.each(c,function(){J||(G-=parseFloat(d.curCSS(w,"padding"+this,true))||0);if(J==="margin"){G+=parseFloat(d.curCSS(w,"margin"+this,true))||0}else{G-=parseFloat(d.curCSS(w,"border"+this+"Width",true))||0}})}w.offsetWidth!==0?s():d.swap(w,aT,s);return Math.max(0,Math.round(G))}return d.curCSS(w,A,F)},curCSS:function(s,w,A){var G,F=s.style;if(!d.support.opacity&&w==="opacity"&&s.currentStyle){G=y.test(s.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return G===""?"1":G}if(ak.test(w)){w=i}if(!A&&F&&F[w]){G=F[w]}else{if(aG){if(ak.test(w)){w="float"}w=w.replace(aQ,"-$1").toLowerCase();F=s.ownerDocument.defaultView;if(!F){return null}if(s=F.getComputedStyle(s,null)){G=s.getPropertyValue(w)}if(w==="opacity"&&G===""){G="1"}}else{if(s.currentStyle){A=w.replace(al,am);G=s.currentStyle[w]||s.currentStyle[A];if(!aR.test(G)&&aS.test(G)){w=F.left;var c=s.runtimeStyle.left;s.runtimeStyle.left=s.currentStyle.left;F.left=A==="fontSize"?"1em":G||0;G=F.pixelLeft+"px";F.left=w;s.runtimeStyle.left=c}}}}return G},swap:function(c,s,w){var F={};for(var A in s){F[A]=c.style[A];c.style[A]=s[A]}w.call(c);for(A in s){c.style[A]=F[A]}}});if(d.expr&&d.expr.filters){d.expr.filters.hidden=function(c){var s=c.offsetWidth,w=c.offsetHeight,A=c.nodeName.toLowerCase()==="tr";return s===0&&w===0&&!A?true:s>0&&w>0&&!A?false:d.curCSS(c,"display")==="none"};d.expr.filters.visible=function(c){return !d.expr.filters.hidden(c)}}var aH=bd(),aI=/<script(.|\s)*?\/script>/gi,aJ=/select|textarea/i,aK=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,bg=/=\?(&|$)/,an=/\?/,aL=/(\?|&)_=.*?(&|$)/,aB=/^(\w+:)?\/\/([^\/?#]+)/,aC=/%20/g,aD=d.fn.load;d.fn.extend({load:function(s,w,A){if(typeof s!=="string"){return aD.call(this,s)}else{if(!this.length){return this}}var G=s.indexOf(" ");if(G>=0){var F=s.slice(G,s.length);s=s.slice(0,G)}G="GET";if(w){if(d.isFunction(w)){A=w;w=null}else{if(typeof w==="object"){w=d.param(w,d.ajaxSettings.traditional);G="POST"}}}var c=this;d.ajax({url:s,type:G,dataType:"html",data:w,complete:function(K,J){if(J==="success"||J==="notmodified"){c.html(F?d("<div />").append(K.responseText.replace(aI,"")).find(F):K.responseText)}A&&c.each(A,[K.responseText,J,K])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aJ.test(this.nodeName)||aK.test(this.type))}).map(function(c,s){c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(w){return{name:s.name,value:w}}):{name:s.name,value:c}}).get()}});d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,s){d.fn[s]=function(w){return this.bind(s,w)}});d.extend({get:function(c,s,w,A){if(d.isFunction(s)){A=A||w;w=s;s=null}return d.ajax({type:"GET",url:c,data:s,success:w,dataType:A})},getScript:function(c,s){return d.get(c,null,s,"script")},getJSON:function(c,s,w){return d.get(c,s,w,"json")},post:function(c,s,w,A){if(d.isFunction(s)){A=A||w;w=s;s={}}return d.ajax({type:"POST",url:c,data:s,success:w,dataType:A})},ajaxSetup:function(c){d.extend(d.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:bi.XMLHttpRequest&&(bi.location.protocol!=="file:"||!bi.ActiveXObject)?function(){return new bi.XMLHttpRequest}:function(){try{return new bi.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}},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(P){function Q(){T.success&&T.success.call(J,O,F,ab);T.global&&V("ajaxSuccess",[ab,T])}function R(){T.complete&&T.complete.call(J,ab,F);T.global&&V("ajaxComplete",[ab,T]);T.global&&!--d.active&&d.event.trigger("ajaxStop")}function V(bb,ba){(T.context?d(T.context):d.event).trigger(bb,ba)}var T=d.extend(true,{},d.ajaxSettings,P),G,F,O,J=P&&P.context||T,N=T.type.toUpperCase();if(T.data&&T.processData&&typeof T.data!=="string"){T.data=d.param(T.data,T.traditional)}if(T.dataType==="jsonp"){if(N==="GET"){bg.test(T.url)||(T.url+=(an.test(T.url)?"&":"?")+(T.jsonp||"callback")+"=?")}else{if(!T.data||!bg.test(T.data)){T.data=(T.data?T.data+"&":"")+(T.jsonp||"callback")+"=?"}}T.dataType="json"}if(T.dataType==="json"&&(T.data&&bg.test(T.data)||bg.test(T.url))){G=T.jsonpCallback||"jsonp"+aH++;if(T.data){T.data=(T.data+"").replace(bg,"="+G+"$1")}T.url=T.url.replace(bg,"="+G+"$1");T.dataType="script";bi[G]=bi[G]||function(bb){O=bb;Q();R();bi[G]=b;try{delete bi[G]}catch(ba){}c&&c.removeChild(Z)}}if(T.dataType==="script"&&T.cache===null){T.cache=false}if(T.cache===false&&N==="GET"){var s=bd(),w=T.url.replace(aL,"$1_="+s+"$2");T.url=w+(w===T.url?(an.test(T.url)?"&":"?")+"_="+s:"")}if(T.data&&N==="GET"){T.url+=(an.test(T.url)?"&":"?")+T.data}T.global&&!d.active++&&d.event.trigger("ajaxStart");s=(s=aB.exec(T.url))&&(s[1]&&s[1]!==location.protocol||s[2]!==location.host);if(T.dataType==="script"&&N==="GET"&&s){var c=a.getElementsByTagName("head")[0]||a.documentElement,Z=a.createElement("script");Z.src=T.url;if(T.scriptCharset){Z.charset=T.scriptCharset}if(!G){var Y=false;Z.onload=Z.onreadystatechange=function(){if(!Y&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){Y=true;Q();R();Z.onload=Z.onreadystatechange=null;c&&Z.parentNode&&c.removeChild(Z)}}}c.insertBefore(Z,c.firstChild);return b}var aa=false,ab=T.xhr();if(ab){T.username?ab.open(N,T.url,T.async,T.username,T.password):ab.open(N,T.url,T.async);try{if(T.data||P&&P.contentType){ab.setRequestHeader("Content-Type",T.contentType)}if(T.ifModified){d.lastModified[T.url]&&ab.setRequestHeader("If-Modified-Since",d.lastModified[T.url]);d.etag[T.url]&&ab.setRequestHeader("If-None-Match",d.etag[T.url])}s||ab.setRequestHeader("X-Requested-With","XMLHttpRequest");ab.setRequestHeader("Accept",T.dataType&&T.accepts[T.dataType]?T.accepts[T.dataType]+", */*":T.accepts._default)}catch(X){}if(T.beforeSend&&T.beforeSend.call(J,ab,T)===false){T.global&&!--d.active&&d.event.trigger("ajaxStop");ab.abort();return false}T.global&&V("ajaxSend",[ab,T]);var W=ab.onreadystatechange=function(bl){if(!ab||ab.readyState===0||bl==="abort"){aa||R();aa=true;if(ab){ab.onreadystatechange=d.noop}}else{if(!aa&&ab&&(ab.readyState===4||bl==="timeout")){aa=true;ab.onreadystatechange=d.noop;F=bl==="timeout"?"timeout":!d.httpSuccess(ab)?"error":T.ifModified&&d.httpNotModified(ab,T.url)?"notmodified":"success";var bb;if(F==="success"){try{O=d.httpData(ab,T.dataType,T)}catch(ba){F="parsererror";bb=ba}}if(F==="success"||F==="notmodified"){G||Q()}else{d.handleError(T,ab,F,bb)}R();bl==="timeout"&&ab.abort();if(T.async){ab=null}}}};try{var A=ab.abort;ab.abort=function(){ab&&A.call(ab);W("abort")}}catch(K){}T.async&&T.timeout>0&&setTimeout(function(){ab&&!aa&&W("timeout")},T.timeout);try{ab.send(N==="POST"||N==="PUT"||N==="DELETE"?T.data:null)}catch(L){d.handleError(T,ab,null,L);R()}T.async||W();return ab}},handleError:function(c,s,w,A){if(c.error){c.error.call(c.context||c,s,w,A)}if(c.global){(c.context?d(c.context):d.event).trigger("ajaxError",[s,c,A])}},active:0,httpSuccess:function(c){try{return !c.status&&location.protocol==="file:"||c.status>=200&&c.status<300||c.status===304||c.status===1223||c.status===0}catch(s){}return false},httpNotModified:function(c,s){var w=c.getResponseHeader("Last-Modified"),A=c.getResponseHeader("Etag");if(w){d.lastModified[s]=w}if(A){d.etag[s]=A}return c.status===304||c.status===0},httpData:function(c,s,w){var F=c.getResponseHeader("content-type")||"",A=s==="xml"||!s&&F.indexOf("xml")>=0;c=A?c.responseXML:c.responseText;A&&c.documentElement.nodeName==="parsererror"&&d.error("parsererror");if(w&&w.dataFilter){c=w.dataFilter(c,s)}if(typeof c==="string"){if(s==="json"||!s&&F.indexOf("json")>=0){c=d.parseJSON(c)}else{if(s==="script"||!s&&F.indexOf("javascript")>=0){d.globalEval(c)}}}return c},param:function(s,w){function A(K,J){if(d.isArray(J)){d.each(J,function(N,L){w||/\[\]$/.test(K)?G(K,L):A(K+"["+(typeof L==="object"||d.isArray(L)?N:"")+"]",L)})}else{!w&&J!=null&&typeof J==="object"?d.each(J,function(N,L){A(K+"["+N+"]",L)}):G(K,J)}}function G(K,J){J=d.isFunction(J)?J():J;F[F.length]=encodeURIComponent(K)+"="+encodeURIComponent(J)}var F=[];if(w===b){w=d.ajaxSettings.traditional}if(d.isArray(s)||s.jquery){d.each(s,function(){G(this.name,this.value)})}else{for(var c in s){A(c,s[c])}}return F.join("&").replace(aC,"+")}});var ao={},az=/toggle|show|hide/,aA=/^([+-]=)?([\d+-.]+)(.*)$/,a9,ai=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(c,s){if(c||c===0){return this.animate(be("show",3),c,s)}else{c=0;for(s=this.length;c<s;c++){var w=d.data(this[c],"olddisplay");this[c].style.display=w||"";if(d.css(this[c],"display")==="none"){w=this[c].nodeName;var F;if(ao[w]){F=ao[w]}else{var A=d("<"+w+" />").appendTo("body");F=A.css("display");if(F==="none"){F="block"}A.remove();ao[w]=F}d.data(this[c],"olddisplay",F)}}c=0;for(s=this.length;c<s;c++){this[c].style.display=d.data(this[c],"olddisplay")||""}return this}},hide:function(c,s){if(c||c===0){return this.animate(be("hide",3),c,s)}else{c=0;for(s=this.length;c<s;c++){var w=d.data(this[c],"olddisplay");!w&&w!=="none"&&d.data(this[c],"olddisplay",d.css(this[c],"display"))}c=0;for(s=this.length;c<s;c++){this[c].style.display="none"}return this}},_toggle:d.fn.toggle,toggle:function(c,s){var w=typeof c==="boolean";if(d.isFunction(c)&&d.isFunction(s)){this._toggle.apply(this,arguments)}else{c==null||w?this.each(function(){var A=w?c:d(this).is(":hidden");d(this)[A?"show":"hide"]()}):this.animate(be("toggle",3),c,s)}return this},fadeTo:function(c,s,w){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:s},c,w)},animate:function(c,s,w,F){var A=d.speed(s,w,F);if(d.isEmptyObject(c)){return this.each(A.complete)}return this[A.queue===false?"each":"queue"](function(){var L=d.extend({},A),K,J=this.nodeType===1&&d(this).is(":hidden"),N=this;for(K in c){var G=K.replace(al,am);if(K!==G){c[G]=c[K];delete c[K];K=G}if(c[K]==="hide"&&J||c[K]==="show"&&!J){return L.complete.call(this)}if((K==="height"||K==="width")&&this.style){L.display=d.css(this,"display");L.overflow=this.style.overflow}if(d.isArray(c[K])){(L.specialEasing=L.specialEasing||{})[K]=c[K][1];c[K]=c[K][0]}}if(L.overflow!=null){this.style.overflow="hidden"}L.curAnim=d.extend({},c);d.each(c,function(O,P){var V=new d.fx(N,L,O);if(az.test(P)){V[P==="toggle"?J?"show":"hide":P](c)}else{var R=aA.exec(P),Q=V.cur(true)||0;if(R){P=parseFloat(R[2]);var T=R[3]||"px";if(T!=="px"){N.style[O]=(P||1)+T;Q=(P||1)/V.cur(true)*Q;N.style[O]=Q+T}if(R[1]){P=(R[1]==="-="?-1:1)*P+Q}V.custom(Q,P,T)}else{V.custom(Q,P,"")}}});return true})},stop:function(c,s){var w=d.timers;c&&this.queue([]);this.each(function(){for(var A=w.length-1;A>=0;A--){if(w[A].elem===this){s&&w[A](true);w.splice(A,1)}}});s||this.dequeue();return this}});d.each({slideDown:be("show",1),slideUp:be("hide",1),slideToggle:be("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(c,s){d.fn[c]=function(w,A){return this.animate(s,w,A)}});d.extend({speed:function(c,s,w){var A=c&&typeof c==="object"?c:{complete:w||!w&&s||d.isFunction(c)&&c,duration:c,easing:w&&s||s&&!d.isFunction(s)&&s};A.duration=d.fx.off?0:typeof A.duration==="number"?A.duration:d.fx.speeds[A.duration]||d.fx.speeds._default;A.old=A.complete;A.complete=function(){A.queue!==false&&d(this).dequeue();d.isFunction(A.old)&&A.old.call(this)};return A},easing:{linear:function(c,s,w,A){return w+A*c},swing:function(c,s,w,A){return(-Math.cos(c*Math.PI)/2+0.5)*A+w}},timers:[],fx:function(c,s,w){this.options=s;this.elem=c;this.prop=w;if(!s.orig){s.orig={}}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}return(c=parseFloat(d.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(d.curCSS(this.elem,this.prop))||0},custom:function(c,s,w){function F(G){return A.step(G)}this.startTime=bd();this.start=c;this.end=s;this.unit=w||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;F.elem=this.elem;if(F()&&d.timers.push(F)&&!a9){a9=setInterval(d.fx.tick,13)}},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var s=bd(),w=true;if(c||s>=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){w=false}}if(w){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;c=d.data(this.elem,"olddisplay");this.elem.style.display=c?c:this.options.display;if(d.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){d.style(this.elem,A,this.options.orig[A])}}this.options.complete.call(this.elem)}return false}else{A=s-this.startTime;this.state=A/this.options.duration;c=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,A,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};d.extend(d.fx,{tick:function(){for(var c=d.timers,s=0;s<c.length;s++){c[s]()||c.splice(s--,1)}c.length||d.fx.stop()},stop:function(){clearInterval(a9);a9=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){d.style(c.elem,"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit}else{c.elem[c.prop]=c.now}}}});if(d.expr&&d.expr.filters){d.expr.filters.animated=function(c){return d.grep(d.timers,function(s){return c===s.elem}).length}}d.fn.offset="getBoundingClientRect" in a.documentElement?function(c){var s=this[0];if(c){return this.each(function(F){d.offset.setOffset(this,c,F)})}if(!s||!s.ownerDocument){return null}if(s===s.ownerDocument.body){return d.offset.bodyOffset(s)}var w=s.getBoundingClientRect(),A=s.ownerDocument;s=A.body;A=A.documentElement;return{top:w.top+(self.pageYOffset||d.support.boxModel&&A.scrollTop||s.scrollTop)-(A.clientTop||s.clientTop||0),left:w.left+(self.pageXOffset||d.support.boxModel&&A.scrollLeft||s.scrollLeft)-(A.clientLeft||s.clientLeft||0)}}:function(G){var J=this[0];if(G){return this.each(function(O){d.offset.setOffset(this,G,O)})}if(!J||!J.ownerDocument){return null}if(J===J.ownerDocument.body){return d.offset.bodyOffset(J)}d.offset.initialize();var K=J.offsetParent,N=J,L=J.ownerDocument,s,c=L.documentElement,F=L.body;N=(L=L.defaultView)?L.getComputedStyle(J,null):J.currentStyle;for(var w=J.offsetTop,A=J.offsetLeft;(J=J.parentNode)&&J!==F&&J!==c;){if(d.offset.supportsFixedPosition&&N.position==="fixed"){break}s=L?L.getComputedStyle(J,null):J.currentStyle;w-=J.scrollTop;A-=J.scrollLeft;if(J===K){w+=J.offsetTop;A+=J.offsetLeft;if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.nodeName))){w+=parseFloat(s.borderTopWidth)||0;A+=parseFloat(s.borderLeftWidth)||0}N=K;K=J.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&s.overflow!=="visible"){w+=parseFloat(s.borderTopWidth)||0;A+=parseFloat(s.borderLeftWidth)||0}N=s}if(N.position==="relative"||N.position==="static"){w+=F.offsetTop;A+=F.offsetLeft}if(d.offset.supportsFixedPosition&&N.position==="fixed"){w+=Math.max(c.scrollTop,F.scrollTop);A+=Math.max(c.scrollLeft,F.scrollLeft)}return{top:w,left:A}};d.offset={initialize:function(){var s=a.body,w=a.createElement("div"),A,G,F,c=parseFloat(d.curCSS(s,"marginTop",true))||0;d.extend(w.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});w.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>";s.insertBefore(w,s.firstChild);A=w.firstChild;G=A.firstChild;F=A.nextSibling.firstChild.firstChild;this.doesNotAddBorder=G.offsetTop!==5;this.doesAddBorderForTableAndCells=F.offsetTop===5;G.style.position="fixed";G.style.top="20px";this.supportsFixedPosition=G.offsetTop===20||G.offsetTop===15;G.style.position=G.style.top="";A.style.overflow="hidden";A.style.position="relative";this.subtractsBorderForOverflowNotVisible=G.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==c;s.removeChild(w);d.offset.initialize=d.noop},bodyOffset:function(c){var s=c.offsetTop,w=c.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){s+=parseFloat(d.curCSS(c,"marginTop",true))||0;w+=parseFloat(d.curCSS(c,"marginLeft",true))||0}return{top:s,left:w}},setOffset:function(w,A,F){if(/static/.test(d.curCSS(w,"position"))){w.style.position="relative"}var J=d(w),G=J.offset(),c=parseInt(d.curCSS(w,"top",true),10)||0,s=parseInt(d.curCSS(w,"left",true),10)||0;if(d.isFunction(A)){A=A.call(w,F,G)}F={top:A.top-G.top+c,left:A.left-G.left+s};"using" in A?A.using.call(w,F):J.css(F)}};d.fn.extend({position:function(){if(!this[0]){return null}var c=this[0],s=this.offsetParent(),w=this.offset(),A=/^body|html$/i.test(s[0].nodeName)?{top:0,left:0}:s.offset();w.top-=parseFloat(d.curCSS(c,"marginTop",true))||0;w.left-=parseFloat(d.curCSS(c,"marginLeft",true))||0;A.top+=parseFloat(d.curCSS(s[0],"borderTopWidth",true))||0;A.left+=parseFloat(d.curCSS(s[0],"borderLeftWidth",true))||0;return{top:w.top-A.top,left:w.left-A.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||a.body;c&&!/^body|html$/i.test(c.nodeName)&&d.css(c,"position")==="static";){c=c.offsetParent}return c})}});d.each(["Left","Top"],function(c,s){var w="scroll"+s;d.fn[w]=function(G){var F=this[0],A;if(!F){return null}if(G!==b){return this.each(function(){if(A=aj(this)){A.scrollTo(!c?G:d(A).scrollLeft(),c?G:d(A).scrollTop())}else{this[w]=G}})}else{return(A=aj(F))?"pageXOffset" in A?A[c?"pageYOffset":"pageXOffset"]:d.support.boxModel&&A.document.documentElement[w]||A.document.body[w]:F[w]}}});d.each(["Height","Width"],function(c,s){var w=s.toLowerCase();d.fn["inner"+s]=function(){return this[0]?d.css(this[0],w,false,"padding"):null};d.fn["outer"+s]=function(A){return this[0]?d.css(this[0],w,false,A?"margin":"border"):null};d.fn[w]=function(F){var A=this[0];if(!A){return F==null?null:this}if(d.isFunction(F)){return this.each(function(J){var G=d(this);G[w](F.call(this,J,G[w]()))})}return"scrollTo" in A&&A.document?A.document.compatMode==="CSS1Compat"&&A.document.documentElement["client"+s]||A.document.body["client"+s]:A.nodeType===9?Math.max(A.documentElement["client"+s],A.body["scroll"+s],A.documentElement["scroll"+s],A.body["offset"+s],A.documentElement["offset"+s]):F===b?d.css(A,w):this.css(w,typeof F==="string"?F:F+"px")}});bi.jQuery=bi.$=d})(window);(function(e){e.fn.adGallery=function(k){var i={loader_image:"loader.gif",start_at_index:0,description_wrapper:false,thumb_opacity:0.7,animate_first_image:false,animation_speed:400,width:false,height:false,display_next_and_prev:true,display_back_and_forward:true,scroll_jump:0,slideshow:{enable:true,autostart:false,speed:5000,start_label:"Start",stop_label:"Stop",stop_on_scroll:true,countdown_prefix:"(",countdown_sufix:")",onStart:false,onStop:false},effect:"slide-hori",enable_keyboard_move:true,cycle:true,callbacks:{init:false,afterImageVisible:false,beforeImageVisible:false}};var j=e.extend(false,i,k);if(k&&k.slideshow){j.slideshow=e.extend(false,i.slideshow,k.slideshow)}if(!j.slideshow.enable){j.slideshow.autostart=false}var l=[];e(this).each(function(){var m=new c(this,j);l[l.length]=m});return l};function g(j,k,i){var l=parseInt(j.css("top"),10);if(k=="left"){var m="-"+this.image_wrapper_height+"px";j.css("top",this.image_wrapper_height+"px")}else{var m=this.image_wrapper_height+"px";j.css("top","-"+this.image_wrapper_height+"px")}if(i){i.css("bottom","-"+i[0].offsetHeight+"px");i.animate({bottom:0},this.settings.animation_speed*2)}if(this.current_description){this.current_description.animate({bottom:"-"+this.current_description[0].offsetHeight+"px"},this.settings.animation_speed*2)}return{old_image:{top:m},new_image:{top:l}}}function b(j,k,i){var l=parseInt(j.css("left"),10);if(k=="left"){var m="-"+this.image_wrapper_width+"px";j.css("left",this.image_wrapper_width+"px")}else{var m=this.image_wrapper_width+"px";j.css("left","-"+this.image_wrapper_width+"px")}if(i){i.css("bottom","-"+i[0].offsetHeight+"px");i.animate({bottom:0},this.settings.animation_speed*2)}if(this.current_description){this.current_description.animate({bottom:"-"+this.current_description[0].offsetHeight+"px"},this.settings.animation_speed*2)}return{old_image:{left:m},new_image:{left:l}}}function f(k,l,j){var i=k.width();var n=k.height();var m=parseInt(k.css("left"),10);var o=parseInt(k.css("top"),10);k.css({width:0,height:0,top:this.image_wrapper_height/2,left:this.image_wrapper_width/2});return{old_image:{width:0,height:0,top:this.image_wrapper_height/2,left:this.image_wrapper_width/2},new_image:{width:i,height:n,top:o,left:m}}}function a(j,k,i){j.css("opacity",0);return{old_image:{opacity:0},new_image:{opacity:1}}}function d(j,k,i){j.css("opacity",0);return{old_image:{opacity:0},new_image:{opacity:1},speed:0}}function c(j,i){this.init(j,i)}c.prototype={wrapper:false,image_wrapper:false,gallery_info:false,nav:false,loader:false,preloads:false,thumbs_wrapper:false,scroll_back:false,scroll_forward:false,next_link:false,prev_link:false,slideshow:false,image_wrapper_width:0,image_wrapper_height:0,current_index:0,current_image:false,current_description:false,nav_display_width:0,settings:false,images:false,in_transition:false,animations:false,init:function(m,j){var k=this;this.wrapper=e(m);this.settings=j;this.setupElements();this.setupAnimations();if(this.settings.width){this.image_wrapper_width=this.settings.width;this.image_wrapper.width(this.settings.width);this.wrapper.width(this.settings.width)}else{this.image_wrapper_width=this.image_wrapper.width()}if(this.settings.height){this.image_wrapper_height=this.settings.height;this.image_wrapper.height(this.settings.height)}else{this.image_wrapper_height=this.image_wrapper.height()}this.nav_display_width=this.nav.width();this.current_index=0;this.current_image=false;this.current_description=false;this.in_transition=false;this.findImages();if(this.settings.display_next_and_prev){this.initNextAndPrev()}var l=function(n){return k.nextImage(n)};this.slideshow=new h(l,this.settings.slideshow);this.controls.append(this.slideshow.create());if(this.settings.slideshow.enable){this.slideshow.enable()}else{this.slideshow.disable()}if(this.settings.display_back_and_forward){this.initBackAndForward()}if(this.settings.enable_keyboard_move){this.initKeyEvents()}var i=parseInt(this.settings.start_at_index,10);if(window.location.hash&&window.location.hash.indexOf("#ad-image")===0){i=window.location.hash.replace(/[^0-9]+/g,"");if((i*1)!=i){i=this.settings.start_at_index}}this.loading(true);this.showImage(i,function(){if(k.settings.slideshow.autostart){k.preloadImage(i+1);k.slideshow.start()}});this.fireCallback(this.settings.callbacks.init)},setupAnimations:function(){this.animations={"slide-vert":g,"slide-hori":b,resize:f,fade:a,none:d}},setupElements:function(){this.controls=this.wrapper.find(".ad-controls");this.gallery_info=e('<p class="ad-info"></p>');this.controls.append(this.gallery_info);this.image_wrapper=this.wrapper.find(".ad-image-wrapper");this.image_wrapper.empty();this.nav=this.wrapper.find(".ad-nav");this.thumbs_wrapper=this.nav.find(".ad-thumbs");this.preloads=e('<div class="ad-preloads"></div>');this.loader=e('<img class="ad-loader" src="'+this.settings.loader_image+'">');this.image_wrapper.append(this.loader);this.loader.hide();e(document.body).append(this.preloads)},loading:function(i){if(i){this.loader.show()}else{this.loader.hide()}},addAnimation:function(j,i){if(e.isFunction(i)){this.animations[j]=i}},findImages:function(){var l=this;this.images=[];var i=0;var k=0;var j=this.thumbs_wrapper.find("a");var n=j.length;if(this.settings.thumb_opacity<1){j.find("img").css("opacity",this.settings.thumb_opacity)}j.each(function(s){var q=e(this);var t=q.attr("href");var p=q.find("img");if(!l.isImageLoaded(p[0])){p.load(function(){i+=this.parentNode.parentNode.offsetWidth;k++})}else{i+=p[0].parentNode.parentNode.offsetWidth;k++}q.addClass("ad-thumb"+s);q.click(function(){l.showImage(s);l.slideshow.stop();return false}).hover(function(){if(!e(this).is(".ad-active")&&l.settings.thumb_opacity<1){e(this).find("img").fadeTo(300,1)}l.preloadImage(s)},function(){if(!e(this).is(".ad-active")&&l.settings.thumb_opacity<1){e(this).find("img").fadeTo(300,l.settings.thumb_opacity)}});var q=false;if(p.data("ad-link")){q=p.data("ad-link")}else{if(p.attr("longdesc")&&p.attr("longdesc").length){q=p.attr("longdesc")}}var r=false;if(p.data("ad-desc")){r=p.data("ad-desc")}else{if(p.attr("alt")&&p.attr("alt").length){r=p.attr("alt")}}var o=false;if(p.data("ad-title")){o=p.data("ad-title")}else{if(p.attr("title")&&p.attr("title").length){o=p.attr("title")}}l.images[s]={thumb:p.attr("src"),image:t,error:false,preloaded:false,desc:r,title:o,size:false,link:q}});var m=setInterval(function(){if(n==k){i-=100;var o=l.nav.find(".ad-thumb-list");o.css("width",i+"px");var q=1;var p=o.height();while(q<201){o.css("width",(i+q)+"px");if(p!=o.height()){break}p=o.height();q++}clearInterval(m);if(new Number(o.css("width").replace("px",""))<200){o.css("width","200px")}}},100)},initKeyEvents:function(){var i=this;e(document).keydown(function(j){if(j.keyCode==39){i.nextImage();i.slideshow.stop()}else{if(j.keyCode==37){i.prevImage();i.slideshow.stop()}}})},initNextAndPrev:function(){this.next_link=e('<div class="ad-next"><div class="ad-next-image"></div></div>');this.prev_link=e('<div class="ad-prev"><div class="ad-prev-image"></div></div>');this.image_wrapper.append(this.next_link);this.image_wrapper.append(this.prev_link);var i=this;this.prev_link.add(this.next_link).mouseover(function(j){e(this).css("height",i.image_wrapper_height);e(this).find("div").show()}).mouseout(function(j){e(this).find("div").hide()}).click(function(){if(e(this).is(".ad-next")){i.nextImage();i.slideshow.stop()}else{i.prevImage();i.slideshow.stop()}}).find("div").css("opacity",0.7)},initBackAndForward:function(){var j=this;this.scroll_forward=e('<div class="ad-forward"></div>');this.scroll_back=e('<div class="ad-back"></div>');this.nav.append(this.scroll_forward);this.nav.prepend(this.scroll_back);var k=0;var i=false;e(this.scroll_back).add(this.scroll_forward).click(function(){var l=j.nav_display_width-50;if(j.settings.scroll_jump>0){var l=j.settings.scroll_jump}if(e(this).is(".ad-forward")){var m=j.thumbs_wrapper.scrollLeft()+l}else{var m=j.thumbs_wrapper.scrollLeft()-l}if(j.settings.slideshow.stop_on_scroll){j.slideshow.stop()}j.thumbs_wrapper.animate({scrollLeft:m+"px"});return false}).css("opacity",0.6).hover(function(){var l="left";if(e(this).is(".ad-forward")){l="right"}i=setInterval(function(){k++;if(k>30&&j.settings.slideshow.stop_on_scroll){j.slideshow.stop()}var m=j.thumbs_wrapper.scrollLeft()+1;if(l=="left"){m=j.thumbs_wrapper.scrollLeft()-1}j.thumbs_wrapper.scrollLeft(m)},10);e(this).css("opacity",1)},function(){k=0;clearInterval(i);e(this).css("opacity",0.6)})},_afterShow:function(){this.gallery_info.html((this.current_index+1)+" / "+this.images.length);if(!this.settings.cycle){this.prev_link.show().css("height",this.image_wrapper_height);this.next_link.show().css("height",this.image_wrapper_height);if(this.current_index==(this.images.length-1)){this.next_link.hide()}if(this.current_index==0){this.prev_link.hide()}}this.fireCallback(this.settings.callbacks.afterImageVisible)},_getContainedImageSize:function(j,k){if(k>this.image_wrapper_height){var i=j/k;k=this.image_wrapper_height;j=this.image_wrapper_height*i}if(j>this.image_wrapper_width){var i=k/j;j=this.image_wrapper_width;k=this.image_wrapper_width*i}return{width:j,height:k}},_centerImage:function(j,i,k){j.css("top","0px");if(k<this.image_wrapper_height){var l=this.image_wrapper_height-k;j.css("top",(l/2)+"px")}j.css("left","0px");if(i<this.image_wrapper_width){var l=this.image_wrapper_width-i;j.css("left",(l/2)+"px")}},_getDescription:function(k){var j=false;if(k.desc.length||k.title.length){var i="";if(k.title.length){i='<strong class="ad-description-title">'+k.title+"</strong>"}var j="";if(k.desc.length){j="<span>"+k.desc+"</span>"}j=e('<p class="ad-image-description">'+i+j+"</p>")}return j},showImage:function(k,l){if(this.images[k]&&!this.in_transition){var j=this;var i=this.images[k];this.in_transition=true;if(!i.preloaded){this.loading(true);this.preloadImage(k,function(){j.loading(false);j._showWhenLoaded(k,l)})}else{this._showWhenLoaded(k,l)}}},_showWhenLoaded:function(o,x){if(this.images[o]){var u=this;var s=this.images[o];var q=e(document.createElement("div")).addClass("ad-image");var l=e(new Image()).attr("src",s.image);if(s.link){var j=e('<a href="'+s.link+'" target="_blank"></a>');j.append(l);q.append(j)}else{q.append(l)}this.image_wrapper.prepend(q);var p=this._getContainedImageSize(s.size.width,s.size.height);l.attr("width",p.width);l.attr("height",p.height);q.css({width:p.width+"px",height:p.height+"px"});this._centerImage(q,p.width,p.height);var v=this._getDescription(s,q);if(v){if(!this.settings.description_wrapper){q.append(v);var k=p.width-parseInt(v.css("padding-left"),10)-parseInt(v.css("padding-right"),10);v.css("width",k+"px")}else{this.settings.description_wrapper.append(v)}}this.highLightThumb(this.nav.find(".ad-thumb"+o));var i="right";if(this.current_index<o){i="left"}this.fireCallback(this.settings.callbacks.beforeImageVisible);if(this.current_image||this.settings.animate_first_image){var w=this.settings.animation_speed;var r="swing";var m=this.animations[this.settings.effect].call(this,q,i,v);if(typeof m.speed!="undefined"){w=m.speed}if(typeof m.easing!="undefined"){r=m.easing}if(this.current_image){var n=this.current_image;var t=this.current_description;n.animate(m.old_image,w,r,function(){n.remove();if(t){t.remove()}})}q.animate(m.new_image,w,r,function(){u.current_index=o;u.current_image=q;u.current_description=v;u.in_transition=false;u._afterShow();u.fireCallback(x)})}else{this.current_index=o;this.current_image=q;u.current_description=v;this.in_transition=false;u._afterShow();this.fireCallback(x)}}},nextIndex:function(){if(this.current_index==(this.images.length-1)){if(!this.settings.cycle){return false}var i=0}else{var i=this.current_index+1}return i},nextImage:function(j){var i=this.nextIndex();if(i===false){return false}this.preloadImage(i+1);this.showImage(i,j);return true},prevIndex:function(){if(this.current_index==0){if(!this.settings.cycle){return false}var i=this.images.length-1}else{var i=this.current_index-1}return i},prevImage:function(j){var i=this.prevIndex();if(i===false){return false}this.preloadImage(i-1);this.showImage(i,j);return true},preloadAll:function(){var j=this;var l=0;function k(){if(l<j.images.length){l++;j.preloadImage(l,k)}}j.preloadImage(l,k)},preloadImage:function(l,m){if(this.images[l]){var i=this.images[l];if(!this.images[l].preloaded){var k=e(new Image());k.attr("src",i.image);if(!this.isImageLoaded(k[0])){this.preloads.append(k);var j=this;k.load(function(){i.preloaded=true;i.size={width:this.width,height:this.height};j.fireCallback(m)}).error(function(){i.error=true;i.preloaded=false;i.size=false})}else{i.preloaded=true;i.size={width:k[0].width,height:k[0].height};this.fireCallback(m)}}else{this.fireCallback(m)}}},isImageLoaded:function(i){if(typeof i.complete!="undefined"&&!i.complete){return false}if(typeof i.naturalWidth!="undefined"&&i.naturalWidth==0){return false}return true},highLightThumb:function(i){this.thumbs_wrapper.find(".ad-active").removeClass("ad-active");i.addClass("ad-active");if(this.settings.thumb_opacity<1){this.thumbs_wrapper.find("a:not(.ad-active) img").fadeTo(300,this.settings.thumb_opacity);i.find("img").fadeTo(300,1)}var j=i[0].parentNode.offsetLeft;j-=(this.nav_display_width/2)-(i[0].offsetWidth/2);this.thumbs_wrapper.animate({scrollLeft:j+"px"})},fireCallback:function(i){if(e.isFunction(i)){i.call(this)}}};function h(j,i){this.init(j,i)}h.prototype={start_link:false,stop_link:false,countdown:false,controls:false,settings:false,nextimage_callback:false,enabled:false,running:false,countdown_interval:false,init:function(k,i){var j=this;this.nextimage_callback=k;this.settings=i},create:function(){this.start_link=e('<span class="ad-slideshow-start">'+this.settings.start_label+"</span>");this.stop_link=e('<span class="ad-slideshow-stop">'+this.settings.stop_label+"</span>");this.countdown=e('<span class="ad-slideshow-countdown"></span>');this.controls=e('<div class="ad-slideshow-controls"></div>');this.controls.append(this.start_link).append(this.stop_link).append(this.countdown);this.countdown.hide();var i=this;this.start_link.click(function(){i.start()});this.stop_link.click(function(){i.stop()});e(document).keydown(function(j){if(j.keyCode==83){if(i.running){i.stop()}else{i.start()}}});return this.controls},disable:function(){this.enabled=false;this.stop();this.controls.hide()},enable:function(){this.enabled=true;this.controls.show()},toggle:function(){if(this.enabled){this.disable()}else{this.enable()}},start:function(){if(this.running||!this.enabled){return false}var i=this;this.running=true;this.controls.addClass("ad-slideshow-running");this._next();this.fireCallback(this.settings.onStart);return true},stop:function(){if(!this.running){return false}this.running=false;this.countdown.hide();this.controls.removeClass("ad-slideshow-running");clearInterval(this.countdown_interval);this.fireCallback(this.settings.onStop);return true},_next:function(){var k=this;var i=this.settings.countdown_prefix;var l=this.settings.countdown_sufix;clearInterval(k.countdown_interval);this.countdown.show().html(i+(this.settings.speed/1000)+l);var j=0;this.countdown_interval=setInterval(function(){j+=1000;if(j>=k.settings.speed){var m=function(){if(k.running){k._next()}j=0};if(!k.nextimage_callback(m)){k.stop()}j=0}var n=parseInt(k.countdown.text().replace(/[^0-9]/g,""),10);n--;if(n>0){k.countdown.html(i+n+l)}},1000)},fireCallback:function(i){if(e.isFunction(i)){i.call(this)}}}})(jQuery);jQuery.cookie=function(h,d,a){if(typeof d!="undefined"){a=a||{};if(d===null){d="";a.expires=-1}var g="";if(a.expires&&(typeof a.expires=="number"||a.expires.toUTCString)){var b;if(typeof a.expires=="number"){b=new Date();b.setTime(b.getTime()+(a.expires*24*60*60*1000))}else{b=a.expires}g="; expires="+b.toUTCString()}var l=a.path?"; path="+(a.path):"";var c=a.domain?"; domain="+(a.domain):"";var j=a.secure?"; secure":"";document.cookie=[h,"=",d,g,l,c,j].join("")}else{var f=null;if(document.cookie&&document.cookie!=""){var m=document.cookie.split(";");for(var k=0;k<m.length;k++){var e=jQuery.trim(m[k]);if(e.substring(0,h.length+1)==(h+"=")){f=decodeURIComponent(e.substring(h.length+1));break}}}return f}};jQuery.fn.numeric=function(a,b){a=a||".";b=typeof b=="function"?b:function(){};this.keypress(function(f){var c=f.charCode?f.charCode:f.keyCode?f.keyCode:0;if(c==13&&this.nodeName.toLowerCase()=="input"){return true}else{if(c==13){return false}}var d=false;if((f.ctrlKey&&c==97)||(f.ctrlKey&&c==65)){return true}if((f.ctrlKey&&c==120)||(f.ctrlKey&&c==88)){return true}if((f.ctrlKey&&c==99)||(f.ctrlKey&&c==67)){return true}if((f.ctrlKey&&c==122)||(f.ctrlKey&&c==90)){return true}if((f.ctrlKey&&c==118)||(f.ctrlKey&&c==86)||(f.shiftKey&&c==45)){return true}if(c<48||c>57){if(c==45&&this.value.length==0){return true}if(c==a.charCodeAt(0)&&this.value.indexOf(a)!=-1){d=false}if(c!=8&&c!=9&&c!=13&&c!=35&&c!=36&&c!=37&&c!=39&&c!=46){d=false}else{if(typeof f.charCode!="undefined"){if(f.keyCode==f.which&&f.which!=0){d=true}else{if(f.keyCode!=0&&f.charCode==0&&f.which==0){d=true}}}}if(c==a.charCodeAt(0)&&this.value.indexOf(a)==-1){d=true}}else{d=true}return d}).blur(function(){var c=jQuery(this).val();if(c!=""){var d=new RegExp("^\\d+$|\\d*"+a+"\\d+");if(!d.exec(c)){b.apply(this)}}});return this};
/*
 * jQuery UI 1.8
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI
 */
jQuery.ui||(function(a){a.ui={version:"1.8",plugin:{add:function(d,e,b){var c=a.ui[d].prototype;for(var f in b){c.plugins[f]=c.plugins[f]||[];c.plugins[f].push([e,b[f]])}},call:function(e,c,d){var b=e.plugins[c];if(!b||!e.element[0].parentNode){return}for(var f=0;f<b.length;f++){if(e.options[b[f][0]]){b[f][1].apply(e.element,d)}}}},contains:function(c,d){return document.compareDocumentPosition?c.compareDocumentPosition(d)&16:c!==d&&c.contains(d)},hasScroll:function(b,c){if(a(b).css("overflow")=="hidden"){return false}var d=(c&&c=="left")?"scrollLeft":"scrollTop",e=false;if(b[d]>0){return true}b[d]=1;e=(b[d]>0);b[d]=0;return e},isOverAxis:function(c,d,b){return(c>d)&&(c<(d+b))},isOver:function(c,b,d,g,e,f){return a.ui.isOverAxis(c,d,e)&&a.ui.isOverAxis(b,g,f)},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}};a.fn.extend({_focus:a.fn.focus,focus:function(c,b){return typeof c==="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus();(b&&b.call(d))},c)}):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 b;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){b=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{b=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!b.length?a(document):b},zIndex:function(d){if(d!==undefined){return this.css("zIndex",d)}if(this.length){var c=a(this[0]),e,b;while(c.length&&c[0]!==document){e=c.css("position");if(e=="absolute"||e=="relative"||e=="fixed"){b=parseInt(c.css("zIndex"));if(!isNaN(b)&&b!=0){return b}}c=c.parent()}}return 0}});a.extend(a.expr[":"],{data:function(c,d,b){return !!a.data(c,b[3])},focusable:function(d){var b=d.nodeName.toLowerCase(),c=a.attr(d,"tabindex");return(/input|select|textarea|button|object/.test(b)?!d.disabled:"a"==b||"area"==b?d.href||!isNaN(c):!isNaN(c))&&!a(d)["area"==b?"parents":"closest"](":hidden").length},tabbable:function(c){var b=a.attr(c,"tabindex");return(isNaN(b)||b>=0)&&a(c).is(":focusable")}})})(jQuery);
/*
 * jQuery UI Widget 1.8
 *
 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(b){var a=b.fn.remove;b.fn.remove=function(d,c){return this.each(function(){if(!c){if(!d||b.filter(d,[this]).length){b("*",this).add(this).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),d,c)})};b.widget=function(d,e,g){var c=d.split(".")[0],f;d=d.split(".")[1];f=c+"-"+d;if(!g){g=e;e=b.Widget}b.expr[":"][f]=function(i){return !!b.data(i,d)};b[c]=b[c]||{};b[c][d]=function(i,j){if(arguments.length){this._createWidget(i,j)}};var h=new e();h.options=b.extend({},h.options);b[c][d].prototype=b.extend(true,h,{namespace:c,widgetName:d,widgetEventPrefix:b[c][d].prototype.widgetEventPrefix||d,widgetBaseClass:f},g);b.widget.bridge(d,b[c][d])};b.widget.bridge=function(c,d){b.fn[c]=function(h){var g=typeof h==="string",f=Array.prototype.slice.call(arguments,1),e=this;h=!g&&f.length?b.extend.apply(null,[true,h].concat(f)):h;if(g&&h.substring(0,1)==="_"){return e}if(g){this.each(function(){var j=b.data(this,c),i=j&&b.isFunction(j[h])?j[h].apply(j,f):j;if(i!==j&&i!==undefined){e=i;return false}})}else{this.each(function(){var i=b.data(this,c);if(i){if(h){i.option(h)}i._init()}else{b.data(this,c,new d(h,this))}})}return e}};b.Widget=function(c,d){if(arguments.length){this._createWidget(c,d)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(d,e){this.element=b(e).data(this.widgetName,this);this.options=b.extend(true,{},this.options,b.metadata&&b.metadata.get(e)[this.widgetName],d);var c=this;this.element.bind("remove."+this.widgetName,function(){c.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(d,c){var f=d,e=this;if(arguments.length===0){return b.extend({},e.options)}if(typeof d==="string"){if(c===undefined){return this.options[d]}f={};f[d]=c}b.each(f,function(h,g){e._setOption(h,g)});return e},_setOption:function(d,c){this.options[d]=c;if(d==="disabled"){this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",c)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,h,f){var d=this.options[e];h=b.Event(h);h.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f=f||{};if(h.originalEvent){for(var g=b.event.props.length,c;g;){c=b.event.props[--g];h[c]=h.originalEvent[c]}}this.element.trigger(h,f);return !(b.isFunction(d)&&d.call(this.element[0],h,f)===false||h.isDefaultPrevented())}}})(jQuery);(function(a){a.widget("ui.stars",{options:{inputType:"radio",split:0,disabled:false,cancelTitle:"Cancel Rating",cancelValue:0,cancelShow:true,disableValue:true,oneVoteOnly:false,showTitles:false,captionEl:null,callback:null,starWidth:16,cancelClass:"ui-stars-cancel",starClass:"ui-stars-star",starOnClass:"ui-stars-star-on",starHoverClass:"ui-stars-star-hover",starDisabledClass:"ui-stars-star-disabled",cancelHoverClass:"ui-stars-cancel-hover",cancelDisabledClass:"ui-stars-cancel-disabled"},_create:function(){var c=this,f=this.options,b=0;this.element.data("former.stars",this.element.html());f.isSelect=f.inputType=="select";this.$form=a(this.element).closest("form");this.$selec=f.isSelect?a("select",this.element):null;this.$rboxs=f.isSelect?a("option",this.$selec):a(":radio",this.element);this.$stars=this.$rboxs.map(function(j){var k={value:this.value,title:(f.isSelect?this.text:this.title)||this.value,isDefault:(f.isSelect&&this.defaultSelected)||this.defaultChecked};if(j==0){f.split=typeof f.split!="number"?0:f.split;f.val2id=[];f.id2val=[];f.id2title=[];f.name=f.isSelect?c.$selec.get(0).name:this.name;f.disabled=f.disabled||(f.isSelect?a(c.$selec).attr("disabled"):a(this).attr("disabled"))}if(k.value==f.cancelValue){f.cancelTitle=k.title;return null}f.val2id[k.value]=b;f.id2val[b]=k.value;f.id2title[b]=k.title;if(k.isDefault){f.checked=b;f.value=f.defaultValue=k.value;f.title=k.title}var i=a("<div/>").addClass(f.starClass);var l=a("<a/>").attr("title",f.showTitles?k.title:"").text(k.value);if(f.split){var g=(b%f.split);var h=Math.floor(f.starWidth/f.split);i.width(h);l.css("margin-left","-"+(g*h)+"px")}b++;return i.append(l).get(0)});f.items=b;f.isSelect?this.$selec.remove():this.$rboxs.remove();this.$cancel=a("<div/>").addClass(f.cancelClass).append(a("<a/>").attr("title",f.showTitles?f.cancelTitle:"").text(f.cancelValue));f.cancelShow&=!f.disabled&&!f.oneVoteOnly;f.cancelShow&&this.element.append(this.$cancel);this.element.append(this.$stars);if(f.checked===undefined){f.checked=-1;f.value=f.defaultValue=f.cancelValue;f.title=""}this.$value=a("<input type='hidden' name='"+f.name+"' value='"+f.value+"' />");this.element.append(this.$value);this.$stars.bind("click.stars",function(h){if(!f.forceSelect&&f.disabled){return false}var g=c.$stars.index(this);f.checked=g;f.value=f.id2val[g];f.title=f.id2title[g];c.$value.attr({disabled:f.disabled?"disabled":"",value:f.value});d(g,false);c._disableCancel();!f.forceSelect&&c.callback(h,"star")}).bind("mouseover.stars",function(){if(f.disabled){return false}var g=c.$stars.index(this);d(g,true)}).bind("mouseout.stars",function(){if(f.disabled){return false}d(c.options.checked,false)});this.$cancel.bind("click.stars",function(g){if(!f.forceSelect&&(f.disabled||f.value==f.cancelValue)){return false}f.checked=-1;f.value=f.cancelValue;f.title="";c.$value.val(f.value);f.disableValue&&c.$value.attr({disabled:"disabled"});e();c._disableCancel();!f.forceSelect&&c.callback(g,"cancel")}).bind("mouseover.stars",function(){if(c._disableCancel()){return false}c.$cancel.addClass(f.cancelHoverClass);e();c._showCap(f.cancelTitle)}).bind("mouseout.stars",function(){if(c._disableCancel()){return false}c.$cancel.removeClass(f.cancelHoverClass);c.$stars.triggerHandler("mouseout.stars")});this.$form.bind("reset.stars",function(){!f.disabled&&c.select(f.defaultValue)});a(window).unload(function(){c.$cancel.unbind(".stars");c.$stars.unbind(".stars");c.$form.unbind(".stars");c.$selec=c.$rboxs=c.$stars=c.$value=c.$cancel=c.$form=null});function d(g,i){if(g!=-1){var j=i?f.starHoverClass:f.starOnClass;var h=i?f.starOnClass:f.starHoverClass;c.$stars.eq(g).prevAll("."+f.starClass).andSelf().removeClass(h).addClass(j);c.$stars.eq(g).nextAll("."+f.starClass).removeClass(f.starHoverClass+" "+f.starOnClass);c._showCap(f.id2title[g])}else{e()}}function e(){c.$stars.removeClass(f.starOnClass+" "+f.starHoverClass);c._showCap("")}this.select(f.value);f.disabled&&this.disable()},_disableCancel:function(){var c=this.options,b=c.disabled||c.oneVoteOnly||(c.value==c.cancelValue);if(b){this.$cancel.removeClass(c.cancelHoverClass).addClass(c.cancelDisabledClass)}else{this.$cancel.removeClass(c.cancelDisabledClass)}this.$cancel.css("opacity",b?0.5:1);return b},_disableAll:function(){var b=this.options;this._disableCancel();if(b.disabled){this.$stars.filter("div").addClass(b.starDisabledClass)}else{this.$stars.filter("div").removeClass(b.starDisabledClass)}},_showCap:function(b){var c=this.options;if(c.captionEl){c.captionEl.text(b)}},value:function(){return this.options.value},select:function(d){var c=this.options,b=(d==c.cancelValue)?this.$cancel:this.$stars.eq(c.val2id[d]);c.forceSelect=true;b.triggerHandler("click.stars");c.forceSelect=false},selectID:function(d){var c=this.options,b=(d==-1)?this.$cancel:this.$stars.eq(d);c.forceSelect=true;b.triggerHandler("click.stars");c.forceSelect=false},enable:function(){this.options.disabled=false;this._disableAll()},disable:function(){this.options.disabled=true;this._disableAll()},destroy:function(){this.$form.unbind(".stars");this.$cancel.unbind(".stars").remove();this.$stars.unbind(".stars").remove();this.$value.remove();this.element.unbind(".stars").html(this.element.data("former.stars")).removeData("stars");return this},callback:function(c,b){var d=this.options;d.callback&&d.callback(this,b,d.value,c);d.oneVoteOnly&&!d.disabled&&this.disable()}});a.extend(a.ui.stars,{version:"3.0.1"})})(jQuery);eval(function(i,d,g,f,h,b){h=function(a){return(a<d?"":h(parseInt(a/d)))+((a=a%d)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(g--){b[h(g)]=f[g]||h(g)}f=[function(a){return b[a]}];h=function(){return"\\w+"};g=1}while(g--){if(f[g]){i=i.replace(new RegExp("\\b"+h(g)+"\\b","g"),f[g])}}return i}(";3(X.1M)(6($){$.7.2=6(h){3(5.Q==0)8 5;3(R U[0]=='1f'){3(5.Q>1){l i=U;8 5.N(6(){$.7.2.14($(5),i)})};$.7.2[U[0]].14(5,$.27(U).26(1)||[]);8 5};l h=$.L({},$.7.2.D,h||{});$('21').1D('2-S').V('2-S').1i($.7.2.15);3($.7.2.D.12){$.7.2.1s($.7.2.D.12);$.7.2.D.12=11};5.1D('.2-1a').V('2-1a').N(6(){X.2=(X.2||0)+1;l e=X.2;l g={e:5,E:$(5),P:$(5).P()};3(R h=='1W')h={m:h};l o=$.L({},$.7.2.D,h||{},($.1p?g.E.1p():($.2t?g.E.Z():11))||{},{});3(!(o.m>0)){o.m=g.E.K('2e');3(!(o.m>0)){o.m=(u(g.e.1o.B(/\\b(m|2a)\\-([0-9]+)\\b/q)||['']).B(/[0-9]+/q)||[''])[0];3(!(o.m>0))o.m=-1;1Z o.m=u(o.m).B(/[0-9]+/q)[0]}};o.m=18 1X(o.m);o.j=o.j||g.E.K('j')||'';3(!o.j){o.j=(g.e.1o.B(/\\b(j\\-[\\w\\|]+)\\b/q))||'';o.j=18 u(o.j).t(/^(j|1e)\\-/i,'')};$.L(g,o||{});g.A=$.L({},$.7.2.D.A,g.A);$.L(g,{n:0,J:[],2c:[],19:g.e.I||'2'+u(e),1k:6(z){8 g.19+(z>0?'1U'+u(z):'')},G:6(a,b){l c=g[a],k=$(b).K('k');3(c){l d=c(b,k,g);3(d!=11)8 d}8 1h}});3(u(g.j).Q>1){g.j=g.j.t(/\\W+/g,'|').t(/^\\W|\\W$/g,'');g.1w=18 2h('\\\\.('+(g.j?g.j:'')+')$','q')};g.M=g.19+'25';g.E.1j('<O T=\"2-1j\" I=\"'+g.M+'\"></O>');g.1l=$('#'+g.M+'');g.e.H=g.e.H||'p'+e+'[]';3(!g.C){g.1l.1d('<O T=\"2-C\" I=\"'+g.M+'1m\"></O>');g.C=$('#'+g.M+'1m')};g.C=$(g.C);g.10=6(c,d){g.n++;c.2=g;3(d>0)c.I=c.H='';3(d>0)c.I=g.1k(d);c.H=u(g.1n.t(/\\$H/q,$(g.P).K('H')).t(/\\$I/q,$(g.P).K('I')).t(/\\$g/q,e).t(/\\$i/q,d));3((g.m>0)&&((g.n-1)>(g.m)))c.16=1h;g.17=g.J[d]=c;c=$(c);c.1g('').K('k','')[0].k='';c.V('2-1a');c.2z(6(){$(5).1O();3(!g.G('1R',5,g))8 y;l a='',v=u(5.k||'');3(g.j&&v&&!v.B(g.1w))a=g.A.1q.t('$1e',u(v.B(/\\.\\w{1,4}$/q)));1r(l f 29 g.J)3(g.J[f]&&g.J[f]!=5)3(g.J[f].k==v)a=g.A.1t.t('$p',v.B(/[^\\/\\\\]+$/q));l b=$(g.P).P();b.V('2');3(a!=''){g.1u(a);g.n--;g.10(b[0],d);c.1v().2d(b);c.F();8 y};$(5).1x({1y:'1N',1z:'-1P'});c.1Q(b);g.1A(5,d);g.10(b[0],d+1);3(!g.G('1S',5,g))8 y});$(c).Z('2',g)};g.1A=6(c,d){3(!g.G('1T',c,g))8 y;l r=$('<O T=\"2-1V\"></O>'),v=u(c.k||''),a=$('<1B T=\"2-1C\" 1C=\"'+g.A.Y.t('$p',v)+'\">'+g.A.p.t('$p',v.B(/[^\\/\\\\]+$/q)[0])+'</1B>'),b=$('<a T=\"2-F\" 1Y=\"#'+g.M+'\">'+g.A.F+'</a>');g.C.1d(r.1d(b,' ',a));b.1E(6(){3(!g.G('20',c,g))8 y;g.n--;g.17.16=y;g.J[d]=11;$(c).F();$(5).1v().F();$(g.17).1x({1y:'',1z:''});$(g.17).13().1g('').K('k','')[0].k='';3(!g.G('22',c,g))8 y;8 y});3(!g.G('23',c,g))8 y};3(!g.2)g.10(g.e,0);g.n++;g.E.Z('2',g)})};$.L($.7.2,{13:6(){l a=$(5).Z('2');3(a)a.C.24('a.2-F').1E();8 $(5)},15:6(a){a=(R(a)=='1f'?a:'')||'1F';l o=[];$('1b:p.2').N(6(){3($(5).1g()=='')o[o.Q]=5});8 $(o).N(6(){5.16=1h}).V(a)},1c:6(a){a=(R(a)=='1f'?a:'')||'1F';8 $('1b:p.'+a).28(a).N(6(){5.16=y})},S:{},1s:6(b,c,d){l e,k;d=d||[];3(d.1G.1H().1I(\"1J\")<0)d=[d];3(R(b)=='6'){$.7.2.15();k=b.14(c||X,d);1K(6(){$.7.2.1c()},1L);8 k};3(b.1G.1H().1I(\"1J\")<0)b=[b];1r(l i=0;i<b.Q;i++){e=b[i]+'';3(e)(6(a){$.7.2.S[a]=$.7[a]||6(){};$.7[a]=6(){$.7.2.15();k=$.7.2.S[a].14(5,U);1K(6(){$.7.2.1c()},1L);8 k}})(e)}}});$.7.2.D={j:'',m:-1,1n:'$H',A:{F:'x',1q:'2f 2g 2b a $1e p.\\2i 2j...',p:'$p',Y:'2k Y: $p',1t:'2l p 2m 2n 2o Y:\\n$p'},12:['1i','2p','2q','2r','2s'],1u:6(s){2u(s)}};$.7.13=6(){8 5.N(6(){2v{5.13()}2w(e){}})};$(6(){$(\"1b[2x=p].2y\").2()})})(1M);",62,160,"||MultiFile|if||this|function|fn|return|||||||||||accept|value|var|max|||file|gi|||replace|String||||false||STRING|match|list|options||remove|trigger|name|id|slaves|attr|extend|wrapID|each|div|clone|length|typeof|intercepted|class|arguments|addClass||window|selected|data|addSlave|null|autoIntercept|reset|apply|disableEmpty|disabled|current|new|instanceKey|applied|input|reEnableEmpty|append|ext|string|val|true|submit|wrap|generateID|wrapper|_list|namePattern|className|metadata|denied|for|intercept|duplicate|error|parent|rxAccept|css|position|top|addToList|span|title|not|click|mfD|constructor|toString|indexOf|Array|setTimeout|1000|jQuery|absolute|blur|3000px|after|onFileSelect|afterFileSelect|onFileAppend|_F|label|number|Number|href|else|onFileRemove|form|afterFileRemove|afterFileAppend|find|_wrap|slice|makeArray|removeClass|in|limit|select|files|prepend|maxlength|You|cannot|RegExp|nTry|again|File|This|has|already|been|ajaxSubmit|ajaxForm|validate|valid|meta|alert|try|catch|type|multi|change".split("|"),0,{}));(function(H){var C="function",A="password",J="maxLength",L="type",I=true,K=false,x="watermark",y,E=x,z="watermarkClass",u="watermarkFocus",B="watermarkSubmit",D="watermarkMaxLength",N="watermarkPassword",M="watermarkText",w=":data("+E+")",F=":text,:password,:search,textarea",G=["Page_ClientValidate"],v=K;H.extend(H.expr[":"],{search:function(b){return"search"===b.type},data:function(i,b,j){var d,a=/^((?:[^=!^$*]|[!^$*](?!=))+)(?:([!^$*]?=)(.*))?$/.exec(j[3]);if(a){d=H(i).data(a[1]);if(d!==y){if(a[2]){d=""+d;switch(a[2]){case"=":return d==a[3];case"!=":return d!=a[3];case"^=":return d.slice(0,a[3].length)==a[3];case"$=":return d.slice(-a[3].length)==a[3];case"*=":return d.indexOf(a[3])!==-1}}return I}}return K}});H.watermark={version:"3.0.4",options:{className:x,useNative:I},hide:function(a){H(a).filter(w).each(function(){H.watermark._hide(H(this))})},_hide:function(e,g){if(e.val()==e.data(M)){e.val("");if(e.data(N)){if(e.attr(L)==="text"){var c=e.data(N),f=e.parent();f[0].removeChild(e[0]);f[0].appendChild(c[0]);e=c}}if(e.data(D)){e.attr(J,e.data(D));e.removeData(D)}if(g){e.attr("autocomplete","off");window.setTimeout(function(){e.select()},0)}}e.removeClass(e.data(z))},show:function(a){H(a).filter(w).each(function(){H.watermark._show(H(this))})},_show:function(f){var a=f.val(),g=f.data(M),e=f.attr(L);if((a.length==0||a==g)&&!f.data(u)){v=I;if(f.data(N)){if(e===A){var c=f.data(N),b=f.parent();b[0].removeChild(f[0]);b[0].appendChild(c[0]);f=c;f.attr(J,g.length)}}if(e==="text"||e==="search"){var h=f.attr(J);if(h>0&&g.length>h){f.data(D,h);f.attr(J,g.length)}}f.addClass(f.data(z));f.val(g)}else{H.watermark._hide(f)}},hideAll:function(){if(v){H.watermark.hide(F);v=K}},showAll:function(){H.watermark.show(F)}};H.fn.watermark=function(e,d){var c="string",b=typeof e===c,a;if(typeof d==="object"){a=typeof d.className===c;d=H.extend({},H.watermark.options,d)}else{if(typeof d===c){a=I;d=H.extend({},H.watermark.options,{className:d})}else{d=H.watermark.options}}if(typeof d.useNative!==C){d.useNative=d.useNative?function(){return I}:function(){return K}}return this.each(function(){var l="dragleave",j="dragenter",n=this,i=H(n);if(!i.is(F)){return}if(i.data(E)){if(b||a){H.watermark._hide(i);b&&i.data(M,e);a&&i.data(z,d.className)}}else{if(d.useNative.call(n,i)){if((""+i.css("-webkit-appearance")).replace("undefined","")!==""&&i.attr("tagName")!=="TEXTAREA"){b&&i.attr("placeholder",e);return}}i.data(M,b?e:"");i.data(z,d.className);i.data(E,1);if(i.attr(L)===A){var f=i.wrap("<span>").parent(),g=H(f.html().replace(/type=["']?password["']?/i,'type="text"'));g.data(M,i.data(M));g.data(z,i.data(z));g.data(E,1);g.attr(J,e.length);g.focus(function(){H.watermark._hide(g,I)}).bind(j,function(){H.watermark._hide(g)}).bind("dragend",function(){window.setTimeout(function(){g.blur()},1)});i.blur(function(){H.watermark._show(i)}).bind(l,function(){H.watermark._show(i)});g.data(N,i);i.data(N,g)}else{i.focus(function(){i.data(u,1);H.watermark._hide(i,I)}).blur(function(){i.data(u,0);H.watermark._show(i)}).bind(j,function(){H.watermark._hide(i)}).bind(l,function(){H.watermark._show(i)}).bind("dragend",function(){window.setTimeout(function(){H.watermark._show(i)},1)}).bind("drop",function(o){var k=o.originalEvent.dataTransfer.getData("Text");i.val().replace(k,"")===i.data(M)&&i.val(k);i.focus()})}if(n.form){var h=n.form,m=H(h);if(!m.data(B)){m.submit(H.watermark.hideAll);if(h.submit){m.data(B,h.submit);h.submit=function(o,k){return function(){var p=k.data(B);H.watermark.hideAll();if(p.apply){p.apply(o,Array.prototype.slice.call(arguments))}else{p()}}}(h,m)}else{m.data(B,1);h.submit=function(k){return function(){H.watermark.hideAll();delete k.submit;k.submit()}}(h)}}}}H.watermark._show(i)}).end()};G.length&&H(function(){for(var a,e,f=G.length-1;f>=0;f--){a=G[f];e=window[a];if(typeof e===C){window[a]=function(c){return function(){H.watermark.hideAll();c.apply(null,Array.prototype.slice.call(arguments))}}(e)}}})})(jQuery);function Init(a){a=a.toLowerCase();var b=".";if(a=="sl-si"){b=","}$(".integer").numeric();$(".string-integer").numeric();$(".decimal").numeric(b);if(a=="sl-si"){$(".file").MultiFile({STRING:{remove:"x",selected:"Izbrana datoteka: $file",denied:"$ext datoteke niso dovoljene.",duplicate:"Datoteka je bila že izbrana:\n$file!"}})}}function initFileUploads(c,b){var d=document.createElement("div");d.className="fakefile";var f=document.createElement("img");f.src=c;d.appendChild(f);var a=document.getElementsByTagName("input");for(var e=0;e<a.length;e++){if(a[e].type!="file"){continue}if(a[e].parentNode.className!="fileinputs"){continue}a[e].className="file hidden";var g=d.cloneNode(true);a[e].parentNode.appendChild(g);a[e].relatedElement=g.getElementsByTagName("input")[0]}$(".fileinputs input[type='file']:enabled").live("mouseover mouseout click",function(h){if(h.type=="mouseover"){$(".fileinputs > .fakefile > img").attr("src",b);$(this).css("cursor","pointer")}else{$(".fileinputs > .fakefile > img").attr("src",c);$(this).css("cursor","default")}})};
