/* {/js/xmlhttprequest.js,/js/jquery.js,/js/jquery.selectboxes.js,/js/jquery.cookie.js,/js/jquery.taconite.js,/js/jquery.blockUI.js,/js/jquery.tooltip.js,/js/jquery.livequery.js,/js/jquery.ifixpng2.js,/js/jquery.carousel.min.js,/js/jquery.form.js,/js/jquery.bgiframe.js,/js/jquery.scrollTo.js,/js/jquery.colorbox.js,/js/jquery.pikachoose.js,/js/jquery.qtip.js,/js/jwplayer.js,/js/jquery-ui-1.8.16.custom.min.js,/js/Z_common.js,/js/functions.js,/js/jquery.fancybox-1.3.4.js,/js/form_control.js} */
function getHTTPObject(){var xmlhttp=false;
/*@cc_on
  @if (@_jscript_version >= 5)
     try
     {
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
     }
     catch (e)
     {
        try
        {
           xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch (E)
        {
           xmlhttp = false;
        }
     }
  @else
     xmlhttp = false;
  @end @*/
if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){try{xmlhttp=new XMLHttpRequest()}catch(e){xmlhttp=false}}if(xmlhttp){xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){alert(xmlhttp.responseText)}}}}return xmlhttp};
/*
 * jQuery JavaScript Library v1.4.4
 * 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: Thu Nov 11 19:04:53 2010 -0500
 */
(function(aC,z){var Y=aC.document;var a=(function(){var a2=function(bn,bo){return new a2.fn.init(bn,bo)},bi=aC.jQuery,a4=aC.$,a0,bm=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,aV=/^.[^:#\[\.,]*$/,ba=/\S/,aX=/\s/,a6=/^\s+/,a1=/\s+$/,aS=/\W/,a5=/\d/,aY=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bb=/^[\],:{}\s]*$/,bk=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bd=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,a7=/(?:^|:|,)(?:\s*\[)+/g,aU=/(webkit)[ \/]([\w.]+)/,bf=/(opera)(?:.*version)?[ \/]([\w.]+)/,be=/(msie) ([\w.]+)/,bg=/(mozilla)(?:.*? rv:([\w.]+))?/,bl=navigator.userAgent,bj,bh=false,aZ=[],aP,a9=Object.prototype.toString,a3=Object.prototype.hasOwnProperty,aW=Array.prototype.push,a8=Array.prototype.slice,bc=String.prototype.trim,aQ=Array.prototype.indexOf,aT={};a2.fn=a2.prototype={init:function(bn,bq){var bp,br,bo,bs;if(!bn){return this}if(bn.nodeType){this.context=this[0]=bn;this.length=1;return this}if(bn==="body"&&!bq&&Y.body){this.context=Y;this[0]=Y.body;this.selector="body";this.length=1;return this}if(typeof bn==="string"){bp=bm.exec(bn);if(bp&&(bp[1]||!bq)){if(bp[1]){bs=(bq?bq.ownerDocument||bq:Y);bo=aY.exec(bn);if(bo){if(a2.isPlainObject(bq)){bn=[Y.createElement(bo[1])];a2.fn.attr.call(bn,bq,true)}else{bn=[bs.createElement(bo[1])]}}else{bo=a2.buildFragment([bp[1]],[bs]);bn=(bo.cacheable?bo.fragment.cloneNode(true):bo.fragment).childNodes}return a2.merge(this,bn)}else{br=Y.getElementById(bp[2]);if(br&&br.parentNode){if(br.id!==bp[2]){return a0.find(bn)}this.length=1;this[0]=br}this.context=Y;this.selector=bn;return this}}else{if(!bq&&!aS.test(bn)){this.selector=bn;this.context=Y;bn=Y.getElementsByTagName(bn);return a2.merge(this,bn)}else{if(!bq||bq.jquery){return(bq||a0).find(bn)}else{return a2(bq).find(bn)}}}}else{if(a2.isFunction(bn)){return a0.ready(bn)}}if(bn.selector!==z){this.selector=bn.selector;this.context=bn.context}return a2.makeArray(bn,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return a8.call(this,0)},get:function(bn){return bn==null?this.toArray():(bn<0?this.slice(bn)[0]:this[bn])},pushStack:function(bo,bq,bn){var bp=a2();if(a2.isArray(bo)){aW.apply(bp,bo)}else{a2.merge(bp,bo)}bp.prevObject=this;bp.context=this.context;if(bq==="find"){bp.selector=this.selector+(this.selector?" ":"")+bn}else{if(bq){bp.selector=this.selector+"."+bq+"("+bn+")"}}return bp},each:function(bo,bn){return a2.each(this,bo,bn)},ready:function(bn){a2.bindReady();if(a2.isReady){bn.call(Y,a2)}else{if(aZ){aZ.push(bn)}}return this},eq:function(bn){return bn===-1?this.slice(bn):this.slice(bn,+bn+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(a8.apply(this,arguments),"slice",a8.call(arguments).join(","))},map:function(bn){return this.pushStack(a2.map(this,function(bp,bo){return bn.call(bp,bo,bp)}))},end:function(){return this.prevObject||a2(null)},push:aW,sort:[].sort,splice:[].splice};a2.fn.init.prototype=a2.fn;a2.extend=a2.fn.extend=function(){var bw,bp,bn,bo,bt,bu,bs=arguments[0]||{},br=1,bq=arguments.length,bv=false;if(typeof bs==="boolean"){bv=bs;bs=arguments[1]||{};br=2}if(typeof bs!=="object"&&!a2.isFunction(bs)){bs={}}if(bq===br){bs=this;--br}for(;br<bq;br++){if((bw=arguments[br])!=null){for(bp in bw){bn=bs[bp];bo=bw[bp];if(bs===bo){continue}if(bv&&bo&&(a2.isPlainObject(bo)||(bt=a2.isArray(bo)))){if(bt){bt=false;bu=bn&&a2.isArray(bn)?bn:[]}else{bu=bn&&a2.isPlainObject(bn)?bn:{}}bs[bp]=a2.extend(bv,bu,bo)}else{if(bo!==z){bs[bp]=bo}}}}}return bs};a2.extend({noConflict:function(bn){aC.$=a4;if(bn){aC.jQuery=bi}return a2},isReady:false,readyWait:1,ready:function(bq){if(bq===true){a2.readyWait--}if(!a2.readyWait||(bq!==true&&!a2.isReady)){if(!Y.body){return setTimeout(a2.ready,1)}a2.isReady=true;if(bq!==true&&--a2.readyWait>0){return}if(aZ){var bp,bn=0,bo=aZ;aZ=null;while((bp=bo[bn++])){bp.call(Y,a2)}if(a2.fn.trigger){a2(Y).trigger("ready").unbind("ready")}}}},bindReady:function(){if(bh){return}bh=true;if(Y.readyState==="complete"){return setTimeout(a2.ready,1)}if(Y.addEventListener){Y.addEventListener("DOMContentLoaded",aP,false);aC.addEventListener("load",a2.ready,false)}else{if(Y.attachEvent){Y.attachEvent("onreadystatechange",aP);aC.attachEvent("onload",a2.ready);var bn=false;try{bn=aC.frameElement==null}catch(bo){}if(Y.documentElement.doScroll&&bn){aR()}}}},isFunction:function(bn){return a2.type(bn)==="function"},isArray:Array.isArray||function(bn){return a2.type(bn)==="array"},isWindow:function(bn){return bn&&typeof bn==="object"&&"setInterval" in bn},isNaN:function(bn){return bn==null||!a5.test(bn)||isNaN(bn)},type:function(bn){return bn==null?String(bn):aT[a9.call(bn)]||"object"},isPlainObject:function(bo){if(!bo||a2.type(bo)!=="object"||bo.nodeType||a2.isWindow(bo)){return false}if(bo.constructor&&!a3.call(bo,"constructor")&&!a3.call(bo.constructor.prototype,"isPrototypeOf")){return false}var bn;for(bn in bo){}return bn===z||a3.call(bo,bn)},isEmptyObject:function(bo){for(var bn in bo){return false}return true},error:function(bn){throw bn},parseJSON:function(bn){if(typeof bn!=="string"||!bn){return null}bn=a2.trim(bn);if(bb.test(bn.replace(bk,"@").replace(bd,"]").replace(a7,""))){return aC.JSON&&aC.JSON.parse?aC.JSON.parse(bn):(new Function("return "+bn))()}else{a2.error("Invalid JSON: "+bn)}},noop:function(){},globalEval:function(bp){if(bp&&ba.test(bp)){var bo=Y.getElementsByTagName("head")[0]||Y.documentElement,bn=Y.createElement("script");bn.type="text/javascript";if(a2.support.scriptEval){bn.appendChild(Y.createTextNode(bp))}else{bn.text=bp}bo.insertBefore(bn,bo.firstChild);bo.removeChild(bn)}},nodeName:function(bo,bn){return bo.nodeName&&bo.nodeName.toUpperCase()===bn.toUpperCase()},each:function(bq,bu,bp){var bo,br=0,bs=bq.length,bn=bs===z||a2.isFunction(bq);if(bp){if(bn){for(bo in bq){if(bu.apply(bq[bo],bp)===false){break}}}else{for(;br<bs;){if(bu.apply(bq[br++],bp)===false){break}}}}else{if(bn){for(bo in bq){if(bu.call(bq[bo],bo,bq[bo])===false){break}}}else{for(var bt=bq[0];br<bs&&bu.call(bt,br,bt)!==false;bt=bq[++br]){}}}return bq},trim:bc?function(bn){return bn==null?"":bc.call(bn)}:function(bn){return bn==null?"":bn.toString().replace(a6,"").replace(a1,"")},makeArray:function(bq,bo){var bn=bo||[];if(bq!=null){var bp=a2.type(bq);if(bq.length==null||bp==="string"||bp==="function"||bp==="regexp"||a2.isWindow(bq)){aW.call(bn,bq)}else{a2.merge(bn,bq)}}return bn},inArray:function(bp,bq){if(bq.indexOf){return bq.indexOf(bp)}for(var bn=0,bo=bq.length;bn<bo;bn++){if(bq[bn]===bp){return bn}}return -1},merge:function(br,bp){var bq=br.length,bo=0;if(typeof bp.length==="number"){for(var bn=bp.length;bo<bn;bo++){br[bq++]=bp[bo]}}else{while(bp[bo]!==z){br[bq++]=bp[bo++]}}br.length=bq;return br},grep:function(bo,bt,bn){var bp=[],bs;bn=!!bn;for(var bq=0,br=bo.length;bq<br;bq++){bs=!!bt(bo[bq],bq);if(bn!==bs){bp.push(bo[bq])}}return bp},map:function(bo,bt,bn){var bp=[],bs;for(var bq=0,br=bo.length;bq<br;bq++){bs=bt(bo[bq],bq,bn);if(bs!=null){bp[bp.length]=bs}}return bp.concat.apply([],bp)},guid:1,proxy:function(bp,bo,bn){if(arguments.length===2){if(typeof bo==="string"){bn=bp;bp=bn[bo];bo=z}else{if(bo&&!a2.isFunction(bo)){bn=bo;bo=z}}}if(!bo&&bp){bo=function(){return bp.apply(bn||this,arguments)}}if(bp){bo.guid=bp.guid=bp.guid||bo.guid||a2.guid++}return bo},access:function(bn,bv,bt,bp,bs,bu){var bo=bn.length;if(typeof bv==="object"){for(var bq in bv){a2.access(bn,bq,bv[bq],bp,bs,bt)}return bn}if(bt!==z){bp=!bu&&bp&&a2.isFunction(bt);for(var br=0;br<bo;br++){bs(bn[br],bv,bp?bt.call(bn[br],br,bs(bn[br],bv)):bt,bu)}return bn}return bo?bs(bn[0],bv):z},now:function(){return(new Date()).getTime()},uaMatch:function(bo){bo=bo.toLowerCase();var bn=aU.exec(bo)||bf.exec(bo)||be.exec(bo)||bo.indexOf("compatible")<0&&bg.exec(bo)||[];return{browser:bn[1]||"",version:bn[2]||"0"}},browser:{}});a2.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bo,bn){aT["[object "+bn+"]"]=bn.toLowerCase()});bj=a2.uaMatch(bl);if(bj.browser){a2.browser[bj.browser]=true;a2.browser.version=bj.version}if(a2.browser.webkit){a2.browser.safari=true}if(aQ){a2.inArray=function(bn,bo){return aQ.call(bo,bn)}}if(!aX.test("\xA0")){a6=/^[\s\xA0]+/;a1=/[\s\xA0]+$/}a0=a2(Y);if(Y.addEventListener){aP=function(){Y.removeEventListener("DOMContentLoaded",aP,false);a2.ready()}}else{if(Y.attachEvent){aP=function(){if(Y.readyState==="complete"){Y.detachEvent("onreadystatechange",aP);a2.ready()}}}}function aR(){if(a2.isReady){return}try{Y.documentElement.doScroll("left")}catch(bn){setTimeout(aR,1);return}a2.ready()}return(aC.jQuery=aC.$=a2)})();(function(){a.support={};var aW=Y.documentElement,aV=Y.createElement("script"),aP=Y.createElement("div"),aQ="script"+a.now();aP.style.display="none";aP.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var aZ=aP.getElementsByTagName("*"),aX=aP.getElementsByTagName("a")[0],aY=Y.createElement("select"),aR=aY.appendChild(Y.createElement("option"));if(!aZ||!aZ.length||!aX){return}a.support={leadingWhitespace:aP.firstChild.nodeType===3,tbody:!aP.getElementsByTagName("tbody").length,htmlSerialize:!!aP.getElementsByTagName("link").length,style:/red/.test(aX.getAttribute("style")),hrefNormalized:aX.getAttribute("href")==="/a",opacity:/^0.55$/.test(aX.style.opacity),cssFloat:!!aX.style.cssFloat,checkOn:aP.getElementsByTagName("input")[0].value==="on",optSelected:aR.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};aY.disabled=true;a.support.optDisabled=!aR.disabled;aV.type="text/javascript";try{aV.appendChild(Y.createTextNode("window."+aQ+"=1;"))}catch(aT){}aW.insertBefore(aV,aW.firstChild);if(aC[aQ]){a.support.scriptEval=true;delete aC[aQ]}try{delete aV.test}catch(aT){a.support.deleteExpando=false}aW.removeChild(aV);if(aP.attachEvent&&aP.fireEvent){aP.attachEvent("onclick",function a0(){a.support.noCloneEvent=false;aP.detachEvent("onclick",a0)});aP.cloneNode(true).fireEvent("onclick")}aP=Y.createElement("div");aP.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var aS=Y.createDocumentFragment();aS.appendChild(aP.firstChild);a.support.checkClone=aS.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var a2=Y.createElement("div");a2.style.width=a2.style.paddingLeft="1px";Y.body.appendChild(a2);a.boxModel=a.support.boxModel=a2.offsetWidth===2;if("zoom" in a2.style){a2.style.display="inline";a2.style.zoom=1;a.support.inlineBlockNeedsLayout=a2.offsetWidth===2;a2.style.display="";a2.innerHTML="<div style='width:4px;'></div>";a.support.shrinkWrapBlocks=a2.offsetWidth!==2}a2.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var a1=a2.getElementsByTagName("td");a.support.reliableHiddenOffsets=a1[0].offsetHeight===0;a1[0].style.display="";a1[1].style.display="none";a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&a1[0].offsetHeight===0;a2.innerHTML="";Y.body.removeChild(a2).style.display="none";a2=a1=null});var aU=function(a1){var a3=Y.createElement("div");a1="on"+a1;var a2=(a1 in a3);if(!a2){a3.setAttribute(a1,"return;");a2=typeof a3[a1]==="function"}a3=null;return a2};a.support.submitBubbles=aU("submit");a.support.changeBubbles=aU("change");aW=aV=aP=aZ=aX=null})();var aJ={},aj=/^(?:\{.*\}|\[.*\])$/;a.extend({cache:{},uuid:0,expando:"jQuery"+a.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(aR,aQ,aU){if(!a.acceptData(aR)){return}aR=aR==aC?aJ:aR;var aT=aR.nodeType,aV=aT?aR[a.expando]:null,aP=a.cache,aS;if(aT&&!aV&&typeof aQ==="string"&&aU===z){return}if(!aT){aP=aR}else{if(!aV){aR[a.expando]=aV=++a.uuid}}if(typeof aQ==="object"){if(aT){aP[aV]=a.extend(aP[aV],aQ)}else{a.extend(aP,aQ)}}else{if(aT&&!aP[aV]){aP[aV]={}}}aS=aT?aP[aV]:aP;if(aU!==z){aS[aQ]=aU}return typeof aQ==="string"?aS[aQ]:aS},removeData:function(aR,aQ){if(!a.acceptData(aR)){return}aR=aR==aC?aJ:aR;var aT=aR.nodeType,aV=aT?aR[a.expando]:aR,aP=a.cache,aS=aT?aP[aV]:aV;if(aQ){if(aS){delete aS[aQ];if(aT&&a.isEmptyObject(aS)){a.removeData(aR)}}}else{if(aT&&a.support.deleteExpando){delete aR[a.expando]}else{if(aR.removeAttribute){aR.removeAttribute(a.expando)}else{if(aT){delete aP[aV]}else{for(var aU in aR){delete aR[aU]}}}}}},acceptData:function(aQ){if(aQ.nodeName){var aP=a.noData[aQ.nodeName.toLowerCase()];if(aP){return !(aP===true||aQ.getAttribute("classid")!==aP)}}return true}});a.fn.extend({data:function(aT,aV){var aU=null;if(typeof aT==="undefined"){if(this.length){var aP=this[0].attributes,aR;aU=a.data(this[0]);for(var aS=0,aQ=aP.length;aS<aQ;aS++){aR=aP[aS].name;if(aR.indexOf("data-")===0){aR=aR.substr(5);ax(this[0],aR,aU[aR])}}}return aU}else{if(typeof aT==="object"){return this.each(function(){a.data(this,aT)})}}var aW=aT.split(".");aW[1]=aW[1]?"."+aW[1]:"";if(aV===z){aU=this.triggerHandler("getData"+aW[1]+"!",[aW[0]]);if(aU===z&&this.length){aU=a.data(this[0],aT);aU=ax(this[0],aT,aU)}return aU===z&&aW[1]?this.data(aW[0]):aU}else{return this.each(function(){var aY=a(this),aX=[aW[0],aV];aY.triggerHandler("setData"+aW[1]+"!",aX);a.data(this,aT,aV);aY.triggerHandler("changeData"+aW[1]+"!",aX)})}},removeData:function(aP){return this.each(function(){a.removeData(this,aP)})}});function ax(aQ,aP,aR){if(aR===z&&aQ.nodeType===1){aR=aQ.getAttribute("data-"+aP);if(typeof aR==="string"){try{aR=aR==="true"?true:aR==="false"?false:aR==="null"?null:!a.isNaN(aR)?parseFloat(aR):aj.test(aR)?a.parseJSON(aR):aR}catch(aS){}a.data(aQ,aP,aR)}else{aR=z}}return aR}a.extend({queue:function(aQ,aP,aS){if(!aQ){return}aP=(aP||"fx")+"queue";var aR=a.data(aQ,aP);if(!aS){return aR||[]}if(!aR||a.isArray(aS)){aR=a.data(aQ,aP,a.makeArray(aS))}else{aR.push(aS)}return aR},dequeue:function(aS,aR){aR=aR||"fx";var aP=a.queue(aS,aR),aQ=aP.shift();if(aQ==="inprogress"){aQ=aP.shift()}if(aQ){if(aR==="fx"){aP.unshift("inprogress")}aQ.call(aS,function(){a.dequeue(aS,aR)})}}});a.fn.extend({queue:function(aP,aQ){if(typeof aP!=="string"){aQ=aP;aP="fx"}if(aQ===z){return a.queue(this[0],aP)}return this.each(function(aS){var aR=a.queue(this,aP,aQ);if(aP==="fx"&&aR[0]!=="inprogress"){a.dequeue(this,aP)}})},dequeue:function(aP){return this.each(function(){a.dequeue(this,aP)})},delay:function(aQ,aP){aQ=a.fx?a.fx.speeds[aQ]||aQ:aQ;aP=aP||"fx";return this.queue(aP,function(){var aR=this;setTimeout(function(){a.dequeue(aR,aP)},aQ)})},clearQueue:function(aP){return this.queue(aP||"fx",[])}});var ah=/[\n\t]/g,aG=/\s+/,al=/\r/g,aF=/^(?:href|src|style)$/,c=/^(?:button|input)$/i,u=/^(?:button|input|object|select|textarea)$/i,g=/^a(?:rea)?$/i,H=/^(?:radio|checkbox)$/i;a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};a.fn.extend({attr:function(aP,aQ){return a.access(this,aP,aQ,true,a.attr)},removeAttr:function(aP,aQ){return this.each(function(){a.attr(this,aP,"");if(this.nodeType===1){this.removeAttribute(aP)}})},addClass:function(aW){if(a.isFunction(aW)){return this.each(function(aZ){var aY=a(this);aY.addClass(aW.call(this,aZ,aY.attr("class")))})}if(aW&&typeof aW==="string"){var aP=(aW||"").split(aG);for(var aS=0,aR=this.length;aS<aR;aS++){var aQ=this[aS];if(aQ.nodeType===1){if(!aQ.className){aQ.className=aW}else{var aT=" "+aQ.className+" ",aV=aQ.className;for(var aU=0,aX=aP.length;aU<aX;aU++){if(aT.indexOf(" "+aP[aU]+" ")<0){aV+=" "+aP[aU]}}aQ.className=a.trim(aV)}}}}return this},removeClass:function(aU){if(a.isFunction(aU)){return this.each(function(aY){var aX=a(this);aX.removeClass(aU.call(this,aY,aX.attr("class")))})}if((aU&&typeof aU==="string")||aU===z){var aV=(aU||"").split(aG);for(var aR=0,aQ=this.length;aR<aQ;aR++){var aT=this[aR];if(aT.nodeType===1&&aT.className){if(aU){var aS=(" "+aT.className+" ").replace(ah," ");for(var aW=0,aP=aV.length;aW<aP;aW++){aS=aS.replace(" "+aV[aW]+" "," ")}aT.className=a.trim(aS)}else{aT.className=""}}}}return this},toggleClass:function(aS,aQ){var aR=typeof aS,aP=typeof aQ==="boolean";if(a.isFunction(aS)){return this.each(function(aU){var aT=a(this);aT.toggleClass(aS.call(this,aU,aT.attr("class"),aQ),aQ)})}return this.each(function(){if(aR==="string"){var aV,aU=0,aT=a(this),aW=aQ,aX=aS.split(aG);while((aV=aX[aU++])){aW=aP?aW:!aT.hasClass(aV);aT[aW?"addClass":"removeClass"](aV)}}else{if(aR==="undefined"||aR==="boolean"){if(this.className){a.data(this,"__className__",this.className)}this.className=this.className||aS===false?"":a.data(this,"__className__")||""}}})},hasClass:function(aP){var aS=" "+aP+" ";for(var aR=0,aQ=this.length;aR<aQ;aR++){if((" "+this[aR].className+" ").replace(ah," ").indexOf(aS)>-1){return true}}return false},val:function(aX){if(!arguments.length){var aR=this[0];if(aR){if(a.nodeName(aR,"option")){var aQ=aR.attributes.value;return !aQ||aQ.specified?aR.value:aR.text}if(a.nodeName(aR,"select")){var aV=aR.selectedIndex,aY=[],aZ=aR.options,aU=aR.type==="select-one";if(aV<0){return null}for(var aS=aU?aV:0,aW=aU?aV+1:aZ.length;aS<aW;aS++){var aT=aZ[aS];if(aT.selected&&(a.support.optDisabled?!aT.disabled:aT.getAttribute("disabled")===null)&&(!aT.parentNode.disabled||!a.nodeName(aT.parentNode,"optgroup"))){aX=a(aT).val();if(aU){return aX}aY.push(aX)}}return aY}if(H.test(aR.type)&&!a.support.checkOn){return aR.getAttribute("value")===null?"on":aR.value}return(aR.value||"").replace(al,"")}return z}var aP=a.isFunction(aX);return this.each(function(a2){var a1=a(this),a3=aX;if(this.nodeType!==1){return}if(aP){a3=aX.call(this,a2,a1.val())}if(a3==null){a3=""}else{if(typeof a3==="number"){a3+=""}else{if(a.isArray(a3)){a3=a.map(a3,function(a4){return a4==null?"":a4+""})}}}if(a.isArray(a3)&&H.test(this.type)){this.checked=a.inArray(a1.val(),a3)>=0}else{if(a.nodeName(this,"select")){var a0=a.makeArray(a3);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),a0)>=0});if(!a0.length){this.selectedIndex=-1}}else{this.value=a3}}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(aQ,aP,aV,aY){if(!aQ||aQ.nodeType===3||aQ.nodeType===8){return z}if(aY&&aP in a.attrFn){return a(aQ)[aP](aV)}var aR=aQ.nodeType!==1||!a.isXMLDoc(aQ),aU=aV!==z;aP=aR&&a.props[aP]||aP;var aT=aF.test(aP);if(aP==="selected"&&!a.support.optSelected){var aW=aQ.parentNode;if(aW){aW.selectedIndex;if(aW.parentNode){aW.parentNode.selectedIndex}}}if((aP in aQ||aQ[aP]!==z)&&aR&&!aT){if(aU){if(aP==="type"&&c.test(aQ.nodeName)&&aQ.parentNode){a.error("type property can't be changed")}if(aV===null){if(aQ.nodeType===1){aQ.removeAttribute(aP)}}else{aQ[aP]=aV}}if(a.nodeName(aQ,"form")&&aQ.getAttributeNode(aP)){return aQ.getAttributeNode(aP).nodeValue}if(aP==="tabIndex"){var aX=aQ.getAttributeNode("tabIndex");return aX&&aX.specified?aX.value:u.test(aQ.nodeName)||g.test(aQ.nodeName)&&aQ.href?0:z}return aQ[aP]}if(!a.support.style&&aR&&aP==="style"){if(aU){aQ.style.cssText=""+aV}return aQ.style.cssText}if(aU){aQ.setAttribute(aP,""+aV)}if(!aQ.attributes[aP]&&(aQ.hasAttribute&&!aQ.hasAttribute(aP))){return z}var aS=!a.support.hrefNormalized&&aR&&aT?aQ.getAttribute(aP,2):aQ.getAttribute(aP);return aS===null?z:aS}});var at=/\.(.*)$/,aE=/^(?:textarea|input|select)$/i,B=/\./g,P=/ /g,ad=/[^\w\s.|`]/g,w=function(aP){return aP.replace(ad,"\\$&")},v={focusin:0,focusout:0};a.event={add:function(aT,aX,a3,aV){if(aT.nodeType===3||aT.nodeType===8){return}if(a.isWindow(aT)&&(aT!==aC&&!aT.frameElement)){aT=aC}if(a3===false){a3=aH}else{if(!a3){return}}var aR,a1;if(a3.handler){aR=a3;a3=aR.handler}if(!a3.guid){a3.guid=a.guid++}var aY=a.data(aT);if(!aY){return}var aP=aT.nodeType?"events":"__events__",a2=aY[aP],aW=aY.handle;if(typeof a2==="function"){aW=a2.handle;a2=a2.events}else{if(!a2){if(!aT.nodeType){aY[aP]=aY=function(){}}aY.events=a2={}}}if(!aW){aY.handle=aW=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(aW.elem,arguments):z}}aW.elem=aT;aX=aX.split(" ");var a0,aU=0,aQ;while((a0=aX[aU++])){a1=aR?a.extend({},aR):{handler:a3,data:aV};if(a0.indexOf(".")>-1){aQ=a0.split(".");a0=aQ.shift();a1.namespace=aQ.slice(0).sort().join(".")}else{aQ=[];a1.namespace=""}a1.type=a0;if(!a1.guid){a1.guid=a3.guid}var aS=a2[a0],aZ=a.event.special[a0]||{};if(!aS){aS=a2[a0]=[];if(!aZ.setup||aZ.setup.call(aT,aV,aQ,aW)===false){if(aT.addEventListener){aT.addEventListener(a0,aW,false)}else{if(aT.attachEvent){aT.attachEvent("on"+a0,aW)}}}}if(aZ.add){aZ.add.call(aT,a1);if(!a1.handler.guid){a1.handler.guid=a3.guid}}aS.push(a1);a.event.global[a0]=true}aT=null},global:{},remove:function(a5,aZ,aR,aV){if(a5.nodeType===3||a5.nodeType===8){return}if(aR===false){aR=aH}var a8,aU,aW,a2,a3=0,aS,aX,a0,aT,aY,aP,a7,a1=a5.nodeType?"events":"__events__",a4=a.data(a5),aQ=a4&&a4[a1];if(!a4||!aQ){return}if(typeof aQ==="function"){a4=aQ;aQ=aQ.events}if(aZ&&aZ.type){aR=aZ.handler;aZ=aZ.type}if(!aZ||typeof aZ==="string"&&aZ.charAt(0)==="."){aZ=aZ||"";for(aU in aQ){a.event.remove(a5,aU+aZ)}return}aZ=aZ.split(" ");while((aU=aZ[a3++])){a7=aU;aP=null;aS=aU.indexOf(".")<0;aX=[];if(!aS){aX=aU.split(".");aU=aX.shift();a0=new RegExp("(^|\\.)"+a.map(aX.slice(0).sort(),w).join("\\.(?:.*\\.)?")+"(\\.|$)")}aY=aQ[aU];if(!aY){continue}if(!aR){for(a2=0;a2<aY.length;a2++){aP=aY[a2];if(aS||a0.test(aP.namespace)){a.event.remove(a5,a7,aP.handler,a2);aY.splice(a2--,1)}}continue}aT=a.event.special[aU]||{};for(a2=aV||0;a2<aY.length;a2++){aP=aY[a2];if(aR.guid===aP.guid){if(aS||a0.test(aP.namespace)){if(aV==null){aY.splice(a2--,1)}if(aT.remove){aT.remove.call(a5,aP)}}if(aV!=null){break}}}if(aY.length===0||aV!=null&&aY.length===1){if(!aT.teardown||aT.teardown.call(a5,aX)===false){a.removeEvent(a5,aU,a4.handle)}a8=null;delete aQ[aU]}}if(a.isEmptyObject(aQ)){var a6=a4.handle;if(a6){a6.elem=null}delete a4.events;delete a4.handle;if(typeof a4==="function"){a.removeData(a5,a1)}else{if(a.isEmptyObject(a4)){a.removeData(a5)}}}},trigger:function(aQ,aV,aS){var aZ=aQ.type||aQ,aU=arguments[3];if(!aU){aQ=typeof aQ==="object"?aQ[a.expando]?aQ:a.extend(a.Event(aZ),aQ):a.Event(aZ);if(aZ.indexOf("!")>=0){aQ.type=aZ=aZ.slice(0,-1);aQ.exclusive=true}if(!aS){aQ.stopPropagation();if(a.event.global[aZ]){a.each(a.cache,function(){if(this.events&&this.events[aZ]){a.event.trigger(aQ,aV,this.handle.elem)}})}}if(!aS||aS.nodeType===3||aS.nodeType===8){return z}aQ.result=z;aQ.target=aS;aV=a.makeArray(aV);aV.unshift(aQ)}aQ.currentTarget=aS;var aW=aS.nodeType?a.data(aS,"handle"):(a.data(aS,"__events__")||{}).handle;if(aW){aW.apply(aS,aV)}var a1=aS.parentNode||aS.ownerDocument;try{if(!(aS&&aS.nodeName&&a.noData[aS.nodeName.toLowerCase()])){if(aS["on"+aZ]&&aS["on"+aZ].apply(aS,aV)===false){aQ.result=false;aQ.preventDefault()}}}catch(a0){}if(!aQ.isPropagationStopped()&&a1){a.event.trigger(aQ,aV,a1,true)}else{if(!aQ.isDefaultPrevented()){var aR,aX=aQ.target,aP=aZ.replace(at,""),a2=a.nodeName(aX,"a")&&aP==="click",aY=a.event.special[aP]||{};if((!aY._default||aY._default.call(aS,aQ)===false)&&!a2&&!(aX&&aX.nodeName&&a.noData[aX.nodeName.toLowerCase()])){try{if(aX[aP]){aR=aX["on"+aP];if(aR){aX["on"+aP]=null}a.event.triggered=true;aX[aP]()}}catch(aT){}if(aR){aX["on"+aP]=aR}a.event.triggered=false}}}},handle:function(aP){var aY,aR,aQ,a0,aZ,aU=[],aW=a.makeArray(arguments);aP=aW[0]=a.event.fix(aP||aC.event);aP.currentTarget=this;aY=aP.type.indexOf(".")<0&&!aP.exclusive;if(!aY){aQ=aP.type.split(".");aP.type=aQ.shift();aU=aQ.slice(0).sort();a0=new RegExp("(^|\\.)"+aU.join("\\.(?:.*\\.)?")+"(\\.|$)")}aP.namespace=aP.namespace||aU.join(".");aZ=a.data(this,this.nodeType?"events":"__events__");if(typeof aZ==="function"){aZ=aZ.events}aR=(aZ||{})[aP.type];if(aZ&&aR){aR=aR.slice(0);for(var aT=0,aS=aR.length;aT<aS;aT++){var aX=aR[aT];if(aY||a0.test(aX.namespace)){aP.handler=aX.handler;aP.data=aX.data;aP.handleObj=aX;var aV=aX.handler.apply(this,aW);if(aV!==z){aP.result=aV;if(aV===false){aP.preventDefault();aP.stopPropagation()}}if(aP.isImmediatePropagationStopped()){break}}}}return aP.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(aS){if(aS[a.expando]){return aS}var aQ=aS;aS=a.Event(aQ);for(var aR=this.props.length,aU;aR;){aU=this.props[--aR];aS[aU]=aQ[aU]}if(!aS.target){aS.target=aS.srcElement||Y}if(aS.target.nodeType===3){aS.target=aS.target.parentNode}if(!aS.relatedTarget&&aS.fromElement){aS.relatedTarget=aS.fromElement===aS.target?aS.toElement:aS.fromElement}if(aS.pageX==null&&aS.clientX!=null){var aT=Y.documentElement,aP=Y.body;aS.pageX=aS.clientX+(aT&&aT.scrollLeft||aP&&aP.scrollLeft||0)-(aT&&aT.clientLeft||aP&&aP.clientLeft||0);aS.pageY=aS.clientY+(aT&&aT.scrollTop||aP&&aP.scrollTop||0)-(aT&&aT.clientTop||aP&&aP.clientTop||0)}if(aS.which==null&&(aS.charCode!=null||aS.keyCode!=null)){aS.which=aS.charCode!=null?aS.charCode:aS.keyCode}if(!aS.metaKey&&aS.ctrlKey){aS.metaKey=aS.ctrlKey}if(!aS.which&&aS.button!==z){aS.which=(aS.button&1?1:(aS.button&2?3:(aS.button&4?2:0)))}return aS},guid:100000000,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(aP){a.event.add(this,j(aP.origType,aP.selector),a.extend({},aP,{handler:S,guid:aP.handler.guid}))},remove:function(aP){a.event.remove(this,j(aP.origType,aP.selector),aP)}},beforeunload:{setup:function(aR,aQ,aP){if(a.isWindow(this)){this.onbeforeunload=aP}},teardown:function(aQ,aP){if(this.onbeforeunload===aP){this.onbeforeunload=null}}}}};a.removeEvent=Y.removeEventListener?function(aQ,aP,aR){if(aQ.removeEventListener){aQ.removeEventListener(aP,aR,false)}}:function(aQ,aP,aR){if(aQ.detachEvent){aQ.detachEvent("on"+aP,aR)}};a.Event=function(aP){if(!this.preventDefault){return new a.Event(aP)}if(aP&&aP.type){this.originalEvent=aP;this.type=aP.type}else{this.type=aP}this.timeStamp=a.now();this[a.expando]=true};function aH(){return false}function d(){return true}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=d;var aP=this.originalEvent;if(!aP){return}if(aP.preventDefault){aP.preventDefault()}else{aP.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=d;var aP=this.originalEvent;if(!aP){return}if(aP.stopPropagation){aP.stopPropagation()}aP.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=d;this.stopPropagation()},isDefaultPrevented:aH,isPropagationStopped:aH,isImmediatePropagationStopped:aH};var O=function(aQ){var aP=aQ.relatedTarget;try{while(aP&&aP!==this){aP=aP.parentNode}if(aP!==this){aQ.type=aQ.data;a.event.handle.apply(this,arguments)}}catch(aR){}},an=function(aP){aP.type=aP.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(aQ,aP){a.event.special[aQ]={setup:function(aR){a.event.add(this,aP,aR&&aR.selector?an:O,aQ)},teardown:function(aR){a.event.remove(this,aP,aR&&aR.selector?an:O)}}});if(!a.support.submitBubbles){a.event.special.submit={setup:function(aQ,aP){if(this.nodeName.toLowerCase()!=="form"){a.event.add(this,"click.specialSubmit",function(aT){var aS=aT.target,aR=aS.type;if((aR==="submit"||aR==="image")&&a(aS).closest("form").length){aT.liveFired=z;return aq("submit",this,arguments)}});a.event.add(this,"keypress.specialSubmit",function(aT){var aS=aT.target,aR=aS.type;if((aR==="text"||aR==="password")&&a(aS).closest("form").length&&aT.keyCode===13){aT.liveFired=z;return aq("submit",this,arguments)}})}else{return false}},teardown:function(aP){a.event.remove(this,".specialSubmit")}}}if(!a.support.changeBubbles){var aI,f=function(aQ){var aP=aQ.type,aR=aQ.value;if(aP==="radio"||aP==="checkbox"){aR=aQ.checked}else{if(aP==="select-multiple"){aR=aQ.selectedIndex>-1?a.map(aQ.options,function(aS){return aS.selected}).join("-"):""}else{if(aQ.nodeName.toLowerCase()==="select"){aR=aQ.selectedIndex}}}return aR},M=function M(aR){var aP=aR.target,aQ,aS;if(!aE.test(aP.nodeName)||aP.readOnly){return}aQ=a.data(aP,"_change_data");aS=f(aP);if(aR.type!=="focusout"||aP.type!=="radio"){a.data(aP,"_change_data",aS)}if(aQ===z||aS===aQ){return}if(aQ!=null||aS){aR.type="change";aR.liveFired=z;return a.event.trigger(aR,arguments[1],aP)}};a.event.special.change={filters:{focusout:M,beforedeactivate:M,click:function(aR){var aQ=aR.target,aP=aQ.type;if(aP==="radio"||aP==="checkbox"||aQ.nodeName.toLowerCase()==="select"){return M.call(this,aR)}},keydown:function(aR){var aQ=aR.target,aP=aQ.type;if((aR.keyCode===13&&aQ.nodeName.toLowerCase()!=="textarea")||(aR.keyCode===32&&(aP==="checkbox"||aP==="radio"))||aP==="select-multiple"){return M.call(this,aR)}},beforeactivate:function(aQ){var aP=aQ.target;a.data(aP,"_change_data",f(aP))}},setup:function(aR,aQ){if(this.type==="file"){return false}for(var aP in aI){a.event.add(this,aP+".specialChange",aI[aP])}return aE.test(this.nodeName)},teardown:function(aP){a.event.remove(this,".specialChange");return aE.test(this.nodeName)}};aI=a.event.special.change.filters;aI.focus=aI.beforeactivate}function aq(aQ,aR,aP){aP[0].type=aQ;return a.event.handle.apply(aR,aP)}if(Y.addEventListener){a.each({focus:"focusin",blur:"focusout"},function(aR,aP){a.event.special[aP]={setup:function(){if(v[aP]++===0){Y.addEventListener(aR,aQ,true)}},teardown:function(){if(--v[aP]===0){Y.removeEventListener(aR,aQ,true)}}};function aQ(aS){aS=a.event.fix(aS);aS.type=aP;return a.event.trigger(aS,null,aS.target)}})}a.each(["bind","one"],function(aQ,aP){a.fn[aP]=function(aW,aX,aV){if(typeof aW==="object"){for(var aT in aW){this[aP](aT,aX,aW[aT],aV)}return this}if(a.isFunction(aX)||aX===false){aV=aX;aX=z}var aU=aP==="one"?a.proxy(aV,function(aY){a(this).unbind(aY,aU);return aV.apply(this,arguments)}):aV;if(aW==="unload"&&aP!=="one"){this.one(aW,aX,aV)}else{for(var aS=0,aR=this.length;aS<aR;aS++){a.event.add(this[aS],aW,aU,aX)}}return this}});a.fn.extend({unbind:function(aT,aS){if(typeof aT==="object"&&!aT.preventDefault){for(var aR in aT){this.unbind(aR,aT[aR])}}else{for(var aQ=0,aP=this.length;aQ<aP;aQ++){a.event.remove(this[aQ],aT,aS)}}return this},delegate:function(aP,aQ,aS,aR){return this.live(aQ,aS,aR,aP)},undelegate:function(aP,aQ,aR){if(arguments.length===0){return this.unbind("live")}else{return this.die(aQ,null,aR,aP)}},trigger:function(aP,aQ){return this.each(function(){a.event.trigger(aP,aQ,this)})},triggerHandler:function(aP,aR){if(this[0]){var aQ=a.Event(aP);aQ.preventDefault();aQ.stopPropagation();a.event.trigger(aQ,aR,this[0]);return aQ.result}},toggle:function(aR){var aP=arguments,aQ=1;while(aQ<aP.length){a.proxy(aR,aP[aQ++])}return this.click(a.proxy(aR,function(aS){var aT=(a.data(this,"lastToggle"+aR.guid)||0)%aQ;a.data(this,"lastToggle"+aR.guid,aT+1);aS.preventDefault();return aP[aT].apply(this,arguments)||false}))},hover:function(aP,aQ){return this.mouseenter(aP).mouseleave(aQ||aP)}});var am={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(aQ,aP){a.fn[aP]=function(a0,aX,a2,aT){var a1,aY=0,aZ,aS,a4,aV=aT||this.selector,aR=aT?this:a(this.context);if(typeof a0==="object"&&!a0.preventDefault){for(var a3 in a0){aR[aP](a3,aX,a0[a3],aV)}return this}if(a.isFunction(aX)){a2=aX;aX=z}a0=(a0||"").split(" ");while((a1=a0[aY++])!=null){aZ=at.exec(a1);aS="";if(aZ){aS=aZ[0];a1=a1.replace(at,"")}if(a1==="hover"){a0.push("mouseenter"+aS,"mouseleave"+aS);continue}a4=a1;if(a1==="focus"||a1==="blur"){a0.push(am[a1]+aS);a1=a1+aS}else{a1=(am[a1]||a1)+aS}if(aP==="live"){for(var aW=0,aU=aR.length;aW<aU;aW++){a.event.add(aR[aW],"live."+j(a1,aV),{data:aX,selector:aV,handler:a2,origType:a1,origHandler:a2,preType:a4})}}else{aR.unbind("live."+j(a1,aV),a2)}}return this}});function S(a0){var aX,aS,a6,aU,aP,a2,aZ,a1,aY,a5,aW,aV,a4,a3=[],aT=[],aQ=a.data(this,this.nodeType?"events":"__events__");if(typeof aQ==="function"){aQ=aQ.events}if(a0.liveFired===this||!aQ||!aQ.live||a0.button&&a0.type==="click"){return}if(a0.namespace){aV=new RegExp("(^|\\.)"+a0.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}a0.liveFired=this;var aR=aQ.live.slice(0);for(aZ=0;aZ<aR.length;aZ++){aP=aR[aZ];if(aP.origType.replace(at,"")===a0.type){aT.push(aP.selector)}else{aR.splice(aZ--,1)}}aU=a(a0.target).closest(aT,a0.currentTarget);for(a1=0,aY=aU.length;a1<aY;a1++){aW=aU[a1];for(aZ=0;aZ<aR.length;aZ++){aP=aR[aZ];if(aW.selector===aP.selector&&(!aV||aV.test(aP.namespace))){a2=aW.elem;a6=null;if(aP.preType==="mouseenter"||aP.preType==="mouseleave"){a0.type=aP.preType;a6=a(a0.relatedTarget).closest(aP.selector)[0]}if(!a6||a6!==a2){a3.push({elem:a2,handleObj:aP,level:aW.level})}}}}for(a1=0,aY=a3.length;a1<aY;a1++){aU=a3[a1];if(aS&&aU.level>aS){break}a0.currentTarget=aU.elem;a0.data=aU.handleObj.data;a0.handleObj=aU.handleObj;a4=aU.handleObj.origHandler.apply(aU.elem,arguments);if(a4===false||a0.isPropagationStopped()){aS=aU.level;if(a4===false){aX=false}if(a0.isImmediatePropagationStopped()){break}}}return aX}function j(aQ,aP){return(aQ&&aQ!=="*"?aQ+".":"")+aP.replace(B,"`").replace(P,"&")}a.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(aQ,aP){a.fn[aP]=function(aS,aR){if(aR==null){aR=aS;aS=null}return arguments.length>0?this.bind(aP,aS,aR):this.trigger(aP)};if(a.attrFn){a.attrFn[aP]=true}});if(aC.attachEvent&&!aC.addEventListener){a(aC).bind("unload",function(){for(var aQ in a.cache){if(a.cache[aQ].handle){try{a.event.remove(a.cache[aQ].handle.elem)}catch(aP){}}}});
/*
 * 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 a4=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,aX=0,aS=Object.prototype.toString,a3=false,aW=true;[0,0].sort(function(){aW=false;return 0});var aQ=function(bb,a6,be,bf){be=be||[];a6=a6||Y;var bh=a6;if(a6.nodeType!==1&&a6.nodeType!==9){return[]}if(!bb||typeof bb!=="string"){return be}var a8,bj,bm,a7,bi,bl,bk,bd,ba=true,a9=aQ.isXML(a6),bc=[],bg=bb;do{a4.exec("");a8=a4.exec(bg);if(a8){bg=a8[3];bc.push(a8[1]);if(a8[2]){a7=a8[3];break}}}while(a8);if(bc.length>1&&aY.exec(bb)){if(bc.length===2&&aT.relative[bc[0]]){bj=aV(bc[0]+bc[1],a6)}else{bj=aT.relative[bc[0]]?[a6]:aQ(bc.shift(),a6);while(bc.length){bb=bc.shift();if(aT.relative[bb]){bb+=bc.shift()}bj=aV(bb,bj)}}}else{if(!bf&&bc.length>1&&a6.nodeType===9&&!a9&&aT.match.ID.test(bc[0])&&!aT.match.ID.test(bc[bc.length-1])){bi=aQ.find(bc.shift(),a6,a9);a6=bi.expr?aQ.filter(bi.expr,bi.set)[0]:bi.set[0]}if(a6){bi=bf?{expr:bc.pop(),set:aP(bf)}:aQ.find(bc.pop(),bc.length===1&&(bc[0]==="~"||bc[0]==="+")&&a6.parentNode?a6.parentNode:a6,a9);bj=bi.expr?aQ.filter(bi.expr,bi.set):bi.set;if(bc.length>0){bm=aP(bj)}else{ba=false}while(bc.length){bl=bc.pop();bk=bl;if(!aT.relative[bl]){bl=""}else{bk=bc.pop()}if(bk==null){bk=a6}aT.relative[bl](bm,bk,a9)}}else{bm=bc=[]}}if(!bm){bm=bj}if(!bm){aQ.error(bl||bb)}if(aS.call(bm)==="[object Array]"){if(!ba){be.push.apply(be,bm)}else{if(a6&&a6.nodeType===1){for(bd=0;bm[bd]!=null;bd++){if(bm[bd]&&(bm[bd]===true||bm[bd].nodeType===1&&aQ.contains(a6,bm[bd]))){be.push(bj[bd])}}}else{for(bd=0;bm[bd]!=null;bd++){if(bm[bd]&&bm[bd].nodeType===1){be.push(bj[bd])}}}}}else{aP(bm,be)}if(a7){aQ(a7,bh,be,bf);aQ.uniqueSort(be)}return be};aQ.uniqueSort=function(a7){if(aR){a3=aW;a7.sort(aR);if(a3){for(var a6=1;a6<a7.length;a6++){if(a7[a6]===a7[a6-1]){a7.splice(a6--,1)}}}}return a7};aQ.matches=function(a6,a7){return aQ(a6,null,null,a7)};aQ.matchesSelector=function(a6,a7){return aQ(a7,null,null,[a6]).length>0};aQ.find=function(bd,a6,be){var bc;if(!bd){return[]}for(var a9=0,a8=aT.order.length;a9<a8;a9++){var ba,bb=aT.order[a9];if((ba=aT.leftMatch[bb].exec(bd))){var a7=ba[1];ba.splice(1,1);if(a7.substr(a7.length-1)!=="\\"){ba[1]=(ba[1]||"").replace(/\\/g,"");bc=aT.find[bb](ba,a6,be);if(bc!=null){bd=bd.replace(aT.match[bb],"");break}}}}if(!bc){bc=a6.getElementsByTagName("*")}return{set:bc,expr:bd}};aQ.filter=function(bh,bg,bk,ba){var bc,a6,a8=bh,bm=[],be=bg,bd=bg&&bg[0]&&aQ.isXML(bg[0]);while(bh&&bg.length){for(var bf in aT.filter){if((bc=aT.leftMatch[bf].exec(bh))!=null&&bc[2]){var bl,bj,a7=aT.filter[bf],a9=bc[1];a6=false;bc.splice(1,1);if(a9.substr(a9.length-1)==="\\"){continue}if(be===bm){bm=[]}if(aT.preFilter[bf]){bc=aT.preFilter[bf](bc,be,bk,bm,ba,bd);if(!bc){a6=bl=true}else{if(bc===true){continue}}}if(bc){for(var bb=0;(bj=be[bb])!=null;bb++){if(bj){bl=a7(bj,bc,bb,be);var bi=ba^!!bl;if(bk&&bl!=null){if(bi){a6=true}else{be[bb]=false}}else{if(bi){bm.push(bj);a6=true}}}}}if(bl!==z){if(!bk){be=bm}bh=bh.replace(aT.match[bf],"");if(!a6){return[]}break}}}if(bh===a8){if(a6==null){aQ.error(bh)}else{break}}a8=bh}return be};aQ.error=function(a6){throw"Syntax error, unrecognized expression: "+a6};var aT=aQ.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(a6){return a6.getAttribute("href")}},relative:{"+":function(bc,a7){var a9=typeof a7==="string",bb=a9&&!/\W/.test(a7),bd=a9&&!bb;if(bb){a7=a7.toLowerCase()}for(var a8=0,a6=bc.length,ba;a8<a6;a8++){if((ba=bc[a8])){while((ba=ba.previousSibling)&&ba.nodeType!==1){}bc[a8]=bd||ba&&ba.nodeName.toLowerCase()===a7?ba||false:ba===a7}}if(bd){aQ.filter(a7,bc,true)}},">":function(bc,a7){var bb,ba=typeof a7==="string",a8=0,a6=bc.length;if(ba&&!/\W/.test(a7)){a7=a7.toLowerCase();for(;a8<a6;a8++){bb=bc[a8];if(bb){var a9=bb.parentNode;bc[a8]=a9.nodeName.toLowerCase()===a7?a9:false}}}else{for(;a8<a6;a8++){bb=bc[a8];if(bb){bc[a8]=ba?bb.parentNode:bb.parentNode===a7}}if(ba){aQ.filter(a7,bc,true)}}},"":function(a9,a7,bb){var ba,a8=aX++,a6=a5;if(typeof a7==="string"&&!/\W/.test(a7)){a7=a7.toLowerCase();ba=a7;a6=a2}a6("parentNode",a7,a8,a9,ba,bb)},"~":function(a9,a7,bb){var ba,a8=aX++,a6=a5;if(typeof a7==="string"&&!/\W/.test(a7)){a7=a7.toLowerCase();ba=a7;a6=a2}a6("previousSibling",a7,a8,a9,ba,bb)}},find:{ID:function(a7,a8,a9){if(typeof a8.getElementById!=="undefined"&&!a9){var a6=a8.getElementById(a7[1]);return a6&&a6.parentNode?[a6]:[]}},NAME:function(a8,bb){if(typeof bb.getElementsByName!=="undefined"){var a7=[],ba=bb.getElementsByName(a8[1]);for(var a9=0,a6=ba.length;a9<a6;a9++){if(ba[a9].getAttribute("name")===a8[1]){a7.push(ba[a9])}}return a7.length===0?null:a7}},TAG:function(a6,a7){return a7.getElementsByTagName(a6[1])}},preFilter:{CLASS:function(a9,a7,a8,a6,bc,bd){a9=" "+a9[1].replace(/\\/g,"")+" ";if(bd){return a9}for(var ba=0,bb;(bb=a7[ba])!=null;ba++){if(bb){if(bc^(bb.className&&(" "+bb.className+" ").replace(/[\t\n]/g," ").indexOf(a9)>=0)){if(!a8){a6.push(bb)}}else{if(a8){a7[ba]=false}}}}return false},ID:function(a6){return a6[1].replace(/\\/g,"")},TAG:function(a7,a6){return a7[1].toLowerCase()},CHILD:function(a6){if(a6[1]==="nth"){var a7=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a6[2]==="even"&&"2n"||a6[2]==="odd"&&"2n+1"||!/\D/.test(a6[2])&&"0n+"+a6[2]||a6[2]);a6[2]=(a7[1]+(a7[2]||1))-0;a6[3]=a7[3]-0}a6[0]=aX++;return a6},ATTR:function(ba,a7,a8,a6,bb,bc){var a9=ba[1].replace(/\\/g,"");if(!bc&&aT.attrMap[a9]){ba[1]=aT.attrMap[a9]}if(ba[2]==="~="){ba[4]=" "+ba[4]+" "}return ba},PSEUDO:function(ba,a7,a8,a6,bb){if(ba[1]==="not"){if((a4.exec(ba[3])||"").length>1||/^\w/.test(ba[3])){ba[3]=aQ(ba[3],null,null,a7)}else{var a9=aQ.filter(ba[3],a7,a8,true^bb);if(!a8){a6.push.apply(a6,a9)}return false}}else{if(aT.match.POS.test(ba[0])||aT.match.CHILD.test(ba[0])){return true}}return ba},POS:function(a6){a6.unshift(true);return a6}},filters:{enabled:function(a6){return a6.disabled===false&&a6.type!=="hidden"},disabled:function(a6){return a6.disabled===true},checked:function(a6){return a6.checked===true},selected:function(a6){a6.parentNode.selectedIndex;return a6.selected===true},parent:function(a6){return !!a6.firstChild},empty:function(a6){return !a6.firstChild},has:function(a8,a7,a6){return !!aQ(a6[3],a8).length},header:function(a6){return(/h\d/i).test(a6.nodeName)},text:function(a6){return"text"===a6.type},radio:function(a6){return"radio"===a6.type},checkbox:function(a6){return"checkbox"===a6.type},file:function(a6){return"file"===a6.type},password:function(a6){return"password"===a6.type},submit:function(a6){return"submit"===a6.type},image:function(a6){return"image"===a6.type},reset:function(a6){return"reset"===a6.type},button:function(a6){return"button"===a6.type||a6.nodeName.toLowerCase()==="button"},input:function(a6){return(/input|select|textarea|button/i).test(a6.nodeName)}},setFilters:{first:function(a7,a6){return a6===0},last:function(a8,a7,a6,a9){return a7===a9.length-1},even:function(a7,a6){return a6%2===0},odd:function(a7,a6){return a6%2===1},lt:function(a8,a7,a6){return a7<a6[3]-0},gt:function(a8,a7,a6){return a7>a6[3]-0},nth:function(a8,a7,a6){return a6[3]-0===a7},eq:function(a8,a7,a6){return a6[3]-0===a7}},filter:{PSEUDO:function(a8,bd,bc,be){var a6=bd[1],a7=aT.filters[a6];if(a7){return a7(a8,bc,bd,be)}else{if(a6==="contains"){return(a8.textContent||a8.innerText||aQ.getText([a8])||"").indexOf(bd[3])>=0}else{if(a6==="not"){var a9=bd[3];for(var bb=0,ba=a9.length;bb<ba;bb++){if(a9[bb]===a8){return false}}return true}else{aQ.error("Syntax error, unrecognized expression: "+a6)}}}},CHILD:function(a6,a9){var bc=a9[1],a7=a6;switch(bc){case"only":case"first":while((a7=a7.previousSibling)){if(a7.nodeType===1){return false}}if(bc==="first"){return true}a7=a6;case"last":while((a7=a7.nextSibling)){if(a7.nodeType===1){return false}}return true;case"nth":var a8=a9[2],bf=a9[3];if(a8===1&&bf===0){return true}var bb=a9[0],be=a6.parentNode;if(be&&(be.sizcache!==bb||!a6.nodeIndex)){var ba=0;for(a7=be.firstChild;a7;a7=a7.nextSibling){if(a7.nodeType===1){a7.nodeIndex=++ba}}be.sizcache=bb}var bd=a6.nodeIndex-bf;if(a8===0){return bd===0}else{return(bd%a8===0&&bd/a8>=0)}}},ID:function(a7,a6){return a7.nodeType===1&&a7.getAttribute("id")===a6},TAG:function(a7,a6){return(a6==="*"&&a7.nodeType===1)||a7.nodeName.toLowerCase()===a6},CLASS:function(a7,a6){return(" "+(a7.className||a7.getAttribute("class"))+" ").indexOf(a6)>-1},ATTR:function(bb,a9){var a8=a9[1],a6=aT.attrHandle[a8]?aT.attrHandle[a8](bb):bb[a8]!=null?bb[a8]:bb.getAttribute(a8),bc=a6+"",ba=a9[2],a7=a9[4];return a6==null?ba==="!=":ba==="="?bc===a7:ba==="*="?bc.indexOf(a7)>=0:ba==="~="?(" "+bc+" ").indexOf(a7)>=0:!a7?bc&&a6!==false:ba==="!="?bc!==a7:ba==="^="?bc.indexOf(a7)===0:ba==="$="?bc.substr(bc.length-a7.length)===a7:ba==="|="?bc===a7||bc.substr(0,a7.length+1)===a7+"-":false},POS:function(ba,a7,a8,bb){var a6=a7[2],a9=aT.setFilters[a6];if(a9){return a9(ba,a8,a7,bb)}}}};var aY=aT.match.POS,aU=function(a7,a6){return"\\"+(a6-0+1)};for(var a1 in aT.match){aT.match[a1]=new RegExp(aT.match[a1].source+(/(?![^\[]*\])(?![^\(]*\))/.source));aT.leftMatch[a1]=new RegExp(/(^(?:.|\r|\n)*?)/.source+aT.match[a1].source.replace(/\\(\d+)/g,aU))}var aP=function(a7,a6){a7=Array.prototype.slice.call(a7,0);if(a6){a6.push.apply(a6,a7);return a6}return a7};try{Array.prototype.slice.call(Y.documentElement.childNodes,0)[0].nodeType}catch(aZ){aP=function(ba,a9){var a8=0,a7=a9||[];if(aS.call(ba)==="[object Array]"){Array.prototype.push.apply(a7,ba)}else{if(typeof ba.length==="number"){for(var a6=ba.length;a8<a6;a8++){a7.push(ba[a8])}}else{for(;ba[a8];a8++){a7.push(ba[a8])}}}return a7}}var aR,a0;if(Y.documentElement.compareDocumentPosition){aR=function(a7,a6){if(a7===a6){a3=true;return 0}if(!a7.compareDocumentPosition||!a6.compareDocumentPosition){return a7.compareDocumentPosition?-1:1}return a7.compareDocumentPosition(a6)&4?-1:1}}else{aR=function(be,bd){var bb,a7,a8=[],a6=[],ba=be.parentNode,bc=bd.parentNode,bf=ba;if(be===bd){a3=true;return 0}else{if(ba===bc){return a0(be,bd)}else{if(!ba){return -1}else{if(!bc){return 1}}}}while(bf){a8.unshift(bf);bf=bf.parentNode}bf=bc;while(bf){a6.unshift(bf);bf=bf.parentNode}bb=a8.length;a7=a6.length;for(var a9=0;a9<bb&&a9<a7;a9++){if(a8[a9]!==a6[a9]){return a0(a8[a9],a6[a9])}}return a9===bb?a0(be,a6[a9],-1):a0(a8[a9],bd,1)};a0=function(a7,a6,a8){if(a7===a6){return a8}var a9=a7.nextSibling;while(a9){if(a9===a6){return -1}a9=a9.nextSibling}return 1}}aQ.getText=function(a6){var a7="",a9;for(var a8=0;a6[a8];a8++){a9=a6[a8];if(a9.nodeType===3||a9.nodeType===4){a7+=a9.nodeValue}else{if(a9.nodeType!==8){a7+=aQ.getText(a9.childNodes)}}}return a7};(function(){var a7=Y.createElement("div"),a8="script"+(new Date()).getTime(),a6=Y.documentElement;a7.innerHTML="<a name='"+a8+"'/>";a6.insertBefore(a7,a6.firstChild);if(Y.getElementById(a8)){aT.find.ID=function(ba,bb,bc){if(typeof bb.getElementById!=="undefined"&&!bc){var a9=bb.getElementById(ba[1]);return a9?a9.id===ba[1]||typeof a9.getAttributeNode!=="undefined"&&a9.getAttributeNode("id").nodeValue===ba[1]?[a9]:z:[]}};aT.filter.ID=function(bb,a9){var ba=typeof bb.getAttributeNode!=="undefined"&&bb.getAttributeNode("id");return bb.nodeType===1&&ba&&ba.nodeValue===a9}}a6.removeChild(a7);a6=a7=null})();(function(){var a6=Y.createElement("div");a6.appendChild(Y.createComment(""));if(a6.getElementsByTagName("*").length>0){aT.find.TAG=function(a7,bb){var ba=bb.getElementsByTagName(a7[1]);if(a7[1]==="*"){var a9=[];for(var a8=0;ba[a8];a8++){if(ba[a8].nodeType===1){a9.push(ba[a8])}}ba=a9}return ba}}a6.innerHTML="<a href='#'></a>";if(a6.firstChild&&typeof a6.firstChild.getAttribute!=="undefined"&&a6.firstChild.getAttribute("href")!=="#"){aT.attrHandle.href=function(a7){return a7.getAttribute("href",2)}}a6=null})();if(Y.querySelectorAll){(function(){var a6=aQ,a9=Y.createElement("div"),a8="__sizzle__";a9.innerHTML="<p class='TEST'></p>";if(a9.querySelectorAll&&a9.querySelectorAll(".TEST").length===0){return}aQ=function(be,bd,ba,bc){bd=bd||Y;be=be.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bc&&!aQ.isXML(bd)){if(bd.nodeType===9){try{return aP(bd.querySelectorAll(be),ba)}catch(bg){}}else{if(bd.nodeType===1&&bd.nodeName.toLowerCase()!=="object"){var bb=bd.getAttribute("id"),bh=bb||a8;if(!bb){bd.setAttribute("id",bh)}try{return aP(bd.querySelectorAll("#"+bh+" "+be),ba)}catch(bf){}finally{if(!bb){bd.removeAttribute("id")}}}}}return a6(be,bd,ba,bc)};for(var a7 in a6){aQ[a7]=a6[a7]}a9=null})()}(function(){var a6=Y.documentElement,a8=a6.matchesSelector||a6.mozMatchesSelector||a6.webkitMatchesSelector||a6.msMatchesSelector,a7=false;try{a8.call(Y.documentElement,"[test!='']:sizzle")}catch(a9){a7=true}if(a8){aQ.matchesSelector=function(ba,bc){bc=bc.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!aQ.isXML(ba)){try{if(a7||!aT.match.PSEUDO.test(bc)&&!/!=/.test(bc)){return a8.call(ba,bc)}}catch(bb){}}return aQ(bc,null,null,[ba]).length>0}}})();(function(){var a6=Y.createElement("div");a6.innerHTML="<div class='test e'></div><div class='test'></div>";if(!a6.getElementsByClassName||a6.getElementsByClassName("e").length===0){return}a6.lastChild.className="e";if(a6.getElementsByClassName("e").length===1){return}aT.order.splice(1,0,"CLASS");aT.find.CLASS=function(a7,a8,a9){if(typeof a8.getElementsByClassName!=="undefined"&&!a9){return a8.getElementsByClassName(a7[1])}};a6=null})();function a2(a7,bc,bb,bf,bd,be){for(var a9=0,a8=bf.length;a9<a8;a9++){var a6=bf[a9];if(a6){var ba=false;a6=a6[a7];while(a6){if(a6.sizcache===bb){ba=bf[a6.sizset];break}if(a6.nodeType===1&&!be){a6.sizcache=bb;a6.sizset=a9}if(a6.nodeName.toLowerCase()===bc){ba=a6;break}a6=a6[a7]}bf[a9]=ba}}}function a5(a7,bc,bb,bf,bd,be){for(var a9=0,a8=bf.length;a9<a8;a9++){var a6=bf[a9];if(a6){var ba=false;a6=a6[a7];while(a6){if(a6.sizcache===bb){ba=bf[a6.sizset];break}if(a6.nodeType===1){if(!be){a6.sizcache=bb;a6.sizset=a9}if(typeof bc!=="string"){if(a6===bc){ba=true;break}}else{if(aQ.filter(bc,[a6]).length>0){ba=a6;break}}}a6=a6[a7]}bf[a9]=ba}}}if(Y.documentElement.contains){aQ.contains=function(a7,a6){return a7!==a6&&(a7.contains?a7.contains(a6):true)}}else{if(Y.documentElement.compareDocumentPosition){aQ.contains=function(a7,a6){return !!(a7.compareDocumentPosition(a6)&16)}}else{aQ.contains=function(){return false}}}aQ.isXML=function(a6){var a7=(a6?a6.ownerDocument||a6:0).documentElement;return a7?a7.nodeName!=="HTML":false};var aV=function(a6,bd){var bb,a9=[],ba="",a8=bd.nodeType?[bd]:bd;while((bb=aT.match.PSEUDO.exec(a6))){ba+=bb[0];a6=a6.replace(aT.match.PSEUDO,"")}a6=aT.relative[a6]?a6+"*":a6;for(var bc=0,a7=a8.length;bc<a7;bc++){aQ(a6,a8[bc],a9)}return aQ.filter(ba,a9)};a.find=aQ;a.expr=aQ.selectors;a.expr[":"]=a.expr.filters;a.unique=aQ.uniqueSort;a.text=aQ.getText;a.isXMLDoc=aQ.isXML;a.contains=aQ.contains})();var L=/Until$/,V=/^(?:parents|prevUntil|prevAll)/,aA=/,/,aM=/^.[^:#\[\.,]*$/,D=Array.prototype.slice,x=a.expr.match.POS;a.fn.extend({find:function(aP){var aR=this.pushStack("","find",aP),aU=0;for(var aS=0,aQ=this.length;aS<aQ;aS++){aU=aR.length;a.find(aP,this[aS],aR);if(aS>0){for(var aV=aU;aV<aR.length;aV++){for(var aT=0;aT<aU;aT++){if(aR[aT]===aR[aV]){aR.splice(aV--,1);break}}}}}return aR},has:function(aQ){var aP=a(aQ);return this.filter(function(){for(var aS=0,aR=aP.length;aS<aR;aS++){if(a.contains(this,aP[aS])){return true}}})},not:function(aP){return this.pushStack(ac(this,aP,false),"not",aP)},filter:function(aP){return this.pushStack(ac(this,aP,true),"filter",aP)},is:function(aP){return !!aP&&a.filter(aP,this).length>0},closest:function(aZ,aQ){var aW=[],aT,aR,aY=this[0];if(a.isArray(aZ)){var aV,aS,aU={},aP=1;if(aY&&aZ.length){for(aT=0,aR=aZ.length;aT<aR;aT++){aS=aZ[aT];if(!aU[aS]){aU[aS]=a.expr.match.POS.test(aS)?a(aS,aQ||this.context):aS}}while(aY&&aY.ownerDocument&&aY!==aQ){for(aS in aU){aV=aU[aS];if(aV.jquery?aV.index(aY)>-1:a(aY).is(aV)){aW.push({selector:aS,elem:aY,level:aP})}}aY=aY.parentNode;aP++}}return aW}var aX=x.test(aZ)?a(aZ,aQ||this.context):null;for(aT=0,aR=this.length;aT<aR;aT++){aY=this[aT];while(aY){if(aX?aX.index(aY)>-1:a.find.matchesSelector(aY,aZ)){aW.push(aY);break}else{aY=aY.parentNode;if(!aY||!aY.ownerDocument||aY===aQ){break}}}}aW=aW.length>1?a.unique(aW):aW;return this.pushStack(aW,"closest",aZ)},index:function(aP){if(!aP||typeof aP==="string"){return a.inArray(this[0],aP?a(aP):this.parent().children())}return a.inArray(aP.jquery?aP[0]:aP,this)},add:function(aP,aQ){var aS=typeof aP==="string"?a(aP,aQ||this.context):a.makeArray(aP),aR=a.merge(this.get(),aS);return this.pushStack(t(aS[0])||t(aR[0])?aR:a.unique(aR))},andSelf:function(){return this.add(this.prevObject)}});function t(aP){return !aP||!aP.parentNode||aP.parentNode.nodeType===11}a.each({parent:function(aQ){var aP=aQ.parentNode;return aP&&aP.nodeType!==11?aP:null},parents:function(aP){return a.dir(aP,"parentNode")},parentsUntil:function(aQ,aP,aR){return a.dir(aQ,"parentNode",aR)},next:function(aP){return a.nth(aP,2,"nextSibling")},prev:function(aP){return a.nth(aP,2,"previousSibling")},nextAll:function(aP){return a.dir(aP,"nextSibling")},prevAll:function(aP){return a.dir(aP,"previousSibling")},nextUntil:function(aQ,aP,aR){return a.dir(aQ,"nextSibling",aR)},prevUntil:function(aQ,aP,aR){return a.dir(aQ,"previousSibling",aR)},siblings:function(aP){return a.sibling(aP.parentNode.firstChild,aP)},children:function(aP){return a.sibling(aP.firstChild)},contents:function(aP){return a.nodeName(aP,"iframe")?aP.contentDocument||aP.contentWindow.document:a.makeArray(aP.childNodes)}},function(aP,aQ){a.fn[aP]=function(aT,aR){var aS=a.map(this,aQ,aT);if(!L.test(aP)){aR=aT}if(aR&&typeof aR==="string"){aS=a.filter(aR,aS)}aS=this.length>1?a.unique(aS):aS;if((this.length>1||aA.test(aR))&&V.test(aP)){aS=aS.reverse()}return this.pushStack(aS,aP,D.call(arguments).join(","))}});a.extend({filter:function(aR,aP,aQ){if(aQ){aR=":not("+aR+")"}return aP.length===1?a.find.matchesSelector(aP[0],aR)?[aP[0]]:[]:a.find.matches(aR,aP)},dir:function(aR,aQ,aT){var aP=[],aS=aR[aQ];while(aS&&aS.nodeType!==9&&(aT===z||aS.nodeType!==1||!a(aS).is(aT))){if(aS.nodeType===1){aP.push(aS)}aS=aS[aQ]}return aP},nth:function(aT,aP,aR,aS){aP=aP||1;var aQ=0;for(;aT;aT=aT[aR]){if(aT.nodeType===1&&++aQ===aP){break}}return aT},sibling:function(aR,aQ){var aP=[];for(;aR;aR=aR.nextSibling){if(aR.nodeType===1&&aR!==aQ){aP.push(aR)}}return aP}});function ac(aS,aR,aP){if(a.isFunction(aR)){return a.grep(aS,function(aU,aT){var aV=!!aR.call(aU,aT,aU);return aV===aP})}else{if(aR.nodeType){return a.grep(aS,function(aU,aT){return(aU===aR)===aP})}else{if(typeof aR==="string"){var aQ=a.grep(aS,function(aT){return aT.nodeType===1});if(aM.test(aR)){return a.filter(aR,aQ,!aP)}else{aR=a.filter(aR,aQ)}}}}return a.grep(aS,function(aU,aT){return(a.inArray(aU,aR)>=0)===aP})}var Q=/ jQuery\d+="(?:\d+|null)"/g,W=/^\s+/,G=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,b=/<([\w:]+)/,p=/<tbody/i,J=/<|&#?\w+;/,C=/<(?:script|object|embed|option|style)/i,i=/checked\s*(?:[^=]|=\s*.checked.)/i,F=/\=([^="'>\s]+\/)>/g,Z={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,"",""]};Z.optgroup=Z.option;Z.tbody=Z.tfoot=Z.colgroup=Z.caption=Z.thead;Z.th=Z.td;if(!a.support.htmlSerialize){Z._default=[1,"div<div>","</div>"]}a.fn.extend({text:function(aP){if(a.isFunction(aP)){return this.each(function(aR){var aQ=a(this);aQ.text(aP.call(this,aR,aQ.text()))})}if(typeof aP!=="object"&&aP!==z){return this.empty().append((this[0]&&this[0].ownerDocument||Y).createTextNode(aP))}return a.text(this)},wrapAll:function(aP){if(a.isFunction(aP)){return this.each(function(aR){a(this).wrapAll(aP.call(this,aR))})}if(this[0]){var aQ=a(aP,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){aQ.insertBefore(this[0])}aQ.map(function(){var aR=this;while(aR.firstChild&&aR.firstChild.nodeType===1){aR=aR.firstChild}return aR}).append(this)}return this},wrapInner:function(aP){if(a.isFunction(aP)){return this.each(function(aQ){a(this).wrapInner(aP.call(this,aQ))})}return this.each(function(){var aQ=a(this),aR=aQ.contents();if(aR.length){aR.wrapAll(aP)}else{aQ.append(aP)}})},wrap:function(aP){return this.each(function(){a(this).wrapAll(aP)})},unwrap:function(){return this.parent().each(function(){if(!a.nodeName(this,"body")){a(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(aP){if(this.nodeType===1){this.appendChild(aP)}})},prepend:function(){return this.domManip(arguments,true,function(aP){if(this.nodeType===1){this.insertBefore(aP,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(aQ){this.parentNode.insertBefore(aQ,this)})}else{if(arguments.length){var aP=a(arguments[0]);aP.push.apply(aP,this.toArray());return this.pushStack(aP,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(aQ){this.parentNode.insertBefore(aQ,this.nextSibling)})}else{if(arguments.length){var aP=this.pushStack(this,"after",arguments);aP.push.apply(aP,a(arguments[0]).toArray());return aP}}},remove:function(aP,aS){for(var aQ=0,aR;(aR=this[aQ])!=null;aQ++){if(!aP||a.filter(aP,[aR]).length){if(!aS&&aR.nodeType===1){a.cleanData(aR.getElementsByTagName("*"));a.cleanData([aR])}if(aR.parentNode){aR.parentNode.removeChild(aR)}}}return this},empty:function(){for(var aP=0,aQ;(aQ=this[aP])!=null;aP++){if(aQ.nodeType===1){a.cleanData(aQ.getElementsByTagName("*"))}while(aQ.firstChild){aQ.removeChild(aQ.firstChild)}}return this},clone:function(aQ){var aP=this.map(function(){if(!a.support.noCloneEvent&&!a.isXMLDoc(this)){var aS=this.outerHTML,aR=this.ownerDocument;if(!aS){var aT=aR.createElement("div");aT.appendChild(this.cloneNode(true));aS=aT.innerHTML}return a.clean([aS.replace(Q,"").replace(F,'="$1">').replace(W,"")],aR)[0]}else{return this.cloneNode(true)}});if(aQ===true){m(this,aP);m(this.find("*"),aP.find("*"))}return aP},html:function(aR){if(aR===z){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Q,""):null}else{if(typeof aR==="string"&&!C.test(aR)&&(a.support.leadingWhitespace||!W.test(aR))&&!Z[(b.exec(aR)||["",""])[1].toLowerCase()]){aR=aR.replace(G,"<$1></$2>");try{for(var aQ=0,aP=this.length;aQ<aP;aQ++){if(this[aQ].nodeType===1){a.cleanData(this[aQ].getElementsByTagName("*"));this[aQ].innerHTML=aR}}}catch(aS){this.empty().append(aR)}}else{if(a.isFunction(aR)){this.each(function(aU){var aT=a(this);aT.html(aR.call(this,aU,aT.html()))})}else{this.empty().append(aR)}}}return this},replaceWith:function(aP){if(this[0]&&this[0].parentNode){if(a.isFunction(aP)){return this.each(function(aS){var aR=a(this),aQ=aR.html();aR.replaceWith(aP.call(this,aS,aQ))})}if(typeof aP!=="string"){aP=a(aP).detach()}return this.each(function(){var aR=this.nextSibling,aQ=this.parentNode;a(this).remove();if(aR){a(aR).before(aP)}else{a(aQ).append(aP)}})}else{return this.pushStack(a(a.isFunction(aP)?aP():aP),"replaceWith",aP)}},detach:function(aP){return this.remove(aP,true)},domManip:function(aV,aZ,aY){var aS,aT,aU,aX,aW=aV[0],aQ=[];if(!a.support.checkClone&&arguments.length===3&&typeof aW==="string"&&i.test(aW)){return this.each(function(){a(this).domManip(aV,aZ,aY,true)})}if(a.isFunction(aW)){return this.each(function(a1){var a0=a(this);aV[0]=aW.call(this,a1,aZ?a0.html():z);a0.domManip(aV,aZ,aY)})}if(this[0]){aX=aW&&aW.parentNode;if(a.support.parentNode&&aX&&aX.nodeType===11&&aX.childNodes.length===this.length){aS={fragment:aX}}else{aS=a.buildFragment(aV,this,aQ)}aU=aS.fragment;if(aU.childNodes.length===1){aT=aU=aU.firstChild}else{aT=aU.firstChild}if(aT){aZ=aZ&&a.nodeName(aT,"tr");for(var aR=0,aP=this.length;aR<aP;aR++){aY.call(aZ?aB(this[aR],aT):this[aR],aR>0||aS.cacheable||this.length>1?aU.cloneNode(true):aU)}}if(aQ.length){a.each(aQ,aL)}}return this}});function aB(aP,aQ){return a.nodeName(aP,"table")?(aP.getElementsByTagName("tbody")[0]||aP.appendChild(aP.ownerDocument.createElement("tbody"))):aP}function m(aR,aP){var aQ=0;aP.each(function(){if(this.nodeName!==(aR[aQ]&&aR[aQ].nodeName)){return}var aW=a.data(aR[aQ++]),aV=a.data(this,aW),aS=aW&&aW.events;if(aS){delete aV.handle;aV.events={};for(var aU in aS){for(var aT in aS[aU]){a.event.add(this,aU,aS[aU][aT],aS[aU][aT].data)}}}})}a.buildFragment=function(aU,aS,aQ){var aT,aP,aR,aV=(aS&&aS[0]?aS[0].ownerDocument||aS[0]:Y);if(aU.length===1&&typeof aU[0]==="string"&&aU[0].length<512&&aV===Y&&!C.test(aU[0])&&(a.support.checkClone||!i.test(aU[0]))){aP=true;aR=a.fragments[aU[0]];if(aR){if(aR!==1){aT=aR}}}if(!aT){aT=aV.createDocumentFragment();a.clean(aU,aV,aT,aQ)}if(aP){a.fragments[aU[0]]=aR?aT:1}return{fragment:aT,cacheable:aP}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(aP,aQ){a.fn[aP]=function(aR){var aU=[],aX=a(aR),aW=this.length===1&&this[0].parentNode;if(aW&&aW.nodeType===11&&aW.childNodes.length===1&&aX.length===1){aX[aQ](this[0]);return this}else{for(var aV=0,aS=aX.length;aV<aS;aV++){var aT=(aV>0?this.clone(true):this).get();a(aX[aV])[aQ](aT);aU=aU.concat(aT)}return this.pushStack(aU,aP,aX.selector)}}});a.extend({clean:function(aR,aT,a0,aV){aT=aT||Y;if(typeof aT.createElement==="undefined"){aT=aT.ownerDocument||aT[0]&&aT[0].ownerDocument||Y}var a1=[];for(var aZ=0,aU;(aU=aR[aZ])!=null;aZ++){if(typeof aU==="number"){aU+=""}if(!aU){continue}if(typeof aU==="string"&&!J.test(aU)){aU=aT.createTextNode(aU)}else{if(typeof aU==="string"){aU=aU.replace(G,"<$1></$2>");var a2=(b.exec(aU)||["",""])[1].toLowerCase(),aS=Z[a2]||Z._default,aY=aS[0],aQ=aT.createElement("div");aQ.innerHTML=aS[1]+aU+aS[2];while(aY--){aQ=aQ.lastChild}if(!a.support.tbody){var aP=p.test(aU),aX=a2==="table"&&!aP?aQ.firstChild&&aQ.firstChild.childNodes:aS[1]==="<table>"&&!aP?aQ.childNodes:[];for(var aW=aX.length-1;aW>=0;--aW){if(a.nodeName(aX[aW],"tbody")&&!aX[aW].childNodes.length){aX[aW].parentNode.removeChild(aX[aW])}}}if(!a.support.leadingWhitespace&&W.test(aU)){aQ.insertBefore(aT.createTextNode(W.exec(aU)[0]),aQ.firstChild)}aU=aQ.childNodes}}if(aU.nodeType){a1.push(aU)}else{a1=a.merge(a1,aU)}}if(a0){for(aZ=0;a1[aZ];aZ++){if(aV&&a.nodeName(a1[aZ],"script")&&(!a1[aZ].type||a1[aZ].type.toLowerCase()==="text/javascript")){aV.push(a1[aZ].parentNode?a1[aZ].parentNode.removeChild(a1[aZ]):a1[aZ])}else{if(a1[aZ].nodeType===1){a1.splice.apply(a1,[aZ+1,0].concat(a.makeArray(a1[aZ].getElementsByTagName("script"))))}a0.appendChild(a1[aZ])}}}return a1},cleanData:function(aQ){var aT,aR,aP=a.cache,aW=a.event.special,aV=a.support.deleteExpando;for(var aU=0,aS;(aS=aQ[aU])!=null;aU++){if(aS.nodeName&&a.noData[aS.nodeName.toLowerCase()]){continue}aR=aS[a.expando];if(aR){aT=aP[aR];if(aT&&aT.events){for(var aX in aT.events){if(aW[aX]){a.event.remove(aS,aX)}else{a.removeEvent(aS,aX,aT.handle)}}}if(aV){delete aS[a.expando]}else{if(aS.removeAttribute){aS.removeAttribute(a.expando)}}delete aP[aR]}}}});function aL(aP,aQ){if(aQ.src){a.ajax({url:aQ.src,async:false,dataType:"script"})}else{a.globalEval(aQ.text||aQ.textContent||aQ.innerHTML||"")}if(aQ.parentNode){aQ.parentNode.removeChild(aQ)}}var R=/alpha\([^)]*\)/i,X=/opacity=([^)]*)/,ap=/-([a-z])/ig,r=/([A-Z])/g,aD=/^-?\d+(?:px)?$/i,aK=/^-?\d/,az={position:"absolute",visibility:"hidden",display:"block"},T=["Left","Right"],av=["Top","Bottom"],K,af,ao,h=function(aP,aQ){return aQ.toUpperCase()};a.fn.css=function(aP,aQ){if(arguments.length===2&&aQ===z){return this}return a.access(this,aP,aQ,true,function(aS,aR,aT){return aT!==z?a.style(aS,aR,aT):a.css(aS,aR)})};a.extend({cssHooks:{opacity:{get:function(aR,aQ){if(aQ){var aP=K(aR,"opacity","opacity");return aP===""?"1":aP}else{return aR.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(aR,aQ,aW,aS){if(!aR||aR.nodeType===3||aR.nodeType===8||!aR.style){return}var aV,aT=a.camelCase(aQ),aP=aR.style,aX=a.cssHooks[aT];aQ=a.cssProps[aT]||aT;if(aW!==z){if(typeof aW==="number"&&isNaN(aW)||aW==null){return}if(typeof aW==="number"&&!a.cssNumber[aT]){aW+="px"}if(!aX||!("set" in aX)||(aW=aX.set(aR,aW))!==z){try{aP[aQ]=aW}catch(aU){}}}else{if(aX&&"get" in aX&&(aV=aX.get(aR,false,aS))!==z){return aV}return aP[aQ]}},css:function(aU,aT,aQ){var aS,aR=a.camelCase(aT),aP=a.cssHooks[aR];aT=a.cssProps[aR]||aR;if(aP&&"get" in aP&&(aS=aP.get(aU,true,aQ))!==z){return aS}else{if(K){return K(aU,aT,aR)}}},swap:function(aS,aR,aT){var aP={};for(var aQ in aR){aP[aQ]=aS.style[aQ];aS.style[aQ]=aR[aQ]}aT.call(aS);for(aQ in aR){aS.style[aQ]=aP[aQ]}},camelCase:function(aP){return aP.replace(ap,h)}});a.curCSS=a.css;a.each(["height","width"],function(aQ,aP){a.cssHooks[aP]={get:function(aT,aS,aR){var aU;if(aS){if(aT.offsetWidth!==0){aU=k(aT,aP,aR)}else{a.swap(aT,az,function(){aU=k(aT,aP,aR)})}if(aU<=0){aU=K(aT,aP,aP);if(aU==="0px"&&ao){aU=ao(aT,aP,aP)}if(aU!=null){return aU===""||aU==="auto"?"0px":aU}}if(aU<0||aU==null){aU=aT.style[aP];return aU===""||aU==="auto"?"0px":aU}return typeof aU==="string"?aU:aU+"px"}},set:function(aR,aS){if(aD.test(aS)){aS=parseFloat(aS);if(aS>=0){return aS+"px"}}else{return aS}}}});if(!a.support.opacity){a.cssHooks.opacity={get:function(aQ,aP){return X.test((aP&&aQ.currentStyle?aQ.currentStyle.filter:aQ.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":aP?"1":""},set:function(aS,aT){var aR=aS.style;aR.zoom=1;var aP=a.isNaN(aT)?"":"alpha(opacity="+aT*100+")",aQ=aR.filter||"";aR.filter=R.test(aQ)?aQ.replace(R,aP):aR.filter+" "+aP}}}if(Y.defaultView&&Y.defaultView.getComputedStyle){af=function(aU,aP,aS){var aR,aT,aQ;aS=aS.replace(r,"-$1").toLowerCase();if(!(aT=aU.ownerDocument.defaultView)){return z}if((aQ=aT.getComputedStyle(aU,null))){aR=aQ.getPropertyValue(aS);if(aR===""&&!a.contains(aU.ownerDocument.documentElement,aU)){aR=a.style(aU,aS)}}return aR}}if(Y.documentElement.currentStyle){ao=function(aT,aR){var aU,aP,aQ=aT.currentStyle&&aT.currentStyle[aR],aS=aT.style;if(!aD.test(aQ)&&aK.test(aQ)){aU=aS.left;aP=aT.runtimeStyle.left;aT.runtimeStyle.left=aT.currentStyle.left;aS.left=aR==="fontSize"?"1em":(aQ||0);aQ=aS.pixelLeft+"px";aS.left=aU;aT.runtimeStyle.left=aP}return aQ===""?"auto":aQ}}K=af||ao;function k(aR,aQ,aP){var aT=aQ==="width"?T:av,aS=aQ==="width"?aR.offsetWidth:aR.offsetHeight;if(aP==="border"){return aS}a.each(aT,function(){if(!aP){aS-=parseFloat(a.css(aR,"padding"+this))||0}if(aP==="margin"){aS+=parseFloat(a.css(aR,"margin"+this))||0}else{aS-=parseFloat(a.css(aR,"border"+this+"Width"))||0}});return aS}if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(aR){var aQ=aR.offsetWidth,aP=aR.offsetHeight;return(aQ===0&&aP===0)||(!a.support.reliableHiddenOffsets&&(aR.style.display||a.css(aR,"display"))==="none")};a.expr.filters.visible=function(aP){return !a.expr.filters.hidden(aP)}}var ab=a.now(),ay=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,l=/^(?:select|textarea)/i,ar=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ai=/^(?:GET|HEAD)$/,U=/\[\]$/,n=/\=\?(&|$)/,A=/\?/,aO=/([?&])_=[^&]*/,y=/^(\w+:)?\/\/([^\/?#]+)/,e=/%20/g,aN=/#.*$/,s=a.fn.load;a.fn.extend({load:function(aR,aU,aV){if(typeof aR!=="string"&&s){return s.apply(this,arguments)}else{if(!this.length){return this}}var aT=aR.indexOf(" ");if(aT>=0){var aP=aR.slice(aT,aR.length);aR=aR.slice(0,aT)}var aS="GET";if(aU){if(a.isFunction(aU)){aV=aU;aU=null}else{if(typeof aU==="object"){aU=a.param(aU,a.ajaxSettings.traditional);aS="POST"}}}var aQ=this;a.ajax({url:aR,type:aS,dataType:"html",data:aU,complete:function(aX,aW){if(aW==="success"||aW==="notmodified"){aQ.html(aP?a("<div>").append(aX.responseText.replace(ay,"")).find(aP):aX.responseText)}if(aV){aQ.each(aV,[aX.responseText,aW,aX])}}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||l.test(this.nodeName)||ar.test(this.type))}).map(function(aP,aQ){var aR=a(this).val();return aR==null?null:a.isArray(aR)?a.map(aR,function(aT,aS){return{name:aQ.name,value:aT}}):{name:aQ.name,value:aR}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(aP,aQ){a.fn[aQ]=function(aR){return this.bind(aQ,aR)}});a.extend({get:function(aP,aR,aS,aQ){if(a.isFunction(aR)){aQ=aQ||aS;aS=aR;aR=null}return a.ajax({type:"GET",url:aP,data:aR,success:aS,dataType:aQ})},getScript:function(aP,aQ){return a.get(aP,null,aQ,"script")},getJSON:function(aP,aQ,aR){return a.get(aP,aQ,aR,"json")},post:function(aP,aR,aS,aQ){if(a.isFunction(aR)){aQ=aQ||aS;aS=aR;aR={}}return a.ajax({type:"POST",url:aP,data:aR,success:aS,dataType:aQ})},ajaxSetup:function(aP){a.extend(a.ajaxSettings,aP)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new aC.XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a6){var aZ=a.extend(true,{},a.ajaxSettings,a6),ba,a5,a9,aR=aZ.type.toUpperCase(),a2=ai.test(aR);aZ.url=aZ.url.replace(aN,"");aZ.context=a6&&a6.context!=null?a6.context:aZ;if(aZ.data&&aZ.processData&&typeof aZ.data!=="string"){aZ.data=a.param(aZ.data,aZ.traditional)}if(aZ.dataType==="jsonp"){if(aR==="GET"){if(!n.test(aZ.url)){aZ.url+=(A.test(aZ.url)?"&":"?")+(aZ.jsonp||"callback")+"=?"}}else{if(!aZ.data||!n.test(aZ.data)){aZ.data=(aZ.data?aZ.data+"&":"")+(aZ.jsonp||"callback")+"=?"}}aZ.dataType="json"}if(aZ.dataType==="json"&&(aZ.data&&n.test(aZ.data)||n.test(aZ.url))){ba=aZ.jsonpCallback||("jsonp"+ab++);if(aZ.data){aZ.data=(aZ.data+"").replace(n,"="+ba+"$1")}aZ.url=aZ.url.replace(n,"="+ba+"$1");aZ.dataType="script";var a3=aC[ba];aC[ba]=function(bc){if(a.isFunction(a3)){a3(bc)}else{aC[ba]=z;try{delete aC[ba]}catch(bb){}}a9=bc;a.handleSuccess(aZ,aV,a5,a9);a.handleComplete(aZ,aV,a5,a9);if(aS){aS.removeChild(a7)}}}if(aZ.dataType==="script"&&aZ.cache===null){aZ.cache=false}if(aZ.cache===false&&a2){var aP=a.now();var a8=aZ.url.replace(aO,"$1_="+aP);aZ.url=a8+((a8===aZ.url)?(A.test(aZ.url)?"&":"?")+"_="+aP:"")}if(aZ.data&&a2){aZ.url+=(A.test(aZ.url)?"&":"?")+aZ.data}if(aZ.global&&a.active++===0){a.event.trigger("ajaxStart")}var a4=y.exec(aZ.url),aT=a4&&(a4[1]&&a4[1].toLowerCase()!==location.protocol||a4[2].toLowerCase()!==location.host);if(aZ.dataType==="script"&&aR==="GET"&&aT){var aS=Y.getElementsByTagName("head")[0]||Y.documentElement;var a7=Y.createElement("script");if(aZ.scriptCharset){a7.charset=aZ.scriptCharset}a7.src=aZ.url;if(!ba){var a0=false;a7.onload=a7.onreadystatechange=function(){if(!a0&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){a0=true;a.handleSuccess(aZ,aV,a5,a9);a.handleComplete(aZ,aV,a5,a9);a7.onload=a7.onreadystatechange=null;if(aS&&a7.parentNode){aS.removeChild(a7)}}}}aS.insertBefore(a7,aS.firstChild);return z}var aX=false;var aV=aZ.xhr();if(!aV){return}if(aZ.username){aV.open(aR,aZ.url,aZ.async,aZ.username,aZ.password)}else{aV.open(aR,aZ.url,aZ.async)}try{if((aZ.data!=null&&!a2)||(a6&&a6.contentType)){aV.setRequestHeader("Content-Type",aZ.contentType)}if(aZ.ifModified){if(a.lastModified[aZ.url]){aV.setRequestHeader("If-Modified-Since",a.lastModified[aZ.url])}if(a.etag[aZ.url]){aV.setRequestHeader("If-None-Match",a.etag[aZ.url])}}if(!aT){aV.setRequestHeader("X-Requested-With","XMLHttpRequest")}aV.setRequestHeader("Accept",aZ.dataType&&aZ.accepts[aZ.dataType]?aZ.accepts[aZ.dataType]+", */*; q=0.01":aZ.accepts._default)}catch(aW){}if(aZ.beforeSend&&aZ.beforeSend.call(aZ.context,aV,aZ)===false){if(aZ.global&&a.active--===1){a.event.trigger("ajaxStop")}aV.abort();return false}if(aZ.global){a.triggerGlobal(aZ,"ajaxSend",[aV,aZ])}var aY=aV.onreadystatechange=function(bb){if(!aV||aV.readyState===0||bb==="abort"){if(!aX){a.handleComplete(aZ,aV,a5,a9)}aX=true;if(aV){aV.onreadystatechange=a.noop}}else{if(!aX&&aV&&(aV.readyState===4||bb==="timeout")){aX=true;aV.onreadystatechange=a.noop;a5=bb==="timeout"?"timeout":!a.httpSuccess(aV)?"error":aZ.ifModified&&a.httpNotModified(aV,aZ.url)?"notmodified":"success";var bc;if(a5==="success"){try{a9=a.httpData(aV,aZ.dataType,aZ)}catch(bd){a5="parsererror";bc=bd}}if(a5==="success"||a5==="notmodified"){if(!ba){a.handleSuccess(aZ,aV,a5,a9)}}else{a.handleError(aZ,aV,a5,bc)}if(!ba){a.handleComplete(aZ,aV,a5,a9)}if(bb==="timeout"){aV.abort()}if(aZ.async){aV=null}}}};try{var aQ=aV.abort;aV.abort=function(){if(aV){Function.prototype.call.call(aQ,aV)}aY("abort")}}catch(a1){}if(aZ.async&&aZ.timeout>0){setTimeout(function(){if(aV&&!aX){aY("timeout")}},aZ.timeout)}try{aV.send(a2||aZ.data==null?null:aZ.data)}catch(aU){a.handleError(aZ,aV,null,aU);a.handleComplete(aZ,aV,a5,a9)}if(!aZ.async){aY()}return aV},param:function(aP,aR){var aQ=[],aT=function(aU,aV){aV=a.isFunction(aV)?aV():aV;aQ[aQ.length]=encodeURIComponent(aU)+"="+encodeURIComponent(aV)};if(aR===z){aR=a.ajaxSettings.traditional}if(a.isArray(aP)||aP.jquery){a.each(aP,function(){aT(this.name,this.value)})}else{for(var aS in aP){o(aS,aP[aS],aR,aT)}}return aQ.join("&").replace(e,"+")}});function o(aQ,aS,aP,aR){if(a.isArray(aS)&&aS.length){a.each(aS,function(aU,aT){if(aP||U.test(aQ)){aR(aQ,aT)}else{o(aQ+"["+(typeof aT==="object"||a.isArray(aT)?aU:"")+"]",aT,aP,aR)}})}else{if(!aP&&aS!=null&&typeof aS==="object"){if(a.isEmptyObject(aS)){aR(aQ,"")}else{a.each(aS,function(aU,aT){o(aQ+"["+aU+"]",aT,aP,aR)})}}else{aR(aQ,aS)}}}a.extend({active:0,lastModified:{},etag:{},handleError:function(aQ,aS,aP,aR){if(aQ.error){aQ.error.call(aQ.context,aS,aP,aR)}if(aQ.global){a.triggerGlobal(aQ,"ajaxError",[aS,aQ,aR])}},handleSuccess:function(aQ,aS,aP,aR){if(aQ.success){aQ.success.call(aQ.context,aR,aP,aS)}if(aQ.global){a.triggerGlobal(aQ,"ajaxSuccess",[aS,aQ])}},handleComplete:function(aQ,aR,aP){if(aQ.complete){aQ.complete.call(aQ.context,aR,aP)}if(aQ.global){a.triggerGlobal(aQ,"ajaxComplete",[aR,aQ])}if(aQ.global&&a.active--===1){a.event.trigger("ajaxStop")}},triggerGlobal:function(aR,aQ,aP){(aR.context&&aR.context.url==null?a(aR.context):a.event).trigger(aQ,aP)},httpSuccess:function(aQ){try{return !aQ.status&&location.protocol==="file:"||aQ.status>=200&&aQ.status<300||aQ.status===304||aQ.status===1223}catch(aP){}return false},httpNotModified:function(aS,aP){var aR=aS.getResponseHeader("Last-Modified"),aQ=aS.getResponseHeader("Etag");if(aR){a.lastModified[aP]=aR}if(aQ){a.etag[aP]=aQ}return aS.status===304},httpData:function(aU,aS,aR){var aQ=aU.getResponseHeader("content-type")||"",aP=aS==="xml"||!aS&&aQ.indexOf("xml")>=0,aT=aP?aU.responseXML:aU.responseText;if(aP&&aT.documentElement.nodeName==="parsererror"){a.error("parsererror")}if(aR&&aR.dataFilter){aT=aR.dataFilter(aT,aS)}if(typeof aT==="string"){if(aS==="json"||!aS&&aQ.indexOf("json")>=0){aT=a.parseJSON(aT)}else{if(aS==="script"||!aS&&aQ.indexOf("javascript")>=0){a.globalEval(aT)}}}return aT}});if(aC.ActiveXObject){a.ajaxSettings.xhr=function(){if(aC.location.protocol!=="file:"){try{return new aC.XMLHttpRequest()}catch(aQ){}}try{return new aC.ActiveXObject("Microsoft.XMLHTTP")}catch(aP){}}}a.support.ajax=!!a.ajaxSettings.xhr();var E={},aa=/^(?:toggle|show|hide)$/,ak=/^([+\-]=)?([\d+.\-]+)(.*)$/,aw,ae=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(aS,aV,aU){var aR,aT;if(aS||aS===0){return this.animate(au("show",3),aS,aV,aU)}else{for(var aQ=0,aP=this.length;aQ<aP;aQ++){aR=this[aQ];aT=aR.style.display;if(!a.data(aR,"olddisplay")&&aT==="none"){aT=aR.style.display=""}if(aT===""&&a.css(aR,"display")==="none"){a.data(aR,"olddisplay",q(aR.nodeName))}}for(aQ=0;aQ<aP;aQ++){aR=this[aQ];aT=aR.style.display;if(aT===""||aT==="none"){aR.style.display=a.data(aR,"olddisplay")||""}}return this}},hide:function(aR,aU,aT){if(aR||aR===0){return this.animate(au("hide",3),aR,aU,aT)}else{for(var aQ=0,aP=this.length;aQ<aP;aQ++){var aS=a.css(this[aQ],"display");if(aS!=="none"){a.data(this[aQ],"olddisplay",aS)}}for(aQ=0;aQ<aP;aQ++){this[aQ].style.display="none"}return this}},_toggle:a.fn.toggle,toggle:function(aR,aQ,aS){var aP=typeof aR==="boolean";if(a.isFunction(aR)&&a.isFunction(aQ)){this._toggle.apply(this,arguments)}else{if(aR==null||aP){this.each(function(){var aT=aP?aR:a(this).is(":hidden");a(this)[aT?"show":"hide"]()})}else{this.animate(au("toggle",3),aR,aQ,aS)}}return this},fadeTo:function(aP,aS,aR,aQ){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:aS},aP,aR,aQ)},animate:function(aT,aQ,aS,aR){var aP=a.speed(aQ,aS,aR);if(a.isEmptyObject(aT)){return this.each(aP.complete)}return this[aP.queue===false?"each":"queue"](function(){var aW=a.extend({},aP),a0,aX=this.nodeType===1,aY=aX&&a(this).is(":hidden"),aU=this;for(a0 in aT){var aV=a.camelCase(a0);if(a0!==aV){aT[aV]=aT[a0];delete aT[a0];a0=aV}if(aT[a0]==="hide"&&aY||aT[a0]==="show"&&!aY){return aW.complete.call(this)}if(aX&&(a0==="height"||a0==="width")){aW.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none"){if(!a.support.inlineBlockNeedsLayout){this.style.display="inline-block"}else{var aZ=q(this.nodeName);if(aZ==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}}}if(a.isArray(aT[a0])){(aW.specialEasing=aW.specialEasing||{})[a0]=aT[a0][1];aT[a0]=aT[a0][0]}}if(aW.overflow!=null){this.style.overflow="hidden"}aW.curAnim=a.extend({},aT);a.each(aT,function(a2,a6){var a5=new a.fx(aU,aW,a2);if(aa.test(a6)){a5[a6==="toggle"?aY?"show":"hide":a6](aT)}else{var a4=ak.exec(a6),a7=a5.cur()||0;if(a4){var a1=parseFloat(a4[2]),a3=a4[3]||"px";if(a3!=="px"){a.style(aU,a2,(a1||1)+a3);a7=((a1||1)/a5.cur())*a7;a.style(aU,a2,a7+a3)}if(a4[1]){a1=((a4[1]==="-="?-1:1)*a1)+a7}a5.custom(a7,a1,a3)}else{a5.custom(a7,a6,"")}}});return true})},stop:function(aQ,aP){var aR=a.timers;if(aQ){this.queue([])}this.each(function(){for(var aS=aR.length-1;aS>=0;aS--){if(aR[aS].elem===this){if(aP){aR[aS](true)}aR.splice(aS,1)}}});if(!aP){this.dequeue()}return this}});function au(aQ,aP){var aR={};a.each(ae.concat.apply([],ae.slice(0,aP)),function(){aR[this]=aQ});return aR}a.each({slideDown:au("show",1),slideUp:au("hide",1),slideToggle:au("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(aP,aQ){a.fn[aP]=function(aR,aT,aS){return this.animate(aQ,aR,aT,aS)}});a.extend({speed:function(aR,aS,aQ){var aP=aR&&typeof aR==="object"?a.extend({},aR):{complete:aQ||!aQ&&aS||a.isFunction(aR)&&aR,duration:aR,easing:aQ&&aS||aS&&!a.isFunction(aS)&&aS};aP.duration=a.fx.off?0:typeof aP.duration==="number"?aP.duration:aP.duration in a.fx.speeds?a.fx.speeds[aP.duration]:a.fx.speeds._default;aP.old=aP.complete;aP.complete=function(){if(aP.queue!==false){a(this).dequeue()}if(a.isFunction(aP.old)){aP.old.call(this)}};return aP},easing:{linear:function(aR,aS,aP,aQ){return aP+aQ*aR},swing:function(aR,aS,aP,aQ){return((-Math.cos(aR*Math.PI)/2)+0.5)*aQ+aP}},timers:[],fx:function(aQ,aP,aR){this.options=aP;this.elem=aQ;this.prop=aR;if(!aP.orig){aP.orig={}}}});a.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var aP=parseFloat(a.css(this.elem,this.prop));return aP&&aP>-10000?aP:0},custom:function(aU,aT,aS){var aP=this,aR=a.fx;this.startTime=a.now();this.start=aU;this.end=aT;this.unit=aS||this.unit||"px";this.now=this.start;this.pos=this.state=0;function aQ(aV){return aP.step(aV)}aQ.elem=this.elem;if(aQ()&&a.timers.push(aQ)&&!aw){aw=setInterval(aR.tick,aR.interval)}},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(aS){var aX=a.now(),aT=true;if(aS||aX>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var aU in this.options.curAnim){if(this.options.curAnim[aU]!==true){aT=false}}if(aT){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var aR=this.elem,aY=this.options;a.each(["","X","Y"],function(aZ,a0){aR.style["overflow"+a0]=aY.overflow[aZ]})}if(this.options.hide){a(this.elem).hide()}if(this.options.hide||this.options.show){for(var aP in this.options.curAnim){a.style(this.elem,aP,this.options.orig[aP])}}this.options.complete.call(this.elem)}return false}else{var aQ=aX-this.startTime;this.state=aQ/this.options.duration;var aV=this.options.specialEasing&&this.options.specialEasing[this.prop];var aW=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[aV||aW](this.state,aQ,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};a.extend(a.fx,{tick:function(){var aQ=a.timers;for(var aP=0;aP<aQ.length;aP++){if(!aQ[aP]()){aQ.splice(aP--,1)}}if(!aQ.length){a.fx.stop()}},interval:13,stop:function(){clearInterval(aw);aw=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(aP){a.style(aP.elem,"opacity",aP.now)},_default:function(aP){if(aP.elem.style&&aP.elem.style[aP.prop]!=null){aP.elem.style[aP.prop]=(aP.prop==="width"||aP.prop==="height"?Math.max(0,aP.now):aP.now)+aP.unit}else{aP.elem[aP.prop]=aP.now}}}});if(a.expr&&a.expr.filters){a.expr.filters.animated=function(aP){return a.grep(a.timers,function(aQ){return aP===aQ.elem}).length}}function q(aR){if(!E[aR]){var aP=a("<"+aR+">").appendTo("body"),aQ=aP.css("display");aP.remove();if(aQ==="none"||aQ===""){aQ="block"}E[aR]=aQ}return E[aR]}var I=/^t(?:able|d|h)$/i,N=/^(?:body|html)$/i;if("getBoundingClientRect" in Y.documentElement){a.fn.offset=function(a2){var aS=this[0],aV;if(a2){return this.each(function(a3){a.offset.setOffset(this,a2,a3)})}if(!aS||!aS.ownerDocument){return null}if(aS===aS.ownerDocument.body){return a.offset.bodyOffset(aS)}try{aV=aS.getBoundingClientRect()}catch(aZ){}var a1=aS.ownerDocument,aQ=a1.documentElement;if(!aV||!a.contains(aQ,aS)){return aV||{top:0,left:0}}var aW=a1.body,aX=ag(a1),aU=aQ.clientTop||aW.clientTop||0,aY=aQ.clientLeft||aW.clientLeft||0,aP=(aX.pageYOffset||a.support.boxModel&&aQ.scrollTop||aW.scrollTop),aT=(aX.pageXOffset||a.support.boxModel&&aQ.scrollLeft||aW.scrollLeft),a0=aV.top+aP-aU,aR=aV.left+aT-aY;return{top:a0,left:aR}}}else{a.fn.offset=function(a0){var aU=this[0];if(a0){return this.each(function(a1){a.offset.setOffset(this,a0,a1)})}if(!aU||!aU.ownerDocument){return null}if(aU===aU.ownerDocument.body){return a.offset.bodyOffset(aU)}a.offset.initialize();var aX,aR=aU.offsetParent,aQ=aU,aZ=aU.ownerDocument,aS=aZ.documentElement,aV=aZ.body,aW=aZ.defaultView,aP=aW?aW.getComputedStyle(aU,null):aU.currentStyle,aY=aU.offsetTop,aT=aU.offsetLeft;while((aU=aU.parentNode)&&aU!==aV&&aU!==aS){if(a.offset.supportsFixedPosition&&aP.position==="fixed"){break}aX=aW?aW.getComputedStyle(aU,null):aU.currentStyle;aY-=aU.scrollTop;aT-=aU.scrollLeft;if(aU===aR){aY+=aU.offsetTop;aT+=aU.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&I.test(aU.nodeName))){aY+=parseFloat(aX.borderTopWidth)||0;aT+=parseFloat(aX.borderLeftWidth)||0}aQ=aR;aR=aU.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&aX.overflow!=="visible"){aY+=parseFloat(aX.borderTopWidth)||0;aT+=parseFloat(aX.borderLeftWidth)||0}aP=aX}if(aP.position==="relative"||aP.position==="static"){aY+=aV.offsetTop;aT+=aV.offsetLeft}if(a.offset.supportsFixedPosition&&aP.position==="fixed"){aY+=Math.max(aS.scrollTop,aV.scrollTop);aT+=Math.max(aS.scrollLeft,aV.scrollLeft)}return{top:aY,left:aT}}}a.offset={initialize:function(){var aP=Y.body,aQ=Y.createElement("div"),aT,aV,aU,aW,aR=parseFloat(a.css(aP,"marginTop"))||0,aS="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.extend(aQ.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});aQ.innerHTML=aS;aP.insertBefore(aQ,aP.firstChild);aT=aQ.firstChild;aV=aT.firstChild;aW=aT.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(aV.offsetTop!==5);this.doesAddBorderForTableAndCells=(aW.offsetTop===5);aV.style.position="fixed";aV.style.top="20px";this.supportsFixedPosition=(aV.offsetTop===20||aV.offsetTop===15);aV.style.position=aV.style.top="";aT.style.overflow="hidden";aT.style.position="relative";this.subtractsBorderForOverflowNotVisible=(aV.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(aP.offsetTop!==aR);aP.removeChild(aQ);aP=aQ=aT=aV=aU=aW=null;a.offset.initialize=a.noop},bodyOffset:function(aP){var aR=aP.offsetTop,aQ=aP.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){aR+=parseFloat(a.css(aP,"marginTop"))||0;aQ+=parseFloat(a.css(aP,"marginLeft"))||0}return{top:aR,left:aQ}},setOffset:function(aS,a1,aV){var aW=a.css(aS,"position");if(aW==="static"){aS.style.position="relative"}var aU=a(aS),aQ=aU.offset(),aP=a.css(aS,"top"),aZ=a.css(aS,"left"),a0=(aW==="absolute"&&a.inArray("auto",[aP,aZ])>-1),aY={},aX={},aR,aT;if(a0){aX=aU.position()}aR=a0?aX.top:parseInt(aP,10)||0;aT=a0?aX.left:parseInt(aZ,10)||0;if(a.isFunction(a1)){a1=a1.call(aS,aV,aQ)}if(a1.top!=null){aY.top=(a1.top-aQ.top)+aR}if(a1.left!=null){aY.left=(a1.left-aQ.left)+aT}if("using" in a1){a1.using.call(aS,aY)}else{aU.css(aY)}}};a.fn.extend({position:function(){if(!this[0]){return null}var aR=this[0],aQ=this.offsetParent(),aS=this.offset(),aP=N.test(aQ[0].nodeName)?{top:0,left:0}:aQ.offset();aS.top-=parseFloat(a.css(aR,"marginTop"))||0;aS.left-=parseFloat(a.css(aR,"marginLeft"))||0;aP.top+=parseFloat(a.css(aQ[0],"borderTopWidth"))||0;aP.left+=parseFloat(a.css(aQ[0],"borderLeftWidth"))||0;return{top:aS.top-aP.top,left:aS.left-aP.left}},offsetParent:function(){return this.map(function(){var aP=this.offsetParent||Y.body;while(aP&&(!N.test(aP.nodeName)&&a.css(aP,"position")==="static")){aP=aP.offsetParent}return aP})}});a.each(["Left","Top"],function(aQ,aP){var aR="scroll"+aP;a.fn[aR]=function(aU){var aS=this[0],aT;if(!aS){return null}if(aU!==z){return this.each(function(){aT=ag(this);if(aT){aT.scrollTo(!aQ?aU:a(aT).scrollLeft(),aQ?aU:a(aT).scrollTop())}else{this[aR]=aU}})}else{aT=ag(aS);return aT?("pageXOffset" in aT)?aT[aQ?"pageYOffset":"pageXOffset"]:a.support.boxModel&&aT.document.documentElement[aR]||aT.document.body[aR]:aS[aR]}}});function ag(aP){return a.isWindow(aP)?aP:aP.nodeType===9?aP.defaultView||aP.parentWindow:false}a.each(["Height","Width"],function(aQ,aP){var aR=aP.toLowerCase();a.fn["inner"+aP]=function(){return this[0]?parseFloat(a.css(this[0],aR,"padding")):null};a.fn["outer"+aP]=function(aS){return this[0]?parseFloat(a.css(this[0],aR,aS?"margin":"border")):null};a.fn[aR]=function(aT){var aU=this[0];if(!aU){return aT==null?null:this}if(a.isFunction(aT)){return this.each(function(aX){var aW=a(this);aW[aR](aT.call(this,aX,aW[aR]()))})}if(a.isWindow(aU)){return aU.document.compatMode==="CSS1Compat"&&aU.document.documentElement["client"+aP]||aU.document.body["client"+aP]}else{if(aU.nodeType===9){return Math.max(aU.documentElement["client"+aP],aU.body["scroll"+aP],aU.documentElement["scroll"+aP],aU.body["offset"+aP],aU.documentElement["offset"+aP])}else{if(aT===z){var aV=a.css(aU,aR),aS=parseFloat(aV);return a.isNaN(aS)?aV:aS}else{return this.css(aR,typeof aT==="string"?aT:aT+"px")}}}}})})(window);
(function(a){a.fn.addOption=function(){var h=function(p,k,m,q){var n=document.createElement("option");n.value=k,n.text=m;var r=p.options;var j=r.length;if(!p.cache){p.cache={};for(var l=0;l<j;l++){p.cache[r[l].value]=l}}if(typeof p.cache[k]=="undefined"){p.cache[k]=j}p.options[p.cache[k]]=n;if(q){n.selected=true}};var c=arguments;if(c.length==0){return this}var g=true;var b=false;var e,d,f;if(typeof(c[0])=="object"){b=true;e=c[0]}if(c.length>=2){if(typeof(c[1])=="boolean"){g=c[1]}else{if(typeof(c[2])=="boolean"){g=c[2]}}if(!b){d=c[0];f=c[1]}}this.each(function(){if(this.nodeName.toLowerCase()!="select"){return}if(b){for(var i in e){h(this,i,e[i],g)}}else{h(this,d,f,g)}});return this};a.fn.ajaxAddOption=function(d,f,b,e,c){if(typeof(d)!="string"){return this}if(typeof(f)!="object"){f={}}if(typeof(b)!="boolean"){b=true}this.each(function(){var g=this;a.getJSON(d,f,function(h){a(g).addOption(h,b);if(typeof e=="function"){if(typeof c=="object"){e.apply(g,c)}else{e.call(g)}}})});return this};a.fn.removeOption=function(){var c=arguments;if(c.length==0){return this}var e=typeof(c[0]);var d,f;if(e=="string"||e=="object"||e=="function"){d=c[0];if(d.constructor==Array){var b=d.length;for(var g=0;g<b;g++){this.removeOption(d[g],c[1])}return this}}else{if(e=="number"){f=c[0]}else{return this}}this.each(function(){if(this.nodeName.toLowerCase()!="select"){return}if(this.cache){this.cache=null}var h=false;var l=this.options;if(!!d){var j=l.length;for(var k=j-1;k>=0;k--){if(d.constructor==RegExp){if(l[k].value.match(d)){h=true}}else{if(l[k].value==d){h=true}}if(h&&c[1]===true){h=l[k].selected}if(h){l[k]=null}h=false}}else{if(c[1]===true){h=l[f].selected}else{h=true}if(h){this.remove(f)}}});return this};a.fn.sortOptions=function(c){var d=a(this).selectedValues();var b=typeof(c)=="undefined"?true:!!c;this.each(function(){if(this.nodeName.toLowerCase()!="select"){return}var g=this.options;var e=g.length;var h=[];for(var f=0;f<e;f++){h[f]={v:g[f].value,t:g[f].text}}h.sort(function(j,i){o1t=j.t.toLowerCase(),o2t=i.t.toLowerCase();if(o1t==o2t){return 0}if(b){return o1t<o2t?-1:1}else{return o1t>o2t?-1:1}});for(var f=0;f<e;f++){g[f].text=h[f].t;g[f].value=h[f].v}}).selectOptions(d,true);return this};a.fn.selectOptions=function(e,b){var d=e;var g=typeof(e);if(g=="object"&&d.constructor==Array){var f=this;a.each(d,function(){f.selectOptions(this,b)})}var h=b||false;if(g!="string"&&g!="function"&&g!="object"){return this}this.each(function(){if(this.nodeName.toLowerCase()!="select"){return this}var k=this.options;var c=k.length;for(var j=0;j<c;j++){if(d.constructor==RegExp){if(k[j].value.match(d)){k[j].selected=true}else{if(h){k[j].selected=false}}}else{if(k[j].value==d){k[j].selected=true}else{if(h){k[j].selected=false}}}}});return this};a.fn.copyOptions=function(d,c){var b=c||"selected";if(a(d).size()==0){return this}this.each(function(){if(this.nodeName.toLowerCase()!="select"){return this}var g=this.options;var e=g.length;for(var f=0;f<e;f++){if(b=="all"||(b=="selected"&&g[f].selected)){a(d).addOption(g[f].value,g[f].text)}}});return this};a.fn.containsOption=function(e,c){var d=false;var b=e;var f=typeof(b);var g=typeof(c);if(f!="string"&&f!="function"&&f!="object"){return g=="function"?this:d}this.each(function(){if(this.nodeName.toLowerCase()!="select"){return this}if(d&&g!="function"){return false}var k=this.options;var h=k.length;for(var j=0;j<h;j++){if(b.constructor==RegExp){if(k[j].value.match(b)){d=true;if(g=="function"){c.call(k[j],j)}}}else{if(k[j].value==b){d=true;if(g=="function"){c.call(k[j],j)}}}}});return g=="function"?this:d};a.fn.selectedValues=function(){var b=[];this.selectedOptions().each(function(){b[b.length]=this.value});return b};a.fn.selectedTexts=function(){var b=[];this.selectedOptions().each(function(){b[b.length]=this.text});return b};a.fn.selectedOptions=function(){return this.find("option:selected")}})(jQuery);
jQuery.cookie=function(d,e,b){if(arguments.length>1&&String(e)!=="[object Object]"){b=jQuery.extend({},b);if(e===null||e===undefined){b.expires=-1}if(typeof b.expires==="number"){var g=b.expires,c=b.expires=new Date();c.setDate(c.getDate()+g)}e=String(e);return(document.cookie=[encodeURIComponent(d),"=",b.raw?e:encodeURIComponent(e),b.expires?"; expires="+b.expires.toUTCString():"",b.path?"; path="+b.path:"",b.domain?"; domain="+b.domain:"",b.secure?"; secure":""].join(""))}b=e||{};var a,f=b.raw?function(h){return h}:decodeURIComponent;return(a=new RegExp("(?:^|; )"+encodeURIComponent(d)+"=([^;]*)").exec(document.cookie))?f(a[1]):null};
/*
 * jQuery Taconite plugin - A port of the Taconite framework by Ryan Asleson and
 *     Nathaniel T. Schutta: http://taconite.sourceforge.net/
 *
 * Examples and documentation at: http://malsup.com/jquery/taconite/
 * Copyright (c) 2007-2010 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Thanks to Kenton Simpson for contributing many good ideas!
 *
 * @version: 3.09  01-MAR-2010
 * @requires jQuery v1.2.6 or later
 */
(function(g){var a="3.09";g.taconite=function(i){e(i)};g.taconite.debug=0;g.taconite.defaults={cdataWrap:"div"};if(typeof g.fn.replace=="undefined"){g.fn.replace=function(i){return this.after(i).remove()}}if(typeof g.fn.replaceContent=="undefined"){g.fn.replaceContent=function(i){return this.empty().append(i)}}g.expr[":"].taconiteTag=function(i){return i.taconiteTag===1};var b=g.httpData;g.httpData=g.taconite.detect=function(l,j){var i=l.getResponseHeader("content-type");if(g.taconite.debug){c("[AJAX response] content-type: ",i,";  status: ",l.status," ",l.statusText,";  has responseXML: ",l.responseXML!=null);c("type arg: "+j);c("responseXML: "+l.responseXML)}var k=b(l,j);if(k&&k.documentElement){g.taconite(k)}else{c("jQuery core httpData returned: "+k);c('httpData: response is not XML (or not "valid" XML)')}return k};g.taconite.enableAutoDetection=function(i){g.httpData=i?g.taconite.detect:b};var f=0;function c(){if(!g.taconite.debug||!window.console||!window.console.log){return}if(!f++){c("Plugin Version: "+a)}window.console.log("[taconite] "+[].join.call(arguments,""))}function e(l){var j=true,m;try{if(typeof l=="string"){l=h(l)}if(!l){c("$.taconite invoked without valid document; nothing to process");return false}var i=l.documentElement.tagName;c("XML document root: ",i);var k=g("taconite",l)[0];if(!k){c("document does not contain <taconite> element; nothing to process");return false}g.event.trigger("taconite-begin-notify",[k]);j=d(k)}catch(n){j=m=n}g.event.trigger("taconite-complete-notify",[l,!!j,j===true?null:j]);if(m){throw m}}function h(j){var l;c("attempting string to document conversion");try{if(window.DOMParser){var m=new DOMParser();l=m.parseFromString(j,"text/xml")}else{l=g("<xml>")[0];l.async="false";l.loadXML(j)}}catch(k){if(window.console&&window.console.error){window.console.error("[taconite] ERROR parsing XML string for conversion: "+k)}throw k}var i=l&&l.documentElement&&l.documentElement.tagName!="parsererror";c("conversion ",i?"successful!":"FAILED");return l}function d(i){var m={wrap:1};try{var j=new Date().getTime();k(i.childNodes);g.taconite.lastTime=(new Date().getTime())-j;c("time to process response: "+g.taconite.lastTime+"ms")}catch(l){if(window.console&&window.console.error){window.console.error("[taconite] ERROR processing document: "+l)}throw l}return true;function k(u){var E=0;for(var J=0;J<u.length;J++){if(u[J].nodeType!=1){continue}var p=u[J],I=p.tagName;if(I=="eval"){var A=(p.firstChild?p.firstChild.nodeValue:null);c('invoking "eval" command: ',A);if(A){g.globalEval(A)}continue}var z=p.getAttribute("select");var D=g(z);if(!D[0]){c("No matching targets for selector: ",z);continue}var y=p.getAttribute("cdataWrap")||g.taconite.defaults.cdataWrap;var K=[];if(p.childNodes.length>0){E=1;for(var H=0,t=[];H<p.childNodes.length;H++){t[H]=N(p.childNodes[H])}K.push(m[I]?L(t):t)}var C=p.getAttribute("name");var x=p.getAttribute("value");if(C!==null){K.push(C)}if(x!==null){K.push(x)}for(var H=1;true;H++){x=p.getAttribute("arg"+H);if(x===null){break}var C=Number(x);if(x==C){x=C}K.push(x)}if(g.taconite.debug){var s="";if(t){s="..."}else{for(var F=0;F<K.length;F++){if(F>0){s+=","}var O=K[F];var w=typeof O=="string";if(w){s+="'"}s+=O;if(w){s+="'"}}}c("invoking command: $('",z,"').",I,"("+s+")")}D[I].apply(D,K)}if(E){G()}function G(){if(g.browser.mozilla){return}g("select:taconiteTag").each(function(){var n=this;g("option:taconiteTag",this).each(function(){this.setAttribute("selected","selected");this.taconiteTag=null;if(n.type=="select-one"){var q=g("option",n).index(this);n.selectedIndex=q}});this.taconiteTag=null})}function L(v){for(var q=0,n=[];q<v.length;q++){if(v[q].nodeType==1){n.push(v[q])}}return n}function N(q){var n=q.nodeType;if(n==1){return B(q)}if(n==3){return M(q.nodeValue)}if(n==4){return o(q.nodeValue)}return null}function o(P){var v=document.createElement(y);v.innerHTML=P;var q=g(v),n=q.children();if(n.size()==1){return n[0]}return v}function M(n){if(g.browser.msie){n=n.replace(/\n/g,"\r").replace(/\s+/g," ")}return document.createTextNode(n)}function B(Q){var R,q=Q.tagName.toLowerCase();if(g.browser.msie){var P=Q.getAttribute("type");if(q=="table"||P=="radio"||P=="checkbox"||q=="button"||(q=="select"&&Q.getAttribute("multiple"))){R=document.createElement("<"+q+" "+r(null,Q,true)+">")}}if(!R){R=document.createElement(q);r(R,Q)}if(g.browser.msie&&q=="td"){var T=Q.getAttribute("colspan");if(T){R.colSpan=parseInt(T)}}if(g.browser.msie&&!R.canHaveChildren){if(Q.childNodes.length>0){R.text=Q.text}}else{for(var v=0,n=Q.childNodes.length;v<n;v++){var S=N(Q.childNodes[v]);if(S){R.appendChild(S)}}}if(!g.browser.mozilla){if(q=="select"||(q=="option"&&Q.getAttribute("selected"))){R.taconiteTag=1}}return R}function r(R,U,T){for(var S=0,q="";S<U.attributes.length;S++){var P=U.attributes[S],V=g.trim(P.name),Q=g.trim(P.value);if(T){q+=(V+'="'+Q+'" ')}else{if(V=="style"){R.style.cssText=Q;R.setAttribute(V,Q)}else{g.attr(R,V,Q)}}}return q}}}})(jQuery);
/*
 * jQuery blockUI plugin
 * Version 2.31 (06-JAN-2010)
 * @requires jQuery v1.2.3 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2008 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
(function(i){if(/1\.(0|1|2)\.(0|1|2)/.test(i.fn.jquery)||/^1.1/.test(i.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+i.fn.jquery);return}i.fn._fadeIn=i.fn.fadeIn;var c=function(){};var j=document.documentMode||0;var e=i.browser.msie&&((i.browser.version<8&&!j)||j<8);var f=i.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!j;i.blockUI=function(p){d(window,p)};i.unblockUI=function(p){h(window,p)};i.growlUI=function(t,r,s,p){var q=i('<div class="growlUI"></div>');if(t){q.append("<h1>"+t+"</h1>")}if(r){q.append("<h2>"+r+"</h2>")}if(s==undefined){s=3000}i.blockUI({message:q,fadeIn:700,fadeOut:1000,centerY:false,timeout:s,showOverlay:false,onUnblock:p,css:i.blockUI.defaults.growlCSS})};i.fn.block=function(p){return this.unblock({fadeOut:0}).each(function(){if(i.css(this,"position")=="static"){this.style.position="relative"}if(i.browser.msie){this.style.zoom=1}d(this,p)})};i.fn.unblock=function(p){return this.each(function(){h(this,p)})};i.blockUI.version=2.31;i.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:true,theme:false,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:0.6,cursor:"wait"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:0.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:false,baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,bindEvents:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4};var b=null;var g=[];function d(r,F){var A=(r==window);var w=F&&F.message!==undefined?F.message:undefined;F=i.extend({},i.blockUI.defaults,F||{});F.overlayCSS=i.extend({},i.blockUI.defaults.overlayCSS,F.overlayCSS||{});var C=i.extend({},i.blockUI.defaults.css,F.css||{});var N=i.extend({},i.blockUI.defaults.themedCSS,F.themedCSS||{});w=w===undefined?F.message:w;if(A&&b){h(window,{fadeOut:0})}if(w&&typeof w!="string"&&(w.parentNode||w.jquery)){var I=w.jquery?w[0]:w;var P={};i(r).data("blockUI.history",P);P.el=I;P.parent=I.parentNode;P.display=I.style.display;P.position=I.style.position;if(P.parent){P.parent.removeChild(I)}}var B=F.baseZ;var M=(i.browser.msie||F.forceIframe)?i('<iframe class="blockUI" style="z-index:'+(B++)+';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+F.iframeSrc+'"></iframe>'):i('<div class="blockUI" style="display:none"></div>');var L=i('<div class="blockUI blockOverlay" style="z-index:'+(B++)+';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var K;if(F.theme&&A){var G='<div class="blockUI blockMsg blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+B+';display:none;position:fixed"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(F.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>';K=i(G)}else{K=A?i('<div class="blockUI blockMsg blockPage" style="z-index:'+B+';display:none;position:fixed"></div>'):i('<div class="blockUI blockMsg blockElement" style="z-index:'+B+';display:none;position:absolute"></div>')}if(w){if(F.theme){K.css(N);K.addClass("ui-widget-content")}else{K.css(C)}}if(!F.applyPlatformOpacityRules||!(i.browser.mozilla&&/Linux/.test(navigator.platform))){L.css(F.overlayCSS)}L.css("position",A?"fixed":"absolute");if(i.browser.msie||F.forceIframe){M.css("opacity",0)}var y=[M,L,K],O=A?i("body"):i(r);i.each(y,function(){this.appendTo(O)});if(F.theme&&F.draggable&&i.fn.draggable){K.draggable({handle:".ui-dialog-titlebar",cancel:"li"})}var v=e&&(!i.boxModel||i("object,embed",A?null:r).length>0);if(f||v){if(A&&F.allowBodyStretch&&i.boxModel){i("html,body").css("height","100%")}if((f||!i.boxModel)&&!A){var E=m(r,"borderTopWidth"),J=m(r,"borderLeftWidth");var x=E?"(0 - "+E+")":0;var D=J?"(0 - "+J+")":0}i.each([M,L,K],function(t,S){var z=S[0].style;z.position="absolute";if(t<2){A?z.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+F.quirksmodeOffsetHack+') + "px"'):z.setExpression("height",'this.parentNode.offsetHeight + "px"');A?z.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):z.setExpression("width",'this.parentNode.offsetWidth + "px"');if(D){z.setExpression("left",D)}if(x){z.setExpression("top",x)}}else{if(F.centerY){if(A){z.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}z.marginTop=0}else{if(!F.centerY&&A){var Q=(F.css&&F.css.top)?parseInt(F.css.top):0;var R="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+Q+') + "px"';z.setExpression("top",R)}}}})}if(w){if(F.theme){K.find(".ui-widget-content").append(w)}else{K.append(w)}if(w.jquery||w.nodeType){i(w).show()}}if((i.browser.msie||F.forceIframe)&&F.showOverlay){M.show()}if(F.fadeIn){var H=F.onBlock?F.onBlock:c;var q=(F.showOverlay&&!w)?H:c;var p=w?H:c;if(F.showOverlay){L._fadeIn(F.fadeIn,q)}if(w){K._fadeIn(F.fadeIn,p)}}else{if(F.showOverlay){L.show()}if(w){K.show()}if(F.onBlock){F.onBlock()}}l(1,r,F);if(A){b=K[0];g=i(":input:enabled:visible",b);if(F.focusInput){setTimeout(o,20)}}else{a(K[0],F.centerX,F.centerY)}if(F.timeout){var u=setTimeout(function(){A?i.unblockUI(F):i(r).unblock(F)},F.timeout);i(r).data("blockUI.timeout",u)}}function h(s,t){var r=(s==window);var q=i(s);var u=q.data("blockUI.history");var v=q.data("blockUI.timeout");if(v){clearTimeout(v);q.removeData("blockUI.timeout")}t=i.extend({},i.blockUI.defaults,t||{});l(0,s,t);var p;if(r){p=i("body").children().filter(".blockUI").add("body > .blockUI")}else{p=i(".blockUI",s)}if(r){b=g=null}if(t.fadeOut){p.fadeOut(t.fadeOut);setTimeout(function(){k(p,u,t,s)},t.fadeOut)}else{k(p,u,t,s)}}function k(p,s,r,q){p.each(function(t,u){if(this.parentNode){this.parentNode.removeChild(this)}});if(s&&s.el){s.el.style.display=s.display;s.el.style.position=s.position;if(s.parent){s.parent.appendChild(s.el)}i(q).removeData("blockUI.history")}if(typeof r.onUnblock=="function"){r.onUnblock(q,r)}}function l(p,t,u){var s=t==window,r=i(t);if(!p&&(s&&!b||!s&&!r.data("blockUI.isBlocked"))){return}if(!s){r.data("blockUI.isBlocked",p)}if(!u.bindEvents||(p&&!u.showOverlay)){return}var q="mousedown mouseup keydown keypress";p?i(document).bind(q,u,n):i(document).unbind(q,n)}function n(s){if(s.keyCode&&s.keyCode==9){if(b&&s.data.constrainTabKey){var r=g;var q=!s.shiftKey&&s.target==r[r.length-1];var p=s.shiftKey&&s.target==r[0];if(q||p){setTimeout(function(){o(p)},10);return false}}}if(i(s.target).parents("div.blockMsg").length>0){return true}return i(s.target).parents().children().filter("div.blockUI").length==0}function o(p){if(!g){return}var q=g[p===true?g.length-1:0];if(q){q.focus()}}function a(w,q,A){var z=w.parentNode,v=w.style;var r=((z.offsetWidth-w.offsetWidth)/2)-m(z,"borderLeftWidth");var u=((z.offsetHeight-w.offsetHeight)/2)-m(z,"borderTopWidth");if(q){v.left=r>0?(r+"px"):"0"}if(A){v.top=u>0?(u+"px"):"0"}}function m(q,r){return parseInt(i.css(q,r))||0}})(jQuery);
(function(e){var b={},k,m,o,j=e.browser.msie&&/MSIE\s(5\.5|6\.)/.test(navigator.userAgent),a=false;e.tooltip={blocked:false,defaults:{delay:200,fade:false,showURL:true,extraClass:"",top:15,left:15,id:"tooltip"},block:function(){e.tooltip.blocked=!e.tooltip.blocked}};e.fn.extend({tooltip:function(p){p=e.extend({},e.tooltip.defaults,p);h(p);return this.each(function(){e.data(this,"tooltip",p);this.tOpacity=b.parent.css("opacity");this.tooltipText=this.title;e(this).removeAttr("title");this.alt=""}).mouseover(l).mouseout(f).click(f)},fixPNG:j?function(){return this.each(function(){var p=e(this).css("backgroundImage");if(p.match(/^url\(["']?(.*\.png)["']?\)$/i)){p=RegExp.$1;e(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+p+"')"}).each(function(){var q=e(this).css("position");if(q!="absolute"&&q!="relative"){e(this).css("position","relative")}})}})}:function(){return this},unfixPNG:j?function(){return this.each(function(){e(this).css({filter:"",backgroundImage:""})})}:function(){return this},hideWhenEmpty:function(){return this.each(function(){e(this)[e(this).html()?"show":"hide"]()})},url:function(){return this.attr("href")||this.attr("src")}});function h(p){if(b.parent){return}b.parent=e('<div id="'+p.id+'"><h3></h3><div class="body"></div><div class="url"></div></div>').appendTo(document.body).hide();if(e.fn.bgiframe){b.parent.bgiframe()}b.title=e("h3",b.parent);b.body=e("div.body",b.parent);b.url=e("div.url",b.parent)}function c(p){return e.data(p,"tooltip")}function g(p){if(c(this).delay){o=setTimeout(n,c(this).delay)}else{n()}a=!!c(this).track;e(document.body).bind("mousemove",d);d(p)}function l(){if(e.tooltip.blocked||this==k||(!this.tooltipText&&!c(this).bodyHandler)){return}k=this;m=this.tooltipText;if(c(this).bodyHandler){b.title.hide();var s=c(this).bodyHandler.call(this);if(s.nodeType||s.jquery){b.body.empty().append(s)}else{b.body.html(s)}b.body.show()}else{if(c(this).showBody){var r=m.split(c(this).showBody);b.title.html(r.shift()).show();b.body.empty();for(var q=0,p;(p=r[q]);q++){if(q>0){b.body.append("<br/>")}b.body.append(p)}b.body.hideWhenEmpty()}else{b.title.html(m).show();b.body.hide()}}if(c(this).showURL&&e(this).url()){b.url.html(e(this).url().replace("http://","")).show()}else{b.url.hide()}b.parent.addClass(c(this).extraClass);if(c(this).fixPNG){b.parent.fixPNG()}g.apply(this,arguments)}function n(){o=null;if((!j||!e.fn.bgiframe)&&c(k).fade){if(b.parent.is(":animated")){b.parent.stop().show().fadeTo(c(k).fade,k.tOpacity)}else{b.parent.is(":visible")?b.parent.fadeTo(c(k).fade,k.tOpacity):b.parent.fadeIn(c(k).fade)}}else{b.parent.show()}d()}function d(s){if(e.tooltip.blocked){return}if(s&&s.target.tagName=="OPTION"){return}if(!a&&b.parent.is(":visible")){e(document.body).unbind("mousemove",d)}if(k==null){e(document.body).unbind("mousemove",d);return}b.parent.removeClass("viewport-right").removeClass("viewport-bottom");var u=b.parent[0].offsetLeft;var t=b.parent[0].offsetTop;if(s){u=s.pageX+c(k).left;t=s.pageY+c(k).top;var q="auto";if(c(k).positionLeft){q=e(window).width()-u;u="auto"}b.parent.css({left:u,right:q,top:t})}var p=i(),r=b.parent[0];if(p.x+p.cx<r.offsetLeft+r.offsetWidth){u-=r.offsetWidth+20+c(k).left;b.parent.css({left:u+"px"}).addClass("viewport-right")}if(p.y+p.cy<r.offsetTop+r.offsetHeight){t-=r.offsetHeight+20+c(k).top;b.parent.css({top:t+"px"}).addClass("viewport-bottom")}}function i(){return{x:e(window).scrollLeft(),y:e(window).scrollTop(),cx:e(window).width(),cy:e(window).height()}}function f(r){if(e.tooltip.blocked){return}if(o){clearTimeout(o)}k=null;var q=c(this);function p(){b.parent.removeClass(q.extraClass).hide().css("opacity","")}if((!j||!e.fn.bgiframe)&&q.fade){if(b.parent.is(":animated")){b.parent.stop().fadeTo(q.fade,0,p)}else{b.parent.stop().fadeOut(q.fade,p)}}else{p()}if(c(this).fixPNG){b.parent.unfixPNG()}}})(jQuery);
/* Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (MIT_LICENSE.txt)
 * and GPL Version 2 (GPL_LICENSE.txt) licenses.
 *
 * Version: 1.1.1
 * Requires jQuery 1.3+
 * Docs: http://docs.jquery.com/Plugins/livequery
 */
(function(a){a.extend(a.fn,{livequery:function(e,d,c){var b=this,f;if(a.isFunction(e)){c=d,d=e,e=undefined}a.each(a.livequery.queries,function(g,h){if(b.selector==h.selector&&b.context==h.context&&e==h.type&&(!d||d.$lqguid==h.fn.$lqguid)&&(!c||c.$lqguid==h.fn2.$lqguid)){return(f=h)&&false}});f=f||new a.livequery(this.selector,this.context,e,d,c);f.stopped=false;f.run();return this},expire:function(e,d,c){var b=this;if(a.isFunction(e)){c=d,d=e,e=undefined}a.each(a.livequery.queries,function(f,g){if(b.selector==g.selector&&b.context==g.context&&(!e||e==g.type)&&(!d||d.$lqguid==g.fn.$lqguid)&&(!c||c.$lqguid==g.fn2.$lqguid)&&!this.stopped){a.livequery.stop(g.id)}});return this}});a.livequery=function(b,d,f,e,c){this.selector=b;this.context=d;this.type=f;this.fn=e;this.fn2=c;this.elements=[];this.stopped=false;this.id=a.livequery.queries.push(this)-1;e.$lqguid=e.$lqguid||a.livequery.guid++;if(c){c.$lqguid=c.$lqguid||a.livequery.guid++}return this};a.livequery.prototype={stop:function(){var b=this;if(this.type){this.elements.unbind(this.type,this.fn)}else{if(this.fn2){this.elements.each(function(c,d){b.fn2.apply(d)})}}this.elements=[];this.stopped=true},run:function(){if(this.stopped){return}var d=this;var e=this.elements,c=a(this.selector,this.context),b=c.not(e);this.elements=c;if(this.type){b.bind(this.type,this.fn);if(e.length>0){a.each(e,function(f,g){if(a.inArray(g,c)<0){a.event.remove(g,d.type,d.fn)}})}}else{b.each(function(){d.fn.apply(this)});if(this.fn2&&e.length>0){a.each(e,function(f,g){if(a.inArray(g,c)<0){d.fn2.apply(g)}})}}}};a.extend(a.livequery,{guid:0,queries:[],queue:[],running:false,timeout:null,checkQueue:function(){if(a.livequery.running&&a.livequery.queue.length){var b=a.livequery.queue.length;while(b--){a.livequery.queries[a.livequery.queue.shift()].run()}}},pause:function(){a.livequery.running=false},play:function(){a.livequery.running=true;a.livequery.run()},registerPlugin:function(){a.each(arguments,function(c,d){if(!a.fn[d]){return}var b=a.fn[d];a.fn[d]=function(){var e=b.apply(this,arguments);a.livequery.run();return e}})},run:function(b){if(b!=undefined){if(a.inArray(b,a.livequery.queue)<0){a.livequery.queue.push(b)}}else{a.each(a.livequery.queries,function(c){if(a.inArray(c,a.livequery.queue)<0){a.livequery.queue.push(c)}})}if(a.livequery.timeout){clearTimeout(a.livequery.timeout)}a.livequery.timeout=setTimeout(a.livequery.checkQueue,20)},stop:function(b){if(b!=undefined){a.livequery.queries[b].stop()}else{a.each(a.livequery.queries,function(c){a.livequery.queries[c].stop()})}}});a.livequery.registerPlugin("append","prepend","after","before","wrap","attr","removeAttr","addClass","removeClass","toggleClass","empty","remove","html");a(function(){a.livequery.play()})})(jQuery);
(function(b){b.ifixpng=function(c){b.ifixpng.pixel=c};b.ifixpng.regexp={bg:/^url\(["']?(.*\.png([?].*)?)["']?\)$/i,img:/.*\.png([?].*)?$/i},b.ifixpng.getPixel=function(){return b.ifixpng.pixel||"images/pixel.gif"};var a={base:b("base").attr("href"),ltie7:b.browser.msie&&b.browser.version<7,filter:function(c){return"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='"+c+"')"}};b.fn.ifixpng=a.ltie7?function(){function c(h,g,e,d,f){h.css({filter:a.filter(g),width:e,height:d}).attr({src:b.ifixpng.getPixel()}).positionFix()}return this.each(function(){var f=b(this);if(f.is("img")||f.is("input")){var h,e;if(this.src&&this.src.match(b.ifixpng.regexp.img)){h=(a.base&&this.src.substring(0,1)!="/"&&this.src.indexOf(a.base)===-1)?a.base+this.src:this.src;if(!this.width||!this.height){b(new Image()).one("load",function(){c(f,h,this.width,this.height);b(this).remove()}).attr("src",h)}else{c(f,h,this.width,this.height)}}}else{if(this.style){var i=f.css("backgroundImage");if(i&&i.match(b.ifixpng.regexp.bg)&&this.currentStyle.backgroundRepeat=="no-repeat"){i=RegExp.$1;var d=this.currentStyle.backgroundPositionX||0,j=this.currentStyle.backgroundPositionY||0;if(d||j){var g={},e;if(typeof d!="undefined"){if(d=="left"){g.left=0}else{if(d=="right"){g.right=f.width()%2===1?-1:0}else{g.left=d}}}if(typeof j!="undefined"){if(j=="bottom"){g.bottom=f.height()%2===1?-1:0}else{if(j=="top"){g.top=0}else{g.top=j}}}e=new Image();b(e).one("load",function(){var k,o,m={},n;if(/center|%/.test(g.top)){m.top="(this.parentNode.offsetHeight - this.offsetHeight) * "+(g.top=="center"?0.5:(parseInt(g.top)/100));delete g.top}if(/center|%/.test(g.left)){m.left="(this.parentNode.offsetWidth - this.offsetWidth) * "+(g.left=="center"?0.5:(parseInt(g.left)/100));delete g.left}f.positionFix().css({backgroundImage:"none"}).prepend(b("<div></div>").css(g).css({width:this.width,height:this.height,position:"absolute",filter:a.filter(i)}));if(m.top||m.left){var l=f.children(":first")[0];for(n in m){l.style.setExpression(n,m[n],"JavaScript")}}b(this).remove()});e.src=i}else{f.css({backgroundImage:"none",filter:a.filter(i)})}}}}})}:function(){return this};b.fn.positionFix=function(){return this.each(function(){var c=b(this);if(c.css("position")!="absolute"){c.css({position:"relative"})}})}})(jQuery);
/* jQuery Carousel 0.9.5
Copyright 2008-2009 Thomas Lanciaux and Pierre Bertet.
This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/
(function(c){c.fn.carousel=function(j){var j=c.extend({direction:"horizontal",loop:false,dispItems:1,pagination:false,paginationPosition:"inside",nextBtn:'<a role="button">Next</a>',prevBtn:'<a role="button">Previous</a>',btnsPosition:"inside",nextBtnInsert:"appendTo",prevBtnInsert:"prependTo",nextBtnInsertFn:false,prevBtnInsertFn:false,autoSlide:false,autoSlideInterval:3000,delayAutoSlide:false,combinedClasses:false,effect:"slide",slideEasing:"swing",animSpeed:"normal",equalWidths:"true",verticalMargin:0,callback:function(){},useAddress:false,adressIdentifier:"carousel",tabLabel:function(k){return k},showEmptyItems:true},j);if(j.btnsPosition=="outside"){j.prevBtnInsert="insertBefore";j.nextBtnInsert="insertAfter"}j.delayAutoSlide=j.delayAutoSlide||j.autoSlideInterval;return this.each(function(){var k={$elts:{},params:j,launchOnLoad:[]};k.$elts.carousel=c(this).addClass("js");k.$elts.content=c(this).children().css({position:"absolute",top:0});k.$elts.wrap=k.$elts.content.wrap('<div class="carousel-wrap"></div>').parent().css({overflow:"hidden",position:"relative"});k.steps={first:0,count:k.$elts.content.children().length};k.steps.last=k.steps.count-1;if(c.isFunction(k.params.prevBtnInsertFn)){k.$elts.prevBtn=k.params.prevBtnInsertFn(k.$elts)}else{k.$elts.prevBtn=c(j.prevBtn)[j.prevBtnInsert](k.$elts.carousel)}if(c.isFunction(k.params.nextBtnInsertFn)){k.$elts.nextBtn=k.params.nextBtnInsertFn(k.$elts)}else{k.$elts.nextBtn=c(j.nextBtn)[j.nextBtnInsert](k.$elts.carousel)}k.$elts.nextBtn.addClass("carousel-control next carousel-next");k.$elts.prevBtn.addClass("carousel-control previous carousel-previous");a(k);if(k.params.pagination){i(k)}h(k);c(function(){var n=k.$elts.content.children();var m=0;n.each(function(){$item=c(this);$itemHeight=$item.outerHeight();if($itemHeight>m){m=$itemHeight}});if(k.params.verticalMargin>0){m=m+k.params.verticalMargin}n.height(m);var l=k.$elts.content.children(":first");k.itemWidth=l.outerWidth();if(j.direction=="vertical"){k.contentWidth=k.itemWidth}else{if(j.equalWidths){k.contentWidth=k.itemWidth*k.steps.count}else{k.contentWidth=(function(){var o=0;k.$elts.content.children().each(function(){o+=c(this).outerWidth()});return o})()}}k.$elts.content.width(k.contentWidth);k.itemHeight=m;if(j.direction=="vertical"){k.$elts.content.css({height:k.itemHeight*k.steps.count+"px"});k.$elts.content.parent().css({height:k.itemHeight*k.params.dispItems+"px"})}else{k.$elts.content.parent().css({height:k.itemHeight+"px"})}d(k);c.each(k.launchOnLoad,function(o,p){p()});if(k.params.autoSlide){window.setTimeout(function(){k.autoSlideInterval=window.setInterval(function(){b(k,e(k,"next"))},k.params.autoSlideInterval)},k.params.delayAutoSlide)}})})};function a(j){j.$elts.nextBtn.add(j.$elts.prevBtn).bind("enable",function(){var k=c(this).unbind("click").bind("click",function(){b(j,e(j,(k.is(".next")?"next":"prev")));g(j)}).removeClass("disabled");if(j.params.combinedClasses){k.removeClass("next-disabled previous-disabled")}}).bind("disable",function(){var k=c(this).unbind("click").addClass("disabled");if(j.params.combinedClasses){if(k.is(".next")){k.addClass("next-disabled")}else{if(k.is(".previous")){k.addClass("previous-disabled")}}}}).hover(function(){c(this).toggleClass("hover")})}function i(j){j.$elts.pagination=c('<div class="center-wrap"><div class="carousel-pagination"><p></p></div></div>')[((j.params.paginationPosition=="outside")?"insertAfter":"appendTo")](j.$elts.carousel).find("p");j.$elts.paginationBtns=c([]);j.$elts.content.find("li").each(function(k){if(k%j.params.dispItems==0){j.$elts.paginationBtns=j.$elts.paginationBtns.add(c('<a role="button"><span>'+j.params.tabLabel(j.$elts.paginationBtns.length+1)+"</span></a>").data("firstStep",k))}});j.$elts.paginationBtns.each(function(){c(this).appendTo(j.$elts.pagination)});j.$elts.paginationBtns.slice(0,1).addClass("active");j.launchOnLoad.push(function(){j.$elts.paginationBtns.click(function(k){b(j,c(this).data("firstStep"));g(j)})})}function h(j){if(j.params.useAddress&&c.isFunction(c.fn.address)){c.address.init(function(l){var k=c.address.pathNames();if(k[0]===j.params.adressIdentifier&&!!k[1]){b(j,k[1]-1)}else{c.address.value("/"+j.params.adressIdentifier+"/1")}}).change(function(l){var k=c.address.pathNames();if(k[0]===j.params.adressIdentifier&&!!k[1]){b(j,k[1]-1)}})}else{j.params.useAddress=false}}function b(j,k){j.params.callback(k);f(j,k);j.steps.first=k;d(j);if(j.params.useAddress){c.address.value("/"+j.params.adressIdentifier+"/"+(k+1))}}function e(k,j){if(j=="prev"){if(!k.params.showEmptyItems){if(k.steps.first==0){return((k.params.loop)?(k.steps.count-k.params.dispItems):false)}else{return Math.max(0,k.steps.first-k.params.dispItems)}}else{if((k.steps.first-k.params.dispItems)>=0){return k.steps.first-k.params.dispItems}else{return((k.params.loop)?(k.steps.count-k.params.dispItems):false)}}}else{if(j=="next"){if((k.steps.first+k.params.dispItems)<k.steps.count){if(!k.params.showEmptyItems){return Math.min(k.steps.first+k.params.dispItems,k.steps.count-k.params.dispItems)}else{return k.steps.first+k.params.dispItems}}else{return((k.params.loop)?0:false)}}}}function f(j,k){switch(j.params.effect){case"no":if(j.params.direction=="vertical"){j.$elts.content.css("top",-(j.itemHeight*k)+"px")}else{j.$elts.content.css("left",-(j.itemWidth*k)+"px")}break;case"fade":if(j.params.direction=="vertical"){j.$elts.content.hide().css("top",-(j.itemHeight*k)+"px").fadeIn(j.params.animSpeed)}else{j.$elts.content.hide().css("left",-(j.itemWidth*k)+"px").fadeIn(j.params.animSpeed)}break;default:if(j.params.direction=="vertical"){j.$elts.content.stop().animate({top:-(j.itemHeight*k)+"px"},j.params.animSpeed,j.params.slideEasing)}else{j.$elts.content.stop().animate({left:-(j.itemWidth*k)+"px"},j.params.animSpeed,j.params.slideEasing)}break}}function d(j){if(e(j,"prev")!==false){j.$elts.prevBtn.trigger("enable")}else{j.$elts.prevBtn.trigger("disable")}if(e(j,"next")!==false){j.$elts.nextBtn.trigger("enable")}else{j.$elts.nextBtn.trigger("disable")}if(j.params.pagination){j.$elts.paginationBtns.removeClass("active").filter(function(){return(c(this).data("firstStep")==j.steps.first)}).addClass("active")}}function g(j){if(!!j.autoSlideInterval){window.clearInterval(j.autoSlideInterval)}}})(jQuery);
/*
 * jQuery Form Plugin
 * version: 2.43 (12-MAR-2010)
 * @requires jQuery v1.3.2 or later
 *
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function(b){b.fn.ajaxSubmit=function(s){if(!this.length){a("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof s=="function"){s={success:s}}var e=b.trim(this.attr("action"));if(e){e=(e.match(/^([^#]+)/)||[])[1]}e=e||window.location.href||"";s=b.extend({url:e,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},s||{});var u={};this.trigger("form-pre-serialize",[this,s,u]);if(u.veto){a("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(s.beforeSerialize&&s.beforeSerialize(this,s)===false){a("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var m=this.formToArray(s.semantic);if(s.data){s.extraData=s.data;for(var f in s.data){if(s.data[f] instanceof Array){for(var g in s.data[f]){m.push({name:f,value:s.data[f][g]})}}else{m.push({name:f,value:s.data[f]})}}}if(s.beforeSubmit&&s.beforeSubmit(m,this,s)===false){a("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[m,this,s,u]);if(u.veto){a("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var d=b.param(m);if(s.type.toUpperCase()=="GET"){s.url+=(s.url.indexOf("?")>=0?"&":"?")+d;s.data=null}else{s.data=d}var t=this,l=[];if(s.resetForm){l.push(function(){t.resetForm()})}if(s.clearForm){l.push(function(){t.clearForm()})}if(!s.dataType&&s.target){var p=s.success||function(){};l.push(function(k){var j=s.replaceTarget?"replaceWith":"html";b(s.target)[j](k).each(p,arguments)})}else{if(s.success){l.push(s.success)}}s.success=function(q,k,v){for(var n=0,j=l.length;n<j;n++){l[n].apply(s,[q,k,v||t,t])}};var c=b("input:file",this).fieldValue();var r=false;for(var i=0;i<c.length;i++){if(c[i]){r=true}}var h=false;if((c.length&&s.iframe!==false)||s.iframe||r||h){if(s.closeKeepAlive){b.get(s.closeKeepAlive,o)}else{o()}}else{b.ajax(s)}this.trigger("form-submit-notify",[this,s]);return this;function o(){var w=t[0];if(b(":input[name=submit]",w).length){alert('Error: Form elements must not be named "submit".');return}var q=b.extend({},b.ajaxSettings,s);var H=b.extend(true,{},b.extend(true,{},b.ajaxSettings),q);var v="jqFormIO"+(new Date().getTime());var D=b('<iframe id="'+v+'" name="'+v+'" src="'+q.iframeSrc+'" onload="(jQuery(this).data(\'form-plugin-onload\'))()" />');var F=D[0];D.css({position:"absolute",top:"-1000px",left:"-1000px"});var G={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;D.attr("src",q.iframeSrc)}};var E=q.global;if(E&&!b.active++){b.event.trigger("ajaxStart")}if(E){b.event.trigger("ajaxSend",[G,q])}if(H.beforeSend&&H.beforeSend(G,H)===false){H.global&&b.active--;return}if(G.aborted){return}var k=false;var A=0;var j=w.clk;if(j){var y=j.name;if(y&&!j.disabled){q.extraData=q.extraData||{};q.extraData[y]=j.value;if(j.type=="image"){q.extraData[y+".x"]=w.clk_x;q.extraData[y+".y"]=w.clk_y}}}function x(){var K=t.attr("target"),I=t.attr("action");w.setAttribute("target",v);if(w.getAttribute("method")!="POST"){w.setAttribute("method","POST")}if(w.getAttribute("action")!=q.url){w.setAttribute("action",q.url)}if(!q.skipEncodingOverride){t.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(q.timeout){setTimeout(function(){A=true;B()},q.timeout)}var J=[];try{if(q.extraData){for(var L in q.extraData){J.push(b('<input type="hidden" name="'+L+'" value="'+q.extraData[L]+'" />').appendTo(w)[0])}}D.appendTo("body");D.data("form-plugin-onload",B);w.submit()}finally{w.setAttribute("action",I);K?w.setAttribute("target",K):t.removeAttr("target");b(J).remove()}}if(q.forceSync){x()}else{setTimeout(x,10)}var z=100;function B(){if(k){return}var I=true;try{if(A){throw"timeout"}var J,M;M=F.contentWindow?F.contentWindow.document:F.contentDocument?F.contentDocument:F.document;var N=q.dataType=="xml"||M.XMLDocument||b.isXMLDoc(M);a("isXml="+N);if(!N&&(M.body==null||M.body.innerHTML=="")){if(--z){a("requeing onLoad callback, DOM not available");setTimeout(B,250);return}a("Could not access iframe DOM after 100 tries.");return}a("response detected");k=true;G.responseText=M.body?M.body.innerHTML:null;G.responseXML=M.XMLDocument?M.XMLDocument:M;G.getResponseHeader=function(P){var O={"content-type":q.dataType};return O[P]};if(q.dataType=="json"||q.dataType=="script"){var n=M.getElementsByTagName("textarea")[0];if(n){G.responseText=n.value}else{var L=M.getElementsByTagName("pre")[0];if(L){G.responseText=L.innerHTML}}}else{if(q.dataType=="xml"&&!G.responseXML&&G.responseText!=null){G.responseXML=C(G.responseText)}}J=b.httpData(G,q.dataType)}catch(K){a("error caught:",K);I=false;G.error=K;b.handleError(q,G,"error",K)}if(I){q.success(J,"success");if(E){b.event.trigger("ajaxSuccess",[G,q])}}if(E){b.event.trigger("ajaxComplete",[G,q])}if(E&&!--b.active){b.event.trigger("ajaxStop")}if(q.complete){q.complete(G,I?"success":"error")}setTimeout(function(){D.removeData("form-plugin-onload");D.remove();G.responseXML=null},100)}function C(n,I){if(window.ActiveXObject){I=new ActiveXObject("Microsoft.XMLDOM");I.async="false";I.loadXML(n)}else{I=(new DOMParser()).parseFromString(n,"text/xml")}return(I&&I.documentElement&&I.documentElement.tagName!="parsererror")?I:null}}};b.fn.ajaxForm=function(c){return this.ajaxFormUnbind().bind("submit.form-plugin",function(d){d.preventDefault();b(this).ajaxSubmit(c)}).bind("click.form-plugin",function(i){var h=i.target;var f=b(h);if(!(f.is(":submit,input:image"))){var d=f.closest(":submit");if(d.length==0){return}h=d[0]}var g=this;g.clk=h;if(h.type=="image"){if(i.offsetX!=undefined){g.clk_x=i.offsetX;g.clk_y=i.offsetY}else{if(typeof b.fn.offset=="function"){var j=f.offset();g.clk_x=i.pageX-j.left;g.clk_y=i.pageY-j.top}else{g.clk_x=i.pageX-h.offsetLeft;g.clk_y=i.pageY-h.offsetTop}}}setTimeout(function(){g.clk=g.clk_x=g.clk_y=null},100)})};b.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};b.fn.formToArray=function(q){var p=[];if(this.length==0){return p}var d=this[0];var h=q?d.getElementsByTagName("*"):d.elements;if(!h){return p}for(var k=0,m=h.length;k<m;k++){var e=h[k];var f=e.name;if(!f){continue}if(q&&d.clk&&e.type=="image"){if(!e.disabled&&d.clk==e){p.push({name:f,value:b(e).val()});p.push({name:f+".x",value:d.clk_x},{name:f+".y",value:d.clk_y})}continue}var r=b.fieldValue(e,true);if(r&&r.constructor==Array){for(var g=0,c=r.length;g<c;g++){p.push({name:f,value:r[g]})}}else{if(r!==null&&typeof r!="undefined"){p.push({name:f,value:r})}}}if(!q&&d.clk){var l=b(d.clk),o=l[0],f=o.name;if(f&&!o.disabled&&o.type=="image"){p.push({name:f,value:l.val()});p.push({name:f+".x",value:d.clk_x},{name:f+".y",value:d.clk_y})}}return p};b.fn.formSerialize=function(c){return b.param(this.formToArray(c))};b.fn.fieldSerialize=function(d){var c=[];this.each(function(){var h=this.name;if(!h){return}var f=b.fieldValue(this,d);if(f&&f.constructor==Array){for(var g=0,e=f.length;g<e;g++){c.push({name:h,value:f[g]})}}else{if(f!==null&&typeof f!="undefined"){c.push({name:this.name,value:f})}}});return b.param(c)};b.fn.fieldValue=function(h){for(var g=[],e=0,c=this.length;e<c;e++){var f=this[e];var d=b.fieldValue(f,h);if(d===null||typeof d=="undefined"||(d.constructor==Array&&!d.length)){continue}d.constructor==Array?b.merge(g,d):g.push(d)}return g};b.fieldValue=function(c,j){var e=c.name,p=c.type,q=c.tagName.toLowerCase();if(typeof j=="undefined"){j=true}if(j&&(!e||c.disabled||p=="reset"||p=="button"||(p=="checkbox"||p=="radio")&&!c.checked||(p=="submit"||p=="image")&&c.form&&c.form.clk!=c||q=="select"&&c.selectedIndex==-1)){return null}if(q=="select"){var k=c.selectedIndex;if(k<0){return null}var m=[],d=c.options;var g=(p=="select-one");var l=(g?k+1:d.length);for(var f=(g?k:0);f<l;f++){var h=d[f];if(h.selected){var o=h.value;if(!o){o=(h.attributes&&h.attributes.value&&!(h.attributes.value.specified))?h.text:h.value}if(g){return o}m.push(o)}}return m}return c.value};b.fn.clearForm=function(){return this.each(function(){b("input,select,textarea",this).clearFields()})};b.fn.clearFields=b.fn.clearInputs=function(){return this.each(function(){var d=this.type,c=this.tagName.toLowerCase();if(d=="text"||d=="password"||c=="textarea"){this.value=""}else{if(d=="checkbox"||d=="radio"){this.checked=false}else{if(c=="select"){this.selectedIndex=-1}}}})};b.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};b.fn.enable=function(c){if(c==undefined){c=true}return this.each(function(){this.disabled=!c})};b.fn.selected=function(c){if(c==undefined){c=true}return this.each(function(){var d=this.type;if(d=="checkbox"||d=="radio"){this.checked=c}else{if(this.tagName.toLowerCase()=="option"){var e=b(this).parent("select");if(c&&e[0]&&e[0].type=="select-one"){e.find("option").selected(false)}this.selected=c}}})};function a(){if(b.fn.ajaxSubmit.debug){var c="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(c)}else{if(window.opera&&window.opera.postError){window.opera.postError(c)}}}}})(jQuery);
/* Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 *
 * Version 2.1.2
 */
(function(a){a.fn.bgiframe=(a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(d){d=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},d);var c='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+d.src+'"style="display:block;position:absolute;z-index:-1;'+(d.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(d.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(d.top))+";left:"+(d.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(d.left))+";width:"+(d.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":b(d.width))+";height:"+(d.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":b(d.height))+';"/>';return this.each(function(){if(a(this).children("iframe.bgiframe").length===0){this.insertBefore(document.createElement(c),this.firstChild)}})}:function(){return this});a.fn.bgIframe=a.fn.bgiframe;function b(c){return c&&c.constructor===Number?c+"px":c}})(jQuery);
(function(c){var a=c.scrollTo=function(f,e,d){c(window).scrollTo(f,e,d)};a.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};a.window=function(d){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){var e=this,d=!e.nodeName||c.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!d){return e}var f=(e.contentWindow||e).document||e.ownerDocument||e;return c.browser.safari||f.compatMode=="BackCompat"?f.body:f.documentElement})};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0}if(typeof d=="function"){d={onAfter:d}}if(f=="max"){f=9000000000}d=c.extend({},a.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=b(d.offset);d.over=b(d.over);return this._scrollable().each(function(){var l=this,j=c(l),k=f,i,g={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}k=c(k,this);case"object":if(k.is||k.style){i=(k=c(k)).offset()}}c.each(d.axis.split(""),function(q,r){var s=r=="x"?"Left":"Top",u=s.toLowerCase(),p="scroll"+s,o=l[p],n=a.max(l,r);if(i){g[p]=i[u]+(m?0:o-j.offset()[u]);if(d.margin){g[p]-=parseInt(k.css("margin"+s))||0;g[p]-=parseInt(k.css("border"+s+"Width"))||0}g[p]+=d.offset[u]||0;if(d.over[u]){g[p]+=k[r=="x"?"width":"height"]()*d.over[u]}}else{var t=k[u];g[p]=t.slice&&t.slice(-1)=="%"?parseFloat(t)/100*n:t}if(/^\d+$/.test(g[p])){g[p]=g[p]<=0?0:Math.min(g[p],n)}if(!q&&d.queue){if(o!=g[p]){h(d.onAfterFirst)}delete g[p]}});h(d.onAfter);function h(n){j.animate(g,e,d.easing,n&&function(){n.call(this,f,d)})}}).end()};a.max=function(j,i){var h=i=="x"?"Width":"Height",e="scroll"+h;if(!c(j).is("html,body")){return j[e]-c(j)[h.toLowerCase()]()}var g="client"+h,f=j.ownerDocument.documentElement,d=j.ownerDocument.body;return Math.max(f[e],d[e])-Math.min(f[g],d[g])};function b(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);
(function(G,k,U){var H={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,fastIframe:true,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,returnFocus:true,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,top:false,bottom:false,left:false,right:false,fixed:false,data:false},v="colorbox",Q="cbox",p=Q+"Element",T=Q+"_open",e=Q+"_load",S=Q+"_complete",s=Q+"_cleanup",Z=Q+"_closed",i=Q+"_purge",t=G.browser.msie&&!G.support.opacity,ab=t&&G.browser.version<7,Y=Q+"_IE6",O,ac,ad,d,E,o,b,N,c,X,K,j,h,n,r,V,q,P,x,z,aa,ae,l,g,a,u,F,m,B,W,J,D,y,I;function M(ah,af,ag){ag=k.createElement("div");if(ah){ag.id=Q+ah}ag.style.cssText=af||"";return G(ag)}function L(af,ag){return Math.round((/%/.test(af)?((ag==="x"?X.width():X.height())/100):1)*parseInt(af,10))}function A(af){return aa.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(af)}function R(af){aa=G.extend({},G.data(u,v));for(af in aa){if(G.isFunction(aa[af])&&af.substring(0,2)!=="on"){aa[af]=aa[af].call(u)}}aa.rel=aa.rel||u.rel||"nofollow";aa.href=aa.href||G(u).attr("href");aa.title=aa.title||u.title;if(typeof aa.href==="string"){aa.href=G.trim(aa.href)}}function C(af,ag){if(ag){ag.call(u)}G.event.trigger(af)}function w(){var ag,ai=Q+"Slideshow_",aj="click."+Q,ak,ah,af;if(aa.slideshow&&c[1]){ak=function(){V.text(aa.slideshowStop).unbind(aj).bind(S,function(){if(F<c.length-1||aa.loop){ag=setTimeout(I.next,aa.slideshowSpeed)}}).bind(e,function(){clearTimeout(ag)}).one(aj+" "+s,ah);ac.removeClass(ai+"off").addClass(ai+"on");ag=setTimeout(I.next,aa.slideshowSpeed)};ah=function(){clearTimeout(ag);V.text(aa.slideshowStart).unbind([S,e,s,aj].join(" ")).one(aj,ak);ac.removeClass(ai+"on").addClass(ai+"off")};if(aa.slideshowAuto){ak()}else{ah()}}else{ac.removeClass(ai+"off "+ai+"on")}}function f(ag){if(!J){u=ag;R();c=G(u);F=0;if(aa.rel!=="nofollow"){c=G("."+p).filter(function(){var ah=G.data(this,v).rel||this.rel;return(ah===aa.rel)});F=c.index(u);if(F===-1){c=c.add(u);F=c.length-1}}if(!B){B=W=true;ac.show();if(aa.returnFocus){try{u.blur();G(u).one(Z,function(){try{this.focus()}catch(ah){}})}catch(af){}}O.css({opacity:+aa.opacity,cursor:aa.overlayClose?"pointer":"auto"}).show();aa.w=L(aa.initialWidth,"x");aa.h=L(aa.initialHeight,"y");I.position();if(ab){X.bind("resize."+Y+" scroll."+Y,function(){O.css({width:X.width(),height:X.height(),top:X.scrollTop(),left:X.scrollLeft()})}).trigger("resize."+Y)}C(T,aa.onOpen);z.add(n).hide();x.html(aa.close).show()}I.load(true)}}I=G.fn[v]=G[v]=function(af,ah){var ag=this;af=af||{};if(!ag[0]){if(ag.selector){return ag}ag=G("<a/>");af.open=true}if(ah){af.onComplete=ah}ag.each(function(){G.data(this,v,G.extend({},G.data(this,v)||H,af));G(this).addClass(p)});if((G.isFunction(af.open)&&af.open.call(ag))||af.open){f(ag[0])}return ag};I.init=function(){X=G(U);ac=M().attr({id:v,"class":t?Q+(ab?"IE6":"IE"):""});O=M("Overlay",ab?"position:absolute":"").hide();ad=M("Wrapper");d=M("Content").append(K=M("LoadedContent","width:0; height:0; overflow:hidden"),h=M("LoadingOverlay").add(M("LoadingGraphic")),n=M("Title"),r=M("Current"),q=M("Next"),P=M("Previous"),V=M("Slideshow").bind(T,w),x=M("Close"));ad.append(M().append(M("TopLeft"),E=M("TopCenter"),M("TopRight")),M(false,"clear:left").append(o=M("MiddleLeft"),d,b=M("MiddleRight")),M(false,"clear:left").append(M("BottomLeft"),N=M("BottomCenter"),M("BottomRight"))).children().children().css({"float":"left"});j=M(false,"position:absolute; width:9999px; visibility:hidden; display:none");G("body").prepend(O,ac.append(ad,j));d.children().hover(function(){G(this).addClass("hover")},function(){G(this).removeClass("hover")}).addClass("hover");ae=E.height()+N.height()+d.outerHeight(true)-d.height();l=o.width()+b.width()+d.outerWidth(true)-d.width();g=K.outerHeight(true);a=K.outerWidth(true);ac.css({"padding-bottom":ae,"padding-right":l}).hide();q.click(function(){I.next()});P.click(function(){I.prev()});x.click(function(){I.close()});z=q.add(P).add(r).add(V);d.children().removeClass("hover");O.click(function(){if(aa.overlayClose){I.close()}});G(k).bind("keydown."+Q,function(ag){var af=ag.keyCode;if(B&&aa.escKey&&af===27){ag.preventDefault();I.close()}if(B&&aa.arrowKey&&c[1]){if(af===37){ag.preventDefault();P.click()}else{if(af===39){ag.preventDefault();q.click()}}}})};I.remove=function(){ac.add(O).remove();G("."+p).removeData(v).removeClass(p)};I.position=function(ag,af){var ai=0,ah=0;X.unbind("resize."+Q);ac.hide();if(aa.fixed&&!ab){ac.css({position:"fixed"})}else{ai=X.scrollTop();ah=X.scrollLeft();ac.css({position:"absolute"})}if(aa.right!==false){ah+=Math.max(X.width()-aa.w-a-l-L(aa.right,"x"),0)}else{if(aa.left!==false){ah+=L(aa.left,"x")}else{ah+=Math.round(Math.max(X.width()-aa.w-a-l,0)/2)}}if(aa.bottom!==false){ai+=Math.max(k.documentElement.clientHeight-aa.h-g-ae-L(aa.bottom,"y"),0)}else{if(aa.top!==false){ai+=L(aa.top,"y")}else{ai+=Math.round(Math.max(k.documentElement.clientHeight-aa.h-g-ae,0)/2)}}ac.show();ag=(ac.width()===aa.w+a&&ac.height()===aa.h+g)?0:ag||0;ad[0].style.width=ad[0].style.height="9999px";function aj(ak){E[0].style.width=N[0].style.width=d[0].style.width=ak.style.width;h[0].style.height=h[1].style.height=d[0].style.height=o[0].style.height=b[0].style.height=ak.style.height}ac.dequeue().animate({width:aa.w+a,height:aa.h+g,top:ai,left:ah},{duration:ag,complete:function(){aj(this);W=false;ad[0].style.width=(aa.w+a+l)+"px";ad[0].style.height=(aa.h+g+ae)+"px";if(af){af()}setTimeout(function(){X.bind("resize."+Q,I.position)},1)},step:function(){aj(this)}})};I.resize=function(af){if(B){af=af||{};if(af.width){aa.w=L(af.width,"x")-a-l}if(af.innerWidth){aa.w=L(af.innerWidth,"x")}K.css({width:aa.w});if(af.height){aa.h=L(af.height,"y")-g-ae}if(af.innerHeight){aa.h=L(af.innerHeight,"y")}if(!af.innerHeight&&!af.height){var ag=K.wrapInner("<div style='overflow:auto'></div>").children();aa.h=ag.height();ag.replaceWith(ag.children())}K.css({height:aa.h});I.position(aa.transition==="none"?0:aa.speed)}};I.prep=function(ag){if(!B){return}var aj,ah=aa.transition==="none"?0:aa.speed;K.remove();K=M("LoadedContent").append(ag);function af(){aa.w=aa.w||K.width();aa.w=aa.mw&&aa.mw<aa.w?aa.mw:aa.w;return aa.w}function ai(){aa.h=aa.h||K.height();aa.h=aa.mh&&aa.mh<aa.h?aa.mh:aa.h;return aa.h}K.hide().appendTo(j.show()).css({width:af(),overflow:aa.scrolling?"auto":"hidden"}).css({height:ai()}).prependTo(d);j.hide();G(m).css({"float":"none"});if(ab){G("select").not(ac.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(s,function(){this.style.visibility="inherit"})}aj=function(){var ap,ar,an,am,ao=c.length,al,ak;if(!B){return}function aq(){if(t){ac[0].style.removeAttribute("filter")}}ak=function(){clearTimeout(y);h.hide();C(S,aa.onComplete)};if(t){if(m){K.fadeIn(100)}}n.html(aa.title).add(K).show();if(ao>1){if(typeof aa.current==="string"){r.html(aa.current.replace("{current}",F+1).replace("{total}",ao)).show()}q[(aa.loop||F<ao-1)?"show":"hide"]().html(aa.next);P[(aa.loop||F)?"show":"hide"]().html(aa.previous);ap=F?c[F-1]:c[ao-1];an=F<ao-1?c[F+1]:c[0];if(aa.slideshow){V.show()}if(aa.preloading){am=G.data(an,v).href||an.href;ar=G.data(ap,v).href||ap.href;am=G.isFunction(am)?am.call(an):am;ar=G.isFunction(ar)?ar.call(ap):ar;if(A(am)){G("<img/>")[0].src=am}if(A(ar)){G("<img/>")[0].src=ar}}}else{z.hide()}if(aa.iframe){al=G("<iframe/>").addClass(Q+"Iframe")[0];if(aa.fastIframe){ak()}else{G(al).one("load",ak)}al.name=Q+(+new Date());al.src=aa.href;if(!aa.scrolling){al.scrolling="no"}if(t){al.frameBorder=0;al.allowTransparency="true"}G(al).appendTo(K).one(i,function(){al.src="//about:blank"})}else{ak()}if(aa.transition==="fade"){ac.fadeTo(ah,1,aq)}else{aq()}};if(aa.transition==="fade"){ac.fadeTo(ah,0,function(){I.position(0,aj)})}else{I.position(ah,aj)}};I.load=function(ah){var ag,ai,af=I.prep;W=true;m=false;u=c[F];if(!ah){R()}C(i);C(e,aa.onLoad);aa.h=aa.height?L(aa.height,"y")-g-ae:aa.innerHeight&&L(aa.innerHeight,"y");aa.w=aa.width?L(aa.width,"x")-a-l:aa.innerWidth&&L(aa.innerWidth,"x");aa.mw=aa.w;aa.mh=aa.h;if(aa.maxWidth){aa.mw=L(aa.maxWidth,"x")-a-l;aa.mw=aa.w&&aa.w<aa.mw?aa.w:aa.mw}if(aa.maxHeight){aa.mh=L(aa.maxHeight,"y")-g-ae;aa.mh=aa.h&&aa.h<aa.mh?aa.h:aa.mh}ag=aa.href;y=setTimeout(function(){h.show()},100);if(aa.inline){M().hide().insertBefore(G(ag)[0]).one(i,function(){G(this).replaceWith(K.children())});af(G(ag))}else{if(aa.iframe){af(" ")}else{if(aa.html){af(aa.html)}else{if(A(ag)){G(m=new Image()).addClass(Q+"Photo").error(function(){aa.title=false;af(M("Error").text("This image could not be loaded"))}).load(function(){var aj;m.onload=null;if(aa.scalePhotos){ai=function(){m.height-=m.height*aj;m.width-=m.width*aj};if(aa.mw&&m.width>aa.mw){aj=(m.width-aa.mw)/m.width;ai()}if(aa.mh&&m.height>aa.mh){aj=(m.height-aa.mh)/m.height;ai()}}if(aa.h){m.style.marginTop=Math.max(aa.h-m.height,0)/2+"px"}if(c[1]&&(F<c.length-1||aa.loop)){m.style.cursor="pointer";m.onclick=function(){I.next()}}if(t){m.style.msInterpolationMode="bicubic"}setTimeout(function(){af(m)},1)});setTimeout(function(){m.src=ag},1)}else{if(ag){j.load(ag,aa.data,function(ak,aj,al){af(aj==="error"?M("Error").text("Request unsuccessful: "+al.statusText):G(this).contents())})}}}}}};I.next=function(){if(!W&&c[1]&&(F<c.length-1||aa.loop)){F=F<c.length-1?F+1:0;I.load()}};I.prev=function(){if(!W&&c[1]&&(F||aa.loop)){F=F?F-1:c.length-1;I.load()}};I.close=function(){if(B&&!J){J=true;B=false;C(s,aa.onCleanup);X.unbind("."+Q+" ."+Y);O.fadeTo(200,0);ac.stop().fadeTo(300,0,function(){ac.add(O).css({opacity:1,cursor:"auto"}).hide();C(i);K.remove();setTimeout(function(){J=false;C(Z,aa.onClosed)},1)})}};I.element=function(){return G(u)};I.settings=H;D=function(af){if(!((af.button!==0&&typeof af.button!=="undefined")||af.ctrlKey||af.shiftKey||af.altKey)){af.preventDefault();f(this)}};if(G.fn.delegate){G(k).delegate("."+p,"click",D)}else{G("."+p).live("click",D)}G(I.init)}(jQuery,document,this));
/*
 * jCarousel - Riding carousels with jQuery
 *   http://sorgalla.com/jcarousel/
 *
 * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Built on top of the jQuery library
 *   http://jquery.com
 *
 * Inspired by the "Carousel Component" by Bill Scott
 *   http://billwscott.com/carousel/
 */
(function(b){b.fn.jcarousel=function(f){if(typeof f=="string"){var d=b(this).data("jcarousel"),e=Array.prototype.slice.call(arguments,1);return d[f].apply(d,e)}else{return this.each(function(){b(this).data("jcarousel",new a(this,f))})}};var c={vertical:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null};b.jcarousel=function(h,f){this.options=b.extend({},c,f||{});this.locked=false;this.container=null;this.clip=null;this.list=null;this.buttonNext=null;this.buttonPrev=null;this.wh=!this.options.vertical?"width":"height";this.lt=!this.options.vertical?"left":"top";var m="",k=h.className.split(" ");for(var g=0;g<k.length;g++){if(k[g].indexOf("jcarousel-skin")!=-1){b(h).removeClass(k[g]);m=k[g];break}}if(h.nodeName=="UL"||h.nodeName=="OL"){this.list=b(h);this.container=this.list.parent();if(this.container.hasClass("jcarousel-clip")){if(!this.container.parent().hasClass("jcarousel-container")){this.container=this.container.wrap("<div></div>")}this.container=this.container.parent()}else{if(!this.container.hasClass("jcarousel-container")){this.container=this.list.wrap("<div></div>").parent()}}}else{this.container=b(h);this.list=this.container.find("ul,ol").eq(0)}if(m!=""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1){this.container.wrap('<div class=" '+m+'"></div>')}this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass("jcarousel-clip")){this.clip=this.list.wrap("<div></div>").parent()}this.buttonNext=b(".jcarousel-next",this.container);if(this.buttonNext.size()==0&&this.options.buttonNextHTML!=null){this.buttonNext=this.clip.after(this.options.buttonNextHTML).next()}this.buttonNext.addClass(this.className("jcarousel-next"));this.buttonPrev=b(".jcarousel-prev",this.container);if(this.buttonPrev.size()==0&&this.options.buttonPrevHTML!=null){this.buttonPrev=this.clip.after(this.options.buttonPrevHTML).next()}this.buttonPrev.addClass(this.className("jcarousel-prev"));this.clip.addClass(this.className("jcarousel-clip")).css({overflow:"hidden",position:"relative"});this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,left:0,margin:0,padding:0});this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});var j=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;var l=this.list.children("li");var n=this;if(l.size()>0){var d=0,g=this.options.offset;l.each(function(){n.format(this,g++);d+=n.dimension(this,j)});this.list.css(this.wh,d+"px");if(!f||f.size===undefined){this.options.size=l.size()}}this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){n.next()};this.funcPrev=function(){n.prev()};this.funcResize=function(){n.reload()};if(this.options.initCallback!=null){this.options.initCallback(this,"init")}if(b.browser.safari){this.buttons(false,false);b(window).bind("load.jcarousel",function(){n.setup()})}else{this.setup()}};var a=b.jcarousel;a.fn=a.prototype={jcarousel:"0.2.4"};a.fn.extend=a.extend=b.extend;a.fn.extend({setup:function(){this.first=null;this.last=null;this.prevFirst=null;this.prevLast=null;this.animating=false;this.timer=null;this.tail=null;this.inTail=false;if(this.locked){return}this.list.css(this.lt,this.pos(this.options.offset)+"px");var d=this.pos(this.options.start);this.prevFirst=this.prevLast=null;this.animate(d,false);b(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize)},reset:function(){this.list.empty();this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");if(this.options.initCallback!=null){this.options.initCallback(this,"reset")}this.setup()},reload:function(){if(this.tail!=null&&this.inTail){this.list.css(this.lt,a.intval(this.list.css(this.lt))+this.tail)}this.tail=null;this.inTail=false;if(this.options.reloadCallback!=null){this.options.reloadCallback(this)}if(this.options.visible!=null){var f=this;var g=Math.ceil(this.clipping()/this.options.visible),e=0,d=0;b("li",this.list).each(function(h){e+=f.dimension(this,g);if(h+1<f.first){d=e}});this.list.css(this.wh,e+"px");this.list.css(this.lt,-d+"px")}this.scroll(this.first,false)},lock:function(){this.locked=true;this.buttons()},unlock:function(){this.locked=false;this.buttons()},size:function(d){if(d!=undefined){this.options.size=d;if(!this.locked){this.buttons()}}return this.options.size},has:function(f,g){if(g==undefined||!g){g=f}if(this.options.size!==null&&g>this.options.size){g=this.options.size}for(var d=f;d<=g;d++){var h=this.get(d);if(!h.length||h.hasClass("jcarousel-item-placeholder")){return false}}return true},get:function(d){return b(".jcarousel-item-"+d,this.list)},add:function(h,o){var k=this.get(h),f=0,n=0;if(k.length==0){var m,k=this.create(h),g=a.intval(h);while(m=this.get(--g)){if(g<=0||m.length){g<=0?this.list.prepend(k):m.after(k);break}}}else{f=this.dimension(k)}k.removeClass(this.className("jcarousel-item-placeholder"));typeof o=="string"?k.html(o):k.empty().append(o);var l=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;var d=this.dimension(k,l)-f;if(h>0&&h<this.first){this.list.css(this.lt,a.intval(this.list.css(this.lt))-d+"px")}this.list.css(this.wh,a.intval(this.list.css(this.wh))+d+"px");return k},remove:function(f){var g=this.get(f);if(!g.length||(f>=this.first&&f<=this.last)){return}var h=this.dimension(g);if(f<this.first){this.list.css(this.lt,a.intval(this.list.css(this.lt))+h+"px")}g.remove();this.list.css(this.wh,a.intval(this.list.css(this.wh))-h+"px")},next:function(){this.stopAuto();if(this.tail!=null&&!this.inTail){this.scrollTail(false)}else{this.scroll(((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!=null&&this.last==this.options.size)?1:this.first+this.options.scroll)}},prev:function(){this.stopAuto();if(this.tail!=null&&this.inTail){this.scrollTail(true)}else{this.scroll(((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!=null&&this.first==1)?this.options.size:this.first-this.options.scroll)}},scrollTail:function(d){if(this.locked||this.animating||!this.tail){return}var e=a.intval(this.list.css(this.lt));!d?e-=this.tail:e+=this.tail;this.inTail=!d;this.prevFirst=this.first;this.prevLast=this.last;this.animate(e)},scroll:function(e,d){if(this.locked||this.animating){return}this.animate(this.pos(e),d)},pos:function(B){var k=a.intval(this.list.css(this.lt));if(this.locked||this.animating){return k}if(this.options.wrap!="circular"){B=B<1?1:(this.options.size&&B>this.options.size?this.options.size:B)}var y=this.first>B;var D=this.options.wrap!="circular"&&this.first<=1?1:this.first;var G=y?this.get(D):this.get(this.last);var A=y?D:D-1;var E=null,z=0,u=false,F=0,C;while(y?--A>=B:++A<B){E=this.get(A);u=!E.length;if(E.length==0){E=this.create(A).addClass(this.className("jcarousel-item-placeholder"));G[y?"before":"after"](E);if(this.first!=null&&this.options.wrap=="circular"&&this.options.size!==null&&(A<=0||A>this.options.size)){C=this.get(this.index(A));if(C.length){this.add(A,C.children().clone(true))}}}G=E;F=this.dimension(E);if(u){z+=F}if(this.first!=null&&(this.options.wrap=="circular"||(A>=1&&(this.options.size==null||A<=this.options.size)))){k=y?k+F:k-F}}var r=this.clipping();var t=[];var h=0,A=B,s=0;var G=this.get(B-1);while(++h){E=this.get(A);u=!E.length;if(E.length==0){E=this.create(A).addClass(this.className("jcarousel-item-placeholder"));G.length==0?this.list.prepend(E):G[y?"before":"after"](E);if(this.first!=null&&this.options.wrap=="circular"&&this.options.size!==null&&(A<=0||A>this.options.size)){C=this.get(this.index(A));if(C.length){this.add(A,C.find(">*").clone(true))}}}G=E;var F=this.dimension(E);if(F==0){alert("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...");return 0}if(this.options.wrap!="circular"&&this.options.size!==null&&A>this.options.size){t.push(E)}else{if(u){z+=F}}s+=F;if(s>=r){break}A++}for(var q=0;q<t.length;q++){t[q].remove()}if(z>0){this.list.css(this.wh,this.dimension(this.list)+z+"px");if(y){k-=z;this.list.css(this.lt,a.intval(this.list.css(this.lt))-z+"px")}}var o=B+h-1;if(this.options.wrap!="circular"&&this.options.size&&o>this.options.size){o=this.options.size}if(A>o){h=0,A=o,s=0;while(++h){var E=this.get(A--);if(!E.length){break}s+=this.dimension(E);if(s>=r){break}}}var n=o-h+1;if(this.options.wrap!="circular"&&n<1){n=1}if(this.inTail&&y){k+=this.tail;this.inTail=false}this.tail=null;if(this.options.wrap!="circular"&&o==this.options.size&&(o-h+1)>=1){var w=a.margin(this.get(o),!this.options.vertical?"marginRight":"marginBottom");if((s-w)>r){this.tail=s-r-w}}while(B-->n){k+=this.dimension(this.get(B))}this.prevFirst=this.first;this.prevLast=this.last;this.first=n;this.last=o;return k},animate:function(g,d){if(this.locked||this.animating){return}this.animating=true;var e=this;var f=function(){e.animating=false;if(g==0){e.list.css(e.lt,0)}if(e.options.wrap=="circular"||e.options.wrap=="both"||e.options.wrap=="last"||e.options.size==null||e.last<e.options.size){e.startAuto()}e.buttons();e.notify("onAfterAnimation")};this.notify("onBeforeAnimation");if(!this.options.animation||d==false){this.list.css(this.lt,g+"px");f()}else{var h=!this.options.vertical?{left:g}:{top:g};this.list.animate(h,this.options.animation,this.options.easing,f)}},startAuto:function(e){if(e!=undefined){this.options.auto=e}if(this.options.auto==0){return this.stopAuto()}if(this.timer!=null){return}var d=this;this.timer=setTimeout(function(){d.next()},this.options.auto*1000)},stopAuto:function(){if(this.timer==null){return}clearTimeout(this.timer);this.timer=null},buttons:function(f,e){if(f==undefined||f==null){var f=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!="first")||this.options.size==null||this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!=null&&this.last>=this.options.size){f=this.tail!=null&&!this.inTail}}if(e==undefined||e==null){var e=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!="last")||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!=null&&this.first==1){e=this.tail!=null&&this.inTail}}var d=this;this.buttonNext[f?"bind":"unbind"](this.options.buttonNextEvent+".jcarousel",this.funcNext)[f?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",f?false:true);this.buttonPrev[e?"bind":"unbind"](this.options.buttonPrevEvent+".jcarousel",this.funcPrev)[e?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",e?false:true);if(this.buttonNext.length>0&&(this.buttonNext[0].jcarouselstate==undefined||this.buttonNext[0].jcarouselstate!=f)&&this.options.buttonNextCallback!=null){this.buttonNext.each(function(){d.options.buttonNextCallback(d,this,f)});this.buttonNext[0].jcarouselstate=f}if(this.buttonPrev.length>0&&(this.buttonPrev[0].jcarouselstate==undefined||this.buttonPrev[0].jcarouselstate!=e)&&this.options.buttonPrevCallback!=null){this.buttonPrev.each(function(){d.options.buttonPrevCallback(d,this,e)});this.buttonPrev[0].jcarouselstate=e}},notify:function(d){var e=this.prevFirst==null?"init":(this.prevFirst<this.first?"next":"prev");this.callback("itemLoadCallback",d,e);if(this.prevFirst!==this.first){this.callback("itemFirstInCallback",d,e,this.first);this.callback("itemFirstOutCallback",d,e,this.prevFirst)}if(this.prevLast!==this.last){this.callback("itemLastInCallback",d,e,this.last);this.callback("itemLastOutCallback",d,e,this.prevLast)}this.callback("itemVisibleInCallback",d,e,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",d,e,this.prevFirst,this.prevLast,this.first,this.last)},callback:function(h,l,d,j,g,f,e){if(this.options[h]==undefined||(typeof this.options[h]!="object"&&l!="onAfterAnimation")){return}var m=typeof this.options[h]=="object"?this.options[h][l]:this.options[h];if(!b.isFunction(m)){return}var n=this;if(j===undefined){m(n,d,l)}else{if(g===undefined){this.get(j).each(function(){m(n,this,j,d,l)})}else{for(var k=j;k<=g;k++){if(k!==null&&!(k>=f&&k<=e)){this.get(k).each(function(){m(n,this,k,d,l)})}}}}},create:function(d){return this.format("<li></li>",d)},format:function(g,f){var d=b(g).addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+f)).css({"float":"left","list-style":"none"});d.attr("jcarouselindex",f);return d},className:function(d){return d+" "+d+(!this.options.vertical?"-horizontal":"-vertical")},dimension:function(i,j){var h=i.jquery!=undefined?i[0]:i;var g=!this.options.vertical?h.offsetWidth+a.margin(h,"marginLeft")+a.margin(h,"marginRight"):h.offsetHeight+a.margin(h,"marginTop")+a.margin(h,"marginBottom");if(j==undefined||g==j){return g}var f=!this.options.vertical?j-a.margin(h,"marginLeft")-a.margin(h,"marginRight"):j-a.margin(h,"marginTop")-a.margin(h,"marginBottom");b(h).css(this.wh,f+"px");return this.dimension(h)},clipping:function(){return !this.options.vertical?this.clip[0].offsetWidth-a.intval(this.clip.css("borderLeftWidth"))-a.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-a.intval(this.clip.css("borderTopWidth"))-a.intval(this.clip.css("borderBottomWidth"))},index:function(d,e){if(e==undefined){e=this.options.size}return Math.round((((d-1)/e)-Math.floor((d-1)/e))*e)+1}});a.extend({defaults:function(e){return b.extend(c,e||{})},margin:function(i,h){if(!i){return 0}var g=i.jquery!=undefined?i[0]:i;if(h=="marginRight"&&b.browser.safari){var f={display:"block","float":"none",width:"auto"},d,j;b.swap(g,f,function(){d=g.offsetWidth});f.marginRight=0;b.swap(g,f,function(){j=g.offsetWidth});return j-d}return a.intval(b.css(g,h))},intval:function(d){d=parseInt(d);return isNaN(d)?0:d}})})(jQuery);(function(b){var c={autoPlay:true,speed:5000,text:{play:"",stop:"",previous:"Previous",next:"Next"},transition:[1],showCaption:true,IESafe:false,showTooltips:false,carousel:false,carouselVertical:false,animationFinished:null,buildFinished:null,startOn:0,thumbOpacity:0.4};b.fn.PikaChoose=function(d){return this.each(function(){b(this).data("pikachoose",new a(this,d))})};b.PikaChoose=function(h,i){this.options=b.extend({},c,i||{});this.list=null;this.image=null;this.anchor=null;this.caption=null;this.imgNav=null;this.imgPlay=null;this.imgPrev=null;this.imgNext=null;this.textNext=null;this.textPrev=null;this.previous=null;this.next=null;this.aniWrap=null;this.aniDiv=null;this.aniImg=null;this.thumbs=null;this.transition=null;this.active=null;this.tooltip=null;this.animating=false;this.stillOut=null;this.counter=null;if(typeof(this.options.data)!="undefined"){h=b("<ul></ul>").appendTo(h);b.each(this.options.data,function(){var e=b("<li><a href='"+this.link+"'><img src='"+this.image+"'></a></li>").appendTo(h);if(typeof(this.title)!="undefined"){e.find("a").attr("title",this.title)}if(typeof(this.caption)!="undefined"){e.append("<span>"+this.caption+"</span>")}if(typeof(this.thumbnail)!="undefined"){e.find("a").attr("ref",this.thumbnail)}})}if(h.nodeName=="UL"||h.nodeName=="OL"||h instanceof jQuery){this.list=b(h);this.build();this.bindEvents()}else{return}var j=0;var d=0;for(var g=0;g<25;g++){var f='<div col="'+j+'" row="'+d+'"></div>';this.aniDiv.append(f);j++;if(j==5){d++;j=0}}};var a=b.PikaChoose;a.fn=a.prototype={pikachoose:"4.2.3"};b.fn.pikachoose=b.fn.PikaChoose;a.fn.extend=a.extend=b.extend;a.fn.extend({build:function(){this.step=0;this.wrap=b("<div class='pika-stage'></div>").insertBefore(this.list);this.image=b("<img>").appendTo(this.wrap);this.anchor=this.image.wrap("<a>").parent();this.imgNav=b("<div class='pika-imgnav'></div>").insertAfter(this.anchor);this.imgPlay=b("<a></a>").appendTo(this.imgNav);this.counter=b("<span class='pika-counter'></span>").appendTo(this.imgNav);if(this.options.autoPlay){this.imgPlay.addClass("pause")}else{this.imgPlay.addClass("play")}this.imgPrev=b("<a class='previous'></a>").insertAfter(this.imgPlay);this.imgNext=b("<a class='next'></a>").insertAfter(this.imgPrev);this.caption=b("<div class='caption'></div>").insertAfter(this.imgNav).hide();this.tooltip=b("<div class='pika-tooltip'></div>").insertAfter(this.list).hide();this.aniWrap=b("<div class='pika-aniwrap'></div>").insertAfter(this.caption);this.aniImg=b("<img>").appendTo(this.aniWrap).hide();this.aniDiv=b("<div class='pika-ani'></div>").appendTo(this.aniWrap);this.textNav=b("<div class='pika-textnav'></div>").insertAfter(this.aniWrap);this.textPrev=b("<a class='previous'>"+this.options.text.previous+"</a>").appendTo(this.textNav);this.textNext=b("<a class='next'>"+this.options.text.next+"</a>").appendTo(this.textNav);this.list.addClass("pika-thumbs");this.list.children("li").wrapInner("<div class='clip' />");this.thumbs=this.list.find("img");this.active=this.thumbs.eq(this.options.startOn);this.finishAnimating({source:this.active.attr("ref")||this.active.attr("src"),caption:this.active.parents("li:first").find("span:first").html(),clickThrough:this.active.parent().attr("href")||"",clickThroughTitle:this.active.parent().attr("title")||""});var d=this;this.thumbs.each(function(){d.createThumb(b(this),d)});if(this.options.carousel){this.list.jcarousel({vertical:this.options.carouselVertical,initCallback:function(e){jQuery(e.list).find("img").click(function(){var f=parseInt(jQuery(this).parents(".jcarousel-item").attr("jcarouselindex"));var g=(jQuery(this).parents("ul").find("li:last").index()==f-1)?true:false;if(!g){f=(f-2<=0)?0:f-2}f++;e.scroll(f)})}})}if(typeof(this.options.buildFinished)=="function"){this.options.buildFinished(this)}},createThumb:function(g){var d=g;var e=this;d.hide();b.data(g[0],"clickThrough",d.parent("a").attr("href")||"");b.data(g[0],"clickThroughTitle",d.parent("a").attr("title")||"");if(d.parent("a").length>0){d.unwrap()}b.data(g[0],"caption",d.next("span").html()||"");d.next("span").remove();b.data(g[0],"source",d.attr("ref")||d.attr("src"));b.data(g[0],"order",d.closest("ul").find("li").index(d.parents("li")));var f=b.data(g[0]);b("<img />").bind("load",{data:f},function(){if(typeof(e.options.buildThumbStart)=="function"){e.options.buildThumbStart(e)}var m=b(this);var q=m.width();var n=m.height();if(q===0){q=m.attr("width")}if(n===0){n=m.attr("height")}var j=parseInt(d.parents(".clip").css("width").slice(0,-2))/q;var p=parseInt(d.parents(".clip").css("height").slice(0,-2))/n;var o;if(j<p){o=p;var k=((q*o-parseInt(d.parents(".clip").css("width").slice(0,-2)))/2)*-1;k=Math.round(k);d.css({left:k})}else{o=j;d.css({top:0})}var i=Math.round(q*o);var r=Math.round(n*o);d.css("position","relative");var l={width:i+"px",height:r+"px"};d.css(l);d.hover(function(h){clearTimeout(e.stillOut);b(this).stop(true,true).fadeTo(250,1);if(!e.options.showTooltips){return}e.tooltip.show().stop(true,true).html(f.caption).animate({top:b(this).parent().position().top,left:b(this).parent().position().left,opacity:1},"fast")},function(h){if(!b(this).hasClass("active")){b(this).stop(true,true).fadeTo(250,e.options.thumbOpacity);e.stillOut=setTimeout(e.hideTooltip,700)}});if(f.order==e.options.startOn){d.fadeTo(250,1);d.addClass("active")}else{d.fadeTo(250,e.options.thumbOpacity)}if(typeof(e.options.buildThumbFinish)=="function"){e.options.buildThumbFinish(e)}}).attr("src",d.attr("src"))},bindEvents:function(){this.thumbs.bind("click",{self:this},this.imgClick);this.imgNext.bind("click",{self:this},this.nextClick);this.textNext.bind("click",{self:this},this.nextClick);this.imgPrev.bind("click",{self:this},this.prevClick);this.textPrev.bind("click",{self:this},this.prevClick);this.imgPlay.bind("click",{self:this},this.playClick);this.wrap.bind("mouseenter",{self:this},function(d){d.data.self.imgNav.stop(true,true).fadeIn("slow")});this.wrap.bind("mouseleave",{self:this},function(d){d.data.self.imgNav.stop(true,true).fadeOut("slow")});this.tooltip.bind("mouseenter",{self:this},function(d){clearTimeout(d.data.self.stillOut)});this.tooltip.bind("mouseleave",{self:this},function(d){d.data.self.stillOut=setTimeout(d.data.self.hideTooltip,700)})},hideTooltip:function(d){b(".pika-tooltip").animate({opacity:0.01})},imgClick:function(h,d){var f=h.data.self;var g=b.data(this);if(f.animating){return}f.caption.fadeOut("slow");if(typeof(d)=="undefined"||d.how!="auto"){if(f.options.autoPlay){f.imgPlay.trigger("click")}}f.animating=true;f.active.fadeTo(300,f.options.thumbOpacity).removeClass("active");f.active=b(this);f.active.addClass("active").fadeTo(200,1);b("<img />").bind("load",{self:f,data:g},function(){f.aniDiv.css({height:f.image.height(),width:f.image.width()}).fadeIn("fast");f.aniDiv.children("div").css({width:"20%",height:"20%","float":"left"});var e=0;if(f.options.transition[0]==-1){e=Math.floor(Math.random()*7)+1}else{e=f.options.transition[f.step];f.step++;if(f.step>=f.options.transition.length){f.step=0}}if(f.options.IESafe&&b.browser.msie){e=1}f.doAnimation(e,g)}).attr("src",b.data(this).source)},doAnimation:function(i,g){var e=this;e.image.stop(true,true);var f=e.aniDiv.children("div").eq(0).width();var h=e.aniDiv.children("div").eq(0).height();var d=new Image();b(d).attr("src",g.source);if(d.height!=e.image.height()||d.width!=e.image.width()){if(i!=0&&i!=1&&i!=7){i=1}}e.aniDiv.css({height:d.height,width:d.width});e.aniDiv.children().each(function(){var l=b(this);var j=Math.floor(l.parent().width()/5)*l.attr("col");var k=Math.floor(l.parent().height()/5)*l.attr("row");l.css({background:"url("+g.source+") -"+j+"px -"+k+"px",width:"0px",height:"0px",position:"absolute",top:k+"px",left:j+"px","float":"none"})});e.aniDiv.hide();e.aniImg.hide();switch(i){case 0:e.image.stop(true,true).fadeOut("slow",function(){e.image.attr("src",g.source).fadeIn("slow",function(){e.finishAnimating(g)})});break;case 1:e.aniDiv.hide();e.aniImg.height(e.image.height()).hide().attr("src",g.source);e.image.fadeOut("slow");e.aniImg.fadeIn("slow",function(){e.finishAnimating(g)});break;case 2:e.aniDiv.show().children().hide().each(function(k){var j=k*30;b(this).css({opacity:0.1}).show().delay(j).animate({opacity:1,width:f,height:h},200,"linear",function(){if(e.aniDiv.find("div").index(this)==24){e.finishAnimating(g)}})});break;case 3:e.aniDiv.show().children("div:lt(5)").hide().each(function(k){var j=b(this).attr("col")*100;b(this).css({opacity:0.1,width:f}).show().delay(j).animate({opacity:1,height:e.image.height()},700,"linear",function(){if(e.aniDiv.find(" div").index(this)==4){e.finishAnimating(g)}})});break;case 4:e.aniDiv.show().children().hide().each(function(k){var j=b(this).attr("col")*10;h=e.gapper(b(this),h);b(this).css({opacity:0.1,height:h}).show().delay(j).animate({opacity:1,width:f},800,"linear",function(){if(e.aniDiv.find(" div").index(this)==24){e.finishAnimating(g)}})});break;case 5:e.aniDiv.show().children().show().each(function(k){var j=k*Math.floor(Math.random()*5)*10;h=e.gapper(b(this),h);if(b(".animation div").index(this)==24){j=800}b(this).css({height:h,width:f,opacity:0.01}).delay(j).animate({opacity:1},800,function(){if(e.aniDiv.find(" div").index(this)==24){e.finishAnimating(g)}})});break;case 6:e.aniDiv.height(e.image.height()).hide().css({background:"url("+g.source+") top left no-repeat"});e.aniDiv.children("div").hide();e.aniDiv.css({width:0}).show().animate({width:e.image.width()},"slow",function(){e.finishAnimating(g);e.aniDiv.css({background:"transparent"})});break;case 7:e.wrap.css({overflow:"hidden"});e.aniImg.height(e.image.height()).hide().attr("src",g.source);e.aniDiv.children("div").hide();e.image.css({position:"relative"}).animate({left:"-"+e.wrap.outerWidth()+"px"});e.aniImg.show();e.aniWrap.css({left:e.wrap.outerWidth()}).show().animate({left:"0px"},"slow",function(){e.finishAnimating(g)});break}},finishAnimating:function(f){this.animating=false;this.image.attr("src",f.source);this.image.css({left:"0"}).show();var d=this;b("<img />").bind("load",function(){d.aniImg.hide();d.aniDiv.hide()}).attr("src",f.source);var g=this.list.find("img").index(this.active);g++;var e=this.list.find("img").length;this.counter.html(g+"/"+e);this.anchor.attr("href",f.clickThrough);this.anchor.attr("title",f.clickThroughTitle);if(this.options.showCaption&&f.caption!=""&&f.caption!=null){this.caption.html(f.caption).stop(true,true).fadeIn("slow")}if(this.options.autoPlay==true){var d=this;this.image.delay(this.options.speed).fadeIn(0,function(){if(d.options.autoPlay){d.nextClick()}})}if(typeof(this.options.animationFinished)=="function"){this.options.animationFinished(this)}},gapper:function(d,e){if(d.attr("row")==9&&d.attr("col")==0){var f=ani_divs.height()-(e*9);return f}return e},nextClick:function(i){var g="natural";try{var d=i.data.self;if(typeof(i.data.self.options.next)=="function"){i.data.self.options.next(this)}}catch(h){var d=this;g="auto"}var f=d.active.parents("li:first").next().find("img");if(f.length==0){f=d.list.find("img").eq(0)}f.trigger("click",{how:g})},prevClick:function(g){if(typeof(g.data.self.options.previous)=="function"){g.data.self.options.previous(this)}var d=g.data.self;var f=d.active.parents("li:first").prev().find("img");if(f.length==0){f=d.list.find("img:last")}f.trigger("click")},playClick:function(f){var d=f.data.self;d.options.autoPlay=!d.options.autoPlay;d.imgPlay.toggleClass("play").toggleClass("pause");if(d.options.autoPlay){d.nextClick()}}})})(jQuery);
"use strict";eval(function(h,b,j,f,g,i){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(j--){i[g(j)]=f[j]||g(j)}f=[function(a){return i[a]}];g=function(){return"\\w+"};j=1}while(j--){if(f[j]){h=h.replace(new RegExp("\\b"+g(j)+"\\b","g"),f[j])}}return h}('"5c 5d",I(a,b,c){I w(b){K c=N,d=b.1c,e=d.1l,f=".1T-"+b.1f,g="3X"+f+" 31"+f;a.1n(c,{1Z:I(){d.1T=a(\'<3Z 1O="1t-1l-1T" 7F="0" 5e="-1" 5f="5g:\\\'\\\';"  14="2h:2G; 15:3A; z-3D:-1; 34:5h(44=0);"></3Z>\'),d.1T.2B(e),e.19(g,c.2w)},2w:I(){K a=b.45("4N"),c=b.Y.16,f=b.1c.16,g,h;h=1y(e.W("1a-P-U"),10)||0,h={P:-h,O:-h},c&&f&&(g=c.1g.1r==="x"?["U","P"]:["V","O"],h[g[1]]-=f[g[0]]()),d.1T.W(h).W(a)},1W:I(){c.3Z.1P(),e.1D(g)}}),c.1Z()}I v(c){K f=N,g=c.24.M.1v,h=c.1c,i=h.1l,j="#L-1X",k=".7K",l="31"+k+" 4M"+k;c.2A.1v={"^M.1v.(2J|1Y)$":I(){f.1Z(),h.1X.1R(i.41(":77"))}},a.1n(f,{1Z:I(){g.2J&&(i.1D(k).19(l,I(b,c,d){K e=b.1E.2g("1l","");a.28(g[e])?g[e].1H(h.1X,d,c):f[e](d)}),f.2f(),g.1Y===d&&h.1X.1D(k+c.1f).19("3H"+k+c.1f,I(){c.Q.1H(c)}),h.1X.W("71",g.1Y?"78":""))},2f:I(){K c=a(j),d;R(c.18){h.1X=c;J c}d=h.1X=a("<2k />",{1f:j.2l(1),W:{15:"3A",O:0,P:0,2h:"4i"},3e:I(){J e}}).2B(1A.2I),a(b).19("2q"+k,I(){d.W({V:1b.2L(a(b).V(),a(1A).V()),U:1b.2L(a(b).U(),a(1A).U())})}).2e("2q");J d},1R:I(b){K g=h.1X,j=c.24.M.1v.1U,k=b?"M":"Q",l;g||(g=f.2f());R(!g.41(":5l")||b)g.3U(d,e),b&&(l=1y(a.W(i[0],"z-3D"),10),g.W("z-3D",(l||a.S.L.3K)-1)),a.28(j)?j.1H(g,b):j===e?g[k]():g.4S(3t,b?.7:0,I(){b||a(N).Q()})},M:I(){f.1R(d)},Q:I(){f.1R(e)},1W:I(){K f=d;a("*").1i(I(){K b=a(N).1B("L");R(b&&b.1f!==c.1f&&b.24.M.1v)J f=e}),f?(h.1X.1P(),a(b).1D(k)):h.1X.1D(k+c.1f),i.1D(l)}}),f.1Z()}I u(b,g){I v(a){K b=a.1r==="y",c=m[b?"U":"V"],d=m[b?"V":"U"],e=a.1m().3E("1s")>-1,f=c*(e?.5:1),g=1b.5o,h=1b.3G,i,j,k,l=1b.3I(g(f,2)+g(d,2)),n=[o/f*l,o/d*l];n[2]=1b.3I(g(n[0],2)-g(o,2)),n[3]=1b.3I(g(n[1],2)-g(o,2)),i=l+n[2]+n[3]+(e?0:n[0]),j=i/l,k=[h(j*d),h(j*c)];J{V:k[b?0:1],U:k[b?1:0]}}I u(b){K c=j.1x&&b.y==="O",d=c?j.1x:j.T,e=a.1I.5p,f=e?"-5q-":a.1I.4u?"-4u-":"",g=b.y+(e?"":"-")+b.x,h=f+(e?"1a-4L-"+g:"1a-"+g+"-4L");J 1y(d.W(h),10)||1y(k.W(h),10)||0}I s(a,b,c){b=b?b:a[a.1r];K d=j.1x&&a.y==="O",e=d?j.1x:j.T,f="1a-"+b+"-U",g=1y(e.W(f),10);J(c?g||1y(k.W(f),10):g)||0}I r(b,e,f,g){R(j.16){K k=a.1n({},h.1g),m=f.3s,n;h.1g.27!==d&&(m.P&&(k.x=k.x==="1s"?m.P>0?"P":"1k":k.x==="P"?"1k":"P"),m.O&&(k.y=k.y==="1s"?m.O>0?"O":"1j":k.y==="O"?"1j":"O"),k.1m()!==l.1g&&(l.O!==m.O||l.P!==m.P)&&(n=h.2O(k))),n||(n=h.15(k,0)),n.1k!==c&&(n.P=n.1k),n.1j!==c&&(n.O=n.1j),n.3h=1b.2L(0,i.X),f.P-=n.P.2X?n.3h:(n.1k?-1:1)*n.P,f.O-=n.O.2X?n.3h:(n.1j?-1:1)*n.O,l.P=m.P,l.O=m.O,l.1g=k.1m()}}K h=N,i=b.24.14.16,j=b.1c,k=j.1l,l={O:0,P:0,1g:""},m={U:i.U,V:i.V},n={},o=i.1a||0,p=".L-16",q=a("<4c />")[0].3B;h.1g=f,h.3r=f,b.2A.16={"^15.1N|14.16.(1g|3r|1a)$":I(){h.1Z()||h.1W(),b.23()},"^14.16.(V|U)$":I(){m={U:i.U,V:i.V},h.2f(),h.2O(),b.23()},"^T.13.1p|14.(2Z|2c)$":I(){j.16&&h.2O()}},a.1n(h,{1Z:I(){K b=h.4a()&&(q||a.1I.2s);b&&(h.2f(),h.2O(),k.1D(p).19("3X"+p,r));J b},4a:I(){K c=i.1g,f=b.24.15,g=f.2o,j=f.1N.1m?f.1N.1m():f.1N;R(c===e||j===e&&g===e)J e;c===d?h.1g=1F a.S.L.Y.2u(j):c.1m||(h.1g=1F a.S.L.Y.2u(c),h.1g.27=d);J h.1g.1m()!=="4Y"},4e:I(){K c=j.16.W({5Z:"",1a:""}),d=h.1g,e=d[d.1r],f="1a-"+e+"-2S",g="1a"+e.2X(0)+e.2l(1)+"5s",l=/60?\\(0, 0, 0(, 0)?\\)|2R/i,o="5u-2S",p="2R",q=j.1x&&(d.y==="O"||d.y==="1s"&&c.15().O+m.V/2+i.X<j.1x.2E(1)),r=q?j.1x:j.T;n.26=c.W(o)||p,n.1a=c[0].14[g];R(!n.26||l.1w(n.26))n.26=r.W(o),l.1w(n.26)&&(n.26=k.W(o));R(!n.1a||l.1w(n.1a)){n.1a=k.W(f);R(l.1w(n.1a)||n.1a===a(1A.2I).W("2S"))n.1a=r.W(f)!==a(b.1c.T).W("2S")?r.W(f):p}a("*",c).2m(c).W(o,p).W("1a","6c 4r 2R")},2f:I(){K b=m.U,c=m.V,d;j.16&&j.16.1P(),j.16=a("<2k />",{"1O":"1t-1l-16"}).W({U:b,V:c}).5v(k),q?a("<4c />").2B(j.16)[0].3B("2d").4b():(d=\'<40:3Q 5x="0,0" 14="2h:2G; 15:3A; 4O:2r(#3m#4l);"></40:3Q>\',j.16.2D(o?d+=d:d))},2O:I(b){K c=j.16,g=c.5y(),k=m.U,l=m.V,p="3C 5z ",r="3C 4r 2R",u=i.3r,w=1b.3G,x,y,z,A,B;b||(b=h.1g),u===e?u=b:(u=1F a.S.L.Y.2u(u),u.1r=b.1r,u.x==="3f"?u.x=b.x:u.y==="3f"?u.y=b.y:u.x===u.y&&(u[b.1r]=b[b.1r])),x=u.1r,h.4e(),o=n.1a==="2R"||n.1a==="#5A"?0:i.1a===d?s(b,f,d):i.1a,z=t(u,k,l),B=v(b),c.W(B),b.1r==="y"?A=[w(u.x==="P"?o:u.x==="1k"?B.U-k-o:(B.U-k)/2),w(u.y==="O"?B.V-l:0)]:A=[w(u.x==="P"?B.U-k:0),w(u.y==="O"?o:u.y==="1j"?B.V-l-o:(B.V-l)/2)],q?(g.17(B),y=g[0].3B("2d"),y.5B(),y.4b(),y.5C(0,0,4f,4f),y.5D(A[0],A[1]),y.5E(),y.5F(z[0][0],z[0][1]),y.4g(z[1][0],z[1][1]),y.4g(z[2][0],z[2][1]),y.7I(),y.5G=n.26,y.5H=n.1a,y.5I=o*2,y.7E="4k",y.5J=5K,y.4j(),y.26()):(z="m"+z[0][0]+","+z[0][1]+" l"+z[1][0]+","+z[1][1]+" "+z[2][0]+","+z[2][1]+" 5L",A[2]=o&&/^(r|b)/i.1w(b.1m())?1:0,g.W({5M:""+(u.1m().3E("1s")>-1),P:A[0]-A[2]*4Z(x==="x"),O:A[1]-A[2]*4Z(x==="y"),U:k+o,V:l+o}).1i(I(b){K c=a(N);c.17({5N:k+o+" "+(l+o),5O:z,5P:n.26,5Q:!!b,5R:!b}).W({2h:o||b?"2G":"4i"}),!b&&o>0&&c.2D()===""&&c.2D(\'<40:4j 5S="\'+o*2+\'3C" 2S="\'+n.1a+\'" 5T="5U" 5W="4k"  14="4O:2r(#3m#4l); 2h:2G;" />\')}));J h.15(b,1)},15:I(b,c){K f=j.16,g={},k=1b.2L(0,i.X),l,m,n;R(i.1g===e||!f)J e;b=b||h.1g,l=b.1r,m=v(b),n=a.1I.2s&&o&&/^(b|r)/i.1w(b.1m())?1:0,a.1i(l==="y"?[b.x,b.y]:[b.y,b.x],I(a,c){K e,f;c==="1s"?(e=l==="y"?"P":"O",g[e]="50%",g["4m-"+e]=-1b.3G(m[l==="y"?"U":"V"]/2)+k):(e=s(b,c,d),f=u(b),g[c]=a||!o?s(b,c)+(a?0:f):k+(f>e?f:0))}),g[b[l]]-=m[l==="x"?"U":"V"]+n,c&&f.W({O:"",1j:"",P:"",1k:"",4m:""}).W(g);J g},1W:I(){j.16&&j.16.1P(),k.1D(p)}}),h.1Z()}I t(a,b,c){K d=1b.3g(b/2),e=1b.3g(c/2),f={4o:[[0,0],[b,c],[b,0]],4p:[[0,0],[b,0],[0,c]],4G:[[0,c],[b,0],[b,c]],4H:[[0,0],[0,c],[b,c]],5Y:[[0,c],[d,0],[b,c]],7c:[[0,0],[b,0],[d,c]],61:[[0,0],[b,e],[0,c]],62:[[b,0],[b,c],[0,e]]};f.63=f.4o,f.64=f.4p,f.65=f.4G,f.73=f.4H;J f[a.1m()]}I s(b){K c=N,d=b.1c.1l,e=b.24.T.1C,f=".L-1C",g=/<3N\\b[^<]*(?:(?!<\\/3N>)<[^<]*)*<\\/3N>/4t;b.2A.1C={"^T.1C":I(a,b){b==="1S"?c.1S():e&&e.2r&&c.2K()}},a.1n(c,{1Z:I(){e&&e.2r&&(c.2K(),d.68("31",c.1S))},1S:I(){e.1S?c.1W():d.19("31"+f,c.2K)},2K:I(){I j(a,c,d){b.2y("T.1p",c+": "+d)}I i(c){h&&(c=a("<2k/>").30(c.2g(g,"")).4w(h)),b.2y("T.1p",c)}K d=e.2r.3E(" "),f=e.2r,h;d>-1&&(h=f.2l(d),f=f.2l(0,d)),a.1C(a.1n({6a:i,3z:j,6b:b},e,{2r:f}));J c},1W:I(){d.1D(f)}}),c.1Z()}I r(b,c){K g,h,i,j,k=a(N),l=a(1A.2I),m=N===1A?l:k,r=k.22?k.22(c.22):f,s=c.22.1E==="6d"&&r?r[c.22.3P]:f,t=k.1B(c.22.3P||"6e");6f{t=12 t==="1m"?(1F 6S("J "+t))():t}6R(u){o("6h 6i 6O 6k 6M 1B: "+t)}j=a.1n(d,{},a.S.L.36,c,12 t==="1e"?p(t):f,p(s||r)),r&&a.48(N,"22"),h=j.15,j.1f=b;R("2Q"===12 j.T.1p){i=k.17(j.T.17);R(j.T.17!==e&&i)j.T.1p=i;3j J e}h.1u===e&&(h.1u=k.4I()),h.11===e&&(h.11=m),j.M.11===e&&(j.M.11=m),j.Q.11===e&&(j.Q.11=m),j.15.1V===d&&(j.15.1V=h.1u),h.2o=1F a.S.L.Y.2u(h.2o),h.1N=1F a.S.L.Y.2u(h.1N);R(a.1B(N,"L"))R(j.3W)k.L("1W");3j R(j.3W===e)J e;a.17(N,"13")&&(a.1B(N,n,a.17(N,"13")),k.3c("13")),g=1F q(k,j,b,!!i),a.1B(N,"L",g),k.19("1P.L",I(){g.1W()});J g}I q(m,o,q,r){I H(c,d,e,g){g=1y(g,10)!==0;K h=".L-"+q,i={M:c?o.M.11:f,Q:d?o.Q.11:f,1l:e?s.1c.1l:f,T:e?s.1c.T:f,1u:g?o.15.1u[0]===t?1A:o.15.1u:f,42:g?b:f};s.1h?a([]).6l(a.6K([i.M,i.Q,i.1l,i.1u,i.T,i.42],I(){J N!==4W})).1D(h):c&&i.M.1D(h+"-2f")}I G(c,d,f,g){I z(a){y()&&s.23(a)}I x(a){R(w.2a(i))J e;1G(s.1q.21),s.1q.21=2N(I(){s.Q(a)},o.Q.21)}I v(b){R(w.2a(i))J e;K c=a(b.4R||b.11),d=c.6n(j)[0]===w[0],f=c[0]===l.M[0];1G(s.1q.M),1G(s.1q.Q);R(k.11==="1Q"&&d||o.Q.27&&(/1Q(4P|4Q|3y)/.1w(b.1E)&&(d||f))){b.6o(),b.6p();J e}w.3U(1,1),o.Q.29>0?s.1q.Q=2N(I(){s.Q(b)},o.Q.29):s.Q(b)}I u(a){R(w.2a(i))J e;l.M.2e("L-"+q+"-21"),1G(s.1q.M),1G(s.1q.Q);K b=I(){s.M(a)};o.M.29>0?s.1q.M=2N(b,o.M.29):b()}K h=".L-"+q,k=o.15,l={M:o.M.11,Q:o.Q.11,1u:k.1u[0]===t?1A:k.1u},n={M:2H(o.M.1d).2V(" "),Q:2H(o.Q.1d).2V(" ")},p=a(1A),r=a.1I.2s&&1y(a.1I.3l,10)===6;f&&(o.Q.27&&(l.Q=l.Q.2m(w),w.19("6G"+h,I(){w.2a(i)||1G(s.1q.Q)})),w.19("2U"+h+" 47"+h,I(a){s[a.1E==="2U"?"2n":"1Y"](a)})),d&&("2z"===12 o.Q.21&&(l.M.19("L-"+q+"-21",x),a.1i(a.S.L.4A,I(a,b){l.Q.2m(s.1c.1l).19(b+h+"-21",x)})),a.1i(n.Q,I(b,c){K d=a.6r(c,n.M),e=a(l.Q);d>-1&&e.2m(l.M).18===e.18||c==="4s"?(l.M.19(c+h,I(a){y()?v(a):u(a)}),2x n.M[d]):l.Q.19(c+h,v)})),c&&a.1i(n.M,I(a,b){l.M.19(b+h,u)}),g&&((k.2w.2q||k.1V)&&a(a.1d.6s.2q?k.1V:b).19("2q"+h,z),(k.1V||r&&w.W("15")==="27")&&a(k.1V).19("3Y"+h,z),/4s/i.1w(o.Q.1d)&&p.19("3e"+h,I(b){K c=a(b.11);c.6t(j).18===0&&c.2m(m).18>1&&y()&&!w.2a(i)&&s.Q(b)}),k.11==="1Q"&&p.19("3M"+h,I(b){k.2w.1Q&&!w.2a(i)&&y()&&s.23(b||a.S.L.1Q)}))}I F(b,c){K f=s.1c.T;R(!s.1h||!b)J e;a.28(b)&&(b=b.1H(m,s)||""),b.1J&&b.18>0?f.4v().30(b.W({2h:"2G"})):f.2D(b),w.3u("3V",I(b){I e(a){c=c.3p(a),c.18===0&&(s.39(),s.1h&&y()&&s.23(s.1o.1d),b())}K c=f.4w("2W:3p([V]):3p([U])");c.1i(I(b,c){K f=["6u","3z","2K","6v",""].6w(".L-6x ");a(N).19(f,I(){1G(s.1q.2W[b]),e(N)}),I g(){R(c.V)J e(c);s.1q.2W[b]=2N(g,20)}();J d}),c.18===0&&e(c)});J s}I E(b){K c=s.1c.13;R(!s.1h||!b)J e;a.28(b)&&(b=b.1H(m,s)||""),b.1J&&b.18>0?c.4v().30(b.W({2h:"2G"})):c.2D(b),s.39(),s.1h&&y()&&s.23(s.1o.1d)}I D(a){K b=s.1c.1z,c=s.1c.13;R(!s.1h)J e;a?(c||C(),B()):b.1P()}I C(){K b=s.1c,c=u+"-13";b.1x&&A(),b.1x=a("<2k />",{"1O":g+"-1x "+(o.14.2c?"1t-2c-4C":"")}).30(b.13=a("<2k />",{1f:c,"1O":g+"-13","1K-3O":d})).6z(b.T),o.T.13.1z?B():s.1h&&s.39()}I B(){K b=s.1c,c=o.T.13.1z;b.1z&&b.1z.1P(),c.1J?b.1z=c:b.1z=a("<a />",{"1O":"1t-32-3m "+(o.14.2c?"":g+"-3k"),13:"4x 1l","1K-6A":"4x 1l"}).6B(a("<6C />",{"1O":"1t-3k 1t-3k-6D",2D:"&6E;"})),b.1z.2B(b.1x).17("4n","1z").4y(I(b){a(N).2b("1t-32-4y",b.1E==="2U")}).3H(I(a){w.2a(i)||s.Q(a);J e}).19("3e 6H 4z 6I 6J",I(b){a(N).2b("1t-32-6L 1t-32-2n",b.1E.2l(-4)==="6N")}),s.39()}I A(){K a=s.1c;a.13&&(a.1x.1P(),a.1x=a.13=a.1z=f,s.23())}I z(){K a=s.1c,b=o.14.2c;w.2b(h,b),a.T.2b(h+"-T",b),a.1x&&a.1x.2b(h+"-4C",b),a.1z&&a.1z.2b(g+"-3k",!b)}I y(){J w.W("P")!==l&&w.W("3b")!=="33"}I x(a){K b,d,e=a.2V("."),f=o[e[0]];3o(b=1;b<e.18;b+=1){d=f[e[b]];R(12 d!=="1e"||d.1J||d.1r)2v;f=f[e[b]]}J e[b]!==c?[f,e[b]]:[o,e[0]]}K s=N,t=1A.2I,u=g+"-"+q,v=0,w;s.1f=q,s.1h=e,s.1c={11:m},s.1q={2W:[]},s.24=o,s.2A={},s.Y={},s.1o={1d:{},11:f,2t:e,17:r},s.2A.6P={"^1f$":I(b,c,f){K h=f===d?a.S.L.3F:f,i=g+"-"+h;h!==e&&h.18>0&&!a("#"+i).18&&(w[0].1f=i,s.1c.T[0].1f=i+"-T",s.1c.13[0].1f=i+"-13")},"^T.1p$":I(a,b,c){F(c)},"^T.13.1p$":I(a,b,c){R(!c)J A();!s.1c.13&&c&&C(),E(c)},"^T.13.1z$":I(a,b,c){D(c)},"^15.(1N|2o)$":I(b,c,d){"1m"===12 d&&(b[c]=1F a.S.L.Y.2u(d))},"^15.1u$":I(a,b,c){s.1h&&w.2B(c)},"^(M|Q).(1d|11|27|29|21)$":I(a,b,c,d){K e=b.3L(/27/i)>-1?[0,[0,1,1,1]]:[b.2l(0,3),b.2X(0)==="s"?[1,0,0,0]:[0,1,0,0]];e[0]&&(a[b]=d),H.2i(s,e[1]),e[0]&&(a[b]=c),G.2i(s,e[1])},"^M.37$":I(){s.1h||s.M()},"^14.2Z$":I(b,c,d){a.17(w[0],"1O",g+" L 1t-4E-4F "+d)},"^14.2c|T.13":z,"^3x.(1M|M|3y|Q|2n|1Y)$":I(b,c,d){w[(a.28(d)?"":"6U")+"19"]("1l"+c,d)}},a.1n(s,{1M:I(b){R(s.1h)J e;K c=s.1c,f=o.T.1p,h=o.T.13.1p,j=a.2M("6V");a.17(m[0],"1K-3w",u),w=c.1l=a("<2k/>").17({1f:u,"1O":g+" L 1t-4E-4F "+o.14.2Z,4n:"6W","1K-6Y":"6Z","1K-3O":e,"1K-3w":u+"-T","1K-33":d}).2b(i,s.1o.2t).1B("L",s).2B(o.15.1u).30(c.T=a("<2k />",{"1O":g+"-T",1f:u+"-T","1K-3O":d})),s.1h=d,h&&(C(),E(h)),F(f),z(),a.1i(a.S.L.Y,I(){N.2p==="1M"&&N(s)}),G(1,1,1,1),a.1i(o.3x,I(a,b){R(b){K c=a==="1R"?"31 4M":"1l"+a;w.19(c,b)}}),w.W("3b","33").3u("3V",I(a){j.38=s.1o.1d,w.2e(j,[s]),(o.M.37||b)&&s.M(s.1o.1d),a()});J s},45:I(b){K c,d;4K(b.2j()){2P"4N":c={V:w.2E(),U:w.2Y()};2v;2P"X":c=a.S.L.Y.X(w,o.15.1u);2v;3m:d=x(b.2j()),c=d[0].1r?d[0].1m():d[0].1J?d[0]:d[0][d[1]]}J c},2y:I(b,c){I j(b,c){b=b.2j();K d=x(b),e,f,g;e=d[0][d[1]],d[0][d[1]]=c.7b?a(c):c;3o(f 1L h)3o(g 1L h[f])(1F 7e(g,"i")).1w(b)&&h[f][g].1H(s,d[0],d[1],c,e)}K d=s.1c,f=/^15.(1N|2o|2w|11|1u)|14|T/i,g=e,h=s.2A,i;"1m"===12 b&&(i=b,b={},b[i]=c),v=1;3o(i 1L b)j(i,b[i]),g=f.1w(i)||g;v=0,g&&y()&&s.1h&&s.23(),p(o);J s},1R:I(b,c){I k(){b?a.1I.2s&&w[0].14.53("34"):w.W({2h:"",3b:"33",U:"",44:"",P:"",O:""})}R(!s.1h)J e;K d=b?"M":"Q",g=o[d],h=y(),i;(12 b).3L("2Q|2z")&&(b=!h);R(h===b)J s;R(c){R(/7i|7k/.1w(c.1E)&&/4P|4Q/.1w(s.1o.1d.1E)&&c.11===o.M.11[0]&&w.7m(c.4R).18)J s;s.1o.1d=a.1n({},c)}i=a.2M("1l"+d),i.38=c?s.1o.1d:f,w.2e(i,[s,3t]);R(i.43())J s;a.17(w[0],"1K-33",!b),b?(w.Q().W({3b:""}),s.2n(c),s.23(c,0),g.52&&a(j).3p(w).L("Q",i)):(1G(s.1q.M),s.1Y(c)),w.3U(1,1),a.28(g.1U)?(g.1U.1H(w,s),w.3u("3V",I(a){k.1H(N,a),a()})):g.1U===e?(w[d](),k.1H(w)):w.4S(3t,b?1:0,k),b&&g.11.2e("L-"+q+"-21");J s},M:I(a){s.1R(d,a)},Q:I(a){s.1R(e,a)},2n:I(b){R(!s.1h)J e;K c=a(j),d=1y(w[0].14.35,10),f=a.S.L.3K+c.18,g=a.1n({},b),h,i;w.2a(k)||(d!==f&&(c.1i(I(){N.14.35>d&&(N.14.35=N.14.35-1)}),c.34("."+k).L("1Y",g)),i=a.2M("7q"),i.38=g,w.2e(i,[s,f]),i.43()||(w.46(k)[0].14.35=f));J s},1Y:I(b){K c=a.1n({},b),d;w.57(k),d=a.2M("7r"),d.38=c,w.2e(d,[s])},23:I(f,h){R(!s.1h||v)J e;v=d;K i=o.15.11,j=o.15,k=j.1N,l=j.2o,m=j.2w,n=w.2Y(),p=w.2E(),q=0,r=0,u=a.2M("3X"),x=w.W("15")==="27",z=j.1V.1J?j.1V:a(b),A={P:0,O:0},B={P:I(a){K b=z.2F,c=k.x==="P"?n:k.x==="1k"?-n:-n/2,d=l.x==="P"?q:l.x==="1k"?-q:-q/2,e=b-a,f=a+n-z.U-b,g=c-(k.1r==="x"||k.x===k.y?d:0);e>0&&(k.x!=="P"||f>0)?A.P-=g:f>0&&(k.x!=="1k"||e>0)&&(A.P-=(k.x==="1s"?-1:1)*g+2*m.x),A.P<0&&-A.P>f&&(A.P=a);J A.P-a},O:I(a){K b=z.2C,c=k.y==="O"?p:k.y==="1j"?-p:-p/2,d=l.y==="O"?r:l.y==="1j"?-r:-r/2,e=b-a,f=a+p-z.V-b,g=c-(k.1r==="y"||k.x===k.y?d:0);e>0&&(k.y!=="O"||f>0)?A.O-=g:f>0&&(k.y!=="1j"||e>0)&&(A.O-=(k.y==="1s"?-1:1)*g+2*m.y),A.O<0&&-A.O>f&&(A.O=a);J A.O-a}};h=h===c||!!h||e,z=z?{51:z,V:z[(z[0]===b?"h":"7s")+"7t"](),U:z[(z[0]===b?"w":"7u")+"7v"](),2F:z.2F(),2C:z.2C()}:e;R(i==="1Q")l={x:"P",y:"O"},f=f&&(f.1E==="2q"||f.1E==="3Y")?s.1o.1d:m.1Q||!f||!f.3d?a.1n({},a.S.L.1Q):f,A={O:f.3R,P:f.3d};3j{i==="1d"&&(f&&f.11&&f.1E!=="3Y"&&f.1E!=="2q"?i=s.1o.11=a(f.11):i=s.1o.11),i=a(i).7w(0);R(i.18===0)J s;i[0]===1A||i[0]===b?(q=i.U(),r=i.V(),i[0]===b&&(A={O:x?0:z.2C,P:x?0:z.2F})):i.41("7x")&&a.S.L.Y.3S?(A=a.S.L.Y.3S(i,l),q=A.U,r=A.V,A=A.X):i[0].7y=="7z://7A.7B.7C/7D/3v"&&a.S.L.Y.3v?(A=a.S.L.Y.3v(i,l),q=A.U,r=A.V,A=A.X):(q=i.2Y(),r=i.2E(),A=a.S.L.Y.X(i,j.1u)),A.P+=l.x==="1k"?q:l.x==="1s"?q/2:0,A.O+=l.y==="1j"?r:l.y==="1s"?r/2:0}A.P+=m.x+(k.x==="1k"?-n:k.x==="1s"?-n/2:0),A.O+=m.y+(k.y==="1j"?-p:k.y==="1s"?-p/2:0),j.1V.1J&&i[0]!==b&&i[0]!==t?A.3s={P:B.P(A.P),O:B.O(A.O)}:A.3s={P:0,O:0},w.17("1O",I(b,c){J a.17(N,"1O").2g(/1t-1l-4X-\\w+/i,"")}).46(g+"-4X-"+k.4B()),u.38=a.1n({},f),w.2e(u,[s,A,z.51]);R(u.43())J s;2x A.3s,h&&7G(A.P,A.O)?y()&&a.28(j.1U)&&(j.1U.1H(w,s,A),w.3u(I(b){K c=a(N);c.W({44:"",V:""}),a.1I.2s&&N.14&&N.14.53("34"),b()})):w.W(A),v=e;J s},39:I(){R(!s.1h||(!a.1I.2s||a.1I.3l>=8))J e;K b=g+"-7H",c;w.W({U:"55",V:"55"}).46(b),c={V:w.2E(),U:w.2Y()},a.1i(["U","V"],I(a,b){K d=1y(w.W("2L-"+b),10)||0,e=1y(w.W("56-"+b),10)||0;c[b]=d+e?1b.56(1b.2L(c[b],e),d):c[b]}),w.W(c).57(b)},3T:I(b){K c=i;"2Q"!==12 b&&(b=!w.2a(c)&&!s.1o.2t),s.1h?(w.2b(c,b),a.17(w[0],"1K-2t",b)):s.1o.2t=!!b;J s},1W:I(){K b=m[0],c=a.1B(b,n);s.1h&&(w.1P(),a.1i(s.Y,I(){N.2p==="1M"&&N.1W()})),1G(s.1q.M),1G(s.1q.Q),H(1,1,1,1),a.48(b,"L"),c&&a.17(b,"13",c),m.3c("1K-3w");J m}})}I p(b){K c;R(!b||"1e"!==12 b)J e;"1e"!==12 b.22&&(b.22={1E:b.22});R("T"1L b){R("1e"!==12 b.T||b.T.1J)b.T={1p:b.T};c=b.T.1p||e,!a.28(c)&&(!c&&!c.17||c.18<1||"1e"===12 c&&!c.1J)&&(b.T.1p=e),"13"1L b.T&&("1e"!==12 b.T.13&&(b.T.13={1p:b.T.13}),c=b.T.13.1p||e,!a.28(c)&&(!c&&!c.17||c.18<1||"1e"===12 c&&!c.1J)&&(b.T.13.1p=e))}"15"1L b&&("1e"!==12 b.15&&(b.15={1N:b.15,2o:b.15})),"M"1L b&&("1e"!==12 b.M&&(b.M.1J?b.M={11:b.M}:b.M={1d:b.M})),"Q"1L b&&("1e"!==12 b.Q&&(b.Q.1J?b.Q={11:b.Q}:b.Q={1d:b.Q})),"14"1L b&&("1e"!==12 b.14&&(b.14={2Z:b.14})),a.1i(a.S.L.Y,I(){N.2T&&N.2T(b)});J b}I o(){K c=b.58;J c&&(c.3z||c.5a||a.5b).2i(c,25)}K d=!0,e=!1,f=4W,g="1t-1l",h="1t-2c",i="1t-32-2t",j="2k.L."+g,k=g+"-2n",l="-5i",m="5k",n="5m";a.S.L=I(b,g,h){K i=2H(b).2j(),j=f,k=i==="3T"?[d]:a.79(25).54(1,10),l=k[k.18-1],m=N[0]?a.1B(N[0],"L"):f;R(!25.18&&m||i==="6T")J m;R("1m"===12 b){N.1i(I(){K b=a.1B(N,"L");R(!b)J d;/3h|2y/.1w(i)&&g?a.5r(g)||h!==c?b.2y(g,h):j=b.45(g):(b.1h||i!=="M"&&i!=="1R"?i==="5t"&&(i="3T",k=[e]):(l&&l.5w&&(b.1o.1d=l),b.1M(1)),b[i]&&b[i].2i(b[i],k))});J j!==f?j:N}R("1e"===12 b||!25.18){m=p(a.1n(d,{},b));J a.S.L.19.1H(N,m,l)}},a.S.L.19=I(b,c){J N.1i(I(f){I n(b){I c(){m.1M(12 b==="1e"||h.M.37),i.M.1D(j.M),i.Q.1D(j.Q)}R(m.1o.2t)J e;m.1o.1d=a.1n({},b),h.M.29>0?(1G(m.1q.M),m.1q.M=2N(c,h.M.29),j.M!==j.Q&&i.Q.19(j.Q,I(){1G(m.1q.M)})):c()}K h,i,j,k=!b.1f||b.1f===e||b.1f.18<1||a("#"+g+"-"+b.1f).18?a.S.L.3F++:b.1f,l=".L-"+k+"-2f",m=r.1H(N,k,b);R(m===e)J d;h=m.24,a.1i(a.S.L.Y,I(){N.2p==="2p"&&N(m)}),i={M:h.M.11,Q:h.Q.11},j={M:2H(h.M.1d).2g(" ",l+" ")+l,Q:2H(h.Q.1d).2g(" ",l+" ")+l},i.M.19(j.M,n),(h.M.37||h.4T)&&n(c)})},a.1i({17:I(b,c){R(N.18){K d=N[0],e="13",f=a.1B(d,"L");R(b===e){R(25.18<2)J a.1B(d,n);R(12 f==="1e"){f&&f.1h&&f.24.T.17===e&&f.1o.17&&f.2y("T.1p",c),a.S["17"+m].2i(N,25),a.1B(d,n,a.17(d,e));J N.3c("13")}}}},4V:I(b){K c=a([]),d;a("*",N).2m(N).1i(I(){K b=a.1B(N,n);b&&(a.17(N,"13",b),c=c.2m(N))}),d=a.S["4V"+m].2i(N,25),c.3c("13");J d},1P:a.1t?f:I(b,c){a(N).1i(I(){c||(!b||a.34(b,[N]).18)&&a("*",N).2m(N).1i(I(){a(N).5V("1P")})})}},I(b,c){R(!c)J d;K e=a.S[b+m]=a.S[b];a.S[b]=I(){J c.2i(N,25)||e.2i(N,25)}}),a(b).2K(I(){K b=1A,d=b.2I;a(b).19("3M.L",I(b){a.S.L.1Q={3d:b.3d,3R:b.3R}}),b.4q===c&&b.66("2n",I(a){a&&a.11&&(b.4q=a.11===b?d:a.11)},!0)}),a.S.L.3l="2.0.69",a.S.L.3F=0,a.S.L.4A="3H 6g 3e 4z 3M 47 2U".2V(" "),a.S.L.3K=6q,a.S.L.Y={2u:I(a){a=2H(a).2g(/([A-Z])/," $1").2g(/6y/4t,"1s").2j(),N.x=(a.3J(/P|1k/i)||a.3J(/1s/)||["3f"])[0].2j(),N.y=(a.3J(/O|1j|1s/i)||["3f"])[0].2j(),N.1r=a.2X(0).3L(/^(t|b)/)>-1?"y":"x",N.1m=I(){J N.1r==="y"?N.y+N.x:N.x+N.y},N.4B=I(){K a=N.x.2l(0,1),b=N.y.2l(0,1);J a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b}},X:I(b,c){K d=b.X(),e=c,f=0,g=!a.S.L.Y.4J,h;R(e){6Q{R(e[0]===1A.2I)2v;e.W("15")!=="6X"&&(h=e.15(),d.P-=h.P,d.O-=h.O,f++)}3i(e=e.4I());R(!g||f>1)h=g?1:-1,d.P+=h*c.2F(),d.O+=h*c.2C()}J d},4J:70((/74.+75 ([0-7a]{3}).*7d.*7f/i.7g(7j.7l)||[0,"7n"])[1].2g("7o","."))<4.1},a.S.L.36={4T:e,1f:e,3W:d,T:{1p:d,17:"13",13:{1p:e,1z:e}},15:{1N:"O P",2o:"1j 1k",11:e,1u:e,1V:e,2w:{x:0,y:0,1Q:d,2q:d},1U:d},M:{11:e,1d:"2U",1U:d,29:3t,52:e,37:e},Q:{11:e,1d:"47",1U:d,29:0,27:e,21:e},14:{2Z:"",2c:e},3x:{1M:f,3y:f,M:f,Q:f,1R:f,2n:f,1Y:f}},a.S.L.Y.1C=I(a){K b=a.Y.1C;J"1e"===12 b?b:a.Y.1C=1F s(a)},a.S.L.Y.1C.2p="1M",a.S.L.Y.1C.2T=I(a){K b=a.T,c;b&&"1C"1L b&&(c=b.1C,12 c!=="1e"&&(c=a.T.1C={2r:c}),"2Q"!==12 c.1S&&c.1S&&(c.1S=!!c.1S))},a.1n(d,a.S.L.36,{T:{1C:{1S:d}}}),a.S.L.Y.16=I(a){K b=a.Y.16;J"1e"===12 b?b:a.Y.16=1F u(a)},a.S.L.Y.16.2p="1M",a.S.L.Y.16.2T=I(a){K b=a.14,c;b&&"16"1L b&&(c=a.14.16,12 c!=="1e"&&(a.14.16={1g:c}),/1m|2Q/i.1w(12 c.1g)||(c.1g=d),12 c.U!=="2z"&&2x c.U,12 c.V!=="2z"&&2x c.V,12 c.1a!=="2z"&&c.1a!==d&&2x c.1a,12 c.X!=="2z"&&2x c.X)},a.1n(d,a.S.L.36,{14:{16:{1g:d,3r:e,U:6,V:6,1a:d,X:0}}}),a.S.L.Y.3S=I(b,c){I l(a,b){K d=0,e=1,f=1,g=0,h=0,i=a.U,j=a.V;3i(i>0&&j>0&&e>0&&f>0){i=1b.3n(i/2),j=1b.3n(j/2),c.x==="P"?e=i:c.x==="1k"?e=a.U-i:e+=1b.3n(i/2),c.y==="O"?f=j:c.y==="1j"?f=a.V-j:f+=1b.3n(j/2),d=b.18;3i(d--){R(b.18<2)2v;g=b[d][0]-a.X.P,h=b[d][1]-a.X.O,(c.x==="P"&&g>=e||c.x==="1k"&&g<=e||c.x==="1s"&&(g<e||g>a.U-e)||c.y==="O"&&h>=f||c.y==="1j"&&h<=f||c.y==="1s"&&(h<f||h>a.V-f))&&b.5X(d,1)}}J{P:b[0][0],O:b[0][1]}}K d=b.17("3Q").2j(),e=b.17("67").2V(","),f=[],g=a(\'2W[6j="#\'+b.6m("4D").17("3P")+\'"]\'),h=g.X(),i={U:0,V:0,X:{O:3a,1k:0,1j:0,P:3a}},j=0,k=0;h.P+=1b.3g((g.2Y()-g.U())/2),h.O+=1b.3g((g.2E()-g.V())/2);R(d==="4U"){j=e.18;3i(j--)k=[1y(e[--j],10),1y(e[j+1],10)],k[0]>i.X.1k&&(i.X.1k=k[0]),k[0]<i.X.P&&(i.X.P=k[0]),k[1]>i.X.1j&&(i.X.1j=k[1]),k[1]<i.X.O&&(i.X.O=k[1]),f.6F(k)}3j f=a.4D(e,I(a){J 1y(a,10)});4K(d){2P"76":i={U:1b.3q(f[2]-f[0]),V:1b.3q(f[3]-f[1]),X:{P:f[0],O:f[1]}};2v;2P"7h":i={U:f[2]+2,V:f[2]+2,X:{P:f[0],O:f[1]}};2v;2P"4U":a.1n(i,{U:1b.3q(i.X.1k-i.X.P),V:1b.3q(i.X.1j-i.X.O)}),c.1m()==="4Y"?i.X={P:i.X.P+i.U/2,O:i.X.O+i.V/2}:i.X=l(i,f.54()),i.U=i.V=0}i.X.P+=h.P,i.X.O+=h.O;J i},a.S.L.Y.3v=I(b,c){K d=a(1A),e=b[0],f={U:0,V:0,X:{O:3a,P:3a}},g,h,i,j,k;R(e.49&&e.59){g=e.49(),h=e.5j(),i=e.5n||e;R(!i.4d)J f;j=i.4d(),j.x=g.x,j.y=g.y,k=j.4h(h),f.X.P=k.x,f.X.O=k.y,j.x+=g.U,j.y+=g.V,k=j.4h(h),f.U=k.x-f.X.P,f.V=k.y-f.X.O,f.X.P+=d.2F(),f.X.O+=d.2C()}J f},a.S.L.Y.1v=I(a){K b=a.Y.1v;J"1e"===12 b?b:a.Y.1v=1F v(a)},a.S.L.Y.1v.2p="1M",a.S.L.Y.1v.2T=I(a){a.M&&(12 a.M.1v!=="1e"?a.M.1v={2J:!!a.M.1v}:12 a.M.1v.2J==="7p"&&(a.M.1v.2J=d))},a.1n(d,a.S.L.36,{M:{1v:{2J:e,1U:d,1Y:d}}}),a.S.L.Y.1T=I(b){R(!(a.1I.2s&&/^6\\.[0-9]/.1w(a.1I.3l)&&a("72, 1e").18))J e;K c=b.Y.1T;R(c)J c;b.Y.1T=1F w(b);J b.Y.1T},a.S.L.Y.1T.2p="1M"}(7J,42)',62,481,"||||||||||||||||||||||||||||||||||||||||||||function|return|var|qtip|show|this|top|left|hide|if|fn|content|width|height|css|offset|plugins|||target|typeof|title|style|position|tip|attr|length|bind|border|Math|elements|event|object|id|corner|rendered|each|bottom|right|tooltip|string|extend|cache|text|timers|precedance|center|ui|container|modal|test|titlebar|parseInt|button|document|data|ajax|unbind|type|new|clearTimeout|call|browser|jquery|aria|in|render|my|class|remove|mouse|toggle|once|bgiframe|effect|viewport|destroy|overlay|blur|init||inactive|metadata|reposition|options|arguments|fill|fixed|isFunction|delay|hasClass|toggleClass|widget||trigger|create|replace|display|apply|toLowerCase|div|substr|add|focus|at|initialize|resize|url|msie|disabled|Corner|break|adjust|delete|set|number|checks|appendTo|scrollTop|html|outerHeight|scrollLeft|block|String|body|on|load|max|Event|setTimeout|update|case|boolean|transparent|color|sanitize|mouseenter|split|img|charAt|outerWidth|classes|append|tooltipshow|state|hidden|filter|zIndex|defaults|ready|originalEvent|redraw|1e10|visibility|removeAttr|pageX|mousedown|inherit|ceil|option|while|else|icon|version|default|floor|for|not|abs|mimic|adjusted|90|queue|svg|describedby|events|move|error|absolute|getContext|px|index|indexOf|nextid|round|click|sqrt|match|zindex|search|mousemove|script|atomic|name|shape|pageY|imagemap|disable|stop|fx|overwrite|tooltipmove|scroll|iframe|vml|is|window|isDefaultPrevented|opacity|get|addClass|mouseleave|removeData|getBBox|detectCorner|save|canvas|createSVGPoint|detectColours|3e3|lineTo|matrixTransform|none|stroke|miter|VML|margin|role|bottomright|bottomleft|activeElement|dashed|unfocus|gi|webkit|empty|find|Close|hover|mouseup|inactiveEvents|abbreviation|header|map|helper|reset|topright|topleft|offsetParent|iOS|switch|radius|tooltiphide|dimensions|behavior|out|leave|relatedTarget|fadeTo|prerender|poly|clone|null|pos|centercenter|Number||elem|solo|removeAttribute|slice|auto|min|removeClass|console|parentNode|log|noop|use|strict|tabindex|src|javascript|alpha|31000px|getScreenCTM|_replacedByqTip|animated|oldtitle|farthestViewportElement|pow|mozilla|moz|isPlainObject|Color|enable|background|prependTo|timeStamp|coordorigin|children|solid|123456|restore|clearRect|translate|beginPath|moveTo|fillStyle|strokeStyle|lineWidth|miterLimit|100|xe|antialias|coordsize|path|fillcolor|filled|stroked|weight|miterlimit|1000|triggerHandler|joinstyle|splice|topcenter|backgroundColor|rgba|rightcenter|leftcenter|lefttop|righttop|leftbottom|addEventListener|coords|one|0pre|success|context|0px|html5|qtipopts|try|dblclick|Unable|to|usemap|HTML5|pushStack|parent|closest|stopPropagation|preventDefault|15e3|inArray|special|parents|abort|unload|join|image|middle|insertBefore|label|prepend|span|close|times|push|mouseover|keydown|keyup|mouseout|grep|active|attribute|down|parse|builtin|do|catch|Function|api|un|tooltiprender|alert|static|live|polite|parseFloat|cursor|select|rightbottom|CPU|OS|rect|visible|pointer|makeArray|9_|nodeType|bottomcenter|AppleWebkit|RegExp|Mobile|exec|circle|over|navigator|enter|userAgent|has|4_2|_|undefined|tooltipfocus|tooltipblur|outerH|eight|outerW|idth|eq|area|namespaceURI|http|www|w3|org|2000|lineJoin|frameborder|isNaN|fluid|closePath|jQuery|qtipmodal".split("|"),0,{}));
if(typeof jwplayer=="undefined"){var jwplayer=function(a){if(jwplayer.api){return jwplayer.api.selectPlayer(a)}};var $jw=jwplayer;jwplayer.version="5.8.2011 (Licensed version)";jwplayer.vid=document.createElement("video");jwplayer.audio=document.createElement("audio");jwplayer.source=document.createElement("source");(function(b){b.utils=function(){};b.utils.typeOf=function(d){var c=typeof d;if(c==="object"){if(d){if(d instanceof Array){c="array"}}else{c="null"}}return c};b.utils.extend=function(){var e=b.utils.extend["arguments"];if(e.length>1){for(var d=1;d<e.length;d++){for(var c in e[d]){e[0][c]=e[d][c]}}return e[0]}return null};b.utils.clone=function(d){var e;var f=b.utils.clone["arguments"];if(f.length==1){switch(b.utils.typeOf(f[0])){case"object":e={};for(var c in f[0]){e[c]=b.utils.clone(f[0][c])}break;case"array":e=[];for(var c in f[0]){e[c]=b.utils.clone(f[0][c])}break;default:return f[0];break}}return e};b.utils.extension=function(c){if(!c){return""}c=c.substring(c.lastIndexOf("/")+1,c.length);c=c.split("?")[0];if(c.lastIndexOf(".")>-1){return c.substr(c.lastIndexOf(".")+1,c.length).toLowerCase()}return};b.utils.html=function(c,d){c.innerHTML=d};b.utils.wrap=function(c,d){if(c.parentNode){c.parentNode.replaceChild(d,c)}d.appendChild(c)};b.utils.ajax=function(d,c,e){var g;if(window.XMLHttpRequest){g=new XMLHttpRequest()}else{g=new ActiveXObject("Microsoft.XMLHTTP")}g.onreadystatechange=function(){if(g.readyState===4){if(g.status===200){if(c){if(!b.utils.exists(g.responseXML)){try{if(window.DOMParser){var h=(new DOMParser()).parseFromString(g.responseText,"text/xml");if(h){g=b.utils.extend({},g,{responseXML:h})}}else{h=new ActiveXObject("Microsoft.XMLDOM");h.async="false";h.loadXML(g.responseText);g=b.utils.extend({},g,{responseXML:h})}}catch(j){if(e){e(d)}}}c(g)}}else{if(e){e(d)}}}};try{g.open("GET",d,true);g.send(null)}catch(f){if(e){e(d)}}return g};b.utils.load=function(c,d,e){c.onreadystatechange=function(){if(c.readyState===4){if(c.status===200){if(d){d()}}else{if(e){e()}}}}};b.utils.find=function(d,c){return d.getElementsByTagName(c)};b.utils.append=function(c,d){c.appendChild(d)};b.utils.isIE=function(){return((!+"\v1")||(typeof window.ActiveXObject!="undefined"))};b.utils.userAgentMatch=function(d){var c=navigator.userAgent.toLowerCase();return(c.match(d)!==null)};b.utils.isIOS=function(){return b.utils.userAgentMatch(/iP(hone|ad|od)/i)};b.utils.isIPad=function(){return b.utils.userAgentMatch(/iPad/i)};b.utils.isIPod=function(){return b.utils.userAgentMatch(/iP(hone|od)/i)};b.utils.isAndroid=function(){return b.utils.userAgentMatch(/android/i)};b.utils.isLegacyAndroid=function(){return b.utils.userAgentMatch(/android 2.[012]/i)};b.utils.isBlackberry=function(){return b.utils.userAgentMatch(/blackberry/i)};b.utils.isMobile=function(){return b.utils.isIOS()};b.utils.getFirstPlaylistItemFromConfig=function(e){var c={};var d;if(e.playlist&&e.playlist.length){d=e.playlist[0]}else{d=e}c.file=d.file;c.levels=d.levels;c.streamer=d.streamer;c.playlistfile=d.playlistfile;c.provider=d.provider;if(!c.provider){if(c.file&&(c.file.toLowerCase().indexOf("youtube.com")>-1||c.file.toLowerCase().indexOf("youtu.be")>-1)){c.provider="youtube"}if(c.streamer&&c.streamer.toLowerCase().indexOf("rtmp://")==0){c.provider="rtmp"}if(d.type){c.provider=d.type.toLowerCase()}}if(c.provider=="audio"){c.provider="sound"}return c};b.utils.getOuterHTML=function(c){if(c.outerHTML){return c.outerHTML}else{try{return new XMLSerializer().serializeToString(c)}catch(d){return""}}};b.utils.setOuterHTML=function(c,g){if(c.outerHTML){c.outerHTML=g}else{var d=document.createElement("div");d.innerHTML=g;var e=document.createRange();e.selectNodeContents(d);var f=e.extractContents();c.parentNode.insertBefore(f,c);c.parentNode.removeChild(c)}};b.utils.hasFlash=function(){if(typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]!="undefined"){return true}if(typeof window.ActiveXObject!="undefined"){try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");return true}catch(c){}}return false};b.utils.getPluginName=function(c){if(c.lastIndexOf("/")>=0){c=c.substring(c.lastIndexOf("/")+1,c.length)}if(c.lastIndexOf("-")>=0){c=c.substring(0,c.lastIndexOf("-"))}if(c.lastIndexOf(".swf")>=0){c=c.substring(0,c.lastIndexOf(".swf"))}if(c.lastIndexOf(".js")>=0){c=c.substring(0,c.lastIndexOf(".js"))}return c};b.utils.getPluginVersion=function(c){if(c.lastIndexOf("-")>=0){if(c.lastIndexOf(".js")>=0){return c.substring(c.lastIndexOf("-")+1,c.lastIndexOf(".js"))}else{if(c.lastIndexOf(".swf")>=0){return c.substring(c.lastIndexOf("-")+1,c.lastIndexOf(".swf"))}else{return c.substring(c.lastIndexOf("-")+1)}}}return""};b.utils.getAbsolutePath=function(d,f){if(!b.utils.exists(f)){f=document.location.href}if(!b.utils.exists(d)){return undefined}if(a(d)){return d}var e=f.substring(0,f.indexOf("://")+3);var c=f.substring(e.length,f.indexOf("/",e.length+1));var h;if(d.indexOf("/")===0){h=d.split("/")}else{var j=f.split("?")[0];j=j.substring(e.length+c.length+1,j.lastIndexOf("/"));h=j.split("/").concat(d.split("/"))}var g=[];for(var k=0;k<h.length;k++){if(!h[k]||!b.utils.exists(h[k])||h[k]=="."){continue}else{if(h[k]==".."){g.pop()}else{g.push(h[k])}}}return e+c+"/"+g.join("/")};function a(c){if(!b.utils.exists(c)){return}var d=c.indexOf("://");var e=c.indexOf("?");return(d>0&&(e<0||(e>d)))}b.utils.pluginPathType={ABSOLUTE:"ABSOLUTE",RELATIVE:"RELATIVE",CDN:"CDN"};b.utils.getPluginPathType=function(f){if(typeof f!="string"){return}f=f.split("?")[0];var c=f.indexOf("://");if(c>0){return b.utils.pluginPathType.ABSOLUTE}var e=f.indexOf("/");var d=b.utils.extension(f);if(c<0&&e<0&&(!d||!isNaN(d))){return b.utils.pluginPathType.CDN}return b.utils.pluginPathType.RELATIVE};b.utils.mapEmpty=function(c){for(var d in c){return false}return true};b.utils.mapLength=function(c){var e=0;for(var d in c){e++}return e};b.utils.log=function(d,c){if(typeof console!="undefined"&&typeof console.log!="undefined"){if(c){console.log(d,c)}else{console.log(d)}}};b.utils.css=function(f,d,e){if(b.utils.exists(f)){for(var g in d){try{if(typeof d[g]==="undefined"){continue}else{if(typeof d[g]=="number"&&!(g=="zIndex"||g=="opacity")){if(isNaN(d[g])){continue}if(g.match(/color/i)){d[g]="#"+b.utils.strings.pad(d[g].toString(16),6)}else{d[g]=Math.ceil(d[g])+"px"}}}f.style[g]=d[g]}catch(c){}}}};b.utils.isYouTube=function(c){return(c.indexOf("youtube.com")>-1||c.indexOf("youtu.be")>-1)};b.utils.transform=function(g,f,d,c,e){if(!b.utils.exists(f)){f=1}if(!b.utils.exists(d)){d=1}if(!b.utils.exists(c)){c=0}if(!b.utils.exists(e)){e=0}if(f==1&&d==1&&c==0&&e==0){g.style.webkitTransform="";g.style.MozTransform="";g.style.OTransform=""}else{var h="scale("+f+","+d+") translate("+c+"px,"+e+"px)";g.style.webkitTransform=h;g.style.MozTransform=h;g.style.OTransform=h}};b.utils.stretch=function(n,j,h,k,c,l){if(typeof h=="undefined"||typeof k=="undefined"||typeof c=="undefined"||typeof l=="undefined"){return}var f=h/c;var g=k/l;var p=0;var o=0;var e={};if(j.parentElement){j.parentElement.style.overflow="hidden"}b.utils.transform(j);switch(n.toUpperCase()){case b.utils.stretching.NONE:e.width=c;e.height=l;e.top=(k-e.height)/2;e.left=(h-e.width)/2;break;case b.utils.stretching.UNIFORM:if(f>g){e.width=c*g;e.height=l*g}else{e.width=c*f;e.height=l*f}e.top=(k-e.height)/2;e.left=(h-e.width)/2;break;case b.utils.stretching.FILL:if(f>g){e.width=c*f;e.height=l*f}else{e.width=c*g;e.height=l*g}e.top=(k-e.height)/2;e.left=(h-e.width)/2;break;case b.utils.stretching.EXACTFIT:e.width=c;e.height=l;var d=Math.round((c/2)*(1-1/f));var m=Math.round((l/2)*(1-1/g));b.utils.transform(j,f,g,d,m);e.top=e.left=0;break;default:break}b.utils.css(j,e)};b.utils.stretching={NONE:"NONE",FILL:"FILL",UNIFORM:"UNIFORM",EXACTFIT:"EXACTFIT"};b.utils.deepReplaceKeyName=function(f,g,d){switch(b.utils.typeOf(f)){case"array":for(var c=0;c<f.length;c++){f[c]=b.utils.deepReplaceKeyName(f[c],g,d)}break;case"object":for(var h in f){var e=h.replace(new RegExp(g,"g"),d);f[e]=b.utils.deepReplaceKeyName(f[h],g,d);if(h!=e){delete f[h]}}break}return f};b.utils.isInArray=function(d,c){if(!(d)||!(d instanceof Array)){return false}for(var e=0;e<d.length;e++){if(c===d[e]){return true}}return false};b.utils.exists=function(c){switch(typeof(c)){case"string":return(c.length>0);break;case"object":return(c!==null);case"undefined":return false}return true};b.utils.empty=function(c){if(typeof c.hasChildNodes=="function"){while(c.hasChildNodes()){c.removeChild(c.firstChild)}}};b.utils.parseDimension=function(c){if(typeof c=="string"){if(c===""){return 0}else{if(c.lastIndexOf("%")>-1){return c}else{return parseInt(c.replace("px",""),10)}}}return c};b.utils.getDimensions=function(c){if(c&&c.style){return{x:b.utils.parseDimension(c.style.left),y:b.utils.parseDimension(c.style.top),width:b.utils.parseDimension(c.style.width),height:b.utils.parseDimension(c.style.height)}}else{return{}}};b.utils.getElementWidth=function(c){if(!c){return null}else{if(c==document.body){return b.utils.parentNode(c).clientWidth}else{if(c.clientWidth>0){return c.clientWidth}else{if(c.style){return b.utils.parseDimension(c.style.width)}else{return null}}}}};b.utils.getElementHeight=function(c){if(!c){return null}else{if(c==document.body){return b.utils.parentNode(c).clientHeight}else{if(c.clientHeight>0){return c.clientHeight}else{if(c.style){return b.utils.parseDimension(c.style.height)}else{return null}}}}};b.utils.timeFormat=function(c){str="00:00";if(c>0){str=Math.floor(c/60)<10?"0"+Math.floor(c/60)+":":Math.floor(c/60)+":";str+=Math.floor(c%60)<10?"0"+Math.floor(c%60):Math.floor(c%60)}return str};b.utils.useNativeFullscreen=function(){return(navigator&&navigator.vendor&&navigator.vendor.indexOf("Apple")==0)};b.utils.parentNode=function(c){if(!c){return docuemnt.body}else{if(c.parentNode){return c.parentNode}else{if(c.parentElement){return c.parentElement}else{return c}}}};b.utils.getBoundingClientRect=function(c){if(typeof c.getBoundingClientRect=="function"){return c.getBoundingClientRect()}else{return{left:c.offsetLeft+document.body.scrollLeft,top:c.offsetTop+document.body.scrollTop,width:c.offsetWidth,height:c.offsetHeight}}}})(jwplayer);(function(a){a.events=function(){};a.events.COMPLETE="COMPLETE";a.events.ERROR="ERROR"})(jwplayer);(function(jwplayer){jwplayer.events.eventdispatcher=function(debug){var _debug=debug;var _listeners;var _globallisteners;this.resetEventListeners=function(){_listeners={};_globallisteners=[]};this.resetEventListeners();this.addEventListener=function(type,listener,count){try{if(!jwplayer.utils.exists(_listeners[type])){_listeners[type]=[]}if(typeof(listener)=="string"){eval("listener = "+listener)}_listeners[type].push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return false};this.removeEventListener=function(type,listener){if(!_listeners[type]){return}try{for(var listenerIndex=0;listenerIndex<_listeners[type].length;listenerIndex++){if(_listeners[type][listenerIndex].listener.toString()==listener.toString()){_listeners[type].splice(listenerIndex,1);break}}}catch(err){jwplayer.utils.log("error",err)}return false};this.addGlobalListener=function(listener,count){try{if(typeof(listener)=="string"){eval("listener = "+listener)}_globallisteners.push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return false};this.removeGlobalListener=function(listener){if(!_globallisteners[type]){return}try{for(var globalListenerIndex=0;globalListenerIndex<_globallisteners.length;globalListenerIndex++){if(_globallisteners[globalListenerIndex].listener.toString()==listener.toString()){_globallisteners.splice(globalListenerIndex,1);break}}}catch(err){jwplayer.utils.log("error",err)}return false};this.sendEvent=function(type,data){if(!jwplayer.utils.exists(data)){data={}}if(_debug){jwplayer.utils.log(type,data)}if(typeof _listeners[type]!="undefined"){for(var listenerIndex=0;listenerIndex<_listeners[type].length;listenerIndex++){try{_listeners[type][listenerIndex].listener(data)}catch(err){jwplayer.utils.log("There was an error while handling a listener: "+err.toString(),_listeners[type][listenerIndex].listener)}if(_listeners[type][listenerIndex]){if(_listeners[type][listenerIndex].count===1){delete _listeners[type][listenerIndex]}else{if(_listeners[type][listenerIndex].count>0){_listeners[type][listenerIndex].count=_listeners[type][listenerIndex].count-1}}}}}for(var globalListenerIndex=0;globalListenerIndex<_globallisteners.length;globalListenerIndex++){try{_globallisteners[globalListenerIndex].listener(data)}catch(err){jwplayer.utils.log("There was an error while handling a listener: "+err.toString(),_globallisteners[globalListenerIndex].listener)}if(_globallisteners[globalListenerIndex]){if(_globallisteners[globalListenerIndex].count===1){delete _globallisteners[globalListenerIndex]}else{if(_globallisteners[globalListenerIndex].count>0){_globallisteners[globalListenerIndex].count=_globallisteners[globalListenerIndex].count-1}}}}}}})(jwplayer);(function(a){var b={};a.utils.animations=function(){};a.utils.animations.transform=function(c,d){c.style.webkitTransform=d;c.style.MozTransform=d;c.style.OTransform=d;c.style.msTransform=d};a.utils.animations.transformOrigin=function(c,d){c.style.webkitTransformOrigin=d;c.style.MozTransformOrigin=d;c.style.OTransformOrigin=d;c.style.msTransformOrigin=d};a.utils.animations.rotate=function(c,d){a.utils.animations.transform(c,["rotate(",d,"deg)"].join(""))};a.utils.cancelAnimation=function(c){delete b[c.id]};a.utils.fadeTo=function(j,c,m,f,e,l){if(b[j.id]!=l&&a.utils.exists(l)){return}if(j.style.opacity==c){return}var k=new Date().getTime();if(l>k){setTimeout(function(){a.utils.fadeTo(j,c,m,f,0,l)},l-k)}if(j.style.display=="none"){j.style.display="block"}if(!a.utils.exists(f)){f=j.style.opacity===""?1:j.style.opacity}if(j.style.opacity==c&&j.style.opacity!==""&&a.utils.exists(l)){if(c===0){j.style.display="none"}return}if(!a.utils.exists(l)){l=k;b[j.id]=l}if(!a.utils.exists(e)){e=0}var g=(m>0)?((k-l)/(m*1000)):0;g=g>1?1:g;var h=c-f;var d=f+(g*h);if(d>1){d=1}else{if(d<0){d=0}}j.style.opacity=d;if(e>0){b[j.id]=l+e*1000;a.utils.fadeTo(j,c,m,f,0,b[j.id]);return}setTimeout(function(){a.utils.fadeTo(j,c,m,f,0,l)},10)}})(jwplayer);(function(a){a.utils.arrays=function(){};a.utils.arrays.indexOf=function(c,d){for(var b=0;b<c.length;b++){if(c[b]==d){return b}}return -1};a.utils.arrays.remove=function(c,d){var b=a.utils.arrays.indexOf(c,d);if(b>-1){c.splice(b,1)}}})(jwplayer);(function(a){a.utils.extensionmap={"3gp":{html5:"video/3gpp",flash:"video"},"3gpp":{html5:"video/3gpp"},"3g2":{html5:"video/3gpp2",flash:"video"},"3gpp2":{html5:"video/3gpp2"},flv:{flash:"video"},f4a:{html5:"audio/mp4"},f4b:{html5:"audio/mp4",flash:"video"},f4v:{html5:"video/mp4",flash:"video"},mov:{html5:"video/quicktime",flash:"video"},m4a:{html5:"audio/mp4",flash:"video"},m4b:{html5:"audio/mp4"},m4p:{html5:"audio/mp4"},m4v:{html5:"video/mp4",flash:"video"},mp4:{html5:"video/mp4",flash:"video"},rbs:{flash:"sound"},aac:{html5:"audio/aac",flash:"video"},mp3:{html5:"audio/mp3",flash:"sound"},ogg:{html5:"audio/ogg"},oga:{html5:"audio/ogg"},ogv:{html5:"video/ogg"},webm:{html5:"video/webm"},m3u8:{html5:"audio/x-mpegurl"},gif:{flash:"image"},jpeg:{flash:"image"},jpg:{flash:"image"},swf:{flash:"image"},png:{flash:"image"},wav:{html5:"audio/x-wav"}}})(jwplayer);(function(g){g.utils.mediaparser=function(){};var a={element:{width:"width",height:"height",id:"id","class":"className",name:"name"},media:{src:"file",preload:"preload",autoplay:"autostart",loop:"repeat",controls:"controls"},source:{src:"file",type:"type",media:"media","data-jw-width":"width","data-jw-bitrate":"bitrate"},video:{poster:"image"}};var h={};g.utils.mediaparser.parseMedia=function(j){return f(j)};function e(k,j){if(!g.utils.exists(j)){j=a[k]}else{g.utils.extend(j,a[k])}return j}function f(l,n){if(h[l.tagName.toLowerCase()]&&!g.utils.exists(n)){return h[l.tagName.toLowerCase()](l)}else{n=e("element",n);var m={};for(var o in n){if(o!="length"){var k=l.getAttribute(o);if(g.utils.exists(k)){m[n[o]]=k}}}var j=l.style["#background-color"];if(j&&!(j=="transparent"||j=="rgba(0, 0, 0, 0)")){m.screencolor=j}return m}}function b(l,o){o=e("media",o);var j=[];var n=g.utils.selectors("source",l);for(var k in n){if(!isNaN(k)){j.push(c(n[k]))}}var m=f(l,o);if(g.utils.exists(m.file)){j[0]={file:m.file}}m.levels=j;return m}function c(k,j){j=e("source",j);var l=f(k,j);l.width=l.width?l.width:0;l.bitrate=l.bitrate?l.bitrate:0;return l}function d(k,j){j=e("video",j);var l=b(k,j);return l}h.media=b;h.audio=b;h.source=c;h.video=d})(jwplayer);(function(a){a.utils.loaderstatus={NEW:"NEW",LOADING:"LOADING",ERROR:"ERROR",COMPLETE:"COMPLETE"};a.utils.scriptloader=function(c){var d=a.utils.loaderstatus.NEW;var b=new a.events.eventdispatcher();a.utils.extend(this,b);this.load=function(){if(d==a.utils.loaderstatus.NEW){d=a.utils.loaderstatus.LOADING;var e=document.createElement("script");e.onload=function(f){d=a.utils.loaderstatus.COMPLETE;b.sendEvent(a.events.COMPLETE)};e.onerror=function(f){d=a.utils.loaderstatus.ERROR;b.sendEvent(a.events.ERROR)};e.onreadystatechange=function(){if(e.readyState=="loaded"||e.readyState=="complete"){d=a.utils.loaderstatus.COMPLETE;b.sendEvent(a.events.COMPLETE)}};document.getElementsByTagName("head")[0].appendChild(e);e.src=c}};this.getStatus=function(){return d}}})(jwplayer);(function(a){a.utils.selectors=function(b,e){if(!a.utils.exists(e)){e=document}b=a.utils.strings.trim(b);var c=b.charAt(0);if(c=="#"){return e.getElementById(b.substr(1))}else{if(c=="."){if(e.getElementsByClassName){return e.getElementsByClassName(b.substr(1))}else{return a.utils.selectors.getElementsByTagAndClass("*",b.substr(1))}}else{if(b.indexOf(".")>0){var d=b.split(".");return a.utils.selectors.getElementsByTagAndClass(d[0],d[1])}else{return e.getElementsByTagName(b)}}}return null};a.utils.selectors.getElementsByTagAndClass=function(h,d,b){var e=[];if(!a.utils.exists(b)){b=document}var j=b.getElementsByTagName(h);for(var g=0;g<j.length;g++){if(a.utils.exists(j[g].className)){var f=j[g].className.split(" ");for(var c=0;c<f.length;c++){if(f[c]==d){e.push(j[g])}}}}return e}})(jwplayer);(function(a){a.utils.strings=function(){};a.utils.strings.trim=function(b){return b.replace(/^\s*/,"").replace(/\s*$/,"")};a.utils.strings.pad=function(c,d,b){if(!b){b="0"}while(c.length<d){c=b+c}return c};a.utils.strings.serialize=function(b){if(b==null){return null}else{if(b=="true"){return true}else{if(b=="false"){return false}else{if(isNaN(Number(b))||b.length>5||b.length==0){return b}else{return Number(b)}}}}};a.utils.strings.seconds=function(d){d=d.replace(",",".");var b=d.split(":");var c=0;if(d.substr(-1)=="s"){c=Number(d.substr(0,d.length-1))}else{if(d.substr(-1)=="m"){c=Number(d.substr(0,d.length-1))*60}else{if(d.substr(-1)=="h"){c=Number(d.substr(0,d.length-1))*3600}else{if(b.length>1){c=Number(b[b.length-1]);c+=Number(b[b.length-2])*60;if(b.length==3){c+=Number(b[b.length-3])*3600}}else{c=Number(d)}}}}return c};a.utils.strings.xmlAttribute=function(b,c){for(var d=0;d<b.attributes.length;d++){if(b.attributes[d].name&&b.attributes[d].name.toLowerCase()==c.toLowerCase()){return b.attributes[d].value.toString()}}return""};a.utils.strings.jsonToString=function(d){var f=f||{};if(f&&f.stringify){return f.stringify(d)}var g=typeof(d);if(g!="object"||d===null){if(g=="string"){d='"'+d.replace(/"/g,'\\"')+'"'}else{return String(d)}}else{var e=[],c=(d&&d.constructor==Array);for(var h in d){var b=d[h];switch(typeof(b)){case"string":b='"'+b.replace(/"/g,'\\"')+'"';break;case"object":if(a.utils.exists(b)){b=a.utils.strings.jsonToString(b)}break}if(c){if(typeof(b)!="function"){e.push(String(b))}}else{if(typeof(b)!="function"){e.push('"'+h+'":'+String(b))}}}if(c){return"["+String(e)+"]"}else{return"{"+String(e)+"}"}}}})(jwplayer);(function(a){var b=new RegExp(/^(#|0x)[0-9a-fA-F]{3,6}/);a.utils.typechecker=function(g,f){f=!a.utils.exists(f)?e(g):f;return c(g,f)};function e(f){var g=["true","false","t","f"];if(g.toString().indexOf(f.toLowerCase().replace(" ",""))>=0){return"boolean"}else{if(b.test(f)){return"color"}else{if(!isNaN(parseInt(f,10))&&parseInt(f,10).toString().length==f.length){return"integer"}else{if(!isNaN(parseFloat(f))&&parseFloat(f).toString().length==f.length){return"float"}}}}return"string"}function c(g,f){if(!a.utils.exists(f)){return g}switch(f){case"color":if(g.length>0){return d(g)}return null;case"integer":return parseInt(g,10);case"float":return parseFloat(g);case"boolean":if(g.toLowerCase()=="true"){return true}else{if(g=="1"){return true}}return false}return g}function d(f){switch(f.toLowerCase()){case"blue":return parseInt("0000FF",16);case"green":return parseInt("00FF00",16);case"red":return parseInt("FF0000",16);case"cyan":return parseInt("00FFFF",16);case"magenta":return parseInt("FF00FF",16);case"yellow":return parseInt("FFFF00",16);case"black":return parseInt("000000",16);case"white":return parseInt("FFFFFF",16);default:f=f.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2");if(f.length==3){f=f.charAt(0)+f.charAt(0)+f.charAt(1)+f.charAt(1)+f.charAt(2)+f.charAt(2)}return parseInt(f,16)}return parseInt("000000",16)}})(jwplayer);(function(a){a.utils.parsers=function(){};a.utils.parsers.localName=function(b){if(!b){return""}else{if(b.localName){return b.localName}else{if(b.baseName){return b.baseName}else{return""}}}};a.utils.parsers.textContent=function(b){if(!b){return""}else{if(b.textContent){return b.textContent}else{if(b.text){return b.text}else{return""}}}}})(jwplayer);(function(a){a.utils.parsers.jwparser=function(){};a.utils.parsers.jwparser.PREFIX="jwplayer";a.utils.parsers.jwparser.parseEntry=function(c,d){for(var b=0;b<c.childNodes.length;b++){if(c.childNodes[b].prefix==a.utils.parsers.jwparser.PREFIX){d[a.utils.parsers.localName(c.childNodes[b])]=a.utils.strings.serialize(a.utils.parsers.textContent(c.childNodes[b]))}if(!d.file&&String(d.link).toLowerCase().indexOf("youtube")>-1){d.file=d.link}}return d};a.utils.parsers.jwparser.getProvider=function(c){if(c.type){return c.type}else{if(c.file.indexOf("youtube.com/w")>-1||c.file.indexOf("youtube.com/v")>-1||c.file.indexOf("youtu.be/")>-1){return"youtube"}else{if(c.streamer&&c.streamer.indexOf("rtmp")==0){return"rtmp"}else{if(c.streamer&&c.streamer.indexOf("http")==0){return"http"}else{var b=a.utils.strings.extension(c.file);if(extensions.hasOwnProperty(b)){return extensions[b]}}}}}return""}})(jwplayer);(function(a){a.utils.parsers.mediaparser=function(){};a.utils.parsers.mediaparser.PREFIX="media";a.utils.parsers.mediaparser.parseGroup=function(d,f){var e=false;for(var c=0;c<d.childNodes.length;c++){if(d.childNodes[c].prefix==a.utils.parsers.mediaparser.PREFIX){if(!a.utils.parsers.localName(d.childNodes[c])){continue}switch(a.utils.parsers.localName(d.childNodes[c]).toLowerCase()){case"content":if(!e){f.file=a.utils.strings.xmlAttribute(d.childNodes[c],"url")}if(a.utils.strings.xmlAttribute(d.childNodes[c],"duration")){f.duration=a.utils.strings.seconds(a.utils.strings.xmlAttribute(d.childNodes[c],"duration"))}if(a.utils.strings.xmlAttribute(d.childNodes[c],"start")){f.start=a.utils.strings.seconds(a.utils.strings.xmlAttribute(d.childNodes[c],"start"))}if(d.childNodes[c].childNodes&&d.childNodes[c].childNodes.length>0){f=a.utils.parsers.mediaparser.parseGroup(d.childNodes[c],f)}if(a.utils.strings.xmlAttribute(d.childNodes[c],"width")||a.utils.strings.xmlAttribute(d.childNodes[c],"bitrate")||a.utils.strings.xmlAttribute(d.childNodes[c],"url")){if(!f.levels){f.levels=[]}f.levels.push({width:a.utils.strings.xmlAttribute(d.childNodes[c],"width"),bitrate:a.utils.strings.xmlAttribute(d.childNodes[c],"bitrate"),file:a.utils.strings.xmlAttribute(d.childNodes[c],"url")})}break;case"title":f.title=a.utils.parsers.textContent(d.childNodes[c]);break;case"description":f.description=a.utils.parsers.textContent(d.childNodes[c]);break;case"keywords":f.tags=a.utils.parsers.textContent(d.childNodes[c]);break;case"thumbnail":f.image=a.utils.strings.xmlAttribute(d.childNodes[c],"url");break;case"credit":f.author=a.utils.parsers.textContent(d.childNodes[c]);break;case"player":var b=d.childNodes[c].url;if(b.indexOf("youtube.com")>=0||b.indexOf("youtu.be")>=0){e=true;f.file=a.utils.strings.xmlAttribute(d.childNodes[c],"url")}break;case"group":a.utils.parsers.mediaparser.parseGroup(d.childNodes[c],f);break}}}return f}})(jwplayer);(function(b){b.utils.parsers.rssparser=function(){};b.utils.parsers.rssparser.parse=function(d){var e=[];for(var c=0;c<d.childNodes.length;c++){if(b.utils.parsers.localName(d.childNodes[c]).toLowerCase()=="channel"){for(var f=0;f<d.childNodes[c].childNodes.length;f++){if(b.utils.parsers.localName(d.childNodes[c].childNodes[f]).toLowerCase()=="item"){e.push(a(d.childNodes[c].childNodes[f]))}}}}return e};function a(c){var d={};for(var e=0;e<c.childNodes.length;e++){if(!b.utils.parsers.localName(c.childNodes[e])){continue}switch(b.utils.parsers.localName(c.childNodes[e]).toLowerCase()){case"enclosure":d.file=b.utils.strings.xmlAttribute(c.childNodes[e],"url");break;case"title":d.title=b.utils.parsers.textContent(c.childNodes[e]);break;case"pubdate":d.date=b.utils.parsers.textContent(c.childNodes[e]);break;case"description":d.description=b.utils.parsers.textContent(c.childNodes[e]);break;case"link":d.link=b.utils.parsers.textContent(c.childNodes[e]);break;case"category":if(d.tags){d.tags+=b.utils.parsers.textContent(c.childNodes[e])}else{d.tags=b.utils.parsers.textContent(c.childNodes[e])}break}}d=b.utils.parsers.mediaparser.parseGroup(c,d);d=b.utils.parsers.jwparser.parseEntry(c,d);return new b.html5.playlistitem(d)}})(jwplayer);(function(b){var a={};var c={};b.plugins=function(){};b.plugins.loadPlugins=function(e,d){c[e]=new b.plugins.pluginloader(new b.plugins.model(a),d);return c[e]};b.plugins.registerPlugin=function(e,h,g){var f=b.utils.getPluginName(e);if(a[f]){a[f].registerPlugin(e,h,g)}else{b.utils.log("A plugin ("+e+") was registered with the player that was not loaded. Please check your configuration.");for(var d in c){c[d].pluginFailed()}}}})(jwplayer);(function(a){a.plugins.model=function(b){this.addPlugin=function(c){var d=a.utils.getPluginName(c);if(!b[d]){b[d]=new a.plugins.plugin(c)}return b[d]}}})(jwplayer);(function(a){a.plugins.pluginmodes={FLASH:"FLASH",JAVASCRIPT:"JAVASCRIPT",HYBRID:"HYBRID"};a.plugins.plugin=function(j){var l="http://lp.longtailvideo.com";var f=a.utils.loaderstatus.NEW;var g;var e;var h;var k=new a.events.eventdispatcher();a.utils.extend(this,k);function b(){switch(a.utils.getPluginPathType(j)){case a.utils.pluginPathType.ABSOLUTE:return j;case a.utils.pluginPathType.RELATIVE:return a.utils.getAbsolutePath(j,window.location.href);case a.utils.pluginPathType.CDN:var n=a.utils.getPluginName(j);var m=a.utils.getPluginVersion(j);var o=(window.location.href.indexOf("https://")==0)?l.replace("http://","https://secure"):l;return o+"/"+a.version.split(".")[0]+"/"+n+"/"+n+(m!==""?("-"+m):"")+".js"}}function d(m){h=setTimeout(function(){f=a.utils.loaderstatus.COMPLETE;k.sendEvent(a.events.COMPLETE)},1000)}function c(m){f=a.utils.loaderstatus.ERROR;k.sendEvent(a.events.ERROR)}this.load=function(){if(f==a.utils.loaderstatus.NEW){if(j.lastIndexOf(".swf")>0){g=j;f=a.utils.loaderstatus.COMPLETE;k.sendEvent(a.events.COMPLETE);return}f=a.utils.loaderstatus.LOADING;var m=new a.utils.scriptloader(b());m.addEventListener(a.events.COMPLETE,d);m.addEventListener(a.events.ERROR,c);m.load()}};this.registerPlugin=function(n,m,o){if(h){clearTimeout(h);h=undefined}if(m&&o){g=o;e=m}else{if(typeof m=="string"){g=m}else{if(typeof m=="function"){e=m}else{if(!m&&!o){g=n}}}}f=a.utils.loaderstatus.COMPLETE;k.sendEvent(a.events.COMPLETE)};this.getStatus=function(){return f};this.getPluginName=function(){return a.utils.getPluginName(j)};this.getFlashPath=function(){if(g){switch(a.utils.getPluginPathType(g)){case a.utils.pluginPathType.ABSOLUTE:return g;case a.utils.pluginPathType.RELATIVE:if(j.lastIndexOf(".swf")>0){return a.utils.getAbsolutePath(g,window.location.href)}return a.utils.getAbsolutePath(g,b());case a.utils.pluginPathType.CDN:if(g.indexOf("-")>-1){return g+"h"}return g+"-h"}}return null};this.getJS=function(){return e};this.getPluginmode=function(){if(typeof g!="undefined"&&typeof e!="undefined"){return a.plugins.pluginmodes.HYBRID}else{if(typeof g!="undefined"){return a.plugins.pluginmodes.FLASH}else{if(typeof e!="undefined"){return a.plugins.pluginmodes.JAVASCRIPT}}}};this.getNewInstance=function(m,o,n){return new e(m,o,n)};this.getURL=function(){return j}}})(jwplayer);(function(a){a.plugins.pluginloader=function(g,d){var f={};var j=a.utils.loaderstatus.NEW;var c=false;var k=false;var b=new a.events.eventdispatcher();a.utils.extend(this,b);function e(){if(!k){k=true;j=a.utils.loaderstatus.COMPLETE;b.sendEvent(a.events.COMPLETE)}}function h(){if(!k){var m=0;for(plugin in f){var l=f[plugin].getStatus();if(l==a.utils.loaderstatus.LOADING||l==a.utils.loaderstatus.NEW){m++}}if(m==0){e()}}}this.setupPlugins=function(l,r,q){var s={length:0,plugins:{}};var n={length:0,plugins:{}};for(var m in f){var o=f[m].getPluginName();if(f[m].getFlashPath()){s.plugins[f[m].getFlashPath()]=r.plugins[m];s.plugins[f[m].getFlashPath()].pluginmode=f[m].getPluginmode();s.length++}if(f[m].getJS()){var p=document.createElement("div");p.id=l.id+"_"+o;p.style.position="absolute";p.style.zIndex=n.length+10;n.plugins[o]=f[m].getNewInstance(l,r.plugins[m],p);n.length++;if(typeof n.plugins[o].resize!="undefined"){l.onReady(q(n.plugins[o],p,true));l.onResize(q(n.plugins[o],p))}}}l.plugins=n.plugins;return s};this.load=function(){j=a.utils.loaderstatus.LOADING;c=true;for(var l in d){if(a.utils.exists(l)){f[l]=g.addPlugin(l);f[l].addEventListener(a.events.COMPLETE,h);f[l].addEventListener(a.events.ERROR,h)}}for(l in f){f[l].load()}c=false;h()};this.pluginFailed=function(){e()};this.getStatus=function(){return j}}})(jwplayer);(function(b){var a=[];b.api=function(s){this.container=s;this.id=s.id;var n={};var p={};var j={};var r=[];var f=undefined;var l=false;var g=[];var q=b.utils.getOuterHTML(s);var k={};var h={};this.getBuffer=function(){return this.callInternal("jwGetBuffer")};this.getContainer=function(){return this.container};function c(u,t){return function(w,x,y,z){if(u.renderingMode=="flash"||u.renderingMode=="html5"){var v;if(x){h[w]=x;v="jwplayer('"+u.id+"').callback('"+w+"')"}else{if(!x&&h[w]){delete h[w]}}f.jwDockSetButton(w,v,y,z)}return t}}this.getPlugin=function(t){var v=this;var u={};if(t=="dock"){return b.utils.extend(u,{setButton:c(v,u),show:function(){v.callInternal("jwDockShow");return u},hide:function(){v.callInternal("jwDockHide");return u},onShow:function(w){v.componentListener("dock",b.api.events.JWPLAYER_COMPONENT_SHOW,w);return u},onHide:function(w){v.componentListener("dock",b.api.events.JWPLAYER_COMPONENT_HIDE,w);return u}})}else{if(t=="controlbar"){return b.utils.extend(u,{show:function(){v.callInternal("jwControlbarShow");return u},hide:function(){v.callInternal("jwControlbarHide");return u},onShow:function(w){v.componentListener("controlbar",b.api.events.JWPLAYER_COMPONENT_SHOW,w);return u},onHide:function(w){v.componentListener("controlbar",b.api.events.JWPLAYER_COMPONENT_HIDE,w);return u}})}else{if(t=="display"){return b.utils.extend(u,{show:function(){v.callInternal("jwDisplayShow");return u},hide:function(){v.callInternal("jwDisplayHide");return u},onShow:function(w){v.componentListener("display",b.api.events.JWPLAYER_COMPONENT_SHOW,w);return u},onHide:function(w){v.componentListener("display",b.api.events.JWPLAYER_COMPONENT_HIDE,w);return u}})}else{return this.plugins[t]}}}};this.callback=function(t){if(h[t]){return h[t]()}};this.getDuration=function(){return this.callInternal("jwGetDuration")};this.getFullscreen=function(){return this.callInternal("jwGetFullscreen")};this.getHeight=function(){return this.callInternal("jwGetHeight")};this.getLockState=function(){return this.callInternal("jwGetLockState")};this.getMeta=function(){return this.getItemMeta()};this.getMute=function(){return this.callInternal("jwGetMute")};this.getPlaylist=function(){var u=this.callInternal("jwGetPlaylist");if(this.renderingMode=="flash"){b.utils.deepReplaceKeyName(u,"__dot__",".")}for(var t=0;t<u.length;t++){if(!b.utils.exists(u[t].index)){u[t].index=t}}return u};this.getPlaylistItem=function(t){if(!b.utils.exists(t)){t=this.getCurrentItem()}return this.getPlaylist()[t]};this.getPosition=function(){return this.callInternal("jwGetPosition")};this.getRenderingMode=function(){return this.renderingMode};this.getState=function(){return this.callInternal("jwGetState")};this.getVolume=function(){return this.callInternal("jwGetVolume")};this.getWidth=function(){return this.callInternal("jwGetWidth")};this.setFullscreen=function(t){if(!b.utils.exists(t)){this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen"))}else{this.callInternal("jwSetFullscreen",t)}return this};this.setMute=function(t){if(!b.utils.exists(t)){this.callInternal("jwSetMute",!this.callInternal("jwGetMute"))}else{this.callInternal("jwSetMute",t)}return this};this.lock=function(){return this};this.unlock=function(){return this};this.load=function(t){this.callInternal("jwLoad",t);return this};this.playlistItem=function(t){this.callInternal("jwPlaylistItem",t);return this};this.playlistPrev=function(){this.callInternal("jwPlaylistPrev");return this};this.playlistNext=function(){this.callInternal("jwPlaylistNext");return this};this.resize=function(u,t){if(this.renderingMode=="html5"){f.jwResize(u,t)}else{this.container.width=u;this.container.height=t;var v=document.getElementById(this.id+"_wrapper");if(v){v.style.width=u+"px";v.style.height=t+"px"}}return this};this.play=function(t){if(typeof t=="undefined"){t=this.getState();if(t==b.api.events.state.PLAYING||t==b.api.events.state.BUFFERING){this.callInternal("jwPause")}else{this.callInternal("jwPlay")}}else{this.callInternal("jwPlay",t)}return this};this.pause=function(t){if(typeof t=="undefined"){t=this.getState();if(t==b.api.events.state.PLAYING||t==b.api.events.state.BUFFERING){this.callInternal("jwPause")}else{this.callInternal("jwPlay")}}else{this.callInternal("jwPause",t)}return this};this.stop=function(){this.callInternal("jwStop");return this};this.seek=function(t){this.callInternal("jwSeek",t);return this};this.setVolume=function(t){this.callInternal("jwSetVolume",t);return this};this.onBufferChange=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_BUFFER,t)};this.onBufferFull=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_BUFFER_FULL,t)};this.onError=function(t){return this.eventListener(b.api.events.JWPLAYER_ERROR,t)};this.onFullscreen=function(t){return this.eventListener(b.api.events.JWPLAYER_FULLSCREEN,t)};this.onMeta=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_META,t)};this.onMute=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_MUTE,t)};this.onPlaylist=function(t){return this.eventListener(b.api.events.JWPLAYER_PLAYLIST_LOADED,t)};this.onPlaylistItem=function(t){return this.eventListener(b.api.events.JWPLAYER_PLAYLIST_ITEM,t)};this.onReady=function(t){return this.eventListener(b.api.events.API_READY,t)};this.onResize=function(t){return this.eventListener(b.api.events.JWPLAYER_RESIZE,t)};this.onComplete=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_COMPLETE,t)};this.onSeek=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_SEEK,t)};this.onTime=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_TIME,t)};this.onVolume=function(t){return this.eventListener(b.api.events.JWPLAYER_MEDIA_VOLUME,t)};this.onBuffer=function(t){return this.stateListener(b.api.events.state.BUFFERING,t)};this.onPause=function(t){return this.stateListener(b.api.events.state.PAUSED,t)};this.onPlay=function(t){return this.stateListener(b.api.events.state.PLAYING,t)};this.onIdle=function(t){return this.stateListener(b.api.events.state.IDLE,t)};this.remove=function(){n={};g=[];if(b.utils.getOuterHTML(this.container)!=q){b.api.destroyPlayer(this.id,q)}};this.setup=function(u){if(b.embed){var t=this.id;this.remove();var v=b(t);v.config=u;return new b.embed(v)}return this};this.registerPlugin=function(v,u,t){b.plugins.registerPlugin(v,u,t)};this.setPlayer=function(t,u){f=t;this.renderingMode=u};this.stateListener=function(t,u){if(!p[t]){p[t]=[];this.eventListener(b.api.events.JWPLAYER_PLAYER_STATE,e(t))}p[t].push(u);return this};this.detachMedia=function(){if(this.renderingMode=="html5"){return this.callInternal("jwDetachMedia")}};this.attachMedia=function(){if(this.renderingMode=="html5"){return this.callInternal("jwAttachMedia")}};function e(t){return function(w){var v=w.newstate,y=w.oldstate;if(v==t){var x=p[v];if(x){for(var u=0;u<x.length;u++){if(typeof x[u]=="function"){x[u].call(this,{oldstate:y,newstate:v})}}}}}}this.componentListener=function(t,u,v){if(!j[t]){j[t]={}}if(!j[t][u]){j[t][u]=[];this.eventListener(u,m(t,u))}j[t][u].push(v);return this};function m(t,u){return function(w){if(t==w.component){var v=j[t][u];if(v){for(var x=0;x<v.length;x++){if(typeof v[x]=="function"){v[x].call(this,w)}}}}}}this.addInternalListener=function(t,u){t.jwAddEventListener(u,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+u+'", dat); }')};this.eventListener=function(t,u){if(!n[t]){n[t]=[];if(f&&l){this.addInternalListener(f,t)}}n[t].push(u);return this};this.dispatchEvent=function(v){if(n[v]){var u=d(v,arguments[1]);for(var t=0;t<n[v].length;t++){if(typeof n[v][t]=="function"){n[v][t].call(this,u)}}}};function d(v,t){var x=b.utils.extend({},t);if(v==b.api.events.JWPLAYER_FULLSCREEN&&!x.fullscreen){x.fullscreen=x.message=="true"?true:false;delete x.message}else{if(typeof x.data=="object"){x=b.utils.extend(x,x.data);delete x.data}}var u=["position","duration","offset"];for(var w in u){if(x[u[w]]){x[u[w]]=Math.round(x[u[w]]*1000)/1000}}return x}this.callInternal=function(u,t){if(l){if(typeof f!="undefined"&&typeof f[u]=="function"){if(b.utils.exists(t)){return(f[u])(t)}else{return(f[u])()}}return null}else{g.push({method:u,parameters:t})}};this.playerReady=function(v){l=true;if(!f){this.setPlayer(document.getElementById(v.id))}this.container=document.getElementById(this.id);for(var t in n){this.addInternalListener(f,t)}this.eventListener(b.api.events.JWPLAYER_PLAYLIST_ITEM,function(w){k={}});this.eventListener(b.api.events.JWPLAYER_MEDIA_META,function(w){b.utils.extend(k,w.metadata)});this.dispatchEvent(b.api.events.API_READY);while(g.length>0){var u=g.shift();this.callInternal(u.method,u.parameters)}};this.getItemMeta=function(){return k};this.getCurrentItem=function(){return this.callInternal("jwGetPlaylistIndex")};function o(v,x,w){var t=[];if(!x){x=0}if(!w){w=v.length-1}for(var u=x;u<=w;u++){t.push(v[u])}return t}return this};b.api.selectPlayer=function(c){var e;if(!b.utils.exists(c)){c=0}if(c.nodeType){e=c}else{if(typeof c=="string"){e=document.getElementById(c)}}if(e){var d=b.api.playerById(e.id);if(d){return d}else{return b.api.addPlayer(new b.api(e))}}else{if(typeof c=="number"){return b.getPlayers()[c]}}return null};b.api.events={API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem"};b.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"};b.api.playerById=function(d){for(var c=0;c<a.length;c++){if(a[c].id==d){return a[c]}}return null};b.api.addPlayer=function(c){for(var d=0;d<a.length;d++){if(a[d]==c){return c}}a.push(c);return c};b.api.destroyPlayer=function(g,j){var f=-1;for(var e=0;e<a.length;e++){if(a[e].id==g){f=e;continue}}if(f>=0){var h=document.getElementById(a[f].id);if(document.getElementById(a[f].id+"_wrapper")){h=document.getElementById(a[f].id+"_wrapper")}if(h){if(j){b.utils.setOuterHTML(h,j)}else{var d=document.createElement("div");var c=h.id;if(h.id.indexOf("_wrapper")==h.id.length-8){newID=h.id.substring(0,h.id.length-8)}d.setAttribute("id",c);h.parentNode.replaceChild(d,h)}}a.splice(f,1)}return null};b.getPlayers=function(){return a.slice(0)}})(jwplayer);var _userPlayerReady=(typeof playerReady=="function")?playerReady:undefined;playerReady=function(b){var a=jwplayer.api.playerById(b.id);if(a){a.playerReady(b)}else{jwplayer.api.selectPlayer(b.id).playerReady(b)}if(_userPlayerReady){_userPlayerReady.call(this,b)}};(function(b){var a=b.utils;b.embed=function(k){var g={width:400,height:300,components:{controlbar:{position:"over"}}};var f=a.mediaparser.parseMedia(k.container);var e=new b.embed.config(a.extend(g,f,k.config),this);var d=b.plugins.loadPlugins(k.id,e.plugins);function h(l,n){for(var m in n){if(typeof l[m]=="function"){(l[m]).call(l,n[m])}}}function j(){if(d.getStatus()==a.loaderstatus.COMPLETE){for(var t=0;t<e.modes.length;t++){if(e.modes[t].type&&b.embed[e.modes[t].type]){var m=e.modes[t].config;var q=e;if(m){q=a.extend(a.clone(e),m);var p=["file","levels","playlist"];for(var s=0;s<p.length;s++){var n=p[s];if(a.exists(m[n])){for(var r=0;r<p.length;r++){if(r!=s){var l=p[r];if(a.exists(q[l])&&!a.exists(m[l])){delete q[l]}}}}}}var o=new b.embed[e.modes[t].type](document.getElementById(k.id),e.modes[t],q,d,k);if(o.supportsConfig()){o.embed();h(k,e.events);return k}}}a.log("No suitable players found");new b.embed.logo(a.extend({hide:true},e.components.logo),"none",k.id)}}d.addEventListener(b.events.COMPLETE,j);d.addEventListener(b.events.ERROR,j);d.load();return k};function c(){if(!document.body){return setTimeout(c,15)}var f=a.selectors.getElementsByTagAndClass("video","jwplayer");for(var d=0;d<f.length;d++){var e=f[d];if(e.id==""){e.id="jwplayer_"+Math.round(Math.random()*100000)}b(e.id).setup({})}}c()})(jwplayer);(function(d){function g(){return[{type:"flash",src:"/jwplayer/player.swf"},{type:"html5"},{type:"download"}]}var j={players:"modes",autoplay:"autostart"};function a(m){var l=m.toLowerCase();var k=["left","right","top","bottom"];for(var n=0;n<k.length;n++){if(l==k[n]){return true}}return false}function b(l){var k=false;k=(l instanceof Array)||(typeof l=="object"&&!l.position&&!l.size);return k}function h(k){if(typeof k=="string"){if(parseInt(k).toString()==k||k.toLowerCase().indexOf("px")>-1){return parseInt(k)}}return k}var f=["playlist","dock","controlbar","logo","display"];function e(o){var m={};switch(d.utils.typeOf(o.plugins)){case"object":for(var l in o.plugins){m[d.utils.getPluginName(l)]=l}break;case"string":var n=o.plugins.split(",");for(var k=0;k<n.length;k++){m[d.utils.getPluginName(n[k])]=n[k]}break}return m}function c(n,m,l,p){if(d.utils.typeOf(n[m])!="object"){n[m]={}}var k=n[m][l];if(d.utils.typeOf(k)!="object"){n[m][l]=k={}}if(p){if(m=="plugins"){var o=d.utils.getPluginName(l);k[p]=n[o+"."+p];delete n[o+"."+p]}else{k[p]=n[l+"."+p];delete n[l+"."+p]}}}d.embed.deserialize=function(k){var l=e(k);for(var p in l){c(k,"plugins",l[p])}for(var o in k){if(o.indexOf(".")>-1){var n=o.split(".");var m=n[0];var o=n[1];if(d.utils.isInArray(f,m)){c(k,"components",m,o)}else{if(l[m]){c(k,"plugins",l[m],o)}}}}return k};d.embed.config=function(l,k){var u=d.utils.extend({},l);var s;if(b(u.playlist)){s=u.playlist;delete u.playlist}u=d.embed.deserialize(u);u.height=h(u.height);u.width=h(u.width);if(typeof u.plugins=="string"){var m=u.plugins.split(",");if(typeof u.plugins!="object"){u.plugins={}}for(var q=0;q<m.length;q++){var r=d.utils.getPluginName(m[q]);if(typeof u[r]=="object"){u.plugins[m[q]]=u[r];delete u[r]}else{u.plugins[m[q]]={}}}}for(var t=0;t<f.length;t++){var p=f[t];if(d.utils.exists(u[p])){if(typeof u[p]!="object"){if(!u.components[p]){u.components[p]={}}if(p=="logo"){u.components[p].file=u[p]}else{u.components[p].position=u[p]}delete u[p]}else{if(!u.components[p]){u.components[p]={}}d.utils.extend(u.components[p],u[p]);delete u[p]}}if(typeof u[p+"size"]!="undefined"){if(!u.components[p]){u.components[p]={}}u.components[p].size=u[p+"size"];delete u[p+"size"]}}if(typeof u.icons!="undefined"){if(!u.components.display){u.components.display={}}u.components.display.icons=u.icons;delete u.icons}for(var o in j){if(u[o]){if(!u[j[o]]){u[j[o]]=u[o]}delete u[o]}}var n;if(u.flashplayer&&!u.modes){n=g();n[0].src=u.flashplayer;delete u.flashplayer}else{if(u.modes){if(typeof u.modes=="string"){n=g();n[0].src=u.modes}else{if(u.modes instanceof Array){n=u.modes}else{if(typeof u.modes=="object"&&u.modes.type){n=[u.modes]}}}delete u.modes}else{n=g()}}u.modes=n;if(s){u.playlist=s}return u}})(jwplayer);(function(a){a.embed.download=function(b,g,d,c,f){this.embed=function(){var s=a.utils.extend({},d);var o={};var r=d.width?d.width:480;if(typeof r!="number"){r=parseInt(r,10)}var u=d.height?d.height:320;if(typeof u!="number"){u=parseInt(u,10)}var k,m,l;var h={};if(d.playlist&&d.playlist.length){h.file=d.playlist[0].file;m=d.playlist[0].image;h.levels=d.playlist[0].levels}else{h.file=d.file;m=d.image;h.levels=d.levels}if(h.file){k=h.file}else{if(h.levels&&h.levels.length){k=h.levels[0].file}}l=k?"pointer":"auto";var t={display:{style:{cursor:l,width:r,height:u,backgroundColor:"#000",position:"relative",textDecoration:"none",border:"none",display:"block"}},display_icon:{style:{cursor:l,position:"absolute",display:k?"block":"none",top:0,left:0,border:0,margin:0,padding:0,zIndex:3,width:50,height:50,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg==)"}},display_iconBackground:{style:{cursor:l,position:"absolute",display:k?"block":"none",top:((u-50)/2),left:((r-50)/2),border:0,width:50,height:50,margin:0,padding:0,zIndex:2,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC)"}},display_image:{style:{width:r,height:u,display:m?"block":"none",position:"absolute",cursor:l,left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1,border:"none"}}};var q=function(w,y,v){var x=document.createElement(w);if(v){x.id=v}else{x.id=b.id+"_jwplayer_"+y}a.utils.css(x,t[y].style);return x};o.display=q("a","display",b.id);if(k){o.display.setAttribute("href",a.utils.getAbsolutePath(k))}o.display_image=q("img","display_image");o.display_image.setAttribute("alt","Click to download...");if(m){o.display_image.setAttribute("src",a.utils.getAbsolutePath(m))}if(true){o.display_icon=q("div","display_icon");o.display_iconBackground=q("div","display_iconBackground");o.display.appendChild(o.display_image);o.display_iconBackground.appendChild(o.display_icon);o.display.appendChild(o.display_iconBackground)}_css=a.utils.css;_hide=function(v){_css(v,{display:"none"})};function p(v){_imageWidth=o.display_image.naturalWidth;_imageHeight=o.display_image.naturalHeight;j()}function j(){a.utils.stretch(a.utils.stretching.UNIFORM,o.display_image,r,u,_imageWidth,_imageHeight)}o.display_image.onerror=function(v){_hide(o.display_image)};o.display_image.onload=p;b.parentNode.replaceChild(o.display,b);var n=(d.plugins&&d.plugins.logo)?d.plugins.logo:{};o.display.appendChild(new a.embed.logo(d.components.logo,"download",b.id));f.container=document.getElementById(f.id);f.setPlayer(o.display,"download")};this.supportsConfig=function(){if(d){var j=a.utils.getFirstPlaylistItemFromConfig(d);if(typeof j.file=="undefined"&&typeof j.levels=="undefined"){return true}else{if(j.file){return e(j.file,j.provider,j.playlistfile)}else{if(j.levels&&j.levels.length){for(var h=0;h<j.levels.length;h++){if(j.levels[h].file&&e(j.levels[h].file,j.provider,j.playlistfile)){return true}}}}}}else{return true}};function e(j,l,h){if(h){return false}var k=["image","sound","youtube","http"];if(l&&(k.toString().indexOf(l)>-1)){return true}if(!l||(l&&l=="video")){var m=a.utils.extension(j);if(m&&a.utils.extensionmap[m]){return true}}return false}}})(jwplayer);(function(a){a.embed.flash=function(m,b,f,l,d){function g(o,n,p){var q=document.createElement("param");q.setAttribute("name",n);q.setAttribute("value",p);o.appendChild(q)}function e(o,p,n){return function(q){if(n){document.getElementById(d.id+"_wrapper").appendChild(p)}var s=document.getElementById(d.id).getPluginConfig("display");o.resize(s.width,s.height);var r={left:s.x,top:s.y};a.utils.css(p,r)}}function k(p){if(!p){return{}}var r={};for(var o in p){var n=p[o];for(var q in n){r[o+"."+q]=n[q]}}return r}function c(q,p){if(q[p]){var s=q[p];for(var o in s){var n=s[o];if(typeof n=="string"){if(!q[o]){q[o]=n}}else{for(var r in n){if(!q[o+"."+r]){q[o+"."+r]=n[r]}}}}delete q[p]}}function h(q){if(!q){return{}}var t={},s=[];for(var n in q){var p=a.utils.getPluginName(n);var o=q[n];s.push(n);for(var r in o){t[p+"."+r]=o[r]}}t.plugins=s.join(",");return t}function j(p){var n=p.netstreambasepath?"":"netstreambasepath="+encodeURIComponent(window.location.href.split("#")[0])+"&";for(var o in p){if(typeof(p[o])=="object"){n+=o+"="+encodeURIComponent("[[JSON]]"+a.utils.strings.jsonToString(p[o]))+"&"}else{n+=o+"="+encodeURIComponent(p[o])+"&"}}return n.substring(0,n.length-1)}this.embed=function(){f.id=d.id;var s;var w=a.utils.extend({},f);var t=w.width;var q=w.height;if(m.id+"_wrapper"==m.parentNode.id){s=document.getElementById(m.id+"_wrapper")}else{s=document.createElement("div");s.id=m.id+"_wrapper";a.utils.wrap(m,s);a.utils.css(s,{position:"relative",width:t,height:q})}var u=l.setupPlugins(d,w,e);if(u.length>0){a.utils.extend(w,h(u.plugins))}else{delete w.plugins}var y=["height","width","modes","events"];for(var o=0;o<y.length;o++){delete w[y[o]]}var v="opaque";if(w.wmode){v=w.wmode}c(w,"components");c(w,"providers");if(typeof w["dock.position"]!="undefined"){if(w["dock.position"].toString().toLowerCase()=="false"){w.dock=w["dock.position"];delete w["dock.position"]}}var r="#000000";var x;if(a.utils.isIE()){var p='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" bgcolor="'+r+'" width="100%" height="100%" id="'+m.id+'" name="'+m.id+'" tabindex=0"">';p+='<param name="movie" value="'+b.src+'">';p+='<param name="allowfullscreen" value="true">';p+='<param name="allowscriptaccess" value="always">';p+='<param name="seamlesstabbing" value="true">';p+='<param name="wmode" value="'+v+'">';p+='<param name="flashvars" value="'+j(w)+'">';p+="</object>";a.utils.setOuterHTML(m,p);x=document.getElementById(m.id)}else{var n=document.createElement("object");n.setAttribute("type","application/x-shockwave-flash");n.setAttribute("data",b.src);n.setAttribute("width","100%");n.setAttribute("height","100%");n.setAttribute("bgcolor","#000000");n.setAttribute("id",m.id);n.setAttribute("name",m.id);n.setAttribute("tabindex",0);g(n,"allowfullscreen","true");g(n,"allowscriptaccess","always");g(n,"seamlesstabbing","true");g(n,"wmode",v);g(n,"flashvars",j(w));m.parentNode.replaceChild(n,m);x=n}d.container=x;d.setPlayer(x,"flash")};this.supportsConfig=function(){if(a.utils.hasFlash()){if(f){var o=a.utils.getFirstPlaylistItemFromConfig(f);if(typeof o.file=="undefined"&&typeof o.levels=="undefined"){return true}else{if(o.file){return flashCanPlay(o.file,o.provider)}else{if(o.levels&&o.levels.length){for(var n=0;n<o.levels.length;n++){if(o.levels[n].file&&flashCanPlay(o.levels[n].file,o.provider)){return true}}}}}}else{return true}}return false};flashCanPlay=function(n,p){var o=["video","http","sound","image"];if(p&&(o.toString().indexOf(p<0))){return true}var q=a.utils.extension(n);if(!q){return true}if(a.utils.exists(a.utils.extensionmap[q])&&!a.utils.exists(a.utils.extensionmap[q].flash)){return false}return true}}})(jwplayer);(function(a){a.embed.html5=function(b,g,d,c,f){function e(j,k,h){return function(l){var m=document.getElementById(b.id+"_displayarea");if(h){m.appendChild(k)}j.resize(m.clientWidth,m.clientHeight);k.left=m.style.left;k.top=m.style.top}}this.embed=function(){if(a.html5){c.setupPlugins(f,d,e);b.innerHTML="";var j=a.utils.extend({screencolor:"0x000000"},d);var h=["plugins","modes","events"];for(var k=0;k<h.length;k++){delete j[h[k]]}if(j.levels&&!j.sources){j.sources=d.levels}if(j.skin&&j.skin.toLowerCase().indexOf(".zip")>0){j.skin=j.skin.replace(/\.zip/i,".xml")}var l=new (a.html5(b)).setup(j);f.container=document.getElementById(f.id);f.setPlayer(l,"html5")}else{return null}};this.supportsConfig=function(){if(!!a.vid.canPlayType){if(d){var j=a.utils.getFirstPlaylistItemFromConfig(d);if(typeof j.file=="undefined"&&typeof j.levels=="undefined"){return true}else{if(j.file){return html5CanPlay(a.vid,j.file,j.provider,j.playlistfile)}else{if(j.levels&&j.levels.length){for(var h=0;h<j.levels.length;h++){if(j.levels[h].file&&html5CanPlay(a.vid,j.levels[h].file,j.provider,j.playlistfile)){return true}}}}}}else{return true}}return false};html5CanPlay=function(k,j,l,h){if(h){return false}if(l&&l=="youtube"){return true}if(l&&l!="video"&&l!="http"&&l!="sound"){return false}var m=a.utils.extension(j);if(!a.utils.exists(m)||!a.utils.exists(a.utils.extensionmap[m])){return true}if(!a.utils.exists(a.utils.extensionmap[m].html5)){return false}if(a.utils.isLegacyAndroid()&&m.match(/m4v|mp4/)){return true}return browserCanPlay(k,a.utils.extensionmap[m].html5)};browserCanPlay=function(j,h){if(!h){return true}if(j.canPlayType(h)){return true}else{if(h=="audio/mp3"&&navigator.userAgent.match(/safari/i)){return j.canPlayType("audio/mpeg")}else{return false}}}}})(jwplayer);(function(a){a.embed.logo=function(p,o,f){var m={prefix:"http://l.longtailvideo.com/"+o+"/",file:"",link:"",margin:8,out:0.5,over:1,timeout:5,hide:false,position:"bottom-left"};_css=a.utils.css;var c;var l;n();function n(){d();e();h()}function d(){if(m.prefix){var q=a.version.split(/\W/).splice(0,2).join("/");if(m.prefix.indexOf(q)<0){m.prefix+=q+"/"}}l=a.utils.extend({},m,p)}function k(){var s={border:"none",textDecoration:"none",position:"absolute",cursor:"pointer",zIndex:10};s.display=l.hide?"none":"block";var r=l.position.toLowerCase().split("-");for(var q in r){s[r[q]]=l.margin}return s}function e(){c=document.createElement("img");c.id=f+"_jwplayer_logo";c.style.display="none";c.onload=function(q){_css(c,k());g()};if(!l.file){return}if(l.file.indexOf("http://")===0){c.src=l.file}else{c.src=l.prefix+l.file}}if(!l.file){return}function h(){if(l.link){c.onmouseover=j;c.onmouseout=g;c.onclick=b}else{this.mouseEnabled=false}}function b(q){if(typeof q!="undefined"){q.preventDefault();q.stopPropagation()}if(l.link){window.open(l.link,"_blank")}return}function g(q){if(l.link){c.style.opacity=l.out}return}function j(q){if(l.hide){c.style.opacity=l.over}return}return c}})(jwplayer);(function(a){a.html5=function(b){var c=b;this.setup=function(d){a.utils.extend(this,new a.html5.api(c,d));return this};return this}})(jwplayer);(function(b){var a=b.utils;var c=a.css;b.html5.view=function(m,k,x){var u=m;var H=k;var E=x;var C;var y;var s;var o;var v;var f;var p;var h=false;var j,e;function g(){C=document.createElement("div");C.id=H.id;C.className=H.className;_videowrapper=document.createElement("div");_videowrapper.id=C.id+"_video_wrapper";H.id=C.id+"_video";c(C,{position:"relative",height:E.height,width:E.width,padding:0,backgroundColor:I(),zIndex:0});function I(){if(u.skin.getComponentSettings("display")&&u.skin.getComponentSettings("display").backgroundcolor){return u.skin.getComponentSettings("display").backgroundcolor}return parseInt("000000",16)}c(H,{width:"100%",height:"100%",top:0,left:0,zIndex:1,margin:"auto",display:"block"});c(_videowrapper,{overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0});a.wrap(H,C);a.wrap(H,_videowrapper);o=document.createElement("div");o.id=C.id+"_displayarea";C.appendChild(o)}function B(){for(var I=0;I<E.plugins.order.length;I++){var J=E.plugins.order[I];if(a.exists(E.plugins.object[J].getDisplayElement)){E.plugins.object[J].height=a.parseDimension(E.plugins.object[J].getDisplayElement().style.height);E.plugins.object[J].width=a.parseDimension(E.plugins.object[J].getDisplayElement().style.width);E.plugins.config[J].currentPosition=E.plugins.config[J].position}}t()}function G(I){c(o,{display:(E.getMedia()&&E.getMedia().hasChrome()&&I.newstate!=b.api.events.state.IDLE)?"none":"block"})}function t(J){var L=E.getMedia()?E.getMedia().getDisplayElement():null;if(a.exists(L)){if(p!=L){if(p&&p.parentNode){p.parentNode.replaceChild(L,p)}p=L}for(var I=0;I<E.plugins.order.length;I++){var K=E.plugins.order[I];if(a.exists(E.plugins.object[K].getDisplayElement)){E.plugins.config[K].currentPosition=E.plugins.config[K].position}}}A(E.width,E.height)}this.setup=function(){if(E&&E.getMedia()){H=E.getMedia().getDisplayElement()}g();B();u.jwAddEventListener(b.api.events.JWPLAYER_PLAYER_STATE,G);u.jwAddEventListener(b.api.events.JWPLAYER_MEDIA_LOADED,t);u.jwAddEventListener(b.api.events.JWPLAYER_MEDIA_META,function(){F()});var I;if(a.exists(window.onresize)){I=window.onresize}window.onresize=function(J){if(a.exists(I)){try{I(J)}catch(L){}}if(u.jwGetFullscreen()){if(!l()){var K=a.getBoundingClientRect(document.body);E.width=Math.abs(K.left)+Math.abs(K.right);E.height=window.innerHeight;A(E.width,E.height)}}else{A(E.width,E.height)}}};function z(I){switch(I.keyCode){case 27:if(u.jwGetFullscreen()){u.jwSetFullscreen(false)}break;case 32:if(u.jwGetState()!=b.api.events.state.IDLE&&u.jwGetState()!=b.api.events.state.PAUSED){u.jwPause()}else{u.jwPlay()}break}}function A(N,K){if(C.style.display=="none"){return}var M=[].concat(E.plugins.order);M.reverse();v=M.length+2;if(l()){try{if(E.fullscreen&&!E.getMedia().getDisplayElement().webkitDisplayingFullscreen){E.fullscreen=false}}catch(I){}}if(!E.fullscreen){y=N;s=K;if(typeof N=="string"&&N.indexOf("%")>0){y=a.getElementWidth(a.parentNode(C))*parseInt(N.replace("%"),"")/100}else{y=N}if(typeof K=="string"&&K.indexOf("%")>0){s=a.getElementHeight(a.parentNode(C))*parseInt(K.replace("%"),"")/100}else{s=K}c(o,{top:0,bottom:0,left:0,right:0,width:y,height:s,position:"absolute"});c(C,{height:s,width:y});var L=d(q,M);if(L.length>0){v+=L.length;var J=L.indexOf("playlist"),O=L.indexOf("controlbar");if(J>=0&&O>=0){L[J]=L.splice(O,1,L[J])[0]}d(D,L,true)}j=a.getElementWidth(o);e=a.getElementHeight(o)}else{if(!l()){d(r,M,true)}}F()}function d(P,L,M){var N=[];for(var K=0;K<L.length;K++){var O=L[K];if(a.exists(E.plugins.object[O].getDisplayElement)){if(E.plugins.config[O].currentPosition!=b.html5.view.positions.NONE){var I=P(O,v--);if(!I){N.push(O)}else{var J=I.width;var Q=I.height;if(M){delete I.width;delete I.height}c(E.plugins.object[O].getDisplayElement(),I);E.plugins.object[O].resize(J,Q)}}else{c(E.plugins.object[O].getDisplayElement(),{display:"none"})}}}return N}function q(J,K){if(a.exists(E.plugins.object[J].getDisplayElement)){if(E.plugins.config[J].position&&n(E.plugins.config[J].position)){if(!a.exists(E.plugins.object[J].getDisplayElement().parentNode)){C.appendChild(E.plugins.object[J].getDisplayElement())}var I=w(J);I.zIndex=K;return I}}return false}function D(I,J){if(!a.exists(E.plugins.object[I].getDisplayElement().parentNode)){o.appendChild(E.plugins.object[I].getDisplayElement())}return{position:"absolute",width:(a.getElementWidth(o)-a.parseDimension(o.style.left)-a.parseDimension(o.style.right)),height:(a.getElementHeight(o)-a.parseDimension(o.style.top)-a.parseDimension(o.style.bottom)),zIndex:J}}function r(I,J){return{position:"fixed",width:E.width,height:E.height,zIndex:J}}function F(){if(!a.exists(E.getMedia())){return}o.style.position="absolute";var K=E.getMedia().getDisplayElement();if(K&&K.tagName.toLowerCase()=="video"){K.style.position="absolute";if(K.parentNode){K.parentNode.style.left=o.style.left;K.parentNode.style.top=o.style.top}if(E.fullscreen&&u.jwGetStretching()==b.utils.stretching.EXACTFIT&&!a.isMobile()){var I=document.createElement("div");a.stretch(b.utils.stretching.UNIFORM,I,a.getElementWidth(o),a.getElementHeight(o),j,e);a.stretch(b.utils.stretching.EXACTFIT,K,a.parseDimension(I.style.width),a.parseDimension(I.style.height),K.videoWidth?K.videoWidth:400,K.videoHeight?K.videoHeight:300);c(K,{left:I.style.left,top:I.style.top})}else{a.stretch(u.jwGetStretching(),K,a.getElementWidth(o),a.getElementHeight(o),K.videoWidth?K.videoWidth:400,K.videoHeight?K.videoHeight:300)}}else{var J=E.plugins.object.display.getDisplayElement();if(J){E.getMedia().resize(a.parseDimension(J.style.width),a.parseDimension(J.style.height))}else{E.getMedia().resize(a.parseDimension(o.style.width),a.parseDimension(o.style.height))}}}function w(J){var K={position:"absolute",margin:0,padding:0,top:null};var I=E.plugins.config[J].currentPosition.toLowerCase();switch(I.toUpperCase()){case b.html5.view.positions.TOP:K.top=a.parseDimension(o.style.top);K.left=a.parseDimension(o.style.left);K.width=a.getElementWidth(o)-a.parseDimension(o.style.left)-a.parseDimension(o.style.right);K.height=E.plugins.object[J].height;o.style[I]=a.parseDimension(o.style[I])+E.plugins.object[J].height+"px";o.style.height=a.getElementHeight(o)-K.height+"px";break;case b.html5.view.positions.RIGHT:K.top=a.parseDimension(o.style.top);K.right=a.parseDimension(o.style.right);K.width=E.plugins.object[J].width;K.height=a.getElementHeight(o)-a.parseDimension(o.style.top)-a.parseDimension(o.style.bottom);o.style.width=a.getElementWidth(o)-K.width+"px";break;case b.html5.view.positions.BOTTOM:K.bottom=a.parseDimension(o.style.bottom);K.left=a.parseDimension(o.style.left);K.width=a.getElementWidth(o)-a.parseDimension(o.style.left)-a.parseDimension(o.style.right);K.height=E.plugins.object[J].height;o.style.height=a.getElementHeight(o)-K.height+"px";break;case b.html5.view.positions.LEFT:K.top=a.parseDimension(o.style.top);K.left=a.parseDimension(o.style.left);K.width=E.plugins.object[J].width;K.height=a.getElementHeight(o)-a.parseDimension(o.style.top)-a.parseDimension(o.style.bottom);o.style[I]=a.parseDimension(o.style[I])+E.plugins.object[J].width+"px";o.style.width=a.getElementWidth(o)-K.width+"px";break;default:break}return K}this.resize=A;this.fullscreen=function(N){var J;try{J=E.getMedia().getDisplayElement()}catch(I){}if(l()&&J&&J.webkitSupportsFullscreen){if(N&&!J.webkitDisplayingFullscreen){try{a.transform(J);J.webkitEnterFullscreen()}catch(M){}}else{if(!N){F();if(J.webkitDisplayingFullscreen){try{J.webkitExitFullscreen()}catch(M){}}}}h=false}else{if(N){document.onkeydown=z;clearInterval(f);var L=a.getBoundingClientRect(document.body);E.width=Math.abs(L.left)+Math.abs(L.right);E.height=window.innerHeight;var K={position:"fixed",width:"100%",height:"100%",top:0,left:0,zIndex:2147483000};c(C,K);K.zIndex=1;if(E.getMedia()&&E.getMedia().getDisplayElement()){c(E.getMedia().getDisplayElement(),K)}K.zIndex=2;c(o,K);h=true}else{document.onkeydown="";E.width=y;E.height=s;c(C,{position:"relative",height:E.height,width:E.width,zIndex:0});h=false}A(E.width,E.height)}};function n(I){return([b.html5.view.positions.TOP,b.html5.view.positions.RIGHT,b.html5.view.positions.BOTTOM,b.html5.view.positions.LEFT].toString().indexOf(I.toUpperCase())>-1)}function l(){if(u.jwGetState()!=b.api.events.state.IDLE&&!h&&(E.getMedia()&&E.getMedia().getDisplayElement()&&E.getMedia().getDisplayElement().webkitSupportsFullscreen)&&a.useNativeFullscreen()){return true}return false}};b.html5.view.positions={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",LEFT:"LEFT",OVER:"OVER",NONE:"NONE"}})(jwplayer);(function(a){var b={backgroundcolor:"",margin:10,font:"Arial,sans-serif",fontsize:10,fontcolor:parseInt("000000",16),fontstyle:"normal",fontweight:"bold",buttoncolor:parseInt("ffffff",16),position:a.html5.view.positions.BOTTOM,idlehide:false,hideplaylistcontrols:false,layout:{left:{position:"left",elements:[{name:"play",type:"button"},{name:"divider",type:"divider"},{name:"prev",type:"button"},{name:"divider",type:"divider"},{name:"next",type:"button"},{name:"divider",type:"divider"},{name:"elapsed",type:"text"}]},center:{position:"center",elements:[{name:"time",type:"slider"}]},right:{position:"right",elements:[{name:"duration",type:"text"},{name:"blank",type:"button"},{name:"divider",type:"divider"},{name:"mute",type:"button"},{name:"volume",type:"slider"},{name:"divider",type:"divider"},{name:"fullscreen",type:"button"}]}}};_utils=a.utils;_css=_utils.css;_hide=function(c){_css(c,{display:"none"})};_show=function(c){_css(c,{display:"block"})};a.html5.controlbar=function(al,p){window.controlbar=this;var ak=al;var A=_utils.extend({},b,ak.skin.getComponentSettings("controlbar"),p);if(A.position==a.html5.view.positions.NONE||typeof a.html5.view.positions[A.position]=="undefined"){return}if(_utils.mapLength(ak.skin.getComponentLayout("controlbar"))>0){A.layout=ak.skin.getComponentLayout("controlbar")}var D;var h;var B;var C;var Z="none";var af;var aj;var E;var ae;var ad;var s;var j={};var T=false;var aa={};var v;var ah=false;var S;var ab;var m=false;var G=false;var I;var ai=new a.html5.eventdispatcher();_utils.extend(this,ai);function O(){if(!v){v=ak.skin.getSkinElement("controlbar","background");if(!v){v={width:0,height:0,src:null}}}return v}function f(){B=0;C=0;h=0;if(!T){var ao={height:O().height,backgroundColor:A.backgroundcolor};D=document.createElement("div");D.id=ak.id+"_jwplayer_controlbar";_css(D,ao)}var an=(ak.skin.getSkinElement("controlbar","capLeft"));var am=(ak.skin.getSkinElement("controlbar","capRight"));if(an){r("capLeft","left",false,D)}w("background",D,{position:"absolute",height:O().height,left:(an?an.width:0),zIndex:0},"img");if(O().src){j.background.src=O().src}w("elements",D,{position:"relative",height:O().height,zIndex:1});if(am){r("capRight","right",false,D)}}this.getDisplayElement=function(){return D};this.resize=function(ao,am){k();_utils.cancelAnimation(D);ad=ao;s=am;if(G!=ak.jwGetFullscreen()){G=ak.jwGetFullscreen();ab=undefined}var an=q();N({id:ak.id,duration:E,position:aj});Y({id:ak.id,bufferPercent:ae});return an};this.show=function(){if(ah){ah=false;_show(D);n()}};this.hide=function(){if(!ah){ah=true;_hide(D);y()}};function U(){var an=["timeSlider","volumeSlider","timeSliderRail","volumeSliderRail"];for(var ao in an){var am=an[ao];if(typeof j[am]!="undefined"){aa[am]=_utils.getBoundingClientRect(j[am])}}}var ac;function ag(am){if(ah){return}clearTimeout(S);if(A.position==a.html5.view.positions.OVER||ak.jwGetFullscreen()){switch(ak.jwGetState()){case a.api.events.state.PAUSED:case a.api.events.state.IDLE:if(D&&D.style.opacity<1&&(!A.idlehide||_utils.exists(am))){ac=false;setTimeout(function(){if(!ac){o()}},100)}if(A.idlehide){S=setTimeout(function(){u()},2000)}break;default:ac=true;if(am){o()}S=setTimeout(function(){u()},2000);break}}else{o()}}function u(){if(!ah){y();if(D.style.opacity==1){_utils.cancelAnimation(D);_utils.fadeTo(D,0,0.1,1,0)}}}function o(){if(!ah){n();if(D.style.opacity==0){_utils.cancelAnimation(D);_utils.fadeTo(D,1,0.1,0,0)}}}function K(am){return function(){if(m&&ab!=am){ab=am;ai.sendEvent(am,{component:"controlbar",boundingRect:g()})}}}var n=K(a.api.events.JWPLAYER_COMPONENT_SHOW);var y=K(a.api.events.JWPLAYER_COMPONENT_HIDE);function g(){if(A.position==a.html5.view.positions.OVER||ak.jwGetFullscreen()){return _utils.getDimensions(D)}else{return{x:0,y:0,width:0,height:0}}}function w(aq,ap,ao,am){var an;if(!T){if(!am){am="div"}an=document.createElement(am);j[aq]=an;an.id=D.id+"_"+aq;ap.appendChild(an)}else{an=document.getElementById(D.id+"_"+aq)}if(_utils.exists(ao)){_css(an,ao)}return an}function e(){if(ak.jwGetHeight()<=40){A.layout=_utils.clone(A.layout);for(var am=0;am<A.layout.left.elements.length;am++){if(A.layout.left.elements[am].name=="fullscreen"){A.layout.left.elements.splice(am,1)}}for(am=0;am<A.layout.right.elements.length;am++){if(A.layout.right.elements[am].name=="fullscreen"){A.layout.right.elements.splice(am,1)}}R()}P(A.layout.left);P(A.layout.center);P(A.layout.right)}function P(ap,am){var aq=ap.position=="right"?"right":"left";var ao=_utils.extend([],ap.elements);if(_utils.exists(am)){ao.reverse()}var ap=w(ap.position+"Group",j.elements,{"float":"left",styleFloat:"left",cssFloat:"left",height:"100%"});for(var an=0;an<ao.length;an++){z(ao[an],aq,ap)}}function c(){return h++}function z(aq,at,av){var ap,an,ao,am,aw;if(!av){av=j.elements}if(aq.type=="divider"){r("divider"+c(),at,true,av,undefined,aq.width,aq.element);return}switch(aq.name){case"play":r("playButton",at,false,av);r("pauseButton",at,true,av);l("playButton","jwPlay");l("pauseButton","jwPause");break;case"prev":r("prevButton",at,true,av);l("prevButton","jwPlaylistPrev");break;case"stop":r("stopButton",at,true,av);l("stopButton","jwStop");break;case"next":r("nextButton",at,true,av);l("nextButton","jwPlaylistNext");break;case"elapsed":r("elapsedText",at,true,av);break;case"time":an=!_utils.exists(ak.skin.getSkinElement("controlbar","timeSliderCapLeft"))?0:ak.skin.getSkinElement("controlbar","timeSliderCapLeft").width;ao=!_utils.exists(ak.skin.getSkinElement("controlbar","timeSliderCapRight"))?0:ak.skin.getSkinElement("controlbar","timeSliderCapRight").width;ap=at=="left"?an:ao;aw={height:O().height,position:"relative","float":"left",styleFloat:"left",cssFloat:"left"};var ar=w("timeSlider",av,aw);r("timeSliderCapLeft",at,true,ar,"relative");r("timeSliderRail",at,false,ar,"relative");r("timeSliderBuffer",at,false,ar,"absolute");r("timeSliderProgress",at,false,ar,"absolute");r("timeSliderThumb",at,false,ar,"absolute");r("timeSliderCapRight",at,true,ar,"relative");t("time");break;case"fullscreen":r("fullscreenButton",at,false,av);r("normalscreenButton",at,true,av);l("fullscreenButton","jwSetFullscreen",true);l("normalscreenButton","jwSetFullscreen",false);break;case"volume":an=!_utils.exists(ak.skin.getSkinElement("controlbar","volumeSliderCapLeft"))?0:ak.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;ao=!_utils.exists(ak.skin.getSkinElement("controlbar","volumeSliderCapRight"))?0:ak.skin.getSkinElement("controlbar","volumeSliderCapRight").width;ap=at=="left"?an:ao;am=ak.skin.getSkinElement("controlbar","volumeSliderRail").width+an+ao;aw={height:O().height,position:"relative",width:am,"float":"left",styleFloat:"left",cssFloat:"left"};var au=w("volumeSlider",av,aw);r("volumeSliderCapLeft",at,false,au,"relative");r("volumeSliderRail",at,false,au,"relative");r("volumeSliderProgress",at,false,au,"absolute");r("volumeSliderThumb",at,false,au,"absolute");r("volumeSliderCapRight",at,false,au,"relative");t("volume");break;case"mute":r("muteButton",at,false,av);r("unmuteButton",at,true,av);l("muteButton","jwSetMute",true);l("unmuteButton","jwSetMute",false);break;case"duration":r("durationText",at,true,av);break}}function r(ap,at,an,aw,aq,am,ao){if(_utils.exists(ak.skin.getSkinElement("controlbar",ap))||ap.indexOf("Text")>0||ap.indexOf("divider")===0){var ar={height:"100%",position:aq?aq:"relative",display:"block","float":"left",styleFloat:"left",cssFloat:"left"};if((ap.indexOf("next")===0||ap.indexOf("prev")===0)&&(ak.jwGetPlaylist().length<2||A.hideplaylistcontrols)){an=false;ar.display="none"}var ax;if(ap.indexOf("Text")>0){ap.innerhtml="00:00";ar.font=A.fontsize+"px/"+(O().height+1)+"px "+A.font;ar.color=A.fontcolor;ar.textAlign="center";ar.fontWeight=A.fontweight;ar.fontStyle=A.fontstyle;ar.cursor="default";ax=14+3*A.fontsize}else{if(ap.indexOf("divider")===0){if(am){if(!isNaN(parseInt(am))){ax=parseInt(am)}}else{if(ao){var au=ak.skin.getSkinElement("controlbar",ao);if(au){ar.background="url("+au.src+") repeat-x center left";ax=au.width}}else{ar.background="url("+ak.skin.getSkinElement("controlbar","divider").src+") repeat-x center left";ax=ak.skin.getSkinElement("controlbar","divider").width}}}else{ar.background="url("+ak.skin.getSkinElement("controlbar",ap).src+") repeat-x center left";ax=ak.skin.getSkinElement("controlbar",ap).width}}if(at=="left"){if(an){B+=ax}}else{if(at=="right"){if(an){C+=ax}}}if(_utils.typeOf(aw)=="undefined"){aw=j.elements}ar.width=ax;if(T){_css(j[ap],ar)}else{var av=w(ap,aw,ar);if(_utils.exists(ak.skin.getSkinElement("controlbar",ap+"Over"))){av.onmouseover=function(ay){av.style.backgroundImage=["url(",ak.skin.getSkinElement("controlbar",ap+"Over").src,")"].join("")};av.onmouseout=function(ay){av.style.backgroundImage=["url(",ak.skin.getSkinElement("controlbar",ap).src,")"].join("")}}if(ap.indexOf("divider")==0){av.setAttribute("class","divider")}}}}function F(){ak.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,x);ak.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,W);ak.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_BUFFER,Y);ak.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,V);ak.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_TIME,N);ak.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_MUTE,M);ak.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_VOLUME,Q);ak.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,d)}function x(){if(!A.hideplaylistcontrols){if(ak.jwGetPlaylist().length>1){_show(j.nextButton);_show(j.prevButton)}else{_hide(j.nextButton);_hide(j.prevButton)}q();H()}}function W(am){E=ak.jwGetPlaylist()[am.index].duration;N({id:ak.id,duration:E,position:0});Y({id:ak.id,bufferProgress:0})}function H(){N({id:ak.id,duration:ak.jwGetDuration(),position:0});Y({id:ak.id,bufferProgress:0});M({id:ak.id,mute:ak.jwGetMute()});V({id:ak.id,newstate:a.api.events.state.IDLE});Q({id:ak.id,volume:ak.jwGetVolume()})}function l(ao,ap,an){if(T){return}if(_utils.exists(ak.skin.getSkinElement("controlbar",ao))){var am=j[ao];if(_utils.exists(am)){_css(am,{cursor:"pointer"});if(ap=="fullscreen"){am.onmouseup=function(aq){aq.stopPropagation();ak.jwSetFullscreen(!ak.jwGetFullscreen())}}else{am.onmouseup=function(aq){aq.stopPropagation();if(_utils.exists(an)){ak[ap](an)}else{ak[ap]()}}}}}}function t(am){if(T){return}var an=j[am+"Slider"];_css(j.elements,{cursor:"pointer"});_css(an,{cursor:"pointer"});an.onmousedown=function(ao){Z=am};an.onmouseup=function(ao){ao.stopPropagation();L(ao.pageX)};an.onmousemove=function(ao){if(Z=="time"){af=true;var ap=ao.pageX-aa[am+"Slider"].left-window.pageXOffset;_css(j[Z+"SliderThumb"],{left:ap})}}}function L(an){af=false;var am;if(Z=="time"){am=an-aa.timeSliderRail.left+window.pageXOffset;var ap=am/aa.timeSliderRail.width*E;if(ap<0){ap=0}else{if(ap>E){ap=E-3}}if(ak.jwGetState()==a.api.events.state.PAUSED||ak.jwGetState()==a.api.events.state.IDLE){ak.jwPlay()}ak.jwSeek(ap)}else{if(Z=="volume"){am=an-aa.volumeSliderRail.left-window.pageXOffset;var ao=Math.round(am/aa.volumeSliderRail.width*100);if(ao<0){ao=0}else{if(ao>100){ao=100}}if(ak.jwGetMute()){ak.jwSetMute(false)}ak.jwSetVolume(ao)}}Z="none"}function Y(an){if(_utils.exists(an.bufferPercent)){ae=an.bufferPercent}if(aa.timeSliderRail){var ap=ak.skin.getSkinElement("controlbar","timeSliderCapLeft");var ao=aa.timeSliderRail.width;var am=isNaN(Math.round(ao*ae/100))?0:Math.round(ao*ae/100);_css(j.timeSliderBuffer,{width:am,left:ap?ap.width:0})}}function M(am){if(am.mute){_hide(j.muteButton);_show(j.unmuteButton);_hide(j.volumeSliderProgress)}else{_show(j.muteButton);_hide(j.unmuteButton);_show(j.volumeSliderProgress)}}function V(am){if(am.newstate==a.api.events.state.BUFFERING||am.newstate==a.api.events.state.PLAYING){_show(j.pauseButton);_hide(j.playButton)}else{_hide(j.pauseButton);_show(j.playButton)}ag();if(am.newstate==a.api.events.state.IDLE){_hide(j.timeSliderBuffer);_hide(j.timeSliderProgress);_hide(j.timeSliderThumb);N({id:ak.id,duration:ak.jwGetDuration(),position:0})}else{_show(j.timeSliderBuffer);if(am.newstate!=a.api.events.state.BUFFERING){_show(j.timeSliderProgress);_show(j.timeSliderThumb)}}}function d(am){Y({bufferPercent:0});N(_utils.extend(am,{position:0,duration:E}))}function N(ap){if(_utils.exists(ap.position)){aj=ap.position}if(_utils.exists(ap.duration)){E=ap.duration}var an=(aj===E===0)?0:aj/E;var ar=aa.timeSliderRail;if(ar){var am=isNaN(Math.round(ar.width*an))?0:Math.round(ar.width*an);var aq=ak.skin.getSkinElement("controlbar","timeSliderCapLeft");var ao=am+(aq?aq.width:0);if(j.timeSliderProgress){_css(j.timeSliderProgress,{width:am,left:aq?aq.width:0});if(!af){if(j.timeSliderThumb){j.timeSliderThumb.style.left=ao+"px"}}}}if(j.durationText){j.durationText.innerHTML=_utils.timeFormat(E)}if(j.elapsedText){j.elapsedText.innerHTML=_utils.timeFormat(aj)}}function R(){var am=j.elements.childNodes;var ar,ap;for(var ao=0;ao<am.length;ao++){var aq=am[ao].childNodes;for(var an in aq){if(isNaN(parseInt(an,10))){continue}if(aq[an].id.indexOf(D.id+"_divider")===0&&ap&&ap.id.indexOf(D.id+"_divider")===0&&aq[an].style.backgroundImage==ap.style.backgroundImage){aq[an].style.display="none"}else{if(aq[an].id.indexOf(D.id+"_divider")===0&&ar&&ar.style.display!="none"){aq[an].style.display="block"}}if(aq[an].style.display!="none"){ap=aq[an]}ar=aq[an]}}}function J(){if(ak.jwGetFullscreen()){_show(j.normalscreenButton);_hide(j.fullscreenButton)}else{_hide(j.normalscreenButton);_show(j.fullscreenButton)}if(ak.jwGetState()==a.api.events.state.BUFFERING||ak.jwGetState()==a.api.events.state.PLAYING){_show(j.pauseButton);_hide(j.playButton)}else{_hide(j.pauseButton);_show(j.playButton)}if(ak.jwGetMute()==true){_hide(j.muteButton);_show(j.unmuteButton)}else{_show(j.muteButton);_hide(j.unmuteButton)}}function q(){R();J();var ao={width:ad};var aw={"float":"left",styleFloat:"left",cssFloat:"left"};if(A.position==a.html5.view.positions.OVER||ak.jwGetFullscreen()){ao.left=A.margin;ao.width-=2*A.margin;ao.top=s-O().height-A.margin;ao.height=O().height}var aq=ak.skin.getSkinElement("controlbar","capLeft");var au=ak.skin.getSkinElement("controlbar","capRight");aw.width=ao.width-(aq?aq.width:0)-(au?au.width:0);var ap=_utils.getBoundingClientRect(j.leftGroup).width;var at=_utils.getBoundingClientRect(j.rightGroup).width;var ar=aw.width-ap-at;var an=ar;var am=ak.skin.getSkinElement("controlbar","timeSliderCapLeft");var av=ak.skin.getSkinElement("controlbar","timeSliderCapRight");if(_utils.exists(am)){an-=am.width}if(_utils.exists(av)){an-=av.width}j.timeSlider.style.width=ar+"px";j.timeSliderRail.style.width=an+"px";_css(D,ao);_css(j.elements,aw);_css(j.background,aw);U();return ao}function Q(ar){if(_utils.exists(j.volumeSliderRail)){var ao=isNaN(ar.volume/100)?1:ar.volume/100;var ap=_utils.parseDimension(j.volumeSliderRail.style.width);var am=isNaN(Math.round(ap*ao))?0:Math.round(ap*ao);var at=_utils.parseDimension(j.volumeSliderRail.style.right);var an=(!_utils.exists(ak.skin.getSkinElement("controlbar","volumeSliderCapLeft")))?0:ak.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;_css(j.volumeSliderProgress,{width:am,left:an});if(j.volumeSliderThumb){var aq=(am-Math.round(_utils.parseDimension(j.volumeSliderThumb.style.width)/2));aq=Math.min(Math.max(aq,0),ap-_utils.parseDimension(j.volumeSliderThumb.style.width));_css(j.volumeSliderThumb,{left:aq})}if(_utils.exists(j.volumeSliderCapLeft)){_css(j.volumeSliderCapLeft,{left:0})}}}function k(){I=document.getElementById(ak.id);I.addEventListener("mousemove",ag)}function X(){f();e();U();T=true;F();A.idlehide=(A.idlehide.toString().toLowerCase()=="true");if(A.position==a.html5.view.positions.OVER&&A.idlehide){D.style.opacity=0;m=true}else{D.style.opacity=1;setTimeout((function(){m=true;n()}),1)}k();H()}X();return this}})(jwplayer);(function(c){var b=["width","height","state","playlist","item","position","buffer","duration","volume","mute","fullscreen"];var a=c.utils;c.html5.controller=function(x,o,g,l){var w=x;var r=g;var n=l;var H=o;var s=true;var f=-1;var J=a.exists(r.config.debug)&&(r.config.debug.toString().toLowerCase()=="console");var t=new c.html5.eventdispatcher(H.id,J);a.extend(this,t);var L=[];var z=false;function q(Q){if(z){t.sendEvent(Q.type,Q)}else{L.push(Q)}}function B(Q){if(!z){z=true;t.sendEvent(c.api.events.JWPLAYER_READY,Q);if(c.utils.exists(window.playerReady)){playerReady(Q)}if(c.utils.exists(window[g.config.playerReady])){window[g.config.playerReady](Q)}while(L.length>0){var S=L.shift();t.sendEvent(S.type,S)}if(g.config.autostart&&!c.utils.isIOS()){v()}while(G.length>0){var R=G.shift();K(R.method,R.arguments)}}}r.addGlobalListener(q);r.addEventListener(c.api.events.JWPLAYER_MEDIA_BUFFER_FULL,function(){r.getMedia().play()});r.addEventListener(c.api.events.JWPLAYER_MEDIA_TIME,function(Q){if(Q.position>=r.playlist[r.item].start&&f>=0){r.playlist[r.item].start=f;f=-1}});r.addEventListener(c.api.events.JWPLAYER_MEDIA_COMPLETE,function(Q){setTimeout(M,25)});r.addEventListener(c.api.events.JWPLAYER_PLAYLIST_LOADED,v);r.addEventListener(c.api.events.JWPLAYER_FULLSCREEN,y);function d(){try{E(r.item);if(r.playlist[r.item].levels[0].file.length>0){if(s||r.state==c.api.events.state.IDLE){r.getMedia().load(r.playlist[r.item]);s=false}else{if(r.state==c.api.events.state.PAUSED){r.getMedia().play()}}}return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function e(){try{if(r.playlist[r.item].levels[0].file.length>0){switch(r.state){case c.api.events.state.PLAYING:case c.api.events.state.BUFFERING:if(r.getMedia()){r.getMedia().pause()}break}}return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function I(Q){try{if(r.playlist[r.item].levels[0].file.length>0){if(typeof Q!="number"){Q=parseFloat(Q)}switch(r.state){case c.api.events.state.IDLE:if(f<0){f=r.playlist[r.item].start;r.playlist[r.item].start=Q}d();break;case c.api.events.state.PLAYING:case c.api.events.state.PAUSED:case c.api.events.state.BUFFERING:r.seek(Q);break}}return true}catch(R){t.sendEvent(c.api.events.JWPLAYER_ERROR,R)}return false}function F(Q){if(!a.exists(Q)){Q=true}try{if(r.getMedia()){r.getMedia().stop(Q)}return true}catch(R){t.sendEvent(c.api.events.JWPLAYER_ERROR,R)}return false}function p(){try{if(r.playlist[r.item].levels[0].file.length>0){if(r.config.shuffle){E(P())}else{if(r.item+1==r.playlist.length){E(0)}else{E(r.item+1)}}}if(r.state!=c.api.events.state.IDLE){var R=r.state;r.state=c.api.events.state.IDLE;t.sendEvent(c.api.events.JWPLAYER_PLAYER_STATE,{oldstate:R,newstate:c.api.events.state.IDLE})}d();return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function k(){try{if(r.playlist[r.item].levels[0].file.length>0){if(r.config.shuffle){E(P())}else{if(r.item===0){E(r.playlist.length-1)}else{E(r.item-1)}}}if(r.state!=c.api.events.state.IDLE){var R=r.state;r.state=c.api.events.state.IDLE;t.sendEvent(c.api.events.JWPLAYER_PLAYER_STATE,{oldstate:R,newstate:c.api.events.state.IDLE})}d();return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function P(){var Q=null;if(r.playlist.length>1){while(!a.exists(Q)){Q=Math.floor(Math.random()*r.playlist.length);if(Q==r.item){Q=null}}}else{Q=0}return Q}function h(R){if(!r.playlist||!r.playlist[R]){return false}try{if(r.playlist[R].levels[0].file.length>0){var S=r.state;if(S!==c.api.events.state.IDLE){if(r.playlist[r.item].provider==r.playlist[R].provider){F(false)}else{F()}}E(R);d()}return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function E(Q){if(!r.playlist[Q]){return}r.setActiveMediaProvider(r.playlist[Q]);if(r.item!=Q){r.item=Q;s=true;t.sendEvent(c.api.events.JWPLAYER_PLAYLIST_ITEM,{index:Q})}}function j(R){try{E(r.item);var S=r.getMedia();switch(typeof(R)){case"number":S.volume(R);break;case"string":S.volume(parseInt(R,10));break}return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function A(R){try{E(r.item);var S=r.getMedia();if(typeof R=="undefined"){S.mute(!r.mute)}else{if(R.toString().toLowerCase()=="true"){S.mute(true)}else{S.mute(false)}}return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function m(R,Q){try{r.width=R;r.height=Q;n.resize(R,Q);t.sendEvent(c.api.events.JWPLAYER_RESIZE,{width:r.width,height:r.height});return true}catch(S){t.sendEvent(c.api.events.JWPLAYER_ERROR,S)}return false}function D(R){try{if(typeof R=="undefined"){R=!r.fullscreen}if(R!=r.fullscreen){if(R.toString().toLowerCase()=="true"){r.fullscreen=true;n.fullscreen(true);t.sendEvent(c.api.events.JWPLAYER_FULLSCREEN,{fullscreen:true})}else{r.fullscreen=false;n.fullscreen(false);t.sendEvent(c.api.events.JWPLAYER_FULLSCREEN,{fullscreen:false})}t.sendEvent(c.api.events.JWPLAYER_RESIZE,{width:r.width,height:r.height})}return true}catch(Q){t.sendEvent(c.api.events.JWPLAYER_ERROR,Q)}return false}function O(Q){try{F();r.loadPlaylist(Q);if(r.playlist[r.item].provider){E(r.item);if(r.config.autostart.toString().toLowerCase()=="true"){d()}return true}else{return false}}catch(R){t.sendEvent(c.api.events.JWPLAYER_ERROR,R)}return false}function v(Q){E(r.playlist[r.item]);if(r.config.autostart.toString().toLowerCase()=="true"){d()}}function y(Q){D(Q.fullscreen)}function C(){try{return r.getMedia().detachMedia()}catch(Q){return null}}function u(){try{return r.getMedia().attachMedia()}catch(Q){return null}}c.html5.controller.repeatoptions={LIST:"LIST",ALWAYS:"ALWAYS",SINGLE:"SINGLE",NONE:"NONE"};function M(){switch(r.config.repeat.toUpperCase()){case c.html5.controller.repeatoptions.SINGLE:d();break;case c.html5.controller.repeatoptions.ALWAYS:if(r.item==r.playlist.length-1&&!r.config.shuffle){h(0)}else{p()}break;case c.html5.controller.repeatoptions.LIST:if(r.item==r.playlist.length-1&&!r.config.shuffle){F();E(0)}else{p()}break;default:F();break}}var G=[];function N(Q){return function(){if(z){K(Q,arguments)}else{G.push({method:Q,arguments:arguments})}}}function K(S,R){var Q=[];for(i=0;i<R.length;i++){Q.push(R[i])}S.apply(this,Q)}this.play=N(d);this.pause=N(e);this.seek=N(I);this.stop=N(F);this.next=N(p);this.prev=N(k);this.item=N(h);this.setVolume=N(j);this.setMute=N(A);this.resize=N(m);this.setFullscreen=N(D);this.load=N(O);this.playerReady=B;this.detachMedia=C;this.attachMedia=u}})(jwplayer);(function(a){a.html5.defaultSkin=function(){this.text='<?xml version="1.0" ?><skin author="LongTail Video" name="Five" version="1.1"><components><component name="controlbar"><settings><setting name="margin" value="20"/><setting name="fontsize" value="11"/><setting name="fontcolor" value="0x000000"/></settings><layout><group position="left"><button name="play"/><divider name="divider"/><button name="prev"/><divider name="divider"/><button name="next"/><divider name="divider"/><text name="elapsed"/></group><group position="center"><slider name="time"/></group><group position="right"><text name="duration"/><divider name="divider"/><button name="blank"/><divider name="divider"/><button name="mute"/><slider name="volume"/><divider name="divider"/><button name="fullscreen"/></group></layout><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUOI3t1LERACAMQlFgGvcfxNIhHMK4gsUvUviOmgtNsiAZkBSEKxKEnCYkkQrJn/YwbUNiSDDYRZaQRDaShv+oX9GBZEIuK+8hXVLs+/YAAAAASUVORK5CYII="/><element name="blankButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAYCAYAAAAyJzegAAAAFElEQVQYV2P8//8/AzpgHBUc7oIAGZdH0RjKN8EAAAAASUVORK5CYII="/><element name="capLeft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAQElEQVQIWz3LsRGAMADDQJ0XB5bMINABZ9GENGrszxhjT2WLSqxEJG2JQrTMdV2q5LpOAvyRaVmsi7WdeZ/7+AAaOTq7BVrfOQAAAABJRU5ErkJggg=="/><element name="capRight" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAQElEQVQIWz3LsRGAMADDQJ0XB5bMINABZ9GENGrszxhjT2WLSqxEJG2JQrTMdV2q5LpOAvyRaVmsi7WdeZ/7+AAaOTq7BVrfOQAAAABJRU5ErkJggg=="/><element name="divider" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUCB0FwcENgEAAw7Aq+893g8APUILNOQcbFRktVGqUVFRkWNz3xTa2sUaLNUosKlRUvvf5AdbWOTtzmzyWAAAAAElFTkSuQmCC"/><element name="playButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAANUlEQVR42u2RsQkAAAjD/NTTPaW6dXLrINJA1kBpGPMAjDWmOgp1HFQXx+b1KOefO4oxY57R73YnVYCQUCQAAAAASUVORK5CYII="/><element name="pauseButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAIUlEQVQ4jWNgGAWjYOiD/0gYG3/U0FFDB4Oho2AUDAYAAEwiL9HrpdMVAAAAAElFTkSuQmCC"/><element name="prevButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAQklEQVQ4y2NgGAWjYOiD/1AMA/JAfB5NjCJD/YH4PRaLyDa0H4lNNUP/DxlD59PCUBCIp3ZEwYA+NZLUKBgFgwEAAN+HLX9sB8u8AAAAAElFTkSuQmCC"/><element name="nextButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAQElEQVQ4y2NgGAWjYOiD/0B8Hojl0cT+U2ooCL8HYn9qGwrD/bQw9P+QMXQ+tSMqnpoRBUpS+tRMUqNgFAwGAADxZy1/mHvFnAAAAABJRU5ErkJggg=="/><element name="timeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAOElEQVRIDe3BwQkAIRADwAhhw/nU/kWwUK+KPITMABFh19Y+F0acY8CJvX9wYpXgRElwolSIiMf9ZWEDhtwurFsAAAAASUVORK5CYII="/><element name="timeSliderBuffer" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAN0lEQVRIDe3BwQkAMQwDMBcc55mRe9zi7RR+FCwBEWG39vcfGHFm4MTuhhMlwYlVBSdKhYh43AW/LQMKm1spzwAAAABJRU5ErkJggg=="/><element name="timeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAIElEQVRIiWNgGAWjYBTQBfynMR61YCRYMApGwSigMQAAiVWPcbq6UkIAAAAASUVORK5CYII="/><element name="timeSliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAYCAYAAAA/OUfnAAAAO0lEQVQYlWP4//8/Awwz0JgDBP/BeN6Cxf/hnI2btiI4u/fsQ3AOHjqK4Jw4eQbBOX/hEoKDYjSd/AMA4cS4mfLsorgAAAAASUVORK5CYII="/><element name="muteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAJklEQVQ4y2NgGAUjDcwH4v/kaPxPikZkxcNVI9mBQ5XoGAWDFwAAsKAXKQQmfbUAAAAASUVORK5CYII="/><element name="unmuteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAMklEQVQ4y2NgGAWDHPyntub5xBr6Hwv/Pzk2/yfVG/8psRFE25Oq8T+tQnsIaB4FVAcAi2YVysVY52AAAAAASUVORK5CYII="/><element name="volumeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAACdGdVrAAAACVBMVEUAAACmpqampqbBXAu8AAAAAnRSTlMAgJsrThgAAAArSURBVAhbY2AgErBAyA4I2QEhOyBkB4TsYOhAoaCCUCUwDTDtMMNgRuMHAFB5FoGH5T0UAAAAAElFTkSuQmCC"/><element name="volumeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAgMAAACdGdVrAAAACVBMVEUAAAAAAAAAAACDY+nAAAAAAnRSTlMAgJsrThgAAAArSURBVAhbY2AgErBAyA4I2QEhOyBkB4TsYOhAoaCCUCUwDTDtMMNgRuMHAFB5FoGH5T0UAAAAAElFTkSuQmCC"/><element name="volumeSliderCapRight" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAYCAYAAAAyJzegAAAAFElEQVQYV2P8//8/AzpgHBUc7oIAGZdH0RjKN8EAAAAASUVORK5CYII="/><element name="fullscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAQklEQVRIiWNgGAWjYMiD/0iYFDmSLbDHImdPLQtgBpEiR7Zl2NijAA5oEkT/0Whi5UiyAJ8BVMsHNMtoo2AUDAIAAGdcIN3IDNXoAAAAAElFTkSuQmCC"/><element name="normalscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAP0lEQVRIx2NgGAWjYMiD/1RSQ5QB/wmIUWzJfzx8qhj+n4DYCAY0DyJ7PBbYU8sHMEvwiZFtODXUjIJRMJgBACpWIN2ZxdPTAAAAAElFTkSuQmCC"/></elements></component><component name="display"><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAQMAAAAk8RryAAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlOZpuml+rYAAAASSURBVBhXY2AYJuA/GBwY6jQAyDyoK8QcL4QAAAAASUVORK5CYII="/><element name="playIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAiUlEQVR42u3XSw2AMBREURwgAQlIQAISKgUpSEFKJeCg5b0E0kWBTVcD9ySTsL0Jn9IBAAAA+K2UUrBlW/Rr5ZDoIeeuoFkxJD9ss03aIXXQqB9SttoG7ZA6qNcOKdttiwcJh9RB+iFl4SshkRBuLR72+9cvH0SOKI2HRo7x/Fi1/uoCAAAAwLsD8ki99IlO2dQAAAAASUVORK5CYII="/><element name="muteIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAVUlEQVR42u3WMQrAIAxAUW/g/SdvGmvpoOBeSHgPsjj5QTANAACARCJilIhYM0tEvJM+Ik3Id9E957kQIb+F3OdCPC0hPkQriqWx9hp/x/QGAABQyAPLB22VGrpLDgAAAABJRU5ErkJggg=="/><element name="errorIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAA/0lEQVR42u2U0QmEMBAF7cASLMESUoIlpARLSCkpwRJSgiWkhOvAXD4WsgRkyaG5DbyB+Yvg8KITAAAAAAAYk+u61mwk15EjPtlEfihmqIiZR1Qx80ghjgdUuiHXGHSVsoag0x6x8DUoyjD5KovmEJ9NTDMRPIT0mtdIUkjlonuNohO+Ha99DTmkuGgKCTcvebAzx82ZoCWC3/3aIMWSRucaxcjORSFY4xpFdjYJGp1rFGcyCYZ/RVh6AUnfcNZ2zih3/mGj1jVCdiNDwyrq1rA/xMdeEXvDVdnYc1vDc3uPkDObXrlaxbNHSOohQhr/WOeLEWfWTgAAAAAAADzNF9sHJ7PJ57MlAAAAAElFTkSuQmCC"/><element name="bufferIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAACBklEQVR42u3Zv0sCYRzH8USTzOsHHEWGkC1HgaDgkktGDjUYtDQ01RDSljQ1BLU02+rk1NTm2NLq4Nx/0L/h9fnCd3j4cnZe1/U8xiO8h3uurufF0/3COd/3/0UWYiEWYiEWYiGJQ+J8xuPxKhXjEMZANinjIZhkGuVRNioE4wVURo4JkHm0xKWmhRAc1bh1EyCUw5BcBIjHiApKa4CErko6DEJwuRo6IRKzyJD8FJAyI3Zp2zRImiBcRhlfo5RtlxCcE3CcDNpGrhYIT2IhAJKilO0VRmzJ32fAMTpBTS0QMfGwlcuKMRftE0DJ0wCJdcOsCkBdXP3Mh9CEFUBTPS9mDZJBG6io4aqVzMdCokCw9H3kT6j/C/9iDdSeUMNC7DkyyxAs/Rk6Qss8FPWRZgdVtUH4DjxEn1zxh+/zj1wHlf4MQhNGrwqA6sY40U8JonRJwEQh+AO3AvCG6gHv4U7IY4krxkroWoAOkoQMGfCBrgIm+YBGqPENpIJ66CJg3x66Y0gnSUidAEEnNr9jjLiWMn5DiWP0OC/oAsCgkq43xBdGDMQr7YASP/vEkHvdl1+JOCcEV5sC4hGEOzTlPuKgd0b0xD4JkRcOgnRRTjdErkYhAsQVq6IdUuPJtmk7BCL3t/h88cx91pKQkI/pkDx6pmYTIjEoxiHsN1YWYiEWYiEWknhflZ5IErA5nr8AAAAASUVORK5CYII="/></elements></component><component name="dock"><settings><setting name="fontcolor" value="0xffffff"/></settings><elements><element name="button" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAQMAAAAk8RryAAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlOZpuml+rYAAAASSURBVBhXY2AYJuA/GBwY6jQAyDyoK8QcL4QAAAAASUVORK5CYII="/></elements></component><component name="playlist"><settings><setting name="backgroundcolor" value="0xe8e8e8"/></settings><elements><element name="item" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAIAAAC1nk4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUaN7t2MENwCAMBEEe9N8wSKYC/D8YV7CyJoRkVtVImxkZPQInMxoP0XiIxkM0HsGbjjSNBx544IEHHnjggUe/6UQeey0PIh7XTftGxKPj4eXCtLsHHh+ZxkO0Iw8PR55Ni8ZD9Hu/EAoP0dc5RRg9qeRjVF8AAAAASUVORK5CYII="/><element name="sliderCapTop" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAHCAYAAADnCQYGAAAAFUlEQVQokWP8//8/A7UB46ihI9hQAKt6FPPXhVGHAAAAAElFTkSuQmCC"/><element name="sliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAUCAYAAABiS3YzAAAAKElEQVQ4y2P4//8/Az68bNmy/+iYkB6GUUNHDR01dNTQUUNHDaXcUABUDOKhcxnsSwAAAABJRU5ErkJggg=="/><element name="sliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAUCAYAAABiS3YzAAAAJUlEQVQ4T2P4//8/Ay4MBP9xYbz6Rg0dNXTU0FFDRw0dNZRyQwHH4NBa7GJsXAAAAABJRU5ErkJggg=="/><element name="sliderCapBottom" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAHCAYAAADnCQYGAAAAFUlEQVQokWP8//8/A7UB46ihI9hQAKt6FPPXhVGHAAAAAElFTkSuQmCC"/></elements></component></components></skin>';this.xml=null;if(window.DOMParser){parser=new DOMParser();this.xml=parser.parseFromString(this.text,"text/xml")}else{this.xml=new ActiveXObject("Microsoft.XMLDOM");this.xml.async="false";this.xml.loadXML(this.text)}return this}})(jwplayer);(function(a){_utils=a.utils;_css=_utils.css;_hide=function(b){_css(b,{display:"none"})};_show=function(b){_css(b,{display:"block"})};a.html5.display=function(Q,E){var P={icons:true,showmute:false};var S=_utils.extend({},P,E);var O=Q;var o={};var L;var r;var u;var k;var p;var G;var y;var H=!_utils.exists(O.skin.getComponentSettings("display").bufferrotation)?15:parseInt(O.skin.getComponentSettings("display").bufferrotation,10);var l=!_utils.exists(O.skin.getComponentSettings("display").bufferinterval)?100:parseInt(O.skin.getComponentSettings("display").bufferinterval,10);var x=-1;var q="";var b=true;var K;var N=false;var e=false;var t,f;var F=new a.html5.eventdispatcher();_utils.extend(this,F);var B={display:{style:{cursor:"pointer",top:0,left:0,overflow:"hidden"},click:c},display_icon:{style:{cursor:"pointer",position:"absolute",top:((O.skin.getSkinElement("display","background").height-O.skin.getSkinElement("display","playIcon").height)/2),left:((O.skin.getSkinElement("display","background").width-O.skin.getSkinElement("display","playIcon").width)/2),border:0,margin:0,padding:0,zIndex:3,display:"none"}},display_iconBackground:{style:{cursor:"pointer",position:"absolute",top:((r-O.skin.getSkinElement("display","background").height)/2),left:((L-O.skin.getSkinElement("display","background").width)/2),border:0,backgroundImage:(["url(",O.skin.getSkinElement("display","background").src,")"]).join(""),width:O.skin.getSkinElement("display","background").width,height:O.skin.getSkinElement("display","background").height,margin:0,padding:0,zIndex:2,display:"none"}},display_image:{style:{display:"none",width:L,height:r,position:"absolute",cursor:"pointer",left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1}},display_text:{style:{zIndex:4,position:"relative",opacity:0.8,backgroundColor:parseInt("000000",16),color:parseInt("ffffff",16),textAlign:"center",fontFamily:"Arial,sans-serif",padding:"0 5px",fontSize:14}}};O.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,h);O.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_MUTE,h);O.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,h);O.jwAddEventListener(a.api.events.JWPLAYER_ERROR,j);d();function d(){o.display=A("div","display");o.display_text=A("div","display_text");o.display.appendChild(o.display_text);o.display_image=A("img","display_image");o.display_image.onerror=function(T){_hide(o.display_image)};o.display_image.onload=w;o.display_icon=A("div","display_icon");o.display_iconBackground=A("div","display_iconBackground");o.display.appendChild(o.display_image);o.display_iconBackground.appendChild(o.display_icon);o.display.appendChild(o.display_iconBackground);M();setTimeout((function(){e=true;if(S.icons.toString()=="true"){D()}}),1)}this.getDisplayElement=function(){return o.display};this.resize=function(U,T){_css(o.display,{width:U,height:T});_css(o.display_text,{width:(U-10),top:((T-_utils.getBoundingClientRect(o.display_text).height)/2)});_css(o.display_iconBackground,{top:((T-O.skin.getSkinElement("display","background").height)/2),left:((U-O.skin.getSkinElement("display","background").width)/2)});if(L!=U||r!=T){L=U;r=T;K=undefined;D()}if(!O.jwGetFullscreen()){t=U;f=T}J();h({})};this.show=function(){if(N){N=false;n(O.jwGetState())}};this.hide=function(){if(!N){z();N=true}};function w(T){u=o.display_image.naturalWidth;k=o.display_image.naturalHeight;J()}function J(){if(O.jwGetFullscreen()&&O.jwGetStretching()==a.utils.stretching.EXACTFIT){var T=document.createElement("div");_utils.stretch(a.utils.stretching.UNIFORM,T,L,r,t,f);_utils.stretch(a.utils.stretching.EXACTFIT,o.display_image,_utils.parseDimension(T.style.width),_utils.parseDimension(T.style.height),u,k);_css(o.display_image,{left:T.style.left,top:T.style.top})}else{_utils.stretch(O.jwGetStretching(),o.display_image,L,r,u,k)}}function A(T,V){var U=document.createElement(T);U.id=O.id+"_jwplayer_"+V;_css(U,B[V].style);return U}function M(){for(var T in o){if(_utils.exists(B[T].click)){o[T].onclick=B[T].click}}}function c(T){if(typeof T.preventDefault!="undefined"){T.preventDefault()}else{T.returnValue=false}if(O.jwGetState()!=a.api.events.state.PLAYING){O.jwPlay()}else{O.jwPause()}}function m(T){if(y){z();return}o.display_icon.style.backgroundImage=(["url(",O.skin.getSkinElement("display",T).src,")"]).join("");_css(o.display_icon,{width:O.skin.getSkinElement("display",T).width,height:O.skin.getSkinElement("display",T).height,top:(O.skin.getSkinElement("display","background").height-O.skin.getSkinElement("display",T).height)/2,left:(O.skin.getSkinElement("display","background").width-O.skin.getSkinElement("display",T).width)/2});I();if(_utils.exists(O.skin.getSkinElement("display",T+"Over"))){o.display_icon.onmouseover=function(U){o.display_icon.style.backgroundImage=["url(",O.skin.getSkinElement("display",T+"Over").src,")"].join("")};o.display_icon.onmouseout=function(U){o.display_icon.style.backgroundImage=["url(",O.skin.getSkinElement("display",T).src,")"].join("")}}else{o.display_icon.onmouseover=null;o.display_icon.onmouseout=null}}function z(){if(S.icons.toString()=="true"){_hide(o.display_icon);_hide(o.display_iconBackground);g()}}function I(){if(!N&&S.icons.toString()=="true"){_show(o.display_icon);_show(o.display_iconBackground);D()}}function j(T){y=true;z();o.display_text.innerHTML=T.message;_show(o.display_text);o.display_text.style.top=((r-_utils.getBoundingClientRect(o.display_text).height)/2)+"px"}function C(){o.display_image.style.display="none"}function h(T){if((T.type==a.api.events.JWPLAYER_PLAYER_STATE||T.type==a.api.events.JWPLAYER_PLAYLIST_ITEM)&&y){y=false;_hide(o.display_text)}var U=O.jwGetState();if(U==q){return}q=U;if(x>=0){clearTimeout(x)}if(b||O.jwGetState()==a.api.events.state.PLAYING||O.jwGetState()==a.api.events.state.PAUSED){n(O.jwGetState())}else{x=setTimeout(R(O.jwGetState()),500)}}function R(T){return(function(){n(T)})}function n(T){if(_utils.exists(G)){clearInterval(G);G=null;_utils.animations.rotate(o.display_icon,0)}switch(T){case a.api.events.state.BUFFERING:if(_utils.isMobile()){C();z()}else{if(O.jwGetPlaylist()[O.jwGetItem()].provider=="sound"){s()}p=0;G=setInterval(function(){p+=H;_utils.animations.rotate(o.display_icon,p%360)},l);m("bufferIcon");b=true}break;case a.api.events.state.PAUSED:if(!_utils.isMobile()){if(O.jwGetPlaylist()[O.jwGetItem()].provider!="sound"){_css(o.display_image,{background:"transparent no-repeat center center"})}m("playIcon");b=true}break;case a.api.events.state.IDLE:if(O.jwGetPlaylist()[O.jwGetItem()]&&O.jwGetPlaylist()[O.jwGetItem()].image){s()}else{C()}m("playIcon");b=true;break;default:if(O.jwGetPlaylist()[O.jwGetItem()]&&O.jwGetPlaylist()[O.jwGetItem()].provider=="sound"){if(_utils.isMobile()){C();b=false}else{s()}}else{C();b=false}if(O.jwGetMute()&&S.showmute){m("muteIcon")}else{z()}break}x=-1}function s(){if(O.jwGetPlaylist()[O.jwGetItem()]&&O.jwGetPlaylist()[O.jwGetItem()].image){_css(o.display_image,{display:"block"});o.display_image.src=_utils.getAbsolutePath(O.jwGetPlaylist()[O.jwGetItem()].image)}}function v(T){return function(){if(!e){return}if(!N&&K!=T){K=T;F.sendEvent(T,{component:"display",boundingRect:_utils.getDimensions(o.display_iconBackground)})}}}var D=v(a.api.events.JWPLAYER_COMPONENT_SHOW);var g=v(a.api.events.JWPLAYER_COMPONENT_HIDE);return this}})(jwplayer);(function(b){var a=b.utils;var c=a.css;b.html5.dock=function(w,o){function x(){return{align:b.html5.view.positions.RIGHT}}var g=a.extend({},x(),o);if(g.align=="FALSE"){return}var F={};var E=[];var d;var s;var B=false;var n=false;var D={x:0,y:0,width:0,height:0};var C;var h;var A;var f=new b.html5.eventdispatcher();a.extend(this,f);var m=document.createElement("div");m.id=w.id+"_jwplayer_dock";m.style.opacity=1;j();w.jwAddEventListener(b.api.events.JWPLAYER_PLAYER_STATE,k);this.getDisplayElement=function(){return m};this.setButton=function(J,G,H,I){if(!G&&F[J]){a.arrays.remove(E,J);m.removeChild(F[J].div);delete F[J]}else{if(G){if(!F[J]){F[J]={}}F[J].handler=G;F[J].outGraphic=H;F[J].overGraphic=I;if(!F[J].div){E.push(J);F[J].div=document.createElement("div");F[J].div.style.position="relative";m.appendChild(F[J].div);F[J].div.appendChild(document.createElement("img"));F[J].div.childNodes[0].style.position="absolute";F[J].div.childNodes[0].style.left=0;F[J].div.childNodes[0].style.top=0;F[J].div.childNodes[0].style.zIndex=10;F[J].div.childNodes[0].style.cursor="pointer";F[J].div.appendChild(document.createElement("img"));F[J].div.childNodes[1].style.position="absolute";F[J].div.childNodes[1].style.left=0;F[J].div.childNodes[1].style.top=0;if(w.skin.getSkinElement("dock","button")){F[J].div.childNodes[1].src=w.skin.getSkinElement("dock","button").src}F[J].div.childNodes[1].style.zIndex=9;F[J].div.childNodes[1].style.cursor="pointer";F[J].div.onmouseover=function(){if(F[J].overGraphic){F[J].div.childNodes[0].src=F[J].overGraphic}if(w.skin.getSkinElement("dock","buttonOver")){F[J].div.childNodes[1].src=w.skin.getSkinElement("dock","buttonOver").src}};F[J].div.onmouseout=function(){if(F[J].outGraphic){F[J].div.childNodes[0].src=F[J].outGraphic}if(w.skin.getSkinElement("dock","button")){F[J].div.childNodes[1].src=w.skin.getSkinElement("dock","button").src}};if(w.skin.getSkinElement("dock","button")){F[J].div.childNodes[1].src=w.skin.getSkinElement("dock","button").src}}if(F[J].outGraphic){F[J].div.childNodes[0].src=F[J].outGraphic}else{if(F[J].overGraphic){F[J].div.childNodes[0].src=F[J].overGraphic}}if(G){F[J].div.onclick=function(K){K.preventDefault();b(w.id).callback(J);if(F[J].overGraphic){F[J].div.childNodes[0].src=F[J].overGraphic}if(w.skin.getSkinElement("dock","button")){F[J].div.childNodes[1].src=w.skin.getSkinElement("dock","button").src}}}}}e(d,s)};function q(G){}function e(R,P){j();if(E.length>0){var S=10;var O=S;var L=-1;var M=w.skin.getSkinElement("dock","button").height;var K=w.skin.getSkinElement("dock","button").width;var I=R-K-S;var N,H;if(g.align==b.html5.view.positions.LEFT){L=1;I=S}for(var T=0;T<E.length;T++){var Q=Math.floor(O/P);if((O+M+S)>((Q+1)*P)){O=((Q+1)*P)+S;Q=Math.floor(O/P)}var G=F[E[T]].div;G.style.top=(O%P)+"px";G.style.left=(I+(w.skin.getSkinElement("dock","button").width+S)*Q*L)+"px";var J={x:a.parseDimension(G.style.left),y:a.parseDimension(G.style.top),width:K,height:M};if(!N||(J.x<=N.x&&J.y<=N.y)){N=J}if(!H||(J.x>=H.x&&J.y>=H.y)){H=J}O+=w.skin.getSkinElement("dock","button").height+S}D={x:N.x,y:N.y,width:H.x-N.x+H.width,height:N.y-H.y+H.height}}if(n!=w.jwGetFullscreen()||d!=R||s!=P){d=R;s=P;n=w.jwGetFullscreen();C=undefined;setTimeout(p,1)}}function y(G){return function(){if(!B&&C!=G&&E.length>0){C=G;f.sendEvent(G,{component:"dock",boundingRect:D})}}}function k(G){if(a.isMobile()){if(G.newstate==b.api.events.state.IDLE){v()}else{z()}}else{l()}}function l(G){if(B){return}clearTimeout(A);if(o.position==b.html5.view.positions.OVER||w.jwGetFullscreen()){switch(w.jwGetState()){case b.api.events.state.PAUSED:case b.api.events.state.IDLE:if(m&&m.style.opacity<1&&(!o.idlehide||a.exists(G))){r()}if(o.idlehide){A=setTimeout(function(){t()},2000)}break;default:if(a.exists(G)){r()}A=setTimeout(function(){t()},2000);break}}else{r()}}var p=y(b.api.events.JWPLAYER_COMPONENT_SHOW);var u=y(b.api.events.JWPLAYER_COMPONENT_HIDE);this.resize=e;var v=function(){c(m,{display:"block"});if(B){B=false;p()}};var z=function(){c(m,{display:"none"});if(!B){u();B=true}};function t(){if(!B){u();if(m.style.opacity==1){a.cancelAnimation(m);a.fadeTo(m,0,0.1,1,0)}}}function r(){if(!B){p();if(m.style.opacity==0){a.cancelAnimation(m);a.fadeTo(m,1,0.1,0,0)}}}function j(){h=document.getElementById(w.id);h.addEventListener("mousemove",l)}this.hide=z;this.show=v;return this}})(jwplayer);(function(a){a.html5.eventdispatcher=function(d,b){var c=new a.events.eventdispatcher(b);a.utils.extend(this,c);this.sendEvent=function(e,f){if(!a.utils.exists(f)){f={}}a.utils.extend(f,{id:d,version:a.version,type:e});c.sendEvent(e,f)}}})(jwplayer);(function(a){var b={prefix:"",file:"",link:"",margin:8,out:0.5,over:1,timeout:5,hide:true,position:"bottom-left"};_css=a.utils.css;a.html5.logo=function(s,k){var h=s;var u;var e;var t;var n=false;l();function l(){d();h.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,o);c();q()}function d(){if(b.prefix){var v=s.version.split(/\W/).splice(0,2).join("/");if(b.prefix.indexOf(v)<0){b.prefix+=v+"/"}}if(k.position==a.html5.view.positions.OVER){k.position=b.position}try{if(window.location.href.indexOf("https")==0){b.prefix=b.prefix.replace("http://l.longtailvideo.com","https://securel.longtailvideo.com")}}catch(w){}e=a.utils.extend({},b,k)}function c(){t=document.createElement("img");t.id=h.id+"_jwplayer_logo";t.style.display="none";t.onload=function(v){_css(t,p());f()};if(!e.file){return}if(e.file.indexOf("/")>=0){t.src=e.file}else{t.src=e.prefix+e.file}}if(!e.file){return}this.resize=function(w,v){};this.getDisplayElement=function(){return t};function q(){if(e.link){t.onmouseover=j;t.onmouseout=f;t.onclick=m}else{this.mouseEnabled=false}}function m(v){if(typeof v!="undefined"){v.stopPropagation()}if(!n){return}h.jwPause();h.jwSetFullscreen(false);if(e.link){window.open(e.link,"_top")}return}function f(v){if(e.link&&n){t.style.opacity=e.out}return}function j(v){if(n){t.style.opacity=e.over}return}function p(){var x={textDecoration:"none",position:"absolute",cursor:"pointer"};x.display=(e.hide.toString()=="true"&&!n)?"none":"block";var w=e.position.toLowerCase().split("-");for(var v in w){x[w[v]]=e.margin}return x}function r(){if(e.hide.toString()=="true"){t.style.display="block";t.style.opacity=0;a.utils.fadeTo(t,e.out,0.1,parseFloat(t.style.opacity));u=setTimeout(function(){g()},e.timeout*1000)}n=true}function g(){n=false;if(e.hide.toString()=="true"){a.utils.fadeTo(t,0,0.1,parseFloat(t.style.opacity))}}function o(v){if(v.newstate==a.api.events.state.BUFFERING){clearTimeout(u);r()}}return this}})(jwplayer);(function(e){var b={ended:e.api.events.state.IDLE,playing:e.api.events.state.PLAYING,pause:e.api.events.state.PAUSED,buffering:e.api.events.state.BUFFERING};var c=e.utils;var a=c.css;var d=c.isMobile();e.html5.mediavideo=function(w,m){var k={abort:F,canplay:z,canplaythrough:z,durationchange:I,emptied:F,ended:z,error:r,loadeddata:I,loadedmetadata:I,loadstart:z,pause:z,play:F,playing:z,progress:C,ratechange:F,seeked:z,seeking:z,stalled:z,suspend:z,timeupdate:q,volumechange:j,waiting:z,canshowcurrentframe:F,dataunavailable:F,empty:F,load:g,loadedfirstframe:F,webkitfullscreenchange:x};var y=new e.html5.eventdispatcher();c.extend(this,y);var H=w,A=m,B,n,l,D,u,L=false,M=false,o,K,f;J();this.load=function(Q,N){if(typeof N=="undefined"){N=true}if(!M){return}D=Q;c.empty(B);f=0;if(Q.levels&&Q.levels.length>0){if(Q.levels.length==1){B.src=Q.levels[0].file}else{t(Q.levels);if(B.src){B.removeAttribute("src")}for(var P=0;P<Q.levels.length;P++){var O=B.ownerDocument.createElement("source");O.src=Q.levels[P].file;B.appendChild(O);f++}}}else{B.src=Q.file}if(d){if(Q.image){B.poster=Q.image}B.style.display="block";setTimeout(function(){B.setAttribute("controls","controls")},100)}o=K=l=false;H.buffer=0;if(!c.exists(Q.start)){Q.start=0}H.duration=Q.duration;y.sendEvent(e.api.events.JWPLAYER_MEDIA_LOADED);if((!d&&Q.levels.length==1)||!L){B.load()}L=false;if(N){s(e.api.events.state.BUFFERING);y.sendEvent(e.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:0});this.play()}};this.play=function(){if(!M){return}if(n!=e.api.events.state.PLAYING){p();if(K){s(e.api.events.state.PLAYING)}else{s(e.api.events.state.BUFFERING)}B.play()}};this.pause=function(){if(!M){return}B.pause();s(e.api.events.state.PAUSED)};this.seek=function(N){if(!M){return}if(!(H.duration<=0||isNaN(H.duration))&&!(H.position<=0||isNaN(H.position))){B.currentTime=N;B.play()}};_stop=this.stop=function(P){if(!M){return}if(!c.exists(P)){P=true}v();if(P){B.style.display="none";K=false;var N=navigator.userAgent;if(N.match(/chrome/i)){B.src=undefined}else{if(N.match(/safari/i)||N.match(/firefox/i)){B.removeAttribute("src")}else{B.src=""}}B.removeAttribute("controls");B.removeAttribute("poster");c.empty(B);B.load();L=true;if(B.webkitSupportsFullscreen){try{B.webkitExitFullscreen()}catch(O){}}}s(e.api.events.state.IDLE)};this.fullscreen=function(N){if(N===true){this.resize("100%","100%")}else{this.resize(H.config.width,H.config.height)}};this.resize=function(O,N){};this.volume=function(N){if(!d){B.volume=N/100}};this.mute=function(N){if(!d){B.muted=N}};this.getDisplayElement=function(){return B};this.hasChrome=function(){return d};this.detachMedia=function(){M=false;return this.getDisplayElement()};this.attachMedia=function(){M=true};function h(O,N){return function(P){if(M&&c.exists(P.target.parentNode)){N(P)}}}function J(){B=document.createElement("video");n=e.api.events.state.IDLE;for(var N in k){B.addEventListener(N,h(N,k[N]),true)}M=true;B.setAttribute("x-webkit-airplay","allow");if(A.parentNode){A.parentNode.replaceChild(B,A)}if(!B.id){B.id=A.id}B.volume=H.volume/100}function s(N){if(N==e.api.events.state.PAUSED&&n==e.api.events.state.IDLE){return}if(n!=N){var O=n;H.state=n=N;y.sendEvent(e.api.events.JWPLAYER_PLAYER_STATE,{oldstate:O,newstate:N})}}function F(N){}function j(N){var O=Math.round(B.volume*100);if(O!=H.volume){H.volume=O;y.sendEvent(e.api.events.JWPLAYER_MEDIA_VOLUME,{volume:H.volume})}if(B.muted!=H.mute){H.mute=B.muted;y.sendEvent(e.api.events.JWPLAYER_MEDIA_MUTE,{mute:H.mute})}}function C(O){var N;if(c.exists(O)&&O.lengthComputable&&O.total){N=O.loaded/O.total*100}else{if(c.exists(B.buffered)&&(B.buffered.length>0)){var P=B.buffered.length-1;if(P>=0){N=B.buffered.end(P)/B.duration*100}}}if(K===false&&n==e.api.events.state.BUFFERING){y.sendEvent(e.api.events.JWPLAYER_MEDIA_BUFFER_FULL);K=true}if(!o){if(N==100){o=true}if(c.exists(N)&&(N>H.buffer)){H.buffer=Math.round(N);y.sendEvent(e.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:Math.round(N)})}}}function q(O){if(c.exists(O)&&c.exists(O.target)){if(!isNaN(O.target.duration)&&(isNaN(H.duration)||H.duration<1)){if(O.target.duration==Infinity){H.duration=0}else{H.duration=Math.round(O.target.duration*10)/10}}if(!l&&B.readyState>0){B.style.display="block";s(e.api.events.state.PLAYING)}if(n==e.api.events.state.PLAYING){if(!l&&B.readyState>0){l=true;try{if(B.currentTime<D.start){B.currentTime=D.start}}catch(N){}B.volume=H.volume/100;B.muted=H.mute}H.position=H.duration>0?(Math.round(O.target.currentTime*10)/10):0;y.sendEvent(e.api.events.JWPLAYER_MEDIA_TIME,{position:H.position,duration:H.duration});if(H.position>=H.duration&&(H.position>0||H.duration>0)){G()}}}C(O)}function g(N){}function z(N){if(b[N.type]){if(N.type=="ended"){G()}else{s(b[N.type])}}}function I(N){var P=Math.round(N.target.duration*10)/10;var O={height:N.target.videoHeight,width:N.target.videoWidth,duration:P};if((H.duration<P||isNaN(H.duration))&&N.target.duration!=Infinity){H.duration=P}y.sendEvent(e.api.events.JWPLAYER_MEDIA_META,{metadata:O})}function r(O){if(n==e.api.events.state.IDLE){return}var N="There was an error: ";if((O.target.error&&O.target.tagName.toLowerCase()=="video")||O.target.parentNode.error&&O.target.parentNode.tagName.toLowerCase()=="video"){var P=!c.exists(O.target.error)?O.target.parentNode.error:O.target.error;switch(P.code){case P.MEDIA_ERR_ABORTED:N="You aborted the video playback: ";break;case P.MEDIA_ERR_NETWORK:N="A network error caused the video download to fail part-way: ";break;case P.MEDIA_ERR_DECODE:N="The video playback was aborted due to a corruption problem or because the video used features your browser did not support: ";break;case P.MEDIA_ERR_SRC_NOT_SUPPORTED:N="The video could not be loaded, either because the server or network failed or because the format is not supported: ";break;default:N="An unknown error occurred: ";break}}else{if(O.target.tagName.toLowerCase()=="source"){f--;if(f>0){return}N="The video could not be loaded, either because the server or network failed or because the format is not supported: "}else{c.log("An unknown error occurred.  Continuing...");return}}_stop(false);N+=E();_error=true;y.sendEvent(e.api.events.JWPLAYER_ERROR,{message:N});return}function E(){var N="";for(var Q in D.levels){var P=D.levels[Q];var O=A.ownerDocument.createElement("source");N+=e.utils.getAbsolutePath(P.file);if(Q<(D.levels.length-1)){N+=", "}}return N}function p(){if(!c.exists(u)){u=setInterval(function(){C()},100)}}function v(){clearInterval(u);u=null}function G(){if(n!=e.api.events.state.IDLE){_stop(false);y.sendEvent(e.api.events.JWPLAYER_MEDIA_COMPLETE)}}function x(N){if(c.exists(B.webkitDisplayingFullscreen)){if(H.fullscreen&&!B.webkitDisplayingFullscreen){y.sendEvent(e.api.events.JWPLAYER_FULLSCREEN,{fullscreen:false})}}}function t(N){if(N.length>0&&c.isIOS()){if(c.extension(N[0].file)!="mp4"){var P=-1;for(var Q=1;Q<N.length;Q++){if(c.extension(N[Q].file)=="mp4"){P=Q;break}}if(P>-1){var O=N.splice(P,1)[0];N.unshift(O)}}}}}})(jwplayer);(function(b){var a={ended:b.api.events.state.IDLE,playing:b.api.events.state.PLAYING,pause:b.api.events.state.PAUSED,buffering:b.api.events.state.BUFFERING};var c=b.utils.css;b.html5.mediayoutube=function(d,l){var m=new b.html5.eventdispatcher();b.utils.extend(this,m);var f=d;var o=document.getElementById(l.id);var n=b.api.events.state.IDLE;var h,g;function e(p){if(n!=p){var q=n;f.state=p;n=p;m.sendEvent(b.api.events.JWPLAYER_PLAYER_STATE,{oldstate:q,newstate:p})}}this.getDisplayElement=this.detachMedia=function(){return o};this.attachMedia=function(){};this.play=function(){if(n==b.api.events.state.IDLE){m.sendEvent(b.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:100});m.sendEvent(b.api.events.JWPLAYER_MEDIA_BUFFER_FULL);e(b.api.events.state.PLAYING)}else{if(n==b.api.events.state.PAUSED){e(b.api.events.state.PLAYING)}}};this.pause=function(){e(b.api.events.state.PAUSED)};this.seek=function(p){};this.stop=function(p){if(!_utils.exists(p)){p=true}f.position=0;e(b.api.events.state.IDLE);if(p){c(o,{display:"none"})}};this.volume=function(p){f.volume=p;m.sendEvent(b.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(p)})};this.mute=function(p){o.muted=p;f.mute=p;m.sendEvent(b.api.events.JWPLAYER_MEDIA_MUTE,{mute:p})};this.resize=function(q,p){if(q*p>0&&h){h.width=g.width=q;h.height=g.height=p}};this.fullscreen=function(p){if(p===true){this.resize("100%","100%")}else{this.resize(f.config.width,f.config.height)}};this.load=function(p){j(p);c(h,{display:"block"});e(b.api.events.state.BUFFERING);m.sendEvent(b.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:0});m.sendEvent(b.api.events.JWPLAYER_MEDIA_LOADED);this.play()};this.hasChrome=function(){return(n!=b.api.events.state.IDLE)};function j(u){var r=u.levels[0].file;r=["http://www.youtube.com/v/",k(r),"&amp;hl=en_US&amp;fs=1&autoplay=1"].join("");h=document.createElement("object");h.id=o.id;h.style.position="absolute";var t={movie:r,allowfullscreen:"true",allowscriptaccess:"always"};for(var v in t){var s=document.createElement("param");s.name=v;s.value=t[v];h.appendChild(s)}g=document.createElement("embed");h.appendChild(g);var p={src:r,type:"application/x-shockwave-flash",allowfullscreen:"true",allowscriptaccess:"always",width:h.width,height:h.height};for(var q in p){g.setAttribute(q,p[q])}h.appendChild(g);h.style.zIndex=2147483000;if(o!=h&&o.parentNode){o.parentNode.replaceChild(h,o)}o=h}function k(q){var p=q.split(/\?|\#\!/);var s="";for(var r=0;r<p.length;r++){if(p[r].substr(0,2)=="v="){s=p[r].substr(2)}}if(s==""){if(q.indexOf("/v/")>=0){s=q.substr(q.indexOf("/v/")+3)}else{if(q.indexOf("youtu.be")>=0){s=q.substr(q.indexOf("youtu.be/")+9)}else{s=q}}}if(s.indexOf("?")>-1){s=s.substr(0,s.indexOf("?"))}if(s.indexOf("&")>-1){s=s.substr(0,s.indexOf("&"))}return s}this.embed=g;return this}})(jwplayer);(function(jwplayer){var _configurableStateVariables=["width","height","start","duration","volume","mute","fullscreen","item","plugins","stretching"];jwplayer.html5.model=function(api,container,options){var _api=api;var _container=container;var _model={id:_container.id,playlist:[],state:jwplayer.api.events.state.IDLE,position:0,buffer:0,config:{width:480,height:320,item:-1,skin:undefined,file:undefined,image:undefined,start:0,duration:0,bufferlength:5,volume:90,mute:false,fullscreen:false,repeat:"",stretching:jwplayer.utils.stretching.UNIFORM,autostart:false,debug:undefined,screencolor:undefined}};var _media;var _eventDispatcher=new jwplayer.html5.eventdispatcher();var _components=["display","logo","controlbar","playlist","dock"];jwplayer.utils.extend(_model,_eventDispatcher);for(var option in options){if(typeof options[option]=="string"){var type=/color$/.test(option)?"color":null;options[option]=jwplayer.utils.typechecker(options[option],type)}var config=_model.config;var path=option.split(".");for(var edge in path){if(edge==path.length-1){config[path[edge]]=options[option]}else{if(!jwplayer.utils.exists(config[path[edge]])){config[path[edge]]={}}config=config[path[edge]]}}}for(var index in _configurableStateVariables){var configurableStateVariable=_configurableStateVariables[index];_model[configurableStateVariable]=_model.config[configurableStateVariable]}var pluginorder=_components.concat([]);if(jwplayer.utils.exists(_model.plugins)){if(typeof _model.plugins=="string"){var userplugins=_model.plugins.split(",");for(var userplugin in userplugins){if(typeof userplugins[userplugin]=="string"){pluginorder.push(userplugins[userplugin].replace(/^\s+|\s+$/g,""))}}}}if(jwplayer.utils.isMobile()){pluginorder=["display","logo","dock","playlist"];if(!jwplayer.utils.exists(_model.config.repeat)){_model.config.repeat="list"}}else{if(_model.config.chromeless){pluginorder=["logo","dock","playlist"];if(!jwplayer.utils.exists(_model.config.repeat)){_model.config.repeat="list"}}}_model.plugins={order:pluginorder,config:{},object:{}};if(typeof _model.config.components!="undefined"){for(var component in _model.config.components){_model.plugins.config[component]=_model.config.components[component]}}var playlistVisible=false;for(var pluginIndex in _model.plugins.order){var pluginName=_model.plugins.order[pluginIndex];var pluginConfig=!jwplayer.utils.exists(_model.plugins.config[pluginName])?{}:_model.plugins.config[pluginName];_model.plugins.config[pluginName]=!jwplayer.utils.exists(_model.plugins.config[pluginName])?pluginConfig:jwplayer.utils.extend(_model.plugins.config[pluginName],pluginConfig);if(!jwplayer.utils.exists(_model.plugins.config[pluginName].position)){if(pluginName=="playlist"){_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.NONE}else{_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.OVER}}else{if(pluginName=="playlist"){playlistVisible=true}_model.plugins.config[pluginName].position=_model.plugins.config[pluginName].position.toString().toUpperCase()}}if(_model.plugins.config.controlbar&&playlistVisible){_model.plugins.config.controlbar.hideplaylistcontrols=true}if(typeof _model.plugins.config.dock!="undefined"){if(typeof _model.plugins.config.dock!="object"){var position=_model.plugins.config.dock.toString().toUpperCase();_model.plugins.config.dock={position:position}}if(typeof _model.plugins.config.dock.position!="undefined"){_model.plugins.config.dock.align=_model.plugins.config.dock.position;_model.plugins.config.dock.position=jwplayer.html5.view.positions.OVER}if(typeof _model.plugins.config.dock.idlehide=="undefined"){try{_model.plugins.config.dock.idlehide=_model.plugins.config.controlbar.idlehide}catch(e){}}}function _loadExternal(playlistfile){var loader=new jwplayer.html5.playlistloader();loader.addEventListener(jwplayer.api.events.JWPLAYER_PLAYLIST_LOADED,function(evt){_model.playlist=new jwplayer.html5.playlist(evt);_loadComplete(true)});loader.addEventListener(jwplayer.api.events.JWPLAYER_ERROR,function(evt){_model.playlist=new jwplayer.html5.playlist({playlist:[]});_loadComplete(false)});loader.load(playlistfile)}function _loadComplete(){if(_model.config.shuffle){_model.item=_getShuffleItem()}else{if(_model.config.item>=_model.playlist.length){_model.config.item=_model.playlist.length-1}else{if(_model.config.item<0){_model.config.item=0}}_model.item=_model.config.item}_model.position=0;_model.duration=_model.playlist.length>0?_model.playlist[_model.item].duration:0;_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:_model.playlist});_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_PLAYLIST_ITEM,{index:_model.item})}_model.loadPlaylist=function(arg){var input;if(typeof arg=="string"){if(arg.indexOf("[")==0||arg.indexOf("{")=="0"){try{input=eval(arg)}catch(err){input=arg}}else{input=arg}}else{input=arg}var config;switch(jwplayer.utils.typeOf(input)){case"object":config=input;break;case"array":config={playlist:input};break;default:config={file:input};break}_model.playlist=new jwplayer.html5.playlist(config);_model.item=_model.config.item>=0?_model.config.item:0;if(!_model.playlist[_model.item].provider){_loadExternal(_model.playlist[_model.item].file)}else{_loadComplete()}};function _getShuffleItem(){var result=null;if(_model.playlist.length>1){while(!jwplayer.utils.exists(result)){result=Math.floor(Math.random()*_model.playlist.length);if(result==_model.item){result=null}}}else{result=0}return result}function forward(evt){if(evt.type==jwplayer.api.events.JWPLAYER_MEDIA_LOADED){_container=_media.getDisplayElement()}_eventDispatcher.sendEvent(evt.type,evt)}var _mediaProviders={};_model.setActiveMediaProvider=function(playlistItem){if(playlistItem.provider=="audio"){playlistItem.provider="sound"}var provider=playlistItem.provider;var current=_media?_media.getDisplayElement():null;if(provider=="sound"||provider=="http"||provider==""){provider="video"}if(!jwplayer.utils.exists(_mediaProviders[provider])){switch(provider){case"video":_media=new jwplayer.html5.mediavideo(_model,current?current:_container);break;case"youtube":_media=new jwplayer.html5.mediayoutube(_model,current?current:_container);break}if(!jwplayer.utils.exists(_media)){return false}_media.addGlobalListener(forward);_mediaProviders[provider]=_media}else{if(_media!=_mediaProviders[provider]){if(_media){_media.stop()}_media=_mediaProviders[provider]}}return true};_model.getMedia=function(){return _media};_model.seek=function(pos){_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_MEDIA_SEEK,{position:_model.position,offset:pos});return _media.seek(pos)};_model.setupPlugins=function(){if(!jwplayer.utils.exists(_model.plugins)||!jwplayer.utils.exists(_model.plugins.order)||_model.plugins.order.length==0){jwplayer.utils.log("No plugins to set up");return _model}for(var i=0;i<_model.plugins.order.length;i++){try{var pluginName=_model.plugins.order[i];if(jwplayer.utils.exists(jwplayer.html5[pluginName])){if(pluginName=="playlist"){_model.plugins.object[pluginName]=new jwplayer.html5.playlistcomponent(_api,_model.plugins.config[pluginName])}else{_model.plugins.object[pluginName]=new jwplayer.html5[pluginName](_api,_model.plugins.config[pluginName])}}else{_model.plugins.order.splice(plugin,plugin+1)}if(typeof _model.plugins.object[pluginName].addGlobalListener=="function"){_model.plugins.object[pluginName].addGlobalListener(forward)}}catch(err){jwplayer.utils.log("Could not setup "+pluginName)}}};return _model}})(jwplayer);(function(a){a.html5.playlist=function(b){var d=[];if(b.playlist&&b.playlist instanceof Array&&b.playlist.length>0){for(var c in b.playlist){if(!isNaN(parseInt(c))){d.push(new a.html5.playlistitem(b.playlist[c]))}}}else{d.push(new a.html5.playlistitem(b))}return d}})(jwplayer);(function(b){var a={size:180,position:b.html5.view.positions.NONE,itemheight:60,thumbs:true,fontcolor:"#000000",overcolor:"",activecolor:"",backgroundcolor:"#f8f8f8",font:"_sans",fontsize:"",fontstyle:"",fontweight:""};var c={_sans:"Arial, Helvetica, sans-serif",_serif:"Times, Times New Roman, serif",_typewriter:"Courier New, Courier, monospace"};_utils=b.utils;_css=_utils.css;_hide=function(d){_css(d,{display:"none"})};_show=function(d){_css(d,{display:"block"})};b.html5.playlistcomponent=function(t,s){var z=t;var e=b.utils.extend({},a,z.skin.getComponentSettings("playlist"),s);if(e.position==b.html5.view.positions.NONE||typeof b.html5.view.positions[e.position]=="undefined"){return}var A;var l;var u;var d;var g;var f;var k=-1;var h={background:undefined,item:undefined,itemOver:undefined,itemImage:undefined,itemActive:undefined};this.getDisplayElement=function(){return A};this.resize=function(F,D){l=F;u=D;if(z.jwGetFullscreen()){_hide(A)}else{var E={display:"block",width:l,height:u};_css(A,E)}};this.show=function(){_show(A)};this.hide=function(){_hide(A)};function j(){A=document.createElement("div");A.id=z.id+"_jwplayer_playlistcomponent";A.style.overflow="hidden";switch(e.position){case b.html5.view.positions.RIGHT:case b.html5.view.positions.LEFT:A.style.width=e.size+"px";break;case b.html5.view.positions.TOP:case b.html5.view.positions.BOTTOM:A.style.height=e.size+"px";break}q();if(h.item){e.itemheight=h.item.height}A.style.backgroundColor="#C6C6C6";z.jwAddEventListener(b.api.events.JWPLAYER_PLAYLIST_LOADED,v);z.jwAddEventListener(b.api.events.JWPLAYER_PLAYLIST_ITEM,x);z.jwAddEventListener(b.api.events.JWPLAYER_PLAYER_STATE,m)}function p(){var D=document.createElement("ul");_css(D,{width:A.style.width,minWidth:A.style.width,height:A.style.height,backgroundColor:e.backgroundcolor,backgroundImage:h.background?"url("+h.background.src+")":"",color:e.fontcolor,listStyle:"none",margin:0,padding:0,fontFamily:c[e.font]?c[e.font]:c._sans,fontSize:(e.fontsize?e.fontsize:11)+"px",fontStyle:e.fontstyle,fontWeight:e.fontweight,overflowY:"auto"});return D}function B(D){return function(){var E=f.getElementsByClassName("item")[D];var F=e.fontcolor;var G=h.item?"url("+h.item.src+")":"";if(D==z.jwGetPlaylistIndex()){if(e.activecolor!==""){F=e.activecolor}if(h.itemActive){G="url("+h.itemActive.src+")"}}_css(E,{color:e.overcolor!==""?e.overcolor:F,backgroundImage:h.itemOver?"url("+h.itemOver.src+")":G})}}function o(D){return function(){var E=f.getElementsByClassName("item")[D];var F=e.fontcolor;var G=h.item?"url("+h.item.src+")":"";if(D==z.jwGetPlaylistIndex()){if(e.activecolor!==""){F=e.activecolor}if(h.itemActive){G="url("+h.itemActive.src+")"}}_css(E,{color:F,backgroundImage:G})}}function r(F){var M=d[F];var L=document.createElement("li");L.className="item";_css(L,{height:e.itemheight,display:"block",cursor:"pointer",backgroundImage:h.item?"url("+h.item.src+")":"",backgroundSize:"100% "+e.itemheight+"px"});L.onmouseover=B(F);L.onmouseout=o(F);var G=document.createElement("div");var P=new Image();var H=0;var I=0;var J=0;if(y()&&(M.image||M["playlist.image"]||h.itemImage)){P.className="image";if(h.itemImage){H=(e.itemheight-h.itemImage.height)/2;I=h.itemImage.width;J=h.itemImage.height}else{I=e.itemheight*4/3;J=e.itemheight}_css(G,{height:J,width:I,"float":"left",styleFloat:"left",cssFloat:"left",margin:"0 5px 0 0",background:"black",overflow:"hidden",margin:H+"px",position:"relative"});_css(P,{position:"relative"});G.appendChild(P);P.onload=function(){b.utils.stretch(b.utils.stretching.FILL,P,I,J,this.naturalWidth,this.naturalHeight)};if(M["playlist.image"]){P.src=M["playlist.image"]}else{if(M.image){P.src=M.image}else{if(h.itemImage){P.src=h.itemImage.src}}}L.appendChild(G)}var O=l-I-H*2;if(u<e.itemheight*d.length){O-=15}var N=document.createElement("div");_css(N,{position:"relative",height:"100%",overflow:"hidden"});var D=document.createElement("span");if(M.duration>0){D.className="duration";_css(D,{fontSize:(e.fontsize?e.fontsize:11)+"px",fontWeight:(e.fontweight?e.fontweight:"bold"),width:"40px",height:e.fontsize?e.fontsize+10:20,lineHeight:24,"float":"right",styleFloat:"right",cssFloat:"right"});D.innerHTML=_utils.timeFormat(M.duration);N.appendChild(D)}var K=document.createElement("span");K.className="title";_css(K,{padding:"5px 5px 0 "+(H?0:"5px"),height:e.fontsize?e.fontsize+10:20,lineHeight:e.fontsize?e.fontsize+10:20,overflow:"hidden","float":"left",styleFloat:"left",cssFloat:"left",width:((M.duration>0)?O-50:O)-10+"px",fontSize:(e.fontsize?e.fontsize:13)+"px",fontWeight:(e.fontweight?e.fontweight:"bold")});K.innerHTML=M?M.title:"";N.appendChild(K);if(M.description){var E=document.createElement("span");E.className="description";_css(E,{display:"block","float":"left",styleFloat:"left",cssFloat:"left",margin:0,paddingLeft:K.style.paddingLeft,paddingRight:K.style.paddingRight,lineHeight:(e.fontsize?e.fontsize+4:16)+"px",overflow:"hidden",position:"relative"});E.innerHTML=M.description;N.appendChild(E)}L.appendChild(N);return L}function v(E){A.innerHTML="";d=z.jwGetPlaylist();if(!d){return}items=[];f=p();for(var F=0;F<d.length;F++){var D=r(F);D.onclick=C(F);f.appendChild(D);items.push(D)}k=z.jwGetPlaylistIndex();o(k)();A.appendChild(f);if(_utils.isIOS()&&window.iScroll){f.style.height=e.itemheight*d.length+"px";var G=new iScroll(A.id)}}function C(D){return function(){z.jwPlaylistItem(D);z.jwPlay(true)}}function n(){f.scrollTop=z.jwGetPlaylistIndex()*e.itemheight}function y(){return e.thumbs.toString().toLowerCase()=="true"}function x(D){if(k>=0){o(k)();k=D.index}o(D.index)();n()}function m(){if(e.position==b.html5.view.positions.OVER){switch(z.jwGetState()){case b.api.events.state.IDLE:_show(A);break;default:_hide(A);break}}}function q(){for(var D in h){h[D]=w(D)}}function w(D){return z.skin.getSkinElement("playlist",D)}j();return this}})(jwplayer);(function(b){b.html5.playlistitem=function(c){var d={author:"",date:"",description:"",image:"",link:"",mediaid:"",tags:"",title:"",provider:"",file:"",streamer:"",duration:-1,start:0,currentLevel:-1,levels:[]};var e=b.utils.extend({},d,c);if(e.type){e.provider=e.type;delete e.type}if(e.levels.length===0){e.levels[0]=new b.html5.playlistitemlevel(e)}if(!e.provider){e.provider=a(e.levels[0])}else{e.provider=e.provider.toLowerCase()}return e};function a(c){if(b.utils.isYouTube(c.file)){return"youtube"}else{var d=b.utils.extension(c.file);var e;if(d&&b.utils.extensionmap[d]){if(d=="m3u8"){return"video"}e=b.utils.extensionmap[d].html5}else{if(c.type){e=c.type}}if(e){var f=e.split("/")[0];if(f=="audio"){return"sound"}else{if(f=="video"){return f}}}}return""}})(jwplayer);(function(a){a.html5.playlistitemlevel=function(b){var d={file:"",streamer:"",bitrate:0,width:0};for(var c in d){if(a.utils.exists(b[c])){d[c]=b[c]}}return d}})(jwplayer);(function(a){a.html5.playlistloader=function(){var c=new a.html5.eventdispatcher();a.utils.extend(this,c);this.load=function(e){a.utils.ajax(e,d,b)};function d(f){var e=[];try{var e=a.utils.parsers.rssparser.parse(f.responseXML.firstChild);c.sendEvent(a.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:new a.html5.playlist({playlist:e})})}catch(g){b("Could not parse the playlist")}}function b(e){c.sendEvent(a.api.events.JWPLAYER_ERROR,{message:e?e:"Could not load playlist an unknown reason."})}}})(jwplayer);(function(a){a.html5.skin=function(){var b={};var c=false;this.load=function(d,e){new a.html5.skinloader(d,function(f){c=true;b=f;e()},function(){new a.html5.skinloader("",function(f){c=true;b=f;e()})})};this.getSkinElement=function(d,e){if(c){try{return b[d].elements[e]}catch(f){a.utils.log("No such skin component / element: ",[d,e])}}return null};this.getComponentSettings=function(d){if(c){return b[d].settings}return null};this.getComponentLayout=function(d){if(c){return b[d].layout}return null}}})(jwplayer);(function(a){a.html5.skinloader=function(b,p,f){var n={};var o=p;var g=f;var s=true;var e;var l=b;var k=false;function j(){if(typeof l!="string"||l===""){r(a.html5.defaultSkin().xml)}else{a.utils.ajax(a.utils.getAbsolutePath(l),function(t){try{if(a.utils.exists(t.responseXML)){r(t.responseXML);return}}catch(u){d()}r(a.html5.defaultSkin().xml)},function(t){r(a.html5.defaultSkin().xml)})}}function r(H){var x=H.getElementsByTagName("component");if(x.length===0){return}for(var E=0;E<x.length;E++){var v=x[E].getAttribute("name");var u={settings:{},elements:{},layout:{}};n[v]=u;var B=x[E].getElementsByTagName("elements")[0].getElementsByTagName("element");for(var z=0;z<B.length;z++){m(B[z],v)}var J=x[E].getElementsByTagName("settings")[0];if(J&&J.childNodes.length>0){var K=J.getElementsByTagName("setting");for(var P=0;P<K.length;P++){var Q=K[P].getAttribute("name");var G=K[P].getAttribute("value");var F=/color$/.test(Q)?"color":null;n[v].settings[Q]=a.utils.typechecker(G,F)}}var L=x[E].getElementsByTagName("layout")[0];if(L&&L.childNodes.length>0){var M=L.getElementsByTagName("group");for(var D=0;D<M.length;D++){var t=M[D];n[v].layout[t.getAttribute("position")]={elements:[]};for(var O=0;O<t.attributes.length;O++){var w=t.attributes[O];n[v].layout[t.getAttribute("position")][w.name]=w.value}var N=t.getElementsByTagName("*");for(var C=0;C<N.length;C++){var y=N[C];n[v].layout[t.getAttribute("position")].elements.push({type:y.tagName});for(var A=0;A<y.attributes.length;A++){var I=y.attributes[A];n[v].layout[t.getAttribute("position")].elements[C][I.name]=I.value}if(!a.utils.exists(n[v].layout[t.getAttribute("position")].elements[C].name)){n[v].layout[t.getAttribute("position")].elements[C].name=y.tagName}}}}s=false;h()}}function h(){clearInterval(e);if(!k){e=setInterval(function(){q()},100)}}function m(t,z){var y=new Image();var v=t.getAttribute("name");var x=t.getAttribute("src");var A;if(x.indexOf("data:image/png;base64,")===0){A=x}else{var w=a.utils.getAbsolutePath(l);var u=w.substr(0,w.lastIndexOf("/"));A=[u,z,x].join("/")}n[z].elements[v]={height:0,width:0,src:"",ready:false,image:y};y.onload=function(B){c(y,v,z)};y.onerror=function(B){k=true;h();g()};y.src=A}function d(){for(var u in n){var w=n[u];for(var t in w.elements){var x=w.elements[t];var v=x.image;v.onload=null;v.onerror=null;delete x.image;delete w.elements[t]}delete n[u]}}function q(){for(var t in n){if(t!="properties"){for(var u in n[t].elements){if(!n[t].elements[u].ready){return}}}}if(s===false){clearInterval(e);o(n)}}function c(t,v,u){if(n[u]&&n[u].elements[v]){n[u].elements[v].height=t.height;n[u].elements[v].width=t.width;n[u].elements[v].src=t.src;n[u].elements[v].ready=true;h()}else{a.utils.log("Loaded an image for a missing element: "+u+"."+v)}}j()}})(jwplayer);(function(a){a.html5.api=function(h,g){var e={};var l=document.createElement("div");h.parentNode.replaceChild(l,h);l.id=h.id;e.version=a.version;e.id=l.id;var d=new a.html5.model(e,l,g);var b=new a.html5.view(e,l,d);var c=new a.html5.controller(e,l,d,b);e.skin=new a.html5.skin();e.jwPlay=function(o){if(typeof o=="undefined"){k()}else{if(o.toString().toLowerCase()=="true"){c.play()}else{c.pause()}}};e.jwPause=function(o){if(typeof o=="undefined"){k()}else{if(o.toString().toLowerCase()=="true"){c.pause()}else{c.play()}}};function k(){if(d.state==a.api.events.state.PLAYING||d.state==a.api.events.state.BUFFERING){c.pause()}else{c.play()}}e.jwStop=c.stop;e.jwSeek=c.seek;e.jwPlaylistItem=c.item;e.jwPlaylistNext=c.next;e.jwPlaylistPrev=c.prev;e.jwResize=c.resize;e.jwLoad=c.load;e.jwDetachMedia=c.detachMedia;e.jwAttachMedia=c.attachMedia;function n(o){return function(){return d[o]}}function j(o,q,p){return function(){var r=d.plugins.object[o];if(r&&r[q]&&typeof r[q]=="function"){r[q].apply(r,p)}}}e.jwGetItem=n("item");e.jwGetPosition=n("position");e.jwGetDuration=n("duration");e.jwGetBuffer=n("buffer");e.jwGetWidth=n("width");e.jwGetHeight=n("height");e.jwGetFullscreen=n("fullscreen");e.jwSetFullscreen=c.setFullscreen;e.jwGetVolume=n("volume");e.jwSetVolume=c.setVolume;e.jwGetMute=n("mute");e.jwSetMute=c.setMute;e.jwGetStretching=function(){return d.stretching.toUpperCase()};e.jwGetState=n("state");e.jwGetVersion=function(){return e.version};e.jwGetPlaylist=function(){return d.playlist};e.jwGetPlaylistIndex=e.jwGetItem;e.jwAddEventListener=c.addEventListener;e.jwRemoveEventListener=c.removeEventListener;e.jwSendEvent=c.sendEvent;e.jwDockSetButton=function(r,o,p,q){if(d.plugins.object.dock&&d.plugins.object.dock.setButton){d.plugins.object.dock.setButton(r,o,p,q)}};e.jwControlbarShow=j("controlbar","show");e.jwControlbarHide=j("controlbar","hide");e.jwDockShow=j("dock","show");e.jwDockHide=j("dock","hide");e.jwDisplayShow=j("display","show");e.jwDisplayHide=j("display","hide");e.jwGetLevel=function(){};e.jwGetBandwidth=function(){};e.jwGetLockState=function(){};e.jwLock=function(){};e.jwUnlock=function(){};function f(){if(d.config.playlistfile){d.addEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,m);d.loadPlaylist(d.config.playlistfile)}else{if(typeof d.config.playlist=="string"){d.addEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,m);d.loadPlaylist(d.config.playlist)}else{d.loadPlaylist(d.config);setTimeout(m,25)}}}function m(o){d.removeEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,m);d.setupPlugins();b.setup();var o={id:e.id,version:e.version};c.playerReady(o)}if(d.config.chromeless&&!a.utils.isIOS()){f()}else{e.skin.load(d.config.skin,f)}return e}})(jwplayer)};
/*!
 * jQuery UI 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if("area"===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:"a"==d?a.href||b:b)&&l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.16",
keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({propAttr:c.fn.prop||c.fn.attr,_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=
this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,
"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":
"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(n)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,
outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,"tabindex")))},tabbable:function(a){var b=c.attr(a,
"tabindex"),d=isNaN(b);return(d||b>=0)&&k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&
a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&
c.ui.isOverAxis(b,e,i)}})}})(jQuery);
;/*!
 * jQuery UI Widget 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)try{b(d).triggerHandler("remove")}catch(e){}k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(d){}});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=
function(h){return!!b.data(h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):
d;if(e&&d.charAt(0)==="_")return h;e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=
b.extend(true,{},this.options,this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+
"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",
c);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
;/*!
 * jQuery UI Mouse 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(b){var d=false;b(document).mouseup(function(){d=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+".preventClickEvent")){b.removeData(c.target,a.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+
this.widgetName)},_mouseDown:function(a){if(!d){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,f=a.which==1,g=typeof this.options.cancel=="string"&&a.target.nodeName?b(a.target).closest(this.options.cancel).length:false;if(!f||g||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(e){return c._mouseMove(e)};this._mouseUpDelegate=function(e){return c._mouseUp(e)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return d=true}},_mouseMove:function(a){if(b.browser.msie&&
!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
false;a.target==this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
;/*
 * jQuery UI Position 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Position
 */
(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY,
left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+=
k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-=
m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left=
d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+=
a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b),
g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
;/*
 * jQuery UI Draggable 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Draggables
 *
 * Depends:
 *	jquery.ui.core.js
 *	jquery.ui.mouse.js
 *	jquery.ui.widget.js
 */
(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b=
this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;if(b.iframeFix)d(b.iframeFix===true?"iframe":b.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")});return true},_mouseStart:function(a){var b=this.options;
this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});
this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions();d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);d.ui.ddmanager&&d.ui.ddmanager.dragStart(this,a);return true},
_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=
false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&&this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,
10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",a)!==false&&this._clear();return false},_mouseUp:function(a){this.options.iframeFix===true&&d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});d.ui.ddmanager&&d.ui.ddmanager.dragStop(this,a);return d.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||
!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&
a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=
this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),
10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),
10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[a.containment=="document"?0:d(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,a.containment=="document"?0:d(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,
(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){a=d(a.containment);var b=a[0];if(b){a.offset();var c=d(b).css("overflow")!=
"hidden";this.containment=[(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0),(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0),(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),
10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=a}}else if(a.containment.constructor==Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+
this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&
!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,h=a.pageY;if(this.originalPosition){var g;if(this.containment){if(this.relative_container){g=this.relative_container.offset();g=[this.containment[0]+g.left,this.containment[1]+g.top,this.containment[2]+g.left,this.containment[3]+g.top]}else g=this.containment;if(a.pageX-this.offset.click.left<g[0])e=g[0]+this.offset.click.left;
if(a.pageY-this.offset.click.top<g[1])h=g[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>g[2])e=g[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>g[3])h=g[3]+this.offset.click.top}if(b.grid){h=b.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/b.grid[1])*b.grid[1]:this.originalPageY;h=g?!(h-this.offset.click.top<g[1]||h-this.offset.click.top>g[3])?h:!(h-this.offset.click.top<g[1])?h-b.grid[1]:h+b.grid[1]:h;e=b.grid[0]?this.originalPageX+Math.round((e-this.originalPageX)/
b.grid[0])*b.grid[0]:this.originalPageX;e=g?!(e-this.offset.click.left<g[0]||e-this.offset.click.left>g[2])?e:!(e-this.offset.click.left<g[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<
526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,
c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.16"});d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var h=d.data(this,"sortable");if(h&&!h.options.disabled){c.sortables.push({instance:h,shouldRevert:h.options.revert});
h.refreshPositions();h._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=
false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",true);
this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;
c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&
this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=
a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!=
"x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<
c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-
c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable","snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,
width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),f=c.options,e=f.snapTolerance,h=b.offset.left,g=h+c.helperProportions.width,n=b.offset.top,o=n+c.helperProportions.height,i=c.snapElements.length-1;i>=0;i--){var j=c.snapElements[i].left,l=j+c.snapElements[i].width,k=c.snapElements[i].top,m=k+c.snapElements[i].height;if(j-e<h&&h<l+e&&k-e<n&&n<m+e||j-e<h&&h<l+e&&k-e<o&&o<m+e||j-e<g&&g<l+e&&k-e<n&&n<m+e||j-e<g&&g<l+e&&k-e<o&&
o<m+e){if(f.snapMode!="inner"){var p=Math.abs(k-o)<=e,q=Math.abs(m-n)<=e,r=Math.abs(j-g)<=e,s=Math.abs(l-h)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:k-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:m,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:j-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:l}).left-c.margins.left}var t=
p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(k-n)<=e;q=Math.abs(m-o)<=e;r=Math.abs(j-h)<=e;s=Math.abs(l-g)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:k,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:m-c.helperProportions.height,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:j}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:l-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[i].snapping&&
(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=p||q||r||s||t}else{c.snapElements[i].snapping&&c.options.snap.release&&c.options.snap.release.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),
10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery);
;/*
 * jQuery UI Accordion 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Accordion
 *
 * Depends:
 *	jquery.ui.core.js
 *	jquery.ui.widget.js
 */
(function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",
function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=
this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons();
b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);
a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options;
if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);
if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(),
e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight||
e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false",
"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.16",
animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);
f[i]={value:j[1],unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",
paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);
;/*
 * jQuery UI Autocomplete 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Autocomplete
 *
 * Depends:
 *	jquery.ui.core.js
 *	jquery.ui.widget.js
 *	jquery.ui.position.js
 */
(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.propAttr("readOnly"))){g=
false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&
a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source==="string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=
this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)},_search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();
this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||
b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next(new d.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;
d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
(function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
-1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.scrollTop(),c=this.element.height();if(b<0)this.element.scrollTop(g+b);else b>=c&&this.element.scrollTop(g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0);e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,
this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(".ui-menu-item:first"));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c<10&&c>-10});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(e,g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[d.fn.prop?"prop":"attr"]("scrollHeight")},select:function(e){this._trigger("selected",e,{item:this.active})}})})(jQuery);
;/*
 * jQuery UI Tabs 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Tabs
 *
 * Depends:
 *	jquery.ui.core.js
 *	jquery.ui.widget.js
 */
(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&&
e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=
d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]||
(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected=
this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+
g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",
function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};
this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected=
-1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=
d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b,
e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null,
this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.16"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
;/*
 * jQuery UI Effects 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Effects/
 */
jQuery.effects||function(f,j){function m(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1],
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return m(b)}function o(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function p(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d=
a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function l(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor",
"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=m(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},q=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
d){if(f.isFunction(b)){d=b;b=null}return this.queue(function(){var e=f(this),g=e.attr("style")||" ",h=p(o.call(this)),r,v=e.attr("class");f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});r=p(o.call(this));e.attr("class",v);e.animate(u(h,r),{queue:false,duration:a,easing:b,complete:function(){f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments);f.dequeue(this)}})})};
f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,
[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.16",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,a){var b;switch(c[0]){case "top":b=
0;break;case "middle":b=0.5;break;case "bottom":b=1;break;default:b=c[0]/a.height}switch(c[1]){case "left":c=0;break;case "center":c=0.5;break;case "right":c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},b=f("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),
d=document.activeElement;c.wrap(b);if(c[0]===d||f.contains(c[0],d))f(d).focus();b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(e,g){a[g]=c.css(g);if(isNaN(parseInt(a[g],10)))a[g]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){var a,b=document.activeElement;
if(c.parent().is(".ui-effects-wrapper")){a=c.parent().replaceWith(c);if(c[0]===b||f.contains(c[0],b))f(b).focus();return a}return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});
return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(l(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,
arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/
2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,
d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,
a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,
d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g))+b},easeOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*a)*Math.sin((a*e-c)*2*Math.PI/g)+d+b},easeInOutElastic:function(c,a,b,d,e){c=1.70158;var g=
0,h=d;if(a==0)return b;if((a/=e/2)==2)return b+d;g||(g=e*0.3*1.5);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);if(a<1)return-0.5*h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;
if((a/=e/2)<1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c,a,b,d,e){return d-f.easing.easeOutBounce(c,e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)<1/2.75?d*7.5625*a*a+b:a<2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a<e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,
a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery);
;/*
 * jQuery UI Effects Pulsate 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Effects/Pulsate
 *
 * Depends:
 *	jquery.effects.core.js
 */
(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c<times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration,
a.options.easing,function(){animateTo==0&&b.hide();a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()}).dequeue()})}})(jQuery);
;
var li,default_left_li_left,default_right_li_left,default_left_h2_bottom,default_left_h2_left,default_right_h2_bottom,default_right_h2_left,default_left_h2_width,default_right_h2_width,isRightMenu,t;$(function(){$('a.spip_out, a[href*="appli.htm"]').live("click",function(e){e.preventDefault();window.open($(this).attr("href"))});$("div.blockUI.blockMsg.blockPage").livequery(function(){if($(this).is(":visible")){$("#page").addClass("hidden")}fixPngPopup()});$.ajaxSetup({type:"POST"});if($.browser.msie&&/6.0/.test($.browser.version)){$("div.blockUI").livequery(function(){if($(this).is(":visible")){$(this).bgiframe()}})}$("#liste_articles p.expand_collapse > a").live("click",function(e){e.preventDefault();$(this).toggleClass("expanded").parent().parent().toggleClass("collapsed");$(".div_bas",$(this).parents("div[class^=art_]")).slideToggle("normal")});$(".image_puces > span a").each(function(){var g=$(this).attr("class").split(" ");var e=$(this).parents(".image_puces:first");$(this).qtip({content:$(this).attr("title"),position:{my:g[0]+" "+g[1],at:g[2]+" "+g[3]},show:{solo:true},hide:{event:"unfocus"},style:{classes:"ui-tooltip-shadow ui-tooltip-custom"}})});$("p.galerie span a").colorbox({current:"{current}/{total}",previous:"Précédente",next:"Suivante",close:"Fermer",maxHeight:"90%",maxWidth:"90%",transition:"elastic"});$("div.galerie_plus ul").PikaChoose({autoPlay:false,animationFinished:function(){initBlockUI()},transition:[0]});$(".pikachoose").PikaChoose({autoPlay:false,carousel:true,showTooltips:true,transition:[0],text:{previous:"",next:""}});$("p.galerie_plus a").live("click",function(g){g.preventDefault();var h=$(this).parent().next("div.galerie_plus");$.blockUI({message:$(h),css:{top:"5%"},onBlock:function(){initBlockUI()}});$(".blockOverlay").attr("title","Cliquer ici pour fermer").click($.unblockUI)});$("p.galerie > a").live("click",function(g){g.preventDefault();$(this).parent().find("span a:first").click()});$("#contenu div[style]").not("div[id*=partof]").each(function(){$(this).removeAttr("style")});if($.browser.msie&&/6.0/.test($.browser.version)){$.ifixpng("/imgs/pixel.gif");$("img, input[type=image], #masthead, #masthead div.mea, #main, #block_menu ul, #rech_top, #footer_plan, #footer, #fsDepot, p.fermer_fenetre a, .carousel-pagination").ifixpng();$("#onglets img").hover(function(){$(this).ifixpng()},function(){$(this).ifixpng()})}$("a.has_menu").live("click",function(g){g.preventDefault();$(this).parent().toggleClass("selected").find("> ul").toggle()});$("a[href*=#]").live("click",function(){$(this).blur()});$.blockUI.defaults={message:"<h1>Veuillez patienter</h1>",css:{backgroundColor:"#fff",border:"none",color:"#000",cursor:"default",left:"50%",margin:"0 0 0 -15%",padding:0,textAlign:"center",top:"25%",width:"30%"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:false,overlayCSS:{backgroundColor:"#000",opacity:0.6},baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,constrainTabKey:true,fadeOut:400,applyPlatformOpacityRules:false,showOverlay:true};$("a.unblockui").live("click",function(g){g.preventDefault();$.unblockUI({onUnblock:function(){$("#page").removeClass("hidden")}})});$("a.nocatal").live("click",function(g){g.preventDefault();if($("#bloc_menu div.teasing #request_uri").size()==0){$("#bloc_menu div.teasing form").prepend('<input type="hidden" name="request_uri" id="request_uri" value="" />')}$("#request_uri").val(this.href);$.blockUI({message:$("#bloc_menu div.teasing"),css:{cursor:"default",marginLeft:"-269px",top:"10%",width:"538px"}});fixPngPopup()});$("p.popup_imprimer a, p.imprimer a, a.imprimer, #lien_imprimer a").live("click",function(g){g.preventDefault();window.print()});$("#mast_pictos img, .pictos_services img").tooltip({delay:0,extraClass:"pictos_services",left:-20,showURL:false,track:true,top:20});$(".zoom a").livequery(function(){if($(this).parent().hasClass("lightbox")==false){var e=this;$(e).tooltip({bodyHandler:function(){var g=e.href.substring(e.href.indexOf("#")+1);return $("<img/>").attr("src",g)},delay:0,extraClass:"zoom",showURL:false,top:-173}).click(function(){e.href=e.href.substring(0,e.href.indexOf("#"))})}});$("#ticket_aide a").tooltip({delay:0,extraClass:"aide_panier",left:-20,showURL:false,track:true,top:20}).click(function(g){g.preventDefault()});$(".lightbox a, .schemas li a").each(function(){if($(" > img",this).size()>0&&$(" > img",this).height()<="1"&&$(" > img",this).width()<="1"){$(this).parent().remove()}}).colorbox({current:"{current}/{total}",previous:"Précédente",next:"Suivante",close:"Fermer"},function(){fixPngPopup()});$("#changer_agence").bind("mouseenter",function(){$("#changer_agence > ul").show().bgiframe();$("#mast_infos_agence").css({zIndex:1000})}).bind("mouseleave",function(){$("#changer_agence > ul").hide().bgiframe();$("#onglets li:last").show();$("#mast_infos_agence").removeAttr("style")});$("#mast_help a").click(function(g){g.preventDefault();ajax_blockui();$.ajax({url:this.href,success:function(h){var k=$(h);var l=0;var e="620px";var m=0;$("img, object",k).each(function(){if($.browser.msie){$("body").append($(this).css({position:"absolute",top:"0",left:"-9999px"}))}l=($(this).attr("width")>l)?parseInt($(this).attr("width")):l;if($.browser.msie){$(this).remove()}m=l/2});$.blockUI({message:'<div class="blockui_popup">'+h+"</div>",css:{bottom:"10px",height:e,marginLeft:"-"+m+"px",top:"10px",overflow:"auto",width:l+"px"},centerY:true});fixPngPopup()}})});$("a.lightbox, a[href*=#lightbox-]:not(.lightbox)").live("click",function(m){m.preventDefault();var o=this.href.substring(this.href.indexOf("#"));var l=o.split("_");var h=new Array();var g=new Array();var n="";for(var k=0;k<l.length;k++){if(isNaN(l[k])){h.push(l[k])}else{g.push(l[k])}}$.blockUI({message:$(h.join("_")),css:{bottom:"10px",height:(g[1]!=null)?g[1]+"px":"50%",marginLeft:"-"+((g[0]!=null)?(g[0]/2)+"px":"25%"),top:"10%",overflow:"auto",width:(g[0]!=null)?g[0]+"px":"50%"},centerY:true})});$("td div.mea span.nodb2").parent().parent().hide();$("div.mea span.nodb2").parent().hide();$("a.nodb2").hide();if($(":input[name=form_browser_infos]").size()>0){var a=navigator.userAgent;var c=false;var b;if(navigator.plugins.length>0){for(d in navigator.plugins){for(j in navigator.plugins[d]){if(/Shockwave Flash/.test(navigator.plugins[d][j])){c=true;b=navigator.plugins[d].version}}}}else{for(var d=20;d>0;d--){b=0;c=false;try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);b=d;c=true;break}catch(f){}}}a+=(c==true)?" | Flash activé (version "+b+")":" | Pas de plugin Flash";$(":input[name=form_browser_infos]").val(a)}$("area.plus").live("click",function(g){g.preventDefault();var h=$(this).attr("href").substring($(this).attr("href").indexOf("#")+1);val=parseFloat($($(this).attr("href")).val());val++;$($(this).attr("href")).val(val).trigger("change")});$("area.moins").live("click",function(g){g.preventDefault();var h=$(this).attr("href").substring($(this).attr("href").indexOf("#")+1);val=parseFloat($($(this).attr("href")).val());if(val>1){val--;$($(this).attr("href")).val(val).trigger("change")}});$("p.lien_pop_login > a").click(function(g){g.preventDefault();ajax_blockui();$.ajax({type:"POST",url:this.href,success:function(e){$.blockUI({message:'<div class="blockui_popup pop_login">'+e+"</div>",css:{top:"10%",marginLeft:"-221px",width:"442px"}})}})});$(".slide-menu > li").hover(function(){li=this;isRightMenu=$(li).hasClass("slide-right");if(isRightMenu){default_right_li_left=(default_right_li_left==undefined)?getCssDim($(li),"left"):default_right_li_left;default_right_h2_bottom=(default_right_h2_bottom==undefined)?getCssDim($("h2:first",$(li)),"bottom"):default_right_h2_bottom;default_right_h2_left=(default_right_h2_left==undefined)?getCssDim($("h2:first",$(li)),"left"):default_right_h2_left;default_right_h2_width=(default_right_h2_width==undefined)?($.support.boxModel)?$("h2:first",$(li)).width():$("h2:first",$(li)).outerWidth():default_right_h2_width}else{default_left_li_left=(default_left_li_left==undefined)?getCssDim($(li),"left"):default_left_li_left;default_left_h2_bottom=(default_left_h2_bottom==undefined)?getCssDim($("h2:first",$(li)),"bottom"):default_left_h2_bottom;default_left_h2_left=(default_left_h2_left==undefined)?getCssDim($("h2:first",$(li)),"left"):default_left_h2_left;default_left_h2_width=(default_left_h2_width==undefined)?($.support.boxModel)?$("h2:first",$(li)).width():$("h2:first",$(li)).outerWidth():default_left_h2_width}if(isRightMenu){$("ul:first",$(li)).width($("ul:first li:first",$(li)).outerWidth()*$("ul:first li",$(li)).size()+1)}h2_padding_left=getCssDim($("h2:first",$(li)),"paddingLeft");h2_padding_right=getCssDim($("h2:first",$(li)),"paddingRight");clearTimeout(t);t=setTimeout(function(){$(li).css({zIndex:5}).queue("fx",[]).animate({left:0},200);$("h2:first",$(li)).queue("fx",[]).animate({left:(isRightMenu)?$(li).width()-$("ul:first",$(li)).width():0,bottom:$("ul:first",$(li)).height(),width:($.support.boxModel)?$("ul:first",$(li)).width()-h2_padding_left-h2_padding_right:$("ul:first",$(li)).width()},200);$("p:first",$(li)).queue("fx",[]).animate({bottom:-$("p:first",$(li)).outerHeight(),left:(isRightMenu)?$(li).width()-$("p:first",$(li)).width():0},200);$("ul:first",$(li)).queue("fx",[]).animate({left:(isRightMenu)?$(li).width()-$("ul:first",$(li)).width():0},200)},125)},function(){clearTimeout(t);li=this;$(li).queue("fx",[]).animate({left:(isRightMenu)?default_right_li_left:default_left_li_left},200,function(){$(li).css({zIndex:1})});$("h2:first",$(li)).queue("fx",[]).animate({left:(isRightMenu)?default_right_h2_left:default_left_h2_left,bottom:(isRightMenu)?default_right_h2_bottom:default_left_h2_bottom,width:(isRightMenu)?default_right_h2_width:default_left_h2_width},200);$("p:first",$(li)).queue("fx",[]).animate({bottom:0,left:(isRightMenu)?default_right_h2_left:default_left_h2_left},200);$("ul:first",$(li)).queue("fx",[]).animate({left:(isRightMenu)?$(li).width():-$("ul:first",$(li)).width()},200)});$("form[action*=_sondage]").live("submit",function(){$form=$(this);$.ajax({type:"POST",url:$form.attr("action"),data:$(":input",$form).serializeArray(),complete:function(e){$form.parent("div.spip_forms").replaceWith($(e.responseText))}});return false})});function ajax_blockui(){$.blockUI({message:'<p style="padding: 50px;"><img src="/imgs/_v2/ajax-loader-big.gif" /></p>',css:{marginLeft:"-221px",width:"442px"}})}function initBlockUI(){var a=$(".blockUI.blockMsg.blockPage .pika-stage img:first").width();var b=a/2;$(".blockUI.blockMsg.blockPage").animate({width:a+"px",marginLeft:"-"+b+"px"},100,function(){$(".pika-stage > a").click(function(c){c.preventDefault()});$("div.galerie_plus .caption a").each(function(){var c=$(this).attr("class").split(" ");$(this).qtip({content:$(this).attr("title"),position:{my:c[0]+" "+c[1],at:c[2]+" "+c[3],adjust:{x:$(".blockUI.blockMsg.blockPage").width()/2}},style:{classes:"ui-tooltip-shadow ui-tooltip-light"}}).unbind("click").click(function(d){d.preventDefault();if($(this).is(':not(a[href*="appli.htm"])')){window.open($(this).attr("href"))}})})})}function ajax_wait(b){if(b){var a=($.browser.msie&&$.browser.version.indexOf("6")>-1)?"absolute":"fixed";$("body").prepend('<p id="wait" style="background: red; color: #FFF; font-weight: bold; padding: 5px; position: '+a+'; right: 0; top: 0; z-index: 1000;">Veuillez patienter</p>')}else{$("#wait").remove()}}function fixPngPopup(){if($.browser.msie&&/6.0/.test($.browser.version)){$("div.blockUI *, #colorbox *").ifixpng()}}function cleanString(a){var c="éêèëîïíàâáùüûçñôöó";var b="eeeeiiiaaauuucnooo";var d="abcdefghijklmnopqrstuvwxyz0123456789-_:~\\/";a=a.toLowerCase();for(i=0;i<a.length;i++){var e=c.indexOf(a.charAt(i));if(e!=-1){a=a.substring(0,i)+b.charAt(e)+a.substring(i+1,a.length)}else{e=d.indexOf(a.charAt(i));if(e==-1){a=a.substring(0,i)+"_"+a.substring(i+1,a.length)}}}return a}function getDt(){var c=new Date();var b=(c.getHours()<10)?"0"+c.getHours():c.getHours();var d=(c.getMinutes()<10)?"0"+c.getMinutes():c.getMinutes();var a=(c.getSeconds()<10)?"0"+c.getSeconds():c.getSeconds();var e=(c.getMilliseconds()<10)?"0"+c.getMilliseconds():c.getMilliseconds();return b+""+d+""+a+""+e}function getCssDim(b,a){return $(b).css(a).substring(0,$(b).css(a).length-2)};
var imprimer;var xiti="";$(function(){initFunctions();if(window.initPanier){initPanier()}if(window.initRedimensionner){initRedimensionner()}if(window.initLogin&&document.getElementById("carte")){initLogin()}if(imprimer=="oui"){window.print()}$(".mea_contenu a").each(function(){var a=$(this);var url=a.attr("href");if(!url){return}if(url.indexOf("?")>-1){a.attr("href",url+"&tag=mea")}else{a.attr("href",url+"?tag=mea")}});$("a.stats").click(function(event){event.preventDefault();var url=$(this).attr("href");if(!url){return}xiti=xiti.replace(":::fichier:::",url);eval(xiti);var url_stats=url;if($(this).is(".tag_spip")){if(url.indexOf("?")>-1){url_stats+="&tag=spip"}else{url_stats+="?tag=spip"}}$.post("/gene_jsp/swgsession.jsp",{url:url_stats});window.open(url)});$(".obligatoire").after('<span class="ast">*</span>');$("a.spip_out").each(function(){if($(this).attr("href").match(/^\//)){$(this).removeClass("spip_out").addClass("spip_in")}});$(".form_gene").submit(function(){var $form=$(this);if($(":hidden[name=ajax]").val()=="1"){$.post($form.attr("action"),$(":input",$form).serializeArray(),function(data){console.log(data);$form.replaceWith(data)});return false}})});function initFunctions(){comportements()}function comportements(){aElements=document.getElementsByTagName("a");inputElements=document.getElementsByTagName("INPUT");liElements=document.getElementsByTagName("li");selectElements=document.getElementsByTagName("select");for(var a=0;a<aElements.length;a++){if(aElements[a].className.indexOf("popup_img")!=-1){aElements[a].onclick=function(b){popup(this.href,"popup_img","400","350","yes","yes");return false}}if(aElements[a].className.indexOf("blank")!=-1){aElements[a].onclick=function(b){b.preventDefault();window.open(this.href)}}if(aElements[a].className.indexOf("imprimer")!=-1){aElements[a].onclick=function(b){b.preventDefault();window.print()}}}for(var a=0;a<inputElements.length;a++){if(inputElements[a].className.indexOf("moteur_text")!=-1){inputElements[a].onfocus=function(b){this.value="";return false}}if(inputElements[a].className.indexOf("moteur_bouton")!=-1){inputElements[a].onmouseover=function(b){this.style.cursor="pointer";return false}}}for(var a=0;a<liElements.length;a++){if(liElements[a].className.indexOf("highlight")!=-1){liElements[a].onmouseover=function(b){this.className+=" fond2";return false};liElements[a].onmouseout=function(b){this.className-=" fond2";return false}}}for(var a=0;a<selectElements.length;a++){if(selectElements[a].className.indexOf("go_url")!=-1){selectElements[a].onchange=function(b){top.location.href=this.value;return false}}}}function popup(f,d,b,e,a,c){LeftPosition=(screen.width&&screen.width>b)?(screen.width-b)/2:0;TopPosition=(screen.height&&screen.height>e)?(screen.height-e)/2:0;settings="height="+e+",width="+b+",top="+TopPosition+",left="+LeftPosition+",scrollbars="+a+",resizable="+c+"";var g=window.open(f,d,settings);g.window.focus();return g}function resize_popup(a,b){largeur=(screen.width&&screen.width>a)?a:screen.width;hauteur=(screen.height&&screen.height>b)?b:screen.height;LeftPosition=(screen.width&&screen.width>a)?(screen.width-a)/2:0;TopPosition=(screen.height&&screen.height>b)?(screen.height-b)/2:0;window.resizeTo(largeur,hauteur);window.moveTo(LeftPosition,TopPosition)}function displayElement(a){if(document.getElementById(a)){if(document.getElementById(a).style.display=="none"){document.getElementById(a).style.display="block"}else{document.getElementById(a).style.display="none"}}}function redimensionner(){$("div.mea_centre").css("visibility","visible")};
(function(B){var L,T,Q,M,d,m,J,A,O,z,C=0,H={},j=[],e=0,G={},y=[],f=null,o=new Image(),i=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,k=/[^\.]\.(swf)\s*$/i,p,N=1,h=0,t="",b,c,P=false,s=B.extend(B("<div/>")[0],{prop:0}),S=B.browser.msie&&B.browser.version<7&&!window.XMLHttpRequest,r=function(){T.hide();o.onerror=o.onload=null;if(f){f.abort()}L.empty()},x=function(){if(false===H.onError(j,C,H)){T.hide();P=false;return}H.titleShow=false;H.width="auto";H.height="auto";L.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');n()},w=function(){var Z=j[C],W,Y,ab,aa,V,X;r();H=B.extend({},B.fn.fancybox.defaults,(typeof B(Z).data("fancybox")=="undefined"?H:B(Z).data("fancybox")));X=H.onStart(j,C,H);if(X===false){P=false;return}else{if(typeof X=="object"){H=B.extend(H,X)}}ab=H.title||(Z.nodeName?B(Z).attr("title"):Z.title)||"";if(Z.nodeName&&!H.orig){H.orig=B(Z).children("img:first").length?B(Z).children("img:first"):B(Z)}if(ab===""&&H.orig&&H.titleFromAlt){ab=H.orig.attr("alt")}W=H.href||(Z.nodeName?B(Z).attr("href"):Z.href)||null;if((/^(?:javascript)/i).test(W)||W=="#"){W=null}if(H.type){Y=H.type;if(!W){W=H.content}}else{if(H.content){Y="html"}else{if(W){if(W.match(i)){Y="image"}else{if(W.match(k)){Y="swf"}else{if(B(Z).hasClass("iframe")){Y="iframe"}else{if(W.indexOf("#")===0){Y="inline"}else{Y="ajax"}}}}}}}if(!Y){x();return}if(Y=="inline"){Z=W.substr(W.indexOf("#"));Y=B(Z).length>0?"inline":"ajax"}H.type=Y;H.href=W;H.title=ab;if(H.autoDimensions){if(H.type=="html"||H.type=="inline"||H.type=="ajax"){H.width="auto";H.height="auto"}else{H.autoDimensions=false}}if(H.modal){H.overlayShow=true;H.hideOnOverlayClick=false;H.hideOnContentClick=false;H.enableEscapeButton=false;H.showCloseButton=false}H.padding=parseInt(H.padding,10);H.margin=parseInt(H.margin,10);L.css("padding",(H.padding+H.margin));B(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){B(this).replaceWith(m.children())});switch(Y){case"html":L.html(H.content);n();break;case"inline":if(B(Z).parent().is("#fancybox-content")===true){P=false;return}B('<div class="fancybox-inline-tmp" />').hide().insertBefore(B(Z)).bind("fancybox-cleanup",function(){B(this).replaceWith(m.children())}).bind("fancybox-cancel",function(){B(this).replaceWith(L.children())});B(Z).appendTo(L);n();break;case"image":P=false;B.fancybox.showActivity();o=new Image();o.onerror=function(){x()};o.onload=function(){P=true;o.onerror=o.onload=null;F()};o.src=W;break;case"swf":H.scrolling="no";aa='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+H.width+'" height="'+H.height+'"><param name="movie" value="'+W+'"></param>';V="";B.each(H.swf,function(ac,ad){aa+='<param name="'+ac+'" value="'+ad+'"></param>';V+=" "+ac+'="'+ad+'"'});aa+='<embed src="'+W+'" type="application/x-shockwave-flash" width="'+H.width+'" height="'+H.height+'"'+V+"></embed></object>";L.html(aa);n();break;case"ajax":P=false;B.fancybox.showActivity();H.ajax.win=H.ajax.success;f=B.ajax(B.extend({},H.ajax,{url:W,data:H.ajax.data||{},error:function(ac,ae,ad){if(ac.status>0){x()}},success:function(ad,af,ac){var ae=typeof ac=="object"?ac:f;if(ae.status==200){if(typeof H.ajax.win=="function"){X=H.ajax.win(W,ad,af,ac);if(X===false){T.hide();return}else{if(typeof X=="string"||typeof X=="object"){ad=X}}}L.html(ad);n()}}}));break;case"iframe":E();break}},n=function(){var V=H.width,W=H.height;if(V.toString().indexOf("%")>-1){V=parseInt((B(window).width()-(H.margin*2))*parseFloat(V)/100,10)+"px"}else{V=V=="auto"?"auto":V+"px"}if(W.toString().indexOf("%")>-1){W=parseInt((B(window).height()-(H.margin*2))*parseFloat(W)/100,10)+"px"}else{W=W=="auto"?"auto":W+"px"}L.wrapInner('<div style="width:'+V+";height:"+W+";overflow: "+(H.scrolling=="auto"?"auto":(H.scrolling=="yes"?"scroll":"hidden"))+';position:relative;"></div>');H.width=L.width();H.height=L.height();E()},F=function(){H.width=o.width;H.height=o.height;B("<img />").attr({id:"fancybox-img",src:o.src,alt:H.title}).appendTo(L);E()},E=function(){var W,V;T.hide();if(M.is(":visible")&&false===G.onCleanup(y,e,G)){B.event.trigger("fancybox-cancel");P=false;return}P=true;B(m.add(Q)).unbind();B(window).unbind("resize.fb scroll.fb");B(document).unbind("keydown.fb");if(M.is(":visible")&&G.titlePosition!=="outside"){M.css("height",M.height())}y=j;e=C;G=H;if(G.overlayShow){Q.css({"background-color":G.overlayColor,opacity:G.overlayOpacity,cursor:G.hideOnOverlayClick?"pointer":"auto",height:B(document).height()});if(!Q.is(":visible")){if(S){B("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"})}Q.show()}}else{Q.hide()}c=R();l();if(M.is(":visible")){B(J.add(O).add(z)).hide();W=M.position(),b={top:W.top,left:W.left,width:M.width(),height:M.height()};V=(b.width==c.width&&b.height==c.height);m.fadeTo(G.changeFade,0.3,function(){var X=function(){m.html(L.contents()).fadeTo(G.changeFade,1,v)};B.event.trigger("fancybox-change");m.empty().removeAttr("filter").css({"border-width":G.padding,width:c.width-G.padding*2,height:H.autoDimensions?"auto":c.height-h-G.padding*2});if(V){X()}else{s.prop=0;B(s).animate({prop:1},{duration:G.changeSpeed,easing:G.easingChange,step:U,complete:X})}});return}M.removeAttr("style");m.css("border-width",G.padding);if(G.transitionIn=="elastic"){b=I();m.html(L.contents());M.show();if(G.opacity){c.opacity=0}s.prop=0;B(s).animate({prop:1},{duration:G.speedIn,easing:G.easingIn,step:U,complete:v});return}if(G.titlePosition=="inside"&&h>0){A.show()}m.css({width:c.width-G.padding*2,height:H.autoDimensions?"auto":c.height-h-G.padding*2}).html(L.contents());M.css(c).fadeIn(G.transitionIn=="none"?0:G.speedIn,v)},D=function(V){if(V&&V.length){if(G.titlePosition=="float"){return'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+V+'</td><td id="fancybox-title-float-right"></td></tr></table>'}return'<div id="fancybox-title-'+G.titlePosition+'">'+V+"</div>"}return false},l=function(){t=G.title||"";h=0;A.empty().removeAttr("style").removeClass();if(G.titleShow===false){A.hide();return}t=B.isFunction(G.titleFormat)?G.titleFormat(t,y,e,G):D(t);if(!t||t===""){A.hide();return}A.addClass("fancybox-title-"+G.titlePosition).html(t).appendTo("body").show();switch(G.titlePosition){case"inside":A.css({width:c.width-(G.padding*2),marginLeft:G.padding,marginRight:G.padding});h=A.outerHeight(true);A.appendTo(d);c.height+=h;break;case"over":A.css({marginLeft:G.padding,width:c.width-(G.padding*2),bottom:G.padding}).appendTo(d);break;case"float":A.css("left",parseInt((A.width()-c.width-40)/2,10)*-1).appendTo(M);break;default:A.css({width:c.width-(G.padding*2),paddingLeft:G.padding,paddingRight:G.padding}).appendTo(M);break}A.hide()},g=function(){if(G.enableEscapeButton||G.enableKeyboardNav){B(document).bind("keydown.fb",function(V){if(V.keyCode==27&&G.enableEscapeButton){V.preventDefault();B.fancybox.close()}else{if((V.keyCode==37||V.keyCode==39)&&G.enableKeyboardNav&&V.target.tagName!=="INPUT"&&V.target.tagName!=="TEXTAREA"&&V.target.tagName!=="SELECT"){V.preventDefault();B.fancybox[V.keyCode==37?"prev":"next"]()}}})}if(!G.showNavArrows){O.hide();z.hide();return}if((G.cyclic&&y.length>1)||e!==0){O.show()}if((G.cyclic&&y.length>1)||e!=(y.length-1)){z.show()}},v=function(){if(!B.support.opacity){m.get(0).style.removeAttribute("filter");M.get(0).style.removeAttribute("filter")}if(H.autoDimensions){m.css("height","auto")}M.css("height","auto");if(t&&t.length){A.show()}if(G.showCloseButton){J.show()}g();if(G.hideOnContentClick){m.bind("click",B.fancybox.close)}if(G.hideOnOverlayClick){Q.bind("click",B.fancybox.close)}B(window).bind("resize.fb",B.fancybox.resize);if(G.centerOnScroll){B(window).bind("scroll.fb",B.fancybox.center)}if(G.type=="iframe"){B('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0" hspace="0" '+(B.browser.msie?'allowtransparency="true""':"")+' scrolling="'+H.scrolling+'" src="'+G.href+'"></iframe>').appendTo(m)}M.show();P=false;B.fancybox.center();G.onComplete(y,e,G);K()},K=function(){var V,W;if((y.length-1)>e){V=y[e+1].href;if(typeof V!=="undefined"&&V.match(i)){W=new Image();W.src=V}}if(e>0){V=y[e-1].href;if(typeof V!=="undefined"&&V.match(i)){W=new Image();W.src=V}}},U=function(W){var V={width:parseInt(b.width+(c.width-b.width)*W,10),height:parseInt(b.height+(c.height-b.height)*W,10),top:parseInt(b.top+(c.top-b.top)*W,10),left:parseInt(b.left+(c.left-b.left)*W,10)};if(typeof c.opacity!=="undefined"){V.opacity=W<0.5?0.5:W}M.css(V);m.css({width:V.width-G.padding*2,height:V.height-(h*W)-G.padding*2})},u=function(){return[B(window).width()-(G.margin*2),B(window).height()-(G.margin*2),B(document).scrollLeft()+G.margin,B(document).scrollTop()+G.margin]},R=function(){var V=u(),Z={},W=G.autoScale,X=G.padding*2,Y;if(G.width.toString().indexOf("%")>-1){Z.width=parseInt((V[0]*parseFloat(G.width))/100,10)}else{Z.width=G.width+X}if(G.height.toString().indexOf("%")>-1){Z.height=parseInt((V[1]*parseFloat(G.height))/100,10)}else{Z.height=G.height+X}if(W&&(Z.width>V[0]||Z.height>V[1])){if(H.type=="image"||H.type=="swf"){Y=(G.width)/(G.height);if((Z.width)>V[0]){Z.width=V[0];Z.height=parseInt(((Z.width-X)/Y)+X,10)}if((Z.height)>V[1]){Z.height=V[1];Z.width=parseInt(((Z.height-X)*Y)+X,10)}}else{Z.width=Math.min(Z.width,V[0]);Z.height=Math.min(Z.height,V[1])}}Z.top=parseInt(Math.max(V[3]-20,V[3]+((V[1]-Z.height-40)*0.5)),10);Z.left=parseInt(Math.max(V[2]-20,V[2]+((V[0]-Z.width-40)*0.5)),10);return Z},q=function(V){var W=V.offset();W.top+=parseInt(V.css("paddingTop"),10)||0;W.left+=parseInt(V.css("paddingLeft"),10)||0;W.top+=parseInt(V.css("border-top-width"),10)||0;W.left+=parseInt(V.css("border-left-width"),10)||0;W.width=V.width();W.height=V.height();return W},I=function(){var Y=H.orig?B(H.orig):false,X={},W,V;if(Y&&Y.length){W=q(Y);X={width:W.width+(G.padding*2),height:W.height+(G.padding*2),top:W.top-G.padding-20,left:W.left-G.padding-20}}else{V=u();X={width:G.padding*2,height:G.padding*2,top:parseInt(V[3]+V[1]*0.5,10),left:parseInt(V[2]+V[0]*0.5,10)}}return X},a=function(){if(!T.is(":visible")){clearInterval(p);return}B("div",T).css("top",(N*-40)+"px");N=(N+1)%12};B.fn.fancybox=function(V){if(!B(this).length){return this}B(this).data("fancybox",B.extend({},V,(B.metadata?B(this).metadata():{}))).unbind("click.fb").bind("click.fb",function(X){X.preventDefault();if(P){return}P=true;B(this).blur();j=[];C=0;var W=B(this).attr("rel")||"";if(!W||W==""||W==="nofollow"){j.push(this)}else{j=B("a[rel="+W+"], area[rel="+W+"]");C=j.index(this)}w();return});return this};B.fancybox=function(Y){var X;if(P){return}P=true;X=typeof arguments[1]!=="undefined"?arguments[1]:{};j=[];C=parseInt(X.index,10)||0;if(B.isArray(Y)){for(var W=0,V=Y.length;W<V;W++){if(typeof Y[W]=="object"){B(Y[W]).data("fancybox",B.extend({},X,Y[W]))}else{Y[W]=B({}).data("fancybox",B.extend({content:Y[W]},X))}}j=jQuery.merge(j,Y)}else{if(typeof Y=="object"){B(Y).data("fancybox",B.extend({},X,Y))}else{Y=B({}).data("fancybox",B.extend({content:Y},X))}j.push(Y)}if(C>j.length||C<0){C=0}w()};B.fancybox.showActivity=function(){clearInterval(p);T.show();p=setInterval(a,66)};B.fancybox.hideActivity=function(){T.hide()};B.fancybox.next=function(){return B.fancybox.pos(e+1)};B.fancybox.prev=function(){return B.fancybox.pos(e-1)};B.fancybox.pos=function(V){if(P){return}V=parseInt(V);j=y;if(V>-1&&V<y.length){C=V;w()}else{if(G.cyclic&&y.length>1){C=V>=y.length?0:y.length-1;w()}}return};B.fancybox.cancel=function(){if(P){return}P=true;B.event.trigger("fancybox-cancel");r();H.onCancel(j,C,H);P=false};B.fancybox.close=function(){if(P||M.is(":hidden")){return}P=true;if(G&&false===G.onCleanup(y,e,G)){P=false;return}r();B(J.add(O).add(z)).hide();B(m.add(Q)).unbind();B(window).unbind("resize.fb scroll.fb");B(document).unbind("keydown.fb");m.find("iframe").attr("src",S&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");if(G.titlePosition!=="inside"){A.empty()}M.stop();function V(){Q.fadeOut("fast");A.empty().hide();M.hide();B.event.trigger("fancybox-cleanup");m.empty();G.onClosed(y,e,G);y=H=[];e=C=0;G=H={};P=false}if(G.transitionOut=="elastic"){b=I();var W=M.position();c={top:W.top,left:W.left,width:M.width(),height:M.height()};if(G.opacity){c.opacity=1}A.empty().hide();s.prop=1;B(s).animate({prop:0},{duration:G.speedOut,easing:G.easingOut,step:U,complete:V})}else{M.fadeOut(G.transitionOut=="none"?0:G.speedOut,V)}};B.fancybox.resize=function(){if(Q.is(":visible")){Q.css("height",B(document).height())}B.fancybox.center(true)};B.fancybox.center=function(){var V,W;if(P){return}W=arguments[0]===true?1:0;V=u();if(!W&&(M.width()>V[0]||M.height()>V[1])){return}M.stop().animate({top:parseInt(Math.max(V[3]-20,V[3]+((V[1]-m.height()-40)*0.5)-G.padding)),left:parseInt(Math.max(V[2]-20,V[2]+((V[0]-m.width()-40)*0.5)-G.padding))},typeof arguments[0]=="number"?arguments[0]:200)};B.fancybox.init=function(){if(B("#fancybox-wrap").length){return}B("body").append(L=B('<div id="fancybox-tmp"></div>'),T=B('<div id="fancybox-loading"><div></div></div>'),Q=B('<div id="fancybox-overlay"></div>'),M=B('<div id="fancybox-wrap"></div>'));d=B('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(M);d.append(m=B('<div id="fancybox-content"></div>'),J=B('<a id="fancybox-close"></a>'),A=B('<div id="fancybox-title"></div>'),O=B('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),z=B('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));J.click(B.fancybox.close);T.click(B.fancybox.cancel);O.click(function(V){V.preventDefault();B.fancybox.prev()});z.click(function(V){V.preventDefault();B.fancybox.next()});if(B.fn.mousewheel){M.bind("mousewheel.fb",function(V,W){if(P){V.preventDefault()}else{if(B(V.target).get(0).clientHeight==0||B(V.target).get(0).scrollHeight===B(V.target).get(0).clientHeight){V.preventDefault();B.fancybox[W>0?"prev":"next"]()}}})}if(!B.support.opacity){M.addClass("fancybox-ie")}if(S){T.addClass("fancybox-ie6");M.addClass("fancybox-ie6");B('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(d)}};B.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};B(document).ready(function(){B.fancybox.init()})})(jQuery);
$(function(){if(/MajInfosPerso.srvl/.test($("#form_gene").attr("action"))){$("#valider").attr("disabled","disabled");var b=new Array();var a=new Array();$("#form_gene :input").each(function(c){b.push($(this).attr("name"));a.push($(this).val())}).change(function(){var c=jQuery.inArray(this.name,b);if(c!=-1&&a[c]!=this.value){$("#valider").removeAttr("disabled")}})}});var xmlhttp=getHTTPObject();function EstSirenValide(e){e=e.replace(/( |,|\.)/g,"");var a=true;if(!isNaN(e)){if((e.length!=9)){a=false}else{var c=0;var b;for(var d=0;d<e.length;d++){if((d%2)==1){b=e.charAt(d)*2;if(b>9){b-=9}}else{b=e.charAt(d)}c+=parseInt(b)}if((c%10)==0){a=true}else{a=false}}}return a}function EstMailValide(b){var a=/^([_a-zA-Z0-9-]+)(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+)(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,4})$/;return a.test(b)}function EstCdPosValide(b){var a=/^[0-9][0-9][0-9][0-9][0-9]$/;return a.test(b)}function estNombre(a){for(i=0;i<a.value.length;i++){if((a.value.charAt(i)+"")>"9"||(a.value.charAt(i)+"")<"0"){return false}}return true}function controle_champs(b,a,c){retour_erreur="";if($(c+"edit_"+b).size()==0){retour_erreur+="\n - "+a+" - "+b+" - est manquant pour ce type de formulaire !"}else{if(!$(c+"label_"+b).hasClass("obligatoire")&&$(c+"edit_"+b).val()==""){retour_erreur+="\n - "+a+" ne doit pas être vide !";$(c+"label_"+b).addClass("entoure")}else{$(c+"label_"+b).removeClass("entoure")}}return retour_erreur}function controlServlet(a){form_f_name=$(a+"form_f_name");form_f=$(a+"form_gene");retour_erreur="";if(form_f.attr("action").indexOf("FormServlet_v2")>0){}else{if(form_f.attr("action").indexOf("ContactServlet")>0){}else{if(form_f.attr("action").indexOf("Astuce")>0){}else{if(form_f.attr("action").indexOf("CdeCatalServlet")>0){}else{if(form_f.attr("action").indexOf("MajInfosPerso")>0){}else{if(form_f.attr("action").indexOf("InscriptionCli")>0){retour_erreur+=controle_champs("form_agence_toute","la combo de sélection agence",a);retour_erreur+=controle_champs("form_codeclient_DB2","le champs code client",a)}else{if(form_f.attr("action").indexOf("Inscription")>0){}else{if(form_f.attr("action").indexOf("RecupMDPServlet")>0){retour_erreur+=controle_champs("form_login_DB2","le champs login",a)}}}}}}}}if(retour_erreur.length>0){alert("Message système : "+retour_erreur);return true}return false}function check_formulaire(a){retour=false;idForm=a.id;i=idForm.indexOf("_");idKey=idForm.substring(0,i);id="#"+idKey+"_";$(".entoure",a).removeClass("entoure");supprimeHidden();el=$(id+"edit_form_siren_DB2");if(el.size()>0){el.val(el.val().replace(/( |,|\.|-)/g,""))}el=$(id+"edit_form_cd_pos_DB2");if(el.size()>0){el.val(el.val().replace(/( |,|\.|-)/g,""))}el=$(id+"edit_form_tel_por_DB2");if(el.size()>0){el.val(el.val().replace(/( |,|\.|-)/g,""))}el=$(id+"edit_form_tel_fix_DB2");if(el.size()>0){el.val(el.val().replace(/( |,|\.|-)/g,""))}el=$(id+"edit_form_fax_DB2");if(el.size()>0){el.val(el.val().replace(/( |,|\.|-)/g,""))}$(".obligatoire",a).each(function(b){if($(":hidden #"+this.id).length==0){_label=$(this);_edit=$("#"+this.id.replace("label","edit"));_radio=$(":radio[id^="+this.id.replace("label","edit")+"]");_checkbox=$(":checkbox[id^="+this.id.replace("label","edit")+"]");if(_radio.size()>0||_checkbox.size()>0){if(_radio.is(":checked")||_checkbox.is(":checked")){_label.removeClass("entoure")}else{_label.addClass("entoure");retour=true}}else{if(_edit.size()>0){if($(id+"edit_form_typeagence_forum").size()>0&&$(id+"edit_form_typeagence_forum").is(":checked")&&/^form_(agence|depart)/.test(_edit.attr("name"))){if(_edit.attr("name")=="form_agence_forum"&&_edit.val()==""){retour=true;_label.addClass("entoure")}else{_label.removeClass("entoure")}}else{if($(id+"edit_form_typeagence_agence").size()>0&&$(id+"edit_form_typeagence_agence").is(":checked")&&/^form_(agence|depart)/.test(_edit.attr("name"))){if((_edit.attr("name")=="form_agence_toute"||_edit.attr("name")=="form_depart_agence_toute")&&_edit.val()==""){retour=true;_label.addClass("entoure")}else{_label.removeClass("entoure")}}else{if(_edit.val()==""){_label.addClass("entoure");retour=true}else{_label.removeClass("entoure")}}}}}}});if($(":hidden "+id+"edit_form_siren_DB2").length==0){_edit=$(id+"edit_form_siren_DB2");_label=$(id+"label_form_siren_DB2");if(_edit.size()>0&&_label.size()>0&&((_edit.val()!=""&&!EstSirenValide(_edit.val()))||(_edit.val()==""&&_label.hasClass("obligatoire")))){retour=true;_label.addClass("entoure")}else{_label.removeClass("entoure")}}_edit=$(id+"edit_form_email_DB2");_label=$(id+"label_form_email_DB2");if(_edit.size()>0&&_label.size()>0&&((_edit.val()!=""&&!EstMailValide(_edit.val()))||(_edit.val()==""&&_label.hasClass("obligatoire")))){retour=true;_label.addClass("entoure")}else{_label.removeClass("entoure");_edit_control=$(id+"edit_form_email_control_DB2");_label_control=$(id+"label_form_email_control_DB2");if(_edit_control.size()>0&&_label_control.size()>0){_edit_control.val(_edit_control.val().toLowerCase());_edit.val(_edit.val().toLowerCase())}if(_edit_control.size()>0&&_edit_control.val()!=_edit.val()){_label_control.addClass("entoure");retour=true}else{_label_control.removeClass("entoure")}}_edit=$(id+"edit_form_cd_pos_DB2");_label=$(id+"label_form_cd_pos_DB2");if(_edit.size()>0&&_label.size()>0&&((_edit.val()!=""&&!EstCdPosValide(_edit.val()))||(_edit.val()==""&&_label.hasClass("obligatoire")))){retour=true;_label.addClass("entoure")}else{_label.removeClass("entoure")}_edit=$(id+"edit_form_newsletter_DB2_oui");_label=$(id+"label_form_email_DB2");if(_edit.size()>0&&_label.size()>0&&_edit.is(":checked")&&$(id+"edit_form_email_DB2").val()==""){retour=true;_label.addClass("entoure")}retour_control=controlServlet(id);if(retour){if(!retour_control){alert("Veuillez saisir ou corriger le(s) champ(s) entouré(s) en rouge :\n")}return false}else{if(retour_control){return false}$(id+"valider").attr("disabled","disabled").after('<p class="submit_wait">Veuillez patienter...</p>');return true}}function checkbloc(b,a){elems=document.getElementsByTagName("div");for(i=0;i<elems.length;i++){if(elems[i].className.indexOf(b)>=0){elems[i].style.display=a}}}function supprimeHidden(){elems=document.getElementsByTagName("div");for(i=0;i<elems.length;i++){if(elems[i].style.display=="none"){radios=elems[i].getElementsByTagName("input");for(j=0;j<radios.length;j++){if(radios[j].type=="checkbox"||radios[j].type=="radio"){radios[j].checked=false}if(radios[j].type=="text"||radios[j].type=="password"){radios[j].value=""}}combo=elems[i].getElementsByTagName("select");for(j=0;j<combo.length;j++){combo[j].selectedIndex=0}textarea=elems[i].getElementsByTagName("textarea");for(j=0;j<textarea.length;j++){textarea[j].value=""}}}}function ajax(){if(xmlhttp.readyState==4){eval(xmlhttp.responseText)}}function majAgences(b){var a="/form/jsp/form_ajax.jsp?id="+b+"&depart=&agence=";var c="";statut=0;xmlhttp.open("POST",a,true);xmlhttp.onreadystatechange=ajax;xmlhttp.send(c)}function majAgences(c,b,d){i=c.id.indexOf("_");idKey=c.id.substring(0,i);var a="/form/jsp/form_ajax.jsp?id="+idKey+"&depart="+c.value+"&agence="+d;var e="";statut=0;xmlhttp.open("POST",a,true);xmlhttp.onreadystatechange=ajax;xmlhttp.send(e)}function selAgence(b,c,a){if(document.getElementById(a+"_edit_form_depart_agence_toute")){elem=document.getElementById(a+"_edit_form_depart_agence_toute");for(i=0;i<elem.length;i++){if(elem[i].value==b){elem[i].selected=true;break}}majAgences(elem,"ALL",c)}else{if(document.getElementById(a+"_edit_form_agence_forum")){cbcatal=document.getElementById(a+"_edit_form_agence_forum");for(i=0;i<cbcatal.length;i++){elem=cbcatal[i];if(elem.val()==c){elem.selected=true;divs=document.getElementsByTagName("div");for(j=0;j<divs.length;j++){if(divs[j].className==cbcatal.parentNode.className){divs[j].style.display=""}}}else{elem.selected=false}}}}}function majProf(a){if(a.val()=="111"){if(document.getElementById("oblig_form_siren_DB2")){document.getElementById("oblig_form_siren_DB2").name="obligatoire";label=document.getElementById("label_form_siren_DB2");label.getElementsByTagName("font")[0].style.visibility=""}}else{if(document.getElementById("oblig_form_siren_DB2")){document.getElementById("oblig_form_siren_DB2").name="pasoblig";label=document.getElementById("label_form_siren_DB2");label.getElementsByTagName("font")[0].style.visibility="hidden"}}}function selPays(){var a="";if(navigator.language){a=navigator.language}else{if(navigator.userLanguage){a=navigator.userLanguage}}if(document.getElementById("edit_form_pays_DB2")){elem=document.getElementById("edit_form_pays_DB2");for(i=0;i<elem.length;i++){if(elem[i].value==a.toUpperCase()){elem[i].selected=true}}}};

