if(!this.JSON){JSON=function(){function f(n){return n<10?"0"+n:n}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function stringify(value,whitelist){var a,i,k,l,v;switch(typeof value){case"string":return/["\\\x00-\x1f]/.test(value)?'"'+value.replace(/[\x00-\x1f\\"]/g,function(a){var c=m[a];if(c){return c}c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"':'"'+value+'"';case"number":return isFinite(value)?String(value):"null";case"boolean":return String(value);case"null":return"null";case"object":if(!value){return"null"}if(typeof value.toJSON==="function"){return stringify(value.toJSON())}a=[];if(typeof value.length==="number"&&!(value.propertyIsEnumerable("length"))){l=value.length;for(i=0;i<l;i+=1){a.push(stringify(value[i],whitelist)||"null")}return"["+a.join(",")+"]"}if(whitelist){l=whitelist.length;for(i=0;i<l;i+=1){k=whitelist[i];if(typeof k==="string"){v=stringify(value[k],whitelist);if(v){a.push(stringify(k)+":"+v)}}}}else{for(k in value){if(typeof k==="string"){v=stringify(value[k],whitelist);if(v){a.push(stringify(k)+":"+v)}}}}return"{"+a.join(",")+"}"}}return{stringify:stringify,parse:function(text,filter){var j;function walk(k,v){var i,n;if(v&&typeof v==="object"){for(i in v){if(Object.prototype.hasOwnProperty.apply(v,[i])){n=walk(i,v[i]);if(n!==undefined){v[i]=n}}}}return filter(k,v)}if(/^[\],:{}\s]*$/.test(text.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof filter==="function"?walk("",j):j}throw new SyntaxError("parseJSON")}}}()}Scroller={speed:10,gy:function(b){gy=b.offsetTop;if(b.offsetParent){while(b=b.offsetParent){gy+=b.offsetTop}}return gy},scrollTop:function(){body=document.body;d=document.documentElement;if(body&&body.scrollTop){return body.scrollTop}if(d&&d.scrollTop){return d.scrollTop}if(window.pageYOffset){return window.pageYOffset}return 0},add:function(e,b,c){if(e.addEventListener){return e.addEventListener(b,c,false)}if(e.attachEvent){return e.attachEvent("on"+b,c)}},end:function(b){if(window.event){window.event.cancelBubble=true;window.event.returnValue=false;return}if(b.preventDefault&&b.stopPropagation){b.preventDefault();b.stopPropagation()}},scroll:function(b){i=window.innerHeight||document.documentElement.clientHeight;h=document.body.scrollHeight;a=Scroller.scrollTop();if(b>a){if(h-b>i){a+=Math.ceil((b-a)/Scroller.speed)}else{a+=Math.ceil((b-a-(h-b))/Scroller.speed)}}else{a=a+(b-a)/Scroller.speed}window.scrollTo(0,a);if(a==b||Scroller.offsetTop==a){clearInterval(Scroller.interval)}Scroller.offsetTop=a},init:function(){Scroller.add(window,"load",Scroller.render)},render:function(){a=document.getElementsByTagName("a");Scroller.end(this);window.onscroll;for(i=0;i<a.length;i++){l=a[i];if(l.href&&l.href.indexOf("#")!=-1&&((l.pathname==location.pathname)||("/"+l.pathname==location.pathname))){Scroller.add(l,"click",Scroller.end);l.onclick=function(){Scroller.end(this);l=this.hash.substr(1);a=document.getElementsByTagName("a");for(i=0;i<a.length;i++){if(a[i].name==l){clearInterval(Scroller.interval);Scroller.interval=setInterval("Scroller.scroll("+Scroller.gy(a[i])+")",10)}}}}}}};Scroller.init();
/*
 * jQuery JavaScript Library v1.5.2
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Thu Mar 31 15:28:23 2011 -0400
 */
(function(a5,N){var ar=a5.document;var c=(function(){var bt=function(bN,bO){return new bt.fn.init(bN,bO,br)},bI=a5.jQuery,bv=a5.$,br,bM=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,bB=/\S/,bx=/^\s+/,bs=/\s+$/,bw=/\d/,bp=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bC=/^[\],:{}\s]*$/,bK=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bE=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,by=/(?:^|:|,)(?:\s*\[)+/g,bn=/(webkit)[ \/]([\w.]+)/,bG=/(opera)(?:.*version)?[ \/]([\w.]+)/,bF=/(msie) ([\w.]+)/,bH=/(mozilla)(?:.*? rv:([\w.]+))?/,bL=navigator.userAgent,bJ,bq,e,bA=Object.prototype.toString,bu=Object.prototype.hasOwnProperty,bo=Array.prototype.push,bz=Array.prototype.slice,bD=String.prototype.trim,bk=Array.prototype.indexOf,bm={};bt.fn=bt.prototype={constructor:bt,init:function(bN,bR,bQ){var bP,bS,bO,bT;if(!bN){return this}if(bN.nodeType){this.context=this[0]=bN;this.length=1;return this}if(bN==="body"&&!bR&&ar.body){this.context=ar;this[0]=ar.body;this.selector="body";this.length=1;return this}if(typeof bN==="string"){bP=bM.exec(bN);if(bP&&(bP[1]||!bR)){if(bP[1]){bR=bR instanceof bt?bR[0]:bR;bT=(bR?bR.ownerDocument||bR:ar);bO=bp.exec(bN);if(bO){if(bt.isPlainObject(bR)){bN=[ar.createElement(bO[1])];bt.fn.attr.call(bN,bR,true)}else{bN=[bT.createElement(bO[1])]}}else{bO=bt.buildFragment([bP[1]],[bT]);bN=(bO.cacheable?bt.clone(bO.fragment):bO.fragment).childNodes}return bt.merge(this,bN)}else{bS=ar.getElementById(bP[2]);if(bS&&bS.parentNode){if(bS.id!==bP[2]){return bQ.find(bN)}this.length=1;this[0]=bS}this.context=ar;this.selector=bN;return this}}else{if(!bR||bR.jquery){return(bR||bQ).find(bN)}else{return this.constructor(bR).find(bN)}}}else{if(bt.isFunction(bN)){return bQ.ready(bN)}}if(bN.selector!==N){this.selector=bN.selector;this.context=bN.context}return bt.makeArray(bN,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return bz.call(this,0)},get:function(bN){return bN==null?this.toArray():(bN<0?this[this.length+bN]:this[bN])},pushStack:function(bO,bQ,bN){var bP=this.constructor();if(bt.isArray(bO)){bo.apply(bP,bO)}else{bt.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 bt.each(this,bO,bN)},ready:function(bN){bt.bindReady();bq.done(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(bz.apply(this,arguments),"slice",bz.call(arguments).join(","))},map:function(bN){return this.pushStack(bt.map(this,function(bP,bO){return bN.call(bP,bO,bP)}))},end:function(){return this.prevObject||this.constructor(null)},push:bo,sort:[].sort,splice:[].splice};bt.fn.init.prototype=bt.fn;bt.extend=bt.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"&&!bt.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&&(bt.isPlainObject(bO)||(bT=bt.isArray(bO)))){if(bT){bT=false;bU=bN&&bt.isArray(bN)?bN:[]}else{bU=bN&&bt.isPlainObject(bN)?bN:{}}bS[bP]=bt.extend(bV,bU,bO)}else{if(bO!==N){bS[bP]=bO}}}}}return bS};bt.extend({noConflict:function(bN){a5.$=bv;if(bN){a5.jQuery=bI}return bt},isReady:false,readyWait:1,ready:function(bN){if(bN===true){bt.readyWait--}if(!bt.readyWait||(bN!==true&&!bt.isReady)){if(!ar.body){return setTimeout(bt.ready,1)}bt.isReady=true;if(bN!==true&&--bt.readyWait>0){return}bq.resolveWith(ar,[bt]);if(bt.fn.trigger){bt(ar).trigger("ready").unbind("ready")}}},bindReady:function(){if(bq){return}bq=bt._Deferred();if(ar.readyState==="complete"){return setTimeout(bt.ready,1)}if(ar.addEventListener){ar.addEventListener("DOMContentLoaded",e,false);a5.addEventListener("load",bt.ready,false)}else{if(ar.attachEvent){ar.attachEvent("onreadystatechange",e);a5.attachEvent("onload",bt.ready);var bN=false;try{bN=a5.frameElement==null}catch(bO){}if(ar.documentElement.doScroll&&bN){bl()}}}},isFunction:function(bN){return bt.type(bN)==="function"},isArray:Array.isArray||function(bN){return bt.type(bN)==="array"},isWindow:function(bN){return bN&&typeof bN==="object"&&"setInterval" in bN},isNaN:function(bN){return bN==null||!bw.test(bN)||isNaN(bN)},type:function(bN){return bN==null?String(bN):bm[bA.call(bN)]||"object"},isPlainObject:function(bO){if(!bO||bt.type(bO)!=="object"||bO.nodeType||bt.isWindow(bO)){return false}if(bO.constructor&&!bu.call(bO,"constructor")&&!bu.call(bO.constructor.prototype,"isPrototypeOf")){return false}var bN;for(bN in bO){}return bN===N||bu.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=bt.trim(bN);if(bC.test(bN.replace(bK,"@").replace(bE,"]").replace(by,""))){return a5.JSON&&a5.JSON.parse?a5.JSON.parse(bN):(new Function("return "+bN))()}else{bt.error("Invalid JSON: "+bN)}},parseXML:function(bP,bN,bO){if(a5.DOMParser){bO=new DOMParser();bN=bO.parseFromString(bP,"text/xml")}else{bN=new ActiveXObject("Microsoft.XMLDOM");bN.async="false";bN.loadXML(bP)}bO=bN.documentElement;if(!bO||!bO.nodeName||bO.nodeName==="parsererror"){bt.error("Invalid XML: "+bP)}return bN},noop:function(){},globalEval:function(bP){if(bP&&bB.test(bP)){var bO=ar.head||ar.getElementsByTagName("head")[0]||ar.documentElement,bN=ar.createElement("script");if(bt.support.scriptEval()){bN.appendChild(ar.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===N||bt.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:bD?function(bN){return bN==null?"":bD.call(bN)}:function(bN){return bN==null?"":bN.toString().replace(bx,"").replace(bs,"")},makeArray:function(bQ,bO){var bN=bO||[];if(bQ!=null){var bP=bt.type(bQ);if(bQ.length==null||bP==="string"||bP==="function"||bP==="regexp"||bt.isWindow(bQ)){bo.call(bN,bQ)}else{bt.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]!==N){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=N}else{if(bO&&!bt.isFunction(bO)){bN=bO;bO=N}}}if(!bO&&bP){bO=function(){return bP.apply(bN||this,arguments)}}if(bP){bO.guid=bP.guid=bP.guid||bO.guid||bt.guid++}return bO},access:function(bN,bV,bT,bP,bS,bU){var bO=bN.length;if(typeof bV==="object"){for(var bQ in bV){bt.access(bN,bQ,bV[bQ],bP,bS,bT)}return bN}if(bT!==N){bP=!bU&&bP&&bt.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):N},now:function(){return(new Date()).getTime()},uaMatch:function(bO){bO=bO.toLowerCase();var bN=bn.exec(bO)||bG.exec(bO)||bF.exec(bO)||bO.indexOf("compatible")<0&&bH.exec(bO)||[];return{browser:bN[1]||"",version:bN[2]||"0"}},sub:function(){function bO(bQ,bR){return new bO.fn.init(bQ,bR)}bt.extend(true,bO,this);bO.superclass=this;bO.fn=bO.prototype=this();bO.fn.constructor=bO;bO.subclass=this.subclass;bO.fn.init=function bP(bQ,bR){if(bR&&bR instanceof bt&&!(bR instanceof bO)){bR=bO(bR)}return bt.fn.init.call(this,bQ,bR,bN)};bO.fn.init.prototype=bO.fn;var bN=bO(ar);return bO},browser:{}});bt.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bO,bN){bm["[object "+bN+"]"]=bN.toLowerCase()});bJ=bt.uaMatch(bL);if(bJ.browser){bt.browser[bJ.browser]=true;bt.browser.version=bJ.version}if(bt.browser.webkit){bt.browser.safari=true}if(bk){bt.inArray=function(bN,bO){return bk.call(bO,bN)}}if(bB.test("\xA0")){bx=/^[\s\xA0]+/;bs=/[\s\xA0]+$/}br=bt(ar);if(ar.addEventListener){e=function(){ar.removeEventListener("DOMContentLoaded",e,false);bt.ready()}}else{if(ar.attachEvent){e=function(){if(ar.readyState==="complete"){ar.detachEvent("onreadystatechange",e);bt.ready()}}}}function bl(){if(bt.isReady){return}try{ar.documentElement.doScroll("left")}catch(bN){setTimeout(bl,1);return}bt.ready()}return bt})();var b="then done fail isResolved isRejected promise".split(" "),aF=[].slice;c.extend({_Deferred:function(){var bm=[],bn,bk,bl,e={done:function(){if(!bl){var bp=arguments,bq,bt,bs,br,bo;if(bn){bo=bn;bn=0}for(bq=0,bt=bp.length;bq<bt;bq++){bs=bp[bq];br=c.type(bs);if(br==="array"){e.done.apply(e,bs)}else{if(br==="function"){bm.push(bs)}}}if(bo){e.resolveWith(bo[0],bo[1])}}return this},resolveWith:function(bp,bo){if(!bl&&!bn&&!bk){bo=bo||[];bk=1;try{while(bm[0]){bm.shift().apply(bp,bo)}}finally{bn=[bp,bo];bk=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return !!(bk||bn)},cancel:function(){bl=1;bm=[];return this}};return e},Deferred:function(bk){var e=c._Deferred(),bm=c._Deferred(),bl;c.extend(e,{then:function(bo,bn){e.done(bo).fail(bn);return this},fail:bm.done,rejectWith:bm.resolveWith,reject:bm.resolve,isRejected:bm.isResolved,promise:function(bo){if(bo==null){if(bl){return bl}bl=bo={}}var bn=b.length;while(bn--){bo[b[bn]]=e[b[bn]]}return bo}});e.done(bm.cancel).fail(e.cancel);delete e.cancel;if(bk){bk.call(e,e)}return e},when:function(bp){var bk=arguments,bl=0,bo=bk.length,bn=bo,e=bo<=1&&bp&&c.isFunction(bp.promise)?bp:c.Deferred();function bm(bq){return function(br){bk[bq]=arguments.length>1?aF.call(arguments,0):br;if(!(--bn)){e.resolveWith(e,aF.call(bk,0))}}}if(bo>1){for(;bl<bo;bl++){if(bk[bl]&&c.isFunction(bk[bl].promise)){bk[bl].promise().then(bm(bl),e.reject)}else{--bn}}if(!bn){e.resolveWith(e,bk)}}else{if(e!==bp){e.resolveWith(e,bo?[bp]:[])}}return e.promise()}});(function(){c.support={};var bk=ar.createElement("div");bk.style.display="none";bk.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var bt=bk.getElementsByTagName("*"),br=bk.getElementsByTagName("a")[0],bs=ar.createElement("select"),bl=bs.appendChild(ar.createElement("option")),bq=bk.getElementsByTagName("input")[0];if(!bt||!bt.length||!br){return}c.support={leadingWhitespace:bk.firstChild.nodeType===3,tbody:!bk.getElementsByTagName("tbody").length,htmlSerialize:!!bk.getElementsByTagName("link").length,style:/red/.test(br.getAttribute("style")),hrefNormalized:br.getAttribute("href")==="/a",opacity:/^0.55$/.test(br.style.opacity),cssFloat:!!br.style.cssFloat,checkOn:bq.value==="on",optSelected:bl.selected,deleteExpando:true,optDisabled:false,checkClone:false,noCloneEvent:true,noCloneChecked:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true,reliableMarginRight:true};bq.checked=true;c.support.noCloneChecked=bq.cloneNode(true).checked;bs.disabled=true;c.support.optDisabled=!bl.disabled;var bm=null;c.support.scriptEval=function(){if(bm===null){var bv=ar.documentElement,bw=ar.createElement("script"),by="script"+c.now();try{bw.appendChild(ar.createTextNode("window."+by+"=1;"))}catch(bx){}bv.insertBefore(bw,bv.firstChild);if(a5[by]){bm=true;delete a5[by]}else{bm=false}bv.removeChild(bw)}return bm};try{delete bk.test}catch(bo){c.support.deleteExpando=false}if(!bk.addEventListener&&bk.attachEvent&&bk.fireEvent){bk.attachEvent("onclick",function bu(){c.support.noCloneEvent=false;bk.detachEvent("onclick",bu)});bk.cloneNode(true).fireEvent("onclick")}bk=ar.createElement("div");bk.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var bn=ar.createDocumentFragment();bn.appendChild(bk.firstChild);c.support.checkClone=bn.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var bw=ar.createElement("div"),e=ar.getElementsByTagName("body")[0];if(!e){return}bw.style.width=bw.style.paddingLeft="1px";e.appendChild(bw);c.boxModel=c.support.boxModel=bw.offsetWidth===2;if("zoom" in bw.style){bw.style.display="inline";bw.style.zoom=1;c.support.inlineBlockNeedsLayout=bw.offsetWidth===2;bw.style.display="";bw.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=bw.offsetWidth!==2}bw.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var bv=bw.getElementsByTagName("td");c.support.reliableHiddenOffsets=bv[0].offsetHeight===0;bv[0].style.display="";bv[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&bv[0].offsetHeight===0;bw.innerHTML="";if(ar.defaultView&&ar.defaultView.getComputedStyle){bw.style.width="1px";bw.style.marginRight="0";c.support.reliableMarginRight=(parseInt(ar.defaultView.getComputedStyle(bw,null).marginRight,10)||0)===0}e.removeChild(bw).style.display="none";bw=bv=null});var bp=function(e){var bw=ar.createElement("div");e="on"+e;if(!bw.attachEvent){return true}var bv=(e in bw);if(!bv){bw.setAttribute(e,"return;");bv=typeof bw[e]==="function"}return bv};c.support.submitBubbles=bp("submit");c.support.changeBubbles=bp("change");bk=bt=br=null})();var aL=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?c.cache[e[c.expando]]:e[c.expando];return !!e&&!V(e)},data:function(bm,bk,bo,bn){if(!c.acceptData(bm)){return}var br=c.expando,bq=typeof bk==="string",bp,bs=bm.nodeType,e=bs?c.cache:bm,bl=bs?bm[c.expando]:bm[c.expando]&&c.expando;if((!bl||(bn&&bl&&!e[bl][br]))&&bq&&bo===N){return}if(!bl){if(bs){bm[c.expando]=bl=++c.uuid}else{bl=c.expando}}if(!e[bl]){e[bl]={};if(!bs){e[bl].toJSON=c.noop}}if(typeof bk==="object"||typeof bk==="function"){if(bn){e[bl][br]=c.extend(e[bl][br],bk)}else{e[bl]=c.extend(e[bl],bk)}}bp=e[bl];if(bn){if(!bp[br]){bp[br]={}}bp=bp[br]}if(bo!==N){bp[bk]=bo}if(bk==="events"&&!bp[bk]){return bp[br]&&bp[br].events}return bq?bp[bk]:bp},removeData:function(bn,bl,bo){if(!c.acceptData(bn)){return}var bq=c.expando,br=bn.nodeType,bk=br?c.cache:bn,bm=br?bn[c.expando]:c.expando;if(!bk[bm]){return}if(bl){var bp=bo?bk[bm][bq]:bk[bm];if(bp){delete bp[bl];if(!V(bp)){return}}}if(bo){delete bk[bm][bq];if(!V(bk[bm])){return}}var e=bk[bm][bq];if(c.support.deleteExpando||bk!=a5){delete bk[bm]}else{bk[bm]=null}if(e){bk[bm]={};if(!br){bk[bm].toJSON=c.noop}bk[bm][bq]=e}else{if(br){if(c.support.deleteExpando){delete bn[c.expando]}else{if(bn.removeAttribute){bn.removeAttribute(c.expando)}else{bn[c.expando]=null}}}}},_data:function(bk,e,bl){return c.data(bk,e,bl,true)},acceptData:function(bk){if(bk.nodeName){var e=c.noData[bk.nodeName.toLowerCase()];if(e){return !(e===true||bk.getAttribute("classid")!==e)}}return true}});c.fn.extend({data:function(bn,bp){var bo=null;if(typeof bn==="undefined"){if(this.length){bo=c.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,bl;for(var bm=0,bk=e.length;bm<bk;bm++){bl=e[bm].name;if(bl.indexOf("data-")===0){bl=bl.substr(5);a0(this[0],bl,bo[bl])}}}}return bo}else{if(typeof bn==="object"){return this.each(function(){c.data(this,bn)})}}var bq=bn.split(".");bq[1]=bq[1]?"."+bq[1]:"";if(bp===N){bo=this.triggerHandler("getData"+bq[1]+"!",[bq[0]]);if(bo===N&&this.length){bo=c.data(this[0],bn);bo=a0(this[0],bn,bo)}return bo===N&&bq[1]?this.data(bq[0]):bo}else{return this.each(function(){var bs=c(this),br=[bq[0],bp];bs.triggerHandler("setData"+bq[1]+"!",br);c.data(this,bn,bp);bs.triggerHandler("changeData"+bq[1]+"!",br)})}},removeData:function(e){return this.each(function(){c.removeData(this,e)})}});function a0(bl,bk,bm){if(bm===N&&bl.nodeType===1){bm=bl.getAttribute("data-"+bk);if(typeof bm==="string"){try{bm=bm==="true"?true:bm==="false"?false:bm==="null"?null:!c.isNaN(bm)?parseFloat(bm):aL.test(bm)?c.parseJSON(bm):bm}catch(bn){}c.data(bl,bk,bm)}else{bm=N}}return bm}function V(bk){for(var e in bk){if(e!=="toJSON"){return false}}return true}c.extend({queue:function(bk,e,bm){if(!bk){return}e=(e||"fx")+"queue";var bl=c._data(bk,e);if(!bm){return bl||[]}if(!bl||c.isArray(bm)){bl=c._data(bk,e,c.makeArray(bm))}else{bl.push(bm)}return bl},dequeue:function(bm,bl){bl=bl||"fx";var e=c.queue(bm,bl),bk=e.shift();if(bk==="inprogress"){bk=e.shift()}if(bk){if(bl==="fx"){e.unshift("inprogress")}bk.call(bm,function(){c.dequeue(bm,bl)})}if(!e.length){c.removeData(bm,bl+"queue",true)}}});c.fn.extend({queue:function(e,bk){if(typeof e!=="string"){bk=e;e="fx"}if(bk===N){return c.queue(this[0],e)}return this.each(function(bm){var bl=c.queue(this,e,bk);if(e==="fx"&&bl[0]!=="inprogress"){c.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){c.dequeue(this,e)})},delay:function(bk,e){bk=c.fx?c.fx.speeds[bk]||bk:bk;e=e||"fx";return this.queue(e,function(){var bl=this;setTimeout(function(){c.dequeue(bl,e)},bk)})},clearQueue:function(e){return this.queue(e||"fx",[])}});var aJ=/[\n\t\r]/g,ba=/\s+/,aN=/\r/g,a9=/^(?:href|src|style)$/,k=/^(?:button|input)$/i,I=/^(?:button|input|object|select|textarea)$/i,q=/^a(?:rea)?$/i,W=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(e,bk){return c.access(this,e,bk,true,c.attr)},removeAttr:function(e,bk){return this.each(function(){c.attr(this,e,"");if(this.nodeType===1){this.removeAttribute(e)}})},addClass:function(bq){if(c.isFunction(bq)){return this.each(function(bt){var bs=c(this);bs.addClass(bq.call(this,bt,bs.attr("class")))})}if(bq&&typeof bq==="string"){var e=(bq||"").split(ba);for(var bm=0,bl=this.length;bm<bl;bm++){var bk=this[bm];if(bk.nodeType===1){if(!bk.className){bk.className=bq}else{var bn=" "+bk.className+" ",bp=bk.className;for(var bo=0,br=e.length;bo<br;bo++){if(bn.indexOf(" "+e[bo]+" ")<0){bp+=" "+e[bo]}}bk.className=c.trim(bp)}}}}return this},removeClass:function(bo){if(c.isFunction(bo)){return this.each(function(bs){var br=c(this);br.removeClass(bo.call(this,bs,br.attr("class")))})}if((bo&&typeof bo==="string")||bo===N){var bp=(bo||"").split(ba);for(var bl=0,bk=this.length;bl<bk;bl++){var bn=this[bl];if(bn.nodeType===1&&bn.className){if(bo){var bm=(" "+bn.className+" ").replace(aJ," ");for(var bq=0,e=bp.length;bq<e;bq++){bm=bm.replace(" "+bp[bq]+" "," ")}bn.className=c.trim(bm)}else{bn.className=""}}}}return this},toggleClass:function(bm,bk){var bl=typeof bm,e=typeof bk==="boolean";if(c.isFunction(bm)){return this.each(function(bo){var bn=c(this);bn.toggleClass(bm.call(this,bo,bn.attr("class"),bk),bk)})}return this.each(function(){if(bl==="string"){var bp,bo=0,bn=c(this),bq=bk,br=bm.split(ba);while((bp=br[bo++])){bq=e?bq:!bn.hasClass(bp);bn[bq?"addClass":"removeClass"](bp)}}else{if(bl==="undefined"||bl==="boolean"){if(this.className){c._data(this,"__className__",this.className)}this.className=this.className||bm===false?"":c._data(this,"__className__")||""}}})},hasClass:function(e){var bm=" "+e+" ";for(var bl=0,bk=this.length;bl<bk;bl++){if((" "+this[bl].className+" ").replace(aJ," ").indexOf(bm)>-1){return true}}return false},val:function(br){if(!arguments.length){var bl=this[0];if(bl){if(c.nodeName(bl,"option")){var bk=bl.attributes.value;return !bk||bk.specified?bl.value:bl.text}if(c.nodeName(bl,"select")){var bp=bl.selectedIndex,bs=[],bt=bl.options,bo=bl.type==="select-one";if(bp<0){return null}for(var bm=bo?bp:0,bq=bo?bp+1:bt.length;bm<bq;bm++){var bn=bt[bm];if(bn.selected&&(c.support.optDisabled?!bn.disabled:bn.getAttribute("disabled")===null)&&(!bn.parentNode.disabled||!c.nodeName(bn.parentNode,"optgroup"))){br=c(bn).val();if(bo){return br}bs.push(br)}}if(bo&&!bs.length&&bt.length){return c(bt[bp]).val()}return bs}if(W.test(bl.type)&&!c.support.checkOn){return bl.getAttribute("value")===null?"on":bl.value}return(bl.value||"").replace(aN,"")}return N}var e=c.isFunction(br);return this.each(function(bw){var bv=c(this),bx=br;if(this.nodeType!==1){return}if(e){bx=br.call(this,bw,bv.val())}if(bx==null){bx=""}else{if(typeof bx==="number"){bx+=""}else{if(c.isArray(bx)){bx=c.map(bx,function(by){return by==null?"":by+""})}}}if(c.isArray(bx)&&W.test(this.type)){this.checked=c.inArray(bv.val(),bx)>=0}else{if(c.nodeName(this,"select")){var bu=c.makeArray(bx);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),bu)>=0});if(!bu.length){this.selectedIndex=-1}}else{this.value=bx}}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bk,e,bp,bs){if(!bk||bk.nodeType===3||bk.nodeType===8||bk.nodeType===2){return N}if(bs&&e in c.attrFn){return c(bk)[e](bp)}var bl=bk.nodeType!==1||!c.isXMLDoc(bk),bo=bp!==N;e=bl&&c.props[e]||e;if(bk.nodeType===1){var bn=a9.test(e);if(e==="selected"&&!c.support.optSelected){var bq=bk.parentNode;if(bq){bq.selectedIndex;if(bq.parentNode){bq.parentNode.selectedIndex}}}if((e in bk||bk[e]!==N)&&bl&&!bn){if(bo){if(e==="type"&&k.test(bk.nodeName)&&bk.parentNode){c.error("type property can't be changed")}if(bp===null){if(bk.nodeType===1){bk.removeAttribute(e)}}else{bk[e]=bp}}if(c.nodeName(bk,"form")&&bk.getAttributeNode(e)){return bk.getAttributeNode(e).nodeValue}if(e==="tabIndex"){var br=bk.getAttributeNode("tabIndex");return br&&br.specified?br.value:I.test(bk.nodeName)||q.test(bk.nodeName)&&bk.href?0:N}return bk[e]}if(!c.support.style&&bl&&e==="style"){if(bo){bk.style.cssText=""+bp}return bk.style.cssText}if(bo){bk.setAttribute(e,""+bp)}if(!bk.attributes[e]&&(bk.hasAttribute&&!bk.hasAttribute(e))){return N}var bm=!c.support.hrefNormalized&&bl&&bn?bk.getAttribute(e,2):bk.getAttribute(e);return bm===null?N:bm}if(bo){bk[e]=bp}return bk[e]}});var aW=/\.(.*)$/,a7=/^(?:textarea|input|select)$/i,Q=/\./g,ag=/ /g,aC=/[^\w\s.|`]/g,K=function(e){return e.replace(aC,"\\$&")};c.event={add:function(bn,br,by,bp){if(bn.nodeType===3||bn.nodeType===8){return}try{if(c.isWindow(bn)&&(bn!==a5&&!bn.frameElement)){bn=a5}}catch(bs){}if(by===false){by=bc}else{if(!by){return}}var bl,bw;if(by.handler){bl=by;by=bl.handler}if(!by.guid){by.guid=c.guid++}var bt=c._data(bn);if(!bt){return}var bx=bt.events,bq=bt.handle;if(!bx){bt.events=bx={}}if(!bq){bt.handle=bq=function(bz){return typeof c!=="undefined"&&c.event.triggered!==bz.type?c.event.handle.apply(bq.elem,arguments):N}}bq.elem=bn;br=br.split(" ");var bv,bo=0,bk;while((bv=br[bo++])){bw=bl?c.extend({},bl):{handler:by,data:bp};if(bv.indexOf(".")>-1){bk=bv.split(".");bv=bk.shift();bw.namespace=bk.slice(0).sort().join(".")}else{bk=[];bw.namespace=""}bw.type=bv;if(!bw.guid){bw.guid=by.guid}var bm=bx[bv],bu=c.event.special[bv]||{};if(!bm){bm=bx[bv]=[];if(!bu.setup||bu.setup.call(bn,bp,bk,bq)===false){if(bn.addEventListener){bn.addEventListener(bv,bq,false)}else{if(bn.attachEvent){bn.attachEvent("on"+bv,bq)}}}}if(bu.add){bu.add.call(bn,bw);if(!bw.handler.guid){bw.handler.guid=by.guid}}bm.push(bw);c.event.global[bv]=true}bn=null},global:{},remove:function(by,bt,bl,bp){if(by.nodeType===3||by.nodeType===8){return}if(bl===false){bl=bc}var bB,bo,bq,bv,bw=0,bm,br,bu,bn,bs,e,bA,bx=c.hasData(by)&&c._data(by),bk=bx&&bx.events;if(!bx||!bk){return}if(bt&&bt.type){bl=bt.handler;bt=bt.type}if(!bt||typeof bt==="string"&&bt.charAt(0)==="."){bt=bt||"";for(bo in bk){c.event.remove(by,bo+bt)}return}bt=bt.split(" ");while((bo=bt[bw++])){bA=bo;e=null;bm=bo.indexOf(".")<0;br=[];if(!bm){br=bo.split(".");bo=br.shift();bu=new RegExp("(^|\\.)"+c.map(br.slice(0).sort(),K).join("\\.(?:.*\\.)?")+"(\\.|$)")}bs=bk[bo];if(!bs){continue}if(!bl){for(bv=0;bv<bs.length;bv++){e=bs[bv];if(bm||bu.test(e.namespace)){c.event.remove(by,bA,e.handler,bv);bs.splice(bv--,1)}}continue}bn=c.event.special[bo]||{};for(bv=bp||0;bv<bs.length;bv++){e=bs[bv];if(bl.guid===e.guid){if(bm||bu.test(e.namespace)){if(bp==null){bs.splice(bv--,1)}if(bn.remove){bn.remove.call(by,e)}}if(bp!=null){break}}}if(bs.length===0||bp!=null&&bs.length===1){if(!bn.teardown||bn.teardown.call(by,br)===false){c.removeEvent(by,bo,bx.handle)}bB=null;delete bk[bo]}}if(c.isEmptyObject(bk)){var bz=bx.handle;if(bz){bz.elem=null}delete bx.events;delete bx.handle;if(c.isEmptyObject(bx)){c.removeData(by,N,true)}}},trigger:function(bk,bp,bm){var bt=bk.type||bk,bo=arguments[3];if(!bo){bk=typeof bk==="object"?bk[c.expando]?bk:c.extend(c.Event(bt),bk):c.Event(bt);if(bt.indexOf("!")>=0){bk.type=bt=bt.slice(0,-1);bk.exclusive=true}if(!bm){bk.stopPropagation();if(c.event.global[bt]){c.each(c.cache,function(){var by=c.expando,bx=this[by];if(bx&&bx.events&&bx.events[bt]){c.event.trigger(bk,bp,bx.handle.elem)}})}}if(!bm||bm.nodeType===3||bm.nodeType===8){return N}bk.result=N;bk.target=bm;bp=c.makeArray(bp);bp.unshift(bk)}bk.currentTarget=bm;var bq=c._data(bm,"handle");if(bq){bq.apply(bm,bp)}var bv=bm.parentNode||bm.ownerDocument;try{if(!(bm&&bm.nodeName&&c.noData[bm.nodeName.toLowerCase()])){if(bm["on"+bt]&&bm["on"+bt].apply(bm,bp)===false){bk.result=false;bk.preventDefault()}}}catch(bu){}if(!bk.isPropagationStopped()&&bv){c.event.trigger(bk,bp,bv,true)}else{if(!bk.isDefaultPrevented()){var bl,br=bk.target,e=bt.replace(aW,""),bw=c.nodeName(br,"a")&&e==="click",bs=c.event.special[e]||{};if((!bs._default||bs._default.call(bm,bk)===false)&&!bw&&!(br&&br.nodeName&&c.noData[br.nodeName.toLowerCase()])){try{if(br[e]){bl=br["on"+e];if(bl){br["on"+e]=null}c.event.triggered=bk.type;br[e]()}}catch(bn){}if(bl){br["on"+e]=bl}c.event.triggered=N}}}},handle:function(e){var bs,bl,bk,bu,bt,bo=[],bq=c.makeArray(arguments);e=bq[0]=c.event.fix(e||a5.event);e.currentTarget=this;bs=e.type.indexOf(".")<0&&!e.exclusive;if(!bs){bk=e.type.split(".");e.type=bk.shift();bo=bk.slice(0).sort();bu=new RegExp("(^|\\.)"+bo.join("\\.(?:.*\\.)?")+"(\\.|$)")}e.namespace=e.namespace||bo.join(".");bt=c._data(this,"events");bl=(bt||{})[e.type];if(bt&&bl){bl=bl.slice(0);for(var bn=0,bm=bl.length;bn<bm;bn++){var br=bl[bn];if(bs||bu.test(br.namespace)){e.handler=br.handler;e.data=br.data;e.handleObj=br;var bp=br.handler.apply(this,bq);if(bp!==N){e.result=bp;if(bp===false){e.preventDefault();e.stopPropagation()}}if(e.isImmediatePropagationStopped()){break}}}}return e.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(bm){if(bm[c.expando]){return bm}var bk=bm;bm=c.Event(bk);for(var bl=this.props.length,bo;bl;){bo=this.props[--bl];bm[bo]=bk[bo]}if(!bm.target){bm.target=bm.srcElement||ar}if(bm.target.nodeType===3){bm.target=bm.target.parentNode}if(!bm.relatedTarget&&bm.fromElement){bm.relatedTarget=bm.fromElement===bm.target?bm.toElement:bm.fromElement}if(bm.pageX==null&&bm.clientX!=null){var bn=ar.documentElement,e=ar.body;bm.pageX=bm.clientX+(bn&&bn.scrollLeft||e&&e.scrollLeft||0)-(bn&&bn.clientLeft||e&&e.clientLeft||0);bm.pageY=bm.clientY+(bn&&bn.scrollTop||e&&e.scrollTop||0)-(bn&&bn.clientTop||e&&e.clientTop||0)}if(bm.which==null&&(bm.charCode!=null||bm.keyCode!=null)){bm.which=bm.charCode!=null?bm.charCode:bm.keyCode}if(!bm.metaKey&&bm.ctrlKey){bm.metaKey=bm.ctrlKey}if(!bm.which&&bm.button!==N){bm.which=(bm.button&1?1:(bm.button&2?3:(bm.button&4?2:0)))}return bm},guid:100000000,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(e){c.event.add(this,t(e.origType,e.selector),c.extend({},e,{handler:al,guid:e.handler.guid}))},remove:function(e){c.event.remove(this,t(e.origType,e.selector),e)}},beforeunload:{setup:function(bl,bk,e){if(c.isWindow(this)){this.onbeforeunload=e}},teardown:function(bk,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}}};c.removeEvent=ar.removeEventListener?function(bk,e,bl){if(bk.removeEventListener){bk.removeEventListener(e,bl,false)}}:function(bk,e,bl){if(bk.detachEvent){bk.detachEvent("on"+e,bl)}};c.Event=function(e){if(!this.preventDefault){return new c.Event(e)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=(e.defaultPrevented||e.returnValue===false||e.getPreventDefault&&e.getPreventDefault())?n:bc}else{this.type=e}this.timeStamp=c.now();this[c.expando]=true};function bc(){return false}function n(){return true}c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=n;var bk=this.originalEvent;if(!bk){return}if(bk.preventDefault){bk.preventDefault()}else{bk.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=n;var bk=this.originalEvent;if(!bk){return}if(bk.stopPropagation){bk.stopPropagation()}bk.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=n;this.stopPropagation()},isDefaultPrevented:bc,isPropagationStopped:bc,isImmediatePropagationStopped:bc};var af=function(bl){var bk=bl.relatedTarget;try{if(bk&&bk!==ar&&!bk.parentNode){return}while(bk&&bk!==this){bk=bk.parentNode}if(bk!==this){bl.type=bl.data;c.event.handle.apply(this,arguments)}}catch(bm){}},aR=function(e){e.type=e.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bk,e){c.event.special[bk]={setup:function(bl){c.event.add(this,e,bl&&bl.selector?aR:af,bk)},teardown:function(bl){c.event.remove(this,e,bl&&bl.selector?aR:af)}}});if(!c.support.submitBubbles){c.event.special.submit={setup:function(bk,e){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(bn){var bm=bn.target,bl=bm.type;if((bl==="submit"||bl==="image")&&c(bm).closest("form").length){aU("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(bn){var bm=bn.target,bl=bm.type;if((bl==="text"||bl==="password")&&c(bm).closest("form").length&&bn.keyCode===13){aU("submit",this,arguments)}})}else{return false}},teardown:function(e){c.event.remove(this,".specialSubmit")}}}if(!c.support.changeBubbles){var bd,p=function(bk){var e=bk.type,bl=bk.value;if(e==="radio"||e==="checkbox"){bl=bk.checked}else{if(e==="select-multiple"){bl=bk.selectedIndex>-1?c.map(bk.options,function(bm){return bm.selected}).join("-"):""}else{if(bk.nodeName.toLowerCase()==="select"){bl=bk.selectedIndex}}}return bl},ad=function ad(bm){var bk=bm.target,bl,bn;if(!a7.test(bk.nodeName)||bk.readOnly){return}bl=c._data(bk,"_change_data");bn=p(bk);if(bm.type!=="focusout"||bk.type!=="radio"){c._data(bk,"_change_data",bn)}if(bl===N||bn===bl){return}if(bl!=null||bn){bm.type="change";bm.liveFired=N;c.event.trigger(bm,arguments[1],bk)}};c.event.special.change={filters:{focusout:ad,beforedeactivate:ad,click:function(bm){var bl=bm.target,bk=bl.type;if(bk==="radio"||bk==="checkbox"||bl.nodeName.toLowerCase()==="select"){ad.call(this,bm)}},keydown:function(bm){var bl=bm.target,bk=bl.type;if((bm.keyCode===13&&bl.nodeName.toLowerCase()!=="textarea")||(bm.keyCode===32&&(bk==="checkbox"||bk==="radio"))||bk==="select-multiple"){ad.call(this,bm)}},beforeactivate:function(bl){var bk=bl.target;c._data(bk,"_change_data",p(bk))}},setup:function(bl,bk){if(this.type==="file"){return false}for(var e in bd){c.event.add(this,e+".specialChange",bd[e])}return a7.test(this.nodeName)},teardown:function(e){c.event.remove(this,".specialChange");return a7.test(this.nodeName)}};bd=c.event.special.change.filters;bd.focus=bd.beforeactivate}function aU(bk,bm,e){var bl=c.extend({},e[0]);bl.type=bk;bl.originalEvent={};bl.liveFired=N;c.event.handle.call(bm,bl);if(bl.isDefaultPrevented()){e[0].preventDefault()}}if(ar.addEventListener){c.each({focus:"focusin",blur:"focusout"},function(bm,e){var bk=0;c.event.special[e]={setup:function(){if(bk++===0){ar.addEventListener(bm,bl,true)}},teardown:function(){if(--bk===0){ar.removeEventListener(bm,bl,true)}}};function bl(bn){var bo=c.event.fix(bn);bo.type=e;bo.originalEvent={};c.event.trigger(bo,null,bo.target);if(bo.isDefaultPrevented()){bn.preventDefault()}}})}c.each(["bind","one"],function(bk,e){c.fn[e]=function(bq,br,bp){if(typeof bq==="object"){for(var bn in bq){this[e](bn,br,bq[bn],bp)}return this}if(c.isFunction(br)||br===false){bp=br;br=N}var bo=e==="one"?c.proxy(bp,function(bs){c(this).unbind(bs,bo);return bp.apply(this,arguments)}):bp;if(bq==="unload"&&e!=="one"){this.one(bq,br,bp)}else{for(var bm=0,bl=this.length;bm<bl;bm++){c.event.add(this[bm],bq,bo,br)}}return this}});c.fn.extend({unbind:function(bn,bm){if(typeof bn==="object"&&!bn.preventDefault){for(var bl in bn){this.unbind(bl,bn[bl])}}else{for(var bk=0,e=this.length;bk<e;bk++){c.event.remove(this[bk],bn,bm)}}return this},delegate:function(e,bk,bm,bl){return this.live(bk,bm,bl,e)},undelegate:function(e,bk,bl){if(arguments.length===0){return this.unbind("live")}else{return this.die(bk,null,bl,e)}},trigger:function(e,bk){return this.each(function(){c.event.trigger(e,bk,this)})},triggerHandler:function(e,bl){if(this[0]){var bk=c.Event(e);bk.preventDefault();bk.stopPropagation();c.event.trigger(bk,bl,this[0]);return bk.result}},toggle:function(bl){var e=arguments,bk=1;while(bk<e.length){c.proxy(bl,e[bk++])}return this.click(c.proxy(bl,function(bm){var bn=(c._data(this,"lastToggle"+bl.guid)||0)%bk;c._data(this,"lastToggle"+bl.guid,bn+1);bm.preventDefault();return e[bn].apply(this,arguments)||false}))},hover:function(e,bk){return this.mouseenter(e).mouseleave(bk||e)}});var aO={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(bk,e){c.fn[e]=function(bu,br,bw,bn){var bv,bs=0,bt,bm,by,bp=bn||this.selector,bl=bn?this:c(this.context);if(typeof bu==="object"&&!bu.preventDefault){for(var bx in bu){bl[e](bx,br,bu[bx],bp)}return this}if(c.isFunction(br)){bw=br;br=N}bu=(bu||"").split(" ");while((bv=bu[bs++])!=null){bt=aW.exec(bv);bm="";if(bt){bm=bt[0];bv=bv.replace(aW,"")}if(bv==="hover"){bu.push("mouseenter"+bm,"mouseleave"+bm);continue}by=bv;if(bv==="focus"||bv==="blur"){bu.push(aO[bv]+bm);bv=bv+bm}else{bv=(aO[bv]||bv)+bm}if(e==="live"){for(var bq=0,bo=bl.length;bq<bo;bq++){c.event.add(bl[bq],"live."+t(bv,bp),{data:br,selector:bp,handler:bw,origType:bv,origHandler:bw,preType:by})}}else{bl.unbind("live."+t(bv,bp),bw)}}return this}});function al(bu){var br,bm,bA,bo,e,bw,bt,bv,bs,bz,bq,bp,by,bx=[],bn=[],bk=c._data(this,"events");if(bu.liveFired===this||!bk||!bk.live||bu.target.disabled||bu.button&&bu.type==="click"){return}if(bu.namespace){bp=new RegExp("(^|\\.)"+bu.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}bu.liveFired=this;var bl=bk.live.slice(0);for(bt=0;bt<bl.length;bt++){e=bl[bt];if(e.origType.replace(aW,"")===bu.type){bn.push(e.selector)}else{bl.splice(bt--,1)}}bo=c(bu.target).closest(bn,bu.currentTarget);for(bv=0,bs=bo.length;bv<bs;bv++){bq=bo[bv];for(bt=0;bt<bl.length;bt++){e=bl[bt];if(bq.selector===e.selector&&(!bp||bp.test(e.namespace))&&!bq.elem.disabled){bw=bq.elem;bA=null;if(e.preType==="mouseenter"||e.preType==="mouseleave"){bu.type=e.preType;bA=c(bu.relatedTarget).closest(e.selector)[0]}if(!bA||bA!==bw){bx.push({elem:bw,handleObj:e,level:bq.level})}}}}for(bv=0,bs=bx.length;bv<bs;bv++){bo=bx[bv];if(bm&&bo.level>bm){break}bu.currentTarget=bo.elem;bu.data=bo.handleObj.data;bu.handleObj=bo.handleObj;by=bo.handleObj.origHandler.apply(bo.elem,arguments);if(by===false||bu.isPropagationStopped()){bm=bo.level;if(by===false){br=false}if(bu.isImmediatePropagationStopped()){break}}}return br}function t(bk,e){return(bk&&bk!=="*"?bk+".":"")+e.replace(Q,"`").replace(ag,"&")}c.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(bk,e){c.fn[e]=function(bm,bl){if(bl==null){bl=bm;bm=null}return arguments.length>0?this.bind(e,bm,bl):this.trigger(e)};if(c.attrFn){c.attrFn[e]=true}});
/*
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bu=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bv=0,by=Object.prototype.toString,bp=false,bo=true,bw=/\\/g,bC=/\W/;[0,0].sort(function(){bo=false;return 0});var bm=function(bH,e,bK,bL){bK=bK||[];e=e||ar;var bN=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bH||typeof bH!=="string"){return bK}var bE,bP,bS,bD,bO,bR,bQ,bJ,bG=true,bF=bm.isXML(e),bI=[],bM=bH;do{bu.exec("");bE=bu.exec(bM);if(bE){bM=bE[3];bI.push(bE[1]);if(bE[2]){bD=bE[3];break}}}while(bE);if(bI.length>1&&bq.exec(bH)){if(bI.length===2&&br.relative[bI[0]]){bP=bz(bI[0]+bI[1],e)}else{bP=br.relative[bI[0]]?[e]:bm(bI.shift(),e);while(bI.length){bH=bI.shift();if(br.relative[bH]){bH+=bI.shift()}bP=bz(bH,bP)}}}else{if(!bL&&bI.length>1&&e.nodeType===9&&!bF&&br.match.ID.test(bI[0])&&!br.match.ID.test(bI[bI.length-1])){bO=bm.find(bI.shift(),e,bF);e=bO.expr?bm.filter(bO.expr,bO.set)[0]:bO.set[0]}if(e){bO=bL?{expr:bI.pop(),set:bs(bL)}:bm.find(bI.pop(),bI.length===1&&(bI[0]==="~"||bI[0]==="+")&&e.parentNode?e.parentNode:e,bF);bP=bO.expr?bm.filter(bO.expr,bO.set):bO.set;if(bI.length>0){bS=bs(bP)}else{bG=false}while(bI.length){bR=bI.pop();bQ=bR;if(!br.relative[bR]){bR=""}else{bQ=bI.pop()}if(bQ==null){bQ=e}br.relative[bR](bS,bQ,bF)}}else{bS=bI=[]}}if(!bS){bS=bP}if(!bS){bm.error(bR||bH)}if(by.call(bS)==="[object Array]"){if(!bG){bK.push.apply(bK,bS)}else{if(e&&e.nodeType===1){for(bJ=0;bS[bJ]!=null;bJ++){if(bS[bJ]&&(bS[bJ]===true||bS[bJ].nodeType===1&&bm.contains(e,bS[bJ]))){bK.push(bP[bJ])}}}else{for(bJ=0;bS[bJ]!=null;bJ++){if(bS[bJ]&&bS[bJ].nodeType===1){bK.push(bP[bJ])}}}}}else{bs(bS,bK)}if(bD){bm(bD,bN,bK,bL);bm.uniqueSort(bK)}return bK};bm.uniqueSort=function(bD){if(bx){bp=bo;bD.sort(bx);if(bp){for(var e=1;e<bD.length;e++){if(bD[e]===bD[e-1]){bD.splice(e--,1)}}}}return bD};bm.matches=function(e,bD){return bm(e,null,null,bD)};bm.matchesSelector=function(e,bD){return bm(bD,null,null,[e]).length>0};bm.find=function(bJ,e,bK){var bI;if(!bJ){return[]}for(var bF=0,bE=br.order.length;bF<bE;bF++){var bG,bH=br.order[bF];if((bG=br.leftMatch[bH].exec(bJ))){var bD=bG[1];bG.splice(1,1);if(bD.substr(bD.length-1)!=="\\"){bG[1]=(bG[1]||"").replace(bw,"");bI=br.find[bH](bG,e,bK);if(bI!=null){bJ=bJ.replace(br.match[bH],"");break}}}}if(!bI){bI=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bI,expr:bJ}};bm.filter=function(bN,bM,bQ,bG){var bI,e,bE=bN,bS=[],bK=bM,bJ=bM&&bM[0]&&bm.isXML(bM[0]);while(bN&&bM.length){for(var bL in br.filter){if((bI=br.leftMatch[bL].exec(bN))!=null&&bI[2]){var bR,bP,bD=br.filter[bL],bF=bI[1];e=false;bI.splice(1,1);if(bF.substr(bF.length-1)==="\\"){continue}if(bK===bS){bS=[]}if(br.preFilter[bL]){bI=br.preFilter[bL](bI,bK,bQ,bS,bG,bJ);if(!bI){e=bR=true}else{if(bI===true){continue}}}if(bI){for(var bH=0;(bP=bK[bH])!=null;bH++){if(bP){bR=bD(bP,bI,bH,bK);var bO=bG^!!bR;if(bQ&&bR!=null){if(bO){e=true}else{bK[bH]=false}}else{if(bO){bS.push(bP);e=true}}}}}if(bR!==N){if(!bQ){bK=bS}bN=bN.replace(br.match[bL],"");if(!e){return[]}break}}}if(bN===bE){if(e==null){bm.error(bN)}else{break}}bE=bN}return bK};bm.error=function(e){throw"Syntax error, unrecognized expression: "+e};var br=bm.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(bI,bD){var bF=typeof bD==="string",bH=bF&&!bC.test(bD),bJ=bF&&!bH;if(bH){bD=bD.toLowerCase()}for(var bE=0,e=bI.length,bG;bE<e;bE++){if((bG=bI[bE])){while((bG=bG.previousSibling)&&bG.nodeType!==1){}bI[bE]=bJ||bG&&bG.nodeName.toLowerCase()===bD?bG||false:bG===bD}}if(bJ){bm.filter(bD,bI,true)}},">":function(bI,bD){var bH,bG=typeof bD==="string",bE=0,e=bI.length;if(bG&&!bC.test(bD)){bD=bD.toLowerCase();for(;bE<e;bE++){bH=bI[bE];if(bH){var bF=bH.parentNode;bI[bE]=bF.nodeName.toLowerCase()===bD?bF:false}}}else{for(;bE<e;bE++){bH=bI[bE];if(bH){bI[bE]=bG?bH.parentNode:bH.parentNode===bD}}if(bG){bm.filter(bD,bI,true)}}},"":function(bF,bD,bH){var bG,bE=bv++,e=bA;if(typeof bD==="string"&&!bC.test(bD)){bD=bD.toLowerCase();bG=bD;e=bk}e("parentNode",bD,bE,bF,bG,bH)},"~":function(bF,bD,bH){var bG,bE=bv++,e=bA;if(typeof bD==="string"&&!bC.test(bD)){bD=bD.toLowerCase();bG=bD;e=bk}e("previousSibling",bD,bE,bF,bG,bH)}},find:{ID:function(bD,bE,bF){if(typeof bE.getElementById!=="undefined"&&!bF){var e=bE.getElementById(bD[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bE,bH){if(typeof bH.getElementsByName!=="undefined"){var bD=[],bG=bH.getElementsByName(bE[1]);for(var bF=0,e=bG.length;bF<e;bF++){if(bG[bF].getAttribute("name")===bE[1]){bD.push(bG[bF])}}return bD.length===0?null:bD}},TAG:function(e,bD){if(typeof bD.getElementsByTagName!=="undefined"){return bD.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bF,bD,bE,e,bI,bJ){bF=" "+bF[1].replace(bw,"")+" ";if(bJ){return bF}for(var bG=0,bH;(bH=bD[bG])!=null;bG++){if(bH){if(bI^(bH.className&&(" "+bH.className+" ").replace(/[\t\n\r]/g," ").indexOf(bF)>=0)){if(!bE){e.push(bH)}}else{if(bE){bD[bG]=false}}}}return false},ID:function(e){return e[1].replace(bw,"")},TAG:function(bD,e){return bD[1].replace(bw,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bm.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bD=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bD[1]+(bD[2]||1))-0;e[3]=bD[3]-0}else{if(e[2]){bm.error(e[0])}}e[0]=bv++;return e},ATTR:function(bG,bD,bE,e,bH,bI){var bF=bG[1]=bG[1].replace(bw,"");if(!bI&&br.attrMap[bF]){bG[1]=br.attrMap[bF]}bG[4]=(bG[4]||bG[5]||"").replace(bw,"");if(bG[2]==="~="){bG[4]=" "+bG[4]+" "}return bG},PSEUDO:function(bG,bD,bE,e,bH){if(bG[1]==="not"){if((bu.exec(bG[3])||"").length>1||/^\w/.test(bG[3])){bG[3]=bm(bG[3],null,null,bD)}else{var bF=bm.filter(bG[3],bD,bE,true^bH);if(!bE){e.push.apply(e,bF)}return false}}else{if(br.match.POS.test(bG[0])||br.match.CHILD.test(bG[0])){return true}}return bG},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bE,bD,e){return !!bm(e[3],bE).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bE){var e=bE.getAttribute("type"),bD=bE.type;return"text"===bD&&(e===bD||e===null)},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)}},setFilters:{first:function(bD,e){return e===0},last:function(bE,bD,e,bF){return bD===bF.length-1},even:function(bD,e){return e%2===0},odd:function(bD,e){return e%2===1},lt:function(bE,bD,e){return bD<e[3]-0},gt:function(bE,bD,e){return bD>e[3]-0},nth:function(bE,bD,e){return e[3]-0===bD},eq:function(bE,bD,e){return e[3]-0===bD}},filter:{PSEUDO:function(bE,bJ,bI,bK){var e=bJ[1],bD=br.filters[e];if(bD){return bD(bE,bI,bJ,bK)}else{if(e==="contains"){return(bE.textContent||bE.innerText||bm.getText([bE])||"").indexOf(bJ[3])>=0}else{if(e==="not"){var bF=bJ[3];for(var bH=0,bG=bF.length;bH<bG;bH++){if(bF[bH]===bE){return false}}return true}else{bm.error(e)}}}},CHILD:function(e,bF){var bI=bF[1],bD=e;switch(bI){case"only":case"first":while((bD=bD.previousSibling)){if(bD.nodeType===1){return false}}if(bI==="first"){return true}bD=e;case"last":while((bD=bD.nextSibling)){if(bD.nodeType===1){return false}}return true;case"nth":var bE=bF[2],bL=bF[3];if(bE===1&&bL===0){return true}var bH=bF[0],bK=e.parentNode;if(bK&&(bK.sizcache!==bH||!e.nodeIndex)){var bG=0;for(bD=bK.firstChild;bD;bD=bD.nextSibling){if(bD.nodeType===1){bD.nodeIndex=++bG}}bK.sizcache=bH}var bJ=e.nodeIndex-bL;if(bE===0){return bJ===0}else{return(bJ%bE===0&&bJ/bE>=0)}}},ID:function(bD,e){return bD.nodeType===1&&bD.getAttribute("id")===e},TAG:function(bD,e){return(e==="*"&&bD.nodeType===1)||bD.nodeName.toLowerCase()===e},CLASS:function(bD,e){return(" "+(bD.className||bD.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bH,bF){var bE=bF[1],e=br.attrHandle[bE]?br.attrHandle[bE](bH):bH[bE]!=null?bH[bE]:bH.getAttribute(bE),bI=e+"",bG=bF[2],bD=bF[4];return e==null?bG==="!=":bG==="="?bI===bD:bG==="*="?bI.indexOf(bD)>=0:bG==="~="?(" "+bI+" ").indexOf(bD)>=0:!bD?bI&&e!==false:bG==="!="?bI!==bD:bG==="^="?bI.indexOf(bD)===0:bG==="$="?bI.substr(bI.length-bD.length)===bD:bG==="|="?bI===bD||bI.substr(0,bD.length+1)===bD+"-":false},POS:function(bG,bD,bE,bH){var e=bD[2],bF=br.setFilters[e];if(bF){return bF(bG,bE,bD,bH)}}}};var bq=br.match.POS,bl=function(bD,e){return"\\"+(e-0+1)};for(var bn in br.match){br.match[bn]=new RegExp(br.match[bn].source+(/(?![^\[]*\])(?![^\(]*\))/.source));br.leftMatch[bn]=new RegExp(/(^(?:.|\r|\n)*?)/.source+br.match[bn].source.replace(/\\(\d+)/g,bl))}var bs=function(bD,e){bD=Array.prototype.slice.call(bD,0);if(e){e.push.apply(e,bD);return e}return bD};try{Array.prototype.slice.call(ar.documentElement.childNodes,0)[0].nodeType}catch(bB){bs=function(bG,bF){var bE=0,bD=bF||[];if(by.call(bG)==="[object Array]"){Array.prototype.push.apply(bD,bG)}else{if(typeof bG.length==="number"){for(var e=bG.length;bE<e;bE++){bD.push(bG[bE])}}else{for(;bG[bE];bE++){bD.push(bG[bE])}}}return bD}}var bx,bt;if(ar.documentElement.compareDocumentPosition){bx=function(bD,e){if(bD===e){bp=true;return 0}if(!bD.compareDocumentPosition||!e.compareDocumentPosition){return bD.compareDocumentPosition?-1:1}return bD.compareDocumentPosition(e)&4?-1:1}}else{bx=function(bK,bJ){var bH,bD,bE=[],e=[],bG=bK.parentNode,bI=bJ.parentNode,bL=bG;if(bK===bJ){bp=true;return 0}else{if(bG===bI){return bt(bK,bJ)}else{if(!bG){return -1}else{if(!bI){return 1}}}}while(bL){bE.unshift(bL);bL=bL.parentNode}bL=bI;while(bL){e.unshift(bL);bL=bL.parentNode}bH=bE.length;bD=e.length;for(var bF=0;bF<bH&&bF<bD;bF++){if(bE[bF]!==e[bF]){return bt(bE[bF],e[bF])}}return bF===bH?bt(bK,e[bF],-1):bt(bE[bF],bJ,1)};bt=function(bD,e,bE){if(bD===e){return bE}var bF=bD.nextSibling;while(bF){if(bF===e){return -1}bF=bF.nextSibling}return 1}}bm.getText=function(e){var bD="",bF;for(var bE=0;e[bE];bE++){bF=e[bE];if(bF.nodeType===3||bF.nodeType===4){bD+=bF.nodeValue}else{if(bF.nodeType!==8){bD+=bm.getText(bF.childNodes)}}}return bD};(function(){var bD=ar.createElement("div"),bE="script"+(new Date()).getTime(),e=ar.documentElement;bD.innerHTML="<a name='"+bE+"'/>";e.insertBefore(bD,e.firstChild);if(ar.getElementById(bE)){br.find.ID=function(bG,bH,bI){if(typeof bH.getElementById!=="undefined"&&!bI){var bF=bH.getElementById(bG[1]);return bF?bF.id===bG[1]||typeof bF.getAttributeNode!=="undefined"&&bF.getAttributeNode("id").nodeValue===bG[1]?[bF]:N:[]}};br.filter.ID=function(bH,bF){var bG=typeof bH.getAttributeNode!=="undefined"&&bH.getAttributeNode("id");return bH.nodeType===1&&bG&&bG.nodeValue===bF}}e.removeChild(bD);e=bD=null})();(function(){var e=ar.createElement("div");e.appendChild(ar.createComment(""));if(e.getElementsByTagName("*").length>0){br.find.TAG=function(bD,bH){var bG=bH.getElementsByTagName(bD[1]);if(bD[1]==="*"){var bF=[];for(var bE=0;bG[bE];bE++){if(bG[bE].nodeType===1){bF.push(bG[bE])}}bG=bF}return bG}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){br.attrHandle.href=function(bD){return bD.getAttribute("href",2)}}e=null})();if(ar.querySelectorAll){(function(){var e=bm,bF=ar.createElement("div"),bE="__sizzle__";bF.innerHTML="<p class='TEST'></p>";if(bF.querySelectorAll&&bF.querySelectorAll(".TEST").length===0){return}bm=function(bQ,bH,bL,bP){bH=bH||ar;if(!bP&&!bm.isXML(bH)){var bO=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(bQ);if(bO&&(bH.nodeType===1||bH.nodeType===9)){if(bO[1]){return bs(bH.getElementsByTagName(bQ),bL)}else{if(bO[2]&&br.find.CLASS&&bH.getElementsByClassName){return bs(bH.getElementsByClassName(bO[2]),bL)}}}if(bH.nodeType===9){if(bQ==="body"&&bH.body){return bs([bH.body],bL)}else{if(bO&&bO[3]){var bK=bH.getElementById(bO[3]);if(bK&&bK.parentNode){if(bK.id===bO[3]){return bs([bK],bL)}}else{return bs([],bL)}}}try{return bs(bH.querySelectorAll(bQ),bL)}catch(bM){}}else{if(bH.nodeType===1&&bH.nodeName.toLowerCase()!=="object"){var bI=bH,bJ=bH.getAttribute("id"),bG=bJ||bE,bS=bH.parentNode,bR=/^\s*[+~]/.test(bQ);if(!bJ){bH.setAttribute("id",bG)}else{bG=bG.replace(/'/g,"\\$&")}if(bR&&bS){bH=bH.parentNode}try{if(!bR||bS){return bs(bH.querySelectorAll("[id='"+bG+"'] "+bQ),bL)}}catch(bN){}finally{if(!bJ){bI.removeAttribute("id")}}}}}return e(bQ,bH,bL,bP)};for(var bD in e){bm[bD]=e[bD]}bF=null})()}(function(){var e=ar.documentElement,bE=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bE){var bG=!bE.call(ar.createElement("div"),"div"),bD=false;try{bE.call(ar.documentElement,"[test!='']:sizzle")}catch(bF){bD=true}bm.matchesSelector=function(bI,bK){bK=bK.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bm.isXML(bI)){try{if(bD||!br.match.PSEUDO.test(bK)&&!/!=/.test(bK)){var bH=bE.call(bI,bK);if(bH||!bG||bI.document&&bI.document.nodeType!==11){return bH}}}catch(bJ){}}return bm(bK,null,null,[bI]).length>0}}})();(function(){var e=ar.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}br.order.splice(1,0,"CLASS");br.find.CLASS=function(bD,bE,bF){if(typeof bE.getElementsByClassName!=="undefined"&&!bF){return bE.getElementsByClassName(bD[1])}};e=null})();function bk(bD,bI,bH,bL,bJ,bK){for(var bF=0,bE=bL.length;bF<bE;bF++){var e=bL[bF];if(e){var bG=false;e=e[bD];while(e){if(e.sizcache===bH){bG=bL[e.sizset];break}if(e.nodeType===1&&!bK){e.sizcache=bH;e.sizset=bF}if(e.nodeName.toLowerCase()===bI){bG=e;break}e=e[bD]}bL[bF]=bG}}}function bA(bD,bI,bH,bL,bJ,bK){for(var bF=0,bE=bL.length;bF<bE;bF++){var e=bL[bF];if(e){var bG=false;e=e[bD];while(e){if(e.sizcache===bH){bG=bL[e.sizset];break}if(e.nodeType===1){if(!bK){e.sizcache=bH;e.sizset=bF}if(typeof bI!=="string"){if(e===bI){bG=true;break}}else{if(bm.filter(bI,[e]).length>0){bG=e;break}}}e=e[bD]}bL[bF]=bG}}}if(ar.documentElement.contains){bm.contains=function(bD,e){return bD!==e&&(bD.contains?bD.contains(e):true)}}else{if(ar.documentElement.compareDocumentPosition){bm.contains=function(bD,e){return !!(bD.compareDocumentPosition(e)&16)}}else{bm.contains=function(){return false}}}bm.isXML=function(e){var bD=(e?e.ownerDocument||e:0).documentElement;return bD?bD.nodeName!=="HTML":false};var bz=function(e,bJ){var bH,bF=[],bG="",bE=bJ.nodeType?[bJ]:bJ;while((bH=br.match.PSEUDO.exec(e))){bG+=bH[0];e=e.replace(br.match.PSEUDO,"")}e=br.relative[e]?e+"*":e;for(var bI=0,bD=bE.length;bI<bD;bI++){bm(e,bE[bI],bF)}return bm.filter(bG,bF)};c.find=bm;c.expr=bm.selectors;c.expr[":"]=c.expr.filters;c.unique=bm.uniqueSort;c.text=bm.getText;c.isXMLDoc=bm.isXML;c.contains=bm.contains})();var ac=/Until$/,ao=/^(?:parents|prevUntil|prevAll)/,a3=/,/,bg=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,L=c.expr.match.POS,av={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(e){var bl=this.pushStack("","find",e),bo=0;for(var bm=0,bk=this.length;bm<bk;bm++){bo=bl.length;c.find(e,this[bm],bl);if(bm>0){for(var bp=bo;bp<bl.length;bp++){for(var bn=0;bn<bo;bn++){if(bl[bn]===bl[bp]){bl.splice(bp--,1);break}}}}}return bl},has:function(bk){var e=c(bk);return this.filter(function(){for(var bm=0,bl=e.length;bm<bl;bm++){if(c.contains(this,e[bm])){return true}}})},not:function(e){return this.pushStack(aB(this,e,false),"not",e)},filter:function(e){return this.pushStack(aB(this,e,true),"filter",e)},is:function(e){return !!e&&c.filter(e,this).length>0},closest:function(bt,bk){var bq=[],bn,bl,bs=this[0];if(c.isArray(bt)){var bp,bm,bo={},e=1;if(bs&&bt.length){for(bn=0,bl=bt.length;bn<bl;bn++){bm=bt[bn];if(!bo[bm]){bo[bm]=c.expr.match.POS.test(bm)?c(bm,bk||this.context):bm}}while(bs&&bs.ownerDocument&&bs!==bk){for(bm in bo){bp=bo[bm];if(bp.jquery?bp.index(bs)>-1:c(bs).is(bp)){bq.push({selector:bm,elem:bs,level:e})}}bs=bs.parentNode;e++}}return bq}var br=L.test(bt)?c(bt,bk||this.context):null;for(bn=0,bl=this.length;bn<bl;bn++){bs=this[bn];while(bs){if(br?br.index(bs)>-1:c.find.matchesSelector(bs,bt)){bq.push(bs);break}else{bs=bs.parentNode;if(!bs||!bs.ownerDocument||bs===bk){break}}}}bq=bq.length>1?c.unique(bq):bq;return this.pushStack(bq,"closest",bt)},index:function(e){if(!e||typeof e==="string"){return c.inArray(this[0],e?c(e):this.parent().children())}return c.inArray(e.jquery?e[0]:e,this)},add:function(e,bk){var bm=typeof e==="string"?c(e,bk):c.makeArray(e),bl=c.merge(this.get(),bm);return this.pushStack(H(bm[0])||H(bl[0])?bl:c.unique(bl))},andSelf:function(){return this.add(this.prevObject)}});function H(e){return !e||!e.parentNode||e.parentNode.nodeType===11}c.each({parent:function(bk){var e=bk.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return c.dir(e,"parentNode")},parentsUntil:function(bk,e,bl){return c.dir(bk,"parentNode",bl)},next:function(e){return c.nth(e,2,"nextSibling")},prev:function(e){return c.nth(e,2,"previousSibling")},nextAll:function(e){return c.dir(e,"nextSibling")},prevAll:function(e){return c.dir(e,"previousSibling")},nextUntil:function(bk,e,bl){return c.dir(bk,"nextSibling",bl)},prevUntil:function(bk,e,bl){return c.dir(bk,"previousSibling",bl)},siblings:function(e){return c.sibling(e.parentNode.firstChild,e)},children:function(e){return c.sibling(e.firstChild)},contents:function(e){return c.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:c.makeArray(e.childNodes)}},function(e,bk){c.fn[e]=function(bo,bl){var bn=c.map(this,bk,bo),bm=S.call(arguments);if(!ac.test(e)){bl=bo}if(bl&&typeof bl==="string"){bn=c.filter(bl,bn)}bn=this.length>1&&!av[e]?c.unique(bn):bn;if((this.length>1||a3.test(bl))&&ao.test(e)){bn=bn.reverse()}return this.pushStack(bn,e,bm.join(","))}});c.extend({filter:function(bl,e,bk){if(bk){bl=":not("+bl+")"}return e.length===1?c.find.matchesSelector(e[0],bl)?[e[0]]:[]:c.find.matches(bl,e)},dir:function(bl,bk,bn){var e=[],bm=bl[bk];while(bm&&bm.nodeType!==9&&(bn===N||bm.nodeType!==1||!c(bm).is(bn))){if(bm.nodeType===1){e.push(bm)}bm=bm[bk]}return e},nth:function(bn,e,bl,bm){e=e||1;var bk=0;for(;bn;bn=bn[bl]){if(bn.nodeType===1&&++bk===e){break}}return bn},sibling:function(bl,bk){var e=[];for(;bl;bl=bl.nextSibling){if(bl.nodeType===1&&bl!==bk){e.push(bl)}}return e}});function aB(bm,bl,e){if(c.isFunction(bl)){return c.grep(bm,function(bo,bn){var bp=!!bl.call(bo,bn,bo);return bp===e})}else{if(bl.nodeType){return c.grep(bm,function(bo,bn){return(bo===bl)===e})}else{if(typeof bl==="string"){var bk=c.grep(bm,function(bn){return bn.nodeType===1});if(bg.test(bl)){return c.filter(bl,bk,!e)}else{bl=c.filter(bl,bk)}}}}return c.grep(bm,function(bo,bn){return(c.inArray(bo,bl)>=0)===e})}var ah=/ jQuery\d+="(?:\d+|null)"/g,ap=/^\s+/,U=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,g=/<([\w:]+)/,B=/<tbody/i,Z=/<|&#?\w+;/,R=/<(?:script|object|embed|option|style)/i,s=/checked\s*(?:[^=]|=\s*.checked.)/i,au={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,"",""]};au.optgroup=au.option;au.tbody=au.tfoot=au.colgroup=au.caption=au.thead;au.th=au.td;if(!c.support.htmlSerialize){au._default=[1,"div<div>","</div>"]}c.fn.extend({text:function(e){if(c.isFunction(e)){return this.each(function(bl){var bk=c(this);bk.text(e.call(this,bl,bk.text()))})}if(typeof e!=="object"&&e!==N){return this.empty().append((this[0]&&this[0].ownerDocument||ar).createTextNode(e))}return c.text(this)},wrapAll:function(e){if(c.isFunction(e)){return this.each(function(bl){c(this).wrapAll(e.call(this,bl))})}if(this[0]){var bk=c(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bk.insertBefore(this[0])}bk.map(function(){var bl=this;while(bl.firstChild&&bl.firstChild.nodeType===1){bl=bl.firstChild}return bl}).append(this)}return this},wrapInner:function(e){if(c.isFunction(e)){return this.each(function(bk){c(this).wrapInner(e.call(this,bk))})}return this.each(function(){var bk=c(this),bl=bk.contents();if(bl.length){bl.wrapAll(e)}else{bk.append(e)}})},wrap:function(e){return this.each(function(){c(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){if(!c.nodeName(this,"body")){c(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bk){this.parentNode.insertBefore(bk,this)})}else{if(arguments.length){var e=c(arguments[0]);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bk){this.parentNode.insertBefore(bk,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,c(arguments[0]).toArray());return e}}},remove:function(e,bm){for(var bk=0,bl;(bl=this[bk])!=null;bk++){if(!e||c.filter(e,[bl]).length){if(!bm&&bl.nodeType===1){c.cleanData(bl.getElementsByTagName("*"));c.cleanData([bl])}if(bl.parentNode){bl.parentNode.removeChild(bl)}}}return this},empty:function(){for(var e=0,bk;(bk=this[e])!=null;e++){if(bk.nodeType===1){c.cleanData(bk.getElementsByTagName("*"))}while(bk.firstChild){bk.removeChild(bk.firstChild)}}return this},clone:function(bk,e){bk=bk==null?false:bk;e=e==null?bk:e;return this.map(function(){return c.clone(this,bk,e)})},html:function(bm){if(bm===N){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ah,""):null}else{if(typeof bm==="string"&&!R.test(bm)&&(c.support.leadingWhitespace||!ap.test(bm))&&!au[(g.exec(bm)||["",""])[1].toLowerCase()]){bm=bm.replace(U,"<$1></$2>");try{for(var bl=0,bk=this.length;bl<bk;bl++){if(this[bl].nodeType===1){c.cleanData(this[bl].getElementsByTagName("*"));this[bl].innerHTML=bm}}}catch(bn){this.empty().append(bm)}}else{if(c.isFunction(bm)){this.each(function(bo){var e=c(this);e.html(bm.call(this,bo,e.html()))})}else{this.empty().append(bm)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(c.isFunction(e)){return this.each(function(bm){var bl=c(this),bk=bl.html();bl.replaceWith(e.call(this,bm,bk))})}if(typeof e!=="string"){e=c(e).detach()}return this.each(function(){var bl=this.nextSibling,bk=this.parentNode;c(this).remove();if(bl){c(bl).before(e)}else{c(bk).append(e)}})}else{return this.length?this.pushStack(c(c.isFunction(e)?e():e),"replaceWith",e):this}},detach:function(e){return this.remove(e,true)},domManip:function(bq,bu,bt){var bm,bn,bp,bs,br=bq[0],bk=[];if(!c.support.checkClone&&arguments.length===3&&typeof br==="string"&&s.test(br)){return this.each(function(){c(this).domManip(bq,bu,bt,true)})}if(c.isFunction(br)){return this.each(function(bw){var bv=c(this);bq[0]=br.call(this,bw,bu?bv.html():N);bv.domManip(bq,bu,bt)})}if(this[0]){bs=br&&br.parentNode;if(c.support.parentNode&&bs&&bs.nodeType===11&&bs.childNodes.length===this.length){bm={fragment:bs}}else{bm=c.buildFragment(bq,this,bk)}bp=bm.fragment;if(bp.childNodes.length===1){bn=bp=bp.firstChild}else{bn=bp.firstChild}if(bn){bu=bu&&c.nodeName(bn,"tr");for(var bl=0,e=this.length,bo=e-1;bl<e;bl++){bt.call(bu?a4(this[bl],bn):this[bl],bm.cacheable||(e>1&&bl<bo)?c.clone(bp,true,true):bp)}}if(bk.length){c.each(bk,bf)}}return this}});function a4(e,bk){return c.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function y(e,bq){if(bq.nodeType!==1||!c.hasData(e)){return}var bp=c.expando,bm=c.data(e),bn=c.data(bq,bm);if((bm=bm[bp])){var br=bm.events;bn=bn[bp]=c.extend({},bm);if(br){delete bn.handle;bn.events={};for(var bo in br){for(var bl=0,bk=br[bo].length;bl<bk;bl++){c.event.add(bq,bo+(br[bo][bl].namespace?".":"")+br[bo][bl].namespace,br[bo][bl],br[bo][bl].data)}}}}}function ai(bk,e){if(e.nodeType!==1){return}var bl=e.nodeName.toLowerCase();e.clearAttributes();e.mergeAttributes(bk);if(bl==="object"){e.outerHTML=bk.outerHTML}else{if(bl==="input"&&(bk.type==="checkbox"||bk.type==="radio")){if(bk.checked){e.defaultChecked=e.checked=bk.checked}if(e.value!==bk.value){e.value=bk.value}}else{if(bl==="option"){e.selected=bk.defaultSelected}else{if(bl==="input"||bl==="textarea"){e.defaultValue=bk.defaultValue}}}}e.removeAttribute(c.expando)}c.buildFragment=function(bo,bm,bk){var bn,e,bl,bp=(bm&&bm[0]?bm[0].ownerDocument||bm[0]:ar);if(bo.length===1&&typeof bo[0]==="string"&&bo[0].length<512&&bp===ar&&bo[0].charAt(0)==="<"&&!R.test(bo[0])&&(c.support.checkClone||!s.test(bo[0]))){e=true;bl=c.fragments[bo[0]];if(bl){if(bl!==1){bn=bl}}}if(!bn){bn=bp.createDocumentFragment();c.clean(bo,bp,bn,bk)}if(e){c.fragments[bo[0]]=bl?bn:1}return{fragment:bn,cacheable:e}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bk){c.fn[e]=function(bl){var bo=[],br=c(bl),bq=this.length===1&&this[0].parentNode;if(bq&&bq.nodeType===11&&bq.childNodes.length===1&&br.length===1){br[bk](this[0]);return this}else{for(var bp=0,bm=br.length;bp<bm;bp++){var bn=(bp>0?this.clone(true):this).get();c(br[bp])[bk](bn);bo=bo.concat(bn)}return this.pushStack(bo,e,br.selector)}}});function a8(e){if("getElementsByTagName" in e){return e.getElementsByTagName("*")}else{if("querySelectorAll" in e){return e.querySelectorAll("*")}else{return[]}}}c.extend({clone:function(bn,bp,bl){var bo=bn.cloneNode(true),e,bk,bm;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(bn.nodeType===1||bn.nodeType===11)&&!c.isXMLDoc(bn)){ai(bn,bo);e=a8(bn);bk=a8(bo);for(bm=0;e[bm];++bm){ai(e[bm],bk[bm])}}if(bp){y(bn,bo);if(bl){e=a8(bn);bk=a8(bo);for(bm=0;e[bm];++bm){y(e[bm],bk[bm])}}}return bo},clean:function(bl,bn,bu,bp){bn=bn||ar;if(typeof bn.createElement==="undefined"){bn=bn.ownerDocument||bn[0]&&bn[0].ownerDocument||ar}var bv=[];for(var bt=0,bo;(bo=bl[bt])!=null;bt++){if(typeof bo==="number"){bo+=""}if(!bo){continue}if(typeof bo==="string"&&!Z.test(bo)){bo=bn.createTextNode(bo)}else{if(typeof bo==="string"){bo=bo.replace(U,"<$1></$2>");var bw=(g.exec(bo)||["",""])[1].toLowerCase(),bm=au[bw]||au._default,bs=bm[0],bk=bn.createElement("div");bk.innerHTML=bm[1]+bo+bm[2];while(bs--){bk=bk.lastChild}if(!c.support.tbody){var e=B.test(bo),br=bw==="table"&&!e?bk.firstChild&&bk.firstChild.childNodes:bm[1]==="<table>"&&!e?bk.childNodes:[];for(var bq=br.length-1;bq>=0;--bq){if(c.nodeName(br[bq],"tbody")&&!br[bq].childNodes.length){br[bq].parentNode.removeChild(br[bq])}}}if(!c.support.leadingWhitespace&&ap.test(bo)){bk.insertBefore(bn.createTextNode(ap.exec(bo)[0]),bk.firstChild)}bo=bk.childNodes}}if(bo.nodeType){bv.push(bo)}else{bv=c.merge(bv,bo)}}if(bu){for(bt=0;bv[bt];bt++){if(bp&&c.nodeName(bv[bt],"script")&&(!bv[bt].type||bv[bt].type.toLowerCase()==="text/javascript")){bp.push(bv[bt].parentNode?bv[bt].parentNode.removeChild(bv[bt]):bv[bt])}else{if(bv[bt].nodeType===1){bv.splice.apply(bv,[bt+1,0].concat(c.makeArray(bv[bt].getElementsByTagName("script"))))}bu.appendChild(bv[bt])}}}return bv},cleanData:function(bk){var bn,bl,e=c.cache,bs=c.expando,bq=c.event.special,bp=c.support.deleteExpando;for(var bo=0,bm;(bm=bk[bo])!=null;bo++){if(bm.nodeName&&c.noData[bm.nodeName.toLowerCase()]){continue}bl=bm[c.expando];if(bl){bn=e[bl]&&e[bl][bs];if(bn&&bn.events){for(var br in bn.events){if(bq[br]){c.event.remove(bm,br)}else{c.removeEvent(bm,br,bn.handle)}}if(bn.handle){bn.handle.elem=null}}if(bp){delete bm[c.expando]}else{if(bm.removeAttribute){bm.removeAttribute(c.expando)}}delete e[bl]}}}});function bf(e,bk){if(bk.src){c.ajax({url:bk.src,async:false,dataType:"script"})}else{c.globalEval(bk.text||bk.textContent||bk.innerHTML||"")}if(bk.parentNode){bk.parentNode.removeChild(bk)}}var ak=/alpha\([^)]*\)/i,aq=/opacity=([^)]*)/,aT=/-([a-z])/ig,E=/([A-Z]|^ms)/g,a6=/^-?\d+(?:px)?$/i,be=/^-?\d/,a2={position:"absolute",visibility:"hidden",display:"block"},am=["Left","Right"],aY=["Top","Bottom"],aa,aE,aS,r=function(e,bk){return bk.toUpperCase()};c.fn.css=function(e,bk){if(arguments.length===2&&bk===N){return this}return c.access(this,e,bk,true,function(bm,bl,bn){return bn!==N?c.style(bm,bl,bn):c.css(bm,bl)})};c.extend({cssHooks:{opacity:{get:function(bl,bk){if(bk){var e=aa(bl,"opacity","opacity");return e===""?"1":e}else{return bl.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(bm,bl,br,bn){if(!bm||bm.nodeType===3||bm.nodeType===8||!bm.style){return}var bq,bo=c.camelCase(bl),bk=bm.style,bs=c.cssHooks[bo];bl=c.cssProps[bo]||bo;if(br!==N){if(typeof br==="number"&&isNaN(br)||br==null){return}if(typeof br==="number"&&!c.cssNumber[bo]){br+="px"}if(!bs||!("set" in bs)||(br=bs.set(bm,br))!==N){try{bk[bl]=br}catch(bp){}}}else{if(bs&&"get" in bs&&(bq=bs.get(bm,false,bn))!==N){return bq}return bk[bl]}},css:function(bo,bn,bk){var bm,bl=c.camelCase(bn),e=c.cssHooks[bl];bn=c.cssProps[bl]||bl;if(e&&"get" in e&&(bm=e.get(bo,true,bk))!==N){return bm}else{if(aa){return aa(bo,bn,bl)}}},swap:function(bm,bl,bn){var e={};for(var bk in bl){e[bk]=bm.style[bk];bm.style[bk]=bl[bk]}bn.call(bm);for(bk in bl){bm.style[bk]=e[bk]}},camelCase:function(e){return e.replace(aT,r)}});c.curCSS=c.css;c.each(["height","width"],function(bk,e){c.cssHooks[e]={get:function(bn,bm,bl){var bo;if(bm){if(bn.offsetWidth!==0){bo=u(bn,e,bl)}else{c.swap(bn,a2,function(){bo=u(bn,e,bl)})}if(bo<=0){bo=aa(bn,e,e);if(bo==="0px"&&aS){bo=aS(bn,e,e)}if(bo!=null){return bo===""||bo==="auto"?"0px":bo}}if(bo<0||bo==null){bo=bn.style[e];return bo===""||bo==="auto"?"0px":bo}return typeof bo==="string"?bo:bo+"px"}},set:function(bl,bm){if(a6.test(bm)){bm=parseFloat(bm);if(bm>=0){return bm+"px"}}else{return bm}}}});if(!c.support.opacity){c.cssHooks.opacity={get:function(bk,e){return aq.test((e&&bk.currentStyle?bk.currentStyle.filter:bk.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(bm,bn){var bl=bm.style;bl.zoom=1;var e=c.isNaN(bn)?"":"alpha(opacity="+bn*100+")",bk=bl.filter||"";bl.filter=ak.test(bk)?bk.replace(ak,e):bl.filter+" "+e}}}c(function(){if(!c.support.reliableMarginRight){c.cssHooks.marginRight={get:function(bl,bk){var e;c.swap(bl,{display:"inline-block"},function(){if(bk){e=aa(bl,"margin-right","marginRight")}else{e=bl.style.marginRight}});return e}}}});if(ar.defaultView&&ar.defaultView.getComputedStyle){aE=function(bo,e,bm){var bl,bn,bk;bm=bm.replace(E,"-$1").toLowerCase();if(!(bn=bo.ownerDocument.defaultView)){return N}if((bk=bn.getComputedStyle(bo,null))){bl=bk.getPropertyValue(bm);if(bl===""&&!c.contains(bo.ownerDocument.documentElement,bo)){bl=c.style(bo,bm)}}return bl}}if(ar.documentElement.currentStyle){aS=function(bn,bl){var bo,bk=bn.currentStyle&&bn.currentStyle[bl],e=bn.runtimeStyle&&bn.runtimeStyle[bl],bm=bn.style;if(!a6.test(bk)&&be.test(bk)){bo=bm.left;if(e){bn.runtimeStyle.left=bn.currentStyle.left}bm.left=bl==="fontSize"?"1em":(bk||0);bk=bm.pixelLeft+"px";bm.left=bo;if(e){bn.runtimeStyle.left=e}}return bk===""?"auto":bk}}aa=aE||aS;function u(bl,bk,e){var bn=bk==="width"?am:aY,bm=bk==="width"?bl.offsetWidth:bl.offsetHeight;if(e==="border"){return bm}c.each(bn,function(){if(!e){bm-=parseFloat(c.css(bl,"padding"+this))||0}if(e==="margin"){bm+=parseFloat(c.css(bl,"margin"+this))||0}else{bm-=parseFloat(c.css(bl,"border"+this+"Width"))||0}});return bm}if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(bl){var bk=bl.offsetWidth,e=bl.offsetHeight;return(bk===0&&e===0)||(!c.support.reliableHiddenOffsets&&(bl.style.display||c.css(bl,"display"))==="none")};c.expr.filters.visible=function(e){return !c.expr.filters.hidden(e)}}var o=/%20/g,an=/\[\]$/,bj=/\r?\n/g,bh=/#.*$/,ay=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aV=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aI=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aK=/^(?:GET|HEAD)$/,f=/^\/\//,O=/\?/,a1=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,v=/^(?:select|textarea)/i,m=/\s+/,bi=/([?&])_=[^&]*/,X=/(^|\-)([a-z])/g,aQ=function(bk,e,bl){return e+bl.toUpperCase()},M=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,F=c.fn.load,ab={},w={},aA,x;try{aA=ar.location.href}catch(at){aA=ar.createElement("a");aA.href="";aA=aA.href}x=M.exec(aA.toLowerCase())||[];function j(e){return function(bn,bp){if(typeof bn!=="string"){bp=bn;bn="*"}if(c.isFunction(bp)){var bm=bn.toLowerCase().split(m),bl=0,bo=bm.length,bk,bq,br;for(;bl<bo;bl++){bk=bm[bl];br=/^\+/.test(bk);if(br){bk=bk.substr(1)||"*"}bq=e[bk]=e[bk]||[];bq[br?"unshift":"push"](bp)}}}}function aP(bk,bt,bo,bs,bq,bm){bq=bq||bt.dataTypes[0];bm=bm||{};bm[bq]=true;var bp=bk[bq],bl=0,e=bp?bp.length:0,bn=(bk===ab),br;for(;bl<e&&(bn||!br);bl++){br=bp[bl](bt,bo,bs);if(typeof br==="string"){if(!bn||bm[br]){br=N}else{bt.dataTypes.unshift(br);br=aP(bk,bt,bo,bs,br,bm)}}}if((bn||!br)&&!bm["*"]){br=aP(bk,bt,bo,bs,"*",bm)}return br}c.fn.extend({load:function(bl,bo,bp){if(typeof bl!=="string"&&F){return F.apply(this,arguments)}else{if(!this.length){return this}}var bn=bl.indexOf(" ");if(bn>=0){var e=bl.slice(bn,bl.length);bl=bl.slice(0,bn)}var bm="GET";if(bo){if(c.isFunction(bo)){bp=bo;bo=N}else{if(typeof bo==="object"){bo=c.param(bo,c.ajaxSettings.traditional);bm="POST"}}}var bk=this;c.ajax({url:bl,type:bm,dataType:"html",data:bo,complete:function(br,bq,bs){bs=br.responseText;if(br.isResolved()){br.done(function(bt){bs=bt});bk.html(e?c("<div>").append(bs.replace(a1,"")).find(e):bs)}if(bp){bk.each(bp,[bs,bq,br])}}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||v.test(this.nodeName)||aV.test(this.type))}).map(function(e,bk){var bl=c(this).val();return bl==null?null:c.isArray(bl)?c.map(bl,function(bn,bm){return{name:bk.name,value:bn.replace(bj,"\r\n")}}):{name:bk.name,value:bl.replace(bj,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bk){c.fn[bk]=function(bl){return this.bind(bk,bl)}});c.each(["get","post"],function(e,bk){c[bk]=function(bl,bn,bo,bm){if(c.isFunction(bn)){bm=bm||bo;bo=bn;bn=N}return c.ajax({type:bk,url:bl,data:bn,success:bo,dataType:bm})}});c.extend({getScript:function(e,bk){return c.get(e,N,bk,"script")},getJSON:function(e,bk,bl){return c.get(e,bk,bl,"json")},ajaxSetup:function(bl,e){if(!e){e=bl;bl=c.extend(true,c.ajaxSettings,e)}else{c.extend(true,bl,c.ajaxSettings,e)}for(var bk in {context:1,url:1}){if(bk in e){bl[bk]=e[bk]}else{if(bk in c.ajaxSettings){bl[bk]=c.ajaxSettings[bk]}}}return bl},ajaxSettings:{url:aA,isLocal:aI.test(x[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a5.String,"text html":true,"text json":c.parseJSON,"text xml":c.parseXML}},ajaxPrefilter:j(ab),ajaxTransport:j(w),ajax:function(bo,bm){if(typeof bo==="object"){bm=bo;bo=N}bm=bm||{};var bs=c.ajaxSetup({},bm),bG=bs.context||bs,bv=bG!==bs&&(bG.nodeType||bG instanceof c)?c(bG):c.event,bF=c.Deferred(),bC=c._Deferred(),bq=bs.statusCode||{},br,bw={},bE,bn,bA,bt,bx,bp=0,bl,bz,by={readyState:0,setRequestHeader:function(e,bH){if(!bp){bw[e.toLowerCase().replace(X,aQ)]=bH}return this},getAllResponseHeaders:function(){return bp===2?bE:null},getResponseHeader:function(bH){var e;if(bp===2){if(!bn){bn={};while((e=ay.exec(bE))){bn[e[1].toLowerCase()]=e[2]}}e=bn[bH.toLowerCase()]}return e===N?null:e},overrideMimeType:function(e){if(!bp){bs.mimeType=e}return this},abort:function(e){e=e||"abort";if(bA){bA.abort(e)}bu(0,e);return this}};function bu(bM,bK,bN,bJ){if(bp===2){return}bp=2;if(bt){clearTimeout(bt)}bA=N;bE=bJ||"";by.readyState=bM?4:0;var bH,bR,bQ,bL=bN?bb(bs,by,bN):N,bI,bP;if(bM>=200&&bM<300||bM===304){if(bs.ifModified){if((bI=by.getResponseHeader("Last-Modified"))){c.lastModified[br]=bI}if((bP=by.getResponseHeader("Etag"))){c.etag[br]=bP}}if(bM===304){bK="notmodified";bH=true}else{try{bR=J(bs,bL);bK="success";bH=true}catch(bO){bK="parsererror";bQ=bO}}}else{bQ=bK;if(!bK||bM){bK="error";if(bM<0){bM=0}}}by.status=bM;by.statusText=bK;if(bH){bF.resolveWith(bG,[bR,bK,by])}else{bF.rejectWith(bG,[by,bK,bQ])}by.statusCode(bq);bq=N;if(bl){bv.trigger("ajax"+(bH?"Success":"Error"),[by,bs,bH?bR:bQ])}bC.resolveWith(bG,[by,bK]);if(bl){bv.trigger("ajaxComplete",[by,bs]);if(!(--c.active)){c.event.trigger("ajaxStop")}}}bF.promise(by);by.success=by.done;by.error=by.fail;by.complete=bC.done;by.statusCode=function(bH){if(bH){var e;if(bp<2){for(e in bH){bq[e]=[bq[e],bH[e]]}}else{e=bH[by.status];by.then(e,e)}}return this};bs.url=((bo||bs.url)+"").replace(bh,"").replace(f,x[1]+"//");bs.dataTypes=c.trim(bs.dataType||"*").toLowerCase().split(m);if(bs.crossDomain==null){bx=M.exec(bs.url.toLowerCase());bs.crossDomain=!!(bx&&(bx[1]!=x[1]||bx[2]!=x[2]||(bx[3]||(bx[1]==="http:"?80:443))!=(x[3]||(x[1]==="http:"?80:443))))}if(bs.data&&bs.processData&&typeof bs.data!=="string"){bs.data=c.param(bs.data,bs.traditional)}aP(ab,bs,bm,by);if(bp===2){return false}bl=bs.global;bs.type=bs.type.toUpperCase();bs.hasContent=!aK.test(bs.type);if(bl&&c.active++===0){c.event.trigger("ajaxStart")}if(!bs.hasContent){if(bs.data){bs.url+=(O.test(bs.url)?"&":"?")+bs.data}br=bs.url;if(bs.cache===false){var bk=c.now(),bD=bs.url.replace(bi,"$1_="+bk);bs.url=bD+((bD===bs.url)?(O.test(bs.url)?"&":"?")+"_="+bk:"")}}if(bs.data&&bs.hasContent&&bs.contentType!==false||bm.contentType){bw["Content-Type"]=bs.contentType}if(bs.ifModified){br=br||bs.url;if(c.lastModified[br]){bw["If-Modified-Since"]=c.lastModified[br]}if(c.etag[br]){bw["If-None-Match"]=c.etag[br]}}bw.Accept=bs.dataTypes[0]&&bs.accepts[bs.dataTypes[0]]?bs.accepts[bs.dataTypes[0]]+(bs.dataTypes[0]!=="*"?", */*; q=0.01":""):bs.accepts["*"];for(bz in bs.headers){by.setRequestHeader(bz,bs.headers[bz])}if(bs.beforeSend&&(bs.beforeSend.call(bG,by,bs)===false||bp===2)){by.abort();return false}for(bz in {success:1,error:1,complete:1}){by[bz](bs[bz])}bA=aP(w,bs,bm,by);if(!bA){bu(-1,"No Transport")}else{by.readyState=1;if(bl){bv.trigger("ajaxSend",[by,bs])}if(bs.async&&bs.timeout>0){bt=setTimeout(function(){by.abort("timeout")},bs.timeout)}try{bp=1;bA.send(bw,bu)}catch(bB){if(status<2){bu(-1,bB)}else{c.error(bB)}}}return by},param:function(e,bl){var bk=[],bn=function(bo,bp){bp=c.isFunction(bp)?bp():bp;bk[bk.length]=encodeURIComponent(bo)+"="+encodeURIComponent(bp)};if(bl===N){bl=c.ajaxSettings.traditional}if(c.isArray(e)||(e.jquery&&!c.isPlainObject(e))){c.each(e,function(){bn(this.name,this.value)})}else{for(var bm in e){A(bm,e[bm],bl,bn)}}return bk.join("&").replace(o,"+")}});function A(bl,bn,bk,bm){if(c.isArray(bn)&&bn.length){c.each(bn,function(bp,bo){if(bk||an.test(bl)){bm(bl,bo)}else{A(bl+"["+(typeof bo==="object"||c.isArray(bo)?bp:"")+"]",bo,bk,bm)}})}else{if(!bk&&bn!=null&&typeof bn==="object"){if(c.isArray(bn)||c.isEmptyObject(bn)){bm(bl,"")}else{for(var e in bn){A(bl+"["+e+"]",bn[e],bk,bm)}}}else{bm(bl,bn)}}}c.extend({active:0,lastModified:{},etag:{}});function bb(bs,br,bo){var bk=bs.contents,bq=bs.dataTypes,bl=bs.responseFields,bn,bp,bm,e;for(bp in bl){if(bp in bo){br[bl[bp]]=bo[bp]}}while(bq[0]==="*"){bq.shift();if(bn===N){bn=bs.mimeType||br.getResponseHeader("content-type")}}if(bn){for(bp in bk){if(bk[bp]&&bk[bp].test(bn)){bq.unshift(bp);break}}}if(bq[0] in bo){bm=bq[0]}else{for(bp in bo){if(!bq[0]||bs.converters[bp+" "+bq[0]]){bm=bp;break}if(!e){e=bp}}bm=bm||e}if(bm){if(bm!==bq[0]){bq.unshift(bm)}return bo[bm]}}function J(bw,bo){if(bw.dataFilter){bo=bw.dataFilter(bo,bw.dataType)}var bs=bw.dataTypes,bv={},bp,bt,bl=bs.length,bq,br=bs[0],bm,bn,bu,bk,e;for(bp=1;bp<bl;bp++){if(bp===1){for(bt in bw.converters){if(typeof bt==="string"){bv[bt.toLowerCase()]=bw.converters[bt]}}}bm=br;br=bs[bp];if(br==="*"){br=bm}else{if(bm!=="*"&&bm!==br){bn=bm+" "+br;bu=bv[bn]||bv["* "+br];if(!bu){e=N;for(bk in bv){bq=bk.split(" ");if(bq[0]===bm||bq[0]==="*"){e=bv[bq[1]+" "+br];if(e){bk=bv[bk];if(bk===true){bu=e}else{if(e===true){bu=bk}}break}}}}if(!(bu||e)){c.error("No conversion from "+bn.replace(" "," to "))}if(bu!==true){bo=bu?bu(bo):e(bk(bo))}}}}return bo}var ax=c.now(),z=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+(ax++)}});c.ajaxPrefilter("json jsonp",function(bt,bp,bs){var br=(typeof bt.data==="string");if(bt.dataTypes[0]==="jsonp"||bp.jsonpCallback||bp.jsonp!=null||bt.jsonp!==false&&(z.test(bt.url)||br&&z.test(bt.data))){var bq,bl=bt.jsonpCallback=c.isFunction(bt.jsonpCallback)?bt.jsonpCallback():bt.jsonpCallback,bo=a5[bl],e=bt.url,bn=bt.data,bk="$1"+bl+"$2",bm=function(){a5[bl]=bo;if(bq&&c.isFunction(bo)){a5[bl](bq[0])}};if(bt.jsonp!==false){e=e.replace(z,bk);if(bt.url===e){if(br){bn=bn.replace(z,bk)}if(bt.data===bn){e+=(/\?/.test(e)?"&":"?")+bt.jsonp+"="+bl}}}bt.url=e;bt.data=bn;a5[bl]=function(bu){bq=[bu]};bs.then(bm,bm);bt.converters["script json"]=function(){if(!bq){c.error(bl+" was not called")}return bq[0]};bt.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){c.globalEval(e);return e}}});c.ajaxPrefilter("script",function(e){if(e.cache===N){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});c.ajaxTransport("script",function(bl){if(bl.crossDomain){var e,bk=ar.head||ar.getElementsByTagName("head")[0]||ar.documentElement;return{send:function(bm,bn){e=ar.createElement("script");e.async="async";if(bl.scriptCharset){e.charset=bl.scriptCharset}e.src=bl.url;e.onload=e.onreadystatechange=function(bp,bo){if(!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bk&&e.parentNode){bk.removeChild(e)}e=N;if(!bo){bn(200,"success")}}};bk.insertBefore(e,bk.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var D=c.now(),P,az;function G(){c(a5).unload(function(){for(var e in P){P[e](0,1)}})}function aH(){try{return new a5.XMLHttpRequest()}catch(bk){}}function aj(){try{return new a5.ActiveXObject("Microsoft.XMLHTTP")}catch(bk){}}c.ajaxSettings.xhr=a5.ActiveXObject?function(){return !this.isLocal&&aH()||aj()}:aH;az=c.ajaxSettings.xhr();c.support.ajax=!!az;c.support.cors=az&&("withCredentials" in az);az=N;if(c.support.ajax){c.ajaxTransport(function(e){if(!e.crossDomain||c.support.cors){var bk;return{send:function(bq,bl){var bp=e.xhr(),bo,bn;if(e.username){bp.open(e.type,e.url,e.async,e.username,e.password)}else{bp.open(e.type,e.url,e.async)}if(e.xhrFields){for(bn in e.xhrFields){bp[bn]=e.xhrFields[bn]}}if(e.mimeType&&bp.overrideMimeType){bp.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!bq["X-Requested-With"]){bq["X-Requested-With"]="XMLHttpRequest"}try{for(bn in bq){bp.setRequestHeader(bn,bq[bn])}}catch(bm){}bp.send((e.hasContent&&e.data)||null);bk=function(bz,bt){var bu,bs,br,bx,bw;try{if(bk&&(bt||bp.readyState===4)){bk=N;if(bo){bp.onreadystatechange=c.noop;delete P[bo]}if(bt){if(bp.readyState!==4){bp.abort()}}else{bu=bp.status;br=bp.getAllResponseHeaders();bx={};bw=bp.responseXML;if(bw&&bw.documentElement){bx.xml=bw}bx.text=bp.responseText;try{bs=bp.statusText}catch(by){bs=""}if(!bu&&e.isLocal&&!e.crossDomain){bu=bx.text?200:404}else{if(bu===1223){bu=204}}}}}catch(bv){if(!bt){bl(-1,bv)}}if(bx){bl(bu,bs,bx,br)}};if(!e.async||bp.readyState===4){bk()}else{if(!P){P={};G()}bo=D++;bp.onreadystatechange=P[bo]=bk}},abort:function(){if(bk){bk(0,1)}}}}})}var T={},aw=/^(?:toggle|show|hide)$/,aM=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,aZ,aD=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(bm,bp,bo){var bl,bn;if(bm||bm===0){return this.animate(aX("show",3),bm,bp,bo)}else{for(var bk=0,e=this.length;bk<e;bk++){bl=this[bk];bn=bl.style.display;if(!c._data(bl,"olddisplay")&&bn==="none"){bn=bl.style.display=""}if(bn===""&&c.css(bl,"display")==="none"){c._data(bl,"olddisplay",C(bl.nodeName))}}for(bk=0;bk<e;bk++){bl=this[bk];bn=bl.style.display;if(bn===""||bn==="none"){bl.style.display=c._data(bl,"olddisplay")||""}}return this}},hide:function(bl,bo,bn){if(bl||bl===0){return this.animate(aX("hide",3),bl,bo,bn)}else{for(var bk=0,e=this.length;bk<e;bk++){var bm=c.css(this[bk],"display");if(bm!=="none"&&!c._data(this[bk],"olddisplay")){c._data(this[bk],"olddisplay",bm)}}for(bk=0;bk<e;bk++){this[bk].style.display="none"}return this}},_toggle:c.fn.toggle,toggle:function(bl,bk,bm){var e=typeof bl==="boolean";if(c.isFunction(bl)&&c.isFunction(bk)){this._toggle.apply(this,arguments)}else{if(bl==null||e){this.each(function(){var bn=e?bl:c(this).is(":hidden");c(this)[bn?"show":"hide"]()})}else{this.animate(aX("toggle",3),bl,bk,bm)}}return this},fadeTo:function(e,bm,bl,bk){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bm},e,bl,bk)},animate:function(bn,bk,bm,bl){var e=c.speed(bk,bm,bl);if(c.isEmptyObject(bn)){return this.each(e.complete)}return this[e.queue===false?"each":"queue"](function(){var bq=c.extend({},e),bu,br=this.nodeType===1,bs=br&&c(this).is(":hidden"),bo=this;for(bu in bn){var bp=c.camelCase(bu);if(bu!==bp){bn[bp]=bn[bu];delete bn[bu];bu=bp}if(bn[bu]==="hide"&&bs||bn[bu]==="show"&&!bs){return bq.complete.call(this)}if(br&&(bu==="height"||bu==="width")){bq.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none"){if(!c.support.inlineBlockNeedsLayout){this.style.display="inline-block"}else{var bt=C(this.nodeName);if(bt==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}}}if(c.isArray(bn[bu])){(bq.specialEasing=bq.specialEasing||{})[bu]=bn[bu][1];bn[bu]=bn[bu][0]}}if(bq.overflow!=null){this.style.overflow="hidden"}bq.curAnim=c.extend({},bn);c.each(bn,function(bw,bA){var bz=new c.fx(bo,bq,bw);if(aw.test(bA)){bz[bA==="toggle"?bs?"show":"hide":bA](bn)}else{var by=aM.exec(bA),bB=bz.cur();if(by){var bv=parseFloat(by[2]),bx=by[3]||(c.cssNumber[bw]?"":"px");if(bx!=="px"){c.style(bo,bw,(bv||1)+bx);bB=((bv||1)/bz.cur())*bB;c.style(bo,bw,bB+bx)}if(by[1]){bv=((by[1]==="-="?-1:1)*bv)+bB}bz.custom(bB,bv,bx)}else{bz.custom(bB,bA,"")}}});return true})},stop:function(bk,e){var bl=c.timers;if(bk){this.queue([])}this.each(function(){for(var bm=bl.length-1;bm>=0;bm--){if(bl[bm].elem===this){if(e){bl[bm](true)}bl.splice(bm,1)}}});if(!e){this.dequeue()}return this}});function aX(bk,e){var bl={};c.each(aD.concat.apply([],aD.slice(0,e)),function(){bl[this]=bk});return bl}c.each({slideDown:aX("show",1),slideUp:aX("hide",1),slideToggle:aX("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bk){c.fn[e]=function(bl,bn,bm){return this.animate(bk,bl,bn,bm)}});c.extend({speed:function(bl,bm,bk){var e=bl&&typeof bl==="object"?c.extend({},bl):{complete:bk||!bk&&bm||c.isFunction(bl)&&bl,duration:bl,easing:bk&&bm||bm&&!c.isFunction(bm)&&bm};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){if(e.queue!==false){c(this).dequeue()}if(c.isFunction(e.old)){e.old.call(this)}};return e},easing:{linear:function(bl,bm,e,bk){return e+bk*bl},swing:function(bl,bm,e,bk){return((-Math.cos(bl*Math.PI)/2)+0.5)*bk+e}},timers:[],fx:function(bk,e,bl){this.options=e;this.elem=bk;this.prop=bl;if(!e.orig){e.orig={}}}});c.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(c.fx.step[this.prop]||c.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 e,bk=c.css(this.elem,this.prop);return isNaN(e=parseFloat(bk))?!bk||bk==="auto"?0:bk:e},custom:function(bo,bn,bm){var e=this,bl=c.fx;this.startTime=c.now();this.start=bo;this.end=bn;this.unit=bm||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;function bk(bp){return e.step(bp)}bk.elem=this.elem;if(bk()&&c.timers.push(bk)&&!aZ){aZ=setInterval(bl.tick,bl.interval)}},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(bm){var br=c.now(),bn=true;if(bm||br>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var bo in this.options.curAnim){if(this.options.curAnim[bo]!==true){bn=false}}if(bn){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var bl=this.elem,bs=this.options;c.each(["","X","Y"],function(bt,bu){bl.style["overflow"+bu]=bs.overflow[bt]})}if(this.options.hide){c(this.elem).hide()}if(this.options.hide||this.options.show){for(var e in this.options.curAnim){c.style(this.elem,e,this.options.orig[e])}}this.options.complete.call(this.elem)}return false}else{var bk=br-this.startTime;this.state=bk/this.options.duration;var bp=this.options.specialEasing&&this.options.specialEasing[this.prop];var bq=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[bp||bq](this.state,bk,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};c.extend(c.fx,{tick:function(){var bk=c.timers;for(var e=0;e<bk.length;e++){if(!bk[e]()){bk.splice(e--,1)}}if(!bk.length){c.fx.stop()}},interval:13,stop:function(){clearInterval(aZ);aZ=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){c.style(e.elem,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=(e.prop==="width"||e.prop==="height"?Math.max(0,e.now):e.now)+e.unit}else{e.elem[e.prop]=e.now}}}});if(c.expr&&c.expr.filters){c.expr.filters.animated=function(e){return c.grep(c.timers,function(bk){return e===bk.elem}).length}}function C(bl){if(!T[bl]){var e=c("<"+bl+">").appendTo("body"),bk=e.css("display");e.remove();if(bk==="none"||bk===""){bk="block"}T[bl]=bk}return T[bl]}var Y=/^t(?:able|d|h)$/i,ae=/^(?:body|html)$/i;if("getBoundingClientRect" in ar.documentElement){c.fn.offset=function(bx){var bn=this[0],bq;if(bx){return this.each(function(e){c.offset.setOffset(this,bx,e)})}if(!bn||!bn.ownerDocument){return null}if(bn===bn.ownerDocument.body){return c.offset.bodyOffset(bn)}try{bq=bn.getBoundingClientRect()}catch(bu){}var bw=bn.ownerDocument,bl=bw.documentElement;if(!bq||!c.contains(bl,bn)){return bq?{top:bq.top,left:bq.left}:{top:0,left:0}}var br=bw.body,bs=aG(bw),bp=bl.clientTop||br.clientTop||0,bt=bl.clientLeft||br.clientLeft||0,bk=bs.pageYOffset||c.support.boxModel&&bl.scrollTop||br.scrollTop,bo=bs.pageXOffset||c.support.boxModel&&bl.scrollLeft||br.scrollLeft,bv=bq.top+bk-bp,bm=bq.left+bo-bt;return{top:bv,left:bm}}}else{c.fn.offset=function(bu){var bo=this[0];if(bu){return this.each(function(bv){c.offset.setOffset(this,bu,bv)})}if(!bo||!bo.ownerDocument){return null}if(bo===bo.ownerDocument.body){return c.offset.bodyOffset(bo)}c.offset.initialize();var br,bl=bo.offsetParent,bk=bo,bt=bo.ownerDocument,bm=bt.documentElement,bp=bt.body,bq=bt.defaultView,e=bq?bq.getComputedStyle(bo,null):bo.currentStyle,bs=bo.offsetTop,bn=bo.offsetLeft;while((bo=bo.parentNode)&&bo!==bp&&bo!==bm){if(c.offset.supportsFixedPosition&&e.position==="fixed"){break}br=bq?bq.getComputedStyle(bo,null):bo.currentStyle;bs-=bo.scrollTop;bn-=bo.scrollLeft;if(bo===bl){bs+=bo.offsetTop;bn+=bo.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&Y.test(bo.nodeName))){bs+=parseFloat(br.borderTopWidth)||0;bn+=parseFloat(br.borderLeftWidth)||0}bk=bl;bl=bo.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&br.overflow!=="visible"){bs+=parseFloat(br.borderTopWidth)||0;bn+=parseFloat(br.borderLeftWidth)||0}e=br}if(e.position==="relative"||e.position==="static"){bs+=bp.offsetTop;bn+=bp.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){bs+=Math.max(bm.scrollTop,bp.scrollTop);bn+=Math.max(bm.scrollLeft,bp.scrollLeft)}return{top:bs,left:bn}}}c.offset={initialize:function(){var e=ar.body,bk=ar.createElement("div"),bn,bp,bo,bq,bl=parseFloat(c.css(e,"marginTop"))||0,bm="<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>";c.extend(bk.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});bk.innerHTML=bm;e.insertBefore(bk,e.firstChild);bn=bk.firstChild;bp=bn.firstChild;bq=bn.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bp.offsetTop!==5);this.doesAddBorderForTableAndCells=(bq.offsetTop===5);bp.style.position="fixed";bp.style.top="20px";this.supportsFixedPosition=(bp.offsetTop===20||bp.offsetTop===15);bp.style.position=bp.style.top="";bn.style.overflow="hidden";bn.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bp.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==bl);e.removeChild(bk);c.offset.initialize=c.noop},bodyOffset:function(e){var bl=e.offsetTop,bk=e.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){bl+=parseFloat(c.css(e,"marginTop"))||0;bk+=parseFloat(c.css(e,"marginLeft"))||0}return{top:bl,left:bk}},setOffset:function(bm,bv,bp){var bq=c.css(bm,"position");if(bq==="static"){bm.style.position="relative"}var bo=c(bm),bk=bo.offset(),e=c.css(bm,"top"),bt=c.css(bm,"left"),bu=(bq==="absolute"||bq==="fixed")&&c.inArray("auto",[e,bt])>-1,bs={},br={},bl,bn;if(bu){br=bo.position()}bl=bu?br.top:parseInt(e,10)||0;bn=bu?br.left:parseInt(bt,10)||0;if(c.isFunction(bv)){bv=bv.call(bm,bp,bk)}if(bv.top!=null){bs.top=(bv.top-bk.top)+bl}if(bv.left!=null){bs.left=(bv.left-bk.left)+bn}if("using" in bv){bv.using.call(bm,bs)}else{bo.css(bs)}}};c.fn.extend({position:function(){if(!this[0]){return null}var bl=this[0],bk=this.offsetParent(),bm=this.offset(),e=ae.test(bk[0].nodeName)?{top:0,left:0}:bk.offset();bm.top-=parseFloat(c.css(bl,"marginTop"))||0;bm.left-=parseFloat(c.css(bl,"marginLeft"))||0;e.top+=parseFloat(c.css(bk[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(bk[0],"borderLeftWidth"))||0;return{top:bm.top-e.top,left:bm.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ar.body;while(e&&(!ae.test(e.nodeName)&&c.css(e,"position")==="static")){e=e.offsetParent}return e})}});c.each(["Left","Top"],function(bk,e){var bl="scroll"+e;c.fn[bl]=function(bo){var bm=this[0],bn;if(!bm){return null}if(bo!==N){return this.each(function(){bn=aG(this);if(bn){bn.scrollTo(!bk?bo:c(bn).scrollLeft(),bk?bo:c(bn).scrollTop())}else{this[bl]=bo}})}else{bn=aG(bm);return bn?("pageXOffset" in bn)?bn[bk?"pageYOffset":"pageXOffset"]:c.support.boxModel&&bn.document.documentElement[bl]||bn.document.body[bl]:bm[bl]}}});function aG(e){return c.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}c.each(["Height","Width"],function(bk,e){var bl=e.toLowerCase();c.fn["inner"+e]=function(){return this[0]?parseFloat(c.css(this[0],bl,"padding")):null};c.fn["outer"+e]=function(bm){return this[0]?parseFloat(c.css(this[0],bl,bm?"margin":"border")):null};c.fn[bl]=function(bn){var bo=this[0];if(!bo){return bn==null?null:this}if(c.isFunction(bn)){return this.each(function(bs){var br=c(this);br[bl](bn.call(this,bs,br[bl]()))})}if(c.isWindow(bo)){var bp=bo.document.documentElement["client"+e];return bo.document.compatMode==="CSS1Compat"&&bp||bo.document.body["client"+e]||bp}else{if(bo.nodeType===9){return Math.max(bo.documentElement["client"+e],bo.body["scroll"+e],bo.documentElement["scroll"+e],bo.body["offset"+e],bo.documentElement["offset"+e])}else{if(bn===N){var bq=c.css(bo,bl),bm=parseFloat(bq);return c.isNaN(bm)?bq:bm}else{return this.css(bl,typeof bn==="string"?bn:bn+"px")}}}}});a5.jQuery=a5.$=c})(window);(function(){function v(b){console.log("$f.fireEvent",[].slice.call(b))}function r(b){if(!b||typeof b!="object"){return b}var e=new b.constructor();for(var c in b){if(b.hasOwnProperty(c)){e[c]=r(b[c])}}return e}function p(b,f){if(!b){return}var j,g=0,e=b.length;if(e===undefined){for(j in b){if(f.call(b[j],j,b[j])===false){break}}}else{for(var c=b[0];g<e&&f.call(c,g,c)!==false;c=b[++g]){}}return b}function z(b){return document.getElementById(b)}function t(b,c,e){if(typeof c!="object"){return b}if(b&&c){p(c,function(g,f){if(!e||typeof f!="function"){b[g]=f}})}return b}function o(b){var e=b.indexOf(".");if(e!=-1){var f=b.substring(0,e)||"*";var g=b.substring(e+1,b.length);var c=[];p(document.getElementsByTagName(f),function(){if(this.className&&this.className.indexOf(g)!=-1){c.push(this)}});return c}}function w(b){b=b||window.event;if(b.preventDefault){b.stopPropagation();b.preventDefault()}else{b.returnValue=false;b.cancelBubble=true}return false}function s(b,e,c){b[e]=b[e]||[];b[e].push(c)}function x(){return"_"+(""+Math.random()).substring(2,10)}var u=function(c,f,e){var g=this;var j={};var b={};g.index=f;if(typeof c=="string"){c={url:c}}t(this,c,true);p(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var n="on"+this;if(n.indexOf("*")!=-1){n=n.substring(0,n.length-1);var m="onBefore"+n.substring(2);g[m]=function(C){s(b,m,C);return g}}g[n]=function(C){s(b,n,C);return g};if(f==-1){if(g[m]){e[m]=g[m]}if(g[n]){e[n]=g[n]}}});t(this,{onCuepoint:function(m,n){if(arguments.length==1){j.embedded=[null,m];return g}if(typeof m=="number"){m=[m]}var C=x();j[C]=[m,n];if(e.isLoaded()){e._api().fp_addCuepoints(m,f,C)}return g},update:function(n){t(g,n);if(e.isLoaded()){e._api().fp_updateClip(n,f)}var C=e.getConfig();var m=(f==-1)?C.clip:C.playlist[f];t(m,n,true)},_fireEvent:function(D,F,C,n){if(D=="onLoad"){p(j,function(H,G){if(G[0]){e._api().fp_addCuepoints(G[0],f,H)}});return false}n=n||g;if(D=="onCuepoint"){var E=j[F];if(E){return E[1].call(e,n,C)}}if(F&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(D)!=-1){t(n,F);if(F.metaData){if(!n.duration){n.duration=F.metaData.duration}else{n.fullDuration=F.metaData.duration}}}var m=true;p(b[D],function(){m=this.call(e,n,F,C)});return m}});if(c.onCuepoint){var k=c.onCuepoint;g.onCuepoint.apply(g,typeof k=="function"?[k]:k);delete c.onCuepoint}p(c,function(n,m){if(typeof m=="function"){s(b,n,m);delete c[n]}});if(f==-1){e.onCuepoint=this.onCuepoint}};var q=function(j,f,g,c){var e={};var k=this;var b=false;if(c){t(e,c)}p(f,function(n,m){if(typeof m=="function"){e[n]=m;delete f[n]}});t(this,{animate:function(E,D,m){if(!E){return k}if(typeof D=="function"){m=D;D=500}if(typeof E=="string"){var n=E;E={};E[n]=D;D=500}if(m){var C=x();e[C]=m}if(D===undefined){D=500}f=g._api().fp_animate(j,E,D,C);return k},css:function(n,m){if(m!==undefined){var C={};C[n]=m;n=C}f=g._api().fp_css(j,n);t(k,f);return k},show:function(){this.display="block";g._api().fp_showPlugin(j);return k},hide:function(){this.display="none";g._api().fp_hidePlugin(j);return k},toggle:function(){this.display=g._api().fp_togglePlugin(j);return k},fadeTo:function(D,m,n){if(typeof m=="function"){n=m;m=500}if(n){var C=x();e[C]=n}this.display=g._api().fp_fadeTo(j,D,m,C);this.opacity=D;return k},fadeIn:function(m,n){return k.fadeTo(1,m,n)},fadeOut:function(m,n){return k.fadeTo(0,m,n)},getName:function(){return j},getPlayer:function(){return g},_fireEvent:function(n,C,m){if(n=="onUpdate"){var E=g._api().fp_getPlugin(j);if(!E){return}t(k,E);delete k.methods;if(!b){p(E.methods,function(){var F=""+this;k[F]=function(){var H=[].slice.call(arguments);var G=g._api().fp_invoke(j,F,H);return G==="undefined"||G===undefined?k:G}});b=true}}var D=e[n];if(D){D.apply(k,C);if(n.substring(0,1)=="_"){delete e[n]}}}})};function A(m,K,n){var M=this,F=null,G,J,j=[],L={},g={},c,I,H,b,k,f;t(M,{id:function(){return c},isLoaded:function(){return(F!==null)},getParent:function(){return m},hide:function(C){if(C){m.style.height="0px"}if(F){F.style.height="0px"}return M},show:function(){m.style.height=f+"px";if(F){F.style.height=k+"px"}return M},isHidden:function(){return F&&parseInt(F.style.height,10)===0},load:function(C){if(!F&&M._fireEvent("onBeforeLoad")!==false){p(B,function(){this.unload()});G=m.innerHTML;if(G&&!flashembed.isSupported(K.version)){m.innerHTML=""}flashembed(m,K,{config:n});if(C){C.cached=true;s(g,"onLoad",C)}}return M},unload:function(){if(G.replace(/\s/g,"")!==""){if(M._fireEvent("onBeforeUnload")===false){return M}try{if(F){F.fp_close()}}catch(C){}F=null;m.innerHTML=G;M._fireEvent("onUnload")}return M},getClip:function(C){if(C===undefined){C=b}return j[C]},getCommonClip:function(){return J},getPlaylist:function(){return j},getPlugin:function(E){var C=L[E];if(!C&&M.isLoaded()){var D=M._api().fp_getPlugin(E);if(D){C=new q(E,D,M);L[E]=C}}return C},getScreen:function(){return M.getPlugin("screen")},getControls:function(){return M.getPlugin("controls")},getConfig:function(C){return C?r(n):n},getFlashParams:function(){return K},loadPlugin:function(N,O,D,E){if(typeof D=="function"){E=D;D={}}var P=E?x():"_";M._api().fp_loadPlugin(N,O,D,P);var Q={};Q[P]=E;var C=new q(N,null,M,Q);L[N]=C;return C},getState:function(){return F?F.fp_getState():-1},play:function(D,E){function C(){if(D!==undefined){M._api().fp_play(D,E)}else{M._api().fp_play()}}if(F){C()}else{M.load(function(){C()})}return M},getVersion:function(){var C="flowplayer.js 3.1.4";if(F){var D=F.fp_getVersion();D.push(C);return D}return C},_api:function(){if(!F){throw"Flowplayer "+M.id()+" not loaded when calling an API method"}return F},setClip:function(C){M.setPlaylist([C]);return M},getIndex:function(){return H}});p(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var D="on"+this;if(D.indexOf("*")!=-1){D=D.substring(0,D.length-1);var C="onBefore"+D.substring(2);M[C]=function(E){s(g,C,E);return M}}M[D]=function(E){s(g,D,E);return M}});p(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed").split(","),function(){var C=this;M[C]=function(E,N){if(!F){return M}var D=null;if(E!==undefined&&N!==undefined){D=F["fp_"+C](E,N)}else{D=(E===undefined)?F["fp_"+C]():F["fp_"+C](E)}return D==="undefined"||D===undefined?M:D}});M._fireEvent=function(D){if(typeof D=="string"){D=[D]}var C=D[0],Q=D[1],S=D[2],T=D[3],U=0;if(n.debug){v(D)}if(!F&&C=="onLoad"&&Q=="player"){F=F||z(I);k=F.clientHeight;p(j,function(){this._fireEvent("onLoad")});p(L,function(O,N){N._fireEvent("onUpdate")});J._fireEvent("onLoad")}if(C=="onLoad"&&Q!="player"){return}if(C=="onError"){if(typeof Q=="string"||(typeof Q=="number"&&typeof S=="number")){Q=S;S=T}}if(C=="onContextMenu"){p(n.contextMenu[Q],function(O,N){N.call(M)});return}if(C=="onPluginEvent"){var X=Q.name||Q;var W=L[X];if(W){W._fireEvent("onUpdate",Q);W._fireEvent(S,D.slice(3))}return}if(C=="onPlaylistReplace"){j=[];var R=0;p(Q,function(){j.push(new u(this,R++,M))})}if(C=="onClipAdd"){if(Q.isInStream){return}Q=new u(Q,S,M);j.splice(S,0,Q);for(U=S+1;U<j.length;U++){j[U].index++}}var E=true;if(typeof Q=="number"&&Q<j.length){b=Q;var V=j[Q];if(V){E=V._fireEvent(C,S,T)}if(!V||E!==false){E=J._fireEvent(C,S,T,V)}}p(g[C],function(){E=this.call(M,Q,S);if(this.cached){g[C].splice(U,1)}if(E===false){return false}U++});return E};function e(){if($f(m)){$f(m).getParent().innerHTML="";H=$f(m).getIndex();B[H]=M}else{B.push(M);H=B.length-1}f=parseInt(m.style.height,10)||m.clientHeight;if(typeof K=="string"){K={src:K}}c=m.id||"fp"+x();I=K.id||c+"_api";K.id=I;K.cachebusting=true;n.playerId=c;if(typeof n=="string"){n={clip:{url:n}}}if(typeof n.clip=="string"){n.clip={url:n.clip}}n.clip=n.clip||{};if(m.getAttribute("href",2)&&!n.clip.url){n.clip.url=m.getAttribute("href",2)}J=new u(n.clip,-1,M);n.playlist=n.playlist||[n.clip];var D=0;p(n.playlist,function(){var E=this;if(typeof E=="object"&&E.length){E={url:""+E}}p(n.clip,function(O,N){if(N!==undefined&&E[O]===undefined&&typeof N!="function"){E[O]=N}});n.playlist[D]=E;E=new u(E,D,M);j.push(E);D++});p(n,function(N,E){if(typeof E=="function"){if(J[N]){J[N](E)}else{s(g,N,E)}delete n[N]}});p(n.plugins,function(N,E){if(E){L[N]=new q(N,E,M)}});if(!n.plugins||n.plugins.controls===undefined){L.controls=new q("controls",null,M)}L.canvas=new q("canvas",null,M);K.bgcolor=K.bgcolor||"#000000";K.version=K.version||[9,0];K.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";function C(E){if(!M.isLoaded()&&M._fireEvent("onBeforeClick")!==false){M.load()}return w(E)}G=m.innerHTML;if(G.replace(/\s/g,"")!==""){if(m.addEventListener){m.addEventListener("click",C,false)}else{if(m.attachEvent){m.attachEvent("onclick",C)}}}else{if(m.addEventListener){m.addEventListener("click",w,false)}M.load()}}if(typeof m=="string"){flashembed.domReady(function(){var C=z(m);if(!C){throw"Flowplayer cannot access element: "+m}else{m=C;e()}})}else{e()}}var B=[];function y(b){this.length=b.length;this.each=function(c){p(b,c)};this.size=function(){return b.length}}window.flowplayer=window.$f=function(){var g=null;var j=arguments[0];if(!arguments.length){p(B,function(){if(this.isLoaded()){g=this;return false}});return g||B[0]}if(arguments.length==1){if(typeof j=="number"){return B[j]}else{if(j=="*"){return new y(B)}p(B,function(){if(this.id()==j.id||this.id()==j||this.getParent()==j){g=this;return false}});return g}}if(arguments.length>1){var e=arguments[1];var f=(arguments.length==3)?arguments[2]:{};if(typeof j=="string"){if(j.indexOf(".")!=-1){var b=[];p(o(j),function(){b.push(new A(this,r(e),r(f)))});return new y(b)}else{var c=z(j);return new A(c!==null?c:j,e,f)}}else{if(j){return new A(j,e,f)}}}return null};t(window.$f,{fireEvent:function(){var c=[].slice.call(arguments);var b=$f(c[0]);return b?b._fireEvent(c.slice(1)):null},addPlugin:function(c,b){A.prototype[c]=b;return $f},each:p,extend:t});if(typeof jQuery=="function"){jQuery.prototype.flowplayer=function(b,c){if(!arguments.length||typeof arguments[0]=="number"){var e=[];this.each(function(){var f=$f(this);if(f){e.push(f)}});return arguments.length?e[arguments[0]]:new y(e)}return this.each(function(){$f(this,r(b),c?r(c):{})})}}})();(function(){var q=typeof jQuery=="function";var m={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(q){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",conf:m}}function k(){if(s.done){return false}var b=document;if(b&&b.getElementsByTagName&&b.getElementById&&b.body){clearInterval(s.timer);s.timer=null;for(var c=0;c<s.ready.length;c++){s.ready[c].call()}s.ready=null;s.done=true}}var s=q?jQuery:function(b){if(s.done){return b()}if(s.timer){s.ready.push(b)}else{s.ready=[b];s.timer=setInterval(k,13)}};function p(b,c){if(c){for(key in c){if(c.hasOwnProperty(key)){b[key]=c[key]}}}return b}function o(e){switch(n(e)){case"string":e=e.replace(new RegExp('(["\\\\])',"g"),"\\$1");e=e.replace(/^\s?(\d+)%/,"$1pct");return'"'+e+'"';case"array":return"["+t(e,function(f){return o(f)}).join(",")+"]";case"function":return'"function()"';case"object":var c=[];for(var b in e){if(e.hasOwnProperty(b)){c.push('"'+b+'":'+o(e[b]))}}return"{"+c.join(",")+"}"}return String(e).replace(/\s/g," ").replace(/\'/g,'"')}function n(b){if(b===null||b===undefined){return false}var c=typeof b;return(c=="object"&&b.push)?"array":c}if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function t(e,f){var b=[];for(var c in e){if(e.hasOwnProperty(c)){b[c]=f(e[c])}}return b}function u(g,e){var j=p({},g);var f=document.all;var w='<object width="'+j.width+'" height="'+j.height+'"';if(f&&!j.id){j.id="_"+(""+Math.random()).substring(9)}if(j.id){w+=' id="'+j.id+'"'}if(j.cachebusting){j.src+=((j.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(j.w3c||!f){w+=' data="'+j.src+'" type="application/x-shockwave-flash"'}else{w+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}w+=">";if(j.w3c||f){w+='<param name="movie" value="'+j.src+'" />'}j.width=j.height=j.id=j.w3c=j.src=null;for(var c in j){if(j[c]!==null){w+='<param name="'+c+'" value="'+j[c]+'" />'}}var v="";if(e){for(var b in e){if(e[b]!==null){v+=b+"="+(typeof e[b]=="object"?o(e[b]):e[b])+"&"}}v=v.substring(0,v.length-1);w+='<param name="flashvars" value=\''+v+"' />"}w+="</object>";return w}function r(b,j,c){var e=flashembed.getVersion();p(this,{getContainer:function(){return b},getConf:function(){return j},getVersion:function(){return e},getFlashvars:function(){return c},getApi:function(){return b.firstChild},getHTML:function(){return u(j,c)}});var g=j.version;var f=j.expressInstall;var v=!g||flashembed.isSupported(g);if(v){j.onFail=j.version=j.expressInstall=null;b.innerHTML=u(j,c)}else{if(g&&f&&flashembed.isSupported([6,65])){p(j,{src:f});c={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};b.innerHTML=u(j,c)}else{if(b.innerHTML.replace(/\s/g,"")!==""){}else{b.innerHTML="<h2>Flash version "+g+" or greater is required</h2><h3>"+(e[0]>0?"Your version is "+e:"You have no flash plugin installed")+"</h3>"+(b.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(b.tagName=="A"){b.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}}}}if(!v&&j.onFail){var w=j.onFail.call(this);if(typeof w=="string"){b.innerHTML=w}}if(document.all){window[j.id]=document.getElementById(j.id)}}window.flashembed=function(c,b,e){if(typeof c=="string"){var g=document.getElementById(c);if(g){c=g}else{s(function(){flashembed(c,b,e)});return}}if(!c){return}if(typeof b=="string"){b={src:b}}var f=p({},m);p(f,b);return new r(c,f,e)};p(window.flashembed,{getVersion:function(){var b=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var c=navigator.plugins["Shockwave Flash"].description;if(typeof c!="undefined"){c=c.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var w=parseInt(c.replace(/^(.*)\..*$/,"$1"),10);var f=/r/.test(c)?parseInt(c.replace(/^.*r(.*)$/,"$1"),10):0;b=[w,f]}}else{if(window.ActiveXObject){try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(g){try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=[6,0];j.AllowScriptAccess="always"}catch(e){if(b[0]==6){return b}}try{j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(v){}}if(typeof j=="object"){c=j.GetVariable("$version");if(typeof c!="undefined"){c=c.replace(/^\S+\s+(.*)$/,"$1").split(",");b=[parseInt(c[0],10),parseInt(c[2],10)]}}}}return b},isSupported:function(e){var b=flashembed.getVersion();var c=(b[0]>e[0])||(b[0]==e[0]&&b[1]>=e[1]);return c},domReady:s,asString:o,getHTML:u});if(q){jQuery.fn.flashembed=function(c,e){var b=null;this.each(function(){b=flashembed(this,c,e)});return c.api===false?this:b}}})();(function(e){var b=e.scrollTo=function(f,g,j){e(window).scrollTo(f,g,j)};b.defaults={axis:"xy",duration:parseFloat(e.fn.jquery)>=1.3?0:1};b.window=function(f){return e(window)._scrollable()};e.fn._scrollable=function(){return this.map(function(){var f=this,g=!f.nodeName||e.inArray(f.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!g){return f}var j=(f.contentWindow||f).document||f.ownerDocument||f;return e.browser.safari||j.compatMode=="BackCompat"?j.body:j.documentElement})};e.fn.scrollTo=function(k,g,f){if(typeof g=="object"){f=g;g=0}if(typeof f=="function"){f={onAfter:f}}if(k=="max"){k=9000000000}f=e.extend({},b.defaults,f);g=g||f.speed||f.duration;f.queue=f.queue&&f.axis.length>1;if(f.queue){g/=2}f.offset=c(f.offset);f.over=c(f.over);return this._scrollable().each(function(){var w=this,p=e(w),v=k,n,o={},j=p.is("html,body");switch(typeof v){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(v)){v=c(v);break}v=e(v,this);case"object":if(v.is||v.style){n=(v=e(v)).offset()}}e.each(f.axis.split(""),function(s,t){var x=t=="x"?"Left":"Top",u=x.toLowerCase(),z="scroll"+x,r=w[z],q=b.max(w,t);if(n){o[z]=n[u]+(j?0:r-p.offset()[u]);if(f.margin){o[z]-=parseInt(v.css("margin"+x))||0;o[z]-=parseInt(v.css("border"+x+"Width"))||0}o[z]+=f.offset[u]||0;if(f.over[u]){o[z]+=v[t=="x"?"width":"height"]()*f.over[u]}}else{var y=v[u];o[z]=y.slice&&y.slice(-1)=="%"?parseFloat(y)/100*q:y}if(/^\d+$/.test(o[z])){o[z]=o[z]<=0?0:Math.min(o[z],q)}if(!s&&f.queue){if(r!=o[z]){m(f.onAfterFirst)}delete o[z]}});m(f.onAfter);function m(q){p.animate(o,g,f.easing,q&&function(){q.call(this,k,f)})}}).end()};b.max=function(j,k){var o=k=="x"?"Width":"Height",n="scroll"+o;if(!e(j).is("html,body")){return j[n]-e(j)[o.toLowerCase()]()}var p="client"+o,g=j.ownerDocument.documentElement,f=j.ownerDocument.body;return Math.max(g[n],f[n])-Math.min(g[p],f[p])};function c(f){return typeof f=="object"?f:{top:f,left:f}}})(jQuery);(function(b){b.fn.lightBox=function(v){v=jQuery.extend({overlayBgColor:"#000",overlayOpacity:0.8,fixedNavigation:false,imageLoading:"/static/images/global/lightbox/lightbox-ico-loading.gif",imageBtnPrev:"/static/images/global/lightbox/lightbox-btn-prev.gif",imageBtnNext:"/static/images/global/lightbox/lightbox-btn-next.gif",imageBtnClose:"/static/images/global/lightbox/lightbox-btn-close.gif",imageBlank:"/static/images/global/lightbox/lightbox-blank.gif",containerBorderSize:10,containerResizeSpeed:400,txtImage:"Image",txtOf:"of",keyToClose:"c",keyToPrev:"p",keyToNext:"n",imageArray:[],activeImage:0,showDescription:2,parent_div_id:null},v);var n=this;var t=b("#"+v.parent_div_id).parent();function x(){u(this,n);return false}function u(B,A){b("embed, object, select").css({visibility:"hidden"});e();v.imageArray.length=0;v.activeImage=0;if(A.length==1){v.imageArray.push(new Array(B.getAttribute("href"),B.getAttribute("title")))}else{for(var z=0;z<A.length;z++){v.imageArray.push(new Array(A[z].getAttribute("href"),A[z].getAttribute("title")))}}while(v.imageArray[v.activeImage][0]!=B.getAttribute("href")){v.activeImage++}q()}function e(){b("body").append('<div id="jquery-overlay" class="jquery-overlay"></div><div id="jquery-lightbox"><div id="lightbox-container-image-box"><div id="lightbox-container-image"><img id="lightbox-image"><div style="" id="lightbox-nav"><a href="#" id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-btnNext"></a></div><div id="lightbox-loading"><a href="#" id="lightbox-loading-link"><img src="'+v.imageLoading+'"></a></div></div></div><div id="lightbox-container-image-data-box"><div id="lightbox-container-image-data"><div id="lightbox-image-details"><span id="lightbox-image-details-caption"></span></div><div id="lightbox-secNav"><span id="lightbox-image-details-currentNumber"></span><a href="#" id="lightbox-secNav-btnClose"><img src="'+v.imageBtnClose+'"></a></div></div></div></div>');var z=j();b("#jquery-overlay").css({backgroundColor:v.overlayBgColor,opacity:v.overlayOpacity,width:z[0],height:z[1]+5000}).fadeIn();var A=m();b("#jquery-lightbox").css({top:A[1]+(z[3]/10),left:A[0]}).show();b("#jquery-overlay,#jquery-lightbox").click(function(){c()});b("#lightbox-loading-link,#lightbox-secNav-btnClose").click(function(){c();return false});b(window).resize(function(){var B=j();b("#jquery-overlay").css({width:B[0],height:B[1]+5000});var C=m();b("#jquery-lightbox").css({top:C[1]+(B[3]/10),left:C[0]})})}function q(){b("#lightbox-loading").show();if(v.fixedNavigation){b("#lightbox-image,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()}else{b("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()}var z=new Image();z.onload=function(){b("#lightbox-image").attr("src",v.imageArray[v.activeImage][0]);o(z.width,z.height);z.onload=function(){}};z.src=v.imageArray[v.activeImage][0]}function o(C,F){var z=b("#lightbox-container-image-box").width();var E=b("#lightbox-container-image-box").height();var D=(C+(v.containerBorderSize*2));var B=(F+(v.containerBorderSize*2));var A=z-D;var G=E-B;b("#lightbox-container-image-box").animate({width:D,height:B},v.containerResizeSpeed,function(){k()});if((A==0)&&(G==0)){if(b.browser.msie){s(250)}else{s(100)}}b("#lightbox-container-image-data-box").css({width:C});b("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({height:F+(v.containerBorderSize*2)})}function k(){b("#lightbox-loading").hide();b("#lightbox-image").fadeIn(function(){p();y();b("#lightbox-image-details-currentNumber").fadeIn()});w()}function p(){b("#lightbox-container-image-data-box").slideDown("fast");b("#lightbox-image-details-caption").hide();if(v.imageArray[v.activeImage][1]){if(v.showDescription==1){var H=t.css("font-family");var D=t.css("color");var I=t.css("font-size");var J=t.css("font-weight");var z=t.css("font-style");var A=t.css("font-variant");var B=t.css("text-align");var F=t.css("text-decoration");var G=t.css("text-transform");var E=t.css("white-space");var C=b("#lightbox-image-details-caption");if(H){C.css("font-family",H)}if(D){C.css("color",D)}if(I){C.css("font-size",I)}if(J){C.css("font-weight",J)}if(z){C.css("font-style",z)}if(A){C.css("font-variant",A)}if(B){C.css("text-align",B)}if(F){C.css("text-decoration",F)}if(G){C.css("text-transform",G)}if(E){C.css("white-space",E)}C.html(v.imageArray[v.activeImage][1]).show()}else{b("#lightbox-image-details-caption").html("&nbsp;").show()}}if(v.imageArray.length>1){b("#lightbox-image-details-currentNumber").html(v.txtImage+" "+(v.activeImage+1)+" "+v.txtOf+" "+v.imageArray.length)}}function y(){b("#lightbox-nav").show();b("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({background:"transparent url("+v.imageBlank+") no-repeat"});if(v.activeImage!=0){if(v.fixedNavigation){b("#lightbox-nav-btnPrev").css({background:"url("+v.imageBtnPrev+") left 15% no-repeat"}).unbind().bind("click",function(){v.activeImage=v.activeImage-1;q();return false})}else{b("#lightbox-nav-btnPrev").unbind().hover(function(){b(this).css({background:"url("+v.imageBtnPrev+") left 15% no-repeat"})},function(){b(this).css({background:"transparent url("+v.imageBlank+") no-repeat"})}).show().bind("click",function(){v.activeImage=v.activeImage-1;q();return false})}}if(v.activeImage!=(v.imageArray.length-1)){if(v.fixedNavigation){b("#lightbox-nav-btnNext").css({background:"url("+v.imageBtnNext+") right 15% no-repeat"}).unbind().bind("click",function(){v.activeImage=v.activeImage+1;q();return false})}else{b("#lightbox-nav-btnNext").unbind().hover(function(){b(this).css({background:"url("+v.imageBtnNext+") right 15% no-repeat"})},function(){b(this).css({background:"transparent url("+v.imageBlank+") no-repeat"})}).show().bind("click",function(){v.activeImage=v.activeImage+1;q();return false})}}r()}function r(){b(document).keydown(function(z){f(z)})}function g(){b(document).unbind()}function f(z){if(z==null){keycode=event.keyCode;escapeKey=27}else{keycode=z.keyCode;escapeKey=z.DOM_VK_ESCAPE}key=String.fromCharCode(keycode).toLowerCase();if((key==v.keyToClose)||(key=="x")||(keycode==escapeKey)){c()}if((key==v.keyToPrev)||(keycode==37)){if(v.activeImage!=0){v.activeImage=v.activeImage-1;q();g()}}if((key==v.keyToNext)||(keycode==39)){if(v.activeImage!=(v.imageArray.length-1)){v.activeImage=v.activeImage+1;q();g()}}}function w(){if((v.imageArray.length-1)>v.activeImage){objNext=new Image();objNext.src=v.imageArray[v.activeImage+1][0]}if(v.activeImage>0){objPrev=new Image();objPrev.src=v.imageArray[v.activeImage-1][0]}}function c(){b("#jquery-lightbox").remove();b("#jquery-overlay").fadeOut(function(){b("#jquery-overlay").remove()});b("embed, object, select").css({visibility:"visible"})}function j(){var B,z;if(window.innerHeight&&window.scrollMaxY){B=window.innerWidth+window.scrollMaxX;z=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){B=document.body.scrollWidth;z=document.body.scrollHeight}else{B=document.body.offsetWidth;z=document.body.offsetHeight}}var A,C;if(self.innerHeight){if(document.documentElement.clientWidth){A=document.documentElement.clientWidth}else{A=self.innerWidth}C=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){A=document.documentElement.clientWidth;C=document.documentElement.clientHeight}else{if(document.body){A=document.body.clientWidth;C=document.body.clientHeight}}}if(z<C){pageHeight=C}else{pageHeight=z}if(B<A){pageWidth=B}else{pageWidth=A}arrayPageSize=new Array(pageWidth,pageHeight,A,C);return arrayPageSize}function m(){var A,z;if(self.pageYOffset){z=self.pageYOffset;A=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){z=document.documentElement.scrollTop;A=document.documentElement.scrollLeft}else{if(document.body){z=document.body.scrollTop;A=document.body.scrollLeft}}}arrayPageScroll=new Array(A,z);return arrayPageScroll}function s(B){var A=new Date();z=null;do{var z=new Date()}while(z-A<B)}return this.unbind("click").click(x)}})(jQuery);(function(b){if(!(b.iv)){b.extend({iv:{}})}b.fn.iv_photogallery=function(c){return this.each(function(){new b.iv.photogallery(this,c)})};b.iv.photogallery=function(aj,I){I=b.extend({photogallery_id:null,display_options:null,image_list:null,gallery_dropdowns:null,left_button_name:null,right_button_name:null,pause_button_name:null,order_num_container_name:null,images_container_name:null,ul_name:null,description_container_name:null,p_name:null,loading_container_name:null,current_page_num_name:null,max_page_num_name:null,show_description:null,type:null,txtImage:null,txtOf:null},I);b.data(aj,"photogallery_"+I.photogallery_id,this);var ag=b(aj);var D=ag.parent().parent();var al=b("div."+I.images_container_name,ag);var ac=b("ul."+I.ul_name,ag);var O=b("div."+I.description_container_name,ag);var W=b("p."+I.p_name,ag);var k=b("div."+I.loading_container_name,ag);var f=b("#"+I.order_num_container_name,ag);var V=b("div.pagination_container",ag);var z=b("span.pagination_current",ag);var q=b("span.pagination_total",ag);var af=b("#"+I.current_page_num_name,ag);var ai=b("#"+I.max_page_num_name,ag);var P=b("div.pagination_controls",ag);var R=b("span.images_showing_start",ag);var Z=b("span.images_showing_end",ag);var B=b("div.images_container",ag);var T=b("span."+I.left_button_name,ag);var ah=b("span."+I.right_button_name,ag);var X=b("span."+I.pause_button_name,ag);var ae=I.photogallery_id;var F=JSON.parse(I.display_options);var S=JSON.parse(I.image_list);var an=JSON.parse(I.gallery_dropdowns);var ap=I.show_description;var aq=I.type;var ab;if(S.length>0){var ad=S[0];if(aq=="preview"){ab=ad.preview_url}else{if(aq=="final_design"){ab=ad.final_design_url}else{ab=ad.publish_url}}}var o=S.length||0;var p=f.val();var v=af.val();var ak=ai.val();var Q=0;var Y=null;var am=1;var L=parseInt(R.html());var s=parseInt(Z.html());var C=F.gallery_type_selected;var U=an.gallery_types[C].toLowerCase();var n=new RegExp(/\s+/g);var t=U.replace(n,"_");var G=an.gallery_types[C];var r=F[G]["large_image_style"];switch(t){case ("single_image"):x();break;case ("grid"):u();break;case ("filmstrip_1"):A(t);break;case ("filmstrip_2"):A(t);break;case ("slideshow"):c();break}function x(){E();k.show();if(S.length>0){T.unbind("click").click(function(){y("left","single_image");return false});ah.unbind("click").click(function(){y("right","single_image");return false});if(p>0&&o>1){ah.show()}if((p<(o-1))&&(!(p==0))){T.show()}}k.hide()}function u(){E();if(r==1){b("img",al).each(function(at){var au=S[at];b(this).click(function(){ao(au);return false})})}else{b(function(){var at={txtImage:I.txtImage,txtOf:I.txtOf,showDescription:ap,parent_div_id:"photogallery_"+I.photogallery_id};b('img[rel*="lightbox"]',ag).lightBox(at)})}var ar=b("li.page_selected",ac);if(ar.next().length){ah.unbind("click").css("color","blue").click(function(){e("right");return false})}else{ah.css("color","black");ah.unbind("click")}if(ar.prev().length){T.unbind("click").css("color","blue").click(function(){e("left");return false})}else{T.css("color","black");T.unbind("click")}k.hide()}function c(){E();k.show();if(S.length>0){X.unbind("click").click(function(){g();return false});ah.unbind("click").click(function(){M();return false})}k.hide()}function A(ar){E();k.show();if(S.length>0){if(ar=="filmstrip_1"){b("img",al).each(function(au){var av=S[au];b(this).click(function(){j(av);b("li.img_selected",ag).removeClass("img_selected");b(this).parent().parent().addClass("img_selected");f.val(au);return false})})}else{if(ar=="filmstrip_2"){if(r==1){b("img",al).each(function(au){var av=S[au];b(this).click(function(){J(av);b("li.img_selected",ag).removeClass("img_selected");b(this).parent().parent().addClass("img_selected");f.val(au);return false})})}else{b(function(){var au={txtImage:I.txtImage,txtOf:I.txtOf,showDescription:ap,parent_div_id:"photogallery_"+I.photogallery_id};b('img[rel*="lightbox"]',ag).lightBox(au)})}}}var at=b("li.page_selected",ac);if(at.next().length){ah.unbind("click").click(function(){e("right");return false})}else{ah.unbind("click")}if(at.prev().length){T.unbind("click").click(function(){e("left");return false})}else{T.unbind("click")}}k.hide()}function E(){v=1;af.val(v);p=0;f.val(p)}function M(){ah.unbind("click");am=0;ah.hide();X.show();if(f.val()<o-1){y("right","slideshow")}else{m()}var ar=F[G]["delay"]||"5";var at=ar*1000;if(at<850){at="850"}setInterval(function(){if(am==0){X.unbind("click");if(f.val()==o-1){m()}else{y("right","slideshow")}X.click(function(){g();return false})}},at)}function m(){var ar=b("li.img_selected",ac);ar.removeClass("img_selected");f.val(0);var av=b("li:eq(0)",ac);av.addClass("img_selected");var au=S[0];if(au.description){W.fadeOut("slow",function(){W.html(au.description)}).fadeIn("slow")}else{W.fadeOut("slow",function(){W.empty()})}var at=function(){k.hide()};k.show();al.scrollTo(av,800,at)}function g(){X.unbind("click");ah.unbind("click").click(function(){K();return false});am=1;X.hide();ah.show()}function K(){ah.unbind("click");X.unbind("click").click(function(){g();return false});am=0;X.show();ah.hide()}function e(at){if((Q)||(v==1&&at=="left")||((ak==v)&&at=="right")){return(1)}Q=1;var au=null;var ar=v;var az=b("li.page_selected",ac);var ay=0;var ax=0;if(at=="left"){au=az.prev();ar--;var aw=b("img",au);ay=parseInt(L)-aw.length;ax=parseInt(L)-1}else{au=az.next();ar++;var aw=b("img",au);ay=parseInt(s)+1;ax=parseInt(s)+aw.length}R.html(ay);L=ay;Z.html(ax);s=ax;af.val(ar);v=ar;az.removeClass("page_selected");au.addClass("page_selected");var av=function(){Q=0};al.scrollTo(au,800,av);if(au.next().length){ah.unbind("click").css("color","blue").click(function(){e("right");return false})}else{ah.css("color","black");ah.unbind("click")}if(au.prev().length){T.unbind("click").css("color","blue").click(function(){e("left");return false})}else{T.unbind("click").css("color","black")}}function j(aA){var ar=ab+aA.thumbnail_thumb_path+t+"_thumbnail_"+aA.filecabinet_file_id+"_"+aA.unique_id+aA.thumbnail_extension;var az=aA.description;var aB=aA.image_url_link;var ax={id:"photogallery_image_"+aA.filecabinet_file_id,src:ar};var at=b('<img style="padding:0px; margin:0px;"></img>').attr(ax);var au=b("div.main_image_container",ag);var aD=b("div.sub_image_container",au);if(aB){var av=aB;var aw="";var ay="_self";if(!(aB.match(/http:\/\//)||aB.match(/https:\/\//))){aw="http://"}if(aA.click_option==2){ay="_blank"}var aC=b('<a style="text-decoration:none;" href="'+aw+av+'" target="'+ay+'"></a>');aC.html(at);at=aC}else{}aD.empty();aD.html(at);if(az&&(ap==1)){O.empty();O.html('<p style="padding:0px; height:30px; overflow-x: hidden; overflow-y: auto; margin:0px;">'+az+"</p>")}else{if(ap==1){O.html('<p style="padding:0px; margin:0px; height:30px; overflow-x: hidden; overflow-y: auto;"></p>')}else{O.html('<p style="padding:0px; margin:0px; height:30px; overflow-x: hidden; overflow-y: auto; display:none;"></p>')}}}function J(ar){ao(ar)}function ao(ar){var at=new Image();at.onload=function(){N(ar,at)};if(ar.original_image_path){at.src=ab+ar.original_image_path+"/"+ar.original_image_name}else{at.src=ab+ar.original_image_name}b("<div></div>").addClass("photogallery_overlay").addClass("photogallery_thumbnail_overlay").css("z-index",10100).appendTo("body").unbind("click").click(w)}function N(au,aH){aH.onload=null;var aJ=ab+au.original_image_name;if(au.original_image_path){aJ=ab+au.original_image_path+"/"+au.original_image_name}var aI=au.description;if(Y){Y==null}if(!Y){Y=b('<div class="photogallery_preview_window" style="font-size:0px"><img></img></div>').appendTo("body");var aG=b('<div class="photogallery_preview_close"></div>');var av=b('<div class="photogallery_preview_description"></div>');var az=D.css("font-family");var aB=D.css("color");var ar=D.css("font-size");var ay=D.css("font-weight");var aD=D.css("font-style");var aN=D.css("font-variant");var aM=D.css("text-align");var aO=D.css("text-decoration");var ax=D.css("text-transform");var aw=D.css("white-space");if(az){av.css("font-family",az)}if(aB){av.css("color",aB)}if(ar){av.css("font-size",ar)}if(ay){av.css("font-weight",ay)}if(aD){av.css("font-style",aD)}if(aN){av.css("font-variant",aN)}if(aM){av.css("text-align",aM)}if(aO){av.css("text-decoration",aO)}if(ax){av.css("text-transform",ax)}if(aw){av.css("white-space",aw)}aG.appendTo(Y);av.appendTo(Y);b("div.photogallery_preview_close",Y).unbind("click").click(w)}var aF=aH.width-20;if(aI&&ap==1){b("div.photogallery_preview_description",Y).html('<p style="padding:0px; width:'+aF+'px; height:auto; margin:0px;">'+aI+"</p>")}else{if(ap==1){b("div.photogallery_preview_description",Y).html('<p style="padding:0px; width:'+aF+'px; height:auto; margin:0px;"></p>')}else{b("div.photogallery_preview_description",Y).html('<p style="padding:0px; width:'+aF+'px; height:auto; margin:0px; display:none;"></p>')}}var aL=aH.width;var aK=aH.height;var aC=b(window).width();var aA=b(window).height();if(aK>aA){aK=aA-40}b("img",Y).attr("src",aJ).unbind("click").click(w).attr("height",aK);var at=0-(parseInt(Y.width())/2);var aE=0-(parseInt(Y.height())/2);if(b.browser.msie&&(b.browser.version<7)){aE+=b(window).scrollTop();b("select").hide()}Y.css({"margin-top":aE+"px","margin-left":at+"px"}).show()}function w(){Y.hide();b("div.photogallery_thumbnail_overlay").remove()}function aa(at){var au=ab+"/"+at.original_image_path+"/"+at.original_image_name;var at={id:"photogallery_image_"+at.filecabinet_file_id,src:au};var ar=b('<img style="padding:5px;"></img>').attr(at);return(ar)}function H(aw){var az=ab+aw.thumbnail_thumb_path;var ar=aw.original_image_name;var ay=aw.description;var av=ab+aw.original_image_path+"/"+aw.original_image_name;var au="photogallery_image_"+aw.filecabinet_file_id;var ax={id:au,src:az};if(ay){ax.title=ay}else{ax.title=ar}var at=b('<img rel="lightbox[gallery]" href="'+av+'"></img>').attr(ax);return(at)}function y(ar,au){if((Q)||(p==0&&ar=="left")||((o==p)&&ar=="right")){return(1)}Q=1;p=f.val();var ay=null;var aw=p;var at=b("li.img_selected",ac);if(ar=="left"){ay=at.prev();aw--;p--}else{ay=at.next();aw++;p++}f.val(aw);at.removeClass("img_selected");ay.addClass("img_selected");var av=function(){Q=0};al.scrollTo(ay,800,av);var ax=S[aw];if(au!="grid"){if(ax.description){if(ap==1){W.fadeOut("slow",function(){W.html(ax.description)}).fadeIn("slow")}}else{W.fadeOut("slow",function(){W.empty()})}}if((au!="slideshow")&&(au!="grid")){if(ay.next().length){ah.show()}else{ah.hide()}if(ay.prev().length){T.show()}else{T.hide()}}}};b.fn.iv_socialnetwork=function(c){return this.each(function(){new b.iv.socialnetwork(this,c)})};b.iv.socialnetwork=function(m,w){w=b.extend({name:null,id:null,url:null,path:null,title:null,browser:null,ws_name:null},w);b.data(m,w.name+"_"+w.id,this);var t=b(m);var q=w.id;var g=w.name;var j=w.url;var v=w.path;var c=b("img",t);var f=w.name+"_"+w.id;var s=w.title;var p=w.ws_name;if((g=="socialnetwork")||(g=="socialnetwork5")){var o="_blank";if(g=="socialnetwork"){var u=b('<a target="'+o+'" style="text-decoration:none; padding:0px; margin:0px; border:0px; display:block;" href="http://www.facebook.com/share.php?u='+j+'"></a>');u.html(c);t.empty();t.html(u)}else{var r=/\//;v=v.replace(r,"");var k="url="+j;k=k+"&srcURL="+j;if(s){if(s.match(p)){k=k+"&title="+s;k=k+"&srcTitle="+s}else{k=k+"&title="+p+" - "+s;k=k+"&srcTitle="+p+" - "+s}}else{if(p){k=k+"&title="+p;k=k+"&srcTitle="+p}else{k=k+"&title="+j;k=k+"&srcTitle="+j}}var u=b('<a target="_blank" style="text-decoration:none; padding:0px; margin:0px; border:0px; display:block;" href="http://www.google.com/buzz/post?'+k+'"></a>');u.html(c);t.empty();t.html(u)}}else{j=decodeURI(j);var n={version:"2.0.1",login:"ivenue",apiKey:"R_064320bbb6b53267e152fa2317b0e72b",history:"0",longUrl:j};var e="http://api.bit.ly/shorten?version="+n.version+"&longUrl="+n.longUrl+"&login="+n.login+"&apiKey="+n.apiKey+"&history="+n.history+"&format=json&callback=?";b.getJSON(e,function(B){var A=B.errorCode;var y;var x;if(A>0){var y=B.errorMessage}else{var D=B.results[n.longUrl].errorCode;if(D>0){y=B.results[n.longUrl].errorMessage}else{x=B.results[n.longUrl].shortUrl}}if(y){c.click(function(){alert(y);return false})}else{var C="_blank";var z=null;if(g=="socialnetwork3"){var z=b('<a target="'+C+'" style="text-decoration:none; padding:0px; margin:0px; border:0px; display:block;" href="http://twitter.com/home/?status='+x+'"></a>')}else{var z=b('<a target="'+C+'" style="text-decoration:none; padding:0px; margin:0px; border:0px; display:block;" href="http://www.plurk.com/m?qualifier=shares&content='+x+'"></a>')}z.html(c);t.empty();t.html(z)}})}};$.fn.iv_unselectable=function(){return(this.each(function(){$(this).css("-moz-user-select","none").css("-khtml-user-select","none").css("-o-user-select","none").css("user-select","none");if($.browser.msie){$(this).each(function(){this.ondrag=function(){return(false)};this.onselectstart=function(){return(false)}})}else{if($.browser.opera){$(this).attr("unselectable","on")}}}))};$.fn.iv_initial_text=function(c){return(this.each(function(){new $.iv.initial_text(this,c)}))};$.iv.initial_text=function(f,e){var e=$.extend({initial_text:""},e);var c=$(f);c.focus(function(){if(c.val()==e.initial_text){c.val("")}});c.blur(function(){if(c.val()==""){c.val(e.initial_text)}})}})(jQuery);function num(b,c){return b[0]&&parseInt(jQuery.curCSS(b[0],c,true),10)||0}var open_sub_menus=[];var current_menu_item;var current_parent_menu;var hide_timeouts=[];function _show_sub_menu(b,k){var r=jQuery(b).attr("id");while(hide_timeouts.length){clearTimeout(hide_timeouts.pop())}if(open_sub_menus.length){if(k==current_parent_menu){var c=open_sub_menus.pop();c.css("visibility","hidden")}else{if(!k){while(open_sub_menus.length){var c=open_sub_menus.pop();c.css("visibility","hidden")}}}}current_parent_menu=k;var q=jQuery("#sub_"+r);open_sub_menus.push(q);var f=q.parents("div:first");q.css("visibility","visible");q.show();var s=jQuery(b).css("padding-left");var o=jQuery(b).css("padding-right");s=parseInt(s.replace(/px/,""));o=parseInt(o.replace(/px/,""));var n;if(q.attr("menu_position")){n=q.attr("menu_position")}if(n=="top"){if(k){q.css("top",jQuery(b).position().top-parseInt(q.css("padding-top").replace(/px/,"")));if(jQuery(b).offset().left+jQuery(b).width()+s+o+q.width()>document.documentElement.clientWidth){q.css("left",jQuery(b).position().left-q.width())}else{q.css("left",jQuery(b).position().left+jQuery(b).width()+s+o)}}else{var u;if(f.css("position")){var p=jQuery(b);u=p.position().top+p.height()+parseInt(p.css("padding-top").replace(/px/,""))+parseInt(p.css("padding-bottom").replace(/px/,""))}q.css("top",u);if(jQuery(b).offset().left-parseInt(q.css("padding-left").replace(/px/,""))+q.width()>document.documentElement.clientWidth){q.css("left",document.documentElement.clientWidth-q.width())}else{q.css("left",jQuery(b).position().left-parseInt(q.css("padding-left").replace(/px/,"")))}}}else{if(n=="left"){var g=parseInt(q.css("padding-top").replace(/px/,""));if(k){if(jQuery(b).offset().top+q.height()>document.documentElement.scrollHeight){var w=jQuery(b).offset().top+q.height()-document.documentElement.scrollHeight;q.css("top",jQuery(b).position().top-w)}else{q.css("top",jQuery(b).position().top-parseInt(q.css("padding-top").replace(/px/,"")))}}else{if(jQuery(b).position().top-g+q.height()>document.documentElement.scrollHeight){q.css("top",document.documentElement.scrollHeight-q.height()-f.offset().top)}else{q.css("top",jQuery(b).position().top-parseInt(q.css("padding-top").replace(/px/,"")))}}q.css("left",jQuery(b).position().left+jQuery(b).width()+s+o)}else{if(n=="right"){var e=jQuery(q).css("padding-left");var v=jQuery(q).css("padding-right");e=parseInt(e.replace(/px/,""));v=parseInt(v.replace(/px/,""));var t=jQuery(q).width();var m=400;if(t>=m){t=m;jQuery(q).width(m)}q.css("top",jQuery(b).position().top-parseInt(q.css("padding-top").replace(/px/,"")));var j;if(jQuery(b).offset().left-t-e-v<0){j=jQuery(b).position().left+t+e+v}else{j=jQuery(b).position().left-t-e-v}q.css("left",j)}else{if(n=="bottom"){if(k){q.css("top",jQuery(b).position().top-q.height()+jQuery(b).height());if(jQuery(b).offset().left+jQuery(b).width()+s+o+q.width()>document.documentElement.clientWidth){q.css("left",jQuery(b).position().left-q.width())}else{q.css("left",jQuery(b).position().left+jQuery(b).width()+s+o)}}else{var u;if(f.css("position")){var p=jQuery(b);u=p.position().top-parseInt(p.css("padding-top").replace(/px/,""))-q.height()}q.css("top",u);if(jQuery(b).offset().left-parseInt(q.css("padding-left").replace(/px/,""))+q.width()>document.documentElement.clientWidth){q.css("left",document.documentElement.clientWidth-q.width())}else{q.css("left",jQuery(b).position().left-parseInt(q.css("padding-left").replace(/px/,"")))}}}}}}q.css("z-index",50000)}function _hide_sub_menus(b){var c;if(b){c=1}else{c=500}hide_timeouts.push(setTimeout(function(){if(!current_menu_item){while(open_sub_menus.length){var e=open_sub_menus.pop();e.css("visibility","hidden")}}},c))}(function(b){b.fn.iv_button_select=function(c){return this.each(function(){new b.iv.button_select(this,c)})};b.iv.button_select=function(g,q){b.data(g,"button_select",this);q=b.extend({button_label:null,classes:null,on_button_click:null,options:[],select_id:null,select_name:null,selected:null},q);select_options=JSON.parse(q.options||[]);var p=b(g);var k=q.selected;var j=false;this.refresh_position=o;m();function o(){var v=b(".button_select_container",p);var t=b(".button_select_dropdown_container",p);var z=v.parent().position();t.css({"min-width":null});var s=t.width();var A=t.height();var u=z.left;var x=z.top;var y=v.width();var w=v.height();if(v.width()>t.width()){s=v.width()}t.css({"min-width":s});s=t.width();if(b(window).width()<(u+s)){u=u+y-s}t.css({left:u});if(b(window).height()<(w+x+A-b(window).scrollTop())){x=x-A}else{x=x+w}t.css({top:x})}function m(){r();c();p.click(function(s){b("body").one("click",function(){n()});s.stopPropagation()});b(window).unbind("resize",o);b(window).bind("resize",o)}function r(){p.empty();var t=b('<span class="button_select_container"></span>');var u=b('<span class="button_select_label"><span>'+q.button_label+"</span></span>");if(q.on_button_click){u.click(q.on_button_click)}u.hover(function(){b(this).addClass("hover")},function(){b(this).removeClass("hover")});var s;if(select_options.length>1){s=b('<span class="button_select_expand_btn"><span>▼</span></span>').click(f);s.hover(function(){b(this).addClass("hover")},function(){b(this).removeClass("hover")})}p.append(t);t.append(u);if(select_options.length>1){t.append(s)}t.append('<input class="button_select_value" id="'+q.select_id+'" name="'+((q.select_name)?q.select_name:q.select_id)+'" type="hidden" value="'+k+'"/>');var v=b('<div class="button_select_dropdown_container"></div>');v.iv_unselectable();var w=t.position();v.css({position:"absolute",left:w.left});v.addClass("hidden");p.append(v)}function f(){o();if(!j){e()}else{n()}}function n(){b(".button_select_expand_btn",p).removeClass("expanded");var s=b(".button_select_dropdown_container",p);s.addClass("hidden");j=false}function e(){b(".button_select_expand_btn",p).addClass("expanded");var s=b(".button_select_dropdown_container",p);s.removeClass("hidden");j=true}function c(){var s=b(".button_select_dropdown_container",p);s.empty();b.each(select_options,function(){var u=this;var t=b('<div class="button_select_option" value="'+u.id+'"><span unselectable="on">'+u.string+"</span></div>");t.click(function(){var v=b(this).attr("value");var w=b(".button_select_label span",p);w.empty().html(b(this).html());k=v;b("#"+q.select_id).val(k);n()});t.hover(function(){b(this).addClass("hover")},function(){b(this).removeClass("hover")});s.append(t);s.iv_unselectable()})}}})(jQuery);
