(function(){function n(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 k(){if(!F){F=true;document.addEventListener&&!c.browser.opera&&document.addEventListener("DOMContentLoaded",c.ready,false);c.browser.msie&&window==top&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}c.ready()}}();c.browser.opera&&document.addEventListener("DOMContentLoaded",
function(){if(!c.isReady){for(var b=0;b<document.styleSheets.length;b++)if(document.styleSheets[b].disabled){setTimeout(arguments.callee,0);return}c.ready()}},false);if(c.browser.safari){var a;(function(){if(!c.isReady)if(document.readyState!="loaded"&&document.readyState!="complete")setTimeout(arguments.callee,0);else{if(a===undefined)a=c("style, link[rel=stylesheet]").length;document.styleSheets.length!=a?setTimeout(arguments.callee,0):c.ready()}})()}c.event.add(window,"load",c.ready)}}if(window.jQuery)var I=
window.jQuery;var c=window.jQuery=function(a,b){return new c.prototype.init(a,b)};if(window.$)var y=window.$;window.$=c;var s=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,C=/^.[^:#\[\.]*$/;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType){this[0]=a;this.length=1;return this}else if(typeof a=="string"){var d=s.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);else{this[0]=e;this.length=1;return this}else a=[]}else return(new c(b)).find(a)}else if(c.isFunction(a))return(new c(document))[c.fn.ready?
"ready":"load"](a);return this.setArray(a.constructor==Array&&a||(a.jquery||a.length&&a!=window&&!a.nodeType&&a[0]!=undefined&&a[0].nodeType)&&c.makeArray(a)||[a])},jquery:"1.2.3",size:function(){return this.length},length:0,get:function(a){return a==undefined?c.makeArray(this):this[a]},pushStack:function(a){a=c(a);a.prevObject=this;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){var b=-1;this.each(function(d){if(this==
a)b=d});return b},attr:function(a,b,d){var e=a;if(a.constructor==String)if(b==undefined)return this.length&&c[d||"attr"](this[0],a)||undefined;else{e={};e[a]=b}return this.each(function(g){for(a in e)c.attr(d?this.style:this,a,c.prop(this,e[a],d,g,a))})},css:function(a,b){if((a=="width"||a=="height")&&parseFloat(b)<0)b=undefined;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){this[0]&&c(a,this[0].ownerDocument).clone().insertBefore(this[0]).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,false,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,true,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||c([])},find:function(a){var b=c.map(this,
function(d){return c.find(a,d)});return this.pushStack(/[^+>] [^+>]/.test(a)||a.indexOf("..")>-1?c.unique(b):b)},clone:function(a){var b=this.map(function(){if(c.browser.msie&&!c.isXMLDoc(this)){var e=this.cloneNode(true),g=document.createElement("div");g.appendChild(e);return c.clean([g.innerHTML])[0]}else return this.cloneNode(true)}),d=b.find("*").andSelf().each(function(){if(this[v]!=undefined)this[v]=null});a===true&&this.find("*").andSelf().each(function(e){if(this.nodeType!=3){var g=c.data(this,
"events");for(var f in g)for(var h in g[f])c.event.add(d[e],f,g[f][h],g[f][h].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,this))},not:function(a){if(a.constructor==String)if(C.test(a))return this.pushStack(c.multiFilter(a,this,true));else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==undefined&&!a.nodeType;return this.filter(function(){return b?c.inArray(this,a)<0:this!=a})},add:function(a){return!a?
this:this.pushStack(c.merge(this.get(),a.constructor==String?c(a).get():a.length!=undefined&&(!a.nodeName||c.nodeName(a,"form"))?a:[a]))},is:function(a){return a?c.multiFilter(a,this).length>0:false},hasClass:function(a){return this.is("."+a)},val:function(a){if(a==undefined){if(this.length){var b=this[0];if(c.nodeName(b,"select")){var d=b.selectedIndex,e=[],g=b.options;b=b.type=="select-one";if(d<0)return null;var f=b?d:0;for(d=b?d+1:g.length;f<d;f++){var h=g[f];if(h.selected){a=c.browser.msie&&
!h.attributes.value.specified?h.text:h.value;if(b)return a;e.push(a)}}return e}else return(this[0].value||"").replace(/\r/g,"")}}else return this.each(function(){if(this.nodeType==1)if(a.constructor==Array&&/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 j=a.constructor==Array?a:[a];c("option",this).each(function(){this.selected=c.inArray(this.value,j)>=0||c.inArray(this.text,j)>=0});if(!j.length)this.selectedIndex=
-1}else this.value=a})},html:function(a){return a==undefined?this.length?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))},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)},data:function(a,b){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";
if(b==null){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e==undefined&&this.length)e=c.data(this[0],a);return e==null&&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)})},domManip:function(a,b,d,e){var g=this.length>1,f;return this.each(function(){if(!f){f=c.clean(a,this.ownerDocument);d&&f.reverse()}var h=this;if(b&&c.nodeName(this,"table")&&c.nodeName(f[0],
"tr"))h=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var j=c([]);c.each(f,function(){var i=g?c(this).clone(true)[0]:this;if(c.nodeName(i,"script"))j=j.add(i);else{if(i.nodeType==1)j=j.add(c("script",i).remove());e.call(h,i)}});j.each(n)})}};c.prototype.init.prototype=c.prototype;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,g;if(a.constructor==Boolean){e=a;a=arguments[1]||{};b=2}if(typeof a!="object"&&typeof a!=
"function")a={};if(d==1){a=this;b=0}for(;b<d;b++)if((g=arguments[b])!=null)for(var f in g)if(a!==g[f])if(e&&g[f]&&typeof g[f]=="object"&&a[f]&&!g[f].nodeType)a[f]=c.extend(a[f],g[f]);else if(g[f]!=undefined)a[f]=g[f];return a};var v="jQuery"+(new Date).getTime(),G=0,E={},B=/z-?index|font-?weight|opacity|zoom|line-?height/i;c.extend({noConflict:function(a){window.$=y;if(a)window.jQuery=I;return c},isFunction:function(a){return!!a&&typeof a!="string"&&!a.nodeName&&a.constructor!=Array&&/function/i.test(a+
"")},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.browser.msie)d.text=a;else d.appendChild(document.createTextNode(a));b.appendChild(d);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},cache:{},data:function(a,
b,d){a=a==window?E:a;var e=a[v];e||(e=a[v]=++G);if(b&&!c.cache[e])c.cache[e]={};if(d!=undefined)c.cache[e][b]=d;return b?c.cache[e][b]:e},removeData:function(a,b){a=a==window?E:a;var d=a[v];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[v]}catch(e){a.removeAttribute&&a.removeAttribute(v)}delete c.cache[d]}},each:function(a,b,d){if(d)if(a.length==undefined)for(var e in a){if(b.apply(a[e],d)===false)break}else{e=0;for(var g=a.length;e<
g;e++)if(b.apply(a[e],d)===false)break}else if(a.length==undefined)for(e in a){if(b.call(a[e],e,a[e])===false)break}else{e=0;g=a.length;for(d=a[0];e<g&&b.call(d,e,d)!==false;d=a[++e]);}return a},prop:function(a,b,d,e,g){if(c.isFunction(b))b=b.call(a,e);return b&&b.constructor==Number&&d=="curCSS"&&!B.test(g)?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!=undefined?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 g in b){e[g]=a.style[g];a.style[g]=b[g]}d.call(a);for(g in b)a.style[g]=e[g]},css:function(a,b,d){if(b=="width"||b=="height"){var e;d={position:"absolute",visibility:"hidden",display:"block"};var g=b=="width"?["Left","Right"]:["Top","Bottom"],f=function(){e=b=="width"?
a.offsetWidth:a.offsetHeight;var h=0,j=0;c.each(g,function(){h+=parseFloat(c.curCSS(a,"padding"+this,true))||0;j+=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0});e-=Math.round(h+j)};c(a).is(":visible")?f():c.swap(a,d,f);return Math.max(0,e)}return c.curCSS(a,b,d)},curCSS:function(a,b,d){function e(h){if(!c.browser.safari)return false;h=document.defaultView.getComputedStyle(h,null);return!h||h.getPropertyValue("color")==""}var g;if(b=="opacity"&&c.browser.msie){g=c.attr(a.style,"opacity");
return g==""?"1":g}if(c.browser.opera&&b=="display"){var f=a.style.outline;a.style.outline="0 solid black";a.style.outline=f}if(b.match(/float/i))b=t;if(!d&&a.style&&a.style[b])g=a.style[b];else if(document.defaultView&&document.defaultView.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if((g=document.defaultView.getComputedStyle(a,null))&&!e(a))g=g.getPropertyValue(b);else{d=[];f=[];for(a=a;a&&e(a);a=a.parentNode)f.unshift(a);for(a=0;a<f.length;a++)if(e(f[a])){d[a]=
f[a].style.display;f[a].style.display="block"}g=b=="display"&&d[f.length-1]!=null?"none":g&&g.getPropertyValue(b)||"";for(a=0;a<d.length;a++)if(d[a]!=null)f[a].style.display=d[a]}if(b=="opacity"&&g=="")g="1"}else if(a.currentStyle){g=b.replace(/\-(\w)/g,function(h,j){return j.toUpperCase()});g=a.currentStyle[b]||a.currentStyle[g];if(!/^\d+(px)?$/i.test(g)&&/^\d/.test(g)){b=a.style.left;d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=g||0;g=a.style.pixelLeft+"px";a.style.left=
b;a.runtimeStyle.left=d}}return g},clean:function(a,b){var d=[];b=b||document;if(typeof b.createElement=="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;c.each(a,function(e,g){if(g){if(g.constructor==Number)g=g.toString();if(typeof g=="string"){g=g.replace(/(<(\w+)[^>]*?)\/>/g,function(i,l,o){return o.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?i:l+"></"+o+">"});var f=c.trim(g).toLowerCase(),h=b.createElement("div"),j=!f.indexOf("<opt")&&[1,"<select multiple='multiple'>",
"</select>"]||!f.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||f.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!f.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!f.indexOf("<td")||!f.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!f.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||c.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];for(h.innerHTML=j[1]+g+j[2];j[0]--;)h=h.lastChild;if(c.browser.msie){f=!f.indexOf("<table")&&
f.indexOf("<tbody")<0?h.firstChild&&h.firstChild.childNodes:j[1]=="<table>"&&f.indexOf("<tbody")<0?h.childNodes:[];for(j=f.length-1;j>=0;--j)c.nodeName(f[j],"tbody")&&!f[j].childNodes.length&&f[j].parentNode.removeChild(f[j]);/^\s/.test(g)&&h.insertBefore(b.createTextNode(g.match(/^\s*/)[0]),h.firstChild)}g=c.makeArray(h.childNodes)}if(!(g.length===0&&!c.nodeName(g,"form")&&!c.nodeName(g,"select")))if(g[0]==undefined||c.nodeName(g,"form")||g.options)d.push(g);else d=c.merge(d,g)}});return d},attr:function(a,
b,d){if(!(!a||a.nodeType==3||a.nodeType==8)){var e=c.isXMLDoc(a)?{}:c.props;if(e[b]){if(d!=undefined)a[e[b]]=d;return a[e[b]]}else if(c.browser.msie&&b=="style")return c.attr(a.style,"cssText",d);else if(d==undefined&&c.browser.msie&&c.nodeName(a,"form")&&(b=="action"||b=="method"))return a.getAttributeNode(b).nodeValue;else if(a.tagName){if(d!=undefined){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a.setAttribute(b,""+d)}if(c.browser.msie&&/href|src/.test(b)&&
!c.isXMLDoc(a))return a.getAttribute(b,2);return a.getAttribute(b)}else{if(b=="opacity"&&c.browser.msie){if(d!=undefined){a.zoom=1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(d).toString()=="NaN"?"":"alpha(opacity="+d*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?(parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/100).toString():""}b=b.replace(/-([a-z])/ig,function(g,f){return f.toUpperCase()});if(d!=undefined)a[b]=d;return a[b]}}},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,
"")},makeArray:function(a){var b=[];if(typeof a!="array")for(var d=0,e=a.length;d<e;d++)b.push(a[d]);else b=a.slice(0);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){if(c.browser.msie)for(var d=0;b[d];d++)b[d].nodeType!=8&&a.push(b[d]);else for(d=0;b[d];d++)a.push(b[d]);return a},unique:function(a){var b=[],d={};try{for(var e=0,g=a.length;e<g;e++){var f=c.data(a[e]);if(!d[f]){d[f]=true;b.push(a[e])}}}catch(h){b=a}return b},grep:function(a,
b,d){for(var e=[],g=0,f=a.length;g<f;g++)if(!d&&b(a[g],g)||d&&!b(a[g],g))e.push(a[g]);return e},map:function(a,b){for(var d=[],e=0,g=a.length;e<g;e++){var f=b(a[e],e);if(f!==null&&f!=undefined){if(f.constructor!=Array)f=[f];d=d.concat(f)}}return d}});var q=navigator.userAgent.toLowerCase();c.browser={version:(q.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(q),opera:/opera/.test(q),msie:/msie/.test(q)&&!/opera/.test(q),mozilla:/mozilla/.test(q)&&!/(compatible|webkit)/.test(q)};
var t=c.browser.msie?"styleFloat":"cssFloat";c.extend({boxModel:!c.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":t,cssFloat:t,styleFloat:t,innerHTML:"innerHTML",className:"className",value:"value",disabled:"disabled",checked:"checked",readonly:"readOnly",selected:"selected",maxlength:"maxLength",selectedIndex:"selectedIndex",defaultValue:"defaultValue",tagName:"tagName",nodeName:"nodeName"}});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))}});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,g=d.length;e<g;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){c.className[c.className.has(this,a)?"remove":"add"](this,a)},remove:function(a){if(!a||c.filter(a,[this]).r.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)}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();
c.fn[d]=function(e){return this[0]==window?c.browser.opera&&document.body["client"+b]||c.browser.safari&&window["inner"+b]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+b]||document.body["client"+b]:this[0]==document?Math.max(Math.max(document.body["scroll"+b],document.documentElement["scroll"+b]),Math.max(document.body["offset"+b],document.documentElement["offset"+b])):e==undefined?this.length?c.css(this[0],d):null:this.css(d,e.constructor==String?e:e+"px")}});var z=c.browser.safari&&
parseInt(c.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uffff*_-]|\\\\.)",A=new RegExp("^>\\s*("+z+"+)"),J=new RegExp("^("+z+"+)(#)("+z+"+)"),D=new RegExp("^([#.]?)("+z+"*)");c.extend({expr:{"":function(a,b,d){return d[2]=="*"||c.nodeName(a,d[2])},"#":function(a,b,d){return a.getAttribute("id")==d[2]},":":{lt:function(a,b,d){return b<d[3]-0},gt:function(a,b,d){return b>d[3]-0},nth:function(a,b,d){return d[3]-0==b},eq:function(a,b,d){return d[3]-0==b},first:function(a,b){return b==0},
last:function(a,b,d,e){return b==e.length-1},even:function(a,b){return b%2==0},odd:function(a,b){return b%2},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a},"last-child":function(a){return c.nth(a.parentNode.lastChild,1,"previousSibling")==a},"only-child":function(a){return!c.nth(a.parentNode.lastChild,2,"previousSibling")},parent:function(a){return a.firstChild},empty:function(a){return!a.firstChild},contains:function(a,b,d){return(a.textContent||a.innerText||c(a).text()||
"").indexOf(d[3])>=0},visible:function(a){return"hidden"!=a.type&&c.css(a,"display")!="none"&&c.css(a,"visibility")!="hidden"},hidden:function(a){return"hidden"==a.type||c.css(a,"display")=="none"||c.css(a,"visibility")=="hidden"},enabled:function(a){return!a.disabled},disabled:function(a){return a.disabled},checked:function(a){return a.checked},selected:function(a){return a.selected||c.attr(a,"selected")},text:function(a){return"text"==a.type},radio:function(a){return"radio"==a.type},checkbox:function(a){return"checkbox"==
a.type},file:function(a){return"file"==a.type},password:function(a){return"password"==a.type},submit:function(a){return"submit"==a.type},image:function(a){return"image"==a.type},reset:function(a){return"reset"==a.type},button:function(a){return"button"==a.type||c.nodeName(a,"button")},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},has:function(a,b,d){return c.find(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},animated:function(a){return c.grep(c.timers,
function(b){return a==b.elem}).length}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+z+"+)")],multiFilter:function(a,b,d){for(var e,g=[];a&&a!=e;){e=a;var f=c.filter(a,b,d);a=f.t.replace(/^\s*,\s*/,"");g=d?(b=f.r):c.merge(g,f.r)}return g},find:function(a,b){if(typeof a!="string")return[a];if(b&&b.nodeType!=1&&b.nodeType!=9)return[];b=b||document;for(var d=[b],e=[],g,f;a&&g!=a;){var h=[];g=a;a=c.trim(a);f=false;
var j=A,i=j.exec(a);if(i){f=i[1].toUpperCase();for(var l=0;d[l];l++)for(i=d[l].firstChild;i;i=i.nextSibling)if(i.nodeType==1&&(f=="*"||i.nodeName.toUpperCase()==f))h.push(i);d=h;a=a.replace(j,"");if(a.indexOf(" ")==0)continue;f=true}else{j=/^([>+~])\s*(\w*)/i;if((i=j.exec(a))!=null){h=[];l={};f=i[2].toUpperCase();i=i[1];for(var o=0,r=d.length;o<r;o++)for(var m=i=="~"||i=="+"?d[o].nextSibling:d[o].firstChild;m;m=m.nextSibling)if(m.nodeType==1){var w=c.data(m);if(i=="~"&&l[w])break;if(!f||m.nodeName.toUpperCase()==
f){if(i=="~")l[w]=true;h.push(m)}if(i=="+")break}d=h;a=c.trim(a.replace(j,""));f=true}}if(a&&!f)if(a.indexOf(",")){j=J;if(i=j.exec(a))i=[0,i[2],i[3],i[1]];else{j=D;i=j.exec(a)}i[2]=i[2].replace(/\\/g,"");f=d[d.length-1];if(i[1]=="#"&&f&&f.getElementById&&!c.isXMLDoc(f)){d=f.getElementById(i[2]);if((c.browser.msie||c.browser.opera)&&d&&typeof d.id=="string"&&d.id!=i[2])d=c('[@id="'+i[2]+'"]',f)[0];d=h=d&&(!i[3]||c.nodeName(d,i[3]))?[d]:[]}else{for(l=0;d[l];l++){f=i[1]=="#"&&i[3]?i[3]:i[1]!=""||i[0]==
""?"*":i[2];if(f=="*"&&d[l].nodeName.toLowerCase()=="object")f="param";h=c.merge(h,d[l].getElementsByTagName(f))}if(i[1]==".")h=c.classFilter(h,i[2]);if(i[1]=="#"){d=[];for(l=0;h[l];l++)if(h[l].getAttribute("id")==i[2]){d=[h[l]];break}h=d}d=h}a=a.replace(j,"")}else{b==d[0]&&d.shift();e=c.merge(e,d);h=d=[b];a=" "+a.substr(1,a.length)}if(a){h=c.filter(a,h);d=h.r;a=c.trim(h.t)}}if(a)d=[];d&&b==d[0]&&d.shift();return e=c.merge(e,d)},classFilter:function(a,b,d){for(var e=[],g=0;a[g];g++){var f=(" "+a[g].className+
" ").indexOf(" "+b+" ")>=0;if(!d&&f||d&&!f)e.push(a[g])}return e},filter:function(a,b,d){for(var e;a&&a!=e;){e=a;for(var g=c.parse,f,h=0;g[h];h++)if(f=g[h].exec(a)){a=a.substring(f[0].length);f[2]=f[2].replace(/\\/g,"");break}if(!f)break;if(f[1]==":"&&f[2]=="not")b=C.test(f[3])?c.filter(f[3],b,true).r:c(b).not(f[3]);else if(f[1]==".")b=c.classFilter(b,f[2],d);else if(f[1]=="["){g=[];var j=f[3];h=0;for(var i=b.length;h<i;h++){var l=b[h],o=l[c.props[f[2]]||f[2]];if(o==null||/href|src|selected/.test(f[2]))o=
c.attr(l,f[2])||"";if((j==""&&!!o||j=="="&&o==f[5]||j=="!="&&o!=f[5]||j=="^="&&o&&!o.indexOf(f[5])||j=="$="&&o.substr(o.length-f[5].length)==f[5]||(j=="*="||j=="~=")&&o.indexOf(f[5])>=0)^d)g.push(l)}b=g}else if(f[1]==":"&&f[2]=="nth-child"){j={};g=[];e=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[3]=="even"&&"2n"||f[3]=="odd"&&"2n+1"||!/\D/.test(f[3])&&"0n+"+f[3]||f[3]);l=e[1]+(e[2]||1)-0;e=e[3]-0;h=0;for(i=b.length;h<i;h++){o=b[h];var r=o.parentNode,m=c.data(r);if(!j[m]){var w=1;for(r=r.firstChild;r;r=r.nextSibling)if(r.nodeType==
1)r.nodeIndex=w++;j[m]=true}m=false;if(l==0){if(o.nodeIndex==e)m=true}else if((o.nodeIndex-e)%l==0&&(o.nodeIndex-e)/l>=0)m=true;m^d&&g.push(o)}b=g}else{var u=c.expr[f[1]];if(typeof u=="object")u=u[f[2]];if(typeof u=="string")u=eval("false||function(a,i){return "+u+";}");b=c.grep(b,function(x,L){return u(x,L,f,b)},d)}}return{r:b,t:a}},dir:function(a,b){for(var d=[],e=a[b];e&&e!=document;){e.nodeType==1&&d.push(e);e=e[b]}return d},nth:function(a,b,d){for(var e=0;a;a=a[d])if(a.nodeType==1&&++e==(b||
1))break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)if(a.nodeType==1&&(!b||a!=b))d.push(a);return d}});c.event={add:function(a,b,d,e){if(!(a.nodeType==3||a.nodeType==8)){if(c.browser.msie&&a.setInterval!=undefined)a=window;if(!d.guid)d.guid=this.guid++;if(e!=undefined){var g=d;d=function(){return g.apply(this,arguments)};d.data=e;d.guid=g.guid}var f=c.data(a,"events")||c.data(a,"events",{}),h=c.data(a,"handle")||c.data(a,"handle",function(){var j;if(typeof c=="undefined"||c.event.triggered)return j;
return j=c.event.handle.apply(arguments.callee.elem,arguments)});h.elem=a;c.each(b.split(/\s+/),function(j,i){var l=i.split(".");i=l[0];d.type=l[1];l=f[i];if(!l){l=f[i]={};if(!c.event.special[i]||c.event.special[i].setup.call(a)===false)if(a.addEventListener)a.addEventListener(i,h,false);else a.attachEvent&&a.attachEvent("on"+i,h)}l[d.guid]=d;c.event.global[i]=true});a=null}},guid:1,global:{},remove:function(a,b,d){if(!(a.nodeType==3||a.nodeType==8)){var e=c.data(a,"events"),g;if(e){if(b==undefined||
typeof b=="string"&&b.charAt(0)==".")for(var f in e)this.remove(a,f+(b||""));else{if(b.type){d=b.handler;b=b.type}c.each(b.split(/\s+/),function(h,j){var i=j.split(".");j=i[0];if(e[j]){if(d)delete e[j][d.guid];else for(d in e[j])if(!i[1]||e[j][d].type==i[1])delete e[j][d];for(g in e[j])break;if(!g){if(!c.event.special[j]||c.event.special[j].teardown.call(a)===false)if(a.removeEventListener)a.removeEventListener(j,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+j,c.data(a,"handle"));
g=null;delete e[j]}}})}for(g in e)break;if(!g){if(b=c.data(a,"handle"))b.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,e,g){b=c.makeArray(b||[]);if(a.indexOf("!")>=0){a=a.slice(0,-1);var f=true}if(d){if(d.nodeType==3||d.nodeType==8)return;var h,j=c.isFunction(d[a]||null),i=!b[0]||!b[0].preventDefault;i&&b.unshift(this.fix({type:a,target:d}));b[0].type=a;if(f)b[0].exclusive=true;if(c.isFunction(c.data(d,"handle")))h=c.data(d,"handle").apply(d,b);if(!j&&d["on"+
a]&&d["on"+a].apply(d,b)===false)h=false;i&&b.shift();if(g&&c.isFunction(g)){b=g.apply(d,h==null?b:b.concat(h));if(b!==undefined)h=b}if(j&&e!==false&&h!==false&&!(c.nodeName(d,"a")&&a=="click")){this.triggered=true;try{d[a]()}catch(l){}}this.triggered=false}else this.global[a]&&c("*").add([window,document]).trigger(a,b);return h},handle:function(a){var b;a=c.event.fix(a||window.event||{});var d=a.type.split(".");a.type=d[0];var e=c.data(this,"events")&&c.data(this,"events")[a.type],g=Array.prototype.slice.call(arguments,
1);g.unshift(a);for(var f in e){var h=e[f];g[0].handler=h;g[0].data=h.data;if(!d[1]&&!a.exclusive||h.type==d[1]){h=h.apply(this,g);if(b!==false)b=h;if(h===false){a.preventDefault();a.stopPropagation()}}}if(c.browser.msie)a.target=a.preventDefault=a.stopPropagation=a.handler=a.data=null;return b},fix:function(a){var b=a;a=c.extend({},b);a.preventDefault=function(){b.preventDefault&&b.preventDefault();b.returnValue=false};a.stopPropagation=function(){b.stopPropagation&&b.stopPropagation();b.cancelBubble=
true};if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=b.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){var d=document.documentElement,e=document.body;a.pageX=a.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d.clientLeft||0);a.pageY=a.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=
a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},special:{ready:{setup:function(){k()},teardown:function(){}},mouseenter:{setup:function(){if(c.browser.msie)return false;c(this).bind("mouseover",c.event.special.mouseenter.handler);return true},teardown:function(){if(c.browser.msie)return false;c(this).unbind("mouseover",c.event.special.mouseenter.handler);return true},handler:function(a){if(N(a,this))return true;
arguments[0].type="mouseenter";return c.event.handle.apply(this,arguments)}},mouseleave:{setup:function(){if(c.browser.msie)return false;c(this).bind("mouseout",c.event.special.mouseleave.handler);return true},teardown:function(){if(c.browser.msie)return false;c(this).unbind("mouseout",c.event.special.mouseleave.handler);return true},handler:function(a){if(N(a,this))return true;arguments[0].type="mouseleave";return c.event.handle.apply(this,arguments)}}}};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){return this.each(function(){c.event.add(this,a,function(e){c(this).unbind(e);return(d||b).apply(this,arguments)},d&&b)})},unbind:function(a,b){return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b,d){return this.each(function(){c.event.trigger(a,b,this,true,d)})},triggerHandler:function(a,b,d){if(this[0])return c.event.trigger(a,b,this[0],false,d)},toggle:function(){var a=arguments;
return this.click(function(b){this.lastToggle=0==this.lastToggle?1:0;b.preventDefault();return a[this.lastToggle].apply(this,arguments)||false})},hover:function(a,b){return this.bind("mouseenter",a).bind("mouseleave",b)},ready:function(a){k();c.isReady?a.call(document,c):c.readyList.push(function(){return a.call(this,c)});return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.apply(document)});c.readyList=
null}c(document).triggerHandler("ready")}}});var F=false;c.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,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)}});var N=function(a,b){for(var d=a.relatedTarget;d&&d!=b;)try{d=d.parentNode}catch(e){d=b}return d==b};c(window).bind("unload",function(){c("*").add(document).unbind()});c.fn.extend({load:function(a,b,
d){if(c.isFunction(a))return this.bind("load",a);var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}d=d||function(){};e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else{b=c.param(b);e="POST"}var f=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(h,j){if(j=="success"||j=="notmodified")f.html(g?c("<div/>").append(h.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):h.responseText);f.each(d,[h.responseText,j,h])}});return this},serialize:function(){return c.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){return c.nodeName(this,"form")?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:d.constructor==Array?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 O=(new Date).getTime();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:{global:true,
type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,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(h,f);a.global&&c.event.trigger("ajaxSuccess",[m,a])}function d(){a.complete&&a.complete(m,f);a.global&&c.event.trigger("ajaxComplete",
[m,a]);a.global&&!--c.active&&c.event.trigger("ajaxStop")}var e,g=/=\?(&|$)/g,f,h;a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));if(a.data&&a.processData&&typeof a.data!="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(a.type.toLowerCase()=="get")a.url.match(g)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(g))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(g)||
a.url.match(g))){e="jsonp"+O++;if(a.data)a.data=(a.data+"").replace(g,"="+e+"$1");a.url=a.url.replace(g,"="+e+"$1");a.dataType="script";window[e]=function(K){h=K;b();d();window[e]=undefined;try{delete window[e]}catch(P){}i&&i.removeChild(l)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&a.type.toLowerCase()=="get"){g=(new Date).getTime();var j=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+g+"$2");a.url=j+(j==a.url?(a.url.match(/\?/)?"&":"?")+"_="+g:"")}if(a.data&&a.type.toLowerCase()==
"get"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!c.active++&&c.event.trigger("ajaxStart");if((!a.url.indexOf("http")||!a.url.indexOf("//"))&&a.dataType=="script"&&a.type.toLowerCase()=="get"){var i=document.getElementsByTagName("head")[0],l=document.createElement("script");l.src=a.url;if(a.scriptCharset)l.charset=a.scriptCharset;if(!e){var o=false;l.onload=l.onreadystatechange=function(){if(!o&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){o=true;
b();d();i.removeChild(l)}}}i.appendChild(l)}else{var r=false,m=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;m.open(a.type,a.url,a.async,a.username,a.password);try{a.data&&m.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)m.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");m.setRequestHeader("X-Requested-With","XMLHttpRequest");m.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+
", */*":a.accepts._default)}catch(w){}a.beforeSend&&a.beforeSend(m);a.global&&c.event.trigger("ajaxSend",[m,a]);var u=function(K){if(!r&&m&&(m.readyState==4||K=="timeout")){r=true;if(x){clearInterval(x);x=null}f=K=="timeout"&&"timeout"||!c.httpSuccess(m)&&"error"||a.ifModified&&c.httpNotModified(m,a.url)&&"notmodified"||"success";if(f=="success")try{h=c.httpData(m,a.dataType)}catch(P){f="parsererror"}if(f=="success"){var M;try{M=m.getResponseHeader("Last-Modified")}catch(Q){}if(a.ifModified&&M)c.lastModified[a.url]=
M;e||b()}else c.handleError(a,m,f);d();if(a.async)m=null}};if(a.async){var x=setInterval(u,13);a.timeout>0&&setTimeout(function(){if(m){m.abort();r||u("timeout")}},a.timeout)}try{m.send(a.data)}catch(L){c.handleError(a,m,null,L)}a.async||u();return m}},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||c.browser.safari&&
a.status==undefined}catch(b){}return false},httpNotModified:function(a,b){try{var d=a.getResponseHeader("Last-Modified");return a.status==304||d==c.lastModified[b]||c.browser.safari&&a.status==undefined}catch(e){}return false},httpData:function(a,b){var d=a.getResponseHeader("content-type");var e=(d=b=="xml"||!b&&d&&d.indexOf("xml")>=0)?a.responseXML:a.responseText;if(d&&e.documentElement.tagName=="parsererror")throw"parsererror";b=="script"&&c.globalEval(e);if(b=="json")e=eval("("+e+")");return e},
param:function(a){var b=[];if(a.constructor==Array||a.jquery)c.each(a,function(){b.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value))});else for(var d in a)a[d]&&a[d].constructor==Array?c.each(a[d],function(){b.push(encodeURIComponent(d)+"="+encodeURIComponent(this))}):b.push(encodeURIComponent(d)+"="+encodeURIComponent(a[d]));return b.join("&").replace(/%20/g,"+")}});c.fn.extend({show:function(a,b){return a?this.animate({height:"show",width:"show",opacity:"show"},a,b):this.filter(":hidden").each(function(){this.style.display=
this.oldblock||"";if(c.css(this,"display")=="none"){var d=c("<"+this.tagName+" />").appendTo("body");this.style.display=d.css("display");if(this.style.display=="none")this.style.display="block";d.remove()}}).end()},hide:function(a,b){return a?this.animate({height:"hide",width:"hide",opacity:"hide"},a,b):this.filter(":visible").each(function(){this.oldblock=this.oldblock||c.css(this,"display");this.style.display="none"}).end()},_toggle:c.fn.toggle,toggle:function(a,b){return c.isFunction(a)&&c.isFunction(b)?
this._toggle(a,b):a?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},a,b):this.each(function(){c(this)[c(this).is(":hidden")?"show":"hide"]()})},slideDown:function(a,b){return this.animate({height:"show"},a,b)},slideUp:function(a,b){return this.animate({height:"hide"},a,b)},slideToggle:function(a,b){return this.animate({height:"toggle"},a,b)},fadeIn:function(a,b){return this.animate({opacity:"show"},a,b)},fadeOut:function(a,b){return this.animate({opacity:"hide"},a,b)},fadeTo:function(a,
b,d){return this.animate({opacity:b},a,d)},animate:function(a,b,d,e){var g=c.speed(b,d,e);return this[g.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var f=c.extend({},g),h=c(this).is(":hidden"),j=this;for(var i in a){if(a[i]=="hide"&&h||a[i]=="show"&&!h)return c.isFunction(f.complete)&&f.complete.apply(this);if(i=="height"||i=="width"){f.display=c.css(this,"display");f.overflow=this.style.overflow}}if(f.overflow!=null)this.style.overflow="hidden";f.curAnim=c.extend({},
a);c.each(a,function(l,o){var r=new c.fx(j,f,l);if(/toggle|show|hide/.test(o))r[o=="toggle"?h?"show":"hide":o](a);else{var m=o.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),w=r.cur(true)||0;if(m){var u=parseFloat(m[2]),x=m[3]||"px";if(x!="px"){j.style[l]=(u||1)+x;w=(u||1)/r.cur(true)*w;j.style[l]=w+x}if(m[1])u=(m[1]=="-="?-1:1)*u+w;r.custom(w,u,x)}else r.custom(w,o,"")}});return true})},queue:function(a,b){if(c.isFunction(a)||a&&a.constructor==Array){b=a;a="fx"}if(!a||typeof a=="string"&&!b)return H(this[0],
a);return this.each(function(){if(b.constructor==Array)H(this,a,b);else{H(this,a).push(b);H(this,a).length==1&&b.apply(this)}})},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}});var H=function(a,b,d){if(a){b=b||"fx";var e=c.data(a,b+"queue");if(!e||d)e=c.data(a,b+"queue",d?c.makeArray(d):[]);return e}};c.fn.dequeue=function(a){a=a||"fx";return this.each(function(){var b=
H(this,a);b.shift();b.length&&b[0].apply(this)})};c.extend({speed:function(a,b,d){var e=a&&a.constructor==Object?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&b.constructor!=Function&&b};e.duration=(e.duration&&e.duration.constructor==Number?e.duration:{slow:600,fast:200}[e.duration])||400;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.apply(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.apply(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.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&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(f){return g.step(f)}this.startTime=(new Date).getTime();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var g=this;e.elem=this.elem;c.timers.push(e);if(c.timerId==null)c.timerId=setInterval(function(){for(var f=c.timers,h=0;h<f.length;h++)f[h]()||f.splice(h--,1);if(!f.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(0,this.cur());if(this.prop=="width"||this.prop=="height")this.elem.style[this.prop]="1px";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=(new Date).getTime();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"}if(this.options.hide)this.elem.style.display="none";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&&c.isFunction(this.options.complete)&&this.options.complete.apply(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.fx.step={scrollLeft:function(a){a.elem.scrollLeft=a.now},scrollTop:function(a){a.elem.scrollTop=a.now},opacity:function(a){c.attr(a.elem.style,"opacity",a.now)},_default:function(a){a.elem.style[a.prop]=a.now+a.unit}};c.fn.offset=function(){function a(r){b(c.curCSS(r,"borderLeftWidth",
true),c.curCSS(r,"borderTopWidth",true))}function b(r,m){d+=parseInt(r)||0;e+=parseInt(m)||0}var d=0,e=0,g=this[0],f;if(g)with(c.browser){var h=g.parentNode,j=g,i=g.offsetParent;f=g.ownerDocument;var l=safari&&parseInt(version)<522&&!/adobeair/i.test(q),o=c.css(g,"position")=="fixed";if(g.getBoundingClientRect){g=g.getBoundingClientRect();b(g.left+Math.max(f.documentElement.scrollLeft,f.body.scrollLeft),g.top+Math.max(f.documentElement.scrollTop,f.body.scrollTop));b(-f.documentElement.clientLeft,
-f.documentElement.clientTop)}else{for(b(g.offsetLeft,g.offsetTop);i;){b(i.offsetLeft,i.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(i.tagName)||safari&&!l)a(i);if(!o&&c.css(i,"position")=="fixed")o=true;j=/^body$/i.test(i.tagName)?j:i;i=i.offsetParent}for(;h&&h.tagName&&!/^body|html$/i.test(h.tagName);){/^inline|table.*$/i.test(c.css(h,"display"))||b(-h.scrollLeft,-h.scrollTop);mozilla&&c.css(h,"overflow")!="visible"&&a(h);h=h.parentNode}if(l&&(o||c.css(j,"position")=="absolute")||mozilla&&c.css(j,
"position")!="absolute")b(-f.body.offsetLeft,-f.body.offsetTop);o&&b(Math.max(f.documentElement.scrollLeft,f.body.scrollLeft),Math.max(f.documentElement.scrollTop,f.body.scrollTop))}f={top:e,left:d}}return f}})();(function(n){n.fn.easySlider=function(k){k=n.extend({prevId:"prevBtn",prevText:"Previous",nextId:"nextBtn",nextText:"Next",controlsShow:true,controlsBefore:"",controlsAfter:"",controlsFade:true,firstId:"firstBtn",firstText:"First",firstShow:false,lastId:"lastBtn",lastText:"Last",lastShow:false,vertical:false,speed:2400,auto:false,pause:1E4,continuous:false,numeric:true,numericId:"controls"},k);this.each(function(){function I(A){A=parseInt(A)+1;n("li","#"+k.numericId).removeClass("current");n("li#"+
k.numericId+A).addClass("current")}function c(){if(q>B)q=0;if(q<0)q=B;k.vertical?n("ul",s).css("margin-left",q*G*-1):n("ul",s).css("margin-left",q*v*-1);E=true;k.numeric&&I(q)}function y(A,J){if(E){E=false;var D=q;switch(A){case "next":q=D>=B?k.continuous?q+1:B:q+1;break;case "prev":q=q<=0?k.continuous?q-1:0:q-1;break;case "first":q=0;break;case "last":q=B;break;default:q=A;break}D=Math.abs(D-q);var F=D*k.speed;if(k.vertical){p=q*G*-1;n("ul",s).animate({marginTop:p},{queue:false,duration:F,complete:c})}else{p=
q*v*-1;n("ul",s).animate({marginLeft:p},{queue:false,duration:F,complete:c})}if(!k.continuous&&k.controlsFade){if(q==B){n("a","#"+k.nextId).hide();n("a","#"+k.lastId).hide()}else{n("a","#"+k.nextId).show();n("a","#"+k.lastId).show()}if(q==0){n("a","#"+k.prevId).hide();n("a","#"+k.firstId).hide()}else{n("a","#"+k.prevId).show();n("a","#"+k.firstId).show()}}J&&clearTimeout(z);if(k.auto&&A=="next"&&!J)z=setTimeout(function(){y("next",false)},D*k.speed+k.pause)}}var s=n(this),C=n("li",s).length,v=n("li",
s).width(),G=n("li",s).height(),E=true;s.width(v);s.height(G);s.css("overflow","hidden");var B=C-1,q=0;n("ul",s).css("width",C*v);if(k.continuous){n("ul",s).prepend(n("ul li:last-child",s).clone().css("margin-left","-"+v+"px"));n("ul",s).append(n("ul li:nth-child(2)",s).clone());n("ul",s).css("width",(C+1)*v)}k.vertical||n("li",s).css("float","left");if(k.controlsShow){var t=k.controlsBefore;if(k.numeric)t+='<ol id="'+k.numericId+'"></ol>';else{if(k.firstShow)t+='<span id="'+k.firstId+'"><a href="javascript:void(0);">'+
k.firstText+"</a></span>";t+=' <span id="'+k.prevId+'"><a href="javascript:void(0);">'+k.prevText+"</a></span>";t+=' <span id="'+k.nextId+'"><a href="javascript:void(0);">'+k.nextText+"</a></span>";if(k.lastShow)t+=' <span id="'+k.lastId+'"><a href="javascript:void(0);">'+k.lastText+"</a></span>"}t+=k.controlsAfter;n(s).after(t)}if(k.numeric)for(t=0;t<C;t++)n(document.createElement("li")).attr("id",k.numericId+(t+1)).html("<a rel="+t+' href="javascript:void(0);">'+(t+1)+"</a>").appendTo(n("#"+k.numericId)).click(function(){y(n("a",
n(this)).attr("rel"),true)});else{n("a","#"+k.nextId).click(function(){y("next",true)});n("a","#"+k.prevId).click(function(){y("prev",true)});n("a","#"+k.firstId).click(function(){y("first",true)});n("a","#"+k.lastId).click(function(){y("last",true)})}var z;if(k.auto)z=setTimeout(function(){y("next",false)},k.pause);k.numeric&&I(0);if(!k.continuous&&k.controlsFade){n("a","#"+k.prevId).hide();n("a","#"+k.firstId).hide()}})}})(jQuery);
