(function(){function l(a,c){c.src?b.ajax({url:c.src,async:false,dataType:"script"}):b.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function C(a,c){return a[0]&&parseInt(b.curCSS(a[0],c,true),10)||0}function x(){return false}function D(){return true}function p(a){var c=RegExp("(^|\\.)"+a.type+"(\\.|$)"),d=true,e=[];b.each(b.data(this,"events").live||[],function(g,j){if(c.test(j.type)){var u=b(a.target).closest(j.data)[0];u&&e.push({elem:u,fn:j})}});e.sort(function(g,
j){return b.data(g.elem,"closest")-b.data(j.elem,"closest")});b.each(e,function(){if(this.fn.call(this.elem,a,this.fn.data)===false)return d=false});return d}function I(a,c){return["live",a,c.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function A(){if(!L){L=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);b.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);b.ready()}});document.documentElement.doScroll&&G==G.top&&function(){if(!b.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}b.ready()}}()}b.event.add(G,"load",b.ready)}}function E(a,c){var d={};b.each(aa.concat.apply([],aa.slice(0,c)),function(){d[this]=a});return d}var G=this,J=G.jQuery,o=G.$,b=G.jQuery=G.$=function(a,c){return new b.fn.init(a,
c)},i=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,r=/^.[^:#\[\.,]*$/;b.fn=b.prototype={init:function(a,c){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var d=i.exec(a);if(d&&(d[1]||!c))if(d[1])a=b.clean([d[1]],c);else{var e=document.getElementById(d[3]);if(e&&e.id!=d[3])return b().find(a);d=b(e||[]);d.context=document;d.selector=a;return d}else return b(c).find(a)}else if(b.isFunction(a))return b(document).ready(a);if(a.selector&&a.context){this.selector=
a.selector;this.context=a.context}return this.setArray(b.isArray(a)?a:b.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===void 0?Array.prototype.slice.call(this):this[a]},pushStack:function(a,c,d){a=b(a);a.prevObject=this;a.context=this.context;if(c==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(c)a.selector=this.selector+"."+c+"("+d+")";return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},
each:function(a,c){return b.each(this,a,c)},index:function(a){return b.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,c,d){var e=a;if(typeof a==="string")if(c===void 0)return this[0]&&b[d||"attr"](this[0],a);else{e={};e[a]=c}return this.each(function(g){for(a in e)b.attr(d?this.style:this,a,b.prop(this,e[a],d,g,a))})},css:function(a,c){if((a=="width"||a=="height")&&parseFloat(c)<0)c=void 0;return this.attr(a,c,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&
this[0].ownerDocument||document).createTextNode(a));var c="";b.each(a||this,function(){b.each(this.childNodes,function(){if(this.nodeType!=8)c+=this.nodeType!=1?this.nodeValue:b.fn.text([this])})});return c},wrapAll:function(a){if(this[0]){a=b(a,this[0].ownerDocument).clone();this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var c=this;c.firstChild;)c=c.firstChild;return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){b(this).contents().wrapAll(a)})},
wrap:function(a){return this.each(function(){b(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||b([])},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length===1){var c=this.pushStack([],"find",a);c.length=0;b.find(a,this[0],c);return c}else return this.pushStack(b.unique(b.map(this,function(d){return b.find(a,d)})),"find",a)},clone:function(a){var c=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var g=this.outerHTML;if(!g){g=this.ownerDocument.createElement("div");g.appendChild(this.cloneNode(true));
g=g.innerHTML}return b.clean([g.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(a===true){var d=this.find("*").andSelf(),e=0;c.find("*").andSelf().each(function(){if(this.nodeName===d[e].nodeName){var g=b.data(d[e],"events");for(var j in g)for(var u in g[j])b.event.add(this,j,g[j][u],g[j][u].data);e++}})}return c},filter:function(a){return this.pushStack(b.isFunction(a)&&b.grep(this,function(c,d){return a.call(c,d)})||b.multiFilter(a,b.grep(this,
function(c){return c.nodeType===1})),"filter",a)},closest:function(a){var c=b.expr.match.POS.test(a)?b(a):null,d=0;return this.map(function(){for(var e=this;e&&e.ownerDocument;){if(c?c.index(e)>-1:b(e).is(a)){b.data(e,"closest",d);return e}e=e.parentNode;d++}})},not:function(a){if(typeof a==="string")if(r.test(a))return this.pushStack(b.multiFilter(a,this,true),"not",a);else a=b.multiFilter(a,this);var c=a.length&&a[a.length-1]!==void 0&&!a.nodeType;return this.filter(function(){return c?b.inArray(this,
a)<0:this!=a})},add:function(a){return this.pushStack(b.unique(b.merge(this.get(),typeof a==="string"?b(a):b.makeArray(a))))},is:function(a){return!!a&&b.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(a){if(a===void 0){var c=this[0];if(c){if(b.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(b.nodeName(c,"select")){var d=c.selectedIndex,e=[],g=c.options;c=c.type=="select-one";if(d<0)return null;var j=c?d:0;for(d=c?d+1:g.length;j<
d;j++){var u=g[j];if(u.selected){a=b(u).val();if(c)return a;e.push(a)}}return e}return(c.value||"").replace(/\r/g,"")}}else{if(typeof a==="number")a+="";return this.each(function(){if(this.nodeType==1)if(b.isArray(a)&&/radio|checkbox/.test(this.type))this.checked=b.inArray(this.value,a)>=0||b.inArray(this.name,a)>=0;else if(b.nodeName(this,"select")){var z=b.makeArray(a);b("option",this).each(function(){this.selected=b.inArray(this.value,z)>=0||b.inArray(this.text,z)>=0});if(!z.length)this.selectedIndex=
-1}else this.value=a})}},html:function(a){return a===void 0?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(b.map(this,function(c,d){return a.call(c,d,c)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(a,c,d){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment();a=b.clean(a,this[0].ownerDocument||this[0],e);var g=e.firstChild;if(g)for(var j=0,u=this.length;j<u;j++)d.call(c&&b.nodeName(this[j],"table")&&b.nodeName(g,"tr")?this[j].getElementsByTagName("tbody")[0]||this[j].appendChild(this[j].ownerDocument.createElement("tbody")):this[j],this.length>1||j>0?e.cloneNode(true):e);a&&b.each(a,l)}return this}};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a=
arguments[0]||{},c=1,d=arguments.length,e=false,g;if(typeof a==="boolean"){e=a;a=arguments[1]||{};c=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(d==c){a=this;--c}for(;c<d;c++)if((g=arguments[c])!=null)for(var j in g){var u=a[j],z=g[j];if(a!==z)if(e&&z&&typeof z==="object"&&!z.nodeType)a[j]=b.extend(e,u||(z.length!=null?[]:{}),z);else if(z!==void 0)a[j]=z}return a};var s=/z-?index|font-?weight|opacity|zoom|line-?height/i,B=document.defaultView||{},w=Object.prototype.toString;b.extend({noConflict:function(a){G.$=
o;if(a)G.jQuery=J;return b},isFunction:function(a){return w.call(a)==="[object Function]"},isArray:function(a){return w.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&b.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var c=document.getElementsByTagName("head")[0]||document.documentElement,d=document.createElement("script");d.type="text/javascript";if(b.support.scriptEval)d.appendChild(document.createTextNode(a));
else d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()==c.toUpperCase()},each:function(a,c,d){var e,g=0,j=a.length;if(d)if(j===void 0)for(e in a){if(c.apply(a[e],d)===false)break}else for(;g<j;){if(c.apply(a[g++],d)===false)break}else if(j===void 0)for(e in a){if(c.call(a[e],e,a[e])===false)break}else for(d=a[0];g<j&&c.call(d,g,d)!==false;d=a[++g]);return a},prop:function(a,c,d,e,g){if(b.isFunction(c))c=c.call(a,e);return typeof c===
"number"&&d=="curCSS"&&!s.test(g)?c+"px":c},className:{add:function(a,c){b.each((c||"").split(/\s+/),function(d,e){if(a.nodeType==1&&!b.className.has(a.className,e))a.className+=(a.className?" ":"")+e})},remove:function(a,c){if(a.nodeType==1)a.className=c!==void 0?b.grep(a.className.split(/\s+/),function(d){return!b.className.has(c,d)}).join(" "):""},has:function(a,c){return a&&b.inArray(c,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,c,d){var e={};for(var g in c){e[g]=a.style[g];
a.style[g]=c[g]}d.call(a);for(g in c)a.style[g]=e[g]},css:function(a,c,d,e){if(c=="width"||c=="height"){var g;d={position:"absolute",visibility:"hidden",display:"block"};var j=c=="width"?["Left","Right"]:["Top","Bottom"],u=function(){g=c=="width"?a.offsetWidth:a.offsetHeight;e!=="border"&&b.each(j,function(){e||(g-=parseFloat(b.curCSS(a,"padding"+this,true))||0);if(e==="margin")g+=parseFloat(b.curCSS(a,"margin"+this,true))||0;else g-=parseFloat(b.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==
0?u():b.swap(a,d,u);return Math.max(0,Math.round(g))}return b.curCSS(a,c,d)},curCSS:function(a,c,d){var e,g=a.style;if(c=="opacity"&&!b.support.opacity){e=b.attr(g,"opacity");return e==""?"1":e}if(c.match(/float/i))c=P;if(!d&&g&&g[c])e=g[c];else if(B.getComputedStyle){if(c.match(/float/i))c="float";c=c.replace(/([A-Z])/g,"-$1").toLowerCase();if(a=B.getComputedStyle(a,null))e=a.getPropertyValue(c);if(c=="opacity"&&e=="")e="1"}else if(a.currentStyle){e=c.replace(/\-(\w)/g,function(j,u){return u.toUpperCase()});
e=a.currentStyle[c]||a.currentStyle[e];if(!/^\d+(px)?$/i.test(e)&&/^\d/.test(e)){c=g.left;d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=e||0;e=g.pixelLeft+"px";g.left=c;a.runtimeStyle.left=d}}return e},clean:function(a,c,d){c=c||document;if(typeof c.createElement==="undefined")c=c.ownerDocument||c[0]&&c[0].ownerDocument||document;if(!d&&a.length===1&&typeof a[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(a[0]);if(e)return[c.createElement(e[1])]}var g=[];e=[];var j=c.createElement("div");
b.each(a,function(u,z){if(typeof z==="number")z+="";if(z){if(typeof z==="string"){z=z.replace(/(<(\w+)[^>]*?)\/>/g,function(T,V,N){return N.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?T:V+"></"+N+">"});var O=z.replace(/^\s+/,"").substring(0,10).toLowerCase(),Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>",
"</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!b.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(j.innerHTML=Q[1]+z+Q[2];Q[0]--;)j=j.lastChild;if(!b.support.tbody){var R=/<tbody/i.test(z);O=!O.indexOf("<table")&&!R?j.firstChild&&j.firstChild.childNodes:Q[1]=="<table>"&&!R?j.childNodes:[];for(Q=O.length-1;Q>=0;--Q)b.nodeName(O[Q],"tbody")&&
!O[Q].childNodes.length&&O[Q].parentNode.removeChild(O[Q])}!b.support.leadingWhitespace&&/^\s/.test(z)&&j.insertBefore(c.createTextNode(z.match(/^\s*/)[0]),j.firstChild);z=b.makeArray(j.childNodes)}if(z.nodeType)g.push(z);else g=b.merge(g,z)}});if(d){for(a=0;g[a];a++)if(b.nodeName(g[a],"script")&&(!g[a].type||g[a].type.toLowerCase()==="text/javascript"))e.push(g[a].parentNode?g[a].parentNode.removeChild(g[a]):g[a]);else{g[a].nodeType===1&&g.splice.apply(g,[a+1,0].concat(b.makeArray(g[a].getElementsByTagName("script"))));
d.appendChild(g[a])}return e}return g},attr:function(a,c,d){if(!(!a||a.nodeType==3||a.nodeType==8)){var e=!b.isXMLDoc(a),g=d!==void 0;c=e&&b.props[c]||c;if(a.tagName){var j=/href|src|style/.test(c);if(c in a&&e&&!j){if(g){if(c=="type"&&b.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[c]=d}if(b.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c=="tabIndex")return(c=a.getAttributeNode("tabIndex"))&&c.specified?c.value:a.nodeName.match(/(button|input|object|select|textarea)/i)?
0:a.nodeName.match(/^(a|area)$/i)&&a.href?0:void 0;return a[c]}if(!b.support.style&&e&&c=="style")return b.attr(a.style,"cssText",d);g&&a.setAttribute(c,""+d);a=!b.support.hrefNormalized&&e&&j?a.getAttribute(c,2):a.getAttribute(c);return a===null?void 0:a}if(!b.support.opacity&&c=="opacity"){if(g){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+"":""}c=c.replace(/-([a-z])/ig,function(u,z){return z.toUpperCase()});if(g)a[c]=d;return a[c]}},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var d=a.length;if(d==null||typeof a==="string"||b.isFunction(a)||a.setInterval)c[0]=a;else for(;d;)c[--d]=a[d]}return c},inArray:function(a,c){for(var d=0,e=c.length;d<e;d++)if(c[d]===a)return d;return-1},merge:function(a,c){var d=0,e,g=a.length;if(b.support.getAll)for(;(e=c[d++])!=null;)a[g++]=e;else for(;(e=
c[d++])!=null;)if(e.nodeType!=8)a[g++]=e;return a},unique:function(a){var c=[],d={};try{for(var e=0,g=a.length;e<g;e++){var j=b.data(a[e]);if(!d[j]){d[j]=true;c.push(a[e])}}}catch(u){c=a}return c},grep:function(a,c,d){for(var e=[],g=0,j=a.length;g<j;g++)!d!=!c(a[g],g)&&e.push(a[g]);return e},map:function(a,c){for(var d=[],e=0,g=a.length;e<g;e++){var j=c(a[e],e);if(j!=null)d[d.length]=j}return d.concat.apply([],d)}});var H=navigator.userAgent.toLowerCase();b.browser={version:(H.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||
[0,"0"])[1],safari:/webkit/.test(H),opera:/opera/.test(H),msie:/msie/.test(H)&&!/opera/.test(H),mozilla:/mozilla/.test(H)&&!/(compatible|webkit)/.test(H)};b.each({parent:function(a){return a.parentNode},parents:function(a){return b.dir(a,"parentNode")},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},siblings:function(a){return b.sibling(a.parentNode.firstChild,
a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,c){b.fn[a]=function(d){var e=b.map(this,c);if(d&&typeof d=="string")e=b.multiFilter(d,e);return this.pushStack(b.unique(e),a,d)}});b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(d){for(var e=[],g=b(d),j=0,u=g.length;j<
u;j++){var z=(j>0?this.clone(true):this).get();b.fn[c].apply(b(g[j]),z);e=e.concat(z)}return this.pushStack(e,a,d)}});b.each({removeAttr:function(a){b.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){b.className.add(this,a)},removeClass:function(a){b.className.remove(this,a)},toggleClass:function(a,c){if(typeof c!=="boolean")c=!b.className.has(this,a);b.className[c?"add":"remove"](this,a)},remove:function(a){if(!a||b.filter(a,[this]).length){b("*",this).add([this]).each(function(){b.event.remove(this);
b.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(b(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(a,c){b.fn[a]=function(){return this.each(c,arguments)}});var v="jQuery"+ +new Date,q=0,m={};b.extend({cache:{},data:function(a,c,d){a=a==G?m:a;var e=a[v];e||(e=a[v]=++q);if(c&&!b.cache[e])b.cache[e]={};if(d!==void 0)b.cache[e][c]=d;return c?b.cache[e][c]:e},removeData:function(a,c){a=a==G?m:a;var d=a[v];if(c){if(b.cache[d]){delete b.cache[d][c];
c="";for(c in b.cache[d])break;c||b.removeData(a)}}else{try{delete a[v]}catch(e){a.removeAttribute&&a.removeAttribute(v)}delete b.cache[d]}},queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var e=b.data(a,c);if(!e||b.isArray(d))e=b.data(a,c,b.makeArray(d));else d&&e.push(d)}return e},dequeue:function(a,c){var d=b.queue(a,c),e=d.shift();if(!c||c==="fx")e=d[0];e!==void 0&&e.call(a)}});b.fn.extend({data:function(a,c){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(c===void 0){var e=this.triggerHandler("getData"+
d[1]+"!",[d[0]]);if(e===void 0&&this.length)e=b.data(this[0],a);return e===void 0&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],c]).each(function(){b.data(this,a,c)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})},queue:function(a,c){if(typeof a!=="string"){c=a;a="fx"}if(c===void 0)return b.queue(this[0],a);return this.each(function(){var d=b.queue(this,a,c);a=="fx"&&d.length==1&&d[0].call(this)})},dequeue:function(a){return this.each(function(){b.dequeue(this,
a)})}});(function(){function a(f,h,k,n,t,y){t=f=="previousSibling"&&!y;for(var K=0,S=n.length;K<S;K++){var M=n[K];if(M){if(t&&M.nodeType===1){M.sizcache=k;M.sizset=K}M=M[f];for(var U=false;M;){if(M.sizcache===k){U=n[M.sizset];break}if(M.nodeType===1&&!y){M.sizcache=k;M.sizset=K}if(M.nodeName===h){U=M;break}M=M[f]}n[K]=U}}}function c(f,h,k,n,t,y){t=f=="previousSibling"&&!y;for(var K=0,S=n.length;K<S;K++){var M=n[K];if(M){if(t&&M.nodeType===1){M.sizcache=k;M.sizset=K}M=M[f];for(var U=false;M;){if(M.sizcache===
k){U=n[M.sizset];break}if(M.nodeType===1){if(!y){M.sizcache=k;M.sizset=K}if(typeof h!=="string"){if(M===h){U=true;break}}else if(j.filter(h,[M]).length>0){U=M;break}}M=M[f]}n[K]=U}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,e=0,g=Object.prototype.toString,j=function(f,h,k,n){k=k||[];h=h||document;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!f||typeof f!=="string")return k;var t=[],y,K,S,M=true;for(d.lastIndex=0;(y=
d.exec(f))!==null;){t.push(y[1]);if(y[2]){S=RegExp.rightContext;break}}if(t.length>1&&z.exec(f))if(t.length===2&&u.relative[t[0]])y=$(t[0]+t[1],h);else for(y=u.relative[t[0]]?[h]:j(t.shift(),h);t.length;){f=t.shift();if(u.relative[f])f+=t.shift();y=$(f,y)}else{y=n?{expr:t.pop(),set:Q(n)}:j.find(t.pop(),t.length===1&&h.parentNode?h.parentNode:h,N(h));y=j.filter(y.expr,y.set);if(t.length>0)K=Q(y);else M=false;for(;t.length;){var U=t.pop(),Z=U;if(u.relative[U])Z=t.pop();else U="";if(Z==null)Z=h;u.relative[U](K,
Z,N(h))}}K||(K=y);if(!K)throw"Syntax error, unrecognized expression: "+(U||f);if(g.call(K)==="[object Array]")if(M)if(h.nodeType===1)for(f=0;K[f]!=null;f++){if(K[f]&&(K[f]===true||K[f].nodeType===1&&V(h,K[f])))k.push(y[f])}else for(f=0;K[f]!=null;f++)K[f]&&K[f].nodeType===1&&k.push(y[f]);else k.push.apply(k,K);else Q(K,k);if(S){j(S,h,k,n);if(T){hasDuplicate=false;k.sort(T);if(hasDuplicate)for(f=1;f<k.length;f++)k[f]===k[f-1]&&k.splice(f--,1)}}return k};j.matches=function(f,h){return j(f,null,null,
h)};j.find=function(f,h,k){var n,t;if(!f)return[];for(var y=0,K=u.order.length;y<K;y++){var S=u.order[y];if(t=u.match[S].exec(f)){var M=RegExp.leftContext;if(M.substr(M.length-1)!=="\\"){t[1]=(t[1]||"").replace(/\\/g,"");n=u.find[S](t,h,k);if(n!=null){f=f.replace(u.match[S],"");break}}}}n||(n=h.getElementsByTagName("*"));return{set:n,expr:f}};j.filter=function(f,h,k,n){for(var t=f,y=[],K=h,S,M,U=h&&h[0]&&N(h[0]);f&&h.length;){for(var Z in u.filter)if((S=u.match[Z].exec(f))!=null){var fa=u.filter[Z],
ba,ca;M=false;if(K==y)y=[];if(u.preFilter[Z])if(S=u.preFilter[Z](S,K,k,y,n,U)){if(S===true)continue}else M=ba=true;if(S)for(var da=0;(ca=K[da])!=null;da++)if(ca){ba=fa(ca,S,da,K);var ea=n^!!ba;if(k&&ba!=null)if(ea)M=true;else K[da]=false;else if(ea){y.push(ca);M=true}}if(ba!==void 0){k||(K=y);f=f.replace(u.match[Z],"");if(!M)return[];break}}if(f==t)if(M==null)throw"Syntax error, unrecognized expression: "+f;else break;t=f}return K};var u=j.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(f){return f.getAttribute("href")}},
relative:{"+":function(f,h,k){var n=typeof h==="string",t=n&&!/\W/.test(h);n=n&&!t;if(t&&!k)h=h.toUpperCase();k=0;t=f.length;for(var y;k<t;k++)if(y=f[k]){for(;(y=y.previousSibling)&&y.nodeType!==1;);f[k]=n||y&&y.nodeName===h?y||false:y===h}n&&j.filter(h,f,true)},">":function(f,h,k){var n=typeof h==="string";if(n&&!/\W/.test(h)){h=k?h:h.toUpperCase();k=0;for(var t=f.length;k<t;k++){var y=f[k];if(y){n=y.parentNode;f[k]=n.nodeName===h?n:false}}}else{k=0;for(t=f.length;k<t;k++)if(y=f[k])f[k]=n?y.parentNode:
y.parentNode===h;n&&j.filter(h,f,true)}},"":function(f,h,k){var n=e++,t=c;if(!h.match(/\W/)){var y=h=k?h:h.toUpperCase();t=a}t("parentNode",h,n,f,y,k)},"~":function(f,h,k){var n=e++,t=c;if(typeof h==="string"&&!h.match(/\W/)){var y=h=k?h:h.toUpperCase();t=a}t("previousSibling",h,n,f,y,k)}},find:{ID:function(f,h,k){if(typeof h.getElementById!=="undefined"&&!k)return(f=h.getElementById(f[1]))?[f]:[]},NAME:function(f,h){if(typeof h.getElementsByName!=="undefined"){for(var k=[],n=h.getElementsByName(f[1]),
t=0,y=n.length;t<y;t++)n[t].getAttribute("name")===f[1]&&k.push(n[t]);return k.length===0?null:k}},TAG:function(f,h){return h.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,h,k,n,t,y){f=" "+f[1].replace(/\\/g,"")+" ";if(y)return f;y=0;for(var K;(K=h[y])!=null;y++)if(K)if(t^(K.className&&(" "+K.className+" ").indexOf(f)>=0))k||n.push(K);else if(k)h[y]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f,h){for(var k=0;h[k]===false;k++);return h[k]&&N(h[k])?f[1]:
f[1].toUpperCase()},CHILD:function(f){if(f[1]=="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]=="even"&&"2n"||f[2]=="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=h[1]+(h[2]||1)-0;f[3]=h[3]-0}f[0]=e++;return f},ATTR:function(f,h,k,n,t,y){h=f[1].replace(/\\/g,"");if(!y&&u.attrMap[h])f[1]=u.attrMap[h];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,h,k,n,t){if(f[1]==="not")if(f[3].match(d).length>1||/^\w/.test(f[3]))f[3]=j(f[3],null,null,h);else{f=j.filter(f[3],h,k,true^t);k||
n.push.apply(n,f);return false}else if(u.match.POS.test(f[0])||u.match.CHILD.test(f[0]))return true;return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,h,k){return!!j(k[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},
text:function(f){return"text"===f.type},radio:function(f){return"radio"===f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toUpperCase()==="BUTTON"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},
setFilters:{first:function(f,h){return h===0},last:function(f,h,k,n){return h===n.length-1},even:function(f,h){return h%2===0},odd:function(f,h){return h%2===1},lt:function(f,h,k){return h<k[3]-0},gt:function(f,h,k){return h>k[3]-0},nth:function(f,h,k){return k[3]-0==h},eq:function(f,h,k){return k[3]-0==h}},filter:{PSEUDO:function(f,h,k,n){var t=h[1],y=u.filters[t];if(y)return y(f,k,h,n);else if(t==="contains")return(f.textContent||f.innerText||"").indexOf(h[3])>=0;else if(t==="not"){h=h[3];k=0;for(n=
h.length;k<n;k++)if(h[k]===f)return false;return true}},CHILD:function(f,h){var k=h[1],n=f;switch(k){case "only":case "first":for(;n=n.previousSibling;)if(n.nodeType===1)return false;if(k=="first")return true;n=f;case "last":for(;n=n.nextSibling;)if(n.nodeType===1)return false;return true;case "nth":k=h[2];var t=h[3];if(k==1&&t==0)return true;var y=h[0],K=f.parentNode;if(K&&(K.sizcache!==y||!f.nodeIndex)){var S=0;for(n=K.firstChild;n;n=n.nextSibling)if(n.nodeType===1)n.nodeIndex=++S;K.sizcache=y}n=
f.nodeIndex-t;return k==0?n==0:n%k==0&&n/k>=0}},ID:function(f,h){return f.nodeType===1&&f.getAttribute("id")===h},TAG:function(f,h){return h==="*"&&f.nodeType===1||f.nodeName===h},CLASS:function(f,h){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(f,h){var k=h[1];k=u.attrHandle[k]?u.attrHandle[k](f):f[k]!=null?f[k]:f.getAttribute(k);var n=k+"",t=h[2],y=h[4];return k==null?t==="!=":t==="="?n===y:t==="*="?n.indexOf(y)>=0:t==="~="?(" "+n+" ").indexOf(y)>=0:!y?n&&k!==
false:t==="!="?n!=y:t==="^="?n.indexOf(y)===0:t==="$="?n.substr(n.length-y.length)===y:t==="|="?n===y||n.substr(0,y.length+1)===y+"-":false},POS:function(f,h,k,n){var t=u.setFilters[h[2]];if(t)return t(f,k,h,n)}}},z=u.match.POS;for(var O in u.match)u.match[O]=RegExp(u.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source);var Q=function(f,h){f=Array.prototype.slice.call(f);if(h){h.push.apply(h,f);return h}return f};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(R){Q=function(f,
h){var k=h||[];if(g.call(f)==="[object Array]")Array.prototype.push.apply(k,f);else if(typeof f.length==="number")for(var n=0,t=f.length;n<t;n++)k.push(f[n]);else for(n=0;f[n];n++)k.push(f[n]);return k}}var T;if(document.documentElement.compareDocumentPosition)T=function(f,h){var k=f.compareDocumentPosition(h)&4?-1:f===h?0:1;if(k===0)hasDuplicate=true;return k};else if("sourceIndex"in document.documentElement)T=function(f,h){var k=f.sourceIndex-h.sourceIndex;if(k===0)hasDuplicate=true;return k};else if(document.createRange)T=
function(f,h){var k=f.ownerDocument.createRange(),n=h.ownerDocument.createRange();k.selectNode(f);k.collapse(true);n.selectNode(h);n.collapse(true);k=k.compareBoundaryPoints(Range.START_TO_END,n);if(k===0)hasDuplicate=true;return k};(function(){var f=document.createElement("form"),h="script"+(new Date).getTime();f.innerHTML="<input name='"+h+"'/>";var k=document.documentElement;k.insertBefore(f,k.firstChild);if(document.getElementById(h)){u.find.ID=function(n,t,y){if(typeof t.getElementById!=="undefined"&&
!y)return(t=t.getElementById(n[1]))?t.id===n[1]||typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id").nodeValue===n[1]?[t]:void 0:[]};u.filter.ID=function(n,t){var y=typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id");return n.nodeType===1&&y&&y.nodeValue===t}}k.removeChild(f)})();(function(){var f=document.createElement("div");f.appendChild(document.createComment(""));if(f.getElementsByTagName("*").length>0)u.find.TAG=function(h,k){var n=k.getElementsByTagName(h[1]);if(h[1]===
"*"){for(var t=[],y=0;n[y];y++)n[y].nodeType===1&&t.push(n[y]);n=t}return n};f.innerHTML="<a href='#'></a>";if(f.firstChild&&typeof f.firstChild.getAttribute!=="undefined"&&f.firstChild.getAttribute("href")!=="#")u.attrHandle.href=function(h){return h.getAttribute("href",2)}})();document.querySelectorAll&&function(){var f=j,h=document.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){j=function(k,n,t,y){n=n||document;if(!y&&n.nodeType===
9&&!N(n))try{return Q(n.querySelectorAll(k),t)}catch(K){}return f(k,n,t,y)};j.find=f.find;j.filter=f.filter;j.selectors=f.selectors;j.matches=f.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var f=document.createElement("div");f.innerHTML="<div class='test e'></div><div class='test'></div>";if(f.getElementsByClassName("e").length!==0){f.lastChild.className="e";if(f.getElementsByClassName("e").length!==1){u.order.splice(1,0,"CLASS");u.find.CLASS=
function(h,k,n){if(typeof k.getElementsByClassName!=="undefined"&&!n)return k.getElementsByClassName(h[1])}}}}();var V=document.compareDocumentPosition?function(f,h){return f.compareDocumentPosition(h)&16}:function(f,h){return f!==h&&(f.contains?f.contains(h):true)},N=function(f){return f.nodeType===9&&f.documentElement.nodeName!=="HTML"||!!f.ownerDocument&&N(f.ownerDocument)},$=function(f,h){for(var k=[],n="",t,y=h.nodeType?[h]:h;t=u.match.PSEUDO.exec(f);){n+=t[0];f=f.replace(u.match.PSEUDO,"")}f=
u.relative[f]?f+"*":f;t=0;for(var K=y.length;t<K;t++)j(f,y[t],k);return j.filter(n,k)};b.find=j;b.filter=j.filter;b.expr=j.selectors;b.expr[":"]=b.expr.filters;j.selectors.filters.hidden=function(f){return f.offsetWidth===0||f.offsetHeight===0};j.selectors.filters.visible=function(f){return f.offsetWidth>0||f.offsetHeight>0};j.selectors.filters.animated=function(f){return b.grep(b.timers,function(h){return f===h.elem}).length};b.multiFilter=function(f,h,k){if(k)f=":not("+f+")";return j.matches(f,
h)};b.dir=function(f,h){for(var k=[],n=f[h];n&&n!=document;){n.nodeType==1&&k.push(n);n=n[h]}return k};b.nth=function(f,h,k){h=h||1;for(var n=0;f;f=f[k])if(f.nodeType==1&&++n==h)break;return f};b.sibling=function(f,h){for(var k=[];f;f=f.nextSibling)f.nodeType==1&&f!=h&&k.push(f);return k}})();b.event={add:function(a,c,d,e){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=G)a=G;if(!d.guid)d.guid=this.guid++;if(e!==void 0){d=this.proxy(d);d.data=e}var g=b.data(a,"events")||b.data(a,"events",
{}),j=b.data(a,"handle")||b.data(a,"handle",function(){return typeof b!=="undefined"&&!b.event.triggered?b.event.handle.apply(arguments.callee.elem,arguments):void 0});j.elem=a;b.each(c.split(/\s+/),function(u,z){var O=z.split(".");z=O.shift();d.type=O.slice().sort().join(".");var Q=g[z];b.event.specialAll[z]&&b.event.specialAll[z].setup.call(a,e,O);if(!Q){Q=g[z]={};if(!b.event.special[z]||b.event.special[z].setup.call(a,e,O)===false)if(a.addEventListener)a.addEventListener(z,j,false);else a.attachEvent&&
a.attachEvent("on"+z,j)}Q[d.guid]=d;b.event.global[z]=true});a=null}},guid:1,global:{},remove:function(a,c,d){if(!(a.nodeType==3||a.nodeType==8)){var e=b.data(a,"events"),g;if(e){if(c===void 0||typeof c==="string"&&c.charAt(0)==".")for(var j in e)this.remove(a,j+(c||""));else{if(c.type){d=c.handler;c=c.type}b.each(c.split(/\s+/),function(u,z){var O=z.split(".");z=O.shift();var Q=RegExp("(^|\\.)"+O.slice().sort().join(".*\\.")+"(\\.|$)");if(e[z]){if(d)delete e[z][d.guid];else for(var R in e[z])Q.test(e[z][R].type)&&
delete e[z][R];b.event.specialAll[z]&&b.event.specialAll[z].teardown.call(a,O);for(g in e[z])break;if(!g){if(!b.event.special[z]||b.event.special[z].teardown.call(a,O)===false)if(a.removeEventListener)a.removeEventListener(z,b.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+z,b.data(a,"handle"));g=null;delete e[z]}}})}for(g in e)break;if(!g){if(c=b.data(a,"handle"))c.elem=null;b.removeData(a,"events");b.removeData(a,"handle")}}}},trigger:function(a,c,d,e){var g=a.type||a;if(!e){a=typeof a===
"object"?a[v]?a:b.extend(b.Event(g),a):b.Event(g);if(g.indexOf("!")>=0){a.type=g=g.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[g]&&b.each(b.cache,function(){this.events&&this.events[g]&&b.event.trigger(a,c,this.handle.elem)})}if(!d||d.nodeType==3||d.nodeType==8)return;a.result=void 0;a.target=d;c=b.makeArray(c);c.unshift(a)}a.currentTarget=d;var j=b.data(d,"handle");j&&j.apply(d,c);if((!d[g]||b.nodeName(d,"a")&&g=="click")&&d["on"+g]&&d["on"+g].apply(d,c)===false)a.result=
false;if(!e&&d[g]&&!a.isDefaultPrevented()&&!(b.nodeName(d,"a")&&g=="click")){this.triggered=true;try{d[g]()}catch(u){}}this.triggered=false;if(!a.isPropagationStopped())(d=d.parentNode||d.ownerDocument)&&b.event.trigger(a,c,d,true)},handle:function(a){var c,d;a=arguments[0]=b.event.fix(a||G.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();c=!d.length&&!a.exclusive;var e=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");d=(b.data(this,"events")||{})[a.type];for(var g in d){var j=
d[g];if(c||e.test(j.type)){a.handler=j;a.data=j.data;j=j.apply(this,arguments);if(j!==void 0){a.result=j;if(j===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[v])return a;var c=a;a=b.Event(c);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=c[e]}if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){c=document.documentElement;d=document.body;a.pageX=a.clientX+(c&&c.scrollLeft||d&&d.scrollLeft||0)-(c.clientLeft||0);a.pageY=a.clientY+(c&&c.scrollTop||
d&&d.scrollTop||0)-(c.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,c){c=c||function(){return a.apply(this,arguments)};c.guid=a.guid=a.guid||c.guid||this.guid++;return c},special:{ready:{setup:A,teardown:function(){}}},specialAll:{live:{setup:function(a,c){b.event.add(this,c[0],p)},teardown:function(a){if(a.length){var c=
0,d=RegExp("(^|\\.)"+a[0]+"(\\.|$)");b.each(b.data(this,"events").live||{},function(){d.test(this.type)&&c++});c<1&&b.event.remove(this,a[0],p)}}}}};b.Event=function(a){if(!this.preventDefault)return new b.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=+new Date;this[v]=true};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=D;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
D;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=D;this.stopPropagation()},isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x};var F=function(a){for(var c=a.relatedTarget;c&&c!=this;)try{c=c.parentNode}catch(d){c=this}if(c!=this){a.type=a.data;b.event.handle.apply(this,arguments)}};b.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,c){b.event.special[c]=
{setup:function(){b.event.add(this,a,F,c)},teardown:function(){b.event.remove(this,a,F)}}});b.fn.extend({bind:function(a,c,d){return a=="unload"?this.one(a,c,d):this.each(function(){b.event.add(this,a,d||c,d&&c)})},one:function(a,c,d){var e=b.event.proxy(d||c,function(g){b(this).unbind(g,e);return(d||c).apply(this,arguments)});return this.each(function(){b.event.add(this,a,e,d&&c)})},unbind:function(a,c){return this.each(function(){b.event.remove(this,a,c)})},trigger:function(a,c){return this.each(function(){b.event.trigger(a,
c,this)})},triggerHandler:function(a,c){if(this[0]){var d=b.Event(a);d.preventDefault();d.stopPropagation();b.event.trigger(d,c,this[0]);return d.result}},toggle:function(a){for(var c=arguments,d=1;d<c.length;)b.event.proxy(a,c[d++]);return this.click(b.event.proxy(a,function(e){this.lastToggle=(this.lastToggle||0)%d;e.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,c){return this.mouseenter(a).mouseleave(c)},ready:function(a){A();b.isReady?a.call(document,
b):b.readyList.push(a);return this},live:function(a,c){var d=b.event.proxy(c);d.guid+=this.selector+a;b(document).bind(I(a,this.selector),this.selector,d);return this},die:function(a,c){b(document).unbind(I(a,this.selector),c?{guid:c.guid+this.selector+a}:null);return this}});b.extend({isReady:false,readyList:[],ready:function(){if(!b.isReady){b.isReady=true;if(b.readyList){b.each(b.readyList,function(){this.call(document,b)});b.readyList=null}b(document).triggerHandler("ready")}}});var L=false;b.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,c){b.fn[c]=function(d){return d?this.bind(c,d):this.trigger(c)}});b(G).bind("unload",function(){for(var a in b.cache)a!=1&&b.cache[a].handle&&b.event.remove(b.cache[a].handle.elem)});(function(){b.support={};var a=document.documentElement,c=document.createElement("script"),d=document.createElement("div"),e="script"+(new Date).getTime();d.style.display="none";d.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var g=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!g||!g.length||!j)){b.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(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:j.style.opacity==="0.5",cssFloat:!!j.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};c.type="text/javascript";try{c.appendChild(document.createTextNode("window."+e+"=1;"))}catch(u){}a.insertBefore(c,a.firstChild);if(G[e]){b.support.scriptEval=true;delete G[e]}a.removeChild(c);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function(){b.support.noCloneEvent=false;d.detachEvent("onclick",arguments.callee)});d.cloneNode(true).fireEvent("onclick")}b(function(){var z=document.createElement("div");z.style.width=z.style.paddingLeft="1px";document.body.appendChild(z);
b.boxModel=b.support.boxModel=z.offsetWidth===2;document.body.removeChild(z).style.display="none"})}})();var P=b.support.cssFloat?"cssFloat":"styleFloat";b.props={"for":"htmlFor","class":"className","float":P,cssFloat:P,styleFloat:P,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};b.fn.extend({_load:b.fn.load,load:function(a,c,d){if(typeof a!=="string")return this._load(a);var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,
e)}e="GET";if(c)if(b.isFunction(c)){d=c;c=null}else if(typeof c==="object"){c=b.param(c);e="POST"}var j=this;b.ajax({url:a,type:e,dataType:"html",data:c,complete:function(u,z){if(z=="success"||z=="notmodified")j.html(g?b("<div/>").append(u.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):u.responseText);d&&j.each(d,[u.responseText,z,u])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
b.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,c){var d=b(this).val();return d==null?null:b.isArray(d)?b.map(d,function(e){return{name:c.name,value:e}}):{name:c.name,value:d}}).get()}});b.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,c){b.fn[c]=function(d){return this.bind(c,d)}});var X=+new Date;
b.extend({get:function(a,c,d,e){if(b.isFunction(c)){d=c;c=null}return b.ajax({type:"GET",url:a,data:c,success:d,dataType:e})},getScript:function(a,c){return b.get(a,null,c,"script")},getJSON:function(a,c,d){return b.get(a,c,d,"json")},post:function(a,c,d,e){if(b.isFunction(c)){d=c;c={}}return b.ajax({type:"POST",url:a,data:c,success:d,dataType:e})},ajaxSetup:function(a){b.extend(b.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",
processData:true,async:true,xhr:function(){return G.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 c(){a.success&&a.success(u,j);a.global&&b.event.trigger("ajaxSuccess",[N,a])}function d(){a.complete&&a.complete(N,j);a.global&&b.event.trigger("ajaxComplete",
[N,a]);a.global&&!--b.active&&b.event.trigger("ajaxStop")}a=b.extend(true,a,b.extend(true,{},b.ajaxSettings,a));var e,g=/=\?(&|$)/g,j,u,z=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=b.param(a.data);if(a.dataType=="jsonp"){if(z=="GET")a.url.match(g)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(g))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(g)||
a.url.match(g))){e="jsonp"+X++;if(a.data)a.data=(a.data+"").replace(g,"="+e+"$1");a.url=a.url.replace(g,"="+e+"$1");a.dataType="script";G[e]=function(n){u=n;c();d();G[e]=void 0;try{delete G[e]}catch(t){}Q&&Q.removeChild(R)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&z=="GET"){g=+new Date;var O=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+g+"$2");a.url=O+(O==a.url?(a.url.match(/\?/)?"&":"?")+"_="+g:"")}if(a.data&&z=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&
!b.active++&&b.event.trigger("ajaxStart");g=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&z=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var Q=document.getElementsByTagName("head")[0],R=document.createElement("script");R.src=a.url;if(a.scriptCharset)R.charset=a.scriptCharset;if(!e){var T=false;R.onload=R.onreadystatechange=function(){if(!T&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){T=true;c();d();R.onload=R.onreadystatechange=null;
Q.removeChild(R)}}}Q.appendChild(R)}else{var V=false,N=a.xhr();a.username?N.open(z,a.url,a.async,a.username,a.password):N.open(z,a.url,a.async);try{a.data&&N.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)N.setRequestHeader("If-Modified-Since",b.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");N.setRequestHeader("X-Requested-With","XMLHttpRequest");N.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch($){}if(a.beforeSend&&
a.beforeSend(N,a)===false){a.global&&!--b.active&&b.event.trigger("ajaxStop");N.abort();return false}a.global&&b.event.trigger("ajaxSend",[N,a]);var f=function(n){if(N.readyState==0){if(h){clearInterval(h);h=null;a.global&&!--b.active&&b.event.trigger("ajaxStop")}}else if(!V&&N&&(N.readyState==4||n=="timeout")){V=true;if(h){clearInterval(h);h=null}j=n=="timeout"?"timeout":!b.httpSuccess(N)?"error":a.ifModified&&b.httpNotModified(N,a.url)?"notmodified":"success";if(j=="success")try{u=b.httpData(N,
a.dataType,a)}catch(t){j="parsererror"}if(j=="success"){var y;try{y=N.getResponseHeader("Last-Modified")}catch(K){}if(a.ifModified&&y)b.lastModified[a.url]=y;e||c()}else b.handleError(a,N,j);d();n&&N.abort();if(a.async)N=null}};if(a.async){var h=setInterval(f,13);a.timeout>0&&setTimeout(function(){N&&!V&&f("timeout")},a.timeout)}try{N.send(a.data)}catch(k){b.handleError(a,N,null,k)}a.async||f();return N}},handleError:function(a,c,d,e){a.error&&a.error(c,d,e);a.global&&b.event.trigger("ajaxError",
[c,a,e])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(c){}return false},httpNotModified:function(a,c){try{var d=a.getResponseHeader("Last-Modified");return a.status==304||d==b.lastModified[c]}catch(e){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type");a=(e=c=="xml"||!c&&e&&e.indexOf("xml")>=0)?a.responseXML:a.responseText;if(e&&a.documentElement.tagName=="parsererror")throw"parsererror";
if(d&&d.dataFilter)a=d.dataFilter(a,c);if(typeof a==="string"){c=="script"&&b.globalEval(a);if(c=="json")a=G.eval("("+a+")")}return a},param:function(a){function c(g,j){d[d.length]=encodeURIComponent(g)+"="+encodeURIComponent(j)}var d=[];if(b.isArray(a)||a.jquery)b.each(a,function(){c(this.name,this.value)});else for(var e in a)b.isArray(a[e])?b.each(a[e],function(){c(e,this)}):c(e,b.isFunction(a[e])?a[e]():a[e]);return d.join("&").replace(/%20/g,"+")}});var W={},Y,aa=[["height","marginTop","marginBottom",
"paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];b.fn.extend({show:function(a,c){if(a)return this.animate(E("show",3),a,c);else{for(var d=0,e=this.length;d<e;d++){var g=b.data(this[d],"olddisplay");this[d].style.display=g||"";if(b.css(this[d],"display")==="none"){g=this[d].tagName;var j;if(W[g])j=W[g];else{var u=b("<"+g+" />").appendTo("body");j=u.css("display");if(j==="none")j="block";u.remove();W[g]=j}b.data(this[d],"olddisplay",j)}}d=
0;for(e=this.length;d<e;d++)this[d].style.display=b.data(this[d],"olddisplay")||"";return this}},hide:function(a,c){if(a)return this.animate(E("hide",3),a,c);else{for(var d=0,e=this.length;d<e;d++){var g=b.data(this[d],"olddisplay");!g&&g!=="none"&&b.data(this[d],"olddisplay",b.css(this[d],"display"))}d=0;for(e=this.length;d<e;d++)this[d].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c){var d=typeof a==="boolean";return b.isFunction(a)&&b.isFunction(c)?this._toggle.apply(this,
arguments):a==null||d?this.each(function(){var e=d?a:b(this).is(":hidden");b(this)[e?"show":"hide"]()}):this.animate(E("toggle",3),a,c)},fadeTo:function(a,c,d){return this.animate({opacity:c},a,d)},animate:function(a,c,d,e){var g=b.speed(c,d,e);return this[g.queue===false?"each":"queue"](function(){var j=b.extend({},g),u,z=this.nodeType==1&&b(this).is(":hidden"),O=this;for(u in a){if(a[u]=="hide"&&z||a[u]=="show"&&!z)return j.complete.call(this);if((u=="height"||u=="width")&&this.style){j.display=
b.css(this,"display");j.overflow=this.style.overflow}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=b.extend({},a);b.each(a,function(Q,R){var T=new b.fx(O,j,Q);if(/toggle|show|hide/.test(R))T[R=="toggle"?z?"show":"hide":R](a);else{var V=R.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),N=T.cur(true)||0;if(V){var $=parseFloat(V[2]),f=V[3]||"px";if(f!="px"){O.style[Q]=($||1)+f;N=($||1)/T.cur(true)*N;O.style[Q]=N+f}if(V[1])$=(V[1]=="-="?-1:1)*$+N;T.custom(N,$,f)}else T.custom(N,R,"")}});return true})},
stop:function(a,c){var d=b.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem==this){c&&d[e](true);d.splice(e,1)}});c||this.dequeue();return this}});b.each({slideDown:E("show",1),slideUp:E("hide",1),slideToggle:E("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,c){b.fn[a]=function(d,e){return this.animate(c,d,e)}});b.extend({speed:function(a,c,d){var e=typeof a==="object"?a:{complete:d||!d&&c||b.isFunction(a)&&a,duration:a,easing:d&&c||
c&&!b.isFunction(c)&&c};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:b.fx.speeds[e.duration]||b.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&b(this).dequeue();b.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,c,d,e){return d+e*a},swing:function(a,c,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,c,d){this.options=c;this.elem=a;this.prop=d;if(!c.orig)c.orig={}}});b.fx.prototype={update:function(){this.options.step&&
this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.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(b.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(b.curCSS(this.elem,this.prop))||0},custom:function(a,c,d){function e(j){return g.step(j)}this.startTime=+new Date;
this.start=a;this.end=c;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;e.elem=this.elem;if(e()&&b.timers.push(e)&&!Y)Y=setInterval(function(){for(var j=b.timers,u=0;u<j.length;u++)j[u]()||j.splice(u--,1);if(!j.length){clearInterval(Y);Y=void 0}},13)},show:function(){this.options.orig[this.prop]=b.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=
b.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var c=+new Date;if(a||c>=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(b.css(this.elem,"display")=="none")this.elem.style.display=
"block"}this.options.hide&&b(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)b.attr(this.elem.style,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{d=c-this.startTime;this.state=d/this.options.duration;this.pos=b.easing[this.options.easing||(b.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}};b.extend(b.fx,{speeds:{slow:600,
fast:200,_default:400},step:{opacity:function(a){b.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}}});b.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return b.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),c=this[0].ownerDocument,d=c.body;c=c.documentElement;return{top:a.top+
(self.pageYOffset||b.boxModel&&c.scrollTop||d.scrollTop)-(c.clientTop||d.clientTop||0),left:a.left+(self.pageXOffset||b.boxModel&&c.scrollLeft||d.scrollLeft)-(c.clientLeft||d.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return b.offset.bodyOffset(this[0]);b.offset.initialized||b.offset.initialize();var a=this[0],c=a.offsetParent,d=a.ownerDocument,e,g=d.documentElement,j=d.body;d=d.defaultView;e=d.getComputedStyle(a,null);for(var u=a.offsetTop,
z=a.offsetLeft;(a=a.parentNode)&&a!==j&&a!==g;){e=d.getComputedStyle(a,null);u-=a.scrollTop;z-=a.scrollLeft;if(a===c){u+=a.offsetTop;z+=a.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName))){u+=parseInt(e.borderTopWidth,10)||0;z+=parseInt(e.borderLeftWidth,10)||0}c=a.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){u+=parseInt(e.borderTopWidth,10)||0;z+=parseInt(e.borderLeftWidth,10)||0}e=e}if(e.position===
"relative"||e.position==="static"){u+=j.offsetTop;z+=j.offsetLeft}if(e.position==="fixed"){u+=Math.max(g.scrollTop,j.scrollTop);z+=Math.max(g.scrollLeft,j.scrollLeft)}return{top:u,left:z}};b.offset={initialize:function(){if(!this.initialized){var a=document.body,c=document.createElement("div"),d,e,g,j=a.style.marginTop;d={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(e in d)c.style[e]=d[e];c.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(c,a.firstChild);d=c.firstChild;e=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=j;a.removeChild(c);this.initialized=true}},bodyOffset:function(a){b.offset.initialized||b.offset.initialize();
var c=a.offsetTop,d=a.offsetLeft;if(b.offset.doesNotIncludeMarginInBodyOffset){c+=parseInt(b.curCSS(a,"marginTop",true),10)||0;d+=parseInt(b.curCSS(a,"marginLeft",true),10)||0}return{top:c,left:d}}};b.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var c=this.offset(),d=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();c.top-=C(this,"marginTop");c.left-=C(this,"marginLeft");d.top+=C(a,"borderTopWidth");d.left+=C(a,"borderLeftWidth");a={top:c.top-d.top,left:c.left-
d.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&&b.css(a,"position")=="static";)a=a.offsetParent;return b(a)}});b.each(["Left","Top"],function(a,c){var d="scroll"+c;b.fn[d]=function(e){if(!this[0])return null;return e!==void 0?this.each(function(){this==G||this==document?G.scrollTo(!a?e:b(G).scrollLeft(),a?e:b(G).scrollTop()):this[d]=e}):this[0]==G||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||b.boxModel&&document.documentElement[d]||
document.body[d]:this[0][d]}});b.each(["Height","Width"],function(a,c){var d=c.toLowerCase();b.fn["inner"+c]=function(){return this[0]?b.css(this[0],d,false,"padding"):null};b.fn["outer"+c]=function(g){return this[0]?b.css(this[0],d,false,g?"margin":"border"):null};var e=c.toLowerCase();b.fn[e]=function(g){return this[0]==G?document.compatMode=="CSS1Compat"&&document.documentElement["client"+c]||document.body["client"+c]:this[0]==document?Math.max(document.documentElement["client"+c],document.body["scroll"+
c],document.documentElement["scroll"+c],document.body["offset"+c],document.documentElement["offset"+c]):g===void 0?this.length?b.css(this[0],e):null:this.css(e,typeof g==="string"?g:g+"px")}})})();(function(l){function C(D,p){function I(v){var q=l(v);return p.globalNav?q:D.parent().find(v)}var A=this,E=l(this),G=!p.vertical,J=D.children(),o=0,b;x||(x=A);l.each(p,function(v,q){l.isFunction(q)&&E.bind(v,q)});if(J.length>1)J=l(p.items,D);D.data("finder",I);var i=I(p.prev),r=I(p.next),s=I(p.prevPage),B=I(p.nextPage);l.extend(A,{getIndex:function(){return o},getClickIndex:function(){var v=A.getItems();return v.index(v.filter("."+p.activeClass))},getConf:function(){return p},getSize:function(){return A.getItems().size()},
getPageAmount:function(){return Math.ceil(this.getSize()/p.size)},getPageIndex:function(){return Math.ceil(o/p.size)},getNaviButtons:function(){return i.add(r).add(s).add(B)},getRoot:function(){return D},getItemWrap:function(){return J},getItems:function(){return J.children(p.item)},getVisibleItems:function(){return A.getItems().slice(o,o+p.size)},seekTo:function(v,q,m){function F(){m&&m.call(A,v);E.trigger("onSeek",[v])}if(v<0)v=0;if(o===v)return A;if(l.isFunction(q))m=q;if(v>A.getSize()-p.size)return p.loop?
A.begin():this.end();var L=A.getItems().eq(v);if(!L.length)return A;var P=l.Event("onBeforeSeek");E.trigger(P,[v]);if(P.isDefaultPrevented())return A;if(q===undefined||l.isFunction(q))q=p.speed;G?J.animate({left:-L.position().left},q,p.easing,F):J.animate({top:-L.position().top},q,p.easing,F);x=A;o=v;P=l.Event("onStart");E.trigger(P,[v]);if(P.isDefaultPrevented())return A;i.add(s).toggleClass(p.disabledClass,v===0);r.add(B).toggleClass(p.disabledClass,v>=A.getSize()-p.size);return A},move:function(v,
q,m){b=v>0;return this.seekTo(o+v,q,m)},next:function(v,q){return this.move(1,v,q)},prev:function(v,q){return this.move(-1,v,q)},movePage:function(v,q,m){b=v>0;var F=p.size*v,L=o%p.size;if(L>0)F+=v>0?-L:p.size-L;return this.move(F,q,m)},prevPage:function(v,q){return this.movePage(-1,v,q)},nextPage:function(v,q){return this.movePage(1,v,q)},setPage:function(v,q,m){return this.seekTo(v*p.size,q,m)},begin:function(v,q){b=false;return this.seekTo(0,v,q)},end:function(v,q){b=true;var m=this.getSize()-
p.size;return m>0?this.seekTo(m,v,q):A},reload:function(){E.trigger("onReload");return A},focus:function(){return x=A},click:function(v){var q=A.getItems().eq(v),m=p.activeClass,F=p.size;if(v<0||v>=A.getSize())return A;if(F==1){if(p.loop)return A.next();if(v===0||v==A.getSize()-1)b=b===undefined?true:!b;return b===false?A.prev():A.next()}if(F==2){v==o&&v--;A.getItems().removeClass(m);q.addClass(m);return A.seekTo(v,time,fn)}if(!q.hasClass(m)){A.getItems().removeClass(m);q.addClass(m);q=v-Math.floor(F/
2);if(q>A.getSize()-F)q=A.getSize()-F;if(q!==v)return A.seekTo(q)}return A},bind:function(v,q){E.bind(v,q);return A},unbind:function(v){E.unbind(v);return A}});l.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(v,q){A[q]=function(m){return A.bind(q,m)}});i.addClass(p.disabledClass).click(function(){A.prev()});r.click(function(){A.next()});B.click(function(){A.nextPage()});A.getSize()<p.size&&r.add(B).addClass(p.disabledClass);s.addClass(p.disabledClass).click(function(){A.prevPage()});
var w=p.hoverClass,H="keydown."+Math.random().toString().substring(10);A.onReload(function(){w&&A.getItems().hover(function(){l(this).addClass(w)},function(){l(this).removeClass(w)});p.clickable&&A.getItems().each(function(v){l(this).unbind("click.scrollable").bind("click.scrollable",function(q){if(!l(q.target).is("a"))return A.click(v)})});p.keyboard?l(document).unbind(H).bind(H,function(v){if(!(v.altKey||v.ctrlKey))if(!(p.keyboard!="static"&&x!=A)){var q=p.keyboardSteps;if(G&&(v.keyCode==37||v.keyCode==
39)){A.move(v.keyCode==37?-q:q);return v.preventDefault()}if(!G&&(v.keyCode==38||v.keyCode==40)){A.move(v.keyCode==38?-q:q);return v.preventDefault()}return true}}):l(document).unbind(H)});A.reload()}l.tools=l.tools||{};l.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",
nextPage:".nextPage",api:false}};var x;l.fn.scrollable=function(D){var p=this.eq(typeof D=="number"?D:0).data("scrollable");if(p)return p;var I=l.extend({},l.tools.scrollable.conf);D=l.extend(I,D);D.keyboardSteps=D.keyboardSteps||D.size;this.each(function(){p=new C(l(this),D);l(this).data("scrollable",p)});return D.api?p:this}})(jQuery);
(function(l){function C(){if(l.browser.msie){var D=l(document).height(),p=l(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,D-p<20?p:D]}return[l(window).width(),l(document).height()]}function x(D,p){var I=this,A=l(this),E=null,G=false,J=0;l.each(p,function(o,b){l.isFunction(b)&&A.bind(o,b)});l(window).resize(function(){I.fit()});l.extend(this,{getMask:function(){return E},getExposed:function(){return D},getConf:function(){return p},isLoaded:function(){return G},
load:function(o){if(G)return I;J=D.eq(0).css("zIndex");if(p.maskId)E=l("#"+p.maskId);if(!E||!E.length){var b=C();E=l("<div/>").css({position:"absolute",top:0,left:0,width:b[0],height:b[1],display:"none",opacity:0,zIndex:p.zIndex});p.maskId&&E.attr("id",p.maskId);l("body").append(E);b=E.css("backgroundColor");if(!b||b=="transparent"||b=="rgba(0, 0, 0, 0)")E.css("backgroundColor",p.color);p.closeOnEsc&&l(document).bind("keydown.unexpose",function(r){r.keyCode==27&&I.close()});p.closeOnClick&&E.bind("click.unexpose",
function(r){I.close(r)})}o=o||l.Event();o.type="onBeforeLoad";A.trigger(o);if(o.isDefaultPrevented())return I;l.each(D,function(){var r=l(this);/relative|absolute|fixed/i.test(r.css("position"))||r.css("position","relative")});D.css({zIndex:Math.max(p.zIndex+1,J=="auto"?0:J)});var i=E.height();this.isLoaded()||E.css({opacity:0,display:"block"}).fadeTo(p.loadSpeed,p.opacity,function(){E.height()!=i&&E.css("height",i);o.type="onLoad";A.trigger(o)});G=true;return I},close:function(o){if(!G)return I;
o=o||l.Event();o.type="onBeforeClose";A.trigger(o);if(o.isDefaultPrevented())return I;E.fadeOut(p.closeSpeed,function(){o.type="onClose";A.trigger(o);D.css({zIndex:l.browser.msie?J:null})});G=false;return I},fit:function(){if(E){var o=C();E.css({width:o[0],height:o[1]})}},bind:function(o,b){A.bind(o,b);return I},unbind:function(o){A.unbind(o);return I}});l.each("onBeforeLoad,onLoad,onBeforeClose,onClose".split(","),function(o,b){I[b]=function(i){return I.bind(b,i)}})}l.tools=l.tools||{};l.tools.expose=
{version:"1.0.5",conf:{maskId:null,loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,color:"#456",api:false}};l.fn.expose=function(D){var p=this.eq(typeof D=="number"?D:0).data("expose");if(p)return p;if(typeof D=="string")D={color:D};var I=l.extend({},l.tools.expose.conf);D=l.extend(I,D);this.each(function(){p=new x(l(this),D);l(this).data("expose",p)});return D.api?p:this}})(jQuery);
(function(){function l(i){if(!i||typeof i!="object")return i;var r=new i.constructor;for(var s in i)if(i.hasOwnProperty(s))r[s]=l(i[s]);return r}function C(i,r){if(i){var s,B=0,w=i.length;if(w===undefined)for(s in i){if(r.call(i[s],s,i[s])===false)break}else for(s=i[0];B<w&&r.call(s,B,s)!==false;s=i[++B]);return i}}function x(i,r,s){if(typeof r!="object")return i;i&&r&&C(r,function(B,w){if(!s||typeof w!="function")i[B]=w});return i}function D(i){var r=i.indexOf(".");if(r!=-1){var s=i.substring(0,
r)||"*",B=i.substring(r+1,i.length),w=[];C(document.getElementsByTagName(s),function(){this.className&&this.className.indexOf(B)!=-1&&w.push(this)});return w}}function p(i){i=i||window.event;if(i.preventDefault){i.stopPropagation();i.preventDefault()}else{i.returnValue=false;i.cancelBubble=true}return false}function I(i,r,s){i[r]=i[r]||[];i[r].push(s)}function A(){return"_"+(""+Math.random()).substring(2,10)}function E(i,r,s){function B(){function c(e){!w.isLoaded()&&w._fireEvent("onBeforeClick")!==
false&&w.load();return p(e)}if($f(i)){$f(i).getParent().innerHTML="";W=$f(i).getIndex();b[W]=w}else{b.push(w);W=b.length-1}a=parseInt(i.style.height,10)||i.clientHeight;if(typeof r=="string")r={src:r};P=i.id||"fp"+A();X=r.id||P+"_api";r.id=X;s.playerId=P;if(typeof s=="string")s={clip:{url:s}};if(typeof s.clip=="string")s.clip={url:s.clip};s.clip=s.clip||{};if(i.getAttribute("href",2)&&!s.clip.url)s.clip.url=i.getAttribute("href",2);q=new J(s.clip,-1,w);s.playlist=s.playlist||[s.clip];var d=0;C(s.playlist,
function(){var e=this;if(typeof e=="object"&&e.length)e={url:""+e};C(s.clip,function(g,j){if(j!==undefined&&e[g]===undefined&&typeof j!="function")e[g]=j});s.playlist[d]=e;e=new J(e,d,w);m.push(e);d++});C(s,function(e,g){if(typeof g=="function"){q[e]?q[e](g):I(L,e,g);delete s[e]}});C(s.plugins,function(e,g){if(g)F[e]=new o(e,g,w)});if(!s.plugins||s.plugins.controls===undefined)F.controls=new o("controls",null,w);F.canvas=new o("canvas",null,w);r.bgcolor=r.bgcolor||"#000000";r.version=r.version||[9,
0];r.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";v=i.innerHTML;if(v.replace(/\s/g,"")!=="")if(i.addEventListener)i.addEventListener("click",c,false);else i.attachEvent&&i.attachEvent("onclick",c);else{i.addEventListener&&i.addEventListener("click",p,false);w.load()}}var w=this,H=null,v,q,m=[],F={},L={},P,X,W,Y,aa,a;x(w,{id:function(){return P},isLoaded:function(){return H!==null},getParent:function(){return i},hide:function(c){if(c)i.style.height="0px";if(H)H.style.height="0px";
return w},show:function(){i.style.height=a+"px";if(H)H.style.height=aa+"px";return w},isHidden:function(){return H&&parseInt(H.style.height,10)===0},load:function(c){if(!H&&w._fireEvent("onBeforeLoad")!==false){C(b,function(){this.unload()});if((v=i.innerHTML)&&!flashembed.isSupported(r.version))i.innerHTML="";flashembed(i,r,{config:s});if(c){c.cached=true;I(L,"onLoad",c)}}return w},unload:function(){if(v.replace(/\s/g,"")!==""){if(w._fireEvent("onBeforeUnload")===false)return w;try{if(H){H.fp_close();
w._fireEvent("onUnload")}}catch(c){}H=null;i.innerHTML=v}return w},getClip:function(c){if(c===undefined)c=Y;return m[c]},getCommonClip:function(){return q},getPlaylist:function(){return m},getPlugin:function(c){var d=F[c];if(!d&&w.isLoaded()){var e=w._api().fp_getPlugin(c);if(e){d=new o(c,e,w);F[c]=d}}return d},getScreen:function(){return w.getPlugin("screen")},getControls:function(){return w.getPlugin("controls")},getConfig:function(c){return c?l(s):s},getFlashParams:function(){return r},loadPlugin:function(c,
d,e,g){if(typeof e=="function"){g=e;e={}}var j=g?A():"_";w._api().fp_loadPlugin(c,d,e,j);d={};d[j]=g;g=new o(c,null,w,d);return F[c]=g},getState:function(){return H?H.fp_getState():-1},play:function(c,d){function e(){c!==undefined?w._api().fp_play(c,d):w._api().fp_play()}H?e():w.load(function(){e()});return w},getVersion:function(){if(H){var c=H.fp_getVersion();c.push("flowplayer.js 3.1.4");return c}return"flowplayer.js 3.1.4"},_api:function(){if(!H)throw"Flowplayer "+w.id()+" not loaded when calling an API method";
return H},setClip:function(c){w.setPlaylist([c]);return w},getIndex:function(){return W}});C("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut".split(","),function(){var c="on"+this;if(c.indexOf("*")!=-1){c=c.substring(0,c.length-1);var d="onBefore"+c.substring(2);w[d]=function(e){I(L,d,e);return w}}w[c]=function(e){I(L,c,e);return w}});C("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed".split(","),
function(){var c=this;w[c]=function(d,e){if(!H)return w;var g=null;g=d!==undefined&&e!==undefined?H["fp_"+c](d,e):d===undefined?H["fp_"+c]():H["fp_"+c](d);return g==="undefined"||g===undefined?w:g}});w._fireEvent=function(c){if(typeof c=="string")c=[c];var d=c[0],e=c[1],g=c[2],j=c[3],u=0;s.debug&&console.log("$f.fireEvent",[].slice.call(c));if(!H&&d=="onLoad"&&e=="player"){H=H||document.getElementById(X);aa=H.clientHeight;C(m,function(){this._fireEvent("onLoad")});C(F,function(Q,R){R._fireEvent("onUpdate")});
q._fireEvent("onLoad")}if(!(d=="onLoad"&&e!="player")){if(d=="onError")if(typeof e=="string"||typeof e=="number"&&typeof g=="number"){e=g;g=j}if(d=="onContextMenu")C(s.contextMenu[e],function(Q,R){R.call(w)});else if(d=="onPluginEvent"){if(j=F[e.name||e]){j._fireEvent("onUpdate",e);j._fireEvent(g,c.slice(3))}}else{if(d=="onPlaylistReplace"){m=[];var z=0;C(e,function(){m.push(new J(this,z++,w))})}if(d=="onClipAdd"){if(e.isInStream)return;e=new J(e,g,w);m.splice(g,0,e);for(u=g+1;u<m.length;u++)m[u].index++}var O=
true;if(typeof e=="number"&&e<m.length){Y=e;if(c=m[e])O=c._fireEvent(d,g,j);if(!c||O!==false)O=q._fireEvent(d,g,j,c)}C(L[d],function(){O=this.call(w,e,g);this.cached&&L[d].splice(u,1);if(O===false)return false;u++});return O}}};typeof i=="string"?flashembed.domReady(function(){var c=document.getElementById(i);if(c){i=c;B()}else throw"Flowplayer cannot access element: "+i;}):B()}function G(i){this.length=i.length;this.each=function(r){C(i,r)};this.size=function(){return i.length}}var J=function(i,
r,s){var B=this,w={},H={};B.index=r;if(typeof i=="string")i={url:i};x(this,i,true);C("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var q="on"+this;if(q.indexOf("*")!=-1){q=q.substring(0,q.length-1);var m="onBefore"+q.substring(2);B[m]=function(F){I(H,m,F);return B}}B[q]=function(F){I(H,q,F);return B};if(r==-1){if(B[m])s[m]=B[m];if(B[q])s[q]=B[q]}});x(this,{onCuepoint:function(q,m){if(arguments.length==1){w.embedded=[null,
q];return B}if(typeof q=="number")q=[q];var F=A();w[F]=[q,m];s.isLoaded()&&s._api().fp_addCuepoints(q,r,F);return B},update:function(q){x(B,q);s.isLoaded()&&s._api().fp_updateClip(q,r);var m=s.getConfig();x(r==-1?m.clip:m.playlist[r],q,true)},_fireEvent:function(q,m,F,L){if(q=="onLoad"){C(w,function(W,Y){Y[0]&&s._api().fp_addCuepoints(Y[0],r,W)});return false}L=L||B;if(q=="onCuepoint"){var P=w[m];if(P)return P[1].call(s,L,F)}if(m&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(q)!=-1){x(L,
m);if(m.metaData)if(L.duration)L.fullDuration=m.metaData.duration;else L.duration=m.metaData.duration}var X=true;C(H[q],function(){X=this.call(s,L,m,F)});return X}});if(i.onCuepoint){var v=i.onCuepoint;B.onCuepoint.apply(B,typeof v=="function"?[v]:v);delete i.onCuepoint}C(i,function(q,m){if(typeof m=="function"){I(H,q,m);delete i[q]}});if(r==-1)s.onCuepoint=this.onCuepoint},o=function(i,r,s,B){var w={},H=this,v=false;B&&x(w,B);C(r,function(q,m){if(typeof m=="function"){w[q]=m;delete r[q]}});x(this,
{animate:function(q,m,F){if(!q)return H;if(typeof m=="function"){F=m;m=500}if(typeof q=="string"){var L=q;q={};q[L]=m;m=500}if(F){var P=A();w[P]=F}if(m===undefined)m=500;r=s._api().fp_animate(i,q,m,P);return H},css:function(q,m){if(m!==undefined){var F={};F[q]=m;q=F}r=s._api().fp_css(i,q);x(H,r);return H},show:function(){this.display="block";s._api().fp_showPlugin(i);return H},hide:function(){this.display="none";s._api().fp_hidePlugin(i);return H},toggle:function(){this.display=s._api().fp_togglePlugin(i);
return H},fadeTo:function(q,m,F){if(typeof m=="function"){F=m;m=500}if(F){var L=A();w[L]=F}this.display=s._api().fp_fadeTo(i,q,m,L);this.opacity=q;return H},fadeIn:function(q,m){return H.fadeTo(1,q,m)},fadeOut:function(q,m){return H.fadeTo(0,q,m)},getName:function(){return i},getPlayer:function(){return s},_fireEvent:function(q,m){if(q=="onUpdate"){var F=s._api().fp_getPlugin(i);if(!F)return;x(H,F);delete H.methods;if(!v){C(F.methods,function(){var L=""+this;H[L]=function(){var P=[].slice.call(arguments);
P=s._api().fp_invoke(i,L,P);return P==="undefined"||P===undefined?H:P}});v=true}}if(F=w[q]){F.apply(H,m);q.substring(0,1)=="_"&&delete w[q]}}})},b=[];window.flowplayer=window.$f=function(){var i=null,r=arguments[0];if(!arguments.length){C(b,function(){if(this.isLoaded()){i=this;return false}});return i||b[0]}if(arguments.length==1)if(typeof r=="number")return b[r];else{if(r=="*")return new G(b);C(b,function(){if(this.id()==r.id||this.id()==r||this.getParent()==r){i=this;return false}});return i}if(arguments.length>
1){var s=arguments[1],B=arguments.length==3?arguments[2]:{};if(typeof r=="string")if(r.indexOf(".")!=-1){var w=[];C(D(r),function(){w.push(new E(this,l(s),l(B)))});return new G(w)}else{var H=document.getElementById(r);return new E(H!==null?H:r,s,B)}else if(r)return new E(r,s,B)}return null};x(window.$f,{fireEvent:function(){var i=[].slice.call(arguments),r=$f(i[0]);return r?r._fireEvent(i.slice(1)):null},addPlugin:function(i,r){E.prototype[i]=r;return $f},each:C,extend:x});if(typeof jQuery=="function")jQuery.prototype.flowplayer=
function(i,r){if(!arguments.length||typeof arguments[0]=="number"){var s=[];this.each(function(){var B=$f(this);B&&s.push(B)});return arguments.length?s[arguments[0]]:new G(s)}return this.each(function(){$f(this,l(i),r?l(r):{})})}})();
(function(){function l(){if(J.done)return false;var o=document;if(o&&o.getElementsByTagName&&o.getElementById&&o.body){clearInterval(J.timer);J.timer=null;for(o=0;o<J.ready.length;o++)J.ready[o].call();J.ready=null;J.done=true}}function C(o,b){if(b)for(key in b)if(b.hasOwnProperty(key))o[key]=b[key];return o}function x(o){switch(D(o)){case "string":o=o.replace(RegExp('(["\\\\])',"g"),"\\$1");o=o.replace(/^\s?(\d+)%/,"$1pct");return'"'+o+'"';case "array":return"["+p(o,function(r){return x(r)}).join(",")+
"]";case "function":return'"function()"';case "object":var b=[];for(var i in o)o.hasOwnProperty(i)&&b.push('"'+i+'":'+x(o[i]));return"{"+b.join(",")+"}"}return String(o).replace(/\s/g," ").replace(/\'/g,'"')}function D(o){if(o===null||o===undefined)return false;var b=typeof o;return b=="object"&&o.push?"array":b}function p(o,b){var i=[];for(var r in o)if(o.hasOwnProperty(r))i[r]=b(o[r]);return i}function I(o,b){var i=C({},o),r=document.all,s='<object width="'+i.width+'" height="'+i.height+'"';if(r&&
!i.id)i.id="_"+(""+Math.random()).substring(9);if(i.id)s+=' id="'+i.id+'"';if(i.cachebusting)i.src+=(i.src.indexOf("?")!=-1?"&":"?")+Math.random();s+=i.w3c||!r?' data="'+i.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';s+=">";if(i.w3c||r)s+='<param name="movie" value="'+i.src+'" />';i.width=i.height=i.id=i.w3c=i.src=null;for(var B in i)if(i[B]!==null)s+='<param name="'+B+'" value="'+i[B]+'" />';i="";if(b){for(var w in b)if(b[w]!==null)i+=w+"="+
(typeof b[w]=="object"?x(b[w]):b[w])+"&";i=i.substring(0,i.length-1);s+='<param name="flashvars" value=\''+i+"' />"}s+="</object>";return s}function A(o,b,i){var r=flashembed.getVersion();C(this,{getContainer:function(){return o},getConf:function(){return b},getVersion:function(){return r},getFlashvars:function(){return i},getApi:function(){return o.firstChild},getHTML:function(){return I(b,i)}});var s=b.version,B=b.expressInstall,w=!s||flashembed.isSupported(s);if(w){b.onFail=b.version=b.expressInstall=
null;o.innerHTML=I(b,i)}else if(s&&B&&flashembed.isSupported([6,65])){C(b,{src:B});i={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};o.innerHTML=I(b,i)}else if(o.innerHTML.replace(/\s/g,"")===""){o.innerHTML="<h2>Flash version "+s+" or greater is required</h2><h3>"+(r[0]>0?"Your version is "+r:"You have no flash plugin installed")+"</h3>"+(o.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");
if(o.tagName=="A")o.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}if(!w&&b.onFail){s=b.onFail.call(this);if(typeof s=="string")o.innerHTML=s}if(document.all)window[b.id]=document.getElementById(b.id)}var E=typeof jQuery=="function",G={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(E){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",
conf:G}}var J=E?jQuery:function(o){if(J.done)return o();if(J.timer)J.ready.push(o);else{J.ready=[o];J.timer=setInterval(l,13)}};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});window.flashembed=function(o,b,i){if(typeof o=="string"){var r=document.getElementById(o);if(r)o=r;else{J(function(){flashembed(o,b,i)});return}}if(o){if(typeof b=="string")b={src:b};r=C({},G);C(r,b);return new A(o,r,i)}};C(window.flashembed,
{getVersion:function(){var o=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var b=navigator.plugins["Shockwave Flash"].description;if(typeof b!="undefined"){b=b.replace(/^.*\s+(\S+\s+\S+$)/,"$1");o=parseInt(b.replace(/^(.*)\..*$/,"$1"),10);b=/r/.test(b)?parseInt(b.replace(/^.*r(.*)$/,"$1"),10):0;o=[o,b]}}else if(window.ActiveXObject){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(i){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");o=
[6,0];b.AllowScriptAccess="always"}catch(r){if(o[0]==6)return o}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(s){}}if(typeof b=="object"){b=b.GetVariable("$version");if(typeof b!="undefined"){b=b.replace(/^\S+\s+(.*)$/,"$1").split(",");o=[parseInt(b[0],10),parseInt(b[2],10)]}}}return o},isSupported:function(o){var b=flashembed.getVersion();return b[0]>o[0]||b[0]==o[0]&&b[1]>=o[1]},domReady:J,asString:x,getHTML:I});if(E)jQuery.fn.flashembed=function(o,b){var i=null;this.each(function(){i=
flashembed(this,o,b)});return o.api===false?this:i}})();
$f.addPlugin("controls",function(l,C){function x(m){if(typeof m=="undefined")m=window.event;if(typeof m.layerX=="undefined")m.layerX=m.offsetX;if(typeof m.layerY=="undefined")m.layerY=m.offsetY;return m}function D(m){var F=l.getElementsByTagName("*");m=RegExp("(^|\\s)"+m+"(\\s|$)");for(var L=0;L<F.length;L++)if(m.test(F[L].className))return F[L]}function p(m){m=parseInt(m,10);return m>=10?m:"0"+m}function I(m){var F=Math.floor(m/3600),L=Math.floor(m/60);m-=L*60;if(F>=1){L-=F*60;return p(F)+":"+p(L)+
":"+p(m)}return p(L)+":"+p(m)}function A(m,F){return"<span>"+I(m)+"</span> <strong>"+I(F)+"</strong>"}var E=this,G={playHeadClass:"playhead",trackClass:"track",playClass:"play",pauseClass:"pause",bufferClass:"buffer",progressClass:"progress",timeClass:"time",muteClass:"mute",unmuteClass:"unmute",duration:0,template:'<a class="play">play</a><div class="track"><div class="buffer"></div><div class="progress"></div><div class="playhead"></div></div><div class="time"></div><a class="mute">mute</a>'};(function(m,
F){if(F)for(key in F)if(key)m[key]=F[key]})(G,C);if(typeof l=="string")l=document.getElementById(l);if(l){if(!l.innerHTML.replace(/\s/g,""))l.innerHTML=G.template;var J=D(G.playHeadClass),o=D(G.bufferClass),b=D(G.progressClass),i=D(G.trackClass),r=D(G.timeClass),s=D(G.muteClass);r.innerHTML=A(0,G.duration);var B=i.clientWidth,w=J.clientWidth,H=new (function(m,F,L,P){function X(){}function W(c){if(c>L)return false;if(c<F)return false;m.style.left=c+"px";return true}function Y(){document.onmousemove=
null;document.onmouseup=null;m.onDragEnd(parseInt(m.style.left,10));a=false}function aa(c){c=x(c);c=c.clientX-P;if(W(c)){a=true;m.onDrag(c)}return false}var a=false;m.onDragStart=m.onDragStart||X;m.onDragEnd=m.onDragEnd||X;m.onDrag=m.onDrag||X;m.onmousedown=function(c){x(c);m.onDragStart(parseInt(m.style.left,10));document.onmousemove=aa;document.onmouseup=Y;return false};this.dragTo=function(c){W(c)&&m.onDragEnd(c)};this.setMax=function(c){L=c};this.isDragging=function(){return a};return this})(J,
0,0,l.offsetLeft+i.offsetLeft+w/2);i.onclick=function(m){m=x(m);if(m.target==J)return false;H.dragTo(m.layerX-w/2)};var v=D(G.playClass);v.onclick=function(){E.isLoaded()?E.toggle():E.play()};s.onclick=function(){E.getStatus().muted?E.unmute():E.mute()};var q=null;E.onStart(function(m){var F=m.duration||0;clearInterval(q);q=setInterval(function(){var L=E.getStatus();if(L.time)r.innerHTML=A(L.time,m.duration);if(L.time===undefined)clearInterval(q);else{var P=parseInt(Math.min(L.bufferEnd/F*B,B-w/2),
10);o.style.width=P+"px";H.setMax(P);if(!E.isPaused()&&!H.isDragging()){P=parseInt(Math.min(L.time/F*B,B-w/2),10);b.style.width=P+"px";J.style.left=P-w/2+"px"}}},500)});E.onBegin(function(){v.className=G.pauseClass});E.onPause(function(){v.className=G.playClass});E.onResume(function(){v.className=G.pauseClass});E.onMute(function(){s.className=G.unmuteClass});E.onUnmute(function(){s.className=G.muteClass});E.onFinish(function(){clearInterval(q)});E.onUnload(function(){r.innerHTML=A(0,G.duration)});
J.onDragEnd=function(m){var F=parseInt(m/B*100,10)+"%";b.style.width=m+"px";E.isLoaded()&&E.seek(F)};J.onDrag=function(m){b.style.width=m+"px"};return E}});
(function(l){$f.addPlugin("playlist",function(C,x){function D(B){var w=s;l.each(B,function(H,v){l.isFunction(v)||(w=w.replace("${"+H+"}",v).replace("$%7B"+H+"%7D",v))});return w}function p(){i=C.children().unbind("click.playlist").bind("click.playlist",function(){return A(l(this),i.index(this))})}function I(){C.empty();l.each(J.getPlaylist(),function(){C.append(D(this))});p()}function A(B,w){if(B.hasClass(o.playingClass)||B.hasClass(o.pausedClass))J.toggle();else{B.addClass(o.progressClass);J.play(w)}return false}
function E(){if(b)i=C.children();i.removeClass(o.playingClass);i.removeClass(o.pausedClass);i.removeClass(o.progressClass)}function G(B){return b?i.filter("[href="+B.originalUrl+"]"):i.eq(B.index)}var J=this,o={playingClass:"playing",pausedClass:"paused",progressClass:"progress",template:'<a href="${url}">${title}</a>',loop:false,playOnClick:true,manual:false};l.extend(o,x);C=l(C);var b=J.getPlaylist().length<=1||o.manual,i=null;if(b){i=C.children();l.isFunction(i.live)?l(C.selector+"> *").live("click",
function(){var B=l(this);return A(B,B.attr("href"))}):i.click(function(){var B=l(this);return A(B,B.attr("href"))});var r=J.getClip(0);!r.url&&o.playOnClick&&r.update({url:i.eq(0).attr("href")})}else{var s=C.is(":empty")?o.template:C.html();I()}J.onBegin(function(B){E();G(B).addClass(o.playingClass)});J.onPause(function(B){G(B).removeClass(o.playingClass).addClass(o.pausedClass)});J.onResume(function(B){G(B).removeClass(o.pausedClass).addClass(o.playingClass)});!o.loop&&!b&&J.onBeforeFinish(function(B){if(!B.isInStream&&
B.index<i.length-1)return false});b&&o.loop&&J.onBeforeFinish(function(B){B=G(B);B.next().length?B.next().click():i.eq(0).click();return false});J.onUnload(function(){E()});b||J.onPlaylistReplace(function(){I()});J.onClipAdd(function(B,w){i.eq(w).before(D(B));p()});return J})})(jQuery);
(function(){function l(C,x){if(C.substring(0,4)=="http")return C;if(x)return x+(x.substring(x.length-1)!="/"?"/":"")+C;x=location.protocol+"//"+location.host;if(C.substring(0,1)=="/")return x+C;var D=location.pathname;D=D.substring(0,D.lastIndexOf("/"));return x+D+"/"+C}$f.addPlugin("embed",function(C){var x=this,D=x.getConfig(true),p={width:x.getParent().clientWidth||"100%",height:x.getParent().clientHeight||"100%",url:l(x.getFlashParams().src),index:-1,allowfullscreen:true,allowscriptaccess:"always"};
$f.extend(p,C);p.src=p.url;p.w3c=true;delete D.playerId;delete p.url;delete p.index;this.getEmbedCode=function(I,A){A=typeof A=="number"?A:p.index;if(A>=0)D.playlist=[x.getPlaylist()[A]];A=0;$f.each(D.playlist,function(){D.playlist[A++].url=l(this.url,this.baseUrl)});var E=flashembed.getHTML(p,{config:D});I||(E=E.replace(/\</g,"&lt;").replace(/\>/g,"&gt;"));return E};return x})})();(function(l){function C(D,p){this.root=l(D);this.cfg=p||C.DEFAULTS}function x(D,p){var I=this,A=l(D).parent().parent(),E=A.find("ul");this.item=A;this.submenu=E;E.length>0&&A.hover(function(){p._mouseenter(I)},function(){p._mouseleave(I)})}C.DEFAULTS={delay:false};C.prototype=function(){function D(I,A,E,G){if(p){window.clearTimeout(p);p=false}p=setTimeout(function(){I.apply(E||I,A||[])},G||200)}var p=false;return{isActive:false,activeItem:false,items:[],addItem:function(I){this.items.push(new x(I,
this))},_mouseenter:function(I){this.cfg.delay?D(I.show,[false],I,this.cfg.delay):I.show()},_mouseleave:function(I){this.cfg.delay?D(I.hide,[false],I,this.cfg.delay):I.hide()}}}();x.prototype={show:function(){this.item.addClass("hover");this.submenu.show()},hide:function(){this.item.removeClass("hover");this.submenu.hide()}};l.fn.menu=function(D){var p=new C(this,D);l(this).find("a span").each(function(){p.addItem(this)})}})(jQuery);(function(l){l.fn.lazyload=function(C){var x={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};C&&l.extend(x,C);var D=this;"scroll"==x.event&&l(x.container).bind("scroll",function(){var p=0;D.each(function(){if(!(l.abovethetop(this,x)||l.leftofbegin(this,x)))if(!l.belowthefold(this,x)&&!l.rightoffold(this,x))l(this).trigger("appear");else if(p++>x.failurelimit)return false});var I=l.grep(D,function(A){return!A.loaded});D=l(I)});this.each(function(){var p=this;undefined==l(p).attr("original")&&
l(p).attr("original",l(p).attr("src"));if("scroll"!=x.event||undefined==l(p).attr("src")||x.placeholder==l(p).attr("src")||l.abovethetop(p,x)||l.leftofbegin(p,x)||l.belowthefold(p,x)||l.rightoffold(p,x)){x.placeholder?l(p).attr("src",x.placeholder):l(p).removeAttr("src");p.loaded=false}else p.loaded=true;l(p).one("appear",function(){this.loaded||l("<img />").bind("load",function(){l(p).hide().attr("src",l(p).attr("original"))[x.effect](x.effectspeed);p.loaded=true}).attr("src",l(p).attr("original"))});
"scroll"!=x.event&&l(p).bind(x.event,function(){p.loaded||l(p).trigger("appear")})});l(x.container).trigger(x.event);return this};l.belowthefold=function(C,x){return(x.container===undefined||x.container===window?l(window).height()+l(window).scrollTop():l(x.container).offset().top+l(x.container).height())<=l(C).offset().top-x.threshold};l.rightoffold=function(C,x){return(x.container===undefined||x.container===window?l(window).width()+l(window).scrollLeft():l(x.container).offset().left+l(x.container).width())<=
l(C).offset().left-x.threshold};l.abovethetop=function(C,x){return(x.container===undefined||x.container===window?l(window).scrollTop():l(x.container).offset().top)>=l(C).offset().top+x.threshold+l(C).height()};l.leftofbegin=function(C,x){return(x.container===undefined||x.container===window?l(window).scrollLeft():l(x.container).offset().left)>=l(C).offset().left+x.threshold+l(C).width()};l.extend(l.expr[":"],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})",
"right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"})})(jQuery);
