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;ia){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)[^>]*$|#([\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(;bR0){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(;bR1?aF.call(arguments,0):br;if(!(--bn)){e.resolveWith(e,aF.call(bk,0))}}}if(bo>1){for(;bl
a";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="";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="
";c.support.shrinkWrapBlocks=bw.offsetWidth!==2}bw.innerHTML="
t
";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-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=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=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-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;bmbm){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: https://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;e0};bm.find=function(bJ,e,bK){var bI;if(!bJ){return[]}for(var bF=0,bE=br.order.length;bF":function(bI,bD){var bH,bG=typeof bD==="string",bE=0,e=bI.length;if(bG&&!bC.test(bD)){bD=bD.toLowerCase();for(;bE=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 bDe[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=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.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="";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="

";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="
";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;bF0){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;bI0){for(var bp=bo;bp0},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-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-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=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_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
","
"]}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>");try{for(var bl=0,bk=this.length;bl1&&bl0?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>");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]===""&&!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>/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=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("
").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=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").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="
";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];g1){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'}j.width=j.height=j.id=j.w3c=j.src=null;for(var c in j){if(j[c]!==null){w+=''}}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+='"}w+="";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="

Flash version "+g+" or greater is required

"+(e[0]>0?"Your version is "+e:"You have no flash plugin installed")+"

"+(b.tagName=="A"?"

Click here to download latest version

":"

Download latest version from here

");if(b.tagName=="A"){b.onclick=function(){class="jquery-overlay">
');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(" ").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(z0){var ae=T[0];if(au=="preview"){ac=ae.preview_url}else{if(au=="final_design"){ac=ae.final_design_url}else{ac=ae.publish_url}}}var p=T.length||0;var q=f.val();var w=ag.val();var an=aj.val();var R=0;var Z=null;var ap=1;var M=parseInt(S.html());var t=parseInt(aa.html());var D=G.gallery_type_selected;var V=aq.gallery_types[D].toLowerCase();var o=new RegExp(/\s+/g);var u=V.replace(o,"_");var H=aq.gallery_types[D];var s=G[H]["large_image_style"];switch(u){case ("single_image"):y();break;case ("grid"):v();break;case ("filmstrip_1"):B(u);break;case ("filmstrip_2"):B(u);break;case ("slideshow"):c();if(al=="1"){var n=G[H]["delay"]||"5";var am=n*1000;if(am<850){am="850"}setTimeout(function(){N()},am)}break}function y(){F();k.show();if(T.length>0){U.unbind("click").click(function(){z("left","single_image");return false});ai.unbind("click").click(function(){z("right","single_image");return false});if(q>0&&p>1){ai.show()}if((q<(p-1))&&(!(q==0))){U.show()}}k.hide()}function v(){F();if(s==1){b("img",ao).each(function(aw){var ax=T[aw];b(this).click(function(){ar(ax);return false})})}else{b(function(){var aw={txtImage:J.txtImage,txtOf:J.txtOf,showDescription:at,parent_div_id:"photogallery_"+J.photogallery_id};b('img[rel*="lightbox"]',ah).lightBox(aw)})}var av=b("li.page_selected",ad);if(av.next().length){ai.unbind("click").css("color","blue").click(function(){e("right");return false})}else{ai.css("color","black");ai.unbind("click")}if(av.prev().length){U.unbind("click").css("color","blue").click(function(){e("left");return false})}else{U.css("color","black");U.unbind("click")}k.hide()}function c(){F();k.show();if(T.length>0){Y.unbind("click").click(function(){g();return false});ai.unbind("click").click(function(){N();return false})}k.hide()}function B(av){F();k.show();if(T.length>0){if(av=="filmstrip_1"){b("img",ao).each(function(ax){var ay=T[ax];b(this).click(function(){j(ay);b("li.img_selected",ah).removeClass("img_selected");b(this).parent().parent().addClass("img_selected");f.val(ax);return false})})}else{if(av=="filmstrip_2"){if(s==1){b("img",ao).each(function(ax){var ay=T[ax];b(this).click(function(){K(ay);b("li.img_selected",ah).removeClass("img_selected");b(this).parent().parent().addClass("img_selected");f.val(ax);return false})})}else{b(function(){var ax={txtImage:J.txtImage,txtOf:J.txtOf,showDescription:at,parent_div_id:"photogallery_"+J.photogallery_id};b('img[rel*="lightbox"]',ah).lightBox(ax)})}}}var aw=b("li.page_selected",ad);if(aw.next().length){ai.unbind("click").click(function(){e("right");return false})}else{ai.unbind("click")}if(aw.prev().length){U.unbind("click").click(function(){e("left");return false})}else{U.unbind("click")}}k.hide()}function F(){w=1;ag.val(w);q=0;f.val(q)}function N(){ai.unbind("click");ap=0;ai.hide();Y.show();if(f.val()').attr(aA);var ax=b("div.main_image_container",ah);var aG=b("div.sub_image_container",ax);if(aE){var ay=aE;var az="";var aB="_self";if(!(aE.match(/http:\/\//)||aE.match(/https:\/\//))){az="https://"}if(aD.click_option==2){aB="_blank"}var aF=b('');aF.html(aw);aw=aF}else{}aG.empty();aG.html(aw);if(aC&&(at==1)){P.empty();P.html('

'+aC+"

")}else{if(at==1){P.html('

')}else{P.html('

')}}}function K(av){ar(av)}function ar(av){var aw=new Image();aw.onload=function(){O(av,aw)};if(av.original_image_path){aw.src=ac+av.original_image_path+"/"+av.original_image_name}else{aw.src=ac+av.original_image_name}b("
").addClass("photogallery_overlay").addClass("photogallery_thumbnail_overlay").css("z-index",10100).appendTo("body").unbind("click").click(x)}function O(ax,aK){aK.onload=null;var aM=ac+ax.original_image_name;if(ax.original_image_path){aM=ac+ax.original_image_path+"/"+ax.original_image_name}var aL=ax.description;if(Z){Z==null}if(!Z){Z=b('
').appendTo("body");var aJ=b('
');var ay=b('
');var aC=E.css("font-family");var aE=E.css("color");var av=E.css("font-size");var aB=E.css("font-weight");var aG=E.css("font-style");var aQ=E.css("font-variant");var aP=E.css("text-align");var aR=E.css("text-decoration");var aA=E.css("text-transform");var az=E.css("white-space");if(aC){ay.css("font-family",aC)}if(aE){ay.css("color",aE)}if(av){ay.css("font-size",av)}if(aB){ay.css("font-weight",aB)}if(aG){ay.css("font-style",aG)}if(aQ){ay.css("font-variant",aQ)}if(aP){ay.css("text-align",aP)}if(aR){ay.css("text-decoration",aR)}if(aA){ay.css("text-transform",aA)}if(az){ay.css("white-space",az)}aJ.appendTo(Z);ay.appendTo(Z);b("div.photogallery_preview_close",Z).unbind("click").click(x)}var aI=aK.width-20;if(aL&&at==1){b("div.photogallery_preview_description",Z).html('

'+aL+"

")}else{if(at==1){b("div.photogallery_preview_description",Z).html('

')}else{b("div.photogallery_preview_description",Z).html('

')}}var aO=aK.width;var aN=aK.height;var aF=b(window).width();var aD=b(window).height();if(aN>aD){aN=aD-40}b("img",Z).attr("src",aM).unbind("click").click(x).attr("height",aN);var aw=0-(parseInt(Z.width())/2);var aH=0-(parseInt(Z.height())/2);if(b.browser.msie&&(b.browser.version<7)){aH+=b(window).scrollTop();b("select").hide()}Z.css({"margin-top":aH+"px","margin-left":aw+"px"}).show()}function x(){Z.hide();b("div.photogallery_thumbnail_overlay").remove()}function ab(aw){var ax=ac+"/"+aw.original_image_path+"/"+aw.original_image_name;var aw={id:"photogallery_image_"+aw.filecabinet_file_id,src:ax};var av=b('').attr(aw);return(av)}function I(az){var aC=ac+az.thumbnail_thumb_path;var av=az.original_image_name;var aB=az.description;var ay=ac+az.original_image_path+"/"+az.original_image_name;var ax="photogallery_image_"+az.filecabinet_file_id;var aA={id:ax,src:aC};if(aB){aA.title=aB}else{aA.title=av}var aw=b('').attr(aA);return(aw)}function z(av,ax){if((R)||(q==0&&av=="left")||((p==q)&&av=="right")){return(1)}R=1;q=f.val();var aB=null;var az=q;var aw=b("li.img_selected",ad);if(av=="left"){aB=aw.prev();az--;q--}else{aB=aw.next();az++;q++}f.val(az);aw.removeClass("img_selected");aB.addClass("img_selected");var ay=function(){R=0};ao.scrollTo(aB,800,ay);var aA=T[az];if(ax!="grid"){if(aA.description){if(at==1){X.fadeOut("slow",function(){X.html(aA.description)}).fadeIn("slow")}}else{X.fadeOut("slow",function(){X.empty()})}}if((ax!="slideshow")&&(ax!="grid")){if(aB.next().length){ai.show()}else{ai.hide()}if(aB.prev().length){U.show()}else{U.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('');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('');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="https://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('')}else{var z=b('')}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);$(".video video").each(function(){$(this).get(0).pause()});$(".video video").addClass("hidden");$(".video img.video_preview").removeClass("hidden")}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");$(".video video").removeClass("hidden");$(".video img.video_preview").addClass("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('');var u=b(''+q.button_label+"");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('').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('');var v=b('
');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('
'+u.string+"
");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);