(function(){function g(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function l(){return+new Date}function y(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,true),10)||0}function i(){return false}function r(){return true}function w(a){var b=RegExp("(^|\\.)"+a.type+"(\\.|$)"),d=true,e=[];c.each(c.data(this,"events").live||[],function(n,o){if(b.test(o.type)){var z=c(a.target).closest(o.data)[0];
z&&e.push({elem:z,fn:o})}});c.each(e,function(){if(!a.isImmediatePropagationStopped()&&this.fn.call(this.elem,a,this.fn.data)===false)d=false});return d}function q(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function J(){if(!W){W=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);c.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);c.ready()}});document.documentElement.doScroll&&!D.frameElement&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}c.ready()}}()}c.event.add(D,"load",c.ready)}}function F(a,b){var d={};c.each(U.concat.apply([],U.slice(0,b)),function(){d[this]=a});return d}var D=this,P=D.jQuery,M=D.$,c=D.jQuery=D.$=function(a,b){return new c.fn.init(a,
b)},h=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,m=/^.[^:#\[\.,]*$/;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var d=h.exec(a);if(d&&(d[1]||!b))if(d[1])a=c.clean([d[1]],b);else{var e=document.getElementById(d[3]);if(e){if(e.id!=d[3])return c().find(a);d=c(e);d.context=document;d.selector=a;return d}a=[]}else return c(b).find(a)}else if(c.isFunction(a))return c(document).ready(a);if(a.selector&&a.context){this.selector=
a.selector;this.context=a.context}return this.setArray(c.makeArray(a))},selector:"",jquery:"1.3",size:function(){return this.length},get:function(a){return a===void 0?c.makeArray(this):this[a]},pushStack:function(a,b,d){a=c(a);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return c.each(this,
a,b)},index:function(a){return c.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,b,d){var e=a;if(typeof a==="string")if(b===void 0)return this[0]&&c[d||"attr"](this[0],a);else{e={};e[a]=b}return this.each(function(n){for(a in e)c.attr(d?this.style:this,a,c.prop(this,e[a],d,n,a))})},css:function(a,b){if((a=="width"||a=="height")&&parseFloat(b)<0)b=void 0;return this.attr(a,b,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a));
var b="";c.each(a||this,function(){c.each(this.childNodes,function(){if(this.nodeType!=8)b+=this.nodeType!=1?this.nodeValue:c.fn.text([this])})});return b},wrapAll:function(a){if(this[0]){a=c(a,this[0].ownerDocument).clone();this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var b=this;b.firstChild;)b=b.firstChild;return b}).append(this)}return this},wrapInner:function(a){return this.each(function(){c(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},
append:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||c([])},
push:[].push,find:function(a){if(this.length===1&&!/,/.test(a)){var b=this.pushStack([],"find",a);b.length=0;c.find(a,this[0],b);return b}else{b=c.map(this,function(d){return c.find(a,d)});return this.pushStack(/[^+>] [^+>]/.test(a)?c.unique(b):b,"find",a)}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var e=this.cloneNode(true),n=document.createElement("div");n.appendChild(e);return c.clean([n.innerHTML])[0]}else return this.cloneNode(true)}),d=b.find("*").andSelf().each(function(){if(this[E]!==
void 0)this[E]=null});a===true&&this.find("*").andSelf().each(function(e){if(this.nodeType!=3){var n=c.data(this,"events");for(var o in n)for(var z in n[o])c.event.add(d[e],o,n[o][z],n[o][z].data)}});return b},filter:function(a){return this.pushStack(c.isFunction(a)&&c.grep(this,function(b,d){return a.call(b,d)})||c.multiFilter(a,c.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(a){var b=c.expr.match.POS.test(a)?c(a):null;return this.map(function(){for(var d=this;d&&d.ownerDocument;){if(b?
b.index(d)>-1:c(d).is(a))return d;d=d.parentNode}})},not:function(a){if(typeof a==="string")if(m.test(a))return this.pushStack(c.multiFilter(a,this,true),"not",a);else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==void 0&&!a.nodeType;return this.filter(function(){return b?c.inArray(this,a)<0:this!=a})},add:function(a){return this.pushStack(c.unique(c.merge(this.get(),typeof a==="string"?c(a):c.makeArray(a))))},is:function(a){return!!a&&c.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&
this.is("."+a)},val:function(a){if(a===void 0){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,e=[],n=b.options;b=b.type=="select-one";if(d<0)return null;var o=b?d:0;for(d=b?d+1:n.length;o<d;o++){var z=n[o];if(z.selected){a=c(z).val();if(b)return a;e.push(a)}}return e}return(b.value||"").replace(/\r/g,"")}}else{if(typeof a==="number")a+="";return this.each(function(){if(this.nodeType==1)if(c.isArray(a)&&
/radio|checkbox/.test(this.type))this.checked=c.inArray(this.value,a)>=0||c.inArray(this.name,a)>=0;else if(c.nodeName(this,"select")){var x=c.makeArray(a);c("option",this).each(function(){this.selected=c.inArray(this.value,x)>=0||c.inArray(this.text,x)>=0});if(!x.length)this.selectedIndex=-1}else this.value=a})}},html:function(a){return a===void 0?this[0]?this[0].innerHTML:null:this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},
slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(a,b,d){function e(K,N){return b&&c.nodeName(K,"table")&&c.nodeName(N,"tr")?K.getElementsByTagName("tbody")[0]||K.appendChild(K.ownerDocument.createElement("tbody")):K}if(this[0]){var n=(this[0].ownerDocument||
this[0]).createDocumentFragment();a=c.clean(a,this[0].ownerDocument||this[0],n);var o=n.firstChild,z=this.length>1?n.cloneNode(true):n;if(o)for(var x=0,I=this.length;x<I;x++)d.call(e(this[x],o),x>0?z.cloneNode(true):n);a&&c.each(a,g)}return this}};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,n;if(typeof a==="boolean"){e=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d==b){a=this;--b}for(;b<d;b++)if((n=arguments[b])!=
null)for(var o in n){var z=a[o],x=n[o];if(a!==x)if(e&&x&&typeof x==="object"&&!x.nodeType)a[o]=c.extend(e,z||(x.length!=null?[]:{}),x);else if(x!==void 0)a[o]=x}return a};var t=/z-?index|font-?weight|opacity|zoom|line-?height/i,A=document.defaultView||{},B=Object.prototype.toString;c.extend({noConflict:function(a){D.$=M;if(a)D.jQuery=P;return c},isFunction:function(a){return B.call(a)==="[object Function]"},isArray:function(a){return B.call(a)==="[object Array]"},isXMLDoc:function(a){return a.documentElement&&
!a.body||a.tagName&&a.ownerDocument&&!a.ownerDocument.body},globalEval:function(a){if(a=c.trim(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,d=document.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(document.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(a,b,d){var e,n=0,o=a.length;if(d)if(o===
void 0)for(e in a){if(b.apply(a[e],d)===false)break}else for(;n<o;){if(b.apply(a[n++],d)===false)break}else if(o===void 0)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=a[0];n<o&&b.call(d,n,d)!==false;d=a[++n]);return a},prop:function(a,b,d,e,n){if(c.isFunction(b))b=b.call(a,e);return typeof b==="number"&&d=="curCSS"&&!t.test(n)?b+"px":b},className:{add:function(a,b){c.each((b||"").split(/\s+/),function(d,e){if(a.nodeType==1&&!c.className.has(a.className,e))a.className+=(a.className?
" ":"")+e})},remove:function(a,b){if(a.nodeType==1)a.className=b!==void 0?c.grep(a.className.split(/\s+/),function(d){return!c.className.has(b,d)}).join(" "):""},has:function(a,b){return c.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,b,d){var e={};for(var n in b){e[n]=a.style[n];a.style[n]=b[n]}d.call(a);for(n in b)a.style[n]=e[n]},css:function(a,b,d){if(b=="width"||b=="height"){var e;d={position:"absolute",visibility:"hidden",display:"block"};var n=b=="width"?["Left",
"Right"]:["Top","Bottom"],o=function(){e=b=="width"?a.offsetWidth:a.offsetHeight;var z=0,x=0;c.each(n,function(){z+=parseFloat(c.curCSS(a,"padding"+this,true))||0;x+=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0});e-=Math.round(z+x)};c(a).is(":visible")?o():c.swap(a,d,o);return Math.max(0,e)}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var e,n=a.style;if(b=="opacity"&&!c.support.opacity){e=c.attr(n,"opacity");return e==""?"1":e}if(b.match(/float/i))b=aa;if(!d&&n&&n[b])e=n[b];else if(A.getComputedStyle){if(b.match(/float/i))b=
"float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if(a=A.getComputedStyle(a,null))e=a.getPropertyValue(b);if(b=="opacity"&&e=="")e="1"}else if(a.currentStyle){e=b.replace(/\-(\w)/g,function(o,z){return z.toUpperCase()});e=a.currentStyle[b]||a.currentStyle[e];if(!/^\d+(px)?$/i.test(e)&&/^\d/.test(e)){b=n.left;d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;n.left=e||0;e=n.pixelLeft+"px";n.left=b;a.runtimeStyle.left=d}}return e},clean:function(a,b,d){b=b||document;if(typeof b.createElement===
"undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;if(!d&&a.length===1&&typeof a[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(a[0]);if(e)return[b.createElement(e[1])]}var n=[];e=[];var o=b.createElement("div");c.each(a,function(z,x){if(typeof x==="number")x+="";if(x){if(typeof x==="string"){x=x.replace(/(<(\w+)[^>]*?)\/>/g,function(N,V,f){return f.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?N:V+"></"+f+">"});var I=c.trim(x).toLowerCase(),K=!I.indexOf("<opt")&&[1,
"<select multiple='multiple'>","</select>"]||!I.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||I.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!I.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!I.indexOf("<td")||!I.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!I.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!c.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(o.innerHTML=K[1]+x+K[2];K[0]--;)o=o.lastChild;
if(!c.support.tbody){I=!I.indexOf("<table")&&I.indexOf("<tbody")<0?o.firstChild&&o.firstChild.childNodes:K[1]=="<table>"&&I.indexOf("<tbody")<0?o.childNodes:[];for(K=I.length-1;K>=0;--K)c.nodeName(I[K],"tbody")&&!I[K].childNodes.length&&I[K].parentNode.removeChild(I[K])}!c.support.leadingWhitespace&&/^\s/.test(x)&&o.insertBefore(b.createTextNode(x.match(/^\s*/)[0]),o.firstChild);x=c.makeArray(o.childNodes)}if(x.nodeType)n.push(x);else n=c.merge(n,x)}});if(d){for(a=0;n[a];a++)if(c.nodeName(n[a],"script")&&
(!n[a].type||n[a].type.toLowerCase()==="text/javascript"))e.push(n[a].parentNode?n[a].parentNode.removeChild(n[a]):n[a]);else{n[a].nodeType===1&&n.splice.apply(n,[a+1,0].concat(c.makeArray(n[a].getElementsByTagName("script"))));d.appendChild(n[a])}return e}return n},attr:function(a,b,d){if(!(!a||a.nodeType==3||a.nodeType==8)){var e=!c.isXMLDoc(a),n=d!==void 0;b=e&&c.props[b]||b;if(a.tagName){var o=/href|src|style/.test(b);if(b in a&&e&&!o){if(n){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";
a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b=="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:a.nodeName.match(/^(a|area|button|input|object|select|textarea)$/i)?0:void 0;return a[b]}if(!c.support.style&&e&&b=="style")return c.attr(a.style,"cssText",d);n&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&e&&o?a.getAttribute(b,2):a.getAttribute(b);return a===null?void 0:a}if(!c.support.opacity&&b=="opacity"){if(n){a.zoom=
1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(d)+""=="NaN"?"":"alpha(opacity="+d*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/100+"":""}b=b.replace(/-([a-z])/ig,function(z,x){return x.toUpperCase()});if(n)a[b]=d;return a[b]}},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var b=[];if(a!=null){var d=a.length;if(d==null||typeof a==="string"||c.isFunction(a)||a.setInterval)b[0]=a;else for(;d;)b[--d]=
a[d]}return b},inArray:function(a,b){for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=0,e,n=a.length;if(c.support.getAll)for(;(e=b[d++])!=null;)a[n++]=e;else for(;(e=b[d++])!=null;)if(e.nodeType!=8)a[n++]=e;return a},unique:function(a){var b=[],d={};try{for(var e=0,n=a.length;e<n;e++){var o=c.data(a[e]);if(!d[o]){d[o]=true;b.push(a[e])}}}catch(z){b=a}return b},grep:function(a,b,d){for(var e=[],n=0,o=a.length;n<o;n++)!d!=!b(a[n],n)&&e.push(a[n]);return e},map:function(a,
b){for(var d=[],e=0,n=a.length;e<n;e++){var o=b(a[e],e);if(o!=null)d[d.length]=o}return d.concat.apply([],d)}});var k=navigator.userAgent.toLowerCase();c.browser={version:(k.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(k),opera:/opera/.test(k),msie:/msie/.test(k)&&!/opera/.test(k),mozilla:/mozilla/.test(k)&&!/(compatible|webkit)/.test(k)};c.each({parent:function(a){return a.parentNode},parents:function(a){return c.dir(a,"parentNode")},next:function(a){return c.nth(a,
2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d){var e=c.map(this,b);if(d&&typeof d=="string")e=
c.multiFilter(d,e);return this.pushStack(c.unique(e),a,d)}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(){var d=arguments;return this.each(function(){for(var e=0,n=d.length;e<n;e++)c(d[e])[b](this)})}});c.each({removeAttr:function(a){c.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){c.className.add(this,a)},removeClass:function(a){c.className.remove(this,a)},toggleClass:function(a,
b){if(typeof b!=="boolean")b=!c.className.has(this,a);c.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||c.filter(a,[this]).length){c("*",this).add([this]).each(function(){c.event.remove(this);c.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(c(">*",this).remove();this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});var E="jQuery"+l(),L=0,R={};c.extend({cache:{},data:function(a,
b,d){a=a==D?R:a;var e=a[E];e||(e=a[E]=++L);if(b&&!c.cache[e])c.cache[e]={};if(d!==void 0)c.cache[e][b]=d;return b?c.cache[e][b]:e},removeData:function(a,b){a=a==D?R:a;var d=a[E];if(b){if(c.cache[d]){delete c.cache[d][b];b="";for(b in c.cache[d])break;b||c.removeData(a)}}else{try{delete a[E]}catch(e){a.removeAttribute&&a.removeAttribute(E)}delete c.cache[d]}},queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else d&&e.push(d)}return e},
dequeue:function(a,b){var d=c.queue(a,b),e=d.shift();if(!b||b==="fx")e=d[0];e!==void 0&&e.call(a)}});c.fn.extend({data:function(a,b){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===void 0){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===void 0&&this.length)e=c.data(this[0],a);return e===void 0&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})},queue:function(a,
b){if(typeof a!=="string"){b=a;a="fx"}if(b===void 0)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a=="fx"&&d.length==1&&d[0].call(this)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})}});(function(){function a(f,j,s,v,u,C){u=0;for(var H=v.length;u<H;u++){var G=v[u];if(G){G=G[f];for(var O=false;G&&G.nodeType;){var S=G[s];if(S){O=v[S];break}if(G.nodeType===1&&!C)G[s]=u;if(G.nodeName===j){O=G;break}G=G[f]}v[u]=O}}}function b(f,j,s,v,u,C){u=0;for(var H=
v.length;u<H;u++){var G=v[u];if(G){G=G[f];for(var O=false;G&&G.nodeType;){if(G[s]){O=v[G[s]];break}if(G.nodeType===1){C||(G[s]=u);if(typeof j!=="string"){if(G===j){O=true;break}}else if(o.filter(j,[G]).length>0){O=G;break}}G=G[f]}v[u]=O}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|[^[\]]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,e=0,n=Object.prototype.toString,o=function(f,j,s,v){s=s||[];j=j||document;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!f||typeof f!=="string")return s;var u=
[],C,H,G,O=true;for(d.lastIndex=0;(C=d.exec(f))!==null;){u.push(C[1]);if(C[2]){G=RegExp.rightContext;break}}if(u.length>1&&z.match.POS.exec(f))if(u.length===2&&z.relative[u[0]]){for(u="";C=z.match.POS.exec(f);){u+=C[0];f=f.replace(z.match.POS,"")}C=o.filter(u,o(/\s$/.test(f)?f+"*":f,j))}else for(C=z.relative[u[0]]?[j]:o(u.shift(),j);u.length;){var S=[];f=u.shift();if(z.relative[f])f+=u.shift();for(var Q=0,ba=C.length;Q<ba;Q++)o(f,C[Q],S);C=S}else{C=v?{expr:u.pop(),set:I(v)}:o.find(u.pop(),u.length===
1&&j.parentNode?j.parentNode:j);C=o.filter(C.expr,C.set);if(u.length>0)H=I(C);else O=false;for(;u.length;){var X=u.pop();S=X;if(z.relative[X])S=u.pop();else X="";if(S==null)S=j;z.relative[X](H,S,V(j))}}H||(H=C);if(!H)throw"Syntax error, unrecognized expression: "+(X||f);if(n.call(H)==="[object Array]")if(O)if(j.nodeType===1)for(Q=0;H[Q]!=null;Q++){if(H[Q]&&(H[Q]===true||H[Q].nodeType===1&&N(j,H[Q])))s.push(C[Q])}else for(Q=0;H[Q]!=null;Q++)H[Q]&&H[Q].nodeType===1&&s.push(C[Q]);else s.push.apply(s,
H);else I(H,s);G&&o(G,j,s,v);return s};o.matches=function(f,j){return o(f,null,null,j)};o.find=function(f,j){var s,v;if(!f)return[];for(var u=0,C=z.order.length;u<C;u++){var H=z.order[u];if(v=z.match[H].exec(f)){var G=RegExp.leftContext;if(G.substr(G.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");s=z.find[H](v,j);if(s!=null){f=f.replace(z.match[H],"");break}}}}s||(s=j.getElementsByTagName("*"));return{set:s,expr:f}};o.filter=function(f,j,s,v){for(var u=f,C=[],H=j,G,O;f&&j.length;){for(var S in z.filter)if((G=
z.match[S].exec(f))!=null){var Q=z.filter[S],ba=null,X=0,fa,Y;O=false;if(H==C)C=[];if(z.preFilter[S])if(G=z.preFilter[S](G,H,s,C,v))if(G===true)continue;else{if(G[0]===true){ba=[];Y=null;for(var Z,ca=0;(Z=H[ca])!==void 0;ca++)if(Z&&Y!==Z){ba.push(Z);Y=Z}}}else O=fa=true;if(G)for(ca=0;(Y=H[ca])!==void 0;ca++)if(Y){ba&&Y!=ba[X]&&X++;fa=Q(Y,G,X,ba);Z=v^!!fa;if(s&&fa!=null)if(Z)O=true;else H[ca]=false;else if(Z){C.push(Y);O=true}}if(fa!==void 0){s||(H=C);f=f.replace(z.match[S],"");if(!O)return[];break}}f=
f.replace(/\s*,\s*/,"");if(f==u)if(O==null)throw"Syntax error, unrecognized expression: "+f;else break;u=f}return H};var z=o.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(f){return f.getAttribute("href")}},relative:{"+":function(f,j){for(var s=0,v=f.length;s<v;s++){var u=f[s];if(u){for(u=u.previousSibling;u&&u.nodeType!==1;)u=u.previousSibling;f[s]=typeof j==="string"?u||false:u===j}}typeof j==="string"&&o.filter(j,f,true)},">":function(f,j,s){if(typeof j==="string"&&!/\W/.test(j)){j=s?j:j.toUpperCase();s=0;
for(var v=f.length;s<v;s++){var u=f[s];if(u){u=u.parentNode;f[s]=u.nodeName===j?u:false}}}else{s=0;for(v=f.length;s<v;s++)if(u=f[s])f[s]=typeof j==="string"?u.parentNode:u.parentNode===j;typeof j==="string"&&o.filter(j,f,true)}},"":function(f,j,s){var v="done"+e++,u=b;if(!j.match(/\W/)){var C=j=s?j:j.toUpperCase();u=a}u("parentNode",j,v,f,C,s)},"~":function(f,j,s){var v="done"+e++,u=b;if(typeof j==="string"&&!j.match(/\W/)){var C=j=s?j:j.toUpperCase();u=a}u("previousSibling",j,v,f,C,s)}},find:{ID:function(f,
j){if(j.getElementById){var s=j.getElementById(f[1]);return s?[s]:[]}},NAME:function(f,j){return j.getElementsByName?j.getElementsByName(f[1]):null},TAG:function(f,j){return j.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,j,s,v,u){f=" "+f[1].replace(/\\/g,"")+" ";for(var C=0;j[C];C++)if(u^(" "+j[C].className+" ").indexOf(f)>=0)s||v.push(j[C]);else if(s)j[C]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f,j){for(var s=0;!j[s];s++);return V(j[s])?f[1]:f[1].toUpperCase()},
CHILD:function(f){if(f[1]=="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]=="even"&&"2n"||f[2]=="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=j[1]+(j[2]||1)-0;f[3]=j[3]-0}f[0]="done"+e++;return f},ATTR:function(f){var j=f[1];if(z.attrMap[j])f[1]=z.attrMap[j];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,j,s,v,u){if(f[1]==="not")if(f[3].match(d).length>1)f[3]=o(f[3],null,null,j);else{f=o.filter(f[3],j,s,true^u);s||v.push.apply(v,f);return false}else if(z.match.POS.test(f[0]))return true;
return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,j,s){return!!o(s[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},text:function(f){return"text"===f.type},radio:function(f){return"radio"===
f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toUpperCase()==="BUTTON"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},setFilters:{first:function(f,j){return j===0},last:function(f,j,s,v){return j===
v.length-1},even:function(f,j){return j%2===0},odd:function(f,j){return j%2===1},lt:function(f,j,s){return j<s[3]-0},gt:function(f,j,s){return j>s[3]-0},nth:function(f,j,s){return s[3]-0==j},eq:function(f,j,s){return s[3]-0==j}},filter:{CHILD:function(f,j){var s=j[1],v=f.parentNode,u="child"+v.childNodes.length;if(v&&(!v[u]||!f.nodeIndex)){for(var C=1,H=v.firstChild;H;H=H.nextSibling)if(H.nodeType==1)H.nodeIndex=C++;v[u]=C-1}if(s=="first")return f.nodeIndex==1;else if(s=="last")return f.nodeIndex==
v[u];else if(s=="only")return v[u]==1;else if(s=="nth"){s=false;v=j[2];u=j[3];if(v==1&&u==0)return true;if(v==0){if(f.nodeIndex==u)s=true}else if((f.nodeIndex-u)%v==0&&(f.nodeIndex-u)/v>=0)s=true;return s}},PSEUDO:function(f,j,s,v){var u=j[1],C=z.filters[u];if(C)return C(f,s,j,v);else if(u==="contains")return(f.textContent||f.innerText||"").indexOf(j[3])>=0;else if(u==="not"){j=j[3];s=0;for(v=j.length;s<v;s++)if(j[s]===f)return false;return true}},ID:function(f,j){return f.nodeType===1&&f.getAttribute("id")===
j},TAG:function(f,j){return j==="*"&&f.nodeType===1||f.nodeName===j},CLASS:function(f,j){return j.test(f.className)},ATTR:function(f,j){var s=z.attrHandle[j[1]]?z.attrHandle[j[1]](f):f[j[1]]||f.getAttribute(j[1]),v=s+"",u=j[2],C=j[4];return s==null?false:u==="="?v===C:u==="*="?v.indexOf(C)>=0:u==="~="?(" "+v+" ").indexOf(C)>=0:!j[4]?s:u==="!="?v!=C:u==="^="?v.indexOf(C)===0:u==="$="?v.substr(v.length-C.length)===C:u==="|="?v===C||v.substr(0,C.length+1)===C+"-":false},POS:function(f,j,s,v){var u=z.setFilters[j[2]];
if(u)return u(f,s,j,v)}}};for(var x in z.match)z.match[x]=RegExp(z.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source);var I=function(f,j){f=Array.prototype.slice.call(f);if(j){j.push.apply(j,f);return j}return f};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(K){I=function(f,j){var s=j||[];if(n.call(f)==="[object Array]")Array.prototype.push.apply(s,f);else if(typeof f.length==="number")for(var v=0,u=f.length;v<u;v++)s.push(f[v]);else for(v=0;f[v];v++)s.push(f[v]);return s}}(function(){var f=
document.createElement("form"),j="script"+(new Date).getTime();f.innerHTML="<input name='"+j+"'/>";var s=document.documentElement;s.insertBefore(f,s.firstChild);if(document.getElementById(j)){z.find.ID=function(v,u){if(u.getElementById){var C=u.getElementById(v[1]);return C?C.id===v[1]||C.getAttributeNode&&C.getAttributeNode("id").nodeValue===v[1]?[C]:void 0:[]}};z.filter.ID=function(v,u){var C=v.getAttributeNode&&v.getAttributeNode("id");return v.nodeType===1&&C&&C.nodeValue===u}}s.removeChild(f)})();
(function(){var f=document.createElement("div");f.appendChild(document.createComment(""));if(f.getElementsByTagName("*").length>0)z.find.TAG=function(j,s){var v=s.getElementsByTagName(j[1]);if(j[1]==="*"){for(var u=[],C=0;v[C];C++)v[C].nodeType===1&&u.push(v[C]);v=u}return v};f.innerHTML="<a href='#'></a>";if(f.firstChild.getAttribute("href")!=="#")z.attrHandle.href=function(j){return j.getAttribute("href",2)}})();document.querySelectorAll&&function(){var f=o;o=function(j,s,v,u){s=s||document;if(!u&&
s.nodeType===9)try{return I(s.querySelectorAll(j),v)}catch(C){}return f(j,s,v,u)};o.find=f.find;o.filter=f.filter;o.selectors=f.selectors;o.matches=f.matches}();if(document.documentElement.getElementsByClassName){z.order.splice(1,0,"CLASS");z.find.CLASS=function(f,j){return j.getElementsByClassName(f[1])}}var N=document.compareDocumentPosition?function(f,j){return f.compareDocumentPosition(j)&16}:function(f,j){return f!==j&&(f.contains?f.contains(j):true)},V=function(f){return f.documentElement&&
!f.body||f.tagName&&f.ownerDocument&&!f.ownerDocument.body};c.find=o;c.filter=o.filter;c.expr=o.selectors;c.expr[":"]=c.expr.filters;o.selectors.filters.hidden=function(f){return"hidden"===f.type||c.css(f,"display")==="none"||c.css(f,"visibility")==="hidden"};o.selectors.filters.visible=function(f){return"hidden"!==f.type&&c.css(f,"display")!=="none"&&c.css(f,"visibility")!=="hidden"};o.selectors.filters.animated=function(f){return c.grep(c.timers,function(j){return f===j.elem}).length};c.multiFilter=
function(f,j,s){if(s)f=":not("+f+")";return o.matches(f,j)};c.dir=function(f,j){for(var s=[],v=f[j];v&&v!=document;){v.nodeType==1&&s.push(v);v=v[j]}return s};c.nth=function(f,j,s){j=j||1;for(var v=0;f;f=f[s])if(f.nodeType==1&&++v==j)break;return f};c.sibling=function(f,j){for(var s=[];f;f=f.nextSibling)f.nodeType==1&&f!=j&&s.push(f);return s}})();c.event={add:function(a,b,d,e){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=D)a=D;if(!d.guid)d.guid=this.guid++;if(e!==void 0){d=this.proxy(d);
d.data=e}var n=c.data(a,"events")||c.data(a,"events",{}),o=c.data(a,"handle")||c.data(a,"handle",function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(arguments.callee.elem,arguments):void 0});o.elem=a;c.each(b.split(/\s+/),function(z,x){var I=x.split(".");x=I.shift();d.type=I.slice().sort().join(".");var K=n[x];c.event.specialAll[x]&&c.event.specialAll[x].setup.call(a,e,I);if(!K){K=n[x]={};if(!c.event.special[x]||c.event.special[x].setup.call(a,e,I)===false)if(a.addEventListener)a.addEventListener(x,
o,false);else a.attachEvent&&a.attachEvent("on"+x,o)}K[d.guid]=d;c.event.global[x]=true});a=null}},guid:1,global:{},remove:function(a,b,d){if(!(a.nodeType==3||a.nodeType==8)){var e=c.data(a,"events"),n;if(e){if(b===void 0||typeof b==="string"&&b.charAt(0)==".")for(var o in e)this.remove(a,o+(b||""));else{if(b.type){d=b.handler;b=b.type}c.each(b.split(/\s+/),function(z,x){var I=x.split(".");x=I.shift();var K=RegExp("(^|\\.)"+I.slice().sort().join(".*\\.")+"(\\.|$)");if(e[x]){if(d)delete e[x][d.guid];
else for(var N in e[x])K.test(e[x][N].type)&&delete e[x][N];c.event.specialAll[x]&&c.event.specialAll[x].teardown.call(a,I);for(n in e[x])break;if(!n){if(!c.event.special[x]||c.event.special[x].teardown.call(a,I)===false)if(a.removeEventListener)a.removeEventListener(x,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+x,c.data(a,"handle"));n=null;delete e[x]}}})}for(n in e)break;if(!n){if(b=c.data(a,"handle"))b.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,
b,d,e){var n=a.type||a;if(!e){a=typeof a==="object"?a[E]?a:c.extend(c.Event(n),a):c.Event(n);if(n.indexOf("!")>=0){a.type=n=n.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[n]&&c.each(c.cache,function(){this.events&&this.events[n]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType==3||d.nodeType==8)return;a.result=void 0;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;var o=c.data(d,"handle");o&&o.apply(d,b);if((!d[n]||c.nodeName(d,"a")&&n=="click")&&d["on"+
n]&&d["on"+n].apply(d,b)===false)a.result=false;if(!e&&d[n]&&!a.isDefaultPrevented()&&!(c.nodeName(d,"a")&&n=="click")){this.triggered=true;try{d[n]()}catch(z){}}this.triggered=false;if(!a.isPropagationStopped())(d=d.parentNode||d.ownerDocument)&&c.event.trigger(a,b,d,true)},handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||D.event);d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var e=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];
for(var n in d){var o=d[n];if(b||e.test(o.type)){a.handler=o;a.data=o.data;o=o.apply(this,arguments);if(o!==void 0){a.result=o;if(o===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[E])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=document.documentElement;d=document.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:J,teardown:function(){}}},specialAll:{live:{setup:function(a,b){c.event.add(this,b[0],w)},teardown:function(a){if(a.length){var b=
0,d=RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],w)}}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.timeStamp=a.timeStamp}else this.type=a;if(!this.timeStamp)this.timeStamp=l();this[E]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=r;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();
a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=r;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=r;this.stopPropagation()},isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i};var T=function(a){for(var b=a.relatedTarget;b&&b!=this;)try{b=b.parentNode}catch(d){b=this}if(b!=this){a.type=a.data;c.event.handle.apply(this,arguments)}};c.each({mouseover:"mouseenter",
mouseout:"mouseleave"},function(a,b){c.event.special[b]={setup:function(){c.event.add(this,a,T,b)},teardown:function(){c.event.remove(this,a,T)}}});c.fn.extend({bind:function(a,b,d){return a=="unload"?this.one(a,b,d):this.each(function(){c.event.add(this,a,d||b,d&&b)})},one:function(a,b,d){var e=c.event.proxy(d||b,function(n){c(this).unbind(n,e);return(d||b).apply(this,arguments)});return this.each(function(){c.event.add(this,a,e,d&&b)})},unbind:function(a,b){return this.each(function(){c.event.remove(this,
a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.event.proxy(a,b[d++]);return this.click(c.event.proxy(a,function(e){this.lastToggle=(this.lastToggle||0)%d;e.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b)},
ready:function(a){J();c.isReady?a.call(document,c):c.readyList.push(a);return this},live:function(a,b){var d=c.event.proxy(b);d.guid+=this.selector+a;c(document).bind(q(a,this.selector),this.selector,d);return this},die:function(a,b){c(document).unbind(q(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.call(document,c)});c.readyList=null}c(document).triggerHandler("ready")}}});
var W=false;c.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)}});c(D).bind("unload",function(){for(var a in c.cache)a!=1&&c.cache[a].handle&&c.event.remove(c.cache[a].handle.elem)});(function(){c.support={};var a=document.documentElement,b=document.createElement("script"),d=document.createElement("div"),
e="script"+(new Date).getTime();d.style.display="none";d.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var n=d.getElementsByTagName("*"),o=d.getElementsByTagName("a")[0];if(!(!n||!n.length||!o)){c.support={leadingWhitespace:d.firstChild.nodeType==3,tbody:!d.getElementsByTagName("tbody").length,objectAll:!!d.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!d.getElementsByTagName("link").length,
style:/red/.test(o.getAttribute("style")),hrefNormalized:o.getAttribute("href")==="/a",opacity:o.style.opacity==="0.5",cssFloat:!!o.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+e+"=1;"))}catch(z){}a.insertBefore(b,a.firstChild);if(D[e]){c.support.scriptEval=true;delete D[e]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function(){c.support.noCloneEvent=false;d.detachEvent("onclick",
arguments.callee)});d.cloneNode(true).fireEvent("onclick")}c(function(){var x=document.createElement("div");x.style.width="1px";x.style.paddingLeft="1px";document.body.appendChild(x);c.boxModel=c.support.boxModel=x.offsetWidth===2;document.body.removeChild(x)})}})();var aa=c.support.cssFloat?"cssFloat":"styleFloat";c.props={"for":"htmlFor","class":"className","float":aa,cssFloat:aa,styleFloat:aa,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};
c.fn.extend({_load:c.fn.load,load:function(a,b,d){if(typeof a!=="string")return this._load(a);var e=a.indexOf(" ");if(e>=0){var n=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b);e="POST"}var o=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(z,x){if(x=="success"||x=="notmodified")o.html(n?c("<div/>").append(z.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(n):z.responseText);d&&o.each(d,[z.responseText,
x,z])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});var da=l();c.extend({get:function(a,b,d,e){if(c.isFunction(b)){d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return D.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){function b(){a.success&&a.success(z,o);a.global&&c.event.trigger("ajaxSuccess",[j,a])}function d(){a.complete&&
a.complete(j,o);a.global&&c.event.trigger("ajaxComplete",[j,a]);a.global&&!--c.active&&c.event.trigger("ajaxStop")}a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));var e,n=/=\?(&|$)/g,o,z,x=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(x=="GET")a.url.match(n)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(n))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType=
"json"}if(a.dataType=="json"&&(a.data&&a.data.match(n)||a.url.match(n))){e="jsonp"+da++;if(a.data)a.data=(a.data+"").replace(n,"="+e+"$1");a.url=a.url.replace(n,"="+e+"$1");a.dataType="script";D[e]=function(H){z=H;b();d();D[e]=void 0;try{delete D[e]}catch(G){}K&&K.removeChild(N)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&x=="GET"){n=l();var I=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+n+"$2");a.url=I+(I==a.url?(a.url.match(/\?/)?"&":"?")+"_="+n:"")}if(a.data&&x=="GET"){a.url+=
(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!c.active++&&c.event.trigger("ajaxStart");n=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&x=="GET"&&n&&(n[1]&&n[1]!=location.protocol||n[2]!=location.host)){var K=document.getElementsByTagName("head")[0],N=document.createElement("script");N.src=a.url;if(a.scriptCharset)N.charset=a.scriptCharset;if(!e){var V=false;N.onload=N.onreadystatechange=function(){if(!V&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){V=
true;b();d();K.removeChild(N)}}}K.appendChild(N)}else{var f=false,j=a.xhr();a.username?j.open(x,a.url,a.async,a.username,a.password):j.open(x,a.url,a.async);try{a.data&&j.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)j.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");j.setRequestHeader("X-Requested-With","XMLHttpRequest");j.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(s){}if(a.beforeSend&&
a.beforeSend(j,a)===false){a.global&&!--c.active&&c.event.trigger("ajaxStop");j.abort();return false}a.global&&c.event.trigger("ajaxSend",[j,a]);var v=function(H){if(j.readyState==0){if(u){clearInterval(u);u=null;a.global&&!--c.active&&c.event.trigger("ajaxStop")}}else if(!f&&j&&(j.readyState==4||H=="timeout")){f=true;if(u){clearInterval(u);u=null}o=H=="timeout"?"timeout":!c.httpSuccess(j)?"error":a.ifModified&&c.httpNotModified(j,a.url)?"notmodified":"success";if(o=="success")try{z=c.httpData(j,
a.dataType,a)}catch(G){o="parsererror"}if(o=="success"){var O;try{O=j.getResponseHeader("Last-Modified")}catch(S){}if(a.ifModified&&O)c.lastModified[a.url]=O;e||b()}else c.handleError(a,j,o);d();if(a.async)j=null}};if(a.async){var u=setInterval(v,13);a.timeout>0&&setTimeout(function(){if(j){f||v("timeout");j&&j.abort()}},a.timeout)}try{j.send(a.data)}catch(C){c.handleError(a,j,null,C)}a.async||v();return j}},handleError:function(a,b,d,e){a.error&&a.error(b,d,e);a.global&&c.event.trigger("ajaxError",
[b,a,e])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(a,b){try{var d=a.getResponseHeader("Last-Modified");return a.status==304||d==c.lastModified[b]}catch(e){}return false},httpData:function(a,b,d){var e=a.getResponseHeader("content-type");a=(e=b=="xml"||!b&&e&&e.indexOf("xml")>=0)?a.responseXML:a.responseText;if(e&&a.documentElement.tagName=="parsererror")throw"parsererror";
if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string"){b=="script"&&c.globalEval(a);if(b=="json")a=D.eval("("+a+")")}return a},param:function(a){function b(n,o){d[d.length]=encodeURIComponent(n)+"="+encodeURIComponent(o)}var d=[];if(c.isArray(a)||a.jquery)c.each(a,function(){b(this.name,this.value)});else for(var e in a)c.isArray(a[e])?c.each(a[e],function(){b(e,this)}):b(e,c.isFunction(a[e])?a[e]():a[e]);return d.join("&").replace(/%20/g,"+")}});var ea={},U=[["height","marginTop","marginBottom",
"paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a)return this.animate(F("show",3),a,b);else{for(var d=0,e=this.length;d<e;d++){var n=c.data(this[d],"olddisplay");this[d].style.display=n||"";if(c.css(this[d],"display")==="none"){n=this[d].tagName;var o;if(ea[n])o=ea[n];else{var z=c("<"+n+" />").appendTo("body");o=z.css("display");if(o==="none")o="block";z.remove();ea[n]=o}this[d].style.display=c.data(this[d],
"olddisplay",o)}}return this}},hide:function(a,b){if(a)return this.animate(F("hide",3),a,b);else{for(var d=0,e=this.length;d<e;d++){var n=c.data(this[d],"olddisplay");!n&&n!=="none"&&c.data(this[d],"olddisplay",c.css(this[d],"display"));this[d].style.display="none"}return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";return c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var e=d?a:c(this).is(":hidden");c(this)[e?"show":
"hide"]()}):this.animate(F("toggle",3),a,b)},fadeTo:function(a,b,d){return this.animate({opacity:b},a,d)},animate:function(a,b,d,e){var n=c.speed(b,d,e);return this[n.queue===false?"each":"queue"](function(){var o=c.extend({},n),z,x=this.nodeType==1&&c(this).is(":hidden"),I=this;for(z in a){if(a[z]=="hide"&&x||a[z]=="show"&&!x)return o.complete.call(this);if((z=="height"||z=="width")&&this.style){o.display=c.css(this,"display");o.overflow=this.style.overflow}}if(o.overflow!=null)this.style.overflow=
"hidden";o.curAnim=c.extend({},a);c.each(a,function(K,N){var V=new c.fx(I,o,K);if(/toggle|show|hide/.test(N))V[N=="toggle"?x?"show":"hide":N](a);else{var f=N.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),j=V.cur(true)||0;if(f){var s=parseFloat(f[2]),v=f[3]||"px";if(v!="px"){I.style[K]=(s||1)+v;j=(s||1)/V.cur(true)*j;I.style[K]=j+v}if(f[1])s=(f[1]=="-="?-1:1)*s+j;V.custom(j,s,v)}else V.custom(j,N,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=
d.length-1;e>=0;e--)if(d[e].elem==this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:F("show",1),slideUp:F("hide",1),slideToggle:F("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e){return this.animate(b,d,e)}});c.extend({speed:function(a,b,d){var e=typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:
c.fx.speeds[e.duration]||c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],timerId:null,fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||
c.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function e(o){return n.step(o)}this.startTime=l();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
this.pos=this.state=0;var n=this;e.elem=this.elem;c.timers.push(e);if(e()&&c.timerId==null)c.timerId=setInterval(function(){for(var o=c.timers,z=0;z<o.length;z++)o[z]()||o.splice(z--,1);if(!o.length){clearInterval(c.timerId);c.timerId=null}},13)},show:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.attr(this.elem.style,
this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=l();if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=true;for(var d in this.options.curAnim)if(this.options.curAnim[d]!==true)a=false;if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(c.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&
c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.attr(this.elem.style,e,this.options.orig[e])}a&&this.options.complete.call(this.elem);return false}else{d=b-this.startTime;this.state=d/this.options.duration;this.pos=c.easing[this.options.easing||(c.easing.swing?"swing":"linear")](this.state,d,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{speeds:{slow:600,fast:200,_default:400},
step:{opacity:function(a){c.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});c.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return c.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),b=this[0].ownerDocument,d=b.body;b=b.documentElement;return{top:a.top+(self.pageYOffset||c.boxModel&&
b.scrollTop||d.scrollTop)-(b.clientTop||d.clientTop||0),left:a.left+(self.pageXOffset||c.boxModel&&b.scrollLeft||d.scrollLeft)-(b.clientLeft||d.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return c.offset.bodyOffset(this[0]);c.offset.initialized||c.offset.initialize();var a=this[0],b=a.offsetParent,d=a.ownerDocument,e,n=d.documentElement,o=d.body;d=d.defaultView;e=d.getComputedStyle(a,null);for(var z=a.offsetTop,x=a.offsetLeft;(a=a.parentNode)&&
a!==o&&a!==n;){e=d.getComputedStyle(a,null);z-=a.scrollTop;x-=a.scrollLeft;if(a===b){z+=a.offsetTop;x+=a.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName))){z+=parseInt(e.borderTopWidth,10)||0;x+=parseInt(e.borderLeftWidth,10)||0}b=a.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){z+=parseInt(e.borderTopWidth,10)||0;x+=parseInt(e.borderLeftWidth,10)||0}e=e}if(e.position==="relative"||e.position===
"static"){z+=o.offsetTop;x+=o.offsetLeft}if(e.position==="fixed"){z+=Math.max(n.scrollTop,o.scrollTop);x+=Math.max(n.scrollLeft,o.scrollLeft)}return{top:z,left:x}};c.offset={initialize:function(){if(!this.initialized){var a=document.body,b=document.createElement("div"),d,e,n,o=a.style.marginTop;d={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(e in d)b.style[e]=d[e];b.innerHTML='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"cellpadding="0"cellspacing="0"><tr><td></td></tr></table>';
a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;n=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=n.offsetTop===5;d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=o;a.removeChild(b);this.initialized=true}},bodyOffset:function(a){c.offset.initialized||c.offset.initialize();
var b=a.offsetTop,d=a.offsetLeft;if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseInt(c.curCSS(a,"marginTop",true),10)||0;d+=parseInt(c.curCSS(a,"marginLeft",true),10)||0}return{top:b,left:d}}};c.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=this.offset(),d=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=y(this,"marginTop");b.left-=y(this,"marginLeft");d.top+=y(a,"borderTopWidth");d.left+=y(a,"borderLeftWidth");a={top:b.top-d.top,left:b.left-
d.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&&c.css(a,"position")=="static";)a=a.offsetParent;return c(a)}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){if(!this[0])return null;return e!==void 0?this.each(function(){this==D||this==document?D.scrollTo(!a?e:c(D).scrollLeft(),a?e:c(D).scrollTop()):(this[d]=e)}):this[0]==D||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||c.boxModel&&document.documentElement[d]||
document.body[d]:this[0][d]}});c.each(["Height","Width"],function(a,b){var d=a?"Left":"Top",e=a?"Right":"Bottom";c.fn["inner"+b]=function(){return this[b.toLowerCase()]()+y(this,"padding"+d)+y(this,"padding"+e)};c.fn["outer"+b]=function(o){return this["inner"+b]()+y(this,"border"+d+"Width")+y(this,"border"+e+"Width")+(o?y(this,"margin"+d)+y(this,"margin"+e):0)};var n=b.toLowerCase();c.fn[n]=function(o){return this[0]==D?document.compatMode=="CSS1Compat"&&document.documentElement["client"+b]||document.body["client"+
b]:this[0]==document?Math.max(document.documentElement["client"+b],document.body["scroll"+b],document.documentElement["scroll"+b],document.body["offset"+b],document.documentElement["offset"+b]):o===void 0?this.length?c.css(this[0],n):null:this.css(n,typeof o==="string"?o:o+"px")}})})();(function(g){function l(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function y(h,m,t){if(h.cycleStop==undefined)h.cycleStop=0;if(m===undefined||m===null)m={};if(m.constructor==String)switch(m){case "stop":h.cycleStop++;h.cycleTimeout&&clearTimeout(h.cycleTimeout);h.cycleTimeout=0;g(h).removeData("cycle.opts");return false;case "pause":h.cyclePause=1;return false;case "resume":h.cyclePause=0;if(t===true){m=g(h).data("cycle.opts");if(!m){l("options not found, can not resume");
return false}if(h.cycleTimeout){clearTimeout(h.cycleTimeout);h.cycleTimeout=0}F(m.elements,m,1,1)}return false;default:m={fx:m}}else if(m.constructor==Number){var A=m;m=g(h).data("cycle.opts");if(!m){l("options not found, can not advance slide");return false}if(A<0||A>=m.elements.length){l("invalid slide index: "+A);return false}m.nextSlide=A;if(h.cycleTimeout){clearTimeout(h.cycleTimeout);h.cycleTimeout=0}if(typeof t=="string")m.oneTimeFx=t;F(m.elements,m,1,A>=m.currSlide);return false}return m}
function i(h,m){if(!g.support.opacity&&m.cleartype&&h.style.filter)try{h.style.removeAttribute("filter")}catch(t){}}function r(h,m,t,A,B){var k=g.extend({},g.fn.cycle.defaults,A||{},g.metadata?h.metadata():g.meta?h.data():{});if(k.autostop)k.countdown=k.autostopCount||t.length;var E=h[0];h.data("cycle.opts",k);k.$cont=h;k.stopCount=E.cycleStop;k.elements=t;k.before=k.before?[k.before]:[];k.after=k.after?[k.after]:[];k.after.unshift(function(){k.busy=0});!g.support.opacity&&k.cleartype&&k.after.push(function(){i(this,
k)});k.continuous&&k.after.push(function(){F(t,k,0,!k.rev)});w(k);!g.support.opacity&&k.cleartype&&!k.cleartypeNoBg&&c(m);h.css("position")=="static"&&h.css("position","relative");k.width&&h.width(k.width);k.height&&k.height!="auto"&&h.height(k.height);if(k.startingSlide)k.startingSlide=parseInt(k.startingSlide);if(k.random){k.randomMap=[];for(E=0;E<t.length;E++)k.randomMap.push(E);k.randomMap.sort(function(){return Math.random()-0.5});k.randomIndex=0;k.startingSlide=k.randomMap[0]}else if(k.startingSlide>=
t.length)k.startingSlide=0;k.currSlide=k.startingSlide=k.startingSlide||0;var L=k.startingSlide;m.css({position:"absolute",top:0,left:0}).hide().each(function(U){U=L?U>=L?t.length-(U-L):L-U:t.length-U;g(this).css("z-index",U)});g(t[L]).css("opacity",1).show();i(t[L],k);k.fit&&k.width&&m.width(k.width);k.fit&&k.height&&k.height!="auto"&&m.height(k.height);if(k.containerResize&&!h.innerHeight()){var R=0,T=0;for(E=0;E<t.length;E++){var W=g(t[E]),aa=W[0],da=W.outerWidth();W=W.outerHeight();if(!da)da=
aa.offsetWidth;if(!W)W=aa.offsetHeight;R=da>R?da:R;T=W>T?W:T}R>0&&T>0&&h.css({width:R+"px",height:T+"px"})}k.pause&&h.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(q(k)===false)return false;if(!k.multiFx){E=g.fn.cycle.transitions[k.fx];if(g.isFunction(E))E(h,m,k);else if(k.fx!="custom"&&!k.multiFx){l("unknown transition: "+k.fx,"; slideshow terminating");return false}}var ea=false;A.requeueAttempts=A.requeueAttempts||0;m.each(function(){var U=g(this);this.cycleH=k.fit&&k.height?
k.height:U.height();this.cycleW=k.fit&&k.width?k.width:U.width();if(U.is("img")){U=g.browser.opera&&this.cycleW==42&&this.cycleH==19&&!this.complete;var a=this.cycleH==0&&this.cycleW==0&&!this.complete;if(g.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete||U||a)if(B.s&&k.requeueOnImageNotLoaded&&++A.requeueAttempts<100){l(A.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){g(B.s,B.c).cycle(A)},k.requeueTimeout);ea=
true;return false}else l("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(ea)return false;k.cssBefore=k.cssBefore||{};k.animIn=k.animIn||{};k.animOut=k.animOut||{};m.not(":eq("+L+")").css(k.cssBefore);k.cssFirst&&g(m[L]).css(k.cssFirst);if(k.timeout){k.timeout=parseInt(k.timeout);if(k.speed.constructor==String)k.speed=g.fx.speeds[k.speed]||parseInt(k.speed);for(k.sync||(k.speed/=2);k.timeout-k.speed<250;)k.timeout+=k.speed}if(k.easing)k.easeIn=k.easeOut=k.easing;
if(!k.speedIn)k.speedIn=k.speed;if(!k.speedOut)k.speedOut=k.speed;k.slideCount=t.length;k.currSlide=k.lastSlide=L;if(k.random){k.nextSlide=k.currSlide;if(++k.randomIndex==t.length)k.randomIndex=0;k.nextSlide=k.randomMap[k.randomIndex]}else k.nextSlide=k.startingSlide>=t.length-1?0:k.startingSlide+1;h=m[L];k.before.length&&k.before[0].apply(h,[h,h,k,true]);k.after.length>1&&k.after[1].apply(h,[h,h,k,true]);k.next&&g(k.next).click(function(){return P(k,k.rev?-1:1)});k.prev&&g(k.prev).click(function(){return P(k,
k.rev?1:-1)});k.pager&&M(t,k);J(k,t);return k}function w(h){h.original={before:[],after:[]};h.original.cssBefore=g.extend({},h.cssBefore);h.original.cssAfter=g.extend({},h.cssAfter);h.original.animIn=g.extend({},h.animIn);h.original.animOut=g.extend({},h.animOut);g.each(h.before,function(){h.original.before.push(this)});g.each(h.after,function(){h.original.after.push(this)})}function q(h){var m=g.fn.cycle.transitions;if(h.fx.indexOf(",")>0){h.multiFx=true;h.fxs=h.fx.replace(/\s*/g,"").split(",");
for(var t=0;t<h.fxs.length;t++){var A=h.fxs[t],B=m[A];if(!B||!m.hasOwnProperty(A)||!g.isFunction(B)){l("discarding unknown transition: ",A);h.fxs.splice(t,1);t--}}if(!h.fxs.length){l("No valid transitions named; slideshow terminating.");return false}}else if(h.fx=="all"){h.multiFx=true;h.fxs=[];for(p in m){B=m[p];m.hasOwnProperty(p)&&g.isFunction(B)&&h.fxs.push(p)}}if(h.multiFx&&h.randomizeEffects){m=Math.floor(Math.random()*20)+30;for(t=0;t<m;t++)h.fxs.push(h.fxs.splice(Math.floor(Math.random()*
h.fxs.length),1)[0]);l("randomized fx sequence: ",h.fxs)}return true}function J(h,m){h.addSlide=function(t,A){var B=g(t),k=B[0];h.autostopCount||h.countdown++;m[A?"unshift":"push"](k);if(h.els)h.els[A?"unshift":"push"](k);h.slideCount=m.length;B.css("position","absolute");B[A?"prependTo":"appendTo"](h.$cont);if(A){h.currSlide++;h.nextSlide++}!g.support.opacity&&h.cleartype&&!h.cleartypeNoBg&&c(B);h.fit&&h.width&&B.width(h.width);h.fit&&h.height&&h.height!="auto"&&$slides.height(h.height);k.cycleH=
h.fit&&h.height?h.height:B.height();k.cycleW=h.fit&&h.width?h.width:B.width();B.css(h.cssBefore);h.pager&&g.fn.cycle.createPagerAnchor(m.length-1,k,g(h.pager),m,h);g.isFunction(h.onAddSlide)?h.onAddSlide(B):B.hide()}}function F(h,m,t,A){if(t&&m.busy&&m.manualTrump){g(h).stop(true,true);m.busy=false}if(!m.busy){var B=m.$cont[0],k=h[m.currSlide],E=h[m.nextSlide];if(!(B.cycleStop!=m.stopCount||B.cycleTimeout===0&&!t))if(!t&&!B.cyclePause&&(m.autostop&&--m.countdown<=0||m.nowrap&&!m.random&&m.nextSlide<
m.currSlide))m.end&&m.end(m);else{if(t||!B.cyclePause){var L=m.fx;k.cycleH=k.cycleH||g(k).height();k.cycleW=k.cycleW||g(k).width();E.cycleH=E.cycleH||g(E).height();E.cycleW=E.cycleW||g(E).width();if(m.multiFx){if(m.lastFx==undefined||++m.lastFx>=m.fxs.length)m.lastFx=0;L=m.fxs[m.lastFx];m.currFx=L}if(m.oneTimeFx){L=m.oneTimeFx;m.oneTimeFx=null}g.fn.cycle.resetState(m,L);m.before.length&&g.each(m.before,function(R,T){B.cycleStop==m.stopCount&&T.apply(E,[k,E,m,A])});L=function(){g.each(m.after,function(R,
T){B.cycleStop==m.stopCount&&T.apply(E,[k,E,m,A])})};if(m.nextSlide!=m.currSlide){m.busy=1;if(m.fxFn)m.fxFn(k,E,m,L,A);else g.isFunction(g.fn.cycle[m.fx])?g.fn.cycle[m.fx](k,E,m,L):g.fn.cycle.custom(k,E,m,L,t&&m.fastOnEvent)}m.lastSlide=m.currSlide;if(m.random){m.currSlide=m.nextSlide;if(++m.randomIndex==h.length)m.randomIndex=0;m.nextSlide=m.randomMap[m.randomIndex]}else{t=m.nextSlide+1==h.length;m.nextSlide=t?0:m.nextSlide+1;m.currSlide=t?h.length-1:m.nextSlide-1}m.pager&&g.fn.cycle.updateActivePagerLink(m.pager,
m.currSlide)}t=0;if(m.timeout&&!m.continuous)t=D(k,E,m,A);else if(m.continuous&&B.cyclePause)t=10;if(t>0)B.cycleTimeout=setTimeout(function(){F(h,m,0,!m.rev)},t)}}}function D(h,m,t,A){if(t.timeoutFn){h=t.timeoutFn(h,m,t,A);if(h!==false)return h}return t.timeout}function P(h,m){var t=h.elements,A=h.$cont[0],B=A.cycleTimeout;if(B){clearTimeout(B);A.cycleTimeout=0}if(h.random&&m<0){h.randomIndex--;if(--h.randomIndex==-2)h.randomIndex=t.length-2;else if(h.randomIndex==-1)h.randomIndex=t.length-1;h.nextSlide=
h.randomMap[h.randomIndex]}else if(h.random){if(++h.randomIndex==t.length)h.randomIndex=0;h.nextSlide=h.randomMap[h.randomIndex]}else{h.nextSlide=h.currSlide+m;if(h.nextSlide<0){if(h.nowrap)return false;h.nextSlide=t.length-1}else if(h.nextSlide>=t.length){if(h.nowrap)return false;h.nextSlide=0}}g.isFunction(h.prevNextClick)&&h.prevNextClick(m>0,h.nextSlide,t[h.nextSlide]);F(t,h,1,m>=0);return false}function M(h,m){var t=g(m.pager);g.each(h,function(A,B){g.fn.cycle.createPagerAnchor(A,B,t,h,m)});
g.fn.cycle.updateActivePagerLink(m.pager,m.startingSlide)}function c(h){function m(A){A=parseInt(A).toString(16);return A.length<2?"0"+A:A}function t(A){for(;A&&A.nodeName.toLowerCase()!="html";A=A.parentNode){var B=g.css(A,"background-color");if(B.indexOf("rgb")>=0){A=B.match(/\d+/g);return"#"+m(A[0])+m(A[1])+m(A[2])}if(B&&B!="transparent")return B}return"#ffffff"}h.each(function(){g(this).css("background-color",t(this))})}if(g.support==undefined)g.support={opacity:!g.browser.msie};g.fn.cycle=function(h,
m){var t={s:this.selector,c:this.context};if(this.length==0&&h!="stop"){if(!g.isReady&&t.s){l("DOM not ready, queuing slideshow");g(function(){g(t.s,t.c).cycle(h,m)});return this}l("terminating; zero elements found by selector"+(g.isReady?"":" (DOM not ready)"));return this}return this.each(function(){h=y(this,h,m);if(h!==false){this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var A=g(this),B=h.slideExpr?g(h.slideExpr,this):A.children(),k=B.get();if(k.length<
2)l("terminating; too few slides: "+k.length);else{var E=r(A,B,k,h,t);if(E!==false)if(E.timeout||E.continuous)this.cycleTimeout=setTimeout(function(){F(k,E,0,!E.rev)},E.continuous?10:E.timeout+(E.delay||0))}}})};g.fn.cycle.resetState=function(h,m){m=m||h.fx;h.before=[];h.after=[];h.cssBefore=g.extend({},h.original.cssBefore);h.cssAfter=g.extend({},h.original.cssAfter);h.animIn=g.extend({},h.original.animIn);h.animOut=g.extend({},h.original.animOut);h.fxFn=null;g.each(h.original.before,function(){h.before.push(this)});
g.each(h.original.after,function(){h.after.push(this)});var t=g.fn.cycle.transitions[m];g.isFunction(t)&&t(h.$cont,g(h.elements),h)};g.fn.cycle.updateActivePagerLink=function(h,m){g(h).find("a").removeClass("activeSlide").filter("a:eq("+m+")").addClass("activeSlide")};g.fn.cycle.next=function(h){P(h,h.rev?-1:1)};g.fn.cycle.prev=function(h){P(h,h.rev?1:-1)};g.fn.cycle.createPagerAnchor=function(h,m,t,A,B){if(m=g.isFunction(B.pagerAnchorBuilder)?B.pagerAnchorBuilder(h,m):'<a href="#">'+(h+1)+"</a>"){var k=
g(m);if(k.parents("body").length==0){var E=[];if(t.length>1){t.each(function(){var L=k.clone(true);g(this).append(L);E.push(L)});k=g(E)}else k.appendTo(t)}k.bind(B.pagerEvent,function(){B.nextSlide=h;var L=B.$cont[0],R=L.cycleTimeout;if(R){clearTimeout(R);L.cycleTimeout=0}g.isFunction(B.pagerClick)&&B.pagerClick(B.nextSlide,A[B.nextSlide]);F(A,B,1,B.currSlide<h);return false});B.pauseOnPagerHover&&k.hover(function(){B.$cont[0].cyclePause++},function(){B.$cont[0].cyclePause--})}};g.fn.cycle.hopsFromLast=
function(h,m){var t=h.lastSlide,A=h.currSlide;return m?A>t?A-t:h.slideCount-t:A<t?t-A:t+h.slideCount-A};g.fn.cycle.commonReset=function(h,m,t,A,B,k){g(t.elements).not(h).hide();t.cssBefore.opacity=1;t.cssBefore.display="block";if(A!==false&&m.cycleW>0)t.cssBefore.width=m.cycleW;if(B!==false&&m.cycleH>0)t.cssBefore.height=m.cycleH;t.cssAfter=t.cssAfter||{};t.cssAfter.display="none";g(h).css("zIndex",t.slideCount+(k===true?1:0));g(m).css("zIndex",t.slideCount+(k===true?0:1))};g.fn.cycle.custom=function(h,
m,t,A,B){var k=g(h),E=g(m),L=t.speedIn;h=t.speedOut;var R=t.easeIn;m=t.easeOut;E.css(t.cssBefore);if(B){L=typeof B=="number"?(h=B):(h=1);R=m=null}var T=function(){E.animate(t.animIn,L,R,A)};k.animate(t.animOut,h,m,function(){t.cssAfter&&k.css(t.cssAfter);t.sync||T()});t.sync&&T()};g.fn.cycle.transitions={fade:function(h,m,t){m.not(":eq("+t.currSlide+")").css("opacity",0);t.before.push(function(A,B,k){g.fn.cycle.commonReset(A,B,k);k.cssBefore.opacity=0});t.animIn={opacity:1};t.animOut={opacity:0};
t.cssBefore={top:0,left:0}}};g.fn.cycle.ver=function(){return"2.65"};g.fn.cycle.defaults={fx:"fade",timeout:4E3,timeoutFn:null,continuous:0,speed:1E3,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,
pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!g.support.opacity,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);
(function(g){g.fn.cycle.transitions.scrollUp=function(l,y,i){l.css("overflow","hidden");i.before.push(g.fn.cycle.commonReset);l=l.height();i.cssBefore={top:l,left:0};i.cssFirst={top:0};i.animIn={top:0};i.animOut={top:-l}};g.fn.cycle.transitions.scrollDown=function(l,y,i){l.css("overflow","hidden");i.before.push(g.fn.cycle.commonReset);l=l.height();i.cssFirst={top:0};i.cssBefore={top:-l,left:0};i.animIn={top:0};i.animOut={top:l}};g.fn.cycle.transitions.scrollLeft=function(l,y,i){l.css("overflow","hidden");
i.before.push(g.fn.cycle.commonReset);l=l.width();i.cssFirst={left:0};i.cssBefore={left:l,top:0};i.animIn={left:0};i.animOut={left:0-l}};g.fn.cycle.transitions.scrollRight=function(l,y,i){l.css("overflow","hidden");i.before.push(g.fn.cycle.commonReset);l=l.width();i.cssFirst={left:0};i.cssBefore={left:-l,top:0};i.animIn={left:0};i.animOut={left:l}};g.fn.cycle.transitions.scrollHorz=function(l,y,i){l.css("overflow","hidden").width();i.before.push(function(r,w,q,J){g.fn.cycle.commonReset(r,w,q);q.cssBefore.left=
J?w.cycleW-1:1-w.cycleW;q.animOut.left=J?-r.cycleW:r.cycleW});i.cssFirst={left:0};i.cssBefore={top:0};i.animIn={left:0};i.animOut={top:0}};g.fn.cycle.transitions.scrollVert=function(l,y,i){l.css("overflow","hidden");i.before.push(function(r,w,q,J){g.fn.cycle.commonReset(r,w,q);q.cssBefore.top=J?1-w.cycleH:w.cycleH-1;q.animOut.top=J?r.cycleH:-r.cycleH});i.cssFirst={top:0};i.cssBefore={left:0};i.animIn={top:0};i.animOut={left:0}};g.fn.cycle.transitions.slideX=function(l,y,i){i.before.push(function(r,
w,q){g(q.elements).not(r).hide();g.fn.cycle.commonReset(r,w,q,false,true);q.animIn.width=w.cycleW});i.cssBefore={left:0,top:0,width:0};i.animIn={width:"show"};i.animOut={width:0}};g.fn.cycle.transitions.slideY=function(l,y,i){i.before.push(function(r,w,q){g(q.elements).not(r).hide();g.fn.cycle.commonReset(r,w,q,true,false);q.animIn.height=w.cycleH});i.cssBefore={left:0,top:0,height:0};i.animIn={height:"show"};i.animOut={height:0}};g.fn.cycle.transitions.shuffle=function(l,y,i){l=l.css("overflow",
"visible").width();y.css({left:0,top:0});i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,true,true,true)});i.speed/=2;i.random=0;i.shuffle=i.shuffle||{left:-l,top:15};i.els=[];for(l=0;l<y.length;l++)i.els.push(y[l]);for(l=0;l<i.currSlide;l++)i.els.push(i.els.shift());i.fxFn=function(r,w,q,J,F){var D=F?g(r):g(w);g(w).css(q.cssBefore);var P=q.slideCount;D.animate(q.shuffle,q.speedIn,q.easeIn,function(){for(var M=g.fn.cycle.hopsFromLast(q,F),c=0;c<M;c++)F?q.els.push(q.els.shift()):q.els.unshift(q.els.pop());
if(F){M=0;for(c=q.els.length;M<c;M++)g(q.els[M]).css("z-index",c-M+P)}else{M=g(r).css("z-index");D.css("z-index",parseInt(M)+1+P)}D.animate({left:0,top:0},q.speedOut,q.easeOut,function(){g(F?this:r).hide();J&&J()})})};i.cssBefore={display:"block",opacity:1,top:0,left:0}};g.fn.cycle.transitions.turnUp=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,true,false);q.cssBefore.top=w.cycleH;q.animIn.height=w.cycleH});i.cssFirst={top:0};i.cssBefore={left:0,height:0};i.animIn={top:0};
i.animOut={height:0}};g.fn.cycle.transitions.turnDown=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,true,false);q.animIn.height=w.cycleH;q.animOut.top=r.cycleH});i.cssFirst={top:0};i.cssBefore={left:0,top:0,height:0};i.animOut={height:0}};g.fn.cycle.transitions.turnLeft=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,false,true);q.cssBefore.left=w.cycleW;q.animIn.width=w.cycleW});i.cssBefore={top:0,width:0};i.animIn={left:0};i.animOut={width:0}};
g.fn.cycle.transitions.turnRight=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,false,true);q.animIn.width=w.cycleW;q.animOut.left=r.cycleW});i.cssBefore={top:0,left:0,width:0};i.animIn={left:0};i.animOut={width:0}};g.fn.cycle.transitions.zoom=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,false,false,true);q.cssBefore.top=w.cycleH/2;q.cssBefore.left=w.cycleW/2;q.animIn={top:0,left:0,width:w.cycleW,height:w.cycleH};q.animOut={width:0,height:0,
top:r.cycleH/2,left:r.cycleW/2}});i.cssFirst={top:0,left:0};i.cssBefore={width:0,height:0}};g.fn.cycle.transitions.fadeZoom=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,false,false);q.cssBefore.left=w.cycleW/2;q.cssBefore.top=w.cycleH/2;q.animIn={top:0,left:0,width:w.cycleW,height:w.cycleH}});i.cssBefore={width:0,height:0};i.animOut={opacity:0}};g.fn.cycle.transitions.blindX=function(l,y,i){l=l.css("overflow","hidden").width();i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,
w,q);q.animIn.width=w.cycleW;q.animOut.left=r.cycleW});i.cssBefore={left:l,top:0};i.animIn={left:0};i.animOut={left:l}};g.fn.cycle.transitions.blindY=function(l,y,i){l=l.css("overflow","hidden").height();i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q);q.animIn.height=w.cycleH;q.animOut.top=r.cycleH});i.cssBefore={top:l,left:0};i.animIn={top:0};i.animOut={top:l}};g.fn.cycle.transitions.blindZ=function(l,y,i){y=l.css("overflow","hidden").height();l=l.width();i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,
w,q);q.animIn.height=w.cycleH;q.animOut.top=r.cycleH});i.cssBefore={top:y,left:l};i.animIn={top:0,left:0};i.animOut={top:y,left:l}};g.fn.cycle.transitions.growX=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,false,true);q.cssBefore.left=this.cycleW/2;q.animIn={left:0,width:this.cycleW};q.animOut={left:0}});i.cssBefore={width:0,top:0}};g.fn.cycle.transitions.growY=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,true,false);q.cssBefore.top=this.cycleH/
2;q.animIn={top:0,height:this.cycleH};q.animOut={top:0}});i.cssBefore={height:0,left:0}};g.fn.cycle.transitions.curtainX=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,false,true,true);q.cssBefore.left=w.cycleW/2;q.animIn={left:0,width:this.cycleW};q.animOut={left:r.cycleW/2,width:0}});i.cssBefore={top:0,width:0}};g.fn.cycle.transitions.curtainY=function(l,y,i){i.before.push(function(r,w,q){g.fn.cycle.commonReset(r,w,q,true,false,true);q.cssBefore.top=w.cycleH/2;q.animIn=
{top:0,height:w.cycleH};q.animOut={top:r.cycleH/2,height:0}});i.cssBefore={left:0,height:0}};g.fn.cycle.transitions.cover=function(l,y,i){var r=i.direction||"left",w=l.css("overflow","hidden").width(),q=l.height();i.before.push(function(J,F,D){g.fn.cycle.commonReset(J,F,D);if(r=="right")D.cssBefore.left=-w;else if(r=="up")D.cssBefore.top=q;else if(r=="down")D.cssBefore.top=-q;else D.cssBefore.left=w});i.animIn={left:0,top:0};i.animOut={opacity:1};i.cssBefore={top:0,left:0}};g.fn.cycle.transitions.uncover=
function(l,y,i){var r=i.direction||"left",w=l.css("overflow","hidden").width(),q=l.height();i.before.push(function(J,F,D){g.fn.cycle.commonReset(J,F,D,true,true,true);if(r=="right")D.animOut.left=w;else if(r=="up")D.animOut.top=-q;else if(r=="down")D.animOut.top=q;else D.animOut.left=-w});i.animIn={left:0,top:0};i.animOut={opacity:1};i.cssBefore={top:0,left:0}};g.fn.cycle.transitions.toss=function(l,y,i){var r=l.css("overflow","visible").width(),w=l.height();i.before.push(function(q,J,F){g.fn.cycle.commonReset(q,
J,F,true,true,true);if(!F.animOut.left&&!F.animOut.top)F.animOut={left:r*2,top:-w/2,opacity:0};else F.animOut.opacity=0});i.cssBefore={left:0,top:0};i.animIn={left:0}};g.fn.cycle.transitions.wipe=function(l,y,i){var r=l.css("overflow","hidden").width(),w=l.height();i.cssBefore=i.cssBefore||{};var q;if(i.clip)if(/l2r/.test(i.clip))q="rect(0px 0px "+w+"px 0px)";else if(/r2l/.test(i.clip))q="rect(0px "+r+"px "+w+"px "+r+"px)";else if(/t2b/.test(i.clip))q="rect(0px "+r+"px 0px 0px)";else if(/b2t/.test(i.clip))q=
"rect("+w+"px "+r+"px "+w+"px 0px)";else if(/zoom/.test(i.clip)){var J=parseInt(w/2),F=parseInt(r/2);q="rect("+J+"px "+F+"px "+J+"px "+F+"px)"}i.cssBefore.clip=i.cssBefore.clip||q||"rect(0px 0px 0px 0px)";l=i.cssBefore.clip.match(/(\d+)/g);J=parseInt(l[0]);var D=parseInt(l[1]),P=parseInt(l[2]);F=parseInt(l[3]);i.before.push(function(M,c,h){if(M!=c){var m=g(M),t=g(c);g.fn.cycle.commonReset(M,c,h,true,true,false);h.cssAfter.display="block";var A=1,B=parseInt(h.speedIn/13)-1;(function k(){var E=J?J-
parseInt(A*(J/B)):0,L=F?F-parseInt(A*(F/B)):0,R=P<w?P+parseInt(A*((w-P)/B||1)):w,T=D<r?D+parseInt(A*((r-D)/B||1)):r;t.css({clip:"rect("+E+"px "+T+"px "+R+"px "+L+"px)"});A++<=B?setTimeout(k,13):m.css("display","none")})()}});i.cssBefore={display:"block",opacity:1,top:0,left:0};i.animIn={left:0};i.animOut={left:0}}})(jQuery);jQuery.extend({easing:{easein:function(g,l,y,i,r){return i*(l/=r)*l+y},easeinout:function(g,l,y,i,r){if(l<r/2)return 2*i*l*l/(r*r)+y;g=l-r/2;return-2*i*g*g/(r*r)+2*i*g/r+i/2+y},easeout:function(g,l,y,i,r){return-i*l*l/(r*r)+2*i*l/r+y},expoin:function(g,l,y,i,r){g=1;if(i<0){g*=-1;i*=-1}return g*Math.exp(Math.log(i)/r*l)+y},expoout:function(g,l,y,i,r){g=1;if(i<0){g*=-1;i*=-1}return g*(-Math.exp(-Math.log(i)/r*(l-r))+i+1)+y},expoinout:function(g,l,y,i,r){g=1;if(i<0){g*=-1;i*=-1}if(l<r/2)return g*Math.exp(Math.log(i/
2)/(r/2)*l)+y;return g*(-Math.exp(-2*Math.log(i/2)/r*(l-r))+i+1)+y},bouncein:function(g,l,y,i,r){return i-jQuery.easing.bounceout(g,r-l,0,i,r)+y},bounceout:function(g,l,y,i,r){return(l/=r)<1/2.75?i*7.5625*l*l+y:l<2/2.75?i*(7.5625*(l-=1.5/2.75)*l+0.75)+y:l<2.5/2.75?i*(7.5625*(l-=2.25/2.75)*l+0.9375)+y:i*(7.5625*(l-=2.625/2.75)*l+0.984375)+y},bounceinout:function(g,l,y,i,r){if(l<r/2)return jQuery.easing.bouncein(g,l*2,0,i,r)*0.5+y;return jQuery.easing.bounceout(g,l*2-r,0,i,r)*0.5+i*0.5+y},elasin:function(g,
l,y,i,r){g=1.70158;var w=0,q=i;if(l==0)return y;if((l/=r)==1)return y+i;w||(w=r*0.3);if(q<Math.abs(i)){q=i;g=w/4}else g=w/(2*Math.PI)*Math.asin(i/q);return-(q*Math.pow(2,10*(l-=1))*Math.sin((l*r-g)*2*Math.PI/w))+y},elasout:function(g,l,y,i,r){g=1.70158;var w=0,q=i;if(l==0)return y;if((l/=r)==1)return y+i;w||(w=r*0.3);if(q<Math.abs(i)){q=i;g=w/4}else g=w/(2*Math.PI)*Math.asin(i/q);return q*Math.pow(2,-10*l)*Math.sin((l*r-g)*2*Math.PI/w)+i+y},elasinout:function(g,l,y,i,r){g=1.70158;var w=0,q=i;if(l==
0)return y;if((l/=r/2)==2)return y+i;w||(w=r*0.3*1.5);if(q<Math.abs(i)){q=i;g=w/4}else g=w/(2*Math.PI)*Math.asin(i/q);if(l<1)return-0.5*q*Math.pow(2,10*(l-=1))*Math.sin((l*r-g)*2*Math.PI/w)+y;return q*Math.pow(2,-10*(l-=1))*Math.sin((l*r-g)*2*Math.PI/w)*0.5+i+y},backin:function(g,l,y,i,r){return i*(l/=r)*l*(2.70158*l-1.70158)+y},backout:function(g,l,y,i,r){return i*((l=l/r-1)*l*(2.70158*l+1.70158)+1)+y},backinout:function(g,l,y,i,r){g=1.70158;if((l/=r/2)<1)return i/2*l*l*(((g*=1.525)+1)*l-g)+y;return i/
2*((l-=2)*l*(((g*=1.525)+1)*l+g)+2)+y},linear:function(g,l,y,i,r){return i*l/r+y}}});$.fn.cycle.defaults.speed=900;$.fn.cycle.defaults.timeout=6E3;$(function(){$("#demos pre code").each(function(){eval($(this).text())})});jQuery.fn.fancyZoom=function(g){function l(M){if(J)return false;J=true;var c=$($(this).attr("href")),h=g.height,m=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,t=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,A=window.pageYOffset||window.document.documentElement.scrollTop||window.document.body.scrollTop,B={width:m,height:t,x:window.pageXOffset||window.document.documentElement.scrollLeft||window.document.body.scrollLeft,
y:A};m=(g.width||c.width())+60;t=(h||c.height())+60;h=Math.max(B.height/2-t/2+A,0);B=B.width/2-m/2;A=M.pageY;M=M.pageX;D.attr("curTop",A);D.attr("curLeft",M);D.attr("scaleImg",g.scaleImg?"true":"false");$("#zoom").hide().css({position:"absolute",top:A+"px",left:M+"px",width:"1px",height:"1px"});r();D.hide();g.closeOnClick&&$("#zoom").click(y);if(g.scaleImg){P.html(c.html());$("#zoom_content img").css("width","100%")}else P.html("");$("#zoom").animate({top:h+"px",left:B+"px",opacity:"show",width:m,
height:t},500,null,function(){g.scaleImg!=true&&P.html(c.html());w();D.show();J=false});return false}function y(){if(J)return false;J=true;$("#zoom").unbind("click");r();D.attr("scaleImg")!="true"&&P.html("");D.hide();$("#zoom").animate({top:D.attr("curTop")+"px",left:D.attr("curLeft")+"px",opacity:"hide",width:"1px",height:"1px"},500,null,function(){D.attr("scaleImg")=="true"&&P.html("");w();J=false});return false}function i(M){$("#zoom_table td").each(function(){var m=$(this).css("background-image").replace(/\.(png|gif|none)\"\)$/,
"."+M+'")');$(this).css("background-image",m)});var c=D.children("img"),h=c.attr("src").replace(/\.(png|gif|none)$/,"."+M);c.attr("src",h)}function r(){$.browser.msie&&parseFloat($.browser.version)>=7&&i("gif")}function w(){$.browser.msie&&$.browser.version>=7&&i("png")}var q=(g=g||{})&&g.directory?g.directory:"images",J=false;if($("#zoom").length==0){var F=$.browser.msie?"gif":"png";q='<div id="zoom" style="display:none;">                   <table id="zoom_table" style="border-collapse:collapse; width:100%; height:100%;">                     <tbody>                       <tr>                         <td class="tl" style="background:url('+
q+"/tl."+F+') 0 0 no-repeat; width:20px; height:20px; overflow:hidden;" />                         <td class="tm" style="background:url('+q+"/tm."+F+') 0 0 repeat-x; height:20px; overflow:hidden;" />                         <td class="tr" style="background:url('+q+"/tr."+F+') 100% 0 no-repeat; width:20px; height:20px; overflow:hidden;" />                       </tr>                       <tr>                         <td class="ml" style="background:url('+q+"/ml."+F+') 0 0 repeat-y; width:20px; overflow:hidden;" />                         <td class="mm" style="background:#fff; vertical-align:top; padding:10px;">                           <div id="zoom_content">                           </div>                         </td>                         <td class="mr" style="background:url('+
q+"/mr."+F+') 100% 0 repeat-y;  width:20px; overflow:hidden;" />                       </tr>                       <tr>                         <td class="bl" style="background:url('+q+"/bl."+F+') 0 100% no-repeat; width:20px; height:20px; overflow:hidden;" />                         <td class="bm" style="background:url('+q+"/bm."+F+') 0 100% repeat-x; height:20px; overflow:hidden;" />                         <td class="br" style="background:url('+q+"/br."+F+') 100% 100% no-repeat; width:20px; height:20px; overflow:hidden;" />                       </tr>                     </tbody>                   </table>                   <a href="#" title="Close" id="zoom_close" style="position:absolute; top:0; left:0;">                     <img src="'+
q+"/closebox."+F+'" alt="Close" style="border:none; margin:0; padding:0;" />                   </a>                 </div>';$("body").append(q);$("html").click(function(M){$(M.target).parents("#zoom:visible").length==0&&y()});$(document).keyup(function(M){M.keyCode==27&&$("#zoom:visible").length>0&&y()});$("#zoom_close").click(y)}$("#zoom");$("#zoom_table");var D=$("#zoom_close"),P=$("#zoom_content");$("td.ml,td.mm,td.mr");this.each(function(){$($(this).attr("href")).hide();$(this).click(l)});return this};
