(function(){function r(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function E(){return+new Date}function L(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,true),10)||0}function R(){return false}function K(){return true}function v(a){var b=RegExp("(^|\\.)"+a.type+"(\\.|$)"),d=true,f=[];c.each(c.data(this,"events").live||[],function(i,k){if(b.test(k.type))(i=c(a.target).closest(k.data)[0])&&f.push({elem:i,
fn:k})});f.sort(function(i,k){return c.data(i.elem,"closest")-c.data(k.elem,"closest")});c.each(f,function(){if(this.fn.call(this.elem,a,this.fn.data)===false)return d=false});return d}function T(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function Y(){if(!aa){aa=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);c.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);c.ready()}});document.documentElement.doScroll&&y==y.top&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}c.ready()}}()}c.event.add(y,"load",c.ready)}}function O(a,b){var d={};c.each(V.concat.apply([],V.slice(0,b)),function(){d[this]=a});return d}var y=this,w,P=y.jQuery,F=y.$,c=y.jQuery=y.$=function(a,b){return new c.fn.init(a,
b)},J=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ba=/^.[^:#\[\.,]*$/;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var d=J.exec(a);if(d&&(d[1]||!b))if(d[1])a=c.clean([d[1]],b);else{if((b=document.getElementById(d[3]))&&b.id!=d[3])return c().find(a);d=c(b||[]);d.context=document;d.selector=a;return d}else return c(b).find(a)}else if(c.isFunction(a))return c(document).ready(a);if(a.selector&&a.context){this.selector=
a.selector;this.context=a.context}return this.setArray(c.isArray(a)?a:c.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===w?Array.prototype.slice.call(this):this[a]},pushStack:function(a,b,d){a=c(a);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},
each:function(a,b){return c.each(this,a,b)},index:function(a){return c.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,b,d){var f=a;if(typeof a==="string")if(b===w)return this[0]&&c[d||"attr"](this[0],a);else{f={};f[a]=b}return this.each(function(i){for(a in f)c.attr(d?this.style:this,a,c.prop(this,f[a],d,i,a))})},css:function(a,b){if((a=="width"||a=="height")&&parseFloat(b)<0)b=w;return this.attr(a,b,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&
this[0].ownerDocument||document).createTextNode(a));var b="";c.each(a||this,function(){c.each(this.childNodes,function(){if(this.nodeType!=8)b+=this.nodeType!=1?this.nodeValue:c.fn.text([this])})});return b},wrapAll:function(a){if(this[0]){a=c(a,this[0].ownerDocument).clone();this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var b=this;b.firstChild;)b=b.firstChild;return b}).append(this)}return this},wrapInner:function(a){return this.each(function(){c(this).contents().wrapAll(a)})},
wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,
this.nextSibling)})},end:function(){return this.prevObject||c([])},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length===1){var b=this.pushStack([],"find",a);b.length=0;c.find(a,this[0],b);return b}else return this.pushStack(c.unique(c.map(this,function(d){return c.find(a,d)})),"find",a)},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var i=this.outerHTML;if(!i){i=this.ownerDocument.createElement("div");i.appendChild(this.cloneNode(true));
i=i.innerHTML}return c.clean([i.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(a===true){var d=this.find("*").andSelf(),f=0;b.find("*").andSelf().each(function(){if(this.nodeName===d[f].nodeName){var i=c.data(d[f],"events");for(var k in i)for(var h in i[k])c.event.add(this,k,i[k][h],i[k][h].data);f++}})}return b},filter:function(a){return this.pushStack(c.isFunction(a)&&c.grep(this,function(b,d){return a.call(b,d)})||c.multiFilter(a,c.grep(this,
function(b){return b.nodeType===1})),"filter",a)},closest:function(a){var b=c.expr.match.POS.test(a)?c(a):null,d=0;return this.map(function(){for(var f=this;f&&f.ownerDocument;){if(b?b.index(f)>-1:c(f).is(a)){c.data(f,"closest",d);return f}f=f.parentNode;d++}})},not:function(a){if(typeof a==="string")if(ba.test(a))return this.pushStack(c.multiFilter(a,this,true),"not",a);else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==w&&!a.nodeType;return this.filter(function(){return b?c.inArray(this,
a)<0:this!=a})},add:function(a){return this.pushStack(c.unique(c.merge(this.get(),typeof a==="string"?c(a):c.makeArray(a))))},is:function(a){return!!a&&c.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],i=b.options;b=b.type=="select-one";if(d<0)return null;var k=b?d:0;for(d=b?d+1:i.length;k<
d;k++){var h=i[k];if(h.selected){a=c(h).val();if(b)return a;f.push(a)}}return f}return(b.value||"").replace(/\r/g,"")}return w}if(typeof a==="number")a+="";return this.each(function(){if(this.nodeType==1)if(c.isArray(a)&&/radio|checkbox/.test(this.type))this.checked=c.inArray(this.value,a)>=0||c.inArray(this.name,a)>=0;else if(c.nodeName(this,"select")){var m=c.makeArray(a);c("option",this).each(function(){this.selected=c.inArray(this.value,m)>=0||c.inArray(this.text,m)>=0});if(!m.length)this.selectedIndex=
-1}else this.value=a})},html:function(a){return a===w?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(a,b,d){function f(u,C){return b&&c.nodeName(u,"table")&&c.nodeName(C,"tr")?u.getElementsByTagName("tbody")[0]||u.appendChild(u.ownerDocument.createElement("tbody")):u}if(this[0]){var i=(this[0].ownerDocument||this[0]).createDocumentFragment();a=c.clean(a,this[0].ownerDocument||this[0],i);var k=i.firstChild;if(k)for(var h=0,m=this.length;h<m;h++)d.call(f(this[h],k),this.length>1||h>0?i.cloneNode(true):i);a&&c.each(a,r)}return this}};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=
arguments[0]||{},b=1,d=arguments.length,f=false,i;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d==b){a=this;--b}for(;b<d;b++)if((i=arguments[b])!=null)for(var k in i){var h=a[k],m=i[k];if(a!==m)if(f&&m&&typeof m==="object"&&!m.nodeType)a[k]=c.extend(f,h||(m.length!=null?[]:{}),m);else if(m!==w)a[k]=m}return a};var ca=/z-?index|font-?weight|opacity|zoom|line-?height/i,Z=document.defaultView||{},$=Object.prototype.toString;c.extend({noConflict:function(a){y.$=
F;if(a)y.jQuery=P;return c},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&c.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,d=document.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(document.createTextNode(a));
else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(a,b,d){var f,i=0,k=a.length;if(d)if(k===w)for(f in a){if(b.apply(a[f],d)===false)break}else for(;i<k;){if(b.apply(a[i++],d)===false)break}else if(k===w)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];i<k&&b.call(d,i,d)!==false;d=a[++i]);return a},prop:function(a,b,d,f,i){if(c.isFunction(b))b=b.call(a,f);return typeof b===
"number"&&d=="curCSS"&&!ca.test(i)?b+"px":b},className:{add:function(a,b){c.each((b||"").split(/\s+/),function(d,f){if(a.nodeType==1&&!c.className.has(a.className,f))a.className+=(a.className?" ":"")+f})},remove:function(a,b){if(a.nodeType==1)a.className=b!==w?c.grep(a.className.split(/\s+/),function(d){return!c.className.has(b,d)}).join(" "):""},has:function(a,b){return a&&c.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,b,d){var f={};for(var i in b){f[i]=a.style[i];a.style[i]=
b[i]}d.call(a);for(i in b)a.style[i]=f[i]},css:function(a,b,d,f){if(b=="width"||b=="height"){var i;d={position:"absolute",visibility:"hidden",display:"block"};var k=b=="width"?["Left","Right"]:["Top","Bottom"];function h(){i=b=="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(k,function(){f||(i-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")i+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else i-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?
h():c.swap(a,d,h);return Math.max(0,Math.round(i))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,i=a.style;if(b=="opacity"&&!c.support.opacity){f=c.attr(i,"opacity");return f==""?"1":f}if(b.match(/float/i))b=U;if(!d&&i&&i[b])f=i[b];else if(Z.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if(a=Z.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b=="opacity"&&f=="")f="1"}else if(a.currentStyle){f=b.replace(/\-(\w)/g,function(k,h){return h.toUpperCase()});
f=a.currentStyle[b]||a.currentStyle[f];if(!/^\d+(px)?$/i.test(f)&&/^\d/.test(f)){b=i.left;d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;i.left=f||0;f=i.pixelLeft+"px";i.left=b;a.runtimeStyle.left=d}}return f},clean:function(a,b,d){b=b||document;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;if(!d&&a.length===1&&typeof a[0]==="string"){var f=/^<(\w+)\s*\/?>$/.exec(a[0]);if(f)return[b.createElement(f[1])]}var i=[];f=[];var k=b.createElement("div");
c.each(a,function(h,m){if(typeof m==="number")m+="";if(m){if(typeof m==="string"){m=m.replace(/(<(\w+)[^>]*?)\/>/g,function(z,q,x){return x.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?z:q+"></"+x+">"});h=m.replace(/^\s+/,"").substring(0,10).toLowerCase();var u=!h.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!h.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||h.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!h.indexOf("<tr")&&[2,"<table><tbody>",
"</tbody></table>"]||(!h.indexOf("<td")||!h.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!h.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!c.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(k.innerHTML=u[1]+m+u[2];u[0]--;)k=k.lastChild;if(!c.support.tbody){var C=/<tbody/i.test(m);h=!h.indexOf("<table")&&!C?k.firstChild&&k.firstChild.childNodes:u[1]=="<table>"&&!C?k.childNodes:[];for(u=h.length-1;u>=0;--u)c.nodeName(h[u],"tbody")&&
!h[u].childNodes.length&&h[u].parentNode.removeChild(h[u])}!c.support.leadingWhitespace&&/^\s/.test(m)&&k.insertBefore(b.createTextNode(m.match(/^\s*/)[0]),k.firstChild);m=c.makeArray(k.childNodes)}if(m.nodeType)i.push(m);else i=c.merge(i,m)}});if(d){for(a=0;i[a];a++)if(c.nodeName(i[a],"script")&&(!i[a].type||i[a].type.toLowerCase()==="text/javascript"))f.push(i[a].parentNode?i[a].parentNode.removeChild(i[a]):i[a]);else{i[a].nodeType===1&&i.splice.apply(i,[a+1,0].concat(c.makeArray(i[a].getElementsByTagName("script"))));
d.appendChild(i[a])}return f}return i},attr:function(a,b,d){if(!a||a.nodeType==3||a.nodeType==8)return w;var f=!c.isXMLDoc(a),i=d!==w;b=f&&c.props[b]||b;if(a.tagName){var k=/href|src|style/.test(b);if(b in a&&f&&!k){if(i){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b=="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:a.nodeName.match(/(button|input|object|select|textarea)/i)?
0:a.nodeName.match(/^(a|area)$/i)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b=="style")return c.attr(a.style,"cssText",d);i&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&k?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}if(!c.support.opacity&&b=="opacity"){if(i){a.zoom=1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(d)+""=="NaN"?"":"alpha(opacity="+d*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/
100+"":""}b=b.replace(/-([a-z])/ig,function(h,m){return m.toUpperCase()});if(i)a[b]=d;return a[b]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var b=[];if(a!=null){var d=a.length;if(d==null||typeof a==="string"||c.isFunction(a)||a.setInterval)b[0]=a;else for(;d;)b[--d]=a[d]}return b},inArray:function(a,b){for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=0,f,i=a.length;if(c.support.getAll)for(;(f=b[d++])!=null;)a[i++]=f;else for(;(f=
b[d++])!=null;)if(f.nodeType!=8)a[i++]=f;return a},unique:function(a){var b=[],d={};try{for(var f=0,i=a.length;f<i;f++){var k=c.data(a[f]);if(!d[k]){d[k]=true;b.push(a[f])}}}catch(h){b=a}return b},grep:function(a,b,d){for(var f=[],i=0,k=a.length;i<k;i++)!d!=!b(a[i],i)&&f.push(a[i]);return f},map:function(a,b){for(var d=[],f=0,i=a.length;f<i;f++){var k=b(a[f],f);if(k!=null)d[d.length]=k}return d.concat.apply([],d)}});var A=navigator.userAgent.toLowerCase();c.browser={version:(A.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||
[0,"0"])[1],safari:/webkit/.test(A),opera:/opera/.test(A),msie:/msie/.test(A)&&!/opera/.test(A),mozilla:/mozilla/.test(A)&&!/(compatible|webkit)/.test(A)};c.each({parent:function(a){return a.parentNode},parents:function(a){return c.dir(a,"parentNode")},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d){var f=c.map(this,b);if(d&&typeof d=="string")f=c.multiFilter(d,f);return this.pushStack(c.unique(f),a,d)}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){for(var f=[],i=c(d),k=0,h=i.length;k<
h;k++){var m=(k>0?this.clone(true):this).get();c.fn[b].apply(c(i[k]),m);f=f.concat(m)}return this.pushStack(f,a,d)}});c.each({removeAttr:function(a){c.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){c.className.add(this,a)},removeClass:function(a){c.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean")b=!c.className.has(this,a);c.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||c.filter(a,[this]).length){c("*",this).add([this]).each(function(){c.event.remove(this);
c.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(c(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});var D="jQuery"+E(),H=0,W={};c.extend({cache:{},data:function(a,b,d){a=a==y?W:a;var f=a[D];f||(f=a[D]=++H);if(b&&!c.cache[f])c.cache[f]={};if(d!==w)c.cache[f][b]=d;return b?c.cache[f][b]:f},removeData:function(a,b){a=a==y?W:a;var d=a[D];if(b){if(c.cache[d]){delete c.cache[d][b];
b="";for(b in c.cache[d])break;b||c.removeData(a)}}else{try{delete a[D]}catch(f){a.removeAttribute&&a.removeAttribute(D)}delete c.cache[d]}},queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else d&&f.push(d)}return f},dequeue:function(a,b){var d=c.queue(a,b),f=d.shift();if(!b||b==="fx")f=d[0];f!==w&&f.call(a)}});c.fn.extend({data:function(a,b){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+
"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})},queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a=="fx"&&d.length==1&&d[0].call(this)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
a)})}});(function(){function a(e,g,j,l,n,o){n=e=="previousSibling"&&!o;for(var s=0,G=l.length;s<G;s++){var t=l[s];if(t){if(n&&t.nodeType===1){t.sizcache=j;t.sizset=s}t=t[e];for(var I=false;t;){if(t.sizcache===j){I=l[t.sizset];break}if(t.nodeType===1&&!o){t.sizcache=j;t.sizset=s}if(t.nodeName===g){I=t;break}t=t[e]}l[s]=I}}}function b(e,g,j,l,n,o){n=e=="previousSibling"&&!o;for(var s=0,G=l.length;s<G;s++){var t=l[s];if(t){if(n&&t.nodeType===1){t.sizcache=j;t.sizset=s}t=t[e];for(var I=false;t;){if(t.sizcache===
j){I=l[t.sizset];break}if(t.nodeType===1){if(!o){t.sizcache=j;t.sizset=s}if(typeof g!=="string"){if(t===g){I=true;break}}else if(k.filter(g,[t]).length>0){I=t;break}}t=t[e]}l[s]=I}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,f=0,i=Object.prototype.toString,k=function(e,g,j,l){j=j||[];g=g||document;if(g.nodeType!==1&&g.nodeType!==9)return[];if(!e||typeof e!=="string")return j;var n=[],o,s,G,t=true;for(d.lastIndex=0;(o=
d.exec(e))!==null;){n.push(o[1]);if(o[2]){G=RegExp.rightContext;break}}if(n.length>1&&m.exec(e))if(n.length===2&&h.relative[n[0]])o=B(n[0]+n[1],g);else for(o=h.relative[n[0]]?[g]:k(n.shift(),g);n.length;){e=n.shift();if(h.relative[e])e+=n.shift();o=B(e,o)}else{o=l?{expr:n.pop(),set:C(l)}:k.find(n.pop(),n.length===1&&g.parentNode?g.parentNode:g,p(g));o=k.filter(o.expr,o.set);if(n.length>0)s=C(o);else t=false;for(;n.length;){var I=n.pop(),Q=I;if(h.relative[I])Q=n.pop();else I="";if(Q==null)Q=g;h.relative[I](s,
Q,p(g))}}s||(s=o);if(!s)throw"Syntax error, unrecognized expression: "+(I||e);if(i.call(s)==="[object Array]")if(t)if(g.nodeType===1)for(e=0;s[e]!=null;e++){if(s[e]&&(s[e]===true||s[e].nodeType===1&&x(g,s[e])))j.push(o[e])}else for(e=0;s[e]!=null;e++)s[e]&&s[e].nodeType===1&&j.push(o[e]);else j.push.apply(j,s);else C(s,j);if(G){k(G,g,j,l);if(q){hasDuplicate=false;j.sort(q);if(hasDuplicate)for(e=1;e<j.length;e++)j[e]===j[e-1]&&j.splice(e--,1)}}return j};k.matches=function(e,g){return k(e,null,null,
g)};k.find=function(e,g,j){var l,n;if(!e)return[];for(var o=0,s=h.order.length;o<s;o++){var G=h.order[o];if(n=h.match[G].exec(e)){var t=RegExp.leftContext;if(t.substr(t.length-1)!=="\\"){n[1]=(n[1]||"").replace(/\\/g,"");l=h.find[G](n,g,j);if(l!=null){e=e.replace(h.match[G],"");break}}}}l||(l=g.getElementsByTagName("*"));return{set:l,expr:e}};k.filter=function(e,g,j,l){for(var n=e,o=[],s=g,G,t,I=g&&g[0]&&p(g[0]);e&&g.length;){for(var Q in h.filter)if((G=h.match[Q].exec(e))!=null){var ha=h.filter[Q],
da,ea;t=false;if(s==o)o=[];if(h.preFilter[Q])if(G=h.preFilter[Q](G,s,j,o,l,I)){if(G===true)continue}else t=da=true;if(G)for(var fa=0;(ea=s[fa])!=null;fa++)if(ea){da=ha(ea,G,fa,s);var ga=l^!!da;if(j&&da!=null)if(ga)t=true;else s[fa]=false;else if(ga){o.push(ea);t=true}}if(da!==w){j||(s=o);e=e.replace(h.match[Q],"");if(!t)return[];break}}if(e==n)if(t==null)throw"Syntax error, unrecognized expression: "+e;else break;n=e}return s};var h=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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},
relative:{"+":function(e,g,j){var l=typeof g==="string",n=l&&!/\W/.test(g);l=l&&!n;if(n&&!j)g=g.toUpperCase();j=0;n=e.length;for(var o;j<n;j++)if(o=e[j]){for(;(o=o.previousSibling)&&o.nodeType!==1;);e[j]=l||o&&o.nodeName===g?o||false:o===g}l&&k.filter(g,e,true)},">":function(e,g,j){var l=typeof g==="string";if(l&&!/\W/.test(g)){g=j?g:g.toUpperCase();j=0;for(var n=e.length;j<n;j++){var o=e[j];if(o){l=o.parentNode;e[j]=l.nodeName===g?l:false}}}else{j=0;for(n=e.length;j<n;j++)if(o=e[j])e[j]=l?o.parentNode:
o.parentNode===g;l&&k.filter(g,e,true)}},"":function(e,g,j){var l=f++,n=b;if(!g.match(/\W/)){var o=g=j?g:g.toUpperCase();n=a}n("parentNode",g,l,e,o,j)},"~":function(e,g,j){var l=f++,n=b;if(typeof g==="string"&&!g.match(/\W/)){var o=g=j?g:g.toUpperCase();n=a}n("previousSibling",g,l,e,o,j)}},find:{ID:function(e,g,j){if(typeof g.getElementById!=="undefined"&&!j)return(e=g.getElementById(e[1]))?[e]:[]},NAME:function(e,g){if(typeof g.getElementsByName!=="undefined"){var j=[];g=g.getElementsByName(e[1]);
for(var l=0,n=g.length;l<n;l++)g[l].getAttribute("name")===e[1]&&j.push(g[l]);return j.length===0?null:j}},TAG:function(e,g){return g.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,g,j,l,n,o){e=" "+e[1].replace(/\\/g,"")+" ";if(o)return e;o=0;for(var s;(s=g[o])!=null;o++)if(s)if(n^(s.className&&(" "+s.className+" ").indexOf(e)>=0))j||l.push(s);else if(j)g[o]=false;return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(e,g){for(var j=0;g[j]===false;j++);return g[j]&&p(g[j])?
e[1]:e[1].toUpperCase()},CHILD:function(e){if(e[1]=="nth"){var g=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]=="even"&&"2n"||e[2]=="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=g[1]+(g[2]||1)-0;e[3]=g[3]-0}e[0]=f++;return e},ATTR:function(e,g,j,l,n,o){g=e[1].replace(/\\/g,"");if(!o&&h.attrMap[g])e[1]=h.attrMap[g];if(e[2]==="~=")e[4]=" "+e[4]+" ";return e},PSEUDO:function(e,g,j,l,n){if(e[1]==="not")if(e[3].match(d).length>1||/^\w/.test(e[3]))e[3]=k(e[3],null,null,g);else{e=k.filter(e[3],g,j,true^
n);j||l.push.apply(l,e);return false}else if(h.match.POS.test(e[0])||h.match.CHILD.test(e[0]))return true;return e},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){return e.selected===true},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,g,j){return!!k(j[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},
text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toUpperCase()==="BUTTON"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},
setFilters:{first:function(e,g){return g===0},last:function(e,g,j,l){return g===l.length-1},even:function(e,g){return g%2===0},odd:function(e,g){return g%2===1},lt:function(e,g,j){return g<j[3]-0},gt:function(e,g,j){return g>j[3]-0},nth:function(e,g,j){return j[3]-0==g},eq:function(e,g,j){return j[3]-0==g}},filter:{PSEUDO:function(e,g,j,l){var n=g[1],o=h.filters[n];if(o)return o(e,j,g,l);else if(n==="contains")return(e.textContent||e.innerText||"").indexOf(g[3])>=0;else if(n==="not"){g=g[3];j=0;for(l=
g.length;j<l;j++)if(g[j]===e)return false;return true}},CHILD:function(e,g){var j=g[1],l=e;switch(j){case "only":case "first":for(;l=l.previousSibling;)if(l.nodeType===1)return false;if(j=="first")return true;l=e;case "last":for(;l=l.nextSibling;)if(l.nodeType===1)return false;return true;case "nth":j=g[2];var n=g[3];if(j==1&&n==0)return true;g=g[0];var o=e.parentNode;if(o&&(o.sizcache!==g||!e.nodeIndex)){var s=0;for(l=o.firstChild;l;l=l.nextSibling)if(l.nodeType===1)l.nodeIndex=++s;o.sizcache=g}e=
e.nodeIndex-n;return j==0?e==0:e%j==0&&e/j>=0}},ID:function(e,g){return e.nodeType===1&&e.getAttribute("id")===g},TAG:function(e,g){return g==="*"&&e.nodeType===1||e.nodeName===g},CLASS:function(e,g){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(g)>-1},ATTR:function(e,g){var j=g[1];e=h.attrHandle[j]?h.attrHandle[j](e):e[j]!=null?e[j]:e.getAttribute(j);j=e+"";var l=g[2];g=g[4];return e==null?l==="!=":l==="="?j===g:l==="*="?j.indexOf(g)>=0:l==="~="?(" "+j+" ").indexOf(g)>=0:!g?j&&e!==
false:l==="!="?j!=g:l==="^="?j.indexOf(g)===0:l==="$="?j.substr(j.length-g.length)===g:l==="|="?j===g||j.substr(0,g.length+1)===g+"-":false},POS:function(e,g,j,l){var n=h.setFilters[g[2]];if(n)return n(e,j,g,l)}}},m=h.match.POS;for(var u in h.match)h.match[u]=RegExp(h.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);var C=function(e,g){e=Array.prototype.slice.call(e);if(g){g.push.apply(g,e);return g}return e};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(z){C=function(e,
g){g=g||[];if(i.call(e)==="[object Array]")Array.prototype.push.apply(g,e);else if(typeof e.length==="number")for(var j=0,l=e.length;j<l;j++)g.push(e[j]);else for(j=0;e[j];j++)g.push(e[j]);return g}}var q;if(document.documentElement.compareDocumentPosition)q=function(e,g){e=e.compareDocumentPosition(g)&4?-1:e===g?0:1;if(e===0)hasDuplicate=true;return e};else if("sourceIndex"in document.documentElement)q=function(e,g){e=e.sourceIndex-g.sourceIndex;if(e===0)hasDuplicate=true;return e};else if(document.createRange)q=
function(e,g){var j=e.ownerDocument.createRange(),l=g.ownerDocument.createRange();j.selectNode(e);j.collapse(true);l.selectNode(g);l.collapse(true);e=j.compareBoundaryPoints(Range.START_TO_END,l);if(e===0)hasDuplicate=true;return e};(function(){var e=document.createElement("form"),g="script"+(new Date).getTime();e.innerHTML="<input name='"+g+"'/>";var j=document.documentElement;j.insertBefore(e,j.firstChild);if(document.getElementById(g)){h.find.ID=function(l,n,o){if(typeof n.getElementById!=="undefined"&&
!o)return(n=n.getElementById(l[1]))?n.id===l[1]||typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id").nodeValue===l[1]?[n]:w:[]};h.filter.ID=function(l,n){var o=typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id");return l.nodeType===1&&o&&o.nodeValue===n}}j.removeChild(e)})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0)h.find.TAG=function(g,j){j=j.getElementsByTagName(g[1]);if(g[1]==="*"){g=
[];for(var l=0;j[l];l++)j[l].nodeType===1&&g.push(j[l]);j=g}return j};e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#")h.attrHandle.href=function(g){return g.getAttribute("href",2)}})();document.querySelectorAll&&function(){var e=k,g=document.createElement("div");g.innerHTML="<p class='TEST'></p>";if(!(g.querySelectorAll&&g.querySelectorAll(".TEST").length===0)){k=function(j,l,n,o){l=l||document;if(!o&&l.nodeType===
9&&!p(l))try{return C(l.querySelectorAll(j),n)}catch(s){}return e(j,l,n,o)};k.find=e.find;k.filter=e.filter;k.selectors=e.selectors;k.matches=e.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName("e").length!==0){e.lastChild.className="e";if(e.getElementsByClassName("e").length!==1){h.order.splice(1,0,"CLASS");h.find.CLASS=
function(g,j,l){if(typeof j.getElementsByClassName!=="undefined"&&!l)return j.getElementsByClassName(g[1])}}}}();var x=document.compareDocumentPosition?function(e,g){return e.compareDocumentPosition(g)&16}:function(e,g){return e!==g&&(e.contains?e.contains(g):true)},p=function(e){return e.nodeType===9&&e.documentElement.nodeName!=="HTML"||!!e.ownerDocument&&p(e.ownerDocument)},B=function(e,g){var j=[],l="",n;for(g=g.nodeType?[g]:g;n=h.match.PSEUDO.exec(e);){l+=n[0];e=e.replace(h.match.PSEUDO,"")}e=
h.relative[e]?e+"*":e;n=0;for(var o=g.length;n<o;n++)k(e,g[n],j);return k.filter(l,j)};c.find=k;c.filter=k.filter;c.expr=k.selectors;c.expr[":"]=c.expr.filters;k.selectors.filters.hidden=function(e){return e.offsetWidth===0||e.offsetHeight===0};k.selectors.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0};k.selectors.filters.animated=function(e){return c.grep(c.timers,function(g){return e===g.elem}).length};c.multiFilter=function(e,g,j){if(j)e=":not("+e+")";return k.matches(e,
g)};c.dir=function(e,g){var j=[];for(e=e[g];e&&e!=document;){e.nodeType==1&&j.push(e);e=e[g]}return j};c.nth=function(e,g,j){g=g||1;for(var l=0;e;e=e[j])if(e.nodeType==1&&++l==g)break;return e};c.sibling=function(e,g){for(var j=[];e;e=e.nextSibling)e.nodeType==1&&e!=g&&j.push(e);return j}})();c.event={add:function(a,b,d,f){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=y)a=y;if(!d.guid)d.guid=this.guid++;if(f!==w){d=this.proxy(d);d.data=f}var i=c.data(a,"events")||c.data(a,"events",{}),
k=c.data(a,"handle")||c.data(a,"handle",function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(arguments.callee.elem,arguments):w});k.elem=a;c.each(b.split(/\s+/),function(h,m){h=m.split(".");m=h.shift();d.type=h.slice().sort().join(".");var u=i[m];c.event.specialAll[m]&&c.event.specialAll[m].setup.call(a,f,h);if(!u){u=i[m]={};if(!c.event.special[m]||c.event.special[m].setup.call(a,f,h)===false)if(a.addEventListener)a.addEventListener(m,k,false);else a.attachEvent&&a.attachEvent("on"+
m,k)}u[d.guid]=d;c.event.global[m]=true});a=null}},guid:1,global:{},remove:function(a,b,d){if(!(a.nodeType==3||a.nodeType==8)){var f=c.data(a,"events"),i;if(f){if(b===w||typeof b==="string"&&b.charAt(0)==".")for(var k in f)this.remove(a,k+(b||""));else{if(b.type){d=b.handler;b=b.type}c.each(b.split(/\s+/),function(h,m){h=m.split(".");m=h.shift();var u=RegExp("(^|\\.)"+h.slice().sort().join(".*\\.")+"(\\.|$)");if(f[m]){if(d)delete f[m][d.guid];else for(var C in f[m])u.test(f[m][C].type)&&delete f[m][C];
c.event.specialAll[m]&&c.event.specialAll[m].teardown.call(a,h);for(i in f[m])break;if(!i){if(!c.event.special[m]||c.event.special[m].teardown.call(a,h)===false)if(a.removeEventListener)a.removeEventListener(m,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+m,c.data(a,"handle"));i=null;delete f[m]}}})}for(i in f)break;if(!i){if(b=c.data(a,"handle"))b.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,f){var i=a.type||a;if(!f){a=typeof a==="object"?
a[D]?a:c.extend(c.Event(i),a):c.Event(i);if(i.indexOf("!")>=0){a.type=i=i.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[i]&&c.each(c.cache,function(){this.events&&this.events[i]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType==3||d.nodeType==8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;var k=c.data(d,"handle");k&&k.apply(d,b);if((!d[i]||c.nodeName(d,"a")&&i=="click")&&d["on"+i]&&d["on"+i].apply(d,b)===false)a.result=false;if(!f&&
d[i]&&!a.isDefaultPrevented()&&!(c.nodeName(d,"a")&&i=="click")){this.triggered=true;try{d[i]()}catch(h){}}this.triggered=false;if(!a.isPropagationStopped())(d=d.parentNode||d.ownerDocument)&&c.event.trigger(a,b,d,true)},handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||y.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var i in d){var k=d[i];
if(b||f.test(k.type)){a.handler=k;a.data=k.data;k=k.apply(this,arguments);if(k!==w){a.result=k;if(k===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[D])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=document.documentElement;d=document.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:Y,teardown:function(){}}},specialAll:{live:{setup:function(a,b){c.event.add(this,b[0],v)},teardown:function(a){if(a.length){var b=
0,d=RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],v)}}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=E();this[D]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
K;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K;this.stopPropagation()},isDefaultPrevented:R,isPropagationStopped:R,isImmediatePropagationStopped:R};var X=function(a){for(var b=a.relatedTarget;b&&b!=this;)try{b=b.parentNode}catch(d){b=this}if(b!=this){a.type=a.data;c.event.handle.apply(this,arguments)}};c.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){c.event.special[b]=
{setup:function(){c.event.add(this,a,X,b)},teardown:function(){c.event.remove(this,a,X)}}});c.fn.extend({bind:function(a,b,d){return a=="unload"?this.one(a,b,d):this.each(function(){c.event.add(this,a,d||b,d&&b)})},one:function(a,b,d){var f=c.event.proxy(d||b,function(i){c(this).unbind(i,f);return(d||b).apply(this,arguments)});return this.each(function(){c.event.add(this,a,f,d&&b)})},unbind:function(a,b){return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,
b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.event.proxy(a,b[d++]);return this.click(c.event.proxy(a,function(f){this.lastToggle=(this.lastToggle||0)%d;f.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b)},ready:function(a){Y();c.isReady?a.call(document,
c):c.readyList.push(a);return this},live:function(a,b){b=c.event.proxy(b);b.guid+=this.selector+a;c(document).bind(T(a,this.selector),this.selector,b);return this},die:function(a,b){c(document).unbind(T(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.call(document,c)});c.readyList=null}c(document).triggerHandler("ready")}}});var aa=false;c.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)}});c(y).bind("unload",function(){for(var a in c.cache)a!=1&&c.cache[a].handle&&c.event.remove(c.cache[a].handle.elem)});(function(){c.support={};var a=document.documentElement,b=document.createElement("script"),d=document.createElement("div"),f="script"+(new Date).getTime();d.style.display="none";d.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var i=d.getElementsByTagName("*"),k=d.getElementsByTagName("a")[0];if(!(!i||!i.length||!k)){c.support={leadingWhitespace:d.firstChild.nodeType==3,tbody:!d.getElementsByTagName("tbody").length,objectAll:!!d.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:k.style.opacity==="0.5",cssFloat:!!k.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+f+"=1;"))}catch(h){}a.insertBefore(b,a.firstChild);if(y[f]){c.support.scriptEval=true;delete y[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function(){c.support.noCloneEvent=false;d.detachEvent("onclick",arguments.callee)});d.cloneNode(true).fireEvent("onclick")}c(function(){var m=document.createElement("div");m.style.width=m.style.paddingLeft="1px";document.body.appendChild(m);
c.boxModel=c.support.boxModel=m.offsetWidth===2;document.body.removeChild(m).style.display="none"})}})();var U=c.support.cssFloat?"cssFloat":"styleFloat";c.props={"for":"htmlFor","class":"className","float":U,cssFloat:U,styleFloat:U,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};c.fn.extend({_load:c.fn.load,load:function(a,b,d){if(typeof a!=="string")return this._load(a);var f=a.indexOf(" ");if(f>=0){var i=a.slice(f,a.length);a=a.slice(0,
f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b);f="POST"}var k=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(h,m){if(m=="success"||m=="notmodified")k.html(i?c("<div/>").append(h.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(i):h.responseText);d&&k.each(d,[h.responseText,m,h])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});var S=E();c.extend({get:function(a,
b,d,f){if(c.isFunction(b)){d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,
xhr:function(){return y.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){function b(){a.success&&a.success(h,k);a.global&&c.event.trigger("ajaxSuccess",[p,a])}function d(){a.complete&&a.complete(p,k);a.global&&c.event.trigger("ajaxComplete",[p,a]);a.global&&!--c.active&&
c.event.trigger("ajaxStop")}a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));var f,i=/=\?(&|$)/g,k,h,m=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(m=="GET")a.url.match(i)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(i))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(i)||a.url.match(i))){f="jsonp"+
S++;if(a.data)a.data=(a.data+"").replace(i,"="+f+"$1");a.url=a.url.replace(i,"="+f+"$1");a.dataType="script";y[f]=function(l){h=l;b();d();y[f]=w;try{delete y[f]}catch(n){}C&&C.removeChild(z)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&m=="GET"){i=E();var u=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+i+"$2");a.url=u+(u==a.url?(a.url.match(/\?/)?"&":"?")+"_="+i:"")}if(a.data&&m=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!c.active++&&c.event.trigger("ajaxStart");
i=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&m=="GET"&&i&&(i[1]&&i[1]!=location.protocol||i[2]!=location.host)){var C=document.getElementsByTagName("head")[0],z=document.createElement("script");z.src=a.url;if(a.scriptCharset)z.charset=a.scriptCharset;if(!f){var q=false;z.onload=z.onreadystatechange=function(){if(!q&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){q=true;b();d();z.onload=z.onreadystatechange=null;C.removeChild(z)}}}C.appendChild(z);return w}var x=
false,p=a.xhr();a.username?p.open(m,a.url,a.async,a.username,a.password):p.open(m,a.url,a.async);try{a.data&&p.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)p.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");p.setRequestHeader("X-Requested-With","XMLHttpRequest");p.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(B){}if(a.beforeSend&&a.beforeSend(p,a)===false){a.global&&
!--c.active&&c.event.trigger("ajaxStop");p.abort();return false}a.global&&c.event.trigger("ajaxSend",[p,a]);var e=function(l){if(p.readyState==0){if(g){clearInterval(g);g=null;a.global&&!--c.active&&c.event.trigger("ajaxStop")}}else if(!x&&p&&(p.readyState==4||l=="timeout")){x=true;if(g){clearInterval(g);g=null}k=l=="timeout"?"timeout":!c.httpSuccess(p)?"error":a.ifModified&&c.httpNotModified(p,a.url)?"notmodified":"success";if(k=="success")try{h=c.httpData(p,a.dataType,a)}catch(n){k="parsererror"}if(k==
"success"){var o;try{o=p.getResponseHeader("Last-Modified")}catch(s){}if(a.ifModified&&o)c.lastModified[a.url]=o;f||b()}else c.handleError(a,p,k);d();l&&p.abort();if(a.async)p=null}};if(a.async){var g=setInterval(e,13);a.timeout>0&&setTimeout(function(){p&&!x&&e("timeout")},a.timeout)}try{p.send(a.data)}catch(j){c.handleError(a,p,null,j)}a.async||e();return p},handleError:function(a,b,d,f){a.error&&a.error(b,d,f);a.global&&c.event.trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&
location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(a,b){try{var d=a.getResponseHeader("Last-Modified");return a.status==304||d==c.lastModified[b]}catch(f){}return false},httpData:function(a,b,d){var f=a.getResponseHeader("content-type");a=(f=b=="xml"||!b&&f&&f.indexOf("xml")>=0)?a.responseXML:a.responseText;if(f&&a.documentElement.tagName=="parsererror")throw"parsererror";if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a===
"string"){b=="script"&&c.globalEval(a);if(b=="json")a=y.eval("("+a+")")}return a},param:function(a){function b(i,k){d[d.length]=encodeURIComponent(i)+"="+encodeURIComponent(k)}var d=[];if(c.isArray(a)||a.jquery)c.each(a,function(){b(this.name,this.value)});else for(var f in a)c.isArray(a[f])?c.each(a[f],function(){b(f,this)}):b(f,c.isFunction(a[f])?a[f]():a[f]);return d.join("&").replace(/%20/g,"+")}});var N={},M,V=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft",
"marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a)return this.animate(O("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].tagName;var f;if(N[d])f=N[d];else{var i=c("<"+d+" />").appendTo("body");f=i.css("display");if(f==="none")f="block";i.remove();N[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],
"olddisplay")||"";return this}},hide:function(a,b){if(a)return this.animate(O("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";return c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");
c(this)[f?"show":"hide"]()}):this.animate(O("toggle",3),a,b)},fadeTo:function(a,b,d){return this.animate({opacity:b},a,d)},animate:function(a,b,d,f){var i=c.speed(b,d,f);return this[i.queue===false?"each":"queue"](function(){var k=c.extend({},i),h,m=this.nodeType==1&&c(this).is(":hidden"),u=this;for(h in a){if(a[h]=="hide"&&m||a[h]=="show"&&!m)return k.complete.call(this);if((h=="height"||h=="width")&&this.style){k.display=c.css(this,"display");k.overflow=this.style.overflow}}if(k.overflow!=null)this.style.overflow=
"hidden";k.curAnim=c.extend({},a);c.each(a,function(C,z){var q=new c.fx(u,k,C);if(/toggle|show|hide/.test(z))q[z=="toggle"?m?"show":"hide":z](a);else{var x=z.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),p=q.cur(true)||0;if(x){z=parseFloat(x[2]);var B=x[3]||"px";if(B!="px"){u.style[C]=(z||1)+B;p=(z||1)/q.cur(true)*p;u.style[C]=p+B}if(x[1])z=(x[1]=="-="?-1:1)*z+p;q.custom(p,z,B)}else q.custom(p,z,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=
d.length-1;f>=0;f--)if(d[f].elem==this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:O("show",1),slideUp:O("hide",1),slideToggle:O("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:
c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);
if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(k){return i.step(k)}this.startTime=E();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var i=
this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!M)M=setInterval(function(){for(var k=c.timers,h=0;h<k.length;h++)k[h]()||k.splice(h--,1);if(!k.length){clearInterval(M);M=w}},13)},show:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=
E();if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=true;for(var d in this.options.curAnim)if(this.options.curAnim[d]!==true)a=false;if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(c.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)c.attr(this.elem.style,
f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{d=b-this.startTime;this.state=d/this.options.duration;this.pos=c.easing[this.options.easing||(c.easing.swing?"swing":"linear")](this.state,d,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=
null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});c.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return c.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),b=this[0].ownerDocument,d=b.body;b=b.documentElement;return{top:a.top+(self.pageYOffset||c.boxModel&&b.scrollTop||d.scrollTop)-(b.clientTop||d.clientTop||0),left:a.left+(self.pageXOffset||c.boxModel&&b.scrollLeft||d.scrollLeft)-
(b.clientLeft||d.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return c.offset.bodyOffset(this[0]);c.offset.initialized||c.offset.initialize();var a=this[0],b=a.offsetParent,d=a.ownerDocument,f,i=d.documentElement,k=d.body;d=d.defaultView;f=d.getComputedStyle(a,null);for(var h=a.offsetTop,m=a.offsetLeft;(a=a.parentNode)&&a!==k&&a!==i;){f=d.getComputedStyle(a,null);h-=a.scrollTop;m-=a.scrollLeft;if(a===b){h+=a.offsetTop;m+=a.offsetLeft;if(c.offset.doesNotAddBorder&&
!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName))){h+=parseInt(f.borderTopWidth,10)||0;m+=parseInt(f.borderLeftWidth,10)||0}b=a.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"){h+=parseInt(f.borderTopWidth,10)||0;m+=parseInt(f.borderLeftWidth,10)||0}f=f}if(f.position==="relative"||f.position==="static"){h+=k.offsetTop;m+=k.offsetLeft}if(f.position==="fixed"){h+=Math.max(i.scrollTop,k.scrollTop);m+=Math.max(i.scrollLeft,k.scrollLeft)}return{top:h,
left:m}};c.offset={initialize:function(){if(!this.initialized){var a=document.body,b=document.createElement("div"),d,f,i,k=a.style.marginTop;d={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(f in d)b.style[f]=d[f];b.innerHTML='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;i=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=i.offsetTop===5;d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=k;a.removeChild(b);this.initialized=true}},bodyOffset:function(a){c.offset.initialized||c.offset.initialize();
var b=a.offsetTop,d=a.offsetLeft;if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseInt(c.curCSS(a,"marginTop",true),10)||0;d+=parseInt(c.curCSS(a,"marginLeft",true),10)||0}return{top:b,left:d}}};c.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=this.offset(),d=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=L(this,"marginTop");b.left-=L(this,"marginLeft");d.top+=L(a,"borderTopWidth");d.left+=L(a,"borderLeftWidth");a={top:b.top-d.top,left:b.left-
d.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&&c.css(a,"position")=="static";)a=a.offsetParent;return c(a)}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){if(!this[0])return null;return f!==w?this.each(function(){this==y||this==document?y.scrollTo(!a?f:c(y).scrollLeft(),a?f:c(y).scrollTop()):(this[d]=f)}):this[0]==y||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||c.boxModel&&document.documentElement[d]||
document.body[d]:this[0][d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(i){return this[0]?c.css(this[0],d,false,i?"margin":"border"):null};var f=b.toLowerCase();c.fn[f]=function(i){return this[0]==y?document.compatMode=="CSS1Compat"&&document.documentElement["client"+b]||document.body["client"+b]:this[0]==document?Math.max(document.documentElement["client"+b],document.body["scroll"+
b],document.documentElement["scroll"+b],document.body["offset"+b],document.documentElement["offset"+b]):i===w?this.length?c.css(this[0],f):null:this.css(f,typeof i==="string"?i:i+"px")}})})();
eval(function(r,E,L,R,K){for(K=function(v){return(v<E?"":K(parseInt(v/E)))+((v%=E)>35?String.fromCharCode(v+29):v.toString(36))};L--;)if(R[L])r=r.replace(new RegExp("\\b"+K(L)+"\\b","g"),R[L]);return r}("3.X=a(h){h=3.J({v:D,C:D,u:D},h);k(h.v){$.W({t:'V',v:h.v,C:h.C,U:'4',u:a(4){d f=j B(4);k(3.T(h.u))h.u(f)}})}};a B(4){k(4)2.K(4)};B.r={t:'',l:'',c:'',b:'',g:'',K:a(4){k(3('8',4).y==1){2.t='x';d s=j z(4)}H k(3('f',4).y==1){2.t='S';d s=j A(4)}k(s)3.J(2,s)}};a o(){};o.r={c:'',b:'',g:'',i:'',n:''};a A(4){2.q(4)};A.r={q:a(4){d 8=3('f',4).9(0);2.l='1.0';2.c=3(8).5('c:e').6();2.b=3(8).5('b:e').p('I');2.g=3(8).5('R:e').6();2.w=3(8).p('4:Q');2.i=3(8).5('i:e').6();2.m=j G();d f=2;3('P',4).F(a(){d 7=j o();7.c=3(2).5('c').9(0).6();7.b=3(2).5('b').9(0).p('I');7.g=3(2).5('O').9(0).6();7.i=3(2).5('i').9(0).6();7.n=3(2).5('n').9(0).6();f.m.E(7)})}};a z(4){2.q(4)};z.r={q:a(4){k(3('x',4).y==0)2.l='1.0';H 2.l=3('x',4).9(0).p('l');d 8=3('8',4).9(0);2.c=3(8).5('c:e').6();2.b=3(8).5('b:e').6();2.g=3(8).5('g:e').6();2.w=3(8).5('w:e').6();2.i=3(8).5('N:e').6();2.m=j G();d f=2;3('7',4).F(a(){d 7=j o();7.c=3(2).5('c').9(0).6();7.b=3(2).5('b').9(0).6();7.g=3(2).5('g').9(0).6();7.i=3(2).5('M').9(0).6();7.n=3(2).5('L').9(0).6();f.m.E(7)})}};",60,
60,"||this|jQuery|xml|find|text|item|channel|eq|function|link|title|var|first|feed|description|options|updated|new|if|version|items|id|JFeedItem|attr|_parse|prototype|feedClass|type|success|url|language|rss|length|JRss|JAtom|JFeed|data|null|push|each|Array|else|href|extend|parse|guid|pubDate|lastBuildDate|content|entry|lang|subtitle|atom|isFunction|dataType|GET|ajax|getFeed".split("|")));
(function(r){function E(q,x){x=x==="x"?document.documentElement.clientWidth:document.documentElement.clientHeight;return typeof q==="string"?Math.round(q.match(/%/)?x/100*parseInt(q,10):parseInt(q,10)):q}function L(q){return h.photo||q.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function R(){for(var q in h)if(typeof h[q]==="function")h[q]=h[q].call(i)}var K="hover",v,T=!r.support.opacity,Y=T&&!window.XMLHttpRequest,O="cbox_load",y="cbox_complete",w="resize.cbox_resize",P,F,c,J,ba,
ca,Z,$,A,D,H,W,X,aa,U,S,N,M,V,a,b,d,f,i,k,h,m,u,C,z={transition:"elastic",speed:350,width:false,height:false,innerWidth:false,innerHeight:false,initialWidth:"400",initialHeight:"400",maxWidth:false,maxHeight:false,scalePhotos:true,scrolling:true,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:true,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,overlayClose:true,slideshow:false,slideshowAuto:true,
slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",preloadIMG:true};v=r.fn.colorbox=function(q,x){this.length?this.each(function(){var p=r(this).data("colorbox")?r.extend({},r(this).data("colorbox"),q):r.extend({},z,q);r(this).data("colorbox",p).addClass("cboxelement")}):r(this).data("colorbox",r.extend({},z,q));r(this).unbind("click.colorbox").bind("click.colorbox",function(p){i=this;h=r(i).data("colorbox");R();C=x||false;var B=h.rel||i.rel;if(B&&B!=="nofollow"){A=
r(".cboxelement").filter(function(){return(r(this).data("colorbox").rel||this.rel)===B});k=A.index(i);if(k<0){A=A.add(i);k=A.length-1}}else{A=r(i);k=0}if(!m){u=m=true;r().bind("keydown.cbox_close",function(e){if(e.keyCode===27){e.preventDefault();v.close()}}).bind("keydown.cbox_arrows",function(e){if(e.keyCode===37){e.preventDefault();M.click()}else if(e.keyCode===39){e.preventDefault();N.click()}});h.overlayClose&&P.css({cursor:"pointer"}).one("click",v.close);i.blur();r.event.trigger("cbox_open");
V.html(h.close);P.css({opacity:h.opacity}).show();h.w=E(h.initialWidth,"x");h.h=E(h.initialHeight,"y");v.position(0);Y&&D.bind("resize.cboxie6 scroll.cboxie6",function(){P.css({width:D.width(),height:D.height(),top:D.scrollTop(),left:D.scrollLeft()})}).trigger("scroll.cboxie6")}v.slideshow();v.load();p.preventDefault()});q&&q.open&&r(this).triggerHandler("click.colorbox");return this};v.init=function(){function q(x){return r('<div id="cbox'+x+'"/>')}D=r(window);F=r('<div id="colorbox"/>');P=q("Overlay").hide();
c=q("Wrapper");J=q("Content").append(H=q("LoadedContent").css({width:0,height:0}),W=q("LoadingOverlay"),X=q("LoadingGraphic"),aa=q("Title"),U=q("Current"),S=q("Slideshow"),N=q("Next"),M=q("Previous"),V=q("Close"));c.append(r("<div/>").append(q("TopLeft"),ba=q("TopCenter"),q("TopRight")),r("<div/>").append(ca=q("MiddleLeft"),J,Z=q("MiddleRight")),r("<div/>").append(q("BottomLeft"),$=q("BottomCenter"),q("BottomRight"))).children().children().css({"float":"left"});r("body").prepend(P,F.append(c));if(T){F.addClass("cboxIE");
Y&&P.css("position","absolute")}J.children().addClass(K).mouseover(function(){r(this).addClass(K)}).mouseout(function(){r(this).removeClass(K)}).hide();a=ba.height()+$.height()+J.outerHeight(true)-J.height();b=ca.width()+Z.width()+J.outerWidth(true)-J.width();d=H.outerHeight(true);f=H.outerWidth(true);F.css({"padding-bottom":a,"padding-right":b}).hide();r("#cboxNext,#cboxPrevious").hover(function(){r("#cboxNext,#cboxPrevious").show()},function(){r("#cboxNext,#cboxPrevious").hide()});N.click(v.next);
M.click(v.prev);V.click(v.close);J.children().removeClass(K)};v.position=function(q,x){function p(g){ba[0].style.width=$[0].style.width=J[0].style.width=g.style.width;X[0].style.height=W[0].style.height=J[0].style.height=ca[0].style.height=Z[0].style.height=g.style.height}var B=Math.max(document.documentElement.clientHeight-h.h-d-a,0)/2+D.scrollTop(),e=Math.max(document.documentElement.clientWidth-h.w-f-b,0)/2+D.scrollLeft();q=F.width()===h.w+f&&F.height()===h.h+d?0:q;c[0].style.width=c[0].style.height=
"9999px";F.dequeue().animate({width:h.w+f,height:h.h+d,top:B,left:e},{duration:q,complete:function(){p(this);u=false;c[0].style.width=h.w+f+b+"px";c[0].style.height=h.h+d+a+"px";x&&x()},step:function(){p(this)}})};v.resize=function(q){function x(){h.w=h.w||H.width();return h.w}function p(){h.h=h.h||H.height();return h.h}function B(l){v.position(l,function(){if(m){if(T){g&&H.fadeIn(100);F[0].style.removeAttribute("filter")}J.children().show();if(h.iframe)H.append("<iframe id='cboxIframe'"+(h.scrolling?
" ":"scrolling='no'")+" name='iframe_"+(new Date).getTime()+"' frameborder=0 src='"+(h.href||i.href)+"' />");r("#cboxPrevious,#cboxNext").hide();W.hide();X.hide();S.hide();if(A.length>1){U.html(h.current.replace(/\{current\}/,k+1).replace(/\{total\}/,A.length));N.html(h.next);M.html(h.previous);h.slideshow&&S.show()}else{U.hide();N.hide();M.hide()}aa.html(h.title||i.title);r.event.trigger(y);C&&C.call(i);h.transition==="fade"&&F.fadeTo(j,1,function(){T&&F[0].style.removeAttribute("filter")});D.bind(w,
function(){v.position(0)})}})}if(m){var e,g,j=h.transition==="none"?0:h.speed;D.unbind(w);if(q){H.remove();H=r('<div id="cboxLoadedContent"/>').html(q);H.hide().appendTo(P).css({width:x(),overflow:h.scrolling?"auto":"hidden"}).css({height:p()}).prependTo(J);q=p()/2-15;M.css({height:p(),"background-position":"-105px "+q+"px"});N.css({height:p(),"background-position":"-135px "+q+"px"});r("#cboxPhoto").css({cssFloat:"none"});Y&&r("select:not(#colorbox select)").filter(function(){return this.style.visibility!==
"hidden"}).css({visibility:"hidden"}).one("cbox_cleanup",function(){this.style.visibility="inherit"});h.transition==="fade"&&F.fadeTo(j,0,function(){B(0)})||B(j);if(h.preloading&&A.length>1){q=k>0?A[k-1]:A[A.length-1];e=k<A.length-1?A[k+1]:A[0];e=r(e).data("colorbox").href||e.href;q=r(q).data("colorbox").href||q.href;L(e)&&r("<img />").attr("src",e);L(q)&&r("<img />").attr("src",q)}}else setTimeout(function(){var l=H.wrapInner("<div style='overflow:auto'></div>").children();h.h=l.height();H.css({height:h.h});
l.replaceWith(l.children());v.position(j)},1)}};v.load=function(){function q(g){function j(){var s=new Image;o-=1;if(o>=0&&h.preloadIMG){s.onload=j;s.src=n[o].src}else e(l)}var l=r(g),n=l.find("img"),o=n.length;j()}var x,p,B,e=v.resize;u=true;i=A[k];h=r(i).data("colorbox");R();r.event.trigger(O);h.h=h.height?E(h.height,"y")-d-a:h.innerHeight?E(h.innerHeight,"y"):false;h.w=h.width?E(h.width,"x")-f-b:h.innerWidth?E(h.innerWidth,"x"):false;h.mw=h.w;h.mh=h.h;if(h.maxWidth){h.mw=E(h.maxWidth,"x")-f-b;
h.mw=h.w&&h.w<h.mw?h.w:h.mw}if(h.maxHeight){h.mh=E(h.maxHeight,"y")-d-a;h.mh=h.h&&h.h<h.mh?h.h:h.mh}x=h.href||r(i).attr("href");W.show();X.show();V.show();if(h.inline){r('<div id="cboxInlineTemp" />').hide().insertBefore(r(x)[0]).bind(O+" cbox_cleanup",function(){r(this).replaceWith(H.children())});e(r(x))}else if(h.iframe)e(" ");else if(h.html)q(h.html);else if(L(x)){p=new Image;p.onload=function(){var g;p.onload=null;p.id="cboxPhoto";r(p).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});
if(h.scalePhotos){B=function(){p.height-=p.height*g;p.width-=p.width*g};if(h.mw&&p.width>h.mw){g=(p.width-h.mw)/p.width;B()}if(h.mh&&p.height>h.mh){g=(p.height-h.mh)/p.height;B()}}if(h.h)p.style.marginTop=Math.max(h.h-p.height,0)/2+"px";e(p);A.length>1&&r(p).css({cursor:"pointer"}).click(function(){v.next()}).hover(function(){r("#cboxNext,#cboxPrevious").show()},function(){});if(T)p.style.msInterpolationMode="bicubic"};p.src=x}else r("<div />").load(x,function(g,j){j==="success"?q(this):e(r("<p>Request unsuccessful.</p>"))})};
v.next=function(){N.hide();M.hide();if(!u){k=k<A.length-1?k+1:0;v.load()}};v.prev=function(){N.hide();M.hide();if(!u){k=k>0?k-1:A.length-1;v.load()}};v.slideshow=function(){function q(){S.text(h.slideshowStop).bind(y,function(){p=setTimeout(v.next,h.slideshowSpeed)}).bind(O,function(){clearTimeout(p)}).one("click",function(){x();r(this).removeClass(K)});F.removeClass(B+"off").addClass(B+"on")}var x,p,B="cboxSlideshow_";S.bind("cbox_closed",function(){S.unbind();clearTimeout(p);F.removeClass(B+"off "+
B+"on")});x=function(){clearTimeout(p);S.text(h.slideshowStart).unbind(y+" "+O).one("click",function(){q();p=setTimeout(v.next,h.slideshowSpeed);r(this).removeClass(K)});F.removeClass(B+"on").addClass(B+"off")};if(h.slideshow&&A.length>1)h.slideshowAuto?q():x()};v.close=function(){r.event.trigger("cbox_cleanup");m=false;r().unbind("keydown.cbox_close keydown.cbox_arrows");D.unbind(w+" resize.cboxie6 scroll.cboxie6");P.css({cursor:"auto"}).fadeOut("fast");F.stop(true,false).fadeOut("fast",function(){H.remove();
F.css({opacity:1});J.children().hide();r.event.trigger("cbox_closed")})};v.element=function(){return r(i)};v.settings=z;r(v.init)})(jQuery);
