/*
 MIT (MIT-LICENSE.txt)
 @version 1.13.1 - Number of fixes to ify, and fixed date parsing in Opera and 12AM issue
 @date $Date: 2009-08-25 09:45:35 +0100 (Tue, 25 Aug 2009) $
*/
(function(g,i){function D(a,b,d){if(d===i&&a.nodeType===1)if(d=a.getAttribute("data-"+b),typeof d==="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:!c.isNaN(d)?parseFloat(d):ha.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=i;return d}function n(){return!1}function q(){return!0}function H(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function L(a){var b,d,e,h,j,s,k,f,g,i,l,m=[];h=[];j=c.data(this,this.nodeType?"events":"__events__");if(typeof j==="function")j=j.events;
if(!(a.liveFired===this||!j||!j.live||a.button&&a.type==="click")){a.namespace&&(l=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var v=j.live.slice(0);for(k=0;k<v.length;k++)j=v[k],j.origType.replace(Z,"")===a.type?h.push(j.selector):v.splice(k--,1);h=c(a.target).closest(h,a.currentTarget);for(f=0,g=h.length;f<g;f++){i=h[f];for(k=0;k<v.length;k++)if(j=v[k],i.selector===j.selector&&(!l||l.test(j.namespace))){s=i.elem;e=null;if(j.preType==="mouseenter"||
j.preType==="mouseleave")a.type=j.preType,e=c(a.relatedTarget).closest(j.selector)[0];(!e||e!==s)&&m.push({elem:s,handleObj:j,level:i.level})}}for(f=0,g=m.length;f<g;f++){h=m[f];if(d&&h.level>d)break;a.currentTarget=h.elem;a.data=h.handleObj.data;a.handleObj=h.handleObj;l=h.handleObj.origHandler.apply(h.elem,arguments);if(l===!1||a.isPropagationStopped())if(d=h.level,l===!1&&(b=!1),a.isImmediatePropagationStopped())break}return b}}function x(a,b){return(a&&a!=="*"?a+".":"")+b.replace(oa,"`").replace(E,
"&")}function z(a,b,d){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});else if(b.nodeType)return c.grep(a,function(a){return a===b===d});else if(typeof b==="string"){var e=c.grep(a,function(a){return a.nodeType===1});if(R.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})}function r(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var b=c.data(a[d++]),h=c.data(this,b);if(b=b&&b.events){delete h.handle;
h.events={};for(var j in b)for(var s in b[j])c.event.add(this,j,b[j][s],b[j][s].data)}}})}function F(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function A(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Ka:La,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?e+=parseFloat(c.css(a,"margin"+this))||0:e-=parseFloat(c.css(a,
"border"+this+"Width"))||0});return e}function m(a,b,d,e){c.isArray(b)&&b.length?c.each(b,function(b,j){d||Ma.test(a)?e(a,j):m(a+"["+(typeof j==="object"||c.isArray(j)?b:"")+"]",j,d,e)}):!d&&b!=null&&typeof b==="object"?c.isEmptyObject(b)?e(a,""):c.each(b,function(b,c){m(a+"["+b+"]",c,d,e)}):e(a,b)}function o(a,b){var d={};c.each(Da.concat.apply([],Da.slice(0,b)),function(){d[this]=a});return d}function pa(a){if(!Ba[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||
d==="")d="block";Ba[a]=d}return Ba[a]}function y(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var l=g.document,c=function(){function a(){if(!b.isReady){try{l.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c)},c=g.jQuery,e=g.$,h,j=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,s=/\S/,k=/^\s+/,f=/\s+$/,m=/\W/,v=/\d/,Aa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,r=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
t=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,F=/(?:^|:|,)(?:\s*\[)+/g,A=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,M=/(msie) ([\w.]+)/,Na=/(mozilla)(?:.*? rv:([\w.]+))?/,qa=navigator.userAgent,Ea=!1,ra=[],ia,Oa=Object.prototype.toString,o=Object.prototype.hasOwnProperty,u=Array.prototype.push,q=Array.prototype.slice,va=String.prototype.trim,Fa=Array.prototype.indexOf,y={};b.fn=b.prototype={init:function(a,c){var d,e,w;if(!a)return this;if(a.nodeType)return this.context=
this[0]=a,this.length=1,this;if(a==="body"&&!c&&l.body)return this.context=l,this[0]=l.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((d=j.exec(a))&&(d[1]||!c))if(d[1])return w=c?c.ownerDocument||c:l,(e=Aa.exec(a))?b.isPlainObject(c)?(a=[l.createElement(e[1])],b.fn.attr.call(a,c,!0)):a=[w.createElement(e[1])]:(e=b.buildFragment([d[1]],[w]),a=(e.cacheable?e.fragment.cloneNode(!0):e.fragment).childNodes),b.merge(this,a);else{if((e=l.getElementById(d[2]))&&e.parentNode){if(e.id!==
d[2])return h.find(a);this.length=1;this[0]=e}this.context=l;this.selector=a;return this}else return!c&&!m.test(a)?(this.selector=a,this.context=l,a=l.getElementsByTagName(a),b.merge(this,a)):!c||c.jquery?(c||h).find(a):b(c).find(a);else if(b.isFunction(a))return h.ready(a);if(a.selector!==i)this.selector=a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return q.call(this,0)},get:function(a){return a==
null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,c,d){var e=b();b.isArray(a)?u.apply(e,a):b.merge(e,a);e.prevObject=this;e.context=this.context;if(c==="find")e.selector=this.selector+(this.selector?" ":"")+d;else if(c)e.selector=this.selector+"."+c+"("+d+")";return e},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();b.isReady?a.call(l,b):ra&&ra.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},
last:function(){return this.eq(-1)},slice:function(){return this.pushStack(q.apply(this,arguments),"slice",q.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||b(null)},push:u,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,e,h,w=arguments[0]||{},j=1,M=arguments.length,k=!1;typeof w==="boolean"&&(k=w,w=arguments[1]||{},j=2);typeof w!=="object"&&
!b.isFunction(w)&&(w={});M===j&&(w=this,--j);for(;j<M;j++)if((a=arguments[j])!=null)for(c in a)d=w[c],e=a[c],w!==e&&(k&&e&&(b.isPlainObject(e)||(h=b.isArray(e)))?(h?(h=!1,d=d&&b.isArray(d)?d:[]):d=d&&b.isPlainObject(d)?d:{},w[c]=b.extend(k,d,e)):e!==i&&(w[c]=e));return w};b.extend({noConflict:function(a){g.$=e;if(a)g.jQuery=c;return b},isReady:!1,readyWait:1,ready:function(a){a===!0&&b.readyWait--;if(!b.readyWait||a!==!0&&!b.isReady){if(!l.body)return setTimeout(b.ready,1);b.isReady=!0;if(!(a!==!0&&
--b.readyWait>0)&&ra){var c=0,d=ra;for(ra=null;a=d[c++];)a.call(l,b);b.fn.trigger&&b(l).trigger("ready").unbind("ready")}}},bindReady:function(){if(!Ea){Ea=!0;if(l.readyState==="complete")return setTimeout(b.ready,1);if(l.addEventListener)l.addEventListener("DOMContentLoaded",ia,!1),g.addEventListener("load",b.ready,!1);else if(l.attachEvent){l.attachEvent("onreadystatechange",ia);g.attachEvent("onload",b.ready);var c=!1;try{c=g.frameElement==null}catch(d){}l.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return b.type(a)===
"function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!v.test(a)||isNaN(a)},type:function(a){return a==null?String(a):y[Oa.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;if(a.constructor&&!o.call(a,"constructor")&&!o.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var c in a);return c===i||o.call(a,c)},
isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(n.test(a.replace(r,"@").replace(t,"]").replace(F,"")))return g.JSON&&g.JSON.parse?g.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&s.test(a)){var c=l.getElementsByTagName("head")[0]||l.documentElement,d=l.createElement("script");d.type="text/javascript";b.support.scriptEval?
d.appendChild(l.createTextNode(a)):d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,w=0,h=a.length,j=h===i||b.isFunction(a);if(d)if(j)for(e in a){if(c.apply(a[e],d)===!1)break}else for(;w<h;){if(c.apply(a[w++],d)===!1)break}else if(j)for(e in a){if(c.call(a[e],e,a[e])===!1)break}else for(d=a[0];w<h&&c.call(d,w,d)!==!1;d=a[++w]);return a},trim:va?function(a){return a==null?"":
va.call(a)}:function(a){return a==null?"":a.toString().replace(k,"").replace(f,"")},makeArray:function(a,c){var d=c||[];if(a!=null){var e=b.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||b.isWindow(a)?u.call(d,a):b.merge(d,a)}return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number")for(var e=b.length;d<e;d++)a[c++]=b[d];else for(;b[d]!==i;)a[c++]=
b[d++];a.length=c;return a},grep:function(a,b,c){for(var d=[],e,c=!!c,w=0,h=a.length;w<h;w++)e=!!b(a[w],w),c!==e&&d.push(a[w]);return d},map:function(a,b,c){for(var d=[],e,w=0,h=a.length;w<h;w++)e=b(a[w],w,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,d){arguments.length===2&&(typeof c==="string"?(d=a,a=d[c],c=i):c&&!b.isFunction(c)&&(d=c,c=i));!c&&a&&(c=function(){return a.apply(d||this,arguments)});if(a)c.guid=a.guid=a.guid||c.guid||b.guid++;return c},access:function(a,
c,d,e,w,h){var j=a.length;if(typeof c==="object"){for(var M in c)b.access(a,M,c[M],e,w,d);return a}if(d!==i){e=!h&&e&&b.isFunction(d);for(M=0;M<j;M++)w(a[M],c,e?d.call(a[M],M,w(a[M],c)):d,h);return a}return j?w(a[0],c):i},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=A.exec(a)||w.exec(a)||M.exec(a)||a.indexOf("compatible")<0&&Na.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
function(a,b){y["[object "+b+"]"]=b.toLowerCase()});qa=b.uaMatch(qa);if(qa.browser)b.browser[qa.browser]=!0,b.browser.version=qa.version;if(b.browser.webkit)b.browser.safari=!0;if(Fa)b.inArray=function(a,b){return Fa.call(b,a)};/\s/.test("\u00a0")||(k=/^[\s\xA0]+/,f=/[\s\xA0]+$/);h=b(l);l.addEventListener?ia=function(){l.removeEventListener("DOMContentLoaded",ia,!1);b.ready()}:l.attachEvent&&(ia=function(){l.readyState==="complete"&&(l.detachEvent("onreadystatechange",ia),b.ready())});return g.jQuery=
g.$=b}();(function(){c.support={};var a=l.documentElement,b=l.createElement("script"),d=l.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var h=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0],s=l.createElement("select"),k=s.appendChild(l.createElement("option"));if(h&&h.length&&j){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,
htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0};s.disabled=!0;c.support.optDisabled=!k.disabled;b.type=
"text/javascript";try{b.appendChild(l.createTextNode("window."+e+"=1;"))}catch(f){}a.insertBefore(b,a.firstChild);if(g[e])c.support.scriptEval=!0,delete g[e];try{delete b.test}catch(i){c.support.deleteExpando=!1}a.removeChild(b);d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function Aa(){c.support.noCloneEvent=!1;d.detachEvent("onclick",Aa)}),d.cloneNode(!0).fireEvent("onclick"));d=l.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=l.createDocumentFragment();
a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;c(function(){var a=l.createElement("div");a.style.width=a.style.paddingLeft="1px";l.body.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,c.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",c.support.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";
var b=a.getElementsByTagName("td");c.support.reliableHiddenOffsets=b[0].offsetHeight===0;b[0].style.display="";b[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&b[0].offsetHeight===0;a.innerHTML="";l.body.removeChild(a).style.display="none"});a=function(a){var b=l.createElement("div"),a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=h=j=null}})();
var sa={},ha=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(a,b,d){if(c.acceptData(a)){var a=a==g?sa:a,e=a.nodeType,h=e?a[c.expando]:null,j=c.cache;if(!e||h||!(typeof b==="string"&&d===i))return e?h||(a[c.expando]=h=++c.uuid):j=a,typeof b==="object"?e?j[h]=c.extend(j[h],b):c.extend(j,b):e&&!j[h]&&(j[h]={}),a=e?j[h]:j,d!==i&&(a[b]=d),typeof b==="string"?a[b]:a}},removeData:function(a,
b){if(c.acceptData(a)){var a=a==g?sa:a,d=a.nodeType,e=d?a[c.expando]:a,h=c.cache,j=d?h[e]:e;if(b)j&&(delete j[b],d&&c.isEmptyObject(j)&&c.removeData(a));else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete h[e];else for(var s in a)delete a[s]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===!0||a.getAttribute("classid")!==b)}return!0}});c.fn.extend({data:function(a,b){var d=null;
if(typeof a==="undefined"){if(this.length)for(var e=this[0].attributes,h,d=c.data(this[0]),j=0,s=e.length;j<s;j++)h=e[j].name,h.indexOf("data-")===0&&(h=h.substr(5),D(this[0],h,d[h]));return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";return b===i?(d=this.triggerHandler("getData"+k[1]+"!",[k[0]]),d===i&&this.length&&(d=c.data(this[0],a),d=D(this[0],a,d)),d===i&&k[1]?this.data(k[0]):d):this.each(function(){var d=c(this),e=[k[0],
b];d.triggerHandler("setData"+k[1]+"!",e);c.data(this,a,b);d.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){var b=(b||"fx")+"queue",e=c.data(a,b);if(!d)return e||[];!e||c.isArray(d)?e=c.data(a,b,c.makeArray(d)):e.push(d);return e}},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),e=d.shift();e==="inprogress"&&(e=d.shift());e&&(b==="fx"&&d.unshift("inprogress"),e.call(a,function(){c.dequeue(a,
b)}))}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");return b===i?c.queue(this[0],a):this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var V=/[\n\t]/g,W=/\s+/,ja=/\r/g,
S=/^(?:href|src|style)$/,G=/^(?:button|input)$/i,X=/^(?:button|input|object|select|textarea)$/i,N=/^a(?:rea)?$/i,ka=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===
1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.addClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(W),d=0,e=this.length;d<e;d++){var h=this[d];if(h.nodeType===1)if(h.className){for(var j=" "+h.className+" ",s=h.className,k=0,f=b.length;k<f;k++)j.indexOf(" "+b[k]+" ")<0&&(s+=" "+b[k]);h.className=c.trim(s)}else h.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);d.removeClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string"||a===i)for(var b=(a||"").split(W),d=0,e=this.length;d<e;d++){var h=this[d];if(h.nodeType===1&&h.className)if(a){for(var j=(" "+h.className+" ").replace(V," "),s=0,k=b.length;s<k;s++)j=j.replace(" "+b[s]+" "," ");h.className=c.trim(j)}else h.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";return c.isFunction(a)?this.each(function(d){var e=c(this);e.toggleClass(a.call(this,d,e.attr("class"),
b),b)}):this.each(function(){if(d==="string")for(var h,j=0,s=c(this),k=b,f=a.split(W);h=f[j++];)k=e?k:!s.hasClass(h),s[k?"addClass":"removeClass"](h);else if(d==="undefined"||d==="boolean")this.className&&c.data(this,"__className__",this.className),this.className=this.className||a===!1?"":c.data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(V," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(!arguments.length){var b=
this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex,d=[],h=b.options,b=b.type==="select-one";if(e<0)return null;for(var j=b?e:0,e=b?e+1:h.length;j<e;j++){var s=h[j];if(s.selected&&(c.support.optDisabled?!s.disabled:s.getAttribute("disabled")===null)&&(!s.parentNode.disabled||!c.nodeName(s.parentNode,"optgroup"))){a=c(s).val();if(b)return a;d.push(a)}}return d}return ka.test(b.type)&&!c.support.checkOn?
b.getAttribute("value")===null?"on":b.value:(b.value||"").replace(ja,"")}return i}var k=c.isFunction(a);return this.each(function(b){var d=c(this),e=a;if(this.nodeType===1)if(k&&(e=a.call(this,b,d.val())),e==null?e="":typeof e==="number"?e+="":c.isArray(e)&&(e=c.map(e,function(a){return a==null?"":a+""})),c.isArray(e)&&ka.test(this.type))this.checked=c.inArray(d.val(),e)>=0;else if(c.nodeName(this,"select")){var h=c.makeArray(e);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),
h)>=0});if(!h.length)this.selectedIndex=-1}else this.value=e})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return i;if(e&&b in c.attrFn)return c(a)[b](d);var e=a.nodeType!==1||!c.isXMLDoc(a),h=d!==i,b=e&&c.props[b]||b,j=S.test(b);if((b in a||a[b]!==i)&&e&&!j){h&&(b==="type"&&G.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),d===null?a.nodeType===1&&a.removeAttribute(b):
a[b]=d);if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;return b==="tabIndex"?(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:X.test(a.nodeName)||N.test(a.nodeName)&&a.href?0:i:a[b]}if(!c.support.style&&e&&b==="style"){if(h)a.style.cssText=""+d;return a.style.cssText}h&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return i;a=!c.support.hrefNormalized&&e&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?i:a}});var Z=
/\.(.*)$/,ea=/^(?:textarea|input|select)$/i,oa=/\./g,E=/ /g,K=/[^\w\s.|`]/g,J=function(a){return a.replace(K,"\\$&")},aa={focusin:0,focusout:0};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){c.isWindow(a)&&a!==g&&!a.frameElement&&(a=g);if(d===!1)d=n;else if(!d)return;var h,j;if(d.handler)h=d,d=h.handler;if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var s=a.nodeType?"events":"__events__",k=j[s],f=j.handle;if(typeof k==="function")f=k.handle,k=k.events;else if(!k)a.nodeType||(j[s]=
j=function(){}),j.events=k={};if(!f)j.handle=f=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(f.elem,arguments):i};f.elem=a;for(var b=b.split(" "),l=0,m;s=b[l++];){j=h?c.extend({},h):{handler:d,data:e};s.indexOf(".")>-1?(m=s.split("."),s=m.shift(),j.namespace=m.slice(0).sort().join(".")):(m=[],j.namespace="");j.type=s;if(!j.guid)j.guid=d.guid;var v=k[s],r=c.event.special[s]||{};if(!v&&(v=k[s]=[],!r.setup||r.setup.call(a,e,m,f)===!1))a.addEventListener?a.addEventListener(s,
f,!1):a.attachEvent&&a.attachEvent("on"+s,f);if(r.add&&(r.add.call(a,j),!j.handler.guid))j.handler.guid=d.guid;v.push(j);c.event.global[s]=!0}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){d===!1&&(d=n);var h,j,s=0,k,f,g,i,l,m,v=a.nodeType?"events":"__events__",t=c.data(a),r=t&&t[v];if(t&&r){if(typeof r==="function")t=r,r=r.events;if(b&&b.type)d=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(h in b=b||"",r)c.event.remove(a,h+b);else{for(b=
b.split(" ");h=b[s++];)if(i=h,k=h.indexOf(".")<0,f=[],k||(f=h.split("."),h=f.shift(),g=RegExp("(^|\\.)"+c.map(f.slice(0).sort(),J).join("\\.(?:.*\\.)?")+"(\\.|$)")),l=r[h])if(d){i=c.event.special[h]||{};for(j=e||0;j<l.length;j++)if(m=l[j],d.guid===m.guid){if(k||g.test(m.namespace))e==null&&l.splice(j--,1),i.remove&&i.remove.call(a,m);if(e!=null)break}if(l.length===0||e!=null&&l.length===1)(!i.teardown||i.teardown.call(a,f)===!1)&&c.removeEvent(a,h,t.handle),delete r[h]}else for(j=0;j<l.length;j++)if(m=
l[j],k||g.test(m.namespace))c.event.remove(a,i,m.handler,j),l.splice(j--,1);if(c.isEmptyObject(r)){if(b=t.handle)b.elem=null;delete t.events;delete t.handle;typeof t==="function"?c.removeData(a,v):c.isEmptyObject(t)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var h=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(h),a):c.Event(h);if(h.indexOf("!")>=0)a.type=h=h.slice(0,-1),a.exclusive=!0;d||(a.stopPropagation(),c.event.global[h]&&c.each(c.cache,function(){this.events&&this.events[h]&&
c.event.trigger(a,b,this.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return i;a.result=i;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||!c.noData[d.nodeName.toLowerCase()])&&d["on"+h]&&d["on"+h].apply(d,b)===!1)a.result=!1,a.preventDefault()}catch(j){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,!0);else if(!a.isDefaultPrevented()){var f,
e=a.target,k=h.replace(Z,""),g=c.nodeName(e,"a")&&k==="click",l=c.event.special[k]||{};if((!l._default||l._default.call(d,a)===!1)&&!g&&(!e||!e.nodeName||!c.noData[e.nodeName.toLowerCase()])){try{if(e[k])(f=e["on"+k])&&(e["on"+k]=null),c.event.triggered=!0,e[k]()}catch(m){}f&&(e["on"+k]=f);c.event.triggered=!1}}},handle:function(a){var b,d,e,h;d=[];var j=c.makeArray(arguments),a=j[0]=c.event.fix(a||g.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b)e=a.type.split("."),a.type=
e.shift(),d=e.slice(0).sort(),e=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||d.join(".");h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h=h.events;d=(h||{})[a.type];if(h&&d){d=d.slice(0);h=0;for(var f=d.length;h<f;h++){var k=d[h];if(b||e.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,j);if(k!==i)a.result=k,k===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}}return a.result},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[c.expando])return a;for(var b=a,a=c.Event(b),d=this.props.length,e;d;)e=this.props[--d],a[e]=b[e];if(!a.target)a.target=a.srcElement||l;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=l.documentElement,d=l.body,a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=
a.ctrlKey;if(!a.which&&a.button!==i)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,x(a.origType,a.selector),c.extend({},a,{handler:L,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,x(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};
c.removeEvent=l.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type):this.type=a;this.timeStamp=c.now();this[c.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=q;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=
q;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=q;this.stopPropagation()},isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n};var ba=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this)a.type=a.data,c.event.handle.apply(this,arguments)}catch(d){}},la=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",
mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?la:ba,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?la:ba)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form")c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return a.liveFired=i,H("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",
function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return a.liveFired=i,H("submit",this,arguments)});else return!1},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Y,ca=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()===
"select")d=a.selectedIndex;return d},T=function(a,b){var d=a.target,e,h;if(ea.test(d.nodeName)&&!d.readOnly&&(e=c.data(d,"_change_data"),h=ca(d),(a.type!=="focusout"||d.type!=="radio")&&c.data(d,"_change_data",h),!(e===i||h===e)))if(e!=null||h)return a.type="change",a.liveFired=i,c.event.trigger(a,b,d)};c.event.special.change={filters:{focusout:T,beforedeactivate:T,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return T.call(this,a)},
keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return T.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ca(a))}},setup:function(){if(this.type==="file")return!1;for(var a in Y)c.event.add(this,a+".specialChange",Y[a]);return ea.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ea.test(this.nodeName)}};Y=c.event.special.change.filters;
Y.focus=Y.beforeactivate}l.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){a=c.event.fix(a);a.type=b;return c.event.trigger(a,null,a.target)}c.event.special[b]={setup:function(){aa[b]++===0&&l.addEventListener(a,d,!0)},teardown:function(){--aa[b]===0&&l.removeEventListener(a,d,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,e,h){if(typeof a==="object"){for(var j in a)this[b](j,e,a[j],h);return this}if(c.isFunction(e)||e===!1)h=e,e=i;var f=b===
"one"?c.proxy(h,function(a){c(this).unbind(a,f);return h.apply(this,arguments)}):h;if(a==="unload"&&b!=="one")this.one(a,e,h);else{j=0;for(var k=this.length;j<k;j++)c.event.add(this[j],a,f,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,c,e){return this.live(b,c,e,a)},undelegate:function(a,b,c){return arguments.length===
0?this.unbind("live"):this.die(b,null,c,a)},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.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var h=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,h+1);e.preventDefault();return b[h].apply(this,
arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var da={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,e,h,j){var f,k=0,g,l,m=j||this.selector,j=j?this:c(this.context);if(typeof a==="object"&&!a.preventDefault){for(f in a)j[b](f,e,a[f],m);return this}c.isFunction(e)&&(h=e,e=i);for(a=(a||"").split(" ");(f=a[k++])!=null;)if(g=Z.exec(f),l="",g&&(l=g[0],f=f.replace(Z,"")),f==="hover")a.push("mouseenter"+
l,"mouseleave"+l);else if(g=f,f==="focus"||f==="blur"?(a.push(da[f]+l),f+=l):f=(da[f]||f)+l,b==="live"){l=0;for(var v=j.length;l<v;l++)c.event.add(j[l],"live."+x(f,m),{data:e,selector:m,handler:h,origType:f,origHandler:h,preType:g})}else j.unbind("live."+x(f,m),h);return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=
function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});g.attachEvent&&!g.addEventListener&&c(g).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(a,b,c,d,e,h){for(var e=0,j=d.length;e<j;e++){var f=d[e];if(f){for(var k=!1,f=f[a];f;){if(f.sizcache===c){k=d[f.sizset];break}if(f.nodeType===1&&!h)f.sizcache=c,f.sizset=e;if(f.nodeName.toLowerCase()===
b){k=f;break}f=f[a]}d[e]=k}}}function b(a,b,c,d,e,h){for(var e=0,j=d.length;e<j;e++){var f=d[e];if(f){for(var g=!1,f=f[a];f;){if(f.sizcache===c){g=d[f.sizset];break}if(f.nodeType===1){if(!h)f.sizcache=c,f.sizset=e;if(typeof b!=="string"){if(f===b){g=!0;break}}else if(k.filter(b,[f]).length>0){g=f;break}}f=f[a]}d[e]=g}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,h=Object.prototype.toString,j=!1,f=!0;
[0,0].sort(function(){f=!1;return 0});var k=function(a,b,c,e){var c=c||[],j=b=b||l;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var f,s,i,v,r,t=!0,F=k.isXML(b),o=[],A=a;do if(d.exec(""),f=d.exec(A))if(A=f[3],o.push(f[1]),f[2]){v=f[3];break}while(f);if(o.length>1&&m.exec(a))if(o.length===2&&g.relative[o[0]])s=u(o[0]+o[1],b);else for(s=g.relative[o[0]]?[b]:k(o.shift(),b);o.length;)a=o.shift(),g.relative[a]&&(a+=o.shift()),s=u(a,s);else if(!e&&o.length>1&&b.nodeType===
9&&!F&&g.match.ID.test(o[0])&&!g.match.ID.test(o[o.length-1])&&(f=k.find(o.shift(),b,F),b=f.expr?k.filter(f.expr,f.set)[0]:f.set[0]),b){f=e?{expr:o.pop(),set:n(e)}:k.find(o.pop(),o.length===1&&(o[0]==="~"||o[0]==="+")&&b.parentNode?b.parentNode:b,F);s=f.expr?k.filter(f.expr,f.set):f.set;for(o.length>0?i=n(s):t=!1;o.length;)f=r=o.pop(),g.relative[r]?f=o.pop():r="",f==null&&(f=b),g.relative[r](i,f,F)}else i=[];i||(i=s);i||k.error(r||a);if(h.call(i)==="[object Array]")if(t)if(b&&b.nodeType===1)for(a=
0;i[a]!=null;a++)i[a]&&(i[a]===!0||i[a].nodeType===1&&k.contains(b,i[a]))&&c.push(s[a]);else for(a=0;i[a]!=null;a++)i[a]&&i[a].nodeType===1&&c.push(s[a]);else c.push.apply(c,i);else n(i,c);v&&(k(v,j,c,e),k.uniqueSort(c));return c};k.uniqueSort=function(a){if(t&&(j=f,a.sort(t),j))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};k.matches=function(a,b){return k(a,null,null,b)};k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0};k.find=function(a,b,c){var d;if(!a)return[];
for(var e=0,h=g.order.length;e<h;e++){var j,f=g.order[e];if(j=g.leftMatch[f].exec(a)){var k=j[1];j.splice(1,1);if(k.substr(k.length-1)!=="\\"&&(j[1]=(j[1]||"").replace(/\\/g,""),d=g.find[f](j,b,c),d!=null)){a=a.replace(g.match[f],"");break}}}d||(d=b.getElementsByTagName("*"));return{set:d,expr:a}};k.filter=function(a,b,c,d){for(var e,h,j=a,f=[],s=b,l=b&&b[0]&&k.isXML(b[0]);a&&b.length;){for(var m in g.filter)if((e=g.leftMatch[m].exec(a))!=null&&e[2]){var v,r,o=g.filter[m];r=e[1];h=!1;e.splice(1,1);
if(r.substr(r.length-1)!=="\\"){s===f&&(f=[]);if(g.preFilter[m])if(e=g.preFilter[m](e,s,c,f,d,l)){if(e===!0)continue}else h=v=!0;if(e)for(var n=0;(r=s[n])!=null;n++)if(r){v=o(r,e,n,s);var t=d^!!v;c&&v!=null?t?h=!0:s[n]=!1:t&&(f.push(r),h=!0)}if(v!==i){c||(s=f);a=a.replace(g.match[m],"");if(!h)return[];break}}}if(a===j)if(h==null)k.error(a);else break;j=a}return s};k.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var g=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},
relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!/\W/.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,e=a.length,h;d<e;d++)if(h=a[d]){for(;(h=h.previousSibling)&&h.nodeType!==1;);a[d]=c||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}c&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,h=a.length;if(d&&!/\W/.test(b))for(b=b.toLowerCase();e<h;e++){if(c=a[e])c=c.parentNode,a[e]=c.nodeName.toLowerCase()===b?c:!1}else{for(;e<h;e++)(c=a[e])&&(a[e]=d?c.parentNode:c.parentNode===
b);d&&k.filter(b,a,!0)}},"":function(c,d,h){var j,f=e++,k=b;typeof d==="string"&&!/\W/.test(d)&&(j=d=d.toLowerCase(),k=a);k("parentNode",d,f,c,j,h)},"~":function(c,d,h){var j,f=e++,k=b;typeof d==="string"&&!/\W/.test(d)&&(j=d=d.toLowerCase(),k=a);k("previousSibling",d,f,c,j,h)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),
e=0,h=d.length;e<h;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,h){a=" "+a[1].replace(/\\/g,"")+" ";if(h)return a;for(var h=0,j;(j=b[h])!=null;h++)j&&(e^(j.className&&(" "+j.className+" ").replace(/[\t\n]/g," ").indexOf(a)>=0)?c||d.push(j):c&&(b[h]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]===
"nth"){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=e++;return a},ATTR:function(a,b,c,d,e,h){b=a[1].replace(/\\/g,"");!h&&g.attrMap[b]&&(a[1]=g.attrMap[b]);a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,e,h){if(a[1]==="not")if((d.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=k(a[3],null,null,b);else return a=k.filter(a[3],b,c,1^h),c||e.push.apply(e,a),!1;else if(g.match.POS.test(a[0])||
g.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},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||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===
0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],h=g.filters[e];if(h)return h(a,c,b,d);else if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;else if(e==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===
a)return!1;return!0}else k.error("Syntax error, unrecognized expression: "+e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=d.previousSibling;)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===1)return!1;return!0;case "nth":var c=b[2],e=b[3];if(c===1&&e===0)return!0;var h=b[0],j=a.parentNode;if(j&&(j.sizcache!==h||!a.nodeIndex)){for(var f=0,d=j.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++f;j.sizcache=
h}d=a.nodeIndex-e;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=g.attrHandle[c]?g.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],h=b[4];return c==null?e==="!=":e==="="?d===h:e==="*="?d.indexOf(h)>=0:e==="~="?(" "+d+" ").indexOf(h)>=
0:!h?d&&c!==!1:e==="!="?d!==h:e==="^="?d.indexOf(h)===0:e==="$="?d.substr(d.length-h.length)===h:e==="|="?d===h||d.substr(0,h.length+1)===h+"-":!1},POS:function(a,b,c,d){var e=g.setFilters[b[2]];if(e)return e(a,c,b,d)}}},m=g.match.POS,v=function(a,b){return"\\"+(b-0+1)},r;for(r in g.match)g.match[r]=RegExp(g.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),g.leftMatch[r]=RegExp(/(^(?:.|\r|\n)*?)/.source+g.match[r].source.replace(/\\(\d+)/g,v));var n=function(a,b){a=Array.prototype.slice.call(a,
0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(l.documentElement.childNodes,0)}catch(o){n=function(a,b){var c=0,d=b||[];if(h.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var t,F;l.documentElement.compareDocumentPosition?t=function(a,b){return a===b?(j=!0,0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&
4?-1:1}:(t=function(a,b){var c,d,e=[],h=[];c=a.parentNode;d=b.parentNode;var f=c;if(a===b)return j=!0,0;else if(c===d)return F(a,b);else if(c){if(!d)return 1}else return-1;for(;f;)e.unshift(f),f=f.parentNode;for(f=d;f;)h.unshift(f),f=f.parentNode;c=e.length;d=h.length;for(f=0;f<c&&f<d;f++)if(e[f]!==h[f])return F(e[f],h[f]);return f===c?F(a,h[f],-1):F(e[f],b,1)},F=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});k.getText=function(a){for(var b=
"",c,d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b};(function(){var a=l.createElement("div"),b="script"+(new Date).getTime(),c=l.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(l.getElementById(b))g.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?
[b]:i:[]},g.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=l.createElement("div");a.appendChild(l.createComment(""));if(a.getElementsByTagName("*").length>0)g.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!==
"undefined"&&a.firstChild.getAttribute("href")!=="#")g.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();l.querySelectorAll&&function(){var a=k,b=l.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){k=function(b,c,d,e){c=c||l;b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!e&&!k.isXML(c))if(c.nodeType===9)try{return n(c.querySelectorAll(b),d)}catch(h){}else if(c.nodeType===1&&c.nodeName.toLowerCase()!==
"object"){var j=c.getAttribute("id"),f=j||"__sizzle__";j||c.setAttribute("id",f);try{return n(c.querySelectorAll("#"+f+" "+b),d)}catch(g){}finally{j||c.removeAttribute("id")}}return a(b,c,d,e)};for(var c in a)k[c]=a[c];b=null}}();(function(){var a=l.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,c=!1;try{b.call(l.documentElement,"[test!='']:sizzle")}catch(d){c=!0}if(b)k.matchesSelector=function(a,d){d=d.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");
if(!k.isXML(a))try{if(c||!g.match.PSEUDO.test(d)&&!/!=/.test(d))return b.call(a,d)}catch(e){}return k(d,null,null,[a]).length>0}})();(function(){var a=l.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))g.order.splice(1,0,"CLASS"),g.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},
a=null})();k.contains=l.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:l.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};k.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var u=function(a,b){for(var c,d=[],e="",h=b.nodeType?[b]:b;c=g.match.PSEUDO.exec(a);)e+=c[0],a=a.replace(g.match.PSEUDO,"");a=g.relative[a]?a+"*":a;c=0;for(var j=h.length;c<j;c++)k(a,
h[c],d);return k.filter(e,d)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=k.getText;c.isXMLDoc=k.isXML;c.contains=k.contains})();var ta=/Until$/,ua=/^(?:parents|prevUntil|prevAll)/,f=/,/,R=/^.[^:#\[\.,]*$/,U=Array.prototype.slice,P=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,h=this.length;e<h;e++)if(d=b.length,c.find(a,this[e],b),e>0)for(var j=d;j<b.length;j++)for(var f=0;f<d;f++)if(b[f]===b[j]){b.splice(j--,
1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,e=b.length;a<e;a++)if(c.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(z(this,a,!1),"not",a)},filter:function(a){return this.pushStack(z(this,a,!0),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,h,j=this[0];if(c.isArray(a)){var f,k={},g=1;if(j&&a.length){for(e=0,h=a.length;e<h;e++)f=a[e],k[f]||(k[f]=c.expr.match.POS.test(f)?c(f,b||this.context):
f);for(;j&&j.ownerDocument&&j!==b;){for(f in k)e=k[f],(e.jquery?e.index(j)>-1:c(j).is(e))&&d.push({selector:f,elem:j,level:g});j=j.parentNode;g++}}return d}f=P.test(a)?c(a,b||this.context):null;for(e=0,h=this.length;e<h;e++)for(j=this[e];j;)if(f?f.index(j)>-1:c.find.matchesSelector(j,a)){d.push(j);break}else if(j=j.parentNode,!j||!j.ownerDocument||j===b)break;d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){return!a||typeof a==="string"?c.inArray(this[0],a?c(a):this.parent().children()):
c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,
"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,
"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var h=c.map(this,b,d);ta.test(a)||(e=d);e&&typeof e==="string"&&(h=c.filter(e,h));h=this.length>1?c.unique(h):h;if((this.length>1||f.test(e))&&ua.test(a))h=h.reverse();return this.pushStack(h,a,U.call(arguments).join(","))}});c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var e=
[],a=a[b];a&&a.nodeType!==9&&(d===i||a.nodeType!==1||!c(a).is(d));)a.nodeType===1&&e.push(a),a=a[b];return e},nth:function(a,b,c){for(var b=b||1,e=0;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var O=/ jQuery\d+="(?:\d+|null)"/g,I=/^\s+/,B=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,C=/<([\w:]+)/,Q=/<tbody/i,fa=/<|&#?\w+;/,ga=/<(?:script|object|embed|option|style)/i,
ma=/checked\s*(?:[^=]|=\s*.checked.)/i,xa=/\=([^="'>\s]+\/)>/g,u={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};u.optgroup=u.option;u.tbody=u.tfoot=u.colgroup=u.caption=u.thead;u.th=u.td;if(!c.support.htmlSerialize)u._default=
[1,"div<div>","</div>"];c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))}):typeof a!=="object"&&a!==i?this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&
a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length)!b&&e.nodeType===1&&(c.cleanData(e.getElementsByTagName("*")),c.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var a=this.outerHTML,b=this.ownerDocument;if(!a)a=b.createElement("div"),a.appendChild(this.cloneNode(!0)),a=a.innerHTML;return c.clean([a.replace(O,"").replace(xa,'="$1">').replace(I,"")],b)[0]}else return this.cloneNode(!0)});a===!0&&(r(this,b),r(this.find("*"),b.find("*")));return b},html:function(a){if(a===i)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(O,""):null;else if(typeof a===
"string"&&!ga.test(a)&&(c.support.leadingWhitespace||!I.test(a))&&!u[(C.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(B,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var d=c(this);d.html(a.call(this,b,d.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=
c(this),e=d.html();d.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,d){var e,h,f,g=a[0],k=[];if(!c.support.checkClone&&arguments.length===3&&typeof g==="string"&&ma.test(g))return this.each(function(){c(this).domManip(a,
b,d,!0)});if(c.isFunction(g))return this.each(function(e){var h=c(this);a[0]=g.call(this,e,b?h.html():i);h.domManip(a,b,d)});if(this[0]){e=g&&g.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,k);f=e.fragment;if(h=f.childNodes.length===1?f=f.firstChild:f.firstChild){b=b&&c.nodeName(h,"tr");h=0;for(var l=this.length;h<l;h++)d.call(b?c.nodeName(this[h],"table")?this[h].getElementsByTagName("tbody")[0]||this[h].appendChild(this[h].ownerDocument.createElement("tbody")):
this[h]:this[h],h>0||e.cacheable||this.length>1?f.cloneNode(!0):f)}k.length&&c.each(k,F)}return this}});c.buildFragment=function(a,b,d){var e,h,f,b=b&&b[0]?b[0].ownerDocument||b[0]:l;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===l&&!ga.test(a[0])&&(c.support.checkClone||!ma.test(a[0])))h=!0,(f=c.fragments[a[0]])&&f!==1&&(e=f);e||(e=b.createDocumentFragment(),c.clean(a,b,e,d));h&&(c.fragments[a[0]]=f?e:1);return{fragment:e,cacheable:h}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[],d=c(d),h=this.length===1&&this[0].parentNode;if(h&&h.nodeType===11&&h.childNodes.length===1&&d.length===1)return d[b](this[0]),this;else{for(var h=0,f=d.length;h<f;h++){var g=(h>0?this.clone(!0):this).get();c(d[h])[b](g);e=e.concat(g)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||l;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||
l);for(var h=[],f=0,g;(g=a[f])!=null;f++)if(typeof g==="number"&&(g+=""),g){if(typeof g==="string"&&!fa.test(g))g=b.createTextNode(g);else if(typeof g==="string"){g=g.replace(B,"<$1></$2>");var k=(C.exec(g)||["",""])[1].toLowerCase(),i=u[k]||u._default,m=i[0],v=b.createElement("div");for(v.innerHTML=i[1]+g+i[2];m--;)v=v.lastChild;if(!c.support.tbody){m=Q.test(g);k=k==="table"&&!m?v.firstChild&&v.firstChild.childNodes:i[1]==="<table>"&&!m?v.childNodes:[];for(i=k.length-1;i>=0;--i)c.nodeName(k[i],"tbody")&&
!k[i].childNodes.length&&k[i].parentNode.removeChild(k[i])}!c.support.leadingWhitespace&&I.test(g)&&v.insertBefore(b.createTextNode(I.exec(g)[0]),v.firstChild);g=v.childNodes}g.nodeType?h.push(g):h=c.merge(h,g)}if(d)for(f=0;h[f];f++)e&&c.nodeName(h[f],"script")&&(!h[f].type||h[f].type.toLowerCase()==="text/javascript")?e.push(h[f].parentNode?h[f].parentNode.removeChild(h[f]):h[f]):(h[f].nodeType===1&&h.splice.apply(h,[f+1,0].concat(c.makeArray(h[f].getElementsByTagName("script")))),d.appendChild(h[f]));
return h},cleanData:function(a){for(var b,d,e=c.cache,h=c.event.special,f=c.support.deleteExpando,g=0,k;(k=a[g])!=null;g++)if(!k.nodeName||!c.noData[k.nodeName.toLowerCase()])if(d=k[c.expando]){if((b=e[d])&&b.events)for(var i in b.events)h[i]?c.event.remove(k,i):c.removeEvent(k,i,b.handle);f?delete k[c.expando]:k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var v=/alpha\([^)]*\)/i,va=/opacity=([^)]*)/,Pa=/-([a-z])/ig,Qa=/([A-Z])/g,Ga=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",
visibility:"hidden",display:"block"},Ka=["Left","Right"],La=["Top","Bottom"],wa,Ha,ya,Ta=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return arguments.length===2&&b===i?this:c.access(this,a,b,!0,function(a,b,h){return h!==i?c.style(a,b,h):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=wa(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":c.support.cssFloat?
"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var h,f=c.camelCase(b),g=a.style,k=c.cssHooks[f],b=c.cssProps[f]||f;if(d!==i){if(!(typeof d==="number"&&isNaN(d)||d==null))if(typeof d==="number"&&!c.cssNumber[f]&&(d+="px"),!k||!("set"in k)||(d=k.set(a,d))!==i)try{g[b]=d}catch(l){}}else return k&&"get"in k&&(h=k.get(a,!1,e))!==i?h:g[b]}},css:function(a,b,d){var e,h=c.camelCase(b),f=c.cssHooks[h],b=c.cssProps[h]||h;if(f&&"get"in f&&(e=f.get(a,!0,d))!==
i)return e;else if(wa)return wa(a,b,h)},swap:function(a,b,c){var e={},h;for(h in b)e[h]=a.style[h],a.style[h]=b[h];c.call(a);for(h in b)a.style[h]=e[h]},camelCase:function(a){return a.replace(Pa,Ta)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,e,h){var f;if(e){a.offsetWidth!==0?f=A(a,b,h):c.swap(a,Sa,function(){f=A(a,b,h)});if(f<=0&&(f=wa(a,b,b),f==="0px"&&ya&&(f=ya(a,b,b)),f!=null))return f===""||f==="auto"?"0px":f;return f<0||f==null?(f=a.style[b],f===
""||f==="auto"?"0px":f):typeof f==="string"?f:f+"px"}},set:function(a,b){if(Ga.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return va.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=d.filter||"";d.filter=v.test(f)?f.replace(v,e):d.filter+" "+e}};l.defaultView&&l.defaultView.getComputedStyle&&
(Ha=function(a,b,d){var e,d=d.replace(Qa,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return i;if(b=b.getComputedStyle(a,null))e=b.getPropertyValue(d),e===""&&!c.contains(a.ownerDocument.documentElement,a)&&(e=c.style(a,d));return e});l.documentElement.currentStyle&&(ya=function(a,b){var c,e,f=a.currentStyle&&a.currentStyle[b],j=a.style;if(!Ga.test(f)&&Ra.test(f))c=j.left,e=a.runtimeStyle.left,a.runtimeStyle.left=a.currentStyle.left,j.left=b==="fontSize"?"1em":f||0,f=j.pixelLeft+"px",
j.left=c,a.runtimeStyle.left=e;return f===""?"auto":f});wa=Ha||ya;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var Ua=c.now(),Va=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Wa=/^(?:select|textarea)/i,Xa=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
Ya=/^(?:GET|HEAD)$/,Ma=/\[\]$/,na=/\=\?(&|$)/,Ca=/\?/,Za=/([?&])_=[^&]*/,$a=/^(\w+:)?\/\/([^\/?#]+)/,ab=/%20/g,bb=/#.*$/,Ia=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ia)return Ia.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0)var f=a.slice(e,a.length),a=a.slice(0,e);e="GET";b&&(c.isFunction(b)?(d=b,b=null):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var j=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(a,
b){if(b==="success"||b==="notmodified")j.html(f?c("<div>").append(a.responseText.replace(Va,"")).find(f):a.responseText);d&&j.each(d,[a.responseText,b,a])}});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||Wa.test(this.nodeName)||Xa.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?
null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.extend({get:function(a,b,d,e){c.isFunction(b)&&(e=e||d,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){c.isFunction(b)&&(e=e||d,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:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:function(){return new g.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},
ajax:function(a){var b=c.extend(!0,{},c.ajaxSettings,a),d,e,f,j=b.type.toUpperCase(),m=Ya.test(j);b.url=b.url.replace(bb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(j==="GET")na.test(b.url)||(b.url+=(Ca.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!na.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&
(b.data&&na.test(b.data)||na.test(b.url))){d=b.jsonpCallback||"jsonp"+Ua++;if(b.data)b.data=(b.data+"").replace(na,"="+d+"$1");b.url=b.url.replace(na,"="+d+"$1");b.dataType="script";var k=g[d];g[d]=function(a){if(c.isFunction(k))k(a);else{g[d]=i;try{delete g[d]}catch(j){}}f=a;c.handleSuccess(b,t,e,f);c.handleComplete(b,t,e,f);o&&o.removeChild(n)}}if(b.dataType==="script"&&b.cache===null)b.cache=!1;if(b.cache===!1&&m){var v=c.now(),r=b.url.replace(Za,"$1_="+v);b.url=r+(r===b.url?(Ca.test(b.url)?"&":
"?")+"_="+v:"")}b.data&&m&&(b.url+=(Ca.test(b.url)?"&":"?")+b.data);b.global&&c.active++===0&&c.event.trigger("ajaxStart");v=(v=$a.exec(b.url))&&(v[1]&&v[1].toLowerCase()!==location.protocol||v[2].toLowerCase()!==location.host);if(b.dataType==="script"&&j==="GET"&&v){var o=l.getElementsByTagName("head")[0]||l.documentElement,n=l.createElement("script");if(b.scriptCharset)n.charset=b.scriptCharset;n.src=b.url;if(!d){var F=!1;n.onload=n.onreadystatechange=function(){if(!F&&(!this.readyState||this.readyState===
"loaded"||this.readyState==="complete"))F=!0,c.handleSuccess(b,t,e,f),c.handleComplete(b,t,e,f),n.onload=n.onreadystatechange=null,o&&n.parentNode&&o.removeChild(n)}}o.insertBefore(n,o.firstChild);return i}var u=!1,t=b.xhr();if(t){b.username?t.open(j,b.url,b.async,b.username,b.password):t.open(j,b.url,b.async);try{(b.data!=null&&!m||a&&a.contentType)&&t.setRequestHeader("Content-Type",b.contentType),b.ifModified&&(c.lastModified[b.url]&&t.setRequestHeader("If-Modified-Since",c.lastModified[b.url]),
c.etag[b.url]&&t.setRequestHeader("If-None-Match",c.etag[b.url])),v||t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(A){}if(b.beforeSend&&b.beforeSend.call(b.context,t,b)===!1)return b.global&&c.active--===1&&c.event.trigger("ajaxStop"),t.abort(),!1;b.global&&c.triggerGlobal(b,"ajaxSend",[t,b]);var q=t.onreadystatechange=function(a){if(!t||t.readyState===0||a==="abort"){if(u||
c.handleComplete(b,t,e,f),u=!0,t)t.onreadystatechange=c.noop}else if(!u&&t&&(t.readyState===4||a==="timeout")){u=!0;t.onreadystatechange=c.noop;e=a==="timeout"?"timeout":!c.httpSuccess(t)?"error":b.ifModified&&c.httpNotModified(t,b.url)?"notmodified":"success";var j;if(e==="success")try{f=c.httpData(t,b.dataType,b)}catch(g){e="parsererror",j=g}e==="success"||e==="notmodified"?d||c.handleSuccess(b,t,e,f):c.handleError(b,t,e,j);d||c.handleComplete(b,t,e,f);a==="timeout"&&t.abort();b.async&&(t=null)}};
try{var w=t.abort;t.abort=function(){t&&Function.prototype.call.call(w,t);q("abort")}}catch(va){}b.async&&b.timeout>0&&setTimeout(function(){t&&!u&&q("timeout")},b.timeout);try{t.send(m||b.data==null?null:b.data)}catch(y){c.handleError(b,t,null,y),c.handleComplete(b,t,e,f)}b.async||q();return t}},param:function(a,b){var d=[],e=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===i)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,
function(){e(this.name,this.value)});else for(var f in a)m(f,a[f],b,e);return d.join("&").replace(ab,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",
[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},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!1},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),e=a.getResponseHeader("Etag");d&&(c.lastModified[b]=d);e&&(c.etag[b]=e);return a.status===304},httpData:function(a,
b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0,a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");d&&d.dataFilter&&(a=d.dataFilter(a,b));typeof a==="string"&&(b==="json"||!b&&e.indexOf("json")>=0?a=c.parseJSON(a):(b==="script"||!b&&e.indexOf("javascript")>=0)&&c.globalEval(a));return a}});if(g.ActiveXObject)c.ajaxSettings.xhr=function(){if(g.location.protocol!=="file:")try{return new g.XMLHttpRequest}catch(a){}try{return new g.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};
c.support.ajax=!!c.ajaxSettings.xhr();var Ba={},cb=/^(?:toggle|show|hide)$/,db=/^([+\-]=)?([\d+.\-]+)(.*)$/,za,Da=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(o("show",3),a,b,d);else{for(var d=0,e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")===
"none"&&c.data(a,"olddisplay",pa(a.nodeName))}for(d=0;d<e;d++)if(a=this[d],b=a.style.display,b===""||b==="none")a.style.display=c.data(a,"olddisplay")||"";return this}},hide:function(a,b,d){if(a||a===0)return this.animate(o("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++)d=c.css(this[a],"display"),d!=="none"&&c.data(this[a],"olddisplay",d);for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?
this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(o("toggle",3),a,b,d);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);return c.isEmptyObject(a)?this.each(f.complete):this[f.queue===!1?"each":"queue"](function(){var b=c.extend({},f),d,e=this.nodeType===1,g=e&&c(this).is(":hidden"),i=this;
for(d in a){var l=c.camelCase(d);d!==l&&(a[l]=a[d],delete a[d],d=l);if(a[d]==="hide"&&g||a[d]==="show"&&!g)return b.complete.call(this);if(e&&(d==="height"||d==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none")c.support.inlineBlockNeedsLayout?pa(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(c.isArray(a[d]))(b.specialEasing=
b.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(b.overflow!=null)this.style.overflow="hidden";b.curAnim=c.extend({},a);c.each(a,function(d,e){var f=new c.fx(i,b,d);if(cb.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var h=db.exec(e),k=f.cur()||0;if(h){var l=parseFloat(h[2]),m=h[3]||"px";m!=="px"&&(c.style(i,d,(l||1)+m),k*=(l||1)/f.cur(),c.style(i,d,k+m));h[1]&&(l=(h[1]==="-="?-1:1)*l+k);f.custom(k,l,m)}else f.custom(k,e,"")}});return!0})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var a=
d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](!0);d.splice(a,1)}});b||this.dequeue();return this}});c.each({slideDown:o("show",1),slideUp:o("hide",1),slideToggle:o("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,f){return this.animate(b,a,c,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},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:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==!1&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,e){return c+e*a},swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;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)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(a){return f.step(a)}var f=this,j=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!za&&(za=setInterval(j.tick,
j.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==
!0&&(d=!1);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,j=this.options;c.each(["","X","Y"],function(a,b){f.style["overflow"+b]=j.overflow[a]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.style(this.elem,g,this.options.orig[g]);this.options.complete.call(this.elem)}return!1}else a=b-this.startTime,this.state=a/this.options.duration,b=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=
c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(za);za=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=
null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var eb=/^t(?:able|d|h)$/i,Ja=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in l.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);
try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,j=f.documentElement;if(!d||!c.contains(j,b))return d||{top:0,left:0};b=f.body;f=y(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&j.scrollTop||b.scrollTop)-(j.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&j.scrollLeft||b.scrollLeft)-(j.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===
b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,j=f.documentElement,g=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,i=b.offsetLeft;(b=b.parentNode)&&b!==g&&b!==j;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;i-=b.scrollLeft;if(b===e){k+=b.offsetTop;i+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||
!eb.test(b.nodeName)))k+=parseFloat(d.borderTopWidth)||0,i+=parseFloat(d.borderLeftWidth)||0;e=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(k+=parseFloat(d.borderTopWidth)||0,i+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position==="static")k+=g.offsetTop,i+=g.offsetLeft;c.offset.supportsFixedPosition&&d.position==="fixed"&&(k+=Math.max(j.scrollTop,g.scrollTop),i+=Math.max(j.scrollLeft,g.scrollLeft));return{top:k,left:i}};c.offset={initialize:function(){var a=
l.body,b=l.createElement("div"),d,e,f,j=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,
a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);c.offset.initialize=
c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),j=f.offset(),g=c.css(a,"top"),k=c.css(a,"left"),i=e==="absolute"&&c.inArray("auto",[g,k])>-1,e={},l={};i&&(l=f.position());g=i?l.top:parseInt(g,10)||0;k=i?l.left:
parseInt(k,10)||0;c.isFunction(b)&&(b=b.call(a,d,j));if(b.top!=null)e.top=b.top-j.top+g;if(b.left!=null)e.left=b.left-j.left+k;"using"in b?b.using.call(a,e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ja.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||
0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||l.body;a&&!Ja.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(b){var f=this[0],j;return!f?null:b!==i?this.each(function(){(j=y(this))?j.scrollTo(!a?b:c(j).scrollLeft(),a?b:c(j).scrollTop()):this[d]=b}):(j=y(f))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&
j.document.documentElement[d]||j.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(a){return this[0]?parseFloat(c.css(this[0],d,a?"margin":"border")):null};c.fn[d]=function(a){var f=this[0];if(!f)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var f=c(this);f[d](a.call(this,b,f[d]()))});if(c.isWindow(f))return f.document.compatMode===
"CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(a===i){var f=c.css(f,d),j=parseFloat(f);return c.isNaN(j)?f:j}else return this.css(d,typeof a==="string"?a:a+"px")}})})(window);
typeof renderTwitters!="function"&&function(){function g(g){for(var i in g.user)g["user_"+i]=g.user[i];g.time=n(g.created_at);return g}function i(g){x?g.call():L.push(g)}function D(){x=!0;for(var g;g=L.shift();)g.call()}function n(g){function i(g){var c=g.getHours(),g=g.getMinutes()+"",m="AM";c==0?c=12:c==12?m="PM":c>12&&(c-=12,m="PM");g.length==1&&(g="0"+g);return c+":"+g+" "+m}function n(g){g.toDateString().split(/ /);var c=z[g.getMonth()],i=g.getDate()+"",m=parseInt(i),g=g.getFullYear(),o=(new Date).getFullYear(),
r="th";m%10==1&&i.substr(0,1)!="1"?r="st":m%10==2&&i.substr(0,1)!="1"?r="nd":m%10==3&&i.substr(0,1)!="1"&&(r="rd");i.substr(0,1)=="0"&&(i=i.substr(1));return c+" "+i+r+(o!=g?", "+g:"")}var m=g.split(" "),o=Date.parse(m[1]+" "+m[2]+", "+m[5]+" "+m[3]),m=new Date(o),q=arguments.length>1?arguments[1]:new Date,o=parseInt((q.getTime()-o)/1E3),y="";o+=q.getTimezoneOffset()*60;return y=o<5?"less than 5 seconds ago":o<30?"half a minute ago":o<60?"less than a minute ago":o<120?"1 minute ago":o<2700?parseInt(o/
60).toString()+" minutes ago":o<10800?"about 1 hour ago":o<86400?"about "+parseInt(o/3600).toString()+" hours ago":o<172800?i(m)+" yesterday":i(m)+" "+n(m)}var q=function(){var g=navigator.userAgent.toLowerCase();return{webkit:/(webkit|khtml)/.test(g),opera:/opera/.test(g),msie:/msie/.test(g)&&!/opera/.test(g),mozilla:/mozilla/.test(g)&&!/(compatible|webkit)/.test(g)}}(),H=0,L=[],x=!1,z="Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(",");window.ify=function(){return{link:function(g){return g.replace(/[a-z]+:\/\/[a-z0-9-_]+\.[a-z0-9-_:~%&\?\/.=]+[^:\.,\)\s*$]/ig,
function(g){return'<a href="'+g+'">'+(g.length>25?g.substr(0,24)+"...":g)+"</a>"})},at:function(g){return g.replace(/(^|[^\w]+)\@([a-zA-Z0-9_]{1,15})/g,function(g,i,m){return i+'@<a href="http://twitter.com/'+m+'">'+m+"</a>"})},hash:function(g){return g.replace(/(^|[^\w'"]+)\#([a-zA-Z0-9_]+)/g,function(g,i,m){return i+'#<a href="http://search.twitter.com/search?q=%23'+m+'">'+m+"</a>"})},clean:function(g){return this.hash(this.at(this.link(g)))}}}();window.renderTwitters=function(i,q){var A=document.getElementById(q.twitterTarget),
m=null,o=document.createElement("ul"),x,y,l,c,z=i.length>q.count?q.count:i.length;for(c=0;c<z&&i[c];c++)if(m=g(i[c]),q.ignoreReplies&&i[c].text.substr(0,1)=="@")z++;else{x=document.createElement("li");if(q.template)x.innerHTML=q.template.replace(/%([a-z_\-\.]*)%/ig,function(c,g){var i=m[g]+""||"";g=="text"&&q.enableLinks&&(i=ify.clean(i));return i});else{y=document.createElement("span");y.className="twitterStatus";l=document.createElement("span");l.className="twitterTime";y.innerHTML=i[c].text;if(q.enableLinks==
!0)y.innerHTML=ify.clean(y.innerHTML);l.innerHTML=n(i[c].created_at);if(q.prefix){var D=document.createElement("span");D.className="twitterPrefix";D.innerHTML=q.prefix.replace(/%(.*?)%/g,function(g,l){return i[c].user[l]});x.appendChild(D);x.appendChild(document.createTextNode(" "))}x.appendChild(y);x.appendChild(document.createTextNode(" "));x.appendChild(l)}if(q.newwindow)x.innerHTML=x.innerHTML.replace(/<a href/gi,'<a target="_blank" href');o.appendChild(x)}if(q.clearContents)for(;A.firstChild;)A.removeChild(A.firstChild);
A.appendChild(o);typeof q.callback=="function"&&q.callback()};window.getTwitters=function(g,n,q,m){H++;if(typeof n=="object")m=n,n=m.id,q=m.count;q||(q=1);m?m.count=q:m={};if(!m.timeout&&typeof m.onTimeout=="function")m.timeout=10;if(typeof m.clearContents=="undefined")m.clearContents=!0;if(m.withFriends)m.withFriends=!1;m.twitterTarget=g;if(typeof m.enableLinks=="undefined")m.enableLinks=!0;window["twitterCallback"+H]=function(g){m.timeout&&clearTimeout(window["twitterTimeout"+H]);renderTwitters(g,
m)};i(function(g,i){return function(){if(document.getElementById(g.twitterTarget)){var m="http://www.twitter.com/statuses/"+(g.withFriends?"friends_timeline":"user_timeline")+"/"+n+".json?callback=twitterCallback"+i+"&count=20&cb="+Math.random();g.timeout&&(window["twitterTimeout"+i]=setTimeout(function(){g.onTimeoutCancel&&(window["twitterCallback"+i]=function(){});g.onTimeout.call(document.getElementById(g.twitterTarget))},g.timeout*1E3));var l=document.createElement("script");l.setAttribute("src",
m);document.getElementsByTagName("head")[0].appendChild(l)}}}(m,H))};(function(){if(document.addEventListener&&!q.webkit)document.addEventListener("DOMContentLoaded",D,!1);else if(q.msie){document.write("<script id=__ie_init defer=true src=//:><\/script>");var g=document.getElementById("__ie_init");if(g)g.onreadystatechange=function(){this.readyState=="complete"&&(this.parentNode.removeChild(this),D.call())};g=null}else if(q.webkit)var i=setInterval(function(){if(document.readyState=="loaded"||document.readyState==
"complete")clearInterval(i),i=null,D.call()},10)})()}();getTwitters("twitterhead",{id:"idealparts",count:3,enableLinks:!0,ignoreReplies:!0,clearContents:!1,template:'%text% <a href="http://twitter.com/%user_screen_name%/statuses/%id%/"></a>'});
(function(g){g.fn.easySlider=function(i){i=g.extend({prevId:"prevBtn",prevText:"Previous",nextId:"nextBtn",nextText:"Next",controlsShow:!1,controlsBefore:"",controlsAfter:"",controlsFade:!0,firstId:"firstBtn",firstText:"First",firstShow:!1,lastId:"lastBtn",lastText:"Last",lastShow:!1,vertical:!1,speed:800,auto:!1,pause:2E3,continuous:!1},i);this.each(function(){function D(q,A){var m=z;switch(q){case "next":z=m>=x?i.continuous?0:x:z+1;break;case "prev":z=z<=0?i.continuous?x:0:z-1;break;case "first":z=
0;break;case "last":z=x}var m=Math.abs(m-z),o=m*i.speed;i.vertical?(p=z*L*-1,g("ul",n).animate({marginTop:p},o)):(p=z*H*-1,g("ul",n).animate({marginLeft:p},o));!i.continuous&&i.controlsFade&&(z==x?(g("a","#"+i.nextId).hide(),g("a","#"+i.lastId).hide()):(g("a","#"+i.nextId).show(),g("a","#"+i.lastId).show()),z==0?(g("a","#"+i.prevId).hide(),g("a","#"+i.firstId).hide()):(g("a","#"+i.prevId).show(),g("a","#"+i.firstId).show()));A&&clearTimeout(r);i.auto&&q=="next"&&!A&&(r=setTimeout(function(){D("next",
!1)},m*i.speed+i.pause))}var n=g(this),q=g("li",n).length,H=g("li",n).width(),L=g("li",n).height();n.width(H);n.height(L);n.css("overflow","hidden");var x=q-1,z=0;g("ul",n).css("width",q*H);i.vertical||g("li",n).css("float","left");if(i.controlsShow)q=i.controlsBefore,i.firstShow&&(q+='<span id="'+i.firstId+'"><a href="javascript:void(0);">'+i.firstText+"</a></span>"),q+=' <span id="'+i.prevId+'"><a href="javascript:void(0);">'+i.prevText+"</a></span>",q+=' <span id="'+i.nextId+'"><a href="javascript:void(0);">'+
i.nextText+"</a></span>",i.lastShow&&(q+=' <span id="'+i.lastId+'"><a href="javascript:void(0);">'+i.lastText+"</a></span>"),q+=i.controlsAfter,g(n).after(q);g("a","#"+i.nextId).click(function(){D("next",!0)});g("a","#"+i.prevId).click(function(){D("prev",!0)});g("a","#"+i.firstId).click(function(){D("first",!0)});g("a","#"+i.lastId).click(function(){D("last",!0)});var r;i.auto&&(r=setTimeout(function(){D("next",!1)},i.pause));!i.continuous&&i.controlsFade&&(g("a","#"+i.prevId).hide(),g("a","#"+i.firstId).hide())})}})(jQuery);
$(document).ready(function(){$("#slider").easySlider({auto:!0,continuous:!0,pause:7E3,speed:500})});$(document).ready(function(){slideShow(8E3)});
function slideShow(g){$("ul.slideshow").append('<li id="slideshow-caption" class="caption"><div class="slideshow-caption-container"><h3></h3><p></p></div></li>');$("ul.slideshow li").css({opacity:0});$("ul.slideshow li:first").css({opacity:1});$("#slideshow-caption h3").html($("ul.slideshow a:first").find("img").attr("title"));$("#slideshow-caption p").html($("ul.slideshow a:first").find("img").attr("alt"));$("#slideshow-caption").css({opacity:1,left:0,top:0});var i=setInterval("gallery()",g);$("ul.slideshow").hover(function(){clearInterval(i)},
function(){i=setInterval("gallery()",g)})}
function gallery(){var g=$("ul.slideshow li.show")?$("ul.slideshow li.show"):$("#ul.slideshow li:first"),i=g.next().length?g.next().attr("id")=="slideshow-caption"?$("ul.slideshow li:first"):g.next():$("ul.slideshow li:first"),D=i.find("img").attr("title"),n=i.find("img").attr("alt");i.css({opacity:0}).addClass("show").animate({opacity:1},2E3);$("#slideshow-caption").animate({left:-940},1E3,function(){$("#slideshow-caption h3").html(D);$("#slideshow-caption p").html(n);$("#slideshow-caption").animate({left:0,
top:0},1E3)});g.animate({opacity:0},0).removeClass("show")}
$(document).ready(function(){$(".boxgrid.slidedown").hover(function(){$(".cover",this).stop().animate({top:"-260px"},{queue:!1,duration:300})},function(){$(".cover",this).stop().animate({top:"0px"},{queue:!1,duration:300})});$(".boxgrid.slideright").hover(function(){$(".cover",this).stop().animate({left:"325px"},{queue:!1,duration:300})},function(){$(".cover",this).stop().animate({left:"0px"},{queue:!1,duration:300})});$(".boxgrid.thecombo").hover(function(){$(".cover",this).stop().animate({top:"125px",
left:"0"},{queue:!1,duration:500})},function(){$(".cover",this).stop().animate({top:"0px",left:"0px"},{queue:!1,duration:500})});$(".boxgrid.peek").hover(function(){$(".cover",this).stop().animate({top:"90px"},{queue:!1,duration:160})},function(){$(".cover",this).stop().animate({top:"0px"},{queue:!1,duration:160})});$(".boxgrid.captionfull").hover(function(){$(".cover",this).stop().animate({top:"160px"},{queue:!1,duration:160})},function(){$(".cover",this).stop().animate({top:"260px"},{queue:!1,duration:160})});
$(".boxgrid.caption").hover(function(){$(".cover",this).stop().animate({top:"160px"},{queue:!1,duration:160})},function(){$(".cover",this).stop().animate({top:"220px"},{queue:!1,duration:160})})});
(function(g){g.fn.hoverIntent=function(i,D){var n={sensitivity:7,interval:100,timeout:0},n=g.extend(n,D?{over:i,out:D}:i),q,H,L,x,z=function(g){q=g.pageX;H=g.pageY},r=function(i,m){m.hoverIntent_t=clearTimeout(m.hoverIntent_t);if(Math.abs(L-q)+Math.abs(x-H)<n.sensitivity)return g(m).unbind("mousemove",z),m.hoverIntent_s=1,n.over.apply(m,[i]);else L=q,x=H,m.hoverIntent_t=setTimeout(function(){r(i,m)},n.interval)},F=function(i){for(var m=(i.type=="mouseover"?i.fromElement:i.toElement)||i.relatedTarget;m&&
m!=this;)try{m=m.parentNode}catch(o){m=this}if(m==this)return!1;var q=jQuery.extend({},i),y=this;if(y.hoverIntent_t)y.hoverIntent_t=clearTimeout(y.hoverIntent_t);if(i.type=="mouseover"){if(L=q.pageX,x=q.pageY,g(y).bind("mousemove",z),y.hoverIntent_s!=1)y.hoverIntent_t=setTimeout(function(){r(q,y)},n.interval)}else if(g(y).unbind("mousemove",z),y.hoverIntent_s==1)y.hoverIntent_t=setTimeout(function(){y.hoverIntent_t=clearTimeout(y.hoverIntent_t);y.hoverIntent_s=0;n.out.apply(y,[q])},n.timeout)};return this.mouseover(F).mouseout(F)}})(jQuery);
(function(g,i,D){function n(c,f,l){l=i.createElement("div");if(c)l.id=m+c;l.style.cssText=f||"";return g(l)}function q(c,f){return Math.round((/%/.test(c)?(f==="x"?K.width():K.height())/100:1)*parseInt(c,10))}function H(c){return f.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(c)}function L(c){f=g.extend({},g.data(I,A));for(c in f)g.isFunction(f[c])&&c.substring(0,2)!=="on"&&(f[c]=f[c].call(I));f.rel=f.rel||I.rel||"nofollow";f.href=f.href||g(I).attr("href");f.title=f.title||I.title;
if(typeof f.href==="string")f.href=g.trim(f.href)}function x(c,f){f&&f.call(I);g.event.trigger(c)}function z(){var g,i=m+"Slideshow_",n="click."+m,q,o;f.slideshow&&E[1]?(q=function(){ca.text(f.slideshowStop).unbind(n).bind(l,function(){if(B<E.length-1||f.loop)g=setTimeout(u.next,f.slideshowSpeed)}).bind(y,function(){clearTimeout(g)}).one(n+" "+c,o);G.removeClass(i+"off").addClass(i+"on");g=setTimeout(u.next,f.slideshowSpeed)},o=function(){clearTimeout(g);ca.text(f.slideshowStart).unbind([l,y,c,n].join(" ")).one(n,
q);G.removeClass(i+"on").addClass(i+"off")},f.slideshowAuto?q():o()):G.removeClass(i+"off "+i+"on")}function r(c){if(!ga){I=c;L();E=g(I);B=0;f.rel!=="nofollow"&&(E=g("."+o).filter(function(){return(g.data(this,A).rel||this.rel)===f.rel}),B=E.index(I),B===-1&&(E=E.add(I),B=E.length-1));if(!Q){Q=fa=!0;G.show();if(f.returnFocus)try{I.blur(),g(I).one(sa,function(){try{this.focus()}catch(c){}})}catch(i){}S.css({opacity:+f.opacity,cursor:f.overlayClose?"pointer":"auto"}).show();f.w=q(f.initialWidth,"x");
f.h=q(f.initialHeight,"y");u.position();W&&K.bind("resize."+ja+" scroll."+ja,function(){S.css({width:K.width(),height:K.height(),top:K.scrollTop(),left:K.scrollLeft()})}).trigger("resize."+ja);x(pa,f.onOpen);ua.add(la).hide();ta.html(f.close).show()}u.load(!0)}}var F={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,
rel:!1,opacity:0.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:!1},A="colorbox",m="cbox",o=m+"Element",pa=m+"_open",y=m+"_load",l=m+"_complete",c=m+"_cleanup",
sa=m+"_closed",ha=m+"_purge",V=g.browser.msie&&!g.support.opacity,W=V&&g.browser.version<7,ja=m+"_IE6",S,G,X,N,ka,Z,ea,oa,E,K,J,aa,ba,la,Y,ca,T,da,ta,ua,f,R,U,P,O,I,B,C,Q,fa,ga,ma,xa,u;u=g.fn[A]=g[A]=function(c,f){var i=this,c=c||{};if(!i[0]){if(i.selector)return i;i=g("<a/>");c.open=!0}if(f)c.onComplete=f;i.each(function(){g.data(this,A,g.extend({},g.data(this,A)||F,c));g(this).addClass(o)});(g.isFunction(c.open)&&c.open.call(i)||c.open)&&r(i[0]);return i};u.init=function(){K=g(D);G=n().attr({id:A,
"class":V?m+(W?"IE6":"IE"):""});S=n("Overlay",W?"position:absolute":"").hide();X=n("Wrapper");N=n("Content").append(J=n("LoadedContent","width:0; height:0; overflow:hidden"),ba=n("LoadingOverlay").add(n("LoadingGraphic")),la=n("Title"),Y=n("Current"),T=n("Next"),da=n("Previous"),ca=n("Slideshow").bind(pa,z),ta=n("Close"));X.append(n().append(n("TopLeft"),ka=n("TopCenter"),n("TopRight")),n(!1,"clear:left").append(Z=n("MiddleLeft"),N,ea=n("MiddleRight")),n(!1,"clear:left").append(n("BottomLeft"),oa=
n("BottomCenter"),n("BottomRight"))).children().children().css({"float":"left"});aa=n(!1,"position:absolute; width:9999px; visibility:hidden; display:none");g("body").prepend(S,G.append(X,aa));N.children().hover(function(){g(this).addClass("hover")},function(){g(this).removeClass("hover")}).addClass("hover");R=ka.height()+oa.height()+N.outerHeight(!0)-N.height();U=Z.width()+ea.width()+N.outerWidth(!0)-N.width();P=J.outerHeight(!0);O=J.outerWidth(!0);G.css({"padding-bottom":R,"padding-right":U}).hide();
T.click(function(){u.next()});da.click(function(){u.prev()});ta.click(function(){u.close()});ua=T.add(da).add(Y).add(ca);N.children().removeClass("hover");S.click(function(){f.overlayClose&&u.close()});g(i).bind("keydown."+m,function(c){var g=c.keyCode;Q&&f.escKey&&g===27&&(c.preventDefault(),u.close());Q&&f.arrowKey&&E[1]&&(g===37?(c.preventDefault(),da.click()):g===39&&(c.preventDefault(),T.click()))})};u.remove=function(){G.add(S).remove();g("."+o).removeData(A).removeClass(o)};u.position=function(c,
g){function l(c){ka[0].style.width=oa[0].style.width=N[0].style.width=c.style.width;ba[0].style.height=ba[1].style.height=N[0].style.height=Z[0].style.height=ea[0].style.height=c.style.height}var n=0,o=0;K.unbind("resize."+m);G.hide();f.fixed&&!W?G.css({position:"fixed"}):(n=K.scrollTop(),o=K.scrollLeft(),G.css({position:"absolute"}));o+=f.right!==!1?Math.max(K.width()-f.w-O-U-q(f.right,"x"),0):f.left!==!1?q(f.left,"x"):Math.round(Math.max(K.width()-f.w-O-U,0)/2);n+=f.bottom!==!1?Math.max(i.documentElement.clientHeight-
f.h-P-R-q(f.bottom,"y"),0):f.top!==!1?q(f.top,"y"):Math.round(Math.max(i.documentElement.clientHeight-f.h-P-R,0)/2);G.show();c=G.width()===f.w+O&&G.height()===f.h+P?0:c||0;X[0].style.width=X[0].style.height="9999px";G.dequeue().animate({width:f.w+O,height:f.h+P,top:n,left:o},{duration:c,complete:function(){l(this);fa=!1;X[0].style.width=f.w+O+U+"px";X[0].style.height=f.h+P+R+"px";g&&g();setTimeout(function(){K.bind("resize."+m,u.position)},1)},step:function(){l(this)}})};u.resize=function(c){if(Q){c=
c||{};if(c.width)f.w=q(c.width,"x")-O-U;if(c.innerWidth)f.w=q(c.innerWidth,"x");J.css({width:f.w});if(c.height)f.h=q(c.height,"y")-P-R;if(c.innerHeight)f.h=q(c.innerHeight,"y");if(!c.innerHeight&&!c.height)c=J.wrapInner("<div style='overflow:auto'></div>").children(),f.h=c.height(),c.replaceWith(c.children());J.css({height:f.h});u.position(f.transition==="none"?0:f.speed)}};u.prep=function(i){if(Q){var o,q=f.transition==="none"?0:f.speed;J.remove();J=n("LoadedContent").append(i);J.hide().appendTo(aa.show()).css({width:function(){f.w=
f.w||J.width();f.w=f.mw&&f.mw<f.w?f.mw:f.w;return f.w}(),overflow:f.scrolling?"auto":"hidden"}).css({height:function(){f.h=f.h||J.height();f.h=f.mh&&f.mh<f.h?f.mh:f.h;return f.h}()}).prependTo(N);aa.hide();g(C).css({"float":"none"});if(W)g("select").not(G.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(c,function(){this.style.visibility="inherit"});o=function(){function c(){V&&G[0].style.removeAttribute("filter")}var i,n,o,v;n=E.length;var r,
u;if(Q){u=function(){clearTimeout(xa);ba.hide();x(l,f.onComplete)};V&&C&&J.fadeIn(100);la.html(f.title).add(J).show();if(n>1){if(typeof f.current==="string"&&Y.html(f.current.replace("{current}",B+1).replace("{total}",n)).show(),T[f.loop||B<n-1?"show":"hide"]().html(f.next),da[f.loop||B?"show":"hide"]().html(f.previous),i=B?E[B-1]:E[n-1],o=B<n-1?E[B+1]:E[0],f.slideshow&&ca.show(),f.preloading){v=g.data(o,A).href||o.href;n=g.data(i,A).href||i.href;v=g.isFunction(v)?v.call(o):v;n=g.isFunction(n)?n.call(i):
n;if(H(v))g("<img/>")[0].src=v;if(H(n))g("<img/>")[0].src=n}}else ua.hide();if(f.iframe){r=g("<iframe/>").addClass(m+"Iframe")[0];if(f.fastIframe)u();else g(r).one("load",u);r.name=m+ +new Date;r.src=f.href;if(!f.scrolling)r.scrolling="no";if(V)r.frameBorder=0,r.allowTransparency="true";g(r).appendTo(J).one(ha,function(){r.src="//about:blank"})}else u();f.transition==="fade"?G.fadeTo(q,1,c):c()}};f.transition==="fade"?G.fadeTo(q,0,function(){u.position(0,o)}):u.position(q,o)}};u.load=function(c){var i,
l,o=u.prep;fa=!0;C=!1;I=E[B];c||L();x(ha);x(y,f.onLoad);f.h=f.height?q(f.height,"y")-P-R:f.innerHeight&&q(f.innerHeight,"y");f.w=f.width?q(f.width,"x")-O-U:f.innerWidth&&q(f.innerWidth,"x");f.mw=f.w;f.mh=f.h;if(f.maxWidth)f.mw=q(f.maxWidth,"x")-O-U,f.mw=f.w&&f.w<f.mw?f.w:f.mw;if(f.maxHeight)f.mh=q(f.maxHeight,"y")-P-R,f.mh=f.h&&f.h<f.mh?f.h:f.mh;i=f.href;xa=setTimeout(function(){ba.show()},100);f.inline?(n().hide().insertBefore(g(i)[0]).one(ha,function(){g(this).replaceWith(J.children())}),o(g(i))):
f.iframe?o(" "):f.html?o(f.html):H(i)?(g(C=new Image).addClass(m+"Photo").error(function(){f.title=!1;o(n("Error").text("This image could not be loaded"))}).load(function(){var c;C.onload=null;f.scalePhotos&&(l=function(){C.height-=C.height*c;C.width-=C.width*c},f.mw&&C.width>f.mw&&(c=(C.width-f.mw)/C.width,l()),f.mh&&C.height>f.mh&&(c=(C.height-f.mh)/C.height,l()));if(f.h)C.style.marginTop=Math.max(f.h-C.height,0)/2+"px";if(E[1]&&(B<E.length-1||f.loop))C.style.cursor="pointer",C.onclick=function(){u.next()};
if(V)C.style.msInterpolationMode="bicubic";setTimeout(function(){o(C)},1)}),setTimeout(function(){C.src=i},1)):i&&aa.load(i,f.data,function(c,f,i){o(f==="error"?n("Error").text("Request unsuccessful: "+i.statusText):g(this).contents())})};u.next=function(){if(!fa&&E[1]&&(B<E.length-1||f.loop))B=B<E.length-1?B+1:0,u.load()};u.prev=function(){if(!fa&&E[1]&&(B||f.loop))B=B?B-1:E.length-1,u.load()};u.close=function(){Q&&!ga&&(ga=!0,Q=!1,x(c,f.onCleanup),K.unbind("."+m+" ."+ja),S.fadeTo(200,0),G.stop().fadeTo(300,
0,function(){G.add(S).css({opacity:1,cursor:"auto"}).hide();x(ha);J.remove();setTimeout(function(){ga=!1;x(sa,f.onClosed)},1)}))};u.element=function(){return g(I)};u.settings=F;ma=function(c){c.button!==0&&typeof c.button!=="undefined"||c.ctrlKey||c.shiftKey||c.altKey||(c.preventDefault(),r(this))};g.fn.delegate?g(i).delegate("."+o,"click",ma):g("."+o).live("click",ma);g(u.init)})(jQuery,document,this);$(document).ready(function(){$("a[rel='example3']").colorbox({transition:"none",height:"90%"})});
