/*
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Sat Feb 13 22:33:48 2010 -0500
*/
(function(aU,aR){var G=function(a0,aZ){return new G.fn.init(a0,aZ)},b=aU.jQuery,a=aU.$,m=aU.document,ap,O=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,F=/^.[^:#\[\.,]*$/,am=/\S/,aE=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,az=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aS=navigator.userAgent,e,V=false,W=[],n,aP=Object.prototype.toString,C=Object.prototype.hasOwnProperty,N=Array.prototype.push,aL=Array.prototype.slice,D=Array.prototype.indexOf;G.fn=G.prototype={init:function(a4,aZ){var a2,a1,a3,a0;if(!a4){return this}if(a4.nodeType){this.context=this[0]=a4;this.length=1;return this}if(a4==="body"&&!aZ){this.context=m;this[0]=m.body;this.selector="body";this.length=1;return this}if(typeof a4==="string"){a2=O.exec(a4);if(a2&&(a2[1]||!aZ)){if(a2[1]){a0=(aZ?aZ.ownerDocument||aZ:m);a3=az.exec(a4);if(a3){if(G.isPlainObject(aZ)){a4=[m.createElement(a3[1])];G.fn.attr.call(a4,aZ,true)}else{a4=[a0.createElement(a3[1])]}}else{a3=f([a2[1]],[a0]);a4=(a3.cacheable?a3.fragment.cloneNode(true):a3.fragment).childNodes}return G.merge(this,a4)}else{a1=m.getElementById(a2[2]);if(a1){if(a1.id!==a2[2]){return ap.find(a4)}this.length=1;this[0]=a1}this.context=m;this.selector=a4;return this}}else{if(!aZ&&/^\w+$/.test(a4)){this.selector=a4;this.context=m;a4=m.getElementsByTagName(a4);return G.merge(this,a4)}else{if(!aZ||aZ.jquery){return(aZ||ap).find(a4)}else{return G(aZ).find(a4)}}}}else{if(G.isFunction(a4)){return ap.ready(a4)}}if(a4.selector!==aR){this.selector=a4.selector;this.context=a4.context}return G.makeArray(a4,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return aL.call(this,0)},get:function(aZ){return aZ==null?this.toArray():(aZ<0?this.slice(aZ)[0]:this[aZ])},pushStack:function(aZ,a0,a2){var a1=G();if(G.isArray(aZ)){N.apply(a1,aZ)}else{G.merge(a1,aZ)}a1.prevObject=this;a1.context=this.context;if(a0==="find"){a1.selector=this.selector+(this.selector?" ":"")+a2}else{if(a0){a1.selector=this.selector+"."+a0+"("+a2+")"}}return a1},each:function(a0,aZ){return G.each(this,a0,aZ)},ready:function(aZ){G.bindReady();if(G.isReady){aZ.call(m,G)}else{if(W){W.push(aZ)}}return this},eq:function(aZ){return aZ===-1?this.slice(aZ):this.slice(aZ,+aZ+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(aL.apply(this,arguments),"slice",aL.call(arguments).join(","))},map:function(aZ){return this.pushStack(G.map(this,function(a0,a1){return aZ.call(a0,a1,a0)}))},end:function(){return this.prevObject||G(null)},push:N,sort:[].sort,splice:[].splice};G.fn.init.prototype=G.fn;G.extend=G.fn.extend=function(){var a7=arguments[0]||{},a2=1,a3=arguments.length,a1=false,a5,a4,a6,a0;if(typeof a7==="boolean"){a1=a7;a7=arguments[1]||{};a2=2}if(typeof a7!=="object"&&!G.isFunction(a7)){a7={}}if(a3===a2){a7=this;--a2}for(;a2<a3;a2++){if((a5=arguments[a2])!=null){for(a4 in a5){a6=a7[a4];a0=a5[a4];if(a7===a0){continue}if(a1&&a0&&(G.isPlainObject(a0)||G.isArray(a0))){var aZ=a6&&(G.isPlainObject(a6)||G.isArray(a6))?a6:G.isArray(a0)?[]:{};a7[a4]=G.extend(a1,aZ,a0)}else{if(a0!==aR){a7[a4]=a0}}}}}return a7};G.extend({noConflict:function(aZ){aU.$=a;if(aZ){aU.jQuery=b}return G},isReady:false,ready:function(){if(!G.isReady){if(!m.body){return setTimeout(G.ready,13)}G.isReady=true;if(W){var aZ,a0=0;while((aZ=W[a0++])){aZ.call(m,G)}W=null}if(G.fn.triggerHandler){G(m).triggerHandler("ready")}}},bindReady:function(){if(V){return}V=true;if(m.readyState==="complete"){return G.ready()}if(m.addEventListener){m.addEventListener("DOMContentLoaded",n,false);aU.addEventListener("load",G.ready,false)}else{if(m.attachEvent){m.attachEvent("onreadystatechange",n);aU.attachEvent("onload",G.ready);var a0=false;try{a0=aU.frameElement==null}catch(aZ){}if(m.documentElement.doScroll&&a0){o()}}}},isFunction:function(aZ){return aP.call(aZ)==="[object Function]"},isArray:function(aZ){return aP.call(aZ)==="[object Array]"},isPlainObject:function(a0){if(!a0||aP.call(a0)!=="[object Object]"||a0.nodeType||a0.setInterval){return false}if(a0.constructor&&!C.call(a0,"constructor")&&!C.call(a0.constructor.prototype,"isPrototypeOf")){return false}var aZ;for(aZ in a0){}return aZ===aR||C.call(a0,aZ)},isEmptyObject:function(a0){for(var aZ in a0){return false}return true},error:function(aZ){throw aZ},parseJSON:function(aZ){if(typeof aZ!=="string"||!aZ){return null}aZ=G.trim(aZ);if(/^[\],:{}\s]*$/.test(aZ.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return aU.JSON&&aU.JSON.parse?aU.JSON.parse(aZ):(new Function("return "+aZ))()}else{G.error("Invalid JSON: "+aZ)}},noop:function(){},globalEval:function(aZ){if(aZ&&am.test(aZ)){var a0=m.getElementsByTagName("head")[0]||m.documentElement,a1=m.createElement("script");a1.type="text/javascript";if(G.support.scriptEval){a1.appendChild(m.createTextNode(aZ))}else{a1.text=aZ}a0.insertBefore(a1,a0.firstChild);a0.removeChild(a1)}},nodeName:function(aZ,a0){return aZ.nodeName&&aZ.nodeName.toUpperCase()===a0.toUpperCase()},each:function(a5,a0,aZ){var a4,a1=0,a3=a5.length,a2=a3===aR||G.isFunction(a5);if(aZ){if(a2){for(a4 in a5){if(a0.apply(a5[a4],aZ)===false){break}}}else{for(;a1<a3;){if(a0.apply(a5[a1++],aZ)===false){break}}}}else{if(a2){for(a4 in a5){if(a0.call(a5[a4],a4,a5[a4])===false){break}}}else{for(var a6=a5[0];a1<a3&&a0.call(a6,a1,a6)!==false;a6=a5[++a1]){}}}return a5},trim:function(aZ){return(aZ||"").replace(aE,"")},makeArray:function(aZ,a0){var a1=a0||[];if(aZ!=null){if(aZ.length==null||typeof aZ==="string"||G.isFunction(aZ)||(typeof aZ!=="function"&&aZ.setInterval)){N.call(a1,aZ)}else{G.merge(a1,aZ)}}return a1},inArray:function(a0,aZ){if(aZ.indexOf){return aZ.indexOf(a0)}for(var a1=0,a2=aZ.length;a1<a2;a1++){if(aZ[a1]===a0){return a1}}return -1},merge:function(aZ,a3){var a0=aZ.length,a1=0;if(typeof a3.length==="number"){for(var a2=a3.length;a1<a2;a1++){aZ[a0++]=a3[a1]}}else{while(a3[a1]!==aR){aZ[a0++]=a3[a1++]}}aZ.length=a0;return aZ},grep:function(a0,aZ,a2){var a4=[];for(var a1=0,a3=a0.length;a1<a3;a1++){if(!a2!==!aZ(a0[a1],a1)){a4.push(a0[a1])}}return a4},map:function(a1,a0,aZ){var a4=[],a5;for(var a2=0,a3=a1.length;a2<a3;a2++){a5=a0(a1[a2],a2,aZ);if(a5!=null){a4[a4.length]=a5}}return a4.concat.apply([],a4)},guid:1,proxy:function(aZ,a0,a1){if(arguments.length===2){if(typeof a0==="string"){a1=aZ;aZ=a1[a0];a0=aR}else{if(a0&&!G.isFunction(a0)){a1=a0;a0=aR}}}if(!a0&&aZ){a0=function(){return aZ.apply(a1||this,arguments)}}if(aZ){a0.guid=aZ.guid=aZ.guid||a0.guid||G.guid++}return a0},uaMatch:function(a0){a0=a0.toLowerCase();var aZ=/(webkit)[ \/]([\w.]+)/.exec(a0)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a0)||/(msie) ([\w.]+)/.exec(a0)||!/compatible/.test(a0)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a0)||[];return{browser:aZ[1]||"",version:aZ[2]||"0"}},browser:{}});e=G.uaMatch(aS);if(e.browser){G.browser[e.browser]=true;G.browser.version=e.version}if(G.browser.webkit){G.browser.safari=true}if(D){G.inArray=function(a0,aZ){return D.call(aZ,a0)}}ap=G(m);if(m.addEventListener){n=function(){m.removeEventListener("DOMContentLoaded",n,false);G.ready()}}else{if(m.attachEvent){n=function(){if(m.readyState==="complete"){m.detachEvent("onreadystatechange",n);G.ready()}}}}function o(){if(G.isReady){return}try{m.documentElement.doScroll("left")}catch(aZ){setTimeout(o,1);return}G.ready()}function r(a0,aZ){if(aZ.src){G.ajax({url:aZ.src,async:false,dataType:"script"})}else{G.globalEval(aZ.text||aZ.textContent||aZ.innerHTML||"")}if(aZ.parentNode){aZ.parentNode.removeChild(aZ)}}function d(aZ,a4,a7,a0,a1,a6){var a5=aZ.length;if(typeof a4==="object"){for(var a3 in a4){d(aZ,a3,a4[a3],a0,a1,a7)}return aZ}if(a7!==aR){a0=!a6&&a0&&G.isFunction(a7);for(var a2=0;a2<a5;a2++){a1(aZ[a2],a4,a0?a7.call(aZ[a2],a2,a1(aZ[a2],a4)):a7,a6)}return aZ}return a5?a1(aZ[0],a4):aR}function M(){return(new Date).getTime()}(function(){G.support={};var a7=m.documentElement,a8=m.createElement("script"),a2=m.createElement("div"),a6="script"+M();a2.style.display="none";a2.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var a0=a2.getElementsByTagName("*"),aZ=a2.getElementsByTagName("a")[0];if(!a0||!a0.length||!aZ){return}G.support={leadingWhitespace:a2.firstChild.nodeType===3,tbody:!a2.getElementsByTagName("tbody").length,htmlSerialize:!!a2.getElementsByTagName("link").length,style:/red/.test(aZ.getAttribute("style")),hrefNormalized:aZ.getAttribute("href")==="/a",opacity:/^0.55$/.test(aZ.style.opacity),cssFloat:!!aZ.style.cssFloat,checkOn:a2.getElementsByTagName("input")[0].value==="on",optSelected:m.createElement("select").appendChild(m.createElement("option")).selected,parentNode:a2.removeChild(a2.appendChild(m.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};a8.type="text/javascript";try{a8.appendChild(m.createTextNode("window."+a6+"=1;"))}catch(a3){}a7.insertBefore(a8,a7.firstChild);if(aU[a6]){G.support.scriptEval=true;delete aU[a6]}try{delete a8.test}catch(a3){G.support.deleteExpando=false}a7.removeChild(a8);if(a2.attachEvent&&a2.fireEvent){a2.attachEvent("onclick",function a1(){G.support.noCloneEvent=false;a2.detachEvent("onclick",a1)});a2.cloneNode(true).fireEvent("onclick")}a2=m.createElement("div");a2.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var a5=m.createDocumentFragment();a5.appendChild(a2.firstChild);G.support.checkClone=a5.cloneNode(true).cloneNode(true).lastChild.checked;G(function(){var a9=m.createElement("div");a9.style.width=a9.style.paddingLeft="1px";m.body.appendChild(a9);G.boxModel=G.support.boxModel=a9.offsetWidth===2;m.body.removeChild(a9).style.display="none";a9=null});var a4=function(ba){var a9=m.createElement("div");ba="on"+ba;var bb=(ba in a9);if(!bb){a9.setAttribute(ba,"return;");bb=typeof a9[ba]==="function"}a9=null;return bb};G.support.submitBubbles=a4("submit");G.support.changeBubbles=a4("change");a7=a8=a2=a0=aZ=null})();G.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var s="jQuery"+M(),aT=0,aV={};G.extend({cache:{},expando:s,noData:{embed:true,object:true,applet:true},data:function(a1,a3,a0){if(a1.nodeName&&G.noData[a1.nodeName.toLowerCase()]){return}a1=a1==aU?aV:a1;var a2=a1[s],aZ=G.cache,a4;if(!a2&&typeof a3==="string"&&a0===aR){return null}if(!a2){a2=++aT}if(typeof a3==="object"){a1[s]=a2;a4=aZ[a2]=G.extend(true,{},a3)}else{if(!aZ[a2]){a1[s]=a2;aZ[a2]={}}}a4=aZ[a2];if(a0!==aR){a4[a3]=a0}return typeof a3==="string"?a4[a3]:a4},removeData:function(a0,a2){if(a0.nodeName&&G.noData[a0.nodeName.toLowerCase()]){return}a0=a0==aU?aV:a0;var a1=a0[s],aZ=G.cache,a3=aZ[a1];if(a2){if(a3){delete a3[a2];if(G.isEmptyObject(a3)){G.removeData(a0)}}}else{if(G.support.deleteExpando){delete a0[G.expando]}else{if(a0.removeAttribute){a0.removeAttribute(G.expando)}}delete aZ[a1]}}});G.fn.extend({data:function(a0,a2){if(typeof a0==="undefined"&&this.length){return G.data(this[0])}else{if(typeof a0==="object"){return this.each(function(){G.data(this,a0)})}}var a1=a0.split(".");a1[1]=a1[1]?"."+a1[1]:"";if(a2===aR){var aZ=this.triggerHandler("getData"+a1[1]+"!",[a1[0]]);if(aZ===aR&&this.length){aZ=G.data(this[0],a0)}return aZ===aR&&a1[1]?this.data(a1[0]):aZ}else{return this.trigger("setData"+a1[1]+"!",[a1[0],a2]).each(function(){G.data(this,a0,a2)})}},removeData:function(aZ){return this.each(function(){G.removeData(this,aZ)})}});G.extend({queue:function(a0,a2,aZ){if(!a0){return}a2=(a2||"fx")+"queue";var a1=G.data(a0,a2);if(!aZ){return a1||[]}if(!a1||G.isArray(aZ)){a1=G.data(a0,a2,G.makeArray(aZ))}else{a1.push(aZ)}return a1},dequeue:function(aZ,a2){a2=a2||"fx";var a1=G.queue(aZ,a2),a0=a1.shift();if(a0==="inprogress"){a0=a1.shift()}if(a0){if(a2==="fx"){a1.unshift("inprogress")}a0.call(aZ,function(){G.dequeue(aZ,a2)})}}});G.fn.extend({queue:function(a0,aZ){if(typeof a0!=="string"){aZ=a0;a0="fx"}if(aZ===aR){return G.queue(this[0],a0)}return this.each(function(a2,a1){var a3=G.queue(this,a0,aZ);if(a0==="fx"&&a3[0]!=="inprogress"){G.dequeue(this,a0)}})},dequeue:function(aZ){return this.each(function(){G.dequeue(this,aZ)})},delay:function(aZ,a0){aZ=G.fx?G.fx.speeds[aZ]||aZ:aZ;a0=a0||"fx";return this.queue(a0,function(){var a1=this;setTimeout(function(){G.dequeue(a1,a0)},aZ)})},clearQueue:function(aZ){return this.queue(aZ||"fx",[])}});var S=/[\n\t]/g,aA=/\s+/,av=/\r/g,aB=/href|src|style/,aG=/(button|input)/i,ac=/(button|input|object|select|textarea)/i,T=/^(a|area)$/i,au=/radio|checkbox/;G.fn.extend({attr:function(aZ,a0){return d(this,aZ,a0,true,G.attr)},removeAttr:function(a0,aZ){return this.each(function(){G.attr(this,a0,"");if(this.nodeType===1){this.removeAttribute(a0)}})},addClass:function(a7){if(G.isFunction(a7)){return this.each(function(a8){var a9=G(this);a9.addClass(a7.call(this,a8,a9.attr("class")))})}if(a7&&typeof a7==="string"){var a2=(a7||"").split(aA);for(var a4=0,a5=this.length;a4<a5;a4++){var a3=this[a4];if(a3.nodeType===1){if(!a3.className){a3.className=a7}else{var a1=" "+a3.className+" ",a6=a3.className;for(var aZ=0,a0=a2.length;aZ<a0;aZ++){if(a1.indexOf(" "+a2[aZ]+" ")<0){a6+=" "+a2[aZ]}}a3.className=G.trim(a6)}}}}return this},removeClass:function(a6){if(G.isFunction(a6)){return this.each(function(a7){var a8=G(this);a8.removeClass(a6.call(this,a7,a8.attr("class")))})}if((a6&&typeof a6==="string")||a6===aR){var a2=(a6||"").split(aA);for(var a4=0,a5=this.length;a4<a5;a4++){var a3=this[a4];if(a3.nodeType===1&&a3.className){if(a6){var a1=(" "+a3.className+" ").replace(S," ");for(var aZ=0,a0=a2.length;aZ<a0;aZ++){a1=a1.replace(" "+a2[aZ]+" "," ")}a3.className=G.trim(a1)}else{a3.className=""}}}}return this},toggleClass:function(a2,a0){var a1=typeof a2,aZ=typeof a0==="boolean";if(G.isFunction(a2)){return this.each(function(a3){var a4=G(this);a4.toggleClass(a2.call(this,a3,a4.attr("class"),a0),a0)})}return this.each(function(){if(a1==="string"){var a3,a5=0,a6=G(this),a7=a0,a4=a2.split(aA);while((a3=a4[a5++])){a7=aZ?a7:!a6.hasClass(a3);a6[a7?"addClass":"removeClass"](a3)}}else{if(a1==="undefined"||a1==="boolean"){if(this.className){G.data(this,"__className__",this.className)}this.className=this.className||a2===false?"":G.data(this,"__className__")||""}}})},hasClass:function(a2){var aZ=" "+a2+" ";for(var a0=0,a1=this.length;a0<a1;a0++){if((" "+this[a0].className+" ").replace(S," ").indexOf(aZ)>-1){return true}}return false},val:function(a7){if(a7===aR){var aZ=this[0];if(aZ){if(G.nodeName(aZ,"option")){return(aZ.attributes.value||{}).specified?aZ.value:aZ.text}if(G.nodeName(aZ,"select")){var a1=aZ.selectedIndex,a8=[],a6=aZ.options,a4=aZ.type==="select-one";if(a1<0){return null}for(var a0=a4?a1:0,a3=a4?a1+1:a6.length;a0<a3;a0++){var a5=a6[a0];if(a5.selected){a7=G(a5).val();if(a4){return a7}a8.push(a7)}}return a8}if(au.test(aZ.type)&&!G.support.checkOn){return aZ.getAttribute("value")===null?"on":aZ.value}return(aZ.value||"").replace(av,"")}return aR}var a2=G.isFunction(a7);return this.each(function(a9){var ba=G(this),bb=a7;if(this.nodeType!==1){return}if(a2){bb=a7.call(this,a9,ba.val())}if(typeof bb==="number"){bb+=""}if(G.isArray(bb)&&au.test(this.type)){this.checked=G.inArray(ba.val(),bb)>=0}else{if(G.nodeName(this,"select")){var bc=G.makeArray(bb);G("option",this).each(function(){this.selected=G.inArray(G(this).val(),bc)>=0});if(!bc.length){this.selectedIndex=-1}}else{this.value=bb}}})}});G.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a1,a2,a8,a5){if(!a1||a1.nodeType===3||a1.nodeType===8){return aR}if(a5&&a2 in G.attrFn){return G(a1)[a2](a8)}var a3=a1.nodeType!==1||!G.isXMLDoc(a1),a6=a8!==aR;a2=a3&&G.props[a2]||a2;if(a1.nodeType===1){var a7=aB.test(a2);if(a2==="selected"&&!G.support.optSelected){var a4=a1.parentNode;if(a4){a4.selectedIndex;if(a4.parentNode){a4.parentNode.selectedIndex}}}if(a2 in a1&&a3&&!a7){if(a6){if(a2==="type"&&aG.test(a1.nodeName)&&a1.parentNode){G.error("type property can't be changed")}a1[a2]=a8}if(G.nodeName(a1,"form")&&a1.getAttributeNode(a2)){return a1.getAttributeNode(a2).nodeValue}if(a2==="tabIndex"){var a0=a1.getAttributeNode("tabIndex");return a0&&a0.specified?a0.value:ac.test(a1.nodeName)||T.test(a1.nodeName)&&a1.href?0:aR}return a1[a2]}if(!G.support.style&&a3&&a2==="style"){if(a6){a1.style.cssText=""+a8}return a1.style.cssText}if(a6){a1.setAttribute(a2,""+a8)}var aZ=!G.support.hrefNormalized&&a3&&a7?a1.getAttribute(a2,2):a1.getAttribute(a2);return aZ===null?aR:aZ}return G.style(a1,a2,a8)}});var ak=/\.(.*)$/,u=function(aZ){return aZ.replace(/[^\w\s\.\|`]/g,function(a0){return"\\"+a0})};G.event={add:function(a0,bc,a6,aZ){if(a0.nodeType===3||a0.nodeType===8){return}if(a0.setInterval&&(a0!==aU&&!a0.frameElement)){a0=aU}var a5,a4;if(a6.handler){a5=a6;a6=a5.handler}if(!a6.guid){a6.guid=G.guid++}var a1=G.data(a0);if(!a1){return}var a3=a1.events=a1.events||{},a2=a1.handle,a2;if(!a2){a1.handle=a2=function(){return typeof G!=="undefined"&&!G.event.triggered?G.event.handle.apply(a2.elem,arguments):aR}}a2.elem=a0;bc=bc.split(" ");var bb,a8=0,a9;while((bb=bc[a8++])){a4=a5?G.extend({},a5):{handler:a6,data:aZ};if(bb.indexOf(".")>-1){a9=bb.split(".");bb=a9.shift();a4.namespace=a9.slice(0).sort().join(".")}else{a9=[];a4.namespace=""}a4.type=bb;a4.guid=a6.guid;var a7=a3[bb],ba=G.event.special[bb]||{};if(!a7){a7=a3[bb]=[];if(!ba.setup||ba.setup.call(a0,aZ,a9,a2)===false){if(a0.addEventListener){a0.addEventListener(bb,a2,false)}else{if(a0.attachEvent){a0.attachEvent("on"+bb,a2)}}}}if(ba.add){ba.add.call(a0,a4);if(!a4.handler.guid){a4.handler.guid=a6.guid}}a7.push(a4);G.event.global[bb]=true}a0=null},global:{},remove:function(a0,bh,a7,bd){if(a0.nodeType===3||a0.nodeType===8){return}var be,bg,a4,a8=0,aZ,bb,ba,bf,a3,a6,bc,a1=G.data(a0),a2=a1&&a1.events;if(!a1||!a2){return}if(bh&&bh.type){a7=bh.handler;bh=bh.type}if(!bh||typeof bh==="string"&&bh.charAt(0)==="."){bh=bh||"";for(bg in a2){G.event.remove(a0,bg+bh)}return}bh=bh.split(" ");while((bg=bh[a8++])){bc=bg;a6=null;aZ=bg.indexOf(".")<0;bb=[];if(!aZ){bb=bg.split(".");bg=bb.shift();ba=new RegExp("(^|\\.)"+G.map(bb.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")}a3=a2[bg];if(!a3){continue}if(!a7){for(var a9=0;a9<a3.length;a9++){a6=a3[a9];if(aZ||ba.test(a6.namespace)){G.event.remove(a0,bc,a6.handler,a9);a3.splice(a9--,1)}}continue}bf=G.event.special[bg]||{};for(var a9=bd||0;a9<a3.length;a9++){a6=a3[a9];if(a7.guid===a6.guid){if(aZ||ba.test(a6.namespace)){if(bd==null){a3.splice(a9--,1)}if(bf.remove){bf.remove.call(a0,a6)}}if(bd!=null){break}}}if(a3.length===0||bd!=null&&a3.length===1){if(!bf.teardown||bf.teardown.call(a0,bb)===false){X(a0,bg,a1.handle)}be=null;delete a2[bg]}}if(G.isEmptyObject(a2)){var a5=a1.handle;if(a5){a5.elem=null}delete a1.events;delete a1.handle;if(G.isEmptyObject(a1)){G.removeData(a0)}}},trigger:function(a3,a0,a2){var ba=a3.type||a3,aZ=arguments[3];if(!aZ){a3=typeof a3==="object"?a3[s]?a3:G.extend(G.Event(ba),a3):G.Event(ba);if(ba.indexOf("!")>=0){a3.type=ba=ba.slice(0,-1);a3.exclusive=true}if(!a2){a3.stopPropagation();if(G.event.global[ba]){G.each(G.cache,function(){if(this.events&&this.events[ba]){G.event.trigger(a3,a0,this.handle.elem)}})}}if(!a2||a2.nodeType===3||a2.nodeType===8){return aR}a3.result=aR;a3.target=a2;a0=G.makeArray(a0);a0.unshift(a3)}a3.currentTarget=a2;var a4=G.data(a2,"handle");if(a4){a4.apply(a2,a0)}var a7=a2.parentNode||a2.ownerDocument;try{if(!(a2&&a2.nodeName&&G.noData[a2.nodeName.toLowerCase()])){if(a2["on"+ba]&&a2["on"+ba].apply(a2,a0)===false){a3.result=false}}}catch(a1){}if(!a3.isPropagationStopped()&&a7){G.event.trigger(a3,a0,a7,true)}else{if(!a3.isDefaultPrevented()){var a9=a3.target,a6,a5=G.nodeName(a9,"a")&&ba==="click",a8=G.event.special[ba]||{};if((!a8._default||a8._default.call(a2,a3)===false)&&!a5&&!(a9&&a9.nodeName&&G.noData[a9.nodeName.toLowerCase()])){try{if(a9[ba]){a6=a9["on"+ba];if(a6){a9["on"+ba]=null}G.event.triggered=true;a9[ba]()}}catch(a1){}if(a6){a9["on"+ba]=a6}G.event.triggered=false}}}},handle:function(a0){var aZ,a3,a7,a6,a1;a0=arguments[0]=G.event.fix(a0||aU.event);a0.currentTarget=this;aZ=a0.type.indexOf(".")<0&&!a0.exclusive;if(!aZ){a7=a0.type.split(".");a0.type=a7.shift();a6=new RegExp("(^|\\.)"+a7.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}var a1=G.data(this,"events"),a3=a1[a0.type];if(a1&&a3){a3=a3.slice(0);for(var a4=0,a5=a3.length;a4<a5;a4++){var a2=a3[a4];if(aZ||a6.test(a2.namespace)){a0.handler=a2.handler;a0.data=a2.data;a0.handleObj=a2;var a8=a2.handler.apply(this,arguments);if(a8!==aR){a0.result=a8;if(a8===false){a0.preventDefault();a0.stopPropagation()}}if(a0.isImmediatePropagationStopped()){break}}}}return a0.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a1){if(a1[s]){return a1}var a3=a1;a1=G.Event(a3);for(var a2=this.props.length,a4;a2;){a4=this.props[--a2];a1[a4]=a3[a4]}if(!a1.target){a1.target=a1.srcElement||m}if(a1.target.nodeType===3){a1.target=a1.target.parentNode}if(!a1.relatedTarget&&a1.fromElement){a1.relatedTarget=a1.fromElement===a1.target?a1.toElement:a1.fromElement}if(a1.pageX==null&&a1.clientX!=null){var a0=m.documentElement,aZ=m.body;a1.pageX=a1.clientX+(a0&&a0.scrollLeft||aZ&&aZ.scrollLeft||0)-(a0&&a0.clientLeft||aZ&&aZ.clientLeft||0);a1.pageY=a1.clientY+(a0&&a0.scrollTop||aZ&&aZ.scrollTop||0)-(a0&&a0.clientTop||aZ&&aZ.clientTop||0)}if(!a1.which&&((a1.charCode||a1.charCode===0)?a1.charCode:a1.keyCode)){a1.which=a1.charCode||a1.keyCode}if(!a1.metaKey&&a1.ctrlKey){a1.metaKey=a1.ctrlKey}if(!a1.which&&a1.button!==aR){a1.which=(a1.button&1?1:(a1.button&2?3:(a1.button&4?2:0)))}return a1},guid:100000000,proxy:G.proxy,special:{ready:{setup:G.bindReady,teardown:G.noop},live:{add:function(aZ){G.event.add(this,aZ.origType,G.extend({},aZ,{handler:K}))},remove:function(aZ){var a0=true,a1=aZ.origType.replace(ak,"");G.each(G.data(this,"events").live||[],function(){if(a1===this.origType.replace(ak,"")){a0=false;return false}});if(a0){G.event.remove(this,aZ.origType,K)}}},beforeunload:{setup:function(aZ,a1,a0){if(this.setInterval){this.onbeforeunload=a0}return false},teardown:function(a0,aZ){if(this.onbeforeunload===aZ){this.onbeforeunload=null}}}}};var X=m.removeEventListener?function(aZ,a1,a0){aZ.removeEventListener(a1,a0,false)}:function(aZ,a1,a0){aZ.detachEvent("on"+a1,a0)};G.Event=function(aZ){if(!this.preventDefault){return new G.Event(aZ)}if(aZ&&aZ.type){this.originalEvent=aZ;this.type=aZ.type}else{this.type=aZ}this.timeStamp=M();this[s]=true};function Y(){return false}function Z(){return true}G.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var aZ=this.originalEvent;if(!aZ){return}if(aZ.preventDefault){aZ.preventDefault()}aZ.returnValue=false},stopPropagation:function(){this.isPropagationStopped=Z;var aZ=this.originalEvent;if(!aZ){return}if(aZ.stopPropagation){aZ.stopPropagation()}aZ.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var aX=function(a0){var a1=a0.relatedTarget;try{while(a1&&a1!==this){a1=a1.parentNode}if(a1!==this){a0.type=a0.data;G.event.handle.apply(this,arguments)}}catch(aZ){}},l=function(aZ){aZ.type=aZ.data;G.event.handle.apply(this,arguments)};G.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a0,aZ){G.event.special[a0]={setup:function(a1){G.event.add(this,aZ,a1&&a1.selector?l:aX,a0)},teardown:function(a1){G.event.remove(this,aZ,a1&&a1.selector?l:aX)}}});if(!G.support.submitBubbles){G.event.special.submit={setup:function(aZ,a0){if(this.nodeName.toLowerCase()!=="form"){G.event.add(this,"click.specialSubmit",function(a1){var a2=a1.target,a3=a2.type;if((a3==="submit"||a3==="image")&&G(a2).closest("form").length){return aQ("submit",this,arguments)}});G.event.add(this,"keypress.specialSubmit",function(a1){var a2=a1.target,a3=a2.type;if((a3==="text"||a3==="password")&&G(a2).closest("form").length&&a1.keyCode===13){return aQ("submit",this,arguments)}})}else{return false}},teardown:function(aZ){G.event.remove(this,".specialSubmit")}}}if(!G.support.changeBubbles){var w=/textarea|input|select/i,g,A=function(aZ){var a0=aZ.type,a1=aZ.value;if(a0==="radio"||a0==="checkbox"){a1=aZ.checked}else{if(a0==="select-multiple"){a1=aZ.selectedIndex>-1?G.map(aZ.options,function(a2){return a2.selected}).join("-"):""}else{if(aZ.nodeName.toLowerCase()==="select"){a1=aZ.selectedIndex}}}return a1},aN=function aN(a0){var a1=a0.target,aZ,a2;if(!w.test(a1.nodeName)||a1.readOnly){return}aZ=G.data(a1,"_change_data");a2=A(a1);if(a0.type!=="focusout"||a1.type!=="radio"){G.data(a1,"_change_data",a2)}if(aZ===aR||a2===aZ){return}if(aZ!=null||a2){a0.type="change";return G.event.trigger(a0,arguments[1],a1)}};G.event.special.change={filters:{focusout:aN,click:function(aZ){var a0=aZ.target,a1=a0.type;if(a1==="radio"||a1==="checkbox"||a0.nodeName.toLowerCase()==="select"){return aN.call(this,aZ)}},keydown:function(aZ){var a0=aZ.target,a1=a0.type;if((aZ.keyCode===13&&a0.nodeName.toLowerCase()!=="textarea")||(aZ.keyCode===32&&(a1==="checkbox"||a1==="radio"))||a1==="select-multiple"){return aN.call(this,aZ)}},beforeactivate:function(aZ){var a0=aZ.target;G.data(a0,"_change_data",A(a0))}},setup:function(aZ,a0){if(this.type==="file"){return false}for(var a1 in g){G.event.add(this,a1+".specialChange",g[a1])}return w.test(this.nodeName)},teardown:function(aZ){G.event.remove(this,".specialChange");return w.test(this.nodeName)}};g=G.event.special.change.filters}function aQ(a1,a0,aZ){aZ[0].type=a1;return G.event.handle.apply(a0,aZ)}if(m.addEventListener){G.each({focus:"focusin",blur:"focusout"},function(a1,aZ){G.event.special[aZ]={setup:function(){this.addEventListener(a1,a0,true)},teardown:function(){this.removeEventListener(a1,a0,true)}};function a0(a2){a2=G.event.fix(a2);a2.type=aZ;return G.event.handle.call(this,a2)}})}G.each(["bind","one"],function(aZ,a0){G.fn[a0]=function(a7,a1,a2){if(typeof a7==="object"){for(var a5 in a7){this[a0](a5,a1,a7[a5],a2)}return this}if(G.isFunction(a1)){a2=a1;a1=aR}var a3=a0==="one"?G.proxy(a2,function(a8){G(this).unbind(a8,a3);return a2.apply(this,arguments)}):a2;if(a7==="unload"&&a0!=="one"){this.one(a7,a1,a2)}else{for(var a4=0,a6=this.length;a4<a6;a4++){G.event.add(this[a4],a7,a3,a1)}}return this}});G.fn.extend({unbind:function(a3,aZ){if(typeof a3==="object"&&!a3.preventDefault){for(var a1 in a3){this.unbind(a1,a3[a1])}}else{for(var a0=0,a2=this.length;a0<a2;a0++){G.event.remove(this[a0],a3,aZ)}}return this},delegate:function(a1,a2,aZ,a0){return this.live(a2,aZ,a0,a1)},undelegate:function(a0,a1,aZ){if(arguments.length===0){return this.unbind("live")}else{return this.die(a1,null,aZ,a0)}},trigger:function(a0,aZ){return this.each(function(){G.event.trigger(a0,aZ,this)})},triggerHandler:function(a1,aZ){if(this[0]){var a0=G.Event(a1);a0.preventDefault();a0.stopPropagation();G.event.trigger(a0,aZ,this[0]);return a0.result}},toggle:function(a0){var aZ=arguments,a1=1;while(a1<aZ.length){G.proxy(a0,aZ[a1++])}return this.click(G.proxy(a0,function(a2){var a3=(G.data(this,"lastToggle"+a0.guid)||0)%a1;G.data(this,"lastToggle"+a0.guid,a3+1);a2.preventDefault();return aZ[a3].apply(this,arguments)||false}))},hover:function(a0,aZ){return this.mouseenter(a0).mouseleave(aZ||a0)}});var L={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};G.each(["live","die"],function(aZ,a0){G.fn[a0]=function(bb,a2,a3,a7){var ba,a4=0,a5,a6,a8,a9=a7||this.selector,a1=a7?this:G(this.context);if(G.isFunction(a2)){a3=a2;a2=aR}bb=(bb||"").split(" ");while((ba=bb[a4++])!=null){a5=ak.exec(ba);a6="";if(a5){a6=a5[0];ba=ba.replace(ak,"")}if(ba==="hover"){bb.push("mouseenter"+a6,"mouseleave"+a6);continue}a8=ba;if(ba==="focus"||ba==="blur"){bb.push(L[ba]+a6);ba=ba+a6}else{ba=(L[ba]||ba)+a6}if(a0==="live"){a1.each(function(){G.event.add(this,J(ba,a9),{data:a2,selector:a9,handler:a3,origType:ba,origHandler:a3,preType:a8})})}else{a1.unbind(J(ba,a9),a3)}}return this}});function K(a3){var bd,a2=[],bc=[],aZ=arguments,bb,ba,a5,a1,a7,a6,a8,a0,a4=G.data(this,"events");if(a3.liveFired===this||!a4||!a4.live||a3.button&&a3.type==="click"){return}a3.liveFired=this;var a9=a4.live.slice(0);for(a7=0;a7<a9.length;a7++){a5=a9[a7];if(a5.origType.replace(ak,"")===a3.type){bc.push(a5.selector)}else{a9.splice(a7--,1)}}ba=G(a3.target).closest(bc,a3.currentTarget);for(a6=0,a8=ba.length;a6<a8;a6++){for(a7=0;a7<a9.length;a7++){a5=a9[a7];if(ba[a6].selector===a5.selector){a1=ba[a6].elem;bb=null;if(a5.preType==="mouseenter"||a5.preType==="mouseleave"){bb=G(a3.relatedTarget).closest(a5.selector)[0]}if(!bb||bb!==a1){a2.push({elem:a1,handleObj:a5})}}}}for(a6=0,a8=a2.length;a6<a8;a6++){ba=a2[a6];a3.currentTarget=ba.elem;a3.data=ba.handleObj.data;a3.handleObj=ba.handleObj;if(ba.handleObj.origHandler.apply(ba.elem,aZ)===false){bd=false;break}}return bd}function J(a0,aZ){return"live."+(a0&&a0!=="*"?a0+".":"")+aZ.replace(/\./g,"`").replace(/ /g,"&")}G.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "),function(aZ,a0){G.fn[a0]=function(a1){return a1?this.bind(a0,a1):this.trigger(a0)};if(G.attrFn){G.attrFn[a0]=true}});if(aU.attachEvent&&!aU.addEventListener){aU.attachEvent("onunload",function(){for(var a0 in G.cache){if(G.cache[a0].handle){try{G.event.remove(G.cache[a0].handle.elem)}catch(aZ){}}}});
/*
    * Sizzle CSS Selector Engine - v1.0
    *  Copyright 2009, The Dojo Foundation
    *  Released under the MIT, BSD, and GPL Licenses.
    *  More information: http://sizzlejs.com/
    */
}(function(){var a0=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,a4=0,bf=Object.prototype.toString,a8=false,aZ=true;[0,0].sort(function(){aZ=false;return 0});var bd=function(bv,bi,bs,bu){bs=bs||[];var bo=bi=bi||m;if(bi.nodeType!==1&&bi.nodeType!==9){return[]}if(!bv||typeof bv!=="string"){return bs}var bp=[],bn,bw,bh,bl,br=true,bj=a9(bi),bx=bv;while((a0.exec(""),bn=a0.exec(bx))!==null){bx=bn[3];bp.push(bn[1]);if(bn[2]){bl=bn[3];break}}if(bp.length>1&&bb.exec(bv)){if(bp.length===2&&a6.relative[bp[0]]){bw=bc(bp[0]+bp[1],bi)}else{bw=a6.relative[bp[0]]?[bi]:bd(bp.shift(),bi);while(bp.length){bv=bp.shift();if(a6.relative[bv]){bv+=bp.shift()}bw=bc(bv,bw)}}}else{if(!bu&&bp.length>1&&bi.nodeType===9&&!bj&&a6.match.ID.test(bp[0])&&!a6.match.ID.test(bp[bp.length-1])){var bt=bd.find(bp.shift(),bi,bj);bi=bt.expr?bd.filter(bt.expr,bt.set)[0]:bt.set[0]}if(bi){var bt=bu?{expr:bp.pop(),set:ba(bu)}:bd.find(bp.pop(),bp.length===1&&(bp[0]==="~"||bp[0]==="+")&&bi.parentNode?bi.parentNode:bi,bj);bw=bt.expr?bd.filter(bt.expr,bt.set):bt.set;if(bp.length>0){bh=ba(bw)}else{br=false}while(bp.length){var bk=bp.pop(),bq=bk;if(!a6.relative[bk]){bk=""}else{bq=bp.pop()}if(bq==null){bq=bi}a6.relative[bk](bh,bq,bj)}}else{bh=bp=[]}}if(!bh){bh=bw}if(!bh){bd.error(bk||bv)}if(bf.call(bh)==="[object Array]"){if(!br){bs.push.apply(bs,bh)}else{if(bi&&bi.nodeType===1){for(var bm=0;bh[bm]!=null;bm++){if(bh[bm]&&(bh[bm]===true||bh[bm].nodeType===1&&a1(bi,bh[bm]))){bs.push(bw[bm])}}}else{for(var bm=0;bh[bm]!=null;bm++){if(bh[bm]&&bh[bm].nodeType===1){bs.push(bw[bm])}}}}}else{ba(bh,bs)}if(bl){bd(bl,bo,bs,bu);bd.uniqueSort(bs)}return bs};bd.uniqueSort=function(bi){if(be){a8=aZ;bi.sort(be);if(a8){for(var bh=1;bh<bi.length;bh++){if(bi[bh]===bi[bh-1]){bi.splice(bh--,1)}}}}return bi};bd.matches=function(bh,bi){return bd(bh,null,null,bi)};bd.find=function(bi,bh,bk){var bo,bn;if(!bi){return[]}for(var bj=0,bl=a6.order.length;bj<bl;bj++){var bp=a6.order[bj],bn;if((bn=a6.leftMatch[bp].exec(bi))){var bm=bn[1];bn.splice(1,1);if(bm.substr(bm.length-1)!=="\\"){bn[1]=(bn[1]||"").replace(/\\/g,"");bo=a6.find[bp](bn,bh,bk);if(bo!=null){bi=bi.replace(a6.match[bp],"");break}}}}if(!bo){bo=bh.getElementsByTagName("*")}return{set:bo,expr:bi}};bd.filter=function(bj,bw,bn,bs){var bt=bj,bv=[],bi=bw,br,bh,bo=bw&&bw[0]&&a9(bw[0]);while(bj&&bw.length){for(var bx in a6.filter){if((br=a6.leftMatch[bx].exec(bj))!=null&&br[2]){var bk=a6.filter[bx],bl,bp,bq=br[1];bh=false;br.splice(1,1);if(bq.substr(bq.length-1)==="\\"){continue}if(bi===bv){bv=[]}if(a6.preFilter[bx]){br=a6.preFilter[bx](br,bi,bn,bv,bs,bo);if(!br){bh=bl=true}else{if(br===true){continue}}}if(br){for(var bm=0;(bp=bi[bm])!=null;bm++){if(bp){bl=bk(bp,br,bm,bi);var bu=bs^!!bl;if(bn&&bl!=null){if(bu){bh=true}else{bi[bm]=false}}else{if(bu){bv.push(bp);bh=true}}}}}if(bl!==aR){if(!bn){bi=bv}bj=bj.replace(a6.match[bx],"");if(!bh){return[]}break}}}if(bj===bt){if(bh==null){bd.error(bj)}else{break}}bt=bj}return bi};bd.error=function(bh){throw"Syntax error, unrecognized expression: "+bh};var a6=bd.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(bh){return bh.getAttribute("href")}},relative:{"+":function(bh,bo){var bk=typeof bo==="string",bm=bk&&!/\W/.test(bo),bl=bk&&!bm;if(bm){bo=bo.toLowerCase()}for(var bj=0,bn=bh.length,bi;bj<bn;bj++){if((bi=bh[bj])){while((bi=bi.previousSibling)&&bi.nodeType!==1){}bh[bj]=bl||bi&&bi.nodeName.toLowerCase()===bo?bi||false:bi===bo}}if(bl){bd.filter(bo,bh,true)}},">":function(bh,bn){var bk=typeof bn==="string";if(bk&&!/\W/.test(bn)){bn=bn.toLowerCase();for(var bj=0,bl=bh.length;bj<bl;bj++){var bi=bh[bj];if(bi){var bm=bi.parentNode;bh[bj]=bm.nodeName.toLowerCase()===bn?bm:false}}}else{for(var bj=0,bl=bh.length;bj<bl;bj++){var bi=bh[bj];if(bi){bh[bj]=bk?bi.parentNode:bi.parentNode===bn}}if(bk){bd.filter(bn,bh,true)}}},"":function(bi,bm,bk){var bj=a4++,bh=a2;if(typeof bm==="string"&&!/\W/.test(bm)){var bl=bm=bm.toLowerCase();bh=a3}bh("parentNode",bm,bj,bi,bl,bk)},"~":function(bi,bm,bk){var bj=a4++,bh=a2;if(typeof bm==="string"&&!/\W/.test(bm)){var bl=bm=bm.toLowerCase();bh=a3}bh("previousSibling",bm,bj,bi,bl,bk)}},find:{ID:function(bk,bh,bi){if(typeof bh.getElementById!=="undefined"&&!bi){var bj=bh.getElementById(bk[1]);return bj?[bj]:[]}},NAME:function(bk,bh){if(typeof bh.getElementsByName!=="undefined"){var bm=[],bl=bh.getElementsByName(bk[1]);for(var bi=0,bj=bl.length;bi<bj;bi++){if(bl[bi].getAttribute("name")===bk[1]){bm.push(bl[bi])}}return bm.length===0?null:bm}},TAG:function(bi,bh){return bh.getElementsByTagName(bi[1])}},preFilter:{CLASS:function(bm,bh,bk,bo,bn,bl){bm=" "+bm[1].replace(/\\/g,"")+" ";if(bl){return bm}for(var bj=0,bi;(bi=bh[bj])!=null;bj++){if(bi){if(bn^(bi.className&&(" "+bi.className+" ").replace(/[\t\n]/g," ").indexOf(bm)>=0)){if(!bk){bo.push(bi)}}else{if(bk){bh[bj]=false}}}}return false},ID:function(bh){return bh[1].replace(/\\/g,"")},TAG:function(bi,bh){return bi[1].toLowerCase()},CHILD:function(bh){if(bh[1]==="nth"){var bi=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(bh[2]==="even"&&"2n"||bh[2]==="odd"&&"2n+1"||!/\D/.test(bh[2])&&"0n+"+bh[2]||bh[2]);bh[2]=(bi[1]+(bi[2]||1))-0;bh[3]=bi[3]-0}bh[0]=a4++;return bh},ATTR:function(bk,bh,bi,bn,bm,bj){var bl=bk[1].replace(/\\/g,"");if(!bj&&a6.attrMap[bl]){bk[1]=a6.attrMap[bl]}if(bk[2]==="~="){bk[4]=" "+bk[4]+" "}return bk},PSEUDO:function(bj,bh,bi,bl,bk){if(bj[1]==="not"){if((a0.exec(bj[3])||"").length>1||/^\w/.test(bj[3])){bj[3]=bd(bj[3],null,null,bh)}else{var bm=bd.filter(bj[3],bh,bi,true^bk);if(!bi){bl.push.apply(bl,bm)}return false}}else{if(a6.match.POS.test(bj[0])||a6.match.CHILD.test(bj[0])){return true}}return bj},POS:function(bh){bh.unshift(true);return bh}},filters:{enabled:function(bh){return bh.disabled===false&&bh.type!=="hidden"},disabled:function(bh){return bh.disabled===true},checked:function(bh){return bh.checked===true},selected:function(bh){bh.parentNode.selectedIndex;return bh.selected===true},parent:function(bh){return !!bh.firstChild},empty:function(bh){return !bh.firstChild},has:function(bh,bi,bj){return !!bd(bj[3],bh).length},header:function(bh){return/h\d/i.test(bh.nodeName)},text:function(bh){return"text"===bh.type},radio:function(bh){return"radio"===bh.type},checkbox:function(bh){return"checkbox"===bh.type},file:function(bh){return"file"===bh.type},password:function(bh){return"password"===bh.type},submit:function(bh){return"submit"===bh.type},image:function(bh){return"image"===bh.type},reset:function(bh){return"reset"===bh.type},button:function(bh){return"button"===bh.type||bh.nodeName.toLowerCase()==="button"},input:function(bh){return/input|select|textarea|button/i.test(bh.nodeName)}},setFilters:{first:function(bh,bi){return bi===0},last:function(bi,bj,bk,bh){return bj===bh.length-1},even:function(bh,bi){return bi%2===0},odd:function(bh,bi){return bi%2===1},lt:function(bh,bi,bj){return bi<bj[3]-0},gt:function(bh,bi,bj){return bi>bj[3]-0},nth:function(bh,bi,bj){return bj[3]-0===bi},eq:function(bh,bi,bj){return bj[3]-0===bi}},filter:{PSEUDO:function(bi,bm,bk,bh){var bn=bm[1],bj=a6.filters[bn];if(bj){return bj(bi,bk,bm,bh)}else{if(bn==="contains"){return(bi.textContent||bi.innerText||a7([bi])||"").indexOf(bm[3])>=0}else{if(bn==="not"){var bo=bm[3];for(var bk=0,bl=bo.length;bk<bl;bk++){if(bo[bk]===bi){return false}}return true}else{bd.error("Syntax error, unrecognized expression: "+bn)}}}},CHILD:function(bk,bn){var bq=bn[1],bo=bk;switch(bq){case"only":case"first":while((bo=bo.previousSibling)){if(bo.nodeType===1){return false}}if(bq==="first"){return true}bo=bk;case"last":while((bo=bo.nextSibling)){if(bo.nodeType===1){return false}}return true;case"nth":var bl=bn[2],bm=bn[3];if(bl===1&&bm===0){return true}var bj=bn[0],bp=bk.parentNode;if(bp&&(bp.sizcache!==bj||!bk.nodeIndex)){var bh=0;for(bo=bp.firstChild;bo;bo=bo.nextSibling){if(bo.nodeType===1){bo.nodeIndex=++bh}}bp.sizcache=bj}var bi=bk.nodeIndex-bm;if(bl===0){return bi===0}else{return(bi%bl===0&&bi/bl>=0)}}},ID:function(bh,bi){return bh.nodeType===1&&bh.getAttribute("id")===bi},TAG:function(bh,bi){return(bi==="*"&&bh.nodeType===1)||bh.nodeName.toLowerCase()===bi},CLASS:function(bh,bi){return(" "+(bh.className||bh.getAttribute("class"))+" ").indexOf(bi)>-1},ATTR:function(bi,bj){var bk=bj[1],bl=a6.attrHandle[bk]?a6.attrHandle[bk](bi):bi[bk]!=null?bi[bk]:bi.getAttribute(bk),bn=bl+"",bm=bj[2],bh=bj[4];return bl==null?bm==="!=":bm==="="?bn===bh:bm==="*="?bn.indexOf(bh)>=0:bm==="~="?(" "+bn+" ").indexOf(bh)>=0:!bh?bn&&bl!==false:bm==="!="?bn!==bh:bm==="^="?bn.indexOf(bh)===0:bm==="$="?bn.substr(bn.length-bh.length)===bh:bm==="|="?bn===bh||bn.substr(0,bh.length+1)===bh+"-":false},POS:function(bi,bl,bk,bh){var bm=bl[2],bj=a6.setFilters[bm];if(bj){return bj(bi,bk,bl,bh)}}}};var bb=a6.match.POS;for(var bg in a6.match){a6.match[bg]=new RegExp(a6.match[bg].source+/(?![^\[]*\])(?![^\(]*\))/.source);a6.leftMatch[bg]=new RegExp(/(^(?:.|\r|\n)*?)/.source+a6.match[bg].source.replace(/\\(\d+)/g,function(bh,bi){return"\\"+(bi-0+1)}))}var ba=function(bh,bi){bh=Array.prototype.slice.call(bh,0);if(bi){bi.push.apply(bi,bh);return bi}return bh};try{Array.prototype.slice.call(m.documentElement.childNodes,0)[0].nodeType}catch(a5){ba=function(bh,bk){var bl=bk||[];if(bf.call(bh)==="[object Array]"){Array.prototype.push.apply(bl,bh)}else{if(typeof bh.length==="number"){for(var bi=0,bj=bh.length;bi<bj;bi++){bl.push(bh[bi])}}else{for(var bi=0;bh[bi];bi++){bl.push(bh[bi])}}}return bl}}var be;if(m.documentElement.compareDocumentPosition){be=function(bh,bi){if(!bh.compareDocumentPosition||!bi.compareDocumentPosition){if(bh==bi){a8=true}return bh.compareDocumentPosition?-1:1}var bj=bh.compareDocumentPosition(bi)&4?-1:bh===bi?0:1;if(bj===0){a8=true}return bj}}else{if("sourceIndex" in m.documentElement){be=function(bh,bi){if(!bh.sourceIndex||!bi.sourceIndex){if(bh==bi){a8=true}return bh.sourceIndex?-1:1}var bj=bh.sourceIndex-bi.sourceIndex;if(bj===0){a8=true}return bj}}else{if(m.createRange){be=function(bh,bj){if(!bh.ownerDocument||!bj.ownerDocument){if(bh==bj){a8=true}return bh.ownerDocument?-1:1}var bi=bh.ownerDocument.createRange(),bk=bj.ownerDocument.createRange();bi.setStart(bh,0);bi.setEnd(bh,0);bk.setStart(bj,0);bk.setEnd(bj,0);var bl=bi.compareBoundaryPoints(Range.START_TO_END,bk);if(bl===0){a8=true}return bl}}}}function a7(bi){var bk="",bh;for(var bj=0;bi[bj];bj++){bh=bi[bj];if(bh.nodeType===3||bh.nodeType===4){bk+=bh.nodeValue}else{if(bh.nodeType!==8){bk+=a7(bh.childNodes)}}}return bk}(function(){var bh=m.createElement("div"),bi="script"+(new Date).getTime();bh.innerHTML="<a name='"+bi+"'/>";var bj=m.documentElement;bj.insertBefore(bh,bj.firstChild);if(m.getElementById(bi)){a6.find.ID=function(bn,bk,bl){if(typeof bk.getElementById!=="undefined"&&!bl){var bm=bk.getElementById(bn[1]);return bm?bm.id===bn[1]||typeof bm.getAttributeNode!=="undefined"&&bm.getAttributeNode("id").nodeValue===bn[1]?[bm]:aR:[]}};a6.filter.ID=function(bk,bl){var bm=typeof bk.getAttributeNode!=="undefined"&&bk.getAttributeNode("id");return bk.nodeType===1&&bm&&bm.nodeValue===bl}}bj.removeChild(bh);bj=bh=null})();(function(){var bh=m.createElement("div");bh.appendChild(m.createComment(""));if(bh.getElementsByTagName("*").length>0){a6.find.TAG=function(bk,bi){var bl=bi.getElementsByTagName(bk[1]);if(bk[1]==="*"){var bm=[];for(var bj=0;bl[bj];bj++){if(bl[bj].nodeType===1){bm.push(bl[bj])}}bl=bm}return bl}}bh.innerHTML="<a href='#'></a>";if(bh.firstChild&&typeof bh.firstChild.getAttribute!=="undefined"&&bh.firstChild.getAttribute("href")!=="#"){a6.attrHandle.href=function(bi){return bi.getAttribute("href",2)}}bh=null})();if(m.querySelectorAll){(function(){var bi=bd,bh=m.createElement("div");bh.innerHTML="<p class='TEST'></p>";if(bh.querySelectorAll&&bh.querySelectorAll(".TEST").length===0){return}bd=function(bn,bk,bm,bo){bk=bk||m;if(!bo&&bk.nodeType===9&&!a9(bk)){try{return ba(bk.querySelectorAll(bn),bm)}catch(bl){}}return bi(bn,bk,bm,bo)};for(var bj in bi){bd[bj]=bi[bj]}bh=null})()}(function(){var bh=m.createElement("div");bh.innerHTML="<div class='test e'></div><div class='test'></div>";if(!bh.getElementsByClassName||bh.getElementsByClassName("e").length===0){return}bh.lastChild.className="e";if(bh.getElementsByClassName("e").length===1){return}a6.order.splice(1,0,"CLASS");a6.find.CLASS=function(bk,bi,bj){if(typeof bi.getElementsByClassName!=="undefined"&&!bj){return bi.getElementsByClassName(bk[1])}};bh=null})();function a3(bj,bi,bk,bh,bq,bn){for(var bm=0,bo=bh.length;bm<bo;bm++){var bl=bh[bm];if(bl){bl=bl[bj];var bp=false;while(bl){if(bl.sizcache===bk){bp=bh[bl.sizset];break}if(bl.nodeType===1&&!bn){bl.sizcache=bk;bl.sizset=bm}if(bl.nodeName.toLowerCase()===bi){bp=bl;break}bl=bl[bj]}bh[bm]=bp}}}function a2(bj,bi,bk,bh,bq,bn){for(var bm=0,bo=bh.length;bm<bo;bm++){var bl=bh[bm];if(bl){bl=bl[bj];var bp=false;while(bl){if(bl.sizcache===bk){bp=bh[bl.sizset];break}if(bl.nodeType===1){if(!bn){bl.sizcache=bk;bl.sizset=bm}if(typeof bi!=="string"){if(bl===bi){bp=true;break}}else{if(bd.filter(bi,[bl]).length>0){bp=bl;break}}}bl=bl[bj]}bh[bm]=bp}}}var a1=m.compareDocumentPosition?function(bh,bi){return !!(bh.compareDocumentPosition(bi)&16)}:function(bh,bi){return bh!==bi&&(bh.contains?bh.contains(bi):true)};var a9=function(bi){var bh=(bi?bi.ownerDocument||bi:0).documentElement;return bh?bh.nodeName!=="HTML":false};var bc=function(bn,bh){var bo=[],bk="",bl,bm=bh.nodeType?[bh]:bh;while((bl=a6.match.PSEUDO.exec(bn))){bk+=bl[0];bn=bn.replace(a6.match.PSEUDO,"")}bn=a6.relative[bn]?bn+"*":bn;for(var bi=0,bj=bm.length;bi<bj;bi++){bd(bn,bm[bi],bo)}return bd.filter(bk,bo)};G.find=bd;G.expr=bd.selectors;G.expr[":"]=G.expr.filters;G.unique=bd.uniqueSort;G.text=a7;G.isXMLDoc=a9;G.contains=a1;return;aU.Sizzle=bd})();var aH=/Until$/,ar=/^(?:parents|prevUntil|prevAll)/,aj=/,/,aL=Array.prototype.slice;var aW=function(aZ,a2,a1){if(G.isFunction(a2)){return G.grep(aZ,function(a3,a4){return !!a2.call(a3,a4,a3)===a1})}else{if(a2.nodeType){return G.grep(aZ,function(a3,a4){return(a3===a2)===a1})}else{if(typeof a2==="string"){var a0=G.grep(aZ,function(a3){return a3.nodeType===1});if(F.test(a2)){return G.filter(a2,a0,!a1)}else{a2=G.filter(a2,a0)}}}}return G.grep(aZ,function(a3,a4){return(G.inArray(a3,a2)>=0)===a1})};G.fn.extend({find:function(a5){var a4=this.pushStack("","find",a5),a1=0;for(var aZ=0,a0=this.length;aZ<a0;aZ++){a1=a4.length;G.find(a5,this[aZ],a4);if(aZ>0){for(var a2=a1;a2<a4.length;a2++){for(var a3=0;a3<a1;a3++){if(a4[a3]===a4[a2]){a4.splice(a2--,1);break}}}}}return a4},has:function(aZ){var a0=G(aZ);return this.filter(function(){for(var a1=0,a2=a0.length;a1<a2;a1++){if(G.contains(this,a0[a1])){return true}}})},not:function(aZ){return this.pushStack(aW(this,aZ,false),"not",aZ)},filter:function(aZ){return this.pushStack(aW(this,aZ,true),"filter",aZ)},is:function(aZ){return !!aZ&&G.filter(aZ,this).length>0},closest:function(a8,aZ){if(G.isArray(a8)){var a6=[],a0=this[0],a3,a4={},a7;if(a0&&a8.length){for(var a1=0,a2=a8.length;a1<a2;a1++){a7=a8[a1];if(!a4[a7]){a4[a7]=G.expr.match.POS.test(a7)?G(a7,aZ||this.context):a7}}while(a0&&a0.ownerDocument&&a0!==aZ){for(a7 in a4){a3=a4[a7];if(a3.jquery?a3.index(a0)>-1:G(a0).is(a3)){a6.push({selector:a7,elem:a0});delete a4[a7]}}a0=a0.parentNode}}return a6}var a5=G.expr.match.POS.test(a8)?G(a8,aZ||this.context):null;return this.map(function(ba,a9){while(a9&&a9.ownerDocument&&a9!==aZ){if(a5?a5.index(a9)>-1:G(a9).is(a8)){return a9}a9=a9.parentNode}return null})},index:function(aZ){if(!aZ||typeof aZ==="string"){return G.inArray(this[0],aZ?G(aZ):this.parent().children())}return G.inArray(aZ.jquery?aZ[0]:aZ,this)},add:function(a1,a0){var a2=typeof a1==="string"?G(a1,a0||this.context):G.makeArray(a1),aZ=G.merge(this.get(),a2);return this.pushStack(E(a2[0])||E(aZ[0])?aZ:G.unique(aZ))},andSelf:function(){return this.add(this.prevObject)}});function E(aZ){return !aZ||!aZ.parentNode||aZ.parentNode.nodeType===11}G.each({parent:function(aZ){var a0=aZ.parentNode;return a0&&a0.nodeType!==11?a0:null},parents:function(aZ){return G.dir(aZ,"parentNode")},parentsUntil:function(aZ,a0,a1){return G.dir(aZ,"parentNode",a1)},next:function(aZ){return G.nth(aZ,2,"nextSibling")},prev:function(aZ){return G.nth(aZ,2,"previousSibling")},nextAll:function(aZ){return G.dir(aZ,"nextSibling")},prevAll:function(aZ){return G.dir(aZ,"previousSibling")},nextUntil:function(aZ,a0,a1){return G.dir(aZ,"nextSibling",a1)},prevUntil:function(aZ,a0,a1){return G.dir(aZ,"previousSibling",a1)},siblings:function(aZ){return G.sibling(aZ.parentNode.firstChild,aZ)},children:function(aZ){return G.sibling(aZ.firstChild)},contents:function(aZ){return G.nodeName(aZ,"iframe")?aZ.contentDocument||aZ.contentWindow.document:G.makeArray(aZ.childNodes)}},function(a0,aZ){G.fn[a0]=function(a3,a2){var a1=G.map(this,aZ,a3);if(!aH.test(a0)){a2=a3}if(a2&&typeof a2==="string"){a1=G.filter(a2,a1)}a1=this.length>1?G.unique(a1):a1;if((this.length>1||aj.test(a2))&&ar.test(a0)){a1=a1.reverse()}return this.pushStack(a1,a0,aL.call(arguments).join(","))}});G.extend({filter:function(a0,aZ,a1){if(a1){a0=":not("+a0+")"}return G.find.matches(a0,aZ)},dir:function(a1,a0,a3){var a2=[],aZ=a1[a0];while(aZ&&aZ.nodeType!==9&&(a3===aR||aZ.nodeType!==1||!G(aZ).is(a3))){if(aZ.nodeType===1){a2.push(aZ)}aZ=aZ[a0]}return a2},nth:function(aZ,a3,a0,a1){a3=a3||1;var a2=0;for(;aZ;aZ=aZ[a0]){if(aZ.nodeType===1&&++a2===a3){break}}return aZ},sibling:function(a0,aZ){var a1=[];for(;a0;a0=a0.nextSibling){if(a0.nodeType===1&&a0!==aZ){a1.push(a0)}}return a1}});var ag=/ jQuery\d+="(?:\d+|null)"/g,ai=/^\s+/,aK=/(<([\w:]+)[^>]*?)\/>/g,ay=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,aC=/<([\w:]+)/,aD=/<tbody/i,af=/<|&#?\w+;/,al=/<script|<object|<embed|<option|<style/i,R=/checked\s*(?:[^=]|=\s*.checked.)/i,v=function(aZ,a0,a1){return ay.test(a1)?aZ:a0+"></"+a1+">"},aY={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};aY.optgroup=aY.option;aY.tbody=aY.tfoot=aY.colgroup=aY.caption=aY.thead;aY.th=aY.td;if(!G.support.htmlSerialize){aY._default=[1,"div<div>","</div>"]}G.fn.extend({text:function(aZ){if(G.isFunction(aZ)){return this.each(function(a0){var a1=G(this);a1.text(aZ.call(this,a0,a1.text()))})}if(typeof aZ!=="object"&&aZ!==aR){return this.empty().append((this[0]&&this[0].ownerDocument||m).createTextNode(aZ))}return G.text(this)},wrapAll:function(aZ){if(G.isFunction(aZ)){return this.each(function(a1){G(this).wrapAll(aZ.call(this,a1))})}if(this[0]){var a0=G(aZ,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){a0.insertBefore(this[0])}a0.map(function(){var a1=this;while(a1.firstChild&&a1.firstChild.nodeType===1){a1=a1.firstChild}return a1}).append(this)}return this},wrapInner:function(aZ){if(G.isFunction(aZ)){return this.each(function(a0){G(this).wrapInner(aZ.call(this,a0))})}return this.each(function(){var a1=G(this),a0=a1.contents();if(a0.length){a0.wrapAll(aZ)}else{a1.append(aZ)}})},wrap:function(aZ){return this.each(function(){G(this).wrapAll(aZ)})},unwrap:function(){return this.parent().each(function(){if(!G.nodeName(this,"body")){G(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(aZ){if(this.nodeType===1){this.appendChild(aZ)}})},prepend:function(){return this.domManip(arguments,true,function(aZ){if(this.nodeType===1){this.insertBefore(aZ,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a0){this.parentNode.insertBefore(a0,this)})}else{if(arguments.length){var aZ=G(arguments[0]);aZ.push.apply(aZ,this.toArray());return this.pushStack(aZ,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a0){this.parentNode.insertBefore(a0,this.nextSibling)})}else{if(arguments.length){var aZ=this.pushStack(this,"after",arguments);aZ.push.apply(aZ,G(arguments[0]).toArray());return aZ}}},remove:function(a2,a1){for(var a0=0,aZ;(aZ=this[a0])!=null;a0++){if(!a2||G.filter(a2,[aZ]).length){if(!a1&&aZ.nodeType===1){G.cleanData(aZ.getElementsByTagName("*"));G.cleanData([aZ])}if(aZ.parentNode){aZ.parentNode.removeChild(aZ)}}}return this},empty:function(){for(var a0=0,aZ;(aZ=this[a0])!=null;a0++){if(aZ.nodeType===1){G.cleanData(aZ.getElementsByTagName("*"))}while(aZ.firstChild){aZ.removeChild(aZ.firstChild)}}return this},clone:function(aZ){var a0=this.map(function(){if(!G.support.noCloneEvent&&!G.isXMLDoc(this)){var a2=this.outerHTML,a3=this.ownerDocument;if(!a2){var a1=a3.createElement("div");a1.appendChild(this.cloneNode(true));a2=a1.innerHTML}return G.clean([a2.replace(ag,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ai,"")],a3)[0]}else{return this.cloneNode(true)}});if(aZ===true){h(this,a0);h(this.find("*"),a0.find("*"))}return a0},html:function(a2){if(a2===aR){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof a2==="string"&&!al.test(a2)&&(G.support.leadingWhitespace||!ai.test(a2))&&!aY[(aC.exec(a2)||["",""])[1].toLowerCase()]){a2=a2.replace(aK,v);try{for(var a0=0,a1=this.length;a0<a1;a0++){if(this[a0].nodeType===1){G.cleanData(this[a0].getElementsByTagName("*"));this[a0].innerHTML=a2}}}catch(aZ){this.empty().append(a2)}}else{if(G.isFunction(a2)){this.each(function(a3){var a5=G(this),a4=a5.html();a5.empty().append(function(){return a2.call(this,a3,a4)})})}else{this.empty().append(a2)}}}return this},replaceWith:function(aZ){if(this[0]&&this[0].parentNode){if(G.isFunction(aZ)){return this.each(function(a0){var a2=G(this),a1=a2.html();a2.replaceWith(aZ.call(this,a0,a1))})}if(typeof aZ!=="string"){aZ=G(aZ).detach()}return this.each(function(){var a0=this.nextSibling,a1=this.parentNode;G(this).remove();if(a0){G(a0).before(aZ)}else{G(a1).append(aZ)}})}else{return this.pushStack(G(G.isFunction(aZ)?aZ():aZ),"replaceWith",aZ)}},detach:function(aZ){return this.remove(aZ,true)},domManip:function(aZ,a9,a0){var a6,a1,ba=aZ[0],a8=[],a2,a5;if(!G.support.checkClone&&arguments.length===3&&typeof ba==="string"&&R.test(ba)){return this.each(function(){G(this).domManip(aZ,a9,a0,true)})}if(G.isFunction(ba)){return this.each(function(bb){var bc=G(this);aZ[0]=ba.call(this,bb,a9?bc.html():aR);bc.domManip(aZ,a9,a0)})}if(this[0]){a5=ba&&ba.parentNode;if(G.support.parentNode&&a5&&a5.nodeType===11&&a5.childNodes.length===this.length){a6={fragment:a5}}else{a6=f(aZ,this,a8)}a2=a6.fragment;if(a2.childNodes.length===1){a1=a2=a2.firstChild}else{a1=a2.firstChild}if(a1){a9=a9&&G.nodeName(a1,"tr");for(var a3=0,a4=this.length;a3<a4;a3++){a0.call(a9?a7(this[a3],a1):this[a3],a3>0||a6.cacheable||this.length>1?a2.cloneNode(true):a2)}}if(a8.length){G.each(a8,r)}}return this;function a7(bc,bb){return G.nodeName(bc,"table")?(bc.getElementsByTagName("tbody")[0]||bc.appendChild(bc.ownerDocument.createElement("tbody"))):bc}}});function h(a0,a1){var aZ=0;a1.each(function(){if(this.nodeName!==(a0[aZ]&&a0[aZ].nodeName)){return}var a5=G.data(a0[aZ++]),a2=G.data(this,a5),a3=a5&&a5.events;if(a3){delete a2.handle;a2.events={};for(var a6 in a3){for(var a4 in a3[a6]){G.event.add(this,a6,a3[a6][a4],a3[a6][a4].data)}}}})}function f(aZ,a4,a5){var a3,a0,a1,a2=(a4&&a4[0]?a4[0].ownerDocument||a4[0]:m);if(aZ.length===1&&typeof aZ[0]==="string"&&aZ[0].length<512&&a2===m&&!al.test(aZ[0])&&(G.support.checkClone||!R.test(aZ[0]))){a0=true;a1=G.fragments[aZ[0]];if(a1){if(a1!==1){a3=a1}}}if(!a3){a3=a2.createDocumentFragment();G.clean(aZ,a2,a3,a5)}if(a0){G.fragments[aZ[0]]=a1?a3:1}return{fragment:a3,cacheable:a0}}G.fragments={};G.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(aZ,a0){G.fn[aZ]=function(a7){var a6=[],a3=G(a7),a5=this.length===1&&this[0].parentNode;if(a5&&a5.nodeType===11&&a5.childNodes.length===1&&a3.length===1){a3[a0](this[0]);return this}else{for(var a2=0,a4=a3.length;a2<a4;a2++){var a1=(a2>0?this.clone(true):this).get();G.fn[a0].apply(G(a3[a2]),a1);a6=a6.concat(a1)}return this.pushStack(a6,aZ,a3.selector)}}});G.extend({clean:function(a3,aZ,a4,a9){aZ=aZ||m;if(typeof aZ.createElement==="undefined"){aZ=aZ.ownerDocument||aZ[0]&&aZ[0].ownerDocument||m}var a8=[];for(var a6=0,a2;(a2=a3[a6])!=null;a6++){if(typeof a2==="number"){a2+=""}if(!a2){continue}if(typeof a2==="string"&&!af.test(a2)){a2=aZ.createTextNode(a2)}else{if(typeof a2==="string"){a2=a2.replace(aK,v);var ba=(aC.exec(a2)||["",""])[1].toLowerCase(),bc=aY[ba]||aY._default,a0=bc[0],a1=aZ.createElement("div");a1.innerHTML=bc[1]+a2+bc[2];while(a0--){a1=a1.lastChild}if(!G.support.tbody){var a5=aD.test(a2),bb=ba==="table"&&!a5?a1.firstChild&&a1.firstChild.childNodes:bc[1]==="<table>"&&!a5?a1.childNodes:[];for(var a7=bb.length-1;a7>=0;--a7){if(G.nodeName(bb[a7],"tbody")&&!bb[a7].childNodes.length){bb[a7].parentNode.removeChild(bb[a7])}}}if(!G.support.leadingWhitespace&&ai.test(a2)){a1.insertBefore(aZ.createTextNode(ai.exec(a2)[0]),a1.firstChild)}a2=a1.childNodes}}if(a2.nodeType){a8.push(a2)}else{a8=G.merge(a8,a2)}}if(a4){for(var a6=0;a8[a6];a6++){if(a9&&G.nodeName(a8[a6],"script")&&(!a8[a6].type||a8[a6].type.toLowerCase()==="text/javascript")){a9.push(a8[a6].parentNode?a8[a6].parentNode.removeChild(a8[a6]):a8[a6])}else{if(a8[a6].nodeType===1){a8.splice.apply(a8,[a6+1,0].concat(G.makeArray(a8[a6].getElementsByTagName("script"))))}a4.appendChild(a8[a6])}}}return a8},cleanData:function(a3){var a0,a5,aZ=G.cache,a6=G.event.special,a1=G.support.deleteExpando;for(var a4=0,a2;(a2=a3[a4])!=null;a4++){a5=a2[G.expando];if(a5){a0=aZ[a5];if(a0.events){for(var a7 in a0.events){if(a6[a7]){G.event.remove(a2,a7)}else{X(a2,a7,a0.handle)}}}if(a1){delete a2[G.expando]}else{if(a2.removeAttribute){a2.removeAttribute(G.expando)}}delete aZ[a5]}}}});var aa=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=/alpha\([^)]*\)/,aq=/opacity=([^)]*)/,ab=/float/i,U=/-([a-z])/ig,aI=/([A-Z])/g,ao=/^-?\d+(?:px)?$/i,an=/^-?\d/,j={position:"absolute",visibility:"hidden",display:"block"},k=["Left","Right"],i=["Top","Bottom"],z=m.defaultView&&m.defaultView.getComputedStyle,aM=G.support.cssFloat?"cssFloat":"styleFloat",t=function(aZ,a0){return a0.toUpperCase()};G.fn.css=function(aZ,a0){return d(this,aZ,a0,true,function(a1,a2,a3){if(a3===aR){return G.curCSS(a1,a2)}if(typeof a3==="number"&&!aa.test(a2)){a3+="px"}G.style(a1,a2,a3)})};G.extend({style:function(aZ,a1,a5){if(!aZ||aZ.nodeType===3||aZ.nodeType===8){return aR}if((a1==="width"||a1==="height")&&parseFloat(a5)<0){a5=aR}var a4=aZ.style||aZ,a3=a5!==aR;if(!G.support.opacity&&a1==="opacity"){if(a3){a4.zoom=1;var a2=parseInt(a5,10)+""==="NaN"?"":"alpha(opacity="+a5*100+")";var a0=a4.filter||G.curCSS(aZ,"filter")||"";a4.filter=Q.test(a0)?a0.replace(Q,a2):a2}return a4.filter&&a4.filter.indexOf("opacity=")>=0?(parseFloat(aq.exec(a4.filter)[1])/100)+"":""}if(ab.test(a1)){a1=aM}a1=a1.replace(U,t);if(a3){a4[a1]=a5}return a4[a1]},css:function(aZ,a3,a1,a0){if(a3==="width"||a3==="height"){var a5,a4=j,a6=a3==="width"?k:i;function a2(){a5=a3==="width"?aZ.offsetWidth:aZ.offsetHeight;if(a0==="border"){return}G.each(a6,function(){if(!a0){a5-=parseFloat(G.curCSS(aZ,"padding"+this,true))||0}if(a0==="margin"){a5+=parseFloat(G.curCSS(aZ,"margin"+this,true))||0}else{a5-=parseFloat(G.curCSS(aZ,"border"+this+"Width",true))||0}})}if(aZ.offsetWidth!==0){a2()}else{G.swap(aZ,a4,a2)}return Math.max(0,Math.round(a5))}return G.curCSS(aZ,a3,a1)},curCSS:function(a2,a6,a4){var a7,a9=a2.style,a3;if(!G.support.opacity&&a6==="opacity"&&a2.currentStyle){a7=aq.test(a2.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return a7===""?"1":a7}if(ab.test(a6)){a6=aM}if(!a4&&a9&&a9[a6]){a7=a9[a6]}else{if(z){if(ab.test(a6)){a6="float"}a6=a6.replace(aI,"-$1").toLowerCase();var a1=a2.ownerDocument.defaultView;if(!a1){return null}var a0=a1.getComputedStyle(a2,null);if(a0){a7=a0.getPropertyValue(a6)}if(a6==="opacity"&&a7===""){a7="1"}}else{if(a2.currentStyle){var aZ=a6.replace(U,t);a7=a2.currentStyle[a6]||a2.currentStyle[aZ];if(!ao.test(a7)&&an.test(a7)){var a5=a9.left,a8=a2.runtimeStyle.left;a2.runtimeStyle.left=a2.currentStyle.left;a9.left=aZ==="fontSize"?"1em":(a7||0);a7=a9.pixelLeft+"px";a9.left=a5;a2.runtimeStyle.left=a8}}}}return a7},swap:function(a0,a3,aZ){var a2={};for(var a1 in a3){a2[a1]=a0.style[a1];a0.style[a1]=a3[a1]}aZ.call(a0);for(var a1 in a3){a0.style[a1]=a2[a1]}}});if(G.expr&&G.expr.filters){G.expr.filters.hidden=function(aZ){var a2=aZ.offsetWidth,a0=aZ.offsetHeight,a1=aZ.nodeName.toLowerCase()==="tr";return a2===0&&a0===0&&!a1?true:a2>0&&a0>0&&!a1?false:G.curCSS(aZ,"display")==="none"};G.expr.filters.visible=function(aZ){return !G.expr.filters.hidden(aZ)}}var H=M(),aw=/<script(.|\s)*?\/script>/gi,ax=/select|textarea/i,ah=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,I=/=\?(&|$)/,at=/\?/,aF=/(\?|&)_=.*?(&|$)/,aJ=/^(\w+:)?\/\/([^\/?#]+)/,P=/%20/g,c=G.fn.load;G.fn.extend({load:function(a5,a1,aZ){if(typeof a5!=="string"){return c.call(this,a5)}else{if(!this.length){return this}}var a0=a5.indexOf(" ");if(a0>=0){var a2=a5.slice(a0,a5.length);a5=a5.slice(0,a0)}var a4="GET";if(a1){if(G.isFunction(a1)){aZ=a1;a1=null}else{if(typeof a1==="object"){a1=G.param(a1,G.ajaxSettings.traditional);a4="POST"}}}var a3=this;G.ajax({url:a5,type:a4,dataType:"html",data:a1,complete:function(a6,a7){if(a7==="success"||a7==="notmodified"){a3.html(a2?G("<div />").append(a6.responseText.replace(aw,"")).find(a2):a6.responseText)}if(aZ){a3.each(aZ,[a6.responseText,a7,a6])}}});return this},serialize:function(){return G.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?G.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ax.test(this.nodeName)||ah.test(this.type))}).map(function(a0,aZ){var a1=G(this).val();return a1==null?null:G.isArray(a1)?G.map(a1,function(a3,a2){return{name:aZ.name,value:a3}}):{name:aZ.name,value:a1}}).get()}});G.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(aZ,a0){G.fn[a0]=function(a1){return this.bind(a0,a1)}});G.extend({get:function(a2,a0,aZ,a1){if(G.isFunction(a0)){a1=a1||aZ;aZ=a0;a0=null}return G.ajax({type:"GET",url:a2,data:a0,success:aZ,dataType:a1})},getScript:function(a0,aZ){return G.get(a0,null,aZ,"script")},getJSON:function(a1,a0,aZ){return G.get(a1,a0,aZ,"json")},post:function(a2,a0,aZ,a1){if(G.isFunction(a0)){a1=a1||aZ;aZ=a0;a0={}}return G.ajax({type:"POST",url:a2,data:a0,success:aZ,dataType:a1})},ajaxSetup:function(aZ){G.extend(G.ajaxSettings,aZ)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aU.XMLHttpRequest&&(aU.location.protocol!=="file:"||!aU.ActiveXObject)?function(){return new aU.XMLHttpRequest()}:function(){try{return new aU.ActiveXObject("Microsoft.XMLHTTP")}catch(aZ){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a8){var bd=G.extend(true,{},G.ajaxSettings,a8);var a5,bf,a1,aZ=a8&&a8.context||bd,bj=bd.type.toUpperCase();if(bd.data&&bd.processData&&typeof bd.data!=="string"){bd.data=G.param(bd.data,bd.traditional)}if(bd.dataType==="jsonp"){if(bj==="GET"){if(!I.test(bd.url)){bd.url+=(at.test(bd.url)?"&":"?")+(bd.jsonp||"callback")+"=?"}}else{if(!bd.data||!I.test(bd.data)){bd.data=(bd.data?bd.data+"&":"")+(bd.jsonp||"callback")+"=?"}}bd.dataType="json"}if(bd.dataType==="json"&&(bd.data&&I.test(bd.data)||I.test(bd.url))){a5=bd.jsonpCallback||("jsonp"+H++);if(bd.data){bd.data=(bd.data+"").replace(I,"="+a5+"$1")}bd.url=bd.url.replace(I,"="+a5+"$1");bd.dataType="script";aU[a5]=aU[a5]||function(bm){a1=bm;bg();a0();aU[a5]=aR;try{delete aU[a5]}catch(bl){}if(a4){a4.removeChild(be)}}}if(bd.dataType==="script"&&bd.cache===null){bd.cache=false}if(bd.cache===false&&bj==="GET"){var bi=M();var bc=bd.url.replace(aF,"$1_="+bi+"$2");bd.url=bc+((bc===bd.url)?(at.test(bd.url)?"&":"?")+"_="+bi:"")}if(bd.data&&bj==="GET"){bd.url+=(at.test(bd.url)?"&":"?")+bd.data}if(bd.global&&!G.active++){G.event.trigger("ajaxStart")}var a9=aJ.exec(bd.url),ba=a9&&(a9[1]&&a9[1]!==location.protocol||a9[2]!==location.host);if(bd.dataType==="script"&&bj==="GET"&&ba){var a4=m.getElementsByTagName("head")[0]||m.documentElement;var be=m.createElement("script");be.src=bd.url;if(bd.scriptCharset){be.charset=bd.scriptCharset}if(!a5){var a2=false;be.onload=be.onreadystatechange=function(){if(!a2&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){a2=true;bg();a0();be.onload=be.onreadystatechange=null;if(a4&&be.parentNode){a4.removeChild(be)}}}}a4.insertBefore(be,a4.firstChild);return aR}var bb=false;var bk=bd.xhr();if(!bk){return}if(bd.username){bk.open(bj,bd.url,bd.async,bd.username,bd.password)}else{bk.open(bj,bd.url,bd.async)}try{if(bd.data||a8&&a8.contentType){bk.setRequestHeader("Content-Type",bd.contentType)}if(bd.ifModified){if(G.lastModified[bd.url]){bk.setRequestHeader("If-Modified-Since",G.lastModified[bd.url])}if(G.etag[bd.url]){bk.setRequestHeader("If-None-Match",G.etag[bd.url])}}if(!ba){bk.setRequestHeader("X-Requested-With","XMLHttpRequest")}bk.setRequestHeader("Accept",bd.dataType&&bd.accepts[bd.dataType]?bd.accepts[bd.dataType]+", */*":bd.accepts._default)}catch(a3){}if(bd.beforeSend&&bd.beforeSend.call(aZ,bk,bd)===false){if(bd.global&&!--G.active){G.event.trigger("ajaxStop")}bk.abort();return false}if(bd.global){bh("ajaxSend",[bk,bd])}var a7=bk.onreadystatechange=function(bn){if(!bk||bk.readyState===0||bn==="abort"){if(!bb){a0()}bb=true;if(bk){bk.onreadystatechange=G.noop}}else{if(!bb&&bk&&(bk.readyState===4||bn==="timeout")){bb=true;bk.onreadystatechange=G.noop;bf=bn==="timeout"?"timeout":!G.httpSuccess(bk)?"error":bd.ifModified&&G.httpNotModified(bk,bd.url)?"notmodified":"success";var bm;if(bf==="success"){try{a1=G.httpData(bk,bd.dataType,bd)}catch(bl){bf="parsererror";bm=bl}}if(bf==="success"||bf==="notmodified"){if(!a5){bg()}}else{G.handleError(bd,bk,bf,bm)}a0();if(bn==="timeout"){bk.abort()}if(bd.async){bk=null}}}};try{var a6=bk.abort;bk.abort=function(){if(bk){a6.call(bk)}a7("abort")}}catch(a3){}if(bd.async&&bd.timeout>0){setTimeout(function(){if(bk&&!bb){a7("timeout")}},bd.timeout)}try{bk.send(bj==="POST"||bj==="PUT"||bj==="DELETE"?bd.data:null)}catch(a3){G.handleError(bd,bk,null,a3);a0()}if(!bd.async){a7()}function bg(){if(bd.success){bd.success.call(aZ,a1,bf,bk)}if(bd.global){bh("ajaxSuccess",[bk,bd])}}function a0(){if(bd.complete){bd.complete.call(aZ,bk,bf)}if(bd.global){bh("ajaxComplete",[bk,bd])}if(bd.global&&!--G.active){G.event.trigger("ajaxStop")}}function bh(bm,bl){(bd.context?G(bd.context):G.event).trigger(bm,bl)}return bk},handleError:function(a0,a2,a1,aZ){if(a0.error){a0.error.call(a0.context||a0,a2,a1,aZ)}if(a0.global){(a0.context?G(a0.context):G.event).trigger("ajaxError",[a2,a0,aZ])}},active:0,httpSuccess:function(a0){try{return !a0.status&&location.protocol==="file:"||(a0.status>=200&&a0.status<300)||a0.status===304||a0.status===1223||a0.status===0}catch(aZ){}return false},httpNotModified:function(a2,a1){var a0=a2.getResponseHeader("Last-Modified"),aZ=a2.getResponseHeader("Etag");if(a0){G.lastModified[a1]=a0}if(aZ){G.etag[a1]=aZ}return a2.status===304||a2.status===0},httpData:function(a3,a2,a1){var aZ=a3.getResponseHeader("content-type")||"",a4=a2==="xml"||!a2&&aZ.indexOf("xml")>=0,a0=a4?a3.responseXML:a3.responseText;if(a4&&a0.documentElement.nodeName==="parsererror"){G.error("parsererror")}if(a1&&a1.dataFilter){a0=a1.dataFilter(a0,a2)}if(typeof a0==="string"){if(a2==="json"||!a2&&aZ.indexOf("json")>=0){a0=G.parseJSON(a0)}else{if(a2==="script"||!a2&&aZ.indexOf("javascript")>=0){G.globalEval(a0)}}}return a0},param:function(aZ,a4){var a3=[];if(a4===aR){a4=G.ajaxSettings.traditional}if(G.isArray(aZ)||aZ.jquery){G.each(aZ,function(){a0(this.name,this.value)})}else{for(var a2 in aZ){a1(a2,aZ[a2])}}return a3.join("&").replace(P,"+");function a1(a6,a5){if(G.isArray(a5)){G.each(a5,function(a7,a8){if(a4||/\[\]$/.test(a6)){a0(a6,a8)}else{a1(a6+"["+(typeof a8==="object"||G.isArray(a8)?a7:"")+"]",a8)}})}else{if(!a4&&a5!=null&&typeof a5==="object"){G.each(a5,function(a7,a8){a1(a6+"["+a7+"]",a8)})}else{a0(a6,a5)}}}function a0(a5,a6){a6=G.isFunction(a6)?a6():a6;a3[a3.length]=encodeURIComponent(a5)+"="+encodeURIComponent(a6)}}});var q={},ae=/toggle|show|hide/,ad=/^([+-]=)?([\d+-.]+)(.*)$/,aO,x=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];G.fn.extend({show:function(a8,aZ){if(a8||a8===0){return this.animate(y("show",3),a8,aZ)}else{for(var a2=0,a5=this.length;a2<a5;a2++){var a7=G.data(this[a2],"olddisplay");this[a2].style.display=a7||"";if(G.css(this[a2],"display")==="none"){var a6=this[a2].nodeName,a0;if(q[a6]){a0=q[a6]}else{var a1=G("<"+a6+" />").appendTo("body");a0=a1.css("display");if(a0==="none"){a0="block"}a1.remove();q[a6]=a0}G.data(this[a2],"olddisplay",a0)}}for(var a3=0,a4=this.length;a3<a4;a3++){this[a3].style.display=G.data(this[a3],"olddisplay")||""}return this}},hide:function(a5,aZ){if(a5||a5===0){return this.animate(y("hide",3),a5,aZ)}else{for(var a0=0,a3=this.length;a0<a3;a0++){var a4=G.data(this[a0],"olddisplay");if(!a4&&a4!=="none"){G.data(this[a0],"olddisplay",G.css(this[a0],"display"))}}for(var a1=0,a2=this.length;a1<a2;a1++){this[a1].style.display="none"}return this}},_toggle:G.fn.toggle,toggle:function(a0,a1){var aZ=typeof a0==="boolean";if(G.isFunction(a0)&&G.isFunction(a1)){this._toggle.apply(this,arguments)}else{if(a0==null||aZ){this.each(function(){var a2=aZ?a0:G(this).is(":hidden");G(this)[a2?"show":"hide"]()})}else{this.animate(y("toggle",3),a0,a1)}}return this},fadeTo:function(a0,a1,aZ){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:a1},a0,aZ)},animate:function(a2,a3,a0,aZ){var a1=G.speed(a3,a0,aZ);if(G.isEmptyObject(a2)){return this.each(a1.complete)}return this[a1.queue===false?"each":"queue"](function(){var a6=G.extend({},a1),a7,a4=this.nodeType===1&&G(this).is(":hidden"),a8=this;for(a7 in a2){var a5=a7.replace(U,t);if(a7!==a5){a2[a5]=a2[a7];delete a2[a7];a7=a5}if(a2[a7]==="hide"&&a4||a2[a7]==="show"&&!a4){return a6.complete.call(this)}if((a7==="height"||a7==="width")&&this.style){a6.display=G.css(this,"display");a6.overflow=this.style.overflow}if(G.isArray(a2[a7])){(a6.specialEasing=a6.specialEasing||{})[a7]=a2[a7][1];a2[a7]=a2[a7][0]}}if(a6.overflow!=null){this.style.overflow="hidden"}a6.curAnim=G.extend({},a2);G.each(a2,function(bb,bf){var a9=new G.fx(a8,a6,bb);if(ae.test(bf)){a9[bf==="toggle"?a4?"show":"hide":bf](a2)}else{var bc=ad.exec(bf),bd=a9.cur(true)||0;if(bc){var ba=parseFloat(bc[2]),be=bc[3]||"px";if(be!=="px"){a8.style[bb]=(ba||1)+be;bd=((ba||1)/a9.cur(true))*bd;a8.style[bb]=bd+be}if(bc[1]){ba=((bc[1]==="-="?-1:1)*ba)+bd}a9.custom(bd,ba,be)}else{a9.custom(bd,bf,"")}}});return true})},stop:function(aZ,a0){var a1=G.timers;if(aZ){this.queue([])}this.each(function(){for(var a2=a1.length-1;a2>=0;a2--){if(a1[a2].elem===this){if(a0){a1[a2](true)}a1.splice(a2,1)}}});if(!a0){this.dequeue()}return this}});G.each({slideDown:y("show",1),slideUp:y("hide",1),slideToggle:y("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(aZ,a0){G.fn[aZ]=function(a2,a1){return this.animate(a0,a2,a1)}});G.extend({speed:function(a2,aZ,a0){var a1=a2&&typeof a2==="object"?a2:{complete:a0||!a0&&aZ||G.isFunction(a2)&&a2,duration:a2,easing:a0&&aZ||aZ&&!G.isFunction(aZ)&&aZ};a1.duration=G.fx.off?0:typeof a1.duration==="number"?a1.duration:G.fx.speeds[a1.duration]||G.fx.speeds._default;a1.old=a1.complete;a1.complete=function(){if(a1.queue!==false){G(this).dequeue()}if(G.isFunction(a1.old)){a1.old.call(this)}};return a1},easing:{linear:function(a2,a1,a0,aZ){return a0+aZ*a2},swing:function(a2,a1,a0,aZ){return((-Math.cos(a2*Math.PI)/2)+0.5)*aZ+a0}},timers:[],fx:function(aZ,a0,a1){this.options=a0;this.elem=aZ;this.prop=a1;if(!a0.orig){a0.orig={}}}});G.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(G.fx.step[this.prop]||G.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(aZ){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var a0=parseFloat(G.css(this.elem,this.prop,aZ));return a0&&a0>-10000?a0:parseFloat(G.curCSS(this.elem,this.prop))||0},custom:function(aZ,a2,a3){this.startTime=M();this.start=aZ;this.end=a2;this.unit=a3||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a0=this;function a1(a4){return a0.step(a4)}a1.elem=this.elem;if(a1()&&G.timers.push(a1)&&!aO){aO=setInterval(G.fx.tick,13)}},show:function(){this.options.orig[this.prop]=G.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());G(this.elem).show()},hide:function(){this.options.orig[this.prop]=G.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a1){var a7=M(),a0=true;if(a1||a7>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var a2 in this.options.curAnim){if(this.options.curAnim[a2]!==true){a0=false}}if(a0){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;var a4=G.data(this.elem,"olddisplay");this.elem.style.display=a4?a4:this.options.display;if(G.css(this.elem,"display")==="none"){this.elem.style.display="block"}}if(this.options.hide){G(this.elem).hide()}if(this.options.hide||this.options.show){for(var a5 in this.options.curAnim){G.style(this.elem,a5,this.options.orig[a5])}}this.options.complete.call(this.elem)}return false}else{var a3=a7-this.startTime;this.state=a3/this.options.duration;var a6=this.options.specialEasing&&this.options.specialEasing[this.prop];var aZ=this.options.easing||(G.easing.swing?"swing":"linear");this.pos=G.easing[a6||aZ](this.state,a3,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};G.extend(G.fx,{tick:function(){var a0=G.timers;for(var aZ=0;aZ<a0.length;aZ++){if(!a0[aZ]()){a0.splice(aZ--,1)}}if(!a0.length){G.fx.stop()}},stop:function(){clearInterval(aO);aO=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(aZ){G.style(aZ.elem,"opacity",aZ.now)},_default:function(aZ){if(aZ.elem.style&&aZ.elem.style[aZ.prop]!=null){aZ.elem.style[aZ.prop]=(aZ.prop==="width"||aZ.prop==="height"?Math.max(0,aZ.now):aZ.now)+aZ.unit}else{aZ.elem[aZ.prop]=aZ.now}}}});if(G.expr&&G.expr.filters){G.expr.filters.animated=function(aZ){return G.grep(G.timers,function(a0){return aZ===a0.elem}).length}}function y(a1,aZ){var a0={};G.each(x.concat.apply([],x.slice(0,aZ)),function(){a0[this]=a1});return a0}if("getBoundingClientRect" in m.documentElement){G.fn.offset=function(a7){var a5=this[0];if(a7){return this.each(function(a9){G.offset.setOffset(this,a7,a9)})}if(!a5||!a5.ownerDocument){return null}if(a5===a5.ownerDocument.body){return G.offset.bodyOffset(a5)}var a0=a5.getBoundingClientRect(),a3=a5.ownerDocument,aZ=a3.body,a4=a3.documentElement,a2=a4.clientTop||aZ.clientTop||0,a1=a4.clientLeft||aZ.clientLeft||0,a8=a0.top+(self.pageYOffset||G.support.boxModel&&a4.scrollTop||aZ.scrollTop)-a2,a6=a0.left+(self.pageXOffset||G.support.boxModel&&a4.scrollLeft||aZ.scrollLeft)-a1;return{top:a8,left:a6}}}else{G.fn.offset=function(a7){var a4=this[0];if(a7){return this.each(function(bb){G.offset.setOffset(this,a7,bb)})}if(!a4||!a4.ownerDocument){return null}if(a4===a4.ownerDocument.body){return G.offset.bodyOffset(a4)}G.offset.initialize();var a6=a4.offsetParent,a9=a4,a2=a4.ownerDocument,a0,a3=a2.documentElement,aZ=a2.body,a1=a2.defaultView,a8=a1?a1.getComputedStyle(a4,null):a4.currentStyle,ba=a4.offsetTop,a5=a4.offsetLeft;while((a4=a4.parentNode)&&a4!==aZ&&a4!==a3){if(G.offset.supportsFixedPosition&&a8.position==="fixed"){break}a0=a1?a1.getComputedStyle(a4,null):a4.currentStyle;ba-=a4.scrollTop;a5-=a4.scrollLeft;if(a4===a6){ba+=a4.offsetTop;a5+=a4.offsetLeft;if(G.offset.doesNotAddBorder&&!(G.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a4.nodeName))){ba+=parseFloat(a0.borderTopWidth)||0;a5+=parseFloat(a0.borderLeftWidth)||0}a9=a6,a6=a4.offsetParent}if(G.offset.subtractsBorderForOverflowNotVisible&&a0.overflow!=="visible"){ba+=parseFloat(a0.borderTopWidth)||0;a5+=parseFloat(a0.borderLeftWidth)||0}a8=a0}if(a8.position==="relative"||a8.position==="static"){ba+=aZ.offsetTop;a5+=aZ.offsetLeft}if(G.offset.supportsFixedPosition&&a8.position==="fixed"){ba+=Math.max(a3.scrollTop,aZ.scrollTop);a5+=Math.max(a3.scrollLeft,aZ.scrollLeft)}return{top:ba,left:a5}}}G.offset={initialize:function(){var aZ=m.body,a2=m.createElement("div"),a4,a1,a5,a6,a0=parseFloat(G.curCSS(aZ,"marginTop",true))||0,a3="<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>";G.extend(a2.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});a2.innerHTML=a3;aZ.insertBefore(a2,aZ.firstChild);a4=a2.firstChild;a1=a4.firstChild;a6=a4.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(a1.offsetTop!==5);this.doesAddBorderForTableAndCells=(a6.offsetTop===5);a1.style.position="fixed",a1.style.top="20px";this.supportsFixedPosition=(a1.offsetTop===20||a1.offsetTop===15);a1.style.position=a1.style.top="";a4.style.overflow="hidden",a4.style.position="relative";this.subtractsBorderForOverflowNotVisible=(a1.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(aZ.offsetTop!==a0);aZ.removeChild(a2);aZ=a2=a4=a1=a5=a6=null;G.offset.initialize=G.noop},bodyOffset:function(aZ){var a1=aZ.offsetTop,a0=aZ.offsetLeft;G.offset.initialize();if(G.offset.doesNotIncludeMarginInBodyOffset){a1+=parseFloat(G.curCSS(aZ,"marginTop",true))||0;a0+=parseFloat(G.curCSS(aZ,"marginLeft",true))||0}return{top:a1,left:a0}},setOffset:function(a3,a5,a4){if(/static/.test(G.curCSS(a3,"position"))){a3.style.position="relative"}var aZ=G(a3),a1=aZ.offset(),a2=parseInt(G.curCSS(a3,"top",true),10)||0,a0=parseInt(G.curCSS(a3,"left",true),10)||0;if(G.isFunction(a5)){a5=a5.call(a3,a4,a1)}var a6={top:(a5.top-a1.top)+a2,left:(a5.left-a1.left)+a0};if("using" in a5){a5.using.call(a3,a6)}else{aZ.css(a6)}}};G.fn.extend({position:function(){if(!this[0]){return null}var aZ=this[0],a1=this.offsetParent(),a0=this.offset(),a2=/^body|html$/i.test(a1[0].nodeName)?{top:0,left:0}:a1.offset();a0.top-=parseFloat(G.curCSS(aZ,"marginTop",true))||0;a0.left-=parseFloat(G.curCSS(aZ,"marginLeft",true))||0;a2.top+=parseFloat(G.curCSS(a1[0],"borderTopWidth",true))||0;a2.left+=parseFloat(G.curCSS(a1[0],"borderLeftWidth",true))||0;return{top:a0.top-a2.top,left:a0.left-a2.left}},offsetParent:function(){return this.map(function(){var aZ=this.offsetParent||m.body;while(aZ&&(!/^body|html$/i.test(aZ.nodeName)&&G.css(aZ,"position")==="static")){aZ=aZ.offsetParent}return aZ})}});G.each(["Left","Top"],function(aZ,a1){var a0="scroll"+a1;G.fn[a0]=function(a3){var a2=this[0],a4;if(!a2){return null}if(a3!==aR){return this.each(function(){a4=B(this);if(a4){a4.scrollTo(!aZ?a3:G(a4).scrollLeft(),aZ?a3:G(a4).scrollTop())}else{this[a0]=a3}})}else{a4=B(a2);return a4?("pageXOffset" in a4)?a4[aZ?"pageYOffset":"pageXOffset"]:G.support.boxModel&&a4.document.documentElement[a0]||a4.document.body[a0]:a2[a0]}}});function B(aZ){return("scrollTo" in aZ&&aZ.document)?aZ:aZ.nodeType===9?aZ.defaultView||aZ.parentWindow:false}G.each(["Height","Width"],function(aZ,a0){var a1=a0.toLowerCase();G.fn["inner"+a0]=function(){return this[0]?G.css(this[0],a1,false,"padding"):null};G.fn["outer"+a0]=function(a2){return this[0]?G.css(this[0],a1,false,a2?"margin":"border"):null};G.fn[a1]=function(a3){var a2=this[0];if(!a2){return a3==null?null:this}if(G.isFunction(a3)){return this.each(function(a4){var a5=G(this);a5[a1](a3.call(this,a4,a5[a1]()))})}return("scrollTo" in a2&&a2.document)?a2.document.compatMode==="CSS1Compat"&&a2.document.documentElement["client"+a0]||a2.document.body["client"+a0]:(a2.nodeType===9)?Math.max(a2.documentElement["client"+a0],a2.body["scroll"+a0],a2.documentElement["scroll"+a0],a2.body["offset"+a0],a2.documentElement["offset"+a0]):a3===aR?G.css(a2,a1):this.css(a1,typeof a3==="string"?a3:a3+"px")}});aU.jQuery=aU.$=G})(window);(function(a){a.fn.labelInsideTextarea=function(){return this.each(function(){var b=a(this);var d=b.children("label");if(d.attr("for")){var c=a("#"+d.attr("for"));if(c){if(c.val()){d.hide()}c.focus(function(){d.hide()}).blur(function(){if(!a(this).val()){d.show()}})}}})}})(jQuery);
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.88 (08-JUN-2010)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.2.6 or later
 */
(function(a){var q="2.88";if(a.support==undefined){a.support={opacity:!(a.browser.msie)}}function f(r){if(a.fn.cycle.debug){l(r)}}function l(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}a.fn.cycle=function(t,r){var s={s:this.selector,c:this.context};if(this.length===0&&t!="stop"){if(!a.isReady&&s.s){l("DOM not ready, queuing slideshow");a(function(){a(s.s,s.c).cycle(t,r)});return this}l("terminating; zero elements found by selector"+(a.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var x=k(this,t,r);if(x===false){return}x.updateActivePagerLink=x.updateActivePagerLink||a.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var u=a(this);var v=x.slideExpr?a(x.slideExpr,this):u.children();var w=v.get();if(w.length<2){l("terminating; too few slides: "+w.length);return}var y=c(u,v,w,x,s);if(y===false){return}var z=y.continuous?10:i(w[y.currSlide],w[y.nextSlide],y,!y.rev);if(z){z+=(y.delay||0);if(z<10){z=10}f("first timeout: "+z);this.cycleTimeout=setTimeout(function(){j(w,y,0,(!y.rev&&!x.backwards))},z)}})};function k(t,v,r){if(t.cycleStop==undefined){t.cycleStop=0}if(v===undefined||v===null){v={}}if(v.constructor==String){switch(v){case"destroy":case"stop":var w=a(t).data("cycle.opts");if(!w){return false}t.cycleStop++;if(t.cycleTimeout){clearTimeout(t.cycleTimeout)}t.cycleTimeout=0;a(t).removeData("cycle.opts");if(v=="destroy"){g(w)}return false;case"toggle":t.cyclePause=(t.cyclePause===1)?0:1;s(t.cyclePause,r,t);return false;case"pause":t.cyclePause=1;return false;case"resume":t.cyclePause=0;s(false,r,t);return false;case"prev":case"next":var w=a(t).data("cycle.opts");if(!w){l('options not found, "prev/next" ignored');return false}a.fn.cycle[v](w);return false;default:v={fx:v}}return v}else{if(v.constructor==Number){var u=v;v=a(t).data("cycle.opts");if(!v){l("options not found, can not advance slide");return false}if(u<0||u>=v.elements.length){l("invalid slide index: "+u);return false}v.nextSlide=u;if(t.cycleTimeout){clearTimeout(t.cycleTimeout);t.cycleTimeout=0}if(typeof r=="string"){v.oneTimeFx=r}j(v.elements,v,1,u>=v.currSlide);return false}}return v;function s(z,x,y){if(!z&&x===true){var A=a(y).data("cycle.opts");if(!A){l("options not found, can not resume");return false}if(y.cycleTimeout){clearTimeout(y.cycleTimeout);y.cycleTimeout=0}j(A.elements,A,1,(!w.rev&&!w.backwards))}}}function m(r,s){if(!a.support.opacity&&s.cleartype&&r.style.filter){try{r.style.removeAttribute("filter")}catch(t){}}}function g(r){if(r.next){a(r.next).unbind(r.prevNextEvent)}if(r.prev){a(r.prev).unbind(r.prevNextEvent)}if(r.pager||r.pagerAnchorBuilder){a.each(r.pagerAnchors||[],function(){this.unbind().remove()})}r.pagerAnchors=null;if(r.destroy){r.destroy(r)}}function c(r,t,z,I,H){var J=a.extend({},a.fn.cycle.defaults,I||{},a.metadata?r.metadata():a.meta?r.data():{});if(J.autostop){J.countdown=J.autostopCount||z.length}var v=r[0];r.data("cycle.opts",J);J.$cont=r;J.stopCount=v.cycleStop;J.elements=z;J.before=J.before?[J.before]:[];J.after=J.after?[J.after]:[];J.after.unshift(function(){J.busy=0});if(!a.support.opacity&&J.cleartype){J.after.push(function(){m(this,J)})}if(J.continuous){J.after.push(function(){j(z,J,0,(!J.rev&&!J.backwards))})}n(J);if(!a.support.opacity&&J.cleartype&&!J.cleartypeNoBg){e(t)}if(r.css("position")=="static"){r.css("position","relative")}if(J.width){r.width(J.width)}if(J.height&&J.height!="auto"){r.height(J.height)}if(J.startingSlide){J.startingSlide=parseInt(J.startingSlide)}else{if(J.backwards){J.startingSlide=z.length-1}}if(J.random){J.randomMap=[];for(var C=0;C<z.length;C++){J.randomMap.push(C)}J.randomMap.sort(function(w,N){return Math.random()-0.5});J.randomIndex=1;J.startingSlide=J.randomMap[1]}else{if(J.startingSlide>=z.length){J.startingSlide=0}}J.currSlide=J.startingSlide||0;var A=J.startingSlide;t.css({position:"absolute",top:0,left:0}).hide().each(function(w){var N;if(J.backwards){N=A?w<=A?z.length+(w-A):A-w:z.length-w}else{N=A?w>=A?z.length-(w-A):A-w:z.length-w}a(this).css("z-index",N)});a(z[A]).css("opacity",1).show();m(z[A],J);if(J.fit&&J.width){t.width(J.width)}if(J.fit&&J.height&&J.height!="auto"){t.height(J.height)}var L=J.containerResize&&!r.innerHeight();if(L){var G=0,F=0;for(var E=0;E<z.length;E++){var s=a(z[E]),x=s[0],M=s.outerWidth(),B=s.outerHeight();if(!M){M=x.offsetWidth||x.width||s.attr("width")}if(!B){B=x.offsetHeight||x.height||s.attr("height")}G=M>G?M:G;F=B>F?B:F}if(G>0&&F>0){r.css({width:G+"px",height:F+"px"})}}if(J.pause){r.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(o(J)===false){return false}var K=false;I.requeueAttempts=I.requeueAttempts||0;t.each(function(){var w=a(this);this.cycleH=(J.fit&&J.height)?J.height:(w.height()||this.offsetHeight||this.height||w.attr("height")||0);this.cycleW=(J.fit&&J.width)?J.width:(w.width()||this.offsetWidth||this.width||w.attr("width")||0);if(w.is("img")){var O=(a.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var N=(a.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var P=(a.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var Q=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(O||N||P||Q){if(H.s&&J.requeueOnImageNotLoaded&&++I.requeueAttempts<100){l(I.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){a(H.s,H.c).cycle(I)},J.requeueTimeout);K=true;return false}else{l("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(K){return false}J.cssBefore=J.cssBefore||{};J.animIn=J.animIn||{};J.animOut=J.animOut||{};t.not(":eq("+A+")").css(J.cssBefore);if(J.cssFirst){a(t[A]).css(J.cssFirst)}if(J.timeout){J.timeout=parseInt(J.timeout);if(J.speed.constructor==String){J.speed=a.fx.speeds[J.speed]||parseInt(J.speed)}if(!J.sync){J.speed=J.speed/2}var u=J.fx=="shuffle"?500:250;while((J.timeout-J.speed)<u){J.timeout+=J.speed}}if(J.easing){J.easeIn=J.easeOut=J.easing}if(!J.speedIn){J.speedIn=J.speed}if(!J.speedOut){J.speedOut=J.speed}J.slideCount=z.length;J.currSlide=J.lastSlide=A;if(J.random){if(++J.randomIndex==z.length){J.randomIndex=0}J.nextSlide=J.randomMap[J.randomIndex]}else{if(J.backwards){J.nextSlide=J.startingSlide==0?(z.length-1):J.startingSlide-1}else{J.nextSlide=J.startingSlide>=(z.length-1)?0:J.startingSlide+1}}if(!J.multiFx){var D=a.fn.cycle.transitions[J.fx];if(a.isFunction(D)){D(r,t,J)}else{if(J.fx!="custom"&&!J.multiFx){l("unknown transition: "+J.fx,"; slideshow terminating");return false}}}var y=t[A];if(J.before.length){J.before[0].apply(y,[y,y,J,true])}if(J.after.length>1){J.after[1].apply(y,[y,y,J,true])}if(J.next){a(J.next).bind(J.prevNextEvent,function(){return b(J,J.rev?-1:1)})}if(J.prev){a(J.prev).bind(J.prevNextEvent,function(){return b(J,J.rev?1:-1)})}if(J.pager||J.pagerAnchorBuilder){d(z,J)}h(J,z);return J}function n(r){r.original={before:[],after:[]};r.original.cssBefore=a.extend({},r.cssBefore);r.original.cssAfter=a.extend({},r.cssAfter);r.original.animIn=a.extend({},r.animIn);r.original.animOut=a.extend({},r.animOut);a.each(r.before,function(){r.original.before.push(this)});a.each(r.after,function(){r.original.after.push(this)})}function o(t){var s,w,x=a.fn.cycle.transitions;if(t.fx.indexOf(",")>0){t.multiFx=true;t.fxs=t.fx.replace(/\s*/g,"").split(",");for(s=0;s<t.fxs.length;s++){var r=t.fxs[s];w=x[r];if(!w||!x.hasOwnProperty(r)||!a.isFunction(w)){l("discarding unknown transition: ",r);t.fxs.splice(s,1);s--}}if(!t.fxs.length){l("No valid transitions named; slideshow terminating.");return false}}else{if(t.fx=="all"){t.multiFx=true;t.fxs=[];for(p in x){w=x[p];if(x.hasOwnProperty(p)&&a.isFunction(w)){t.fxs.push(p)}}}}if(t.multiFx&&t.randomizeEffects){var u=Math.floor(Math.random()*20)+30;for(s=0;s<u;s++){var v=Math.floor(Math.random()*t.fxs.length);t.fxs.push(t.fxs.splice(v,1)[0])}f("randomized fx sequence: ",t.fxs)}return true}function h(s,r){s.addSlide=function(u,v){var t=a(u),w=t[0];if(!s.autostopCount){s.countdown++}r[v?"unshift":"push"](w);if(s.els){s.els[v?"unshift":"push"](w)}s.slideCount=r.length;t.css("position","absolute");t[v?"prependTo":"appendTo"](s.$cont);if(v){s.currSlide++;s.nextSlide++}if(!a.support.opacity&&s.cleartype&&!s.cleartypeNoBg){e(t)}if(s.fit&&s.width){t.width(s.width)}if(s.fit&&s.height&&s.height!="auto"){$slides.height(s.height)}w.cycleH=(s.fit&&s.height)?s.height:t.height();w.cycleW=(s.fit&&s.width)?s.width:t.width();t.css(s.cssBefore);if(s.pager||s.pagerAnchorBuilder){a.fn.cycle.createPagerAnchor(r.length-1,w,a(s.pager),r,s)}if(a.isFunction(s.onAddSlide)){s.onAddSlide(t)}else{t.hide()}}}a.fn.cycle.resetState=function(t,r){r=r||t.fx;t.before=[];t.after=[];t.cssBefore=a.extend({},t.original.cssBefore);t.cssAfter=a.extend({},t.original.cssAfter);t.animIn=a.extend({},t.original.animIn);t.animOut=a.extend({},t.original.animOut);t.fxFn=null;a.each(t.original.before,function(){t.before.push(this)});a.each(t.original.after,function(){t.after.push(this)});var s=a.fn.cycle.transitions[r];if(a.isFunction(s)){s(t.$cont,a(t.elements),t)}};function j(u,A,x,v){if(x&&A.busy&&A.manualTrump){f("manualTrump in go(), stopping active transition");a(u).stop(true,true);A.busy=false}if(A.busy){f("transition active, ignoring new tx request");return}var B=A.$cont[0],t=u[A.currSlide],z=u[A.nextSlide];if(B.cycleStop!=A.stopCount||B.cycleTimeout===0&&!x){return}if(!x&&!B.cyclePause&&!A.bounce&&((A.autostop&&(--A.countdown<=0))||(A.nowrap&&!A.random&&A.nextSlide<A.currSlide))){if(A.end){A.end(A)}return}var s=false;if((x||!B.cyclePause)&&(A.nextSlide!=A.currSlide)){s=true;var w=A.fx;t.cycleH=t.cycleH||a(t).height();t.cycleW=t.cycleW||a(t).width();z.cycleH=z.cycleH||a(z).height();z.cycleW=z.cycleW||a(z).width();if(A.multiFx){if(A.lastFx==undefined||++A.lastFx>=A.fxs.length){A.lastFx=0}w=A.fxs[A.lastFx];A.currFx=w}if(A.oneTimeFx){w=A.oneTimeFx;A.oneTimeFx=null}a.fn.cycle.resetState(A,w);if(A.before.length){a.each(A.before,function(D,E){if(B.cycleStop!=A.stopCount){return}E.apply(z,[t,z,A,v])})}var r=function(){a.each(A.after,function(D,E){if(B.cycleStop!=A.stopCount){return}E.apply(z,[t,z,A,v])})};f("tx firing; currSlide: "+A.currSlide+"; nextSlide: "+A.nextSlide);A.busy=1;if(A.fxFn){A.fxFn(t,z,A,r,v,x&&A.fastOnEvent)}else{if(a.isFunction(a.fn.cycle[A.fx])){a.fn.cycle[A.fx](t,z,A,r,v,x&&A.fastOnEvent)}else{a.fn.cycle.custom(t,z,A,r,v,x&&A.fastOnEvent)}}}if(s||A.nextSlide==A.currSlide){A.lastSlide=A.currSlide;if(A.random){A.currSlide=A.nextSlide;if(++A.randomIndex==u.length){A.randomIndex=0}A.nextSlide=A.randomMap[A.randomIndex];if(A.nextSlide==A.currSlide){A.nextSlide=(A.currSlide==A.slideCount-1)?0:A.currSlide+1}}else{if(A.backwards){var C=(A.nextSlide-1)<0;if(C&&A.bounce){A.backwards=!A.backwards;A.nextSlide=1;A.currSlide=0}else{A.nextSlide=C?(u.length-1):A.nextSlide-1;A.currSlide=C?0:A.nextSlide+1}}else{var C=(A.nextSlide+1)==u.length;if(C&&A.bounce){A.backwards=!A.backwards;A.nextSlide=u.length-2;A.currSlide=u.length-1}else{A.nextSlide=C?0:A.nextSlide+1;A.currSlide=C?u.length-1:A.nextSlide-1}}}}if(s&&A.pager){A.updateActivePagerLink(A.pager,A.currSlide,A.activePagerClass)}var y=0;if(A.timeout&&!A.continuous){y=i(u[A.currSlide],u[A.nextSlide],A,v)}else{if(A.continuous&&B.cyclePause){y=10}}if(y>0){B.cycleTimeout=setTimeout(function(){j(u,A,0,(!A.rev&&!A.backwards))},y)}}a.fn.cycle.updateActivePagerLink=function(t,s,r){a(t).each(function(){a(this).children().removeClass(r).eq(s).addClass(r)})};function i(r,u,v,s){if(v.timeoutFn){var w=v.timeoutFn.call(r,r,u,v,s);while((w-v.speed)<250){w+=v.speed}f("calculated timeout: "+w+"; speed: "+v.speed);if(w!==false){return w}}return v.timeout}a.fn.cycle.next=function(r){b(r,r.rev?-1:1)};a.fn.cycle.prev=function(r){b(r,r.rev?1:-1)};function b(t,w){var s=t.elements;var u=t.$cont[0],v=u.cycleTimeout;if(v){clearTimeout(v);u.cycleTimeout=0}if(t.random&&w<0){t.randomIndex--;if(--t.randomIndex==-2){t.randomIndex=s.length-2}else{if(t.randomIndex==-1){t.randomIndex=s.length-1}}t.nextSlide=t.randomMap[t.randomIndex]}else{if(t.random){t.nextSlide=t.randomMap[t.randomIndex]}else{t.nextSlide=t.currSlide+w;if(t.nextSlide<0){if(t.nowrap){return false}t.nextSlide=s.length-1}else{if(t.nextSlide>=s.length){if(t.nowrap){return false}t.nextSlide=0}}}}var r=t.onPrevNextEvent||t.prevNextClick;if(a.isFunction(r)){r(w>0,t.nextSlide,s[t.nextSlide])}j(s,t,1,w>=0);return false}function d(s,t){var r=a(t.pager);a.each(s,function(u,v){a.fn.cycle.createPagerAnchor(u,v,r,s,t)});t.updateActivePagerLink(t.pager,t.startingSlide,t.activePagerClass)}a.fn.cycle.createPagerAnchor=function(x,v,s,w,y){var t;if(a.isFunction(y.pagerAnchorBuilder)){t=y.pagerAnchorBuilder(x,v);f("pagerAnchorBuilder("+x+", el) returned: "+t)}else{t='<a href="#">'+(x+1)+"</a>"}if(!t){return}var r=a(t);if(r.parents("body").length===0){var u=[];if(s.length>1){s.each(function(){var z=r.clone(true);a(this).append(z);u.push(z[0])});r=a(u)}else{r.appendTo(s)}}y.pagerAnchors=y.pagerAnchors||[];y.pagerAnchors.push(r);r.bind(y.pagerEvent,function(A){A.preventDefault();y.nextSlide=x;var B=y.$cont[0],C=B.cycleTimeout;if(C){clearTimeout(C);B.cycleTimeout=0}var z=y.onPagerEvent||y.pagerClick;if(a.isFunction(z)){z(y.nextSlide,w[y.nextSlide])}j(w,y,1,y.currSlide<x)});if(!/^click/.test(y.pagerEvent)&&!y.allowPagerClickBubble){r.bind("click.cycle",function(){return false})}if(y.pauseOnPagerHover){r.hover(function(){y.$cont[0].cyclePause++},function(){y.$cont[0].cyclePause--})}};a.fn.cycle.hopsFromLast=function(v,s){var t,u=v.lastSlide,r=v.currSlide;if(s){t=r>u?r-u:v.slideCount-u}else{t=r<u?u-r:u+v.slideCount-r}return t};function e(r){f("applying clearType background-color hack");function t(u){u=parseInt(u).toString(16);return u.length<2?"0"+u:u}function s(u){for(;u&&u.nodeName.toLowerCase()!="html";u=u.parentNode){var x=a.css(u,"background-color");if(x.indexOf("rgb")>=0){var w=x.match(/\d+/g);return"#"+t(w[0])+t(w[1])+t(w[2])}if(x&&x!="transparent"){return x}}return"#ffffff"}r.each(function(){a(this).css("background-color",s(this))})}a.fn.cycle.commonReset=function(r,t,u,x,s,v){a(u.elements).not(r).hide();u.cssBefore.opacity=1;u.cssBefore.display="block";if(x!==false&&t.cycleW>0){u.cssBefore.width=t.cycleW}if(s!==false&&t.cycleH>0){u.cssBefore.height=t.cycleH}u.cssAfter=u.cssAfter||{};u.cssAfter.display="none";a(r).css("zIndex",u.slideCount+(v===true?1:0));a(t).css("zIndex",u.slideCount+(v===true?0:1))};a.fn.cycle.custom=function(u,z,A,t,y,D){var r=a(u),s=a(z);var B=A.speedIn,C=A.speedOut,v=A.easeIn,w=A.easeOut;s.css(A.cssBefore);if(D){if(typeof D=="number"){B=C=D}else{B=C=1}v=w=null}var x=function(){s.animate(A.animIn,B,v,t)};r.animate(A.animOut,C,w,function(){if(A.cssAfter){r.css(A.cssAfter)}if(!A.sync){x()}});if(A.sync){x()}};a.fn.cycle.transitions={fade:function(r,s,t){s.not(":eq("+t.currSlide+")").css("opacity",0);t.before.push(function(u,v,w){a.fn.cycle.commonReset(u,v,w);w.cssBefore.opacity=0});t.animIn={opacity:1};t.animOut={opacity:0};t.cssBefore={top:0,left:0}}};a.fn.cycle.ver=function(){return q};a.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!a.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false}})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.72
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(a){a.fn.cycle.transitions.none=function(b,c,d){d.fxFn=function(f,g,h,e){a(g).show();a(f).hide();e()}};a.fn.cycle.transitions.scrollUp=function(b,c,e){b.css("overflow","hidden");e.before.push(a.fn.cycle.commonReset);var d=b.height();e.cssBefore={top:d,left:0};e.cssFirst={top:0};e.animIn={top:0};e.animOut={top:-d}};a.fn.cycle.transitions.scrollDown=function(b,c,e){b.css("overflow","hidden");e.before.push(a.fn.cycle.commonReset);var d=b.height();e.cssFirst={top:0};e.cssBefore={top:-d,left:0};e.animIn={top:0};e.animOut={top:d}};a.fn.cycle.transitions.scrollLeft=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst={left:0};d.cssBefore={left:e,top:0};d.animIn={left:0};d.animOut={left:0-e}};a.fn.cycle.transitions.scrollRight=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst={left:0};d.cssBefore={left:-e,top:0};d.animIn={left:0};d.animOut={left:e}};a.fn.cycle.transitions.scrollHorz=function(b,c,d){b.css("overflow","hidden").width();d.before.push(function(e,g,h,f){a.fn.cycle.commonReset(e,g,h);h.cssBefore.left=f?(g.cycleW-1):(1-g.cycleW);h.animOut.left=f?-e.cycleW:e.cycleW});d.cssFirst={left:0};d.cssBefore={top:0};d.animIn={left:0};d.animOut={top:0}};a.fn.cycle.transitions.scrollVert=function(b,c,d){b.css("overflow","hidden");d.before.push(function(e,g,h,f){a.fn.cycle.commonReset(e,g,h);h.cssBefore.top=f?(1-g.cycleH):(g.cycleH-1);h.animOut.top=f?e.cycleH:-e.cycleH});d.cssFirst={top:0};d.cssBefore={left:0};d.animIn={top:0};d.animOut={left:0}};a.fn.cycle.transitions.slideX=function(b,c,d){d.before.push(function(e,f,g){a(g.elements).not(e).hide();a.fn.cycle.commonReset(e,f,g,false,true);g.animIn.width=f.cycleW});d.cssBefore={left:0,top:0,width:0};d.animIn={width:"show"};d.animOut={width:0}};a.fn.cycle.transitions.slideY=function(b,c,d){d.before.push(function(e,f,g){a(g.elements).not(e).hide();a.fn.cycle.commonReset(e,f,g,true,false);g.animIn.height=f.cycleH});d.cssBefore={left:0,top:0,height:0};d.animIn={height:"show"};d.animOut={height:0}};a.fn.cycle.transitions.shuffle=function(b,c,e){var d,f=b.css("overflow","visible").width();c.css({left:0,top:0});e.before.push(function(g,h,i){a.fn.cycle.commonReset(g,h,i,true,true,true)});if(!e.speedAdjusted){e.speed=e.speed/2;e.speedAdjusted=true}e.random=0;e.shuffle=e.shuffle||{left:-f,top:15};e.els=[];for(d=0;d<c.length;d++){e.els.push(c[d])}for(d=0;d<e.currSlide;d++){e.els.push(e.els.shift())}e.fxFn=function(j,l,m,h,k){var g=k?a(j):a(l);a(l).css(m.cssBefore);var i=m.slideCount;g.animate(m.shuffle,m.speedIn,m.easeIn,function(){var n=a.fn.cycle.hopsFromLast(m,k);for(var q=0;q<n;q++){k?m.els.push(m.els.shift()):m.els.unshift(m.els.pop())}if(k){for(var o=0,r=m.els.length;o<r;o++){a(m.els[o]).css("z-index",r-o+i)}}else{var s=a(j).css("z-index");g.css("z-index",parseInt(s)+1+i)}g.animate({left:0,top:0},m.speedOut,m.easeOut,function(){a(k?this:j).hide();if(h){h()}})})};e.cssBefore={display:"block",opacity:1,top:0,left:0}};a.fn.cycle.transitions.turnUp=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,true,false);g.cssBefore.top=f.cycleH;g.animIn.height=f.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,height:0};d.animIn={top:0};d.animOut={height:0}};a.fn.cycle.transitions.turnDown=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,true,false);g.animIn.height=f.cycleH;g.animOut.top=e.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,top:0,height:0};d.animOut={height:0}};a.fn.cycle.transitions.turnLeft=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,false,true);g.cssBefore.left=f.cycleW;g.animIn.width=f.cycleW});d.cssBefore={top:0,width:0};d.animIn={left:0};d.animOut={width:0}};a.fn.cycle.transitions.turnRight=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,false,true);g.animIn.width=f.cycleW;g.animOut.left=e.cycleW});d.cssBefore={top:0,left:0,width:0};d.animIn={left:0};d.animOut={width:0}};a.fn.cycle.transitions.zoom=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,false,false,true);g.cssBefore.top=f.cycleH/2;g.cssBefore.left=f.cycleW/2;g.animIn={top:0,left:0,width:f.cycleW,height:f.cycleH};g.animOut={width:0,height:0,top:e.cycleH/2,left:e.cycleW/2}});d.cssFirst={top:0,left:0};d.cssBefore={width:0,height:0}};a.fn.cycle.transitions.fadeZoom=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,false,false);g.cssBefore.left=f.cycleW/2;g.cssBefore.top=f.cycleH/2;g.animIn={top:0,left:0,width:f.cycleW,height:f.cycleH}});d.cssBefore={width:0,height:0};d.animOut={opacity:0}};a.fn.cycle.transitions.blindX=function(b,c,d){var e=b.css("overflow","hidden").width();d.before.push(function(f,g,h){a.fn.cycle.commonReset(f,g,h);h.animIn.width=g.cycleW;h.animOut.left=f.cycleW});d.cssBefore={left:e,top:0};d.animIn={left:0};d.animOut={left:e}};a.fn.cycle.transitions.blindY=function(b,c,e){var d=b.css("overflow","hidden").height();e.before.push(function(f,g,h){a.fn.cycle.commonReset(f,g,h);h.animIn.height=g.cycleH;h.animOut.top=f.cycleH});e.cssBefore={top:d,left:0};e.animIn={top:0};e.animOut={top:d}};a.fn.cycle.transitions.blindZ=function(b,c,e){var d=b.css("overflow","hidden").height();var f=b.width();e.before.push(function(g,h,i){a.fn.cycle.commonReset(g,h,i);i.animIn.height=h.cycleH;i.animOut.top=g.cycleH});e.cssBefore={top:d,left:f};e.animIn={top:0,left:0};e.animOut={top:d,left:f}};a.fn.cycle.transitions.growX=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,false,true);g.cssBefore.left=this.cycleW/2;g.animIn={left:0,width:this.cycleW};g.animOut={left:0}});d.cssBefore={width:0,top:0}};a.fn.cycle.transitions.growY=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,true,false);g.cssBefore.top=this.cycleH/2;g.animIn={top:0,height:this.cycleH};g.animOut={top:0}});d.cssBefore={height:0,left:0}};a.fn.cycle.transitions.curtainX=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,false,true,true);g.cssBefore.left=f.cycleW/2;g.animIn={left:0,width:this.cycleW};g.animOut={left:e.cycleW/2,width:0}});d.cssBefore={top:0,width:0}};a.fn.cycle.transitions.curtainY=function(b,c,d){d.before.push(function(e,f,g){a.fn.cycle.commonReset(e,f,g,true,false,true);g.cssBefore.top=f.cycleH/2;g.animIn={top:0,height:f.cycleH};g.animOut={top:e.cycleH/2,height:0}});d.cssBefore={left:0,height:0}};a.fn.cycle.transitions.cover=function(b,c,g){var e=g.direction||"left";var i=b.css("overflow","hidden").width();var f=b.height();g.before.push(function(d,h,j){a.fn.cycle.commonReset(d,h,j);if(e=="right"){j.cssBefore.left=-i}else{if(e=="up"){j.cssBefore.top=f}else{if(e=="down"){j.cssBefore.top=-f}else{j.cssBefore.left=i}}}});g.animIn={left:0,top:0};g.animOut={opacity:1};g.cssBefore={top:0,left:0}};a.fn.cycle.transitions.uncover=function(b,c,g){var e=g.direction||"left";var i=b.css("overflow","hidden").width();var f=b.height();g.before.push(function(d,h,j){a.fn.cycle.commonReset(d,h,j,true,true,true);if(e=="right"){j.animOut.left=i}else{if(e=="up"){j.animOut.top=-f}else{if(e=="down"){j.animOut.top=f}else{j.animOut.left=-i}}}});g.animIn={left:0,top:0};g.animOut={opacity:1};g.cssBefore={top:0,left:0}};a.fn.cycle.transitions.toss=function(b,c,e){var f=b.css("overflow","visible").width();var d=b.height();e.before.push(function(g,h,i){a.fn.cycle.commonReset(g,h,i,true,true,true);if(!i.animOut.left&&!i.animOut.top){i.animOut={left:f*2,top:-d/2,opacity:0}}else{i.animOut.opacity=0}});e.cssBefore={left:0,top:0};e.animIn={left:0}};a.fn.cycle.transitions.wipe=function(c,e,n){var u=c.css("overflow","hidden").width();var j=c.height();n.cssBefore=n.cssBefore||{};var g;if(n.clip){if(/l2r/.test(n.clip)){g="rect(0px 0px "+j+"px 0px)"}else{if(/r2l/.test(n.clip)){g="rect(0px "+u+"px "+j+"px "+u+"px)"}else{if(/t2b/.test(n.clip)){g="rect(0px "+u+"px 0px 0px)"}else{if(/b2t/.test(n.clip)){g="rect("+j+"px "+u+"px "+j+"px 0px)"}else{if(/zoom/.test(n.clip)){var s=parseInt(j/2);var m=parseInt(u/2);g="rect("+s+"px "+m+"px "+s+"px "+m+"px)"}}}}}}n.cssBefore.clip=n.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var i=n.cssBefore.clip.match(/(\d+)/g);var q=parseInt(i[0]),o=parseInt(i[1]),f=parseInt(i[2]),k=parseInt(i[3]);n.before.push(function(l,t,v){if(l==t){return}var b=a(l),d=a(t);a.fn.cycle.commonReset(l,t,v,true,true,false);v.cssAfter.display="block";var w=1,h=parseInt((v.speedIn/13))-1;(function r(){var A=q?q-parseInt(w*(q/h)):0;var y=k?k-parseInt(w*(k/h)):0;var x=f<j?f+parseInt(w*((j-f)/h||1)):j;var z=o<u?o+parseInt(w*((u-o)/h||1)):u;d.css({clip:"rect("+A+"px "+z+"px "+x+"px "+y+"px)"});(w++<=h)?setTimeout(r,13):b.css("display","none")})()});n.cssBefore={display:"block",opacity:1,top:0,left:0};n.animIn={left:0};n.animOut={left:0}}})(jQuery);(function(a,X){var A={transition:"elastic",speed:300,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:false,scalePhotos:true,scrolling:true,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:true,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,loop:true,slideshow:false,slideshowAuto:true,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,overlayClose:true,escKey:true,arrowKey:true},z="colorbox",S="cbox",H=S+"_open",G=S+"_load",E=S+"_complete",C=S+"_cleanup",D=S+"_closed",L=a.browser.msie&&!a.support.opacity,M=L&&a.browser.version<7,F=S+"_IE6",m,c,v,e,t,h,q,b,o,u,i,j,k,s,f,r,l,n,d,J,K,P,Q,B,x,I,W,R,w,U,y=S+"Element";function g(Z,Y){Z=Z?' id="'+S+Z+'"':"";Y=Y?' style="'+Y+'"':"";return a("<div"+Z+Y+"/>")}function V(Z,Y){Y=Y==="x"?u.width():u.height();return(typeof Z==="string")?Math.round((Z.match(/%/)?(Y/100)*parseInt(Z,10):parseInt(Z,10))):Z}function N(Y){Y=a.isFunction(Y)?Y.call(B):Y;return W.photo||Y.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function T(){for(var Y in W){if(a.isFunction(W[Y])&&Y.substring(0,2)!=="on"){W[Y]=W[Y].call(B)}}W.rel=W.rel||B.rel||"nofollow";W.href=W.href||a(B).attr("href");W.title=W.title||B.title}function O(Z){B=Z;W=a.extend({},a(B).data(z));T();if(W.rel!=="nofollow"){o=a("."+y).filter(function(){var aa=a(this).data(z).rel||this.rel;return(aa===W.rel)});I=o.index(B);if(I===-1){o=o.add(B);I=o.length-1}}else{o=a(B);I=0}if(!R){R=w=true;x=B;try{x.blur()}catch(Y){}a.event.trigger(H);if(W.onOpen){W.onOpen.call(B)}m.css({opacity:+W.opacity,cursor:W.overlayClose?"pointer":"auto"}).show();W.w=V(W.initialWidth,"x");W.h=V(W.initialHeight,"y");U.position(0);if(M){u.bind("resize."+F+" scroll."+F,function(){m.css({width:u.width(),height:u.height(),top:u.scrollTop(),left:u.scrollLeft()})}).trigger("scroll."+F)}}f.add(n).add(l).add(r).add(s).hide();d.html(W.close).show();U.slideshow();U.load()}U=a.fn[z]=a[z]=function(aa,Z){var Y=this;if(!Y[0]&&Y.selector){return Y}aa=aa||{};if(Z){aa.onComplete=Z}if(!Y[0]||Y.selector===undefined){Y=a("<a/>");aa.open=true}Y.each(function(){a(this).data(z,a.extend({},a(this).data(z)||A,aa)).addClass(y)});if(aa.open){O(Y[0])}return Y};U.init=function(){u=a(X);c=g().attr({id:z,"class":L?S+"IE":""});m=g("Overlay",M?"position:absolute":"").hide();v=g("Wrapper");e=g("Content").append(i=g("LoadedContent","width:0; height:0"),k=g("LoadingOverlay").add(g("LoadingGraphic")),s=g("Title"),f=g("Current"),l=g("Next"),n=g("Previous"),r=g("Slideshow"),d=g("Close"));v.append(g().append(g("TopLeft"),t=g("TopCenter"),g("TopRight")),g().append(h=g("MiddleLeft"),e,q=g("MiddleRight")),g().append(g("BottomLeft"),b=g("BottomCenter"),g("BottomRight"))).children().children().css({"float":"left"});j=g(false,"position:absolute; width:9999px; visibility:hidden; display:none");a("body").prepend(m,c.append(v,j));e.children().hover(function(){a(this).addClass("hover")},function(){a(this).removeClass("hover")}).addClass("hover");J=t.height()+b.height()+e.outerHeight(true)-e.height();K=h.width()+q.width()+e.outerWidth(true)-e.width();P=i.outerHeight(true);Q=i.outerWidth(true);c.css({"padding-bottom":J,"padding-right":K}).hide();l.click(U.next);n.click(U.prev);d.click(U.close);e.children().removeClass("hover");a("."+y).live("click",function(Y){if((Y.button!==0&&typeof Y.button!=="undefined")||Y.ctrlKey||Y.shiftKey||Y.altKey){return true}else{O(this);return false}});m.click(function(){if(W.overlayClose){U.close()}});a(document).bind("keydown",function(Y){if(R&&W.escKey&&Y.keyCode===27){Y.preventDefault();U.close()}if(R&&W.arrowKey&&!w&&o[1]){if(Y.keyCode===37&&(I||W.loop)){Y.preventDefault();n.click()}else{if(Y.keyCode===39&&(I<o.length-1||W.loop)){Y.preventDefault();l.click()}}}})};U.remove=function(){c.add(m).remove();a("."+y).die("click").removeData(z).removeClass(y)};U.position=function(ad,Z){var Y,ac=Math.max(u.height()-W.h-P-J,0)/2+u.scrollTop(),ab=Math.max(u.width()-W.w-Q-K,0)/2+u.scrollLeft();Y=(c.width()===W.w+Q&&c.height()===W.h+P)?0:ad;v[0].style.width=v[0].style.height="9999px";function aa(ae){t[0].style.width=b[0].style.width=e[0].style.width=ae.style.width;k[0].style.height=k[1].style.height=e[0].style.height=h[0].style.height=q[0].style.height=ae.style.height}c.dequeue().animate({width:W.w+Q,height:W.h+P,top:ac,left:ab},{duration:Y,complete:function(){aa(this);w=false;v[0].style.width=(W.w+Q+K)+"px";v[0].style.height=(W.h+P+J)+"px";if(Z){Z()}},step:function(){aa(this)}})};U.resize=function(Z){if(R){Z=Z||{};if(Z.width){W.w=V(Z.width,"x")-Q-K}if(Z.innerWidth){W.w=V(Z.innerWidth,"x")}i.css({width:W.w});if(Z.height){W.h=V(Z.height,"y")-P-J}if(Z.innerHeight){W.h=V(Z.innerHeight,"y")}if(!Z.innerHeight&&!Z.height){var Y=i.wrapInner("<div style='overflow:auto'></div>").children();W.h=Y.height();Y.replaceWith(Y.children())}i.css({height:W.h});U.position(W.transition==="none"?0:W.speed)}};U.prep=function(aa){if(!R){return}var ab,ad=W.transition==="none"?0:W.speed;u.unbind("resize."+S);i.remove();i=g("LoadedContent").html(aa);function Z(){W.w=W.w||i.width();W.w=W.mw&&W.mw<W.w?W.mw:W.w;return W.w}function Y(){W.h=W.h||i.height();W.h=W.mh&&W.mh<W.h?W.mh:W.h;return W.h}i.hide().appendTo(j.show()).css({width:Z(),overflow:W.scrolling?"auto":"hidden"}).css({height:Y()}).prependTo(e);j.hide();a("#"+S+"Photo").css({cssFloat:"none"});if(M){a("select").not(c.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(C,function(){this.style.visibility="inherit"})}function ac(aj){var ah,ai,af,ag,ak=o.length,ae=W.loop;U.position(aj,function(){function al(){if(L){c[0].style.removeAttribute("filter")}}if(!R){return}if(L){if(ab){i.fadeIn(100)}}if(W.iframe){a("<iframe frameborder=0"+(W.scrolling?"":" scrolling='no'")+(L?" allowtransparency='true'":"")+"/>").attr({src:W.href,name:new Date().getTime()}).appendTo(i)}i.show();s.show().html(W.title);if(ak>1){f.html(W.current.replace(/\{current\}/,I+1).replace(/\{total\}/,ak)).show();l[(ae||I<ak-1)?"show":"hide"]().html(W.next);n[(ae||I)?"show":"hide"]().html(W.previous);ah=I?o[I-1]:o[ak-1];af=I<ak-1?o[I+1]:o[0];if(W.slideshow){r.show();if(I===ak-1&&!ae&&c.is("."+S+"Slideshow_on")){r.click()}}if(W.preloading){ag=a(af).data(z).href||af.href;ai=a(ah).data(z).href||ah.href;if(N(ag)){a("<img/>")[0].src=ag}if(N(ai)){a("<img/>")[0].src=ai}}}k.hide();if(W.transition==="fade"){c.fadeTo(ad,1,function(){al()})}else{al()}u.bind("resize."+S,function(){U.position(0)});a.event.trigger(E);if(W.onComplete){W.onComplete.call(B)}})}if(W.transition==="fade"){c.fadeTo(ad,0,function(){ac(0)})}else{ac(ad)}};U.load=function(){var Y,Z,ab,aa=U.prep;w=true;B=o[I];W=a.extend({},a(B).data(z));T();a.event.trigger(G);if(W.onLoad){W.onLoad.call(B)}W.h=W.height?V(W.height,"y")-P-J:W.innerHeight&&V(W.innerHeight,"y");W.w=W.width?V(W.width,"x")-Q-K:W.innerWidth&&V(W.innerWidth,"x");W.mw=W.w;W.mh=W.h;if(W.maxWidth){W.mw=V(W.maxWidth,"x")-Q-K;W.mw=W.w&&W.w<W.mw?W.w:W.mw}if(W.maxHeight){W.mh=V(W.maxHeight,"y")-P-J;W.mh=W.h&&W.h<W.mh?W.h:W.mh}Y=W.href;k.show();if(W.inline){g("InlineTemp").hide().insertBefore(a(Y)[0]).bind(G+" "+C,function(){a(this).replaceWith(i.children())});aa(a(Y))}else{if(W.iframe){aa(" ")}else{if(W.html){aa(W.html)}else{if(N(Y)){Z=new Image();Z.onload=function(){var ac;Z.onload=null;Z.id=S+"Photo";a(Z).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});if(W.scalePhotos){ab=function(){Z.height-=Z.height*ac;Z.width-=Z.width*ac};if(W.mw&&Z.width>W.mw){ac=(Z.width-W.mw)/Z.width;ab()}if(W.mh&&Z.height>W.mh){ac=(Z.height-W.mh)/Z.height;ab()}}if(W.h){Z.style.marginTop=Math.max(W.h-Z.height,0)/2+"px"}setTimeout(function(){aa(Z)},1);if(o[1]&&(I<o.length-1||W.loop)){a(Z).css({cursor:"pointer"}).click(U.next)}if(L){Z.style.msInterpolationMode="bicubic"}};Z.src=Y}else{g().appendTo(j).load(Y,function(ac,ad,ae){aa(ad==="error"?"Request unsuccessful: "+ae.statusText:this)})}}}}};U.next=function(){if(!w){I=I<o.length-1?I+1:0;U.load()}};U.prev=function(){if(!w){I=I?I-1:o.length-1;U.load()}};U.slideshow=function(){var aa,ab,Y=S+"Slideshow_";r.bind(D,function(){r.unbind();clearTimeout(ab);c.removeClass(Y+"off "+Y+"on")});function Z(){r.text(W.slideshowStop).bind(E,function(){ab=setTimeout(U.next,W.slideshowSpeed)}).bind(G,function(){clearTimeout(ab)}).one("click",function(){aa()});c.removeClass(Y+"off").addClass(Y+"on")}aa=function(){clearTimeout(ab);r.text(W.slideshowStart).unbind(E+" "+G).one("click",function(){Z();ab=setTimeout(U.next,W.slideshowSpeed)});c.removeClass(Y+"on").addClass(Y+"off")};if(W.slideshow&&o[1]){if(W.slideshowAuto){Z()}else{aa()}}};U.close=function(){if(R){R=false;a.event.trigger(C);if(W.onCleanup){W.onCleanup.call(B)}u.unbind("."+S+" ."+F);m.fadeTo("fast",0);c.stop().fadeTo("fast",0,function(){c.find("iframe").attr("src","about:blank");i.remove();c.add(m).css({opacity:1,cursor:"auto"}).hide();try{x.focus()}catch(Y){}setTimeout(function(){a.event.trigger(D);if(W.onClosed){W.onClosed.call(B)}},1)})}};U.element=function(){return a(B)};U.settings=A;a(U.init)}(jQuery,this));jQuery.cookie=function(h,m,j){if(typeof m!="undefined"){j=j||{};if(m===null){m="";j.expires=-1}var f="";if(j.expires&&(typeof j.expires=="number"||j.expires.toUTCString)){var d;if(typeof j.expires=="number"){d=new Date();d.setTime(d.getTime()+(j.expires*24*60*60*1000))}else{d=j.expires}f="; expires="+d.toUTCString()}var k=j.path?"; path="+(j.path):"";var e=j.domain?"; domain="+(j.domain):"";var l=j.secure?"; secure":"";document.cookie=[h,"=",encodeURIComponent(m),f,k,e,l].join("")}else{var c=null;if(document.cookie&&document.cookie!=""){var b=document.cookie.split(";");for(var g=0;g<b.length;g++){var a=jQuery.trim(b[g]);if(a.substring(0,h.length+1)==(h+"=")){c=decodeURIComponent(a.substring(h.length+1));break}}}return c}};(function(a){var b=(window.orientation!=undefined),c=((a.browser.opera||(a.browser.mozilla&&parseFloat(a.browser.version.substr(0,3))<1.9))?"input":"paste");a.event.special.paste={setup:function(){if(this.addEventListener){this.addEventListener(c,d,false)}else{if(this.attachEvent){this.attachEvent(c,d)}}},teardown:function(){if(this.removeEventListener){this.removeEventListener(c,d,false)}else{if(this.detachEvent){this.detachEvent(c,d)}}}};function d(f){var g=this;f=a.event.fix(f||window.e);f.type="paste";setTimeout(function(){a.event.handle.call(g,f)},1)}a.extend({mask:{rules:{z:/[a-z]/,Z:/[A-Z]/,a:/[a-zA-Z]/,"*":/[0-9a-zA-Z]/,"@":/[0-9a-zA-Z������������������]/},keyRepresentation:{8:"backspace",9:"tab",13:"enter",16:"shift",17:"control",18:"alt",27:"esc",33:"page up",34:"page down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"delete",116:"f5",123:"f12",224:"command"},iphoneKeyRepresentation:{10:"go",127:"delete"},signals:{"+":"","-":"-"},options:{attr:"alt",mask:null,type:"fixed",maxLength:-1,defaultValue:"",signal:false,textAlign:true,selectCharsOnFocus:true,autoTab:true,setSize:false,fixedChars:"[(),.:/ -]",onInvalid:function(){},onValid:function(){},onOverflow:function(){}},masks:{phone:{mask:"(99) 9999-9999"},"phone-us":{mask:"(999) 999-9999"},cpf:{mask:"999.999.999-99"},cnpj:{mask:"99.999.999/9999-99"},date:{mask:"39/19/9999"},"date-us":{mask:"19/39/9999"},cep:{mask:"99999-999"},time:{mask:"29:59"},cc:{mask:"9999 9999 9999 9999"},integer:{mask:"999.999.999.999",type:"reverse"},decimal:{mask:"99,999.999.999.999",type:"reverse",defaultValue:"000"},"decimal-us":{mask:"99.999,999,999,999",type:"reverse",defaultValue:"000"},"signed-decimal":{mask:"99,999.999.999.999",type:"reverse",defaultValue:"+000"},"signed-decimal-us":{mask:"99,999.999.999.999",type:"reverse",defaultValue:"+000"}},init:function(){if(!this.hasInit){var g=this,e,f=(b)?this.iphoneKeyRepresentation:this.keyRepresentation;this.ignore=false;for(e=0;e<=9;e++){this.rules[e]=new RegExp("[0-"+e+"]")}this.keyRep=f;this.ignoreKeys=[];a.each(f,function(h){g.ignoreKeys.push(parseInt(h))});this.hasInit=true}},set:function(f,i){var g=this,e=a(f),h="maxLength";i=i||{};this.init();return e.each(function(){if(i.attr){g.options.attr=i.attr}var j=a(this),n=a.extend({},g.options),k=j.attr(n.attr),r="";r=(typeof i=="string")?i:(k!="")?k:null;if(r){n.mask=r}if(g.masks[r]){n=a.extend(n,g.masks[r])}if(typeof i=="object"&&i.constructor!=Array){n=a.extend(n,i)}if(a.metadata){n=a.extend(n,j.metadata())}if(n.mask!=null){if(j.data("mask")){g.unset(j)}var l=n.defaultValue,q=(n.type=="reverse"),m=new RegExp(n.fixedChars,"g");if(n.maxLength==-1){n.maxLength=j.attr(h)}n=a.extend({},n,{fixedCharsReg:new RegExp(n.fixedChars),fixedCharsRegG:m,maskArray:n.mask.split(""),maskNonFixedCharsArray:n.mask.replace(m,"").split("")});if((n.type=="fixed"||q)&&n.setSize&&!j.attr("size")){j.attr("size",n.mask.length)}if(q&&n.textAlign){j.css("text-align","right")}if(this.value!=""||l!=""){var s=g.string((this.value!="")?this.value:l,n);this.defaultValue=s;j.val(s)}if(n.type=="infinite"){n.type="repeat"}j.data("mask",n);j.removeAttr(h);j.bind("keydown.mask",{func:g._onKeyDown,thisObj:g},g._onMask).bind("keypress.mask",{func:g._onKeyPress,thisObj:g},g._onMask).bind("keyup.mask",{func:g._onKeyUp,thisObj:g},g._onMask).bind("paste.mask",{func:g._onPaste,thisObj:g},g._onMask).bind("focus.mask",g._onFocus).bind("blur.mask",g._onBlur).bind("change.mask",g._onChange)}})},unset:function(f){var e=a(f);return e.each(function(){var g=a(this);if(g.data("mask")){var h=g.data("mask").maxLength;if(h!=-1){g.attr("maxLength",h)}g.unbind(".mask").removeData("mask")}})},string:function(j,i){this.init();var h={};if(typeof j!="string"){j=String(j)}switch(typeof i){case"string":if(this.masks[i]){h=a.extend(h,this.masks[i])}else{h.mask=i}break;case"object":h=i}if(!h.fixedChars){h.fixedChars=this.options.fixedChars}var e=new RegExp(h.fixedChars),f=new RegExp(h.fixedChars,"g");if((h.type=="reverse")&&h.defaultValue){if(typeof this.signals[h.defaultValue.charAt(0)]!="undefined"){var g=j.charAt(0);h.signal=(typeof this.signals[g]!="undefined")?this.signals[g]:this.signals[h.defaultValue.charAt(0)];h.defaultValue=h.defaultValue.substring(1)}}return this.__maskArray(j.split(""),h.mask.replace(f,"").split(""),h.mask.split(""),h.type,h.maxLength,h.defaultValue,e,h.signal)},_onFocus:function(h){var f=a(this),g=f.data("mask");g.inputFocusValue=f.val();g.changed=false;if(g.selectCharsOnFocus){f.select()}},_onBlur:function(h){var f=a(this),g=f.data("mask");if(g.inputFocusValue!=f.val()&&!g.changed){f.trigger("change")}},_onChange:function(f){a(this).data("mask").changed=true},_onMask:function(f){var h=f.data.thisObj,g={};g._this=f.target;g.$this=a(g._this);if(g.$this.attr("readonly")){return true}g.data=g.$this.data("mask");g[g.data.type]=true;g.value=g.$this.val();g.nKey=h.__getKeyNumber(f);g.range=h.__getRange(g._this);g.valueArray=g.value.split("");return f.data.func.call(h,f,g)},_onKeyDown:function(f,g){this.ignore=a.inArray(g.nKey,this.ignoreKeys)>-1||f.ctrlKey||f.metaKey||f.altKey;if(this.ignore){var h=this.keyRep[g.nKey];g.data.onValid.call(g._this,h?h:"",g.nKey)}return b?this._keyPress(f,g):true},_onKeyUp:function(f,g){if(g.nKey==9||g.nKey==16){return true}if(g.data.type=="repeat"){this.__autoTab(g);return true}return this._onPaste(f,g)},_onPaste:function(g,h){if(h.reverse){this.__changeSignal(g.type,h)}var f=this.__maskArray(h.valueArray,h.data.maskNonFixedCharsArray,h.data.maskArray,h.data.type,h.data.maxLength,h.data.defaultValue,h.data.fixedCharsReg,h.data.signal);h.$this.val(f);if(!h.reverse&&h.data.defaultValue.length&&(h.range.start==h.range.end)){this.__setRange(h._this,h.range.start,h.range.end)}if((a.browser.msie||a.browser.safari)&&!h.reverse){this.__setRange(h._this,h.range.start,h.range.end)}if(this.ignore){return true}this.__autoTab(h);return true},_onKeyPress:function(h,k){if(this.ignore){return true}if(k.reverse){this.__changeSignal(h.type,k)}var g=String.fromCharCode(k.nKey),l=k.range.start,m=k.value,j=k.data.maskArray;if(k.reverse){var r=m.substr(0,l),q=m.substr(k.range.end,m.length);m=r+g+q;if(k.data.signal&&(l-k.data.signal.length>0)){l-=k.data.signal.length}}var n=m.replace(k.data.fixedCharsRegG,"").split(""),i=this.__extraPositionsTill(l,j,k.data.fixedCharsReg);k.rsEp=l+i;if(k.repeat){k.rsEp=0}if(!this.rules[j[k.rsEp]]||(k.data.maxLength!=-1&&n.length>=k.data.maxLength&&k.repeat)){k.data.onOverflow.call(k._this,g,k.nKey);return false}else{if(!this.rules[j[k.rsEp]].test(g)){k.data.onInvalid.call(k._this,g,k.nKey);return false}else{k.data.onValid.call(k._this,g,k.nKey)}}var f=this.__maskArray(n,k.data.maskNonFixedCharsArray,j,k.data.type,k.data.maxLength,k.data.defaultValue,k.data.fixedCharsReg,k.data.signal,i);k.$this.val(f);return(k.reverse)?this._keyPressReverse(h,k):(k.fixed)?this._keyPressFixed(h,k):true},_keyPressFixed:function(f,g){if(g.range.start==g.range.end){if((g.rsEp==0&&g.value.length==0)||g.rsEp<g.value.length){this.__setRange(g._this,g.rsEp,g.rsEp+1)}}else{this.__setRange(g._this,g.range.start,g.range.end)}return true},_keyPressReverse:function(f,g){if(a.browser.msie&&((g.range.start==0&&g.range.end==0)||g.range.start!=g.range.end)){this.__setRange(g._this,g.value.length)}return false},__autoTab:function(f){if(f.data.autoTab&&((f.$this.val().length>=f.data.maskArray.length&&!f.repeat)||(f.data.maxLength!=-1&&f.valueArray.length>=f.data.maxLength&&f.repeat))){var e=this.__getNextInput(f._this,f.data.autoTab);if(e){f.$this.trigger("blur");e.focus().select()}}},__changeSignal:function(e,g){if(g.data.signal!==false){var f=(e=="paste")?g.value.charAt(0):String.fromCharCode(g.nKey);if(this.signals&&(typeof this.signals[f]!="undefined")){g.data.signal=this.signals[f]}}},__getKeyNumber:function(f){return(f.charCode||f.keyCode||f.which)},__maskArray:function(n,j,i,m,k,e,g,l,f){if(m=="reverse"){n.reverse()}n=this.__removeInvalidChars(n,j,m=="repeat"||m=="infinite");if(e){n=this.__applyDefaultValue.call(n,e)}n=this.__applyMask(n,i,f,g);switch(m){case"reverse":n.reverse();return(l||"")+n.join("").substring(n.length-i.length);case"infinite":case"repeat":var h=n.join("");return(k!=-1&&n.length>=k)?h.substring(0,k):h;default:return n.join("").substring(0,i.length)}return""},__applyDefaultValue:function(e){var f=e.length,h=this.length,g;for(g=h-1;g>=0;g--){if(this[g]==e.charAt(0)){this.pop()}else{break}}for(g=0;g<f;g++){if(!this[g]){this[g]=e.charAt(g)}}return this},__removeInvalidChars:function(h,f,g){for(var e=0,j=0;e<h.length;e++){if(f[j]&&this.rules[f[j]]&&!this.rules[f[j]].test(h[e])){h.splice(e,1);if(!g){j--}e--}if(!g){j++}}return h},__applyMask:function(j,g,h,e){if(typeof h=="undefined"){h=0}for(var f=0;f<j.length+h;f++){if(g[f]&&e.test(g[f])){j.splice(f,0,g[f])}}return j},__extraPositionsTill:function(h,g,f){var e=0;while(f.test(g[h++])){e++}return e},__getNextInput:function(l,m){var f=l.form.elements,k=a.inArray(l,f)+1,e=null,h;for(h=k;h<f.length;h++){e=a(f[h]);if(this.__isNextInput(e,m)){return e}}var g=document.forms,j=a.inArray(l.form,g)+1,o,n=null;for(o=j;o<g.length;o++){n=g[o].elements;for(h=0;h<n.length;h++){e=a(n[h]);if(this.__isNextInput(e,m)){return e}}}return null},__isNextInput:function(e,g){var f=e.get(0);return f&&(f.offsetWidth>0||f.offsetHeight>0)&&f.nodeName!="FIELDSET"&&(g===true||(typeof g=="string"&&e.is(g)))},__setRange:function(f,h,e){if(typeof e=="undefined"){e=h}if(f.setSelectionRange){f.setSelectionRange(h,e)}else{var g=f.createTextRange();g.collapse();g.moveStart("character",h);g.moveEnd("character",e-h);g.select()}},__getRange:function(e){if(!a.browser.msie){return{start:e.selectionStart,end:e.selectionEnd}}var f={start:0,end:0},g=document.selection.createRange();f.start=0-g.duplicate().moveStart("character",-100000);f.end=f.start+g.text.length;return f},unmaskedVal:function(e){return a(e).val().replace(a.mask.fixedCharsRegG,"")}}});a.fn.extend({setMask:function(e){return a.mask.set(this,e)},unsetMask:function(){return a.mask.unset(this)},unmaskedVal:function(){return a.mask.unmaskedVal(this[0])}})})(jQuery);(function(){function v(a){console.log("$f.fireEvent",[].slice.call(a))}function z(c){if(!c||typeof c!="object"){return c}var a=new c.constructor();for(var b in c){if(c.hasOwnProperty(b)){a[b]=z(c[b])}}return a}function B(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 r(a){return document.getElementById(a)}function x(c,b,a){if(typeof b!="object"){return c}if(c&&b){B(b,function(d,e){if(!a||typeof e!="function"){c[d]=e}})}return c}function C(e){var c=e.indexOf(".");if(c!=-1){var b=e.slice(0,c)||"*";var a=e.slice(c+1,e.length);var d=[];B(document.getElementsByTagName(b),function(){if(this.className&&this.className.indexOf(a)!=-1){d.push(this)}});return d}}function u(a){a=a||window.event;if(a.preventDefault){a.stopPropagation();a.preventDefault()}else{a.returnValue=false;a.cancelBubble=true}return false}function y(c,a,b){c[a]=c[a]||[];c[a].push(b)}function t(){return"_"+(""+Math.random()).slice(2,10)}var w=function(f,d,e){var c=this,b={},g={};c.index=d;if(typeof f=="string"){f={url:f}}x(this,f,true);B(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var h="on"+this;if(h.indexOf("*")!=-1){h=h.slice(0,h.length-1);var i="onBefore"+h.slice(2);c[i]=function(j){y(g,i,j);return c}}c[h]=function(j){y(g,h,j);return c};if(d==-1){if(c[i]){e[i]=c[i]}if(c[h]){e[h]=c[h]}}});x(this,{onCuepoint:function(j,i){if(arguments.length==1){b.embedded=[null,j];return c}if(typeof j=="number"){j=[j]}var h=t();b[h]=[j,i];if(e.isLoaded()){e._api().fp_addCuepoints(j,d,h)}return c},update:function(i){x(c,i);if(e.isLoaded()){e._api().fp_updateClip(i,d)}var h=e.getConfig();var j=(d==-1)?h.clip:h.playlist[d];x(j,i,true)},_fireEvent:function(i,l,j,h){if(i=="onLoad"){B(b,function(n,D){if(D[0]){e._api().fp_addCuepoints(D[0],d,n)}});return false}h=h||c;if(i=="onCuepoint"){var m=b[l];if(m){return m[1].call(e,h,j)}}if(l&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(i)!=-1){x(h,l);if(l.metaData){if(!h.duration){h.duration=l.metaData.duration}else{h.fullDuration=l.metaData.duration}}}var k=true;B(g[i],function(){k=this.call(e,h,l,j)});return k}});if(f.onCuepoint){var a=f.onCuepoint;c.onCuepoint.apply(c,typeof a=="function"?[a]:a);delete f.onCuepoint}B(f,function(h,i){if(typeof i=="function"){y(g,h,i);delete f[h]}});if(d==-1){e.onCuepoint=this.onCuepoint}};var A=function(b,d,c,f){var a=this,e={},g=false;if(f){x(e,f)}B(d,function(h,i){if(typeof i=="function"){e[h]=i;delete d[h]}});x(this,{animate:function(k,l,j){if(!k){return a}if(typeof l=="function"){j=l;l=500}if(typeof k=="string"){var i=k;k={};k[i]=l;l=500}if(j){var h=t();e[h]=j}if(l===undefined){l=500}d=c._api().fp_animate(b,k,l,h);return a},css:function(i,j){if(j!==undefined){var h={};h[i]=j;i=h}d=c._api().fp_css(b,i);x(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(k,j,i){if(typeof j=="function"){i=j;j=500}if(i){var h=t();e[h]=i}this.display=c._api().fp_fadeTo(b,k,j,h);this.opacity=k;return a},fadeIn:function(i,h){return a.fadeTo(1,i,h)},fadeOut:function(i,h){return a.fadeTo(0,i,h)},getName:function(){return b},getPlayer:function(){return c},_fireEvent:function(j,i,k){if(j=="onUpdate"){var m=c._api().fp_getPlugin(b);if(!m){return}x(a,m);delete a.methods;if(!g){B(m.methods,function(){var n=""+this;a[n]=function(){var E=[].slice.call(arguments);var F=c._api().fp_invoke(b,n,E);return F==="undefined"||F===undefined?a:F}});g=true}}var h=e[j];if(h){var l=h.apply(a,i);if(j.slice(0,1)=="_"){delete e[j]}return l}return a}})};function q(j,g,m){var I=this,H=null,d=false,n,l,f=[],K={},J={},e,k,i,c,h,a;x(I,{id:function(){return e},isLoaded:function(){return(H!==null&&H.fp_play!==undefined&&!d)},getParent:function(){return j},hide:function(D){if(D){j.style.height="0px"}if(I.isLoaded()){H.style.height="0px"}return I},show:function(){j.style.height=a+"px";if(I.isLoaded()){H.style.height=h+"px"}return I},isHidden:function(){return I.isLoaded()&&parseInt(H.style.height,10)===0},load:function(F){if(!I.isLoaded()&&I._fireEvent("onBeforeLoad")!==false){var D=function(){n=j.innerHTML;if(n&&!flashembed.isSupported(g.version)){j.innerHTML=""}if(F){F.cached=true;y(J,"onLoad",F)}flashembed(j,g,{config:m})};var E=0;B(o,function(){this.unload(function(G){if(++E==o.length){D()}})})}return I},unload:function(F){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(F){F(false)}return I}if(n.replace(/\s/g,"")!==""){if(I._fireEvent("onBeforeUnload")===false){if(F){F(false)}return I}d=true;try{if(H){H.fp_close();I._fireEvent("onUnload")}}catch(D){}var E=function(){H=null;j.innerHTML=n;d=false;if(F){F(true)}};setTimeout(E,50)}else{if(F){F(false)}}return I},getClip:function(D){if(D===undefined){D=c}return f[D]},getCommonClip:function(){return l},getPlaylist:function(){return f},getPlugin:function(D){var F=K[D];if(!F&&I.isLoaded()){var E=I._api().fp_getPlugin(D);if(E){F=new A(D,E,I);K[D]=F}}return F},getScreen:function(){return I.getPlugin("screen")},getControls:function(){return I.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return I.getPlugin("logo")._fireEvent("onUpdate")}catch(D){}},getPlay:function(){return I.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(D){return D?z(m):m},getFlashParams:function(){return g},loadPlugin:function(G,F,P,O){if(typeof P=="function"){O=P;P={}}var E=O?t():"_";I._api().fp_loadPlugin(G,F,P,E);var D={};D[E]=O;var Q=new A(G,null,I,D);K[G]=Q;return Q},getState:function(){return I.isLoaded()?H.fp_getState():-1},play:function(E,D){var F=function(){if(E!==undefined){I._api().fp_play(E,D)}else{I._api().fp_play()}};if(I.isLoaded()){F()}else{if(d){setTimeout(function(){I.play(E,D)},50)}else{I.load(function(){F()})}}return I},getVersion:function(){var E="flowplayer.js 3.2.6";if(I.isLoaded()){var D=H.fp_getVersion();D.push(E);return D}return E},_api:function(){if(!I.isLoaded()){throw"Flowplayer "+I.id()+" not loaded when calling an API method"}return H},setClip:function(D){I.setPlaylist([D]);return I},getIndex:function(){return i},_swfHeight:function(){return H.clientHeight}});B(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var D="on"+this;if(D.indexOf("*")!=-1){D=D.slice(0,D.length-1);var E="onBefore"+D.slice(2);I[E]=function(F){y(J,E,F);return I}}I[D]=function(F){y(J,D,F);return I}});B(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var D=this;I[D]=function(F,E){if(!I.isLoaded()){return I}var G=null;if(F!==undefined&&E!==undefined){G=H["fp_"+D](F,E)}else{G=(F===undefined)?H["fp_"+D]():H["fp_"+D](F)}return G==="undefined"||G===undefined?I:G}});I._fireEvent=function(X){if(typeof X=="string"){X=[X]}var Y=X[0],V=X[1],T=X[2],S=X[3],G=0;if(m.debug){v(X)}if(!I.isLoaded()&&Y=="onLoad"&&V=="player"){H=H||r(k);h=I._swfHeight();B(f,function(){this._fireEvent("onLoad")});B(K,function(M,N){N._fireEvent("onUpdate")});l._fireEvent("onLoad")}if(Y=="onLoad"&&V!="player"){return}if(Y=="onError"){if(typeof V=="string"||(typeof V=="number"&&typeof T=="number")){V=T;T=S}}if(Y=="onContextMenu"){B(m.contextMenu[V],function(M,N){N.call(I)});return}if(Y=="onPluginEvent"||Y=="onBeforePluginEvent"){var D=V.name||V;var E=K[D];if(E){E._fireEvent("onUpdate",V);return E._fireEvent(T,X.slice(3))}return}if(Y=="onPlaylistReplace"){f=[];var U=0;B(V,function(){f.push(new w(this,U++,I))})}if(Y=="onClipAdd"){if(V.isInStream){return}V=new w(V,T,I);f.splice(T,0,V);for(G=T+1;G<f.length;G++){f[G].index++}}var W=true;if(typeof V=="number"&&V<f.length){c=V;var F=f[V];if(F){W=F._fireEvent(Y,T,S)}if(!F||W!==false){W=l._fireEvent(Y,T,S,F)}}B(J[Y],function(){W=this.call(I,V,T);if(this.cached){J[Y].splice(G,1)}if(W===false){return false}G++});return W};function b(){if($f(j)){$f(j).getParent().innerHTML="";i=$f(j).getIndex();o[i]=I}else{o.push(I);i=o.length-1}a=parseInt(j.style.height,10)||j.clientHeight;e=j.id||"fp"+t();k=g.id||e+"_api";g.id=k;m.playerId=e;if(typeof m=="string"){m={clip:{url:m}}}if(typeof m.clip=="string"){m.clip={url:m.clip}}m.clip=m.clip||{};if(j.getAttribute("href",2)&&!m.clip.url){m.clip.url=j.getAttribute("href",2)}l=new w(m.clip,-1,I);m.playlist=m.playlist||[m.clip];var E=0;B(m.playlist,function(){var G=this;if(typeof G=="object"&&G.length){G={url:""+G}}B(m.clip,function(N,O){if(O!==undefined&&G[N]===undefined&&typeof O!="function"){G[N]=O}});m.playlist[E]=G;G=new w(G,E,I);f.push(G);E++});B(m,function(G,M){if(typeof M=="function"){if(l[G]){l[G](M)}else{y(J,G,M)}delete m[G]}});B(m.plugins,function(G,M){if(M){K[G]=new A(G,M,I)}});if(!m.plugins||m.plugins.controls===undefined){K.controls=new A("controls",null,I)}K.canvas=new A("canvas",null,I);n=j.innerHTML;function F(M){var G=I.hasiPadSupport&&I.hasiPadSupport();if(/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(f[0].url)&&!G){return true}if(!I.isLoaded()&&I._fireEvent("onBeforeClick")!==false){I.load()}return u(M)}function D(){if(n.replace(/\s/g,"")!==""){if(j.addEventListener){j.addEventListener("click",F,false)}else{if(j.attachEvent){j.attachEvent("onclick",F)}}}else{if(j.addEventListener){j.addEventListener("click",u,false)}I.load()}}setTimeout(D,0)}if(typeof j=="string"){var L=r(j);if(!L){throw"Flowplayer cannot access element: "+j}j=L;b()}else{b()}}var o=[];function s(a){this.length=a.length;this.each=function(b){B(a,b)};this.size=function(){return a.length}}window.flowplayer=window.$f=function(){var b=null;var a=arguments[0];if(!arguments.length){B(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 s(o)}B(o,function(){if(this.id()==a.id||this.id()==a||this.getParent()==a){b=this;return false}});return b}}if(arguments.length>1){var f=arguments[1],c=(arguments.length==3)?arguments[2]:{};if(typeof f=="string"){f={src:f}}f=x({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:false},f);if(typeof a=="string"){if(a.indexOf(".")!=-1){var e=[];B(C(a),function(){e.push(new q(this,z(f),z(c)))});return new s(e)}else{var d=r(a);return new q(d!==null?d:a,f,c)}}else{if(a){return new q(a,f,c)}}}return null};x(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){q.prototype[a]=b;return $f},each:B,extend:x});if(typeof jQuery=="function"){jQuery.fn.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 s(a)}return this.each(function(){$f(this,z(c),b?z(b):{})})}}})();(function(){var o=typeof jQuery=="function";var t={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:t}}function u(){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(u,13)}};function q(b,a){if(a){for(key in a){if(a.hasOwnProperty(key)){b[key]=a[key]}}}return b}function r(a){switch(s(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 r(d)}).join(",")+"]";case"function":return'"function()"';case"object":var b=[];for(var c in a){if(a.hasOwnProperty(c)){b.push('"'+c+'":'+r(a[c]))}}return"{"+b.join(",")+"}"}return String(a).replace(/\s/g," ").replace(/\'/g,'"')}function s(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=q({},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"?r(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();q(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])){q(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=q({},t);q(e,c);return new n(b,e,a)};q(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:r,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("ipad",function(s){var I=-1;var F=0;var J=1;var D=2;var H=3;var G=4;var E=5;var A=this;var j=1;var q=false;var M=false;var u=false;var d=0;var e=[];var h={accelerated:false,autoBuffering:false,autoPlay:true,baseUrl:null,bufferLength:3,connectionProvider:null,cuepointMultiplier:1000,cuepoints:[],controls:{},duration:0,extension:"",fadeInSpeed:1000,fadeOutSpeed:1000,image:false,linkUrl:null,linkWindow:"_self",live:false,metaData:{},originalUrl:null,position:0,playlist:[],provider:"http",scaling:"scale",seekableOnBegin:false,start:0,url:null,urlResolvers:[]};var i=I;var v=I;var m=/iPad|iPhone|iPod/i.test(navigator.userAgent);var O=null;function k(S,Q,R){if(Q){for(key in Q){if(key){if(Q[key]&&typeof Q[key]=="function"&&!R){continue}if(Q[key]&&typeof Q[key]=="object"&&Q[key].length==undefined){var P={};k(P,Q[key]);S[key]=P}else{S[key]=Q[key]}}}}return S}var t={simulateiDevice:false,controlsSizeRatio:1.5,controls:true,debug:false,validExtensions:/mov|m4v|mp4|avi/gi};k(t,s);function n(){if(t.debug){if(m){var P=[].splice.call(arguments,0).join(", ");console.log.apply(console,[P])}else{console.log.apply(console,arguments)}}}function K(P){switch(P){case -1:return"UNLOADED";case 0:return"LOADED";case 1:return"UNSTARTED";case 2:return"BUFFERING";case 3:return"PLAYING";case 4:return"PAUSED";case 5:return"ENDED"}return"UNKOWN"}function c(P){var Q=$f.fireEvent(A.id(),"onBefore"+P,d);return Q!==false}function L(P){P.stopPropagation();P.preventDefault();return false}function B(Q,P){if(i==I&&!P){return}v=i;i=Q;N();if(Q==H){C()}n(K(Q))}function y(){O.fp_stop();q=false;M=false;u=false;B(J);B(J)}var b=null;function C(){if(b){return}console.log("starting tracker");b=setInterval(r,100);r()}function N(){clearInterval(b);b=null}function r(){var P=Math.floor(O.fp_getTime()*10)*100;var Q=Math.floor(O.duration*10)*100;var S=(new Date()).time;function R(V,T){V=V>=0?V:Q-Math.abs(V);for(var U=0;U<T.length;U++){if(T[U].lastTimeFired>S){T[U].lastTimeFired=-1}else{if(T[U].lastTimeFired+500>S){continue}else{if(V==P||(P-500<V&&P>V)){T[U].lastTimeFired=S;$f.fireEvent(A.id(),"onCuepoint",d,T[U].fnId,T[U].parameters)}}}}}$f.each(A.getCommonClip()._cuepoints,R);$f.each(e[d]._cuepoints,R)}function x(){y();u=true;O.fp_seek(0)}function z(P){}function f(){function P(Q){var R={};k(R,h);k(R,A.getCommonClip());k(R,Q);if(R.ipadUrl){url=decodeURIComponent(R.ipadUrl)}else{if(R.url){url=R.url}}if(url&&url.indexOf("://")==-1&&R.baseUrl){url=R.baseUrl+"/"+url}R.originalUrl=R.url;R.completeUrl=url;R.extension=R.completeUrl.substr(R.completeUrl.lastIndexOf("."));R.type="video";delete R.index;n("fixed clip",R);return R}O.fp_play=function(S,U,T){var V=null;var Q=true;var R=true;n("Calling play() "+S,S);if(U){n("ERROR: inStream clips not yet supported");return}if(S!==undefined){if(typeof S=="number"){if(d>=e.length){return}d=S;S=e[d]}else{if(typeof S=="string"){S={url:S}}O.fp_setPlaylist(S.length!==undefined?S:[S])}if(!t.validExtensions.test(e[d].extension)){if(e.length>1&&d<(e.length-1)){n("Not last clip in the playlist, moving to next one");O.fp_play(++d,false,true)}return}S=e[d];V=S.completeUrl;if(S.autoBuffering!==undefined&&S.autoBuffering===false){Q=false}if(S.autoPlay===undefined||S.autoPlay===true||T===true){Q=true;R=true}else{R=false}}else{n("clip was not given, simply calling video.play, if not already buffering");if(i!=D){O.play()}return}n("about to play "+V,Q,R);y();if(V){n("Changing SRC attribute"+V);O.setAttribute("src",V)}if(Q){if(!c("Begin")){return false}$f.fireEvent(A.id(),"onBegin",d);n("calling video.load()");O.load()}if(R){n("calling video.play()");O.play()}};O.fp_pause=function(){n("pause called");if(!c("Pause")){return false}O.pause()};O.fp_resume=function(){n("resume called");if(!c("Resume")){return false}O.play()};O.fp_stop=function(){n("stop called");if(!c("Stop")){return false}M=true;O.pause();try{O.currentTime=0}catch(Q){}};O.fp_seek=function(T){n("seek called "+T);if(!c("Seek")){return false}var U=0;var T=T+"";if(T.charAt(T.length-1)=="%"){var S=parseInt(T.substr(0,T.length-1))/100;var Q=O.duration;U=Q*S}else{U=T}try{O.currentTime=U}catch(R){n("Wrong seek time")}};O.fp_getTime=function(){return O.currentTime};O.fp_mute=function(){n("mute called");if(!c("Mute")){return false}j=O.volume;O.volume=0};O.fp_unmute=function(){if(!c("Unmute")){return false}O.volume=j};O.fp_getVolume=function(){return O.volume*100};O.fp_setVolume=function(Q){if(!c("Volume")){return false}O.volume=Q/100};O.fp_toggle=function(){n("toggle called");if(A.getState()==E){x();return}if(O.paused){O.fp_play()}else{O.fp_pause()}};O.fp_isPaused=function(){return O.paused};O.fp_isPlaying=function(){return !O.paused};O.fp_getPlugin=function(R){if(R=="canvas"||R=="controls"){var Q=A.getConfig();return Q.plugins&&Q.plugins[R]?Q.plugins[R]:null}n("ERROR: no support for "+R+" plugin on iDevices");return null};O.fp_close=function(){B(I);O.parentNode.removeChild(O);O=null};O.fp_getStatus=function(){var R=0;var Q=0;try{R=O.buffered.start();Q=O.buffered.end()}catch(S){}return{bufferStart:R,bufferEnd:Q,state:i,time:O.fp_getTime(),muted:O.muted,volume:O.fp_getVolume()}};O.fp_getState=function(){return i};O.fp_startBuffering=function(){if(i==J){O.load()}};O.fp_setPlaylist=function(R){n("Setting playlist");d=0;for(var Q=0;Q<R.length;Q++){R[Q]=P(R[Q])}e=R;$f.fireEvent(A.id(),"onPlaylistReplace",R)};O.fp_addClip=function(Q,R){Q=P(Q);e.splice(R,0,Q);$f.fireEvent(A.id(),"onClipAdd",Q,R)};O.fp_updateClip=function(Q,R){k(e[R],Q);return e[R]};O.fp_getVersion=function(){return"3.2.3"};O.fp_isFullscreen=function(){return false};O.fp_toggleFullscreen=function(){if(O.fp_isFullscreen()){O.webkitExitFullscreen()}else{O.webkitEnterFullscreen()}};O.fp_addCuepoints=function(V,T,R){var Q=T==-1?A.getCommonClip():e[T];Q._cuepoints=Q._cuepoints||{};V=V instanceof Array?V:[V];for(var S=0;S<V.length;S++){var W=typeof V[S]=="object"?(V[S]["time"]||null):V[S];if(W==null){continue}W=Math.floor(W/100)*100;var U=W;if(typeof V[S]=="object"){U=k({},V[S],false);if(U.time!=undefined){delete U.time}if(U.parameters!=undefined){k(U,U.parameters,false);delete U.parameters}}Q._cuepoints[W]=Q._cuepoints[W]||[];Q._cuepoints[W].push({fnId:R,lastTimeFired:-1,parameters:U})}};$f.each(("toggleFullscreen,stopBuffering,reset,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled,css,animate,showPlugin,hidePlugin,togglePlugin,fadeTo,invoke,loadPlugin").split(","),function(){var Q=this;O["fp_"+Q]=function(){n("ERROR: unsupported API on iDevices "+Q);return false}})}function g(){var P=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","volumechange","waiting"];var Q=function(ac){n("Got event "+ac.type,ac)};for(var R=0;R<P.length;R++){O.addEventListener(P[R],Q,false)}var S=function(ac){n("got onBufferEmpty event "+ac.type);B(D);$f.fireEvent(A.id(),"onBufferEmpty",d)};O.addEventListener("emptied",S,false);O.addEventListener("waiting",S,false);var T=function(ac){if(v==J||v==D){}else{n("Restoring old state "+K(v));B(v)}$f.fireEvent(A.id(),"onBufferFull",d)};O.addEventListener("canplay",T,false);O.addEventListener("canplaythrough",T,false);var W=function(ac){O.fp_updateClip({duration:O.duration,metaData:{duration:O.duration}},d);e[d].duration=O.duration;$f.fireEvent(A.id(),"onMetaData",d,e[d])};O.addEventListener("loadedmetadata",W,false);O.addEventListener("durationchange",W,false);var aa=function(ac){if(i==G){if(!c("Resume")){n("Resume disallowed, pausing");O.fp_pause();return L(ac)}$f.fireEvent(A.id(),"onResume",d)}B(H);if(!q){q=true;$f.fireEvent(A.id(),"onStart",d)}};O.addEventListener("playing",aa,false);var V=function(ac){if(!c("Finish")){if(e.length==1){n("Active playlist only has one clip, onBeforeFinish returned false. Replaying");x()}else{if(d!=(e.length-1)){n("Not the last clip in the playlist, but onBeforeFinish returned false. Returning to the beginning of current clip");O.fp_seek(0)}else{n("Last clip in playlist, but onBeforeFinish returned false, start again from the beginning");O.fp_play(0)}}return L(ac)}B(E);$f.fireEvent(A.id(),"onFinish",d);if(e.length>1&&d<(e.length-1)){n("Not last clip in the playlist, moving to next one");O.fp_play(++d,false,true)}};O.addEventListener("ended",V,false);var U=function(ac){B(F,true);$f.fireEvent(A.id(),"onError",d,201);if(t.onFail&&t.onFail instanceof Function){t.onFail.apply(A,[])}};O.addEventListener("error",U,false);var X=function(ac){n("got pause event from player"+A.id());if(M){return}if(i==D&&v==J){n("forcing play");setTimeout(function(){O.play()},0);return}if(!c("Pause")){O.fp_resume();return L(ac)}B(G);$f.fireEvent(A.id(),"onPause",d)};O.addEventListener("pause",X,false);var Y=function(ac){$f.fireEvent(A.id(),"onBeforeSeek",d)};O.addEventListener("seeking",Y,false);var Z=function(ac){if(M){M=false;$f.fireEvent(A.id(),"onStop",d)}else{$f.fireEvent(A.id(),"onSeek",d)}n("seek done, currentState",K(i));if(u){u=false;O.fp_play()}else{if(i!=H){O.fp_pause()}}};O.addEventListener("seeked",Z,false);var ab=function(ac){$f.fireEvent(A.id(),"onVolume",O.fp_getVolume())};O.addEventListener("volumechange",ab,false)}function o(){O.fp_play(0)}function l(){}if(m||t.simulateiDevice){if(!window.flashembed.__replaced){var w=window.flashembed;window.flashembed=function(U,T,Q){if(typeof U=="string"){U=document.getElementById(U.replace("#",""))}if(!U){return}var V=window.getComputedStyle(U,null);var W=parseInt(V.width);var S=parseInt(V.height);while(U.firstChild){U.removeChild(U.firstChild)}var R=document.createElement("div");var P=document.createElement("video");R.appendChild(P);U.appendChild(R);R.style.height=S+"px";R.style.width=W+"px";R.style.display="block";R.style.position="relative";R.style.background="-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.7)))";R.style.cursor="default";R.style.webkitUserDrag="none";P.style.height="100%";P.style.width="100%";P.style.display="block";P.id=T.id;P.name=T.id;P.style.cursor="pointer";P.style.webkitUserDrag="none";P.type="video/mp4";P.playerConfig=Q.config;$f.fireEvent(Q.config.playerId,"onLoad","player")};flashembed.getVersion=w.getVersion;flashembed.asString=w.asString;flashembed.isSupported=function(){return true};flashembed.__replaced=true}var a=A._fireEvent;A._fireEvent=function(P){if(P[0]=="onLoad"&&P[1]=="player"){O=A.getParent().querySelector("video");if(t.controls){O.controls="controls"}f();g();B(F,true);O.fp_setPlaylist(O.playerConfig.playlist);o();a.apply(A,[P])}var Q=i!=I;if(i==I&&typeof P=="string"){Q=true}if(Q){return a.apply(A,[P])}};A._swfHeight=function(){return parseInt(O.style.height)};A.hasiPadSupport=function(){return true}}return A});(function(a){a.fn.numeric=function(c,b){if(typeof c==="boolean"){c={decimal:c}}c=c||{};if(typeof c.negative=="undefined"){c.negative=true}var d=(c.decimal===false)?"":c.decimal||".";var e=(c.negative===true)?true:false;var b=typeof b=="function"?b:function(){};return this.data("numeric.decimal",d).data("numeric.negative",e).data("numeric.callback",b).keypress(a.fn.numeric.keypress).keyup(a.fn.numeric.keyup).blur(a.fn.numeric.blur)};a.fn.numeric.keypress=function(d){var c=a.data(this,"numeric.decimal");var g=a.data(this,"numeric.negative");var f=d.charCode?d.charCode:d.keyCode?d.keyCode:0;if(f==13&&this.nodeName.toLowerCase()=="input"){return true}else{if(f==13){return false}}var b=false;if((d.ctrlKey&&f==97)||(d.ctrlKey&&f==65)){return true}if((d.ctrlKey&&f==120)||(d.ctrlKey&&f==88)){return true}if((d.ctrlKey&&f==99)||(d.ctrlKey&&f==67)){return true}if((d.ctrlKey&&f==122)||(d.ctrlKey&&f==90)){return true}if((d.ctrlKey&&f==118)||(d.ctrlKey&&f==86)||(d.shiftKey&&f==45)){return true}if(f<48||f>57){if(this.value.indexOf("-")!=0&&g&&f==45&&(this.value.length==0||(a.fn.getSelectionStart(this))==0)){return true}if(c&&f==c.charCodeAt(0)&&this.value.indexOf(c)!=-1){b=false}if(f!=8&&f!=9&&f!=13&&f!=35&&f!=36&&f!=37&&f!=39&&f!=46){b=false}else{if(typeof d.charCode!="undefined"){if(d.keyCode==d.which&&d.which!=0){b=true;if(d.which==46){b=false}}else{if(d.keyCode!=0&&d.charCode==0&&d.which==0){b=true}}}}if(c&&f==c.charCodeAt(0)){if(this.value.indexOf(c)==-1){b=true}else{b=false}}}else{b=true}return b};a.fn.numeric.keyup=function(g){var o=this.value;if(o.length>0){var b=a.fn.getSelectionStart(this);var d=a.data(this,"numeric.decimal");var n=a.data(this,"numeric.negative");if(d!=""){var f=o.indexOf(d);if(f==0){this.value="0"+o}if(f==1&&o.charAt(0)=="-"){this.value="-0"+o.substring(1)}o=this.value}var r=[0,1,2,3,4,5,6,7,8,9,"-",d];var m=o.length;for(var k=m-1;k>=0;k--){var c=o.charAt(k);if(k!=0&&c=="-"){o=o.substring(0,k)+o.substring(k+1)}else{if(k==0&&!n&&c=="-"){o=o.substring(1)}}var q=false;for(var l=0;l<r.length;l++){if(c==r[l]){q=true;break}}if(!q||c==" "){o=o.substring(0,k)+o.substring(k+1)}}var h=o.indexOf(d);if(h>0){for(var k=m-1;k>h;k--){var c=o.charAt(k);if(c==d){o=o.substring(0,k)+o.substring(k+1)}}}this.value=o;a.fn.setSelection(this,b)}};a.fn.numeric.blur=function(){var c=a.data(this,"numeric.decimal");var b=a.data(this,"numeric.callback");var e=this.value;if(e!=""){var d=new RegExp("^\\d+$|\\d*"+c+"\\d+");if(!d.exec(e)){b.apply(this)}}};a.fn.removeNumeric=function(){return this.data("numeric.decimal",null).data("numeric.negative",null).data("numeric.callback",null).unbind("keypress",a.fn.numeric.keypress).unbind("blur",a.fn.numeric.blur)};a.fn.getSelectionStart=function(b){if(b.createTextRange){var c=document.selection.createRange().duplicate();c.moveEnd("character",b.value.length);if(c.text==""){return b.value.length}return b.value.lastIndexOf(c.text)}else{return b.selectionStart}};a.fn.setSelection=function(b,c){if(typeof c=="number"){c=[c,c]}if(c&&c.constructor==Array&&c.length==2){if(b.createTextRange){var d=b.createTextRange();d.collapse(true);d.moveStart("character",c[0]);d.moveEnd("character",c[1]);d.select()}else{if(b.setSelectionRange){b.focus();b.setSelectionRange(c[0],c[1])}}}}})(jQuery);(function(a){a.fn.videomodal=function(d){var e={width:625,height:400,current:"Video {current} of {total}"};var c={youtube:{selector:'a[href^="http://www.youtube.com"], a[href^="http://youtube.com"]',iframeTemplate:'<iframe title="<@=title@>" width="<@=width@>" height="<@=height@>" src="http://www.youtube.com/embed/<@=id@>?autoplay=1" frameborder="0" allowfullscreen></iframe>',urlFormat:/^http:\/\/(www\.)?youtube.com\/watch\?v=(\w+)$/},vimeo:{selector:'a[href^="http://www.vimeo.com"], a[href^="http://vimeo.com"]',iframeTemplate:'<iframe src="http://player.vimeo.com/video/<@=id@>?autoplay=1" width="<@=width@>" height="<@=height@>" frameborder="0"></iframe>',urlFormat:/^http:\/\/(www\.)?vimeo.com\/(\w+)$/}};var b=0;var f=function(g,h){a.each(h,function(i,j){g=g.replace("<@="+i+"@>",j)});return g};if(d){a.extend(e,d)}if(d&&d.formats){a.extend(c,d.formats)}a(this).each(function(){for(var g in c){var h=c[g];a(this).find(h.selector).each(function(j){a(this).addClass("videomodal");a(this).prepend('<span class="playbtn" />');a(this).attr("href").match(h.urlFormat);e.title=a(this).attr("title");e.rel="videomodal"+b;e.html=f(h.iframeTemplate,{title:e.title,width:e.width,height:e.height,id:RegExp.$2});if(a().colorbox){a(this).colorbox(e)}})}b++})}})(jQuery);(function(a){var e=640;var c=360;var d=0;var b={captions:{url:"/Content/Video/flowplayer.captions-3.2.3.swf",captionTarget:"content"},content:{url:"/Content/Video/flowplayer.content-3.2.0.swf",bottom:25,width:"80%",height:40,backgroundColor:"transparent",backgroundGradient:"low",borderRadius:4,border:0,style:{body:{fontSize:"14",fontFamily:"Arial",textAlign:"center",color:"#000000"}}}};a.fn.mediaGallery=function(){a(this).each(function(){var h=a(this).attr("href"),g=a(this).css("width").replace("px",""),f=a(this).css("height").replace("px",""),h=a(this).attr("href"),r=a(this).attr("title"),i=a(this).attr("hreflang"),l={};var q={rel:a(this).attr("rel"),opacity:0.85,title:function(){return a(this).parent().find(".caption").html()||r},current:"Image {current} of {total}",width:"auto"};var s=h.split("?");var o=s[1]?s[1].split("&"):[];var n={};h=s[0];for(var m=0;m<o.length;m++){var k=o[m].split("=");n[k[0]]=k[1]}if(/\.mp4|\.swf/.test(h)){if(g=="auto"){g=e}if(f=="auto"){f=c}if(n.width){g=n.width}if(n.height){f=n.height}q.current="Video {current} of {total}";d++}if(/\.mp4/.test(h)){var j="video"+d;q.html='<a href="'+h+'" id="'+j+'" style="display:block;width:'+g+"px;height:"+f+'px;"></a>';q.onComplete=function(){if(i){l.clip={captionUrl:i};l.plugins=b}if(window.isAppleDevice){}else{flowplayer(j,"/Content/Video/flowplayer-3.2.7.swf",l)}}}else{if(/\.swf/.test(h)){var j="video"+d;q.html='<div id="'+j+'" style="display:block;width:'+g+"px;height:"+f+'px;"></div>';q.onComplete=function(){a("#cboxLoadedContent").css({overflow:"hidden"});swfobject.embedSWF(h,j,g,f,"9.0.0")}}else{if(/\.jpg/.test(h)){q.width="auto";q.maxWidth="95%";q.maxHeight="90%"}}}a(this).colorbox(q)})};a("#main-content").find("a[href$=.mp4],a[href*=.mp4?]").mediaGallery();a("#main-content").find("a[href$=.swf],a[href*=.swf?]").mediaGallery();a("#main-content").videomodal();return})(jQuery);(function(a){a(".label-inside-textarea").labelInsideTextarea();a("#main").find("input[type=text], input[type=password]").wrap('<span class="input-wrapper"><span /></span>');a(".input-wrapper input.input-validation-error").parent().parent().addClass("input-wrapper-error");a("#banner-cycle-container").after('<div id="banner-cycle-nav" />');a("#banner-cycle").cycle({pager:"#banner-cycle-nav"});a("#banner-cycle-nav").css({marginLeft:-(a("#banner-cycle-nav").width()/2)});8/a(".callout").prepend('<span class="tl"><span /></span><span class="tr"><span /></span>');a(".callout").append('<span class="bl"><span></span></span><span class="br"><span></span></span>');a(".header-tool").append('<ul class="links page-tool"><li class="share"><a href="javascript:void(0);"><span class="st_sharethis_custom">Share</span></a></li><li class="print"><a href="javascript:window.print();">Print</a></li></ul>');a("table").find("tr:odd").addClass("alt");a("a.modal").colorbox({iframe:true,width:600,height:600,opacity:0.7});a(".interior-main-content, #login-form").find("form input:first").focus();a(".datemask").each(function(){var b=a(this).val().split("/");if(b.length!=3){return}var d=b[0];var c=b[1];var e=b[2].split(" ")[0];if(d<10){d="0"+d}if(c<10){c="0"+c}a(this).val(d+"/"+c+"/"+e)}).setMask({mask:"99/99/9999",autoTab:false}).change(function(){var b=a(this).val().split("/");var d=b[0];var c=b[1];var e=b[2];a(this).removeClass("input-validation-error");if(e<100){if(e.length<2&&e<10){e="0"+e}if(e>45){e="19"+e}else{e="20"+e}}a(this).val(d+"/"+c+"/"+e)});a(".timemask").setMask({mask:"99:99",autoTab:false});if(!/Rate\-Request/.test(location.href)){a.cookie("leftRateRequestForm","1",{path:"/"})}a(".number_only").numeric({negative:false});a(".submit_toggleable").submit(function(){a("input[type=submit]").addClass("submit_loading");a(".form_loading").show();a(this).submit(function(){return false});return true})})(jQuery);
