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