/**
 * Copyright (c) 2008-2012 Borneosoft Pty. Ltd.
 * All rights reserved.
 * This program and the accompanying materials are
 * owned by Borneosoft Pty. Ltd.
 * Copying, modifying, and redistributing are prohibited
 * without written permission from Borneosoft Pty. Ltd.
 * 
 */
var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version"},searchString:function(d){for(var a=0;a<d.length;a++){var b=d[a].string;var c=d[a].prop;this.versionSearchString=d[a].versionSearch||d[a].identity;if(b){if(b.indexOf(d[a].subString)!=-1){return d[a].identity}}else{if(c){return d[a].identity}}}},searchVersion:function(b){var a=b.indexOf(this.versionSearchString);if(a==-1){return}return parseFloat(b.substring(a+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"}]};BrowserDetect.init();var fx;var ie6=false;var ie7=false;var ie8=false;var ie9=false;if(BrowserDetect.browser=="Explorer"||BrowserDetect.browser=="Windows"){fx="ie";var ver=Math.round(BrowserDetect.version);if(ver<=6){ie6=true}else{if(ver<=7){ie7=true}else{if(ver<=8){ie8=true}else{if(ver<=9){ie9=true}}}}}else{if(BrowserDetect.browser=="Mozilla"||BrowserDetect.browser=="Netscape"||BrowserDetect.browser=="Firefox"||BrowserDetect.browser=="Chrome"||BrowserDetect.browser=="Safari"||BrowserDetect.browser=="Konqueror"||BrowserDetect.browser=="Mac"||BrowserDetect.browser=="Linux"||BrowserDetect.browser=="Opera"){fx="ns"}else{fx=BrowserDetect.browser}}function IEVersion(){var g=navigator,h=window,d=document;var c="NA";var b=g.userAgent;var f="NA";var a="NA";if(/msie/i.test(b)&&(!h.opera)){if(h.attachEvent&&h.ActiveXObject){c=parseInt((b.match(/.+ie\s([\d.]+)/i)||[])[1]);if(c==7){if(d.documentMode){c=8;if(/trident\/\d/i.test(b)){a="CompatMode"}else{a="IE7Mode"}}}else{if(c==8){if(d.documentMode){a="IE8Mode"}}}f=(d.documentMode)?d.documentMode:(d.compatMode&&d.compatMode=="CSS1Compat")?7:5}}return{UserAgent:b,Version:c,BrowserMode:a,DocMode:f}}var ieVer=new IEVersion();if(typeof XMLHttpRequest=="undefined"){XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(a){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}throw new Error("This browser does not support XMLHttpRequest.")}}if(fx=="ns"){try{document.createElement("input");HTMLElement.prototype.click=function(){if(typeof this.onclick=="function"){this.onclick({type:"click"})}}}catch(e){alert("click method for HTMLElement couldn't be added")}try{document.createElement("a");HTMLElement.prototype.click=function(){if(typeof this.onclick=="function"){if(this.onclick({type:"click"})&&this.href){window.open(this.href,this.target?this.target:"_self")}}else{if(this.href){window.open(this.href,this.target?this.target:"_self")}}}}catch(e){alert("click method for HTMLAnchorElement couldn't be added")}HTMLElement.prototype.__defineSetter__("outerHTML",function(c){this.outerHTMLInput=c;var a=this.ownerDocument.createRange();a.setStartBefore(this);var b=a.createContextualFragment(c);this.parentNode.replaceChild(b,this)});var emptyElements={HR:true,BR:true,IMG:true,INPUT:true};var specialElements={TEXTAREA:true};HTMLElement.prototype.__defineGetter__("outerHTML",function(){var f=this;var c="";switch(f.nodeType){case Node.ELEMENT_NODE:c+="<";c+=f.nodeName;if(!specialElements[f.nodeName]){for(var b=0;b<f.attributes.length;b++){c+=" "+f.attributes[b].nodeName.toUpperCase()+'="'+f.attributes[b].nodeValue+'"'}c+=">";if(!emptyElements[f.nodeName]){c+=f.innerHTML;c+="</"+f.nodeName+">"}}else{switch(f.nodeName){case"TEXTAREA":for(var b=0;b<f.attributes.length;b++){if(f.attributes[b].nodeName.toLowerCase()!="value"){c+=" "+f.attributes[b].nodeName.toUpperCase()+'="'+f.attributes[b].nodeValue+'"'}else{var d=f.attributes[b].nodeValue}}c+=">";c+=d;c+="</"+f.nodeName+">";break}}break;case Node.TEXT_NODE:c+=f.nodeValue;break;case Node.COMMENT_NODE:c+="<!--"+f.nodeValue+"-->";break}return c});if(typeof CSSStyleDeclaration!="undefined"&&!CSSStyleDeclaration.prototype.pixelLeft){CSSStyleDeclaration.prototype.__defineSetter__("pixelTop",function(a){this.top=a+"px"});CSSStyleDeclaration.prototype.__defineSetter__("pixelLeft",function(a){this.left=a+"px"});CSSStyleDeclaration.prototype.__defineSetter__("pixelRight",function(a){this.right=a+"px"});CSSStyleDeclaration.prototype.__defineSetter__("pixelBottom",function(a){this.bottom=a+"px"});CSSStyleDeclaration.prototype.__defineSetter__("pixelWidth",function(a){this.width=a+"px"});CSSStyleDeclaration.prototype.__defineSetter__("pixelHeight",function(a){this.height=a+"px"});CSSStyleDeclaration.prototype.__defineGetter__("pixelTop",function(){return parseInt(this.top)});CSSStyleDeclaration.prototype.__defineGetter__("pixelLeft",function(){return parseInt(this.left)});CSSStyleDeclaration.prototype.__defineGetter__("pixelRight",function(){return parseInt(this.right)});CSSStyleDeclaration.prototype.__defineGetter__("pixelBottom",function(){return parseInt(this.bottom)});CSSStyleDeclaration.prototype.__defineGetter__("pixelWidth",function(){return parseInt(this.width)});CSSStyleDeclaration.prototype.__defineGetter__("pixelHeight",function(){return parseInt(this.height)});HTMLElement.prototype.__defineGetter__("nsCurrentStyle",function(){var c={};try{var b=this;for(var a=0;a<properties.length;a++){c.__defineGetter__(properties[a],encapsulateObjects(b,properties[a]))}}catch(d){}return c});function encapsulateObjects(a,b){return function(){return document.defaultView.getComputedStyle(a,null).getPropertyValue(b)}}}
/*
 * jQuery JavaScript Library v1.7.1
 * 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: Mon Nov 21 21:11:03 2011 -0500
 */
}(function(bc,M){var aw=bc.document,bv=bc.navigator,bm=bc.location;var b=(function(){var bH=function(b2,b3){return new bH.fn.init(b2,b3,bF)},bW=bc.jQuery,bJ=bc.$,bF,b0=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bO=/\S/,bK=/^\s+/,bG=/\s+$/,bC=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bP=/^[\],:{}\s]*$/,bY=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bR=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bL=/(?:^|:|,)(?:\s*\[)+/g,bA=/(webkit)[ \/]([\w.]+)/,bT=/(opera)(?:.*version)?[ \/]([\w.]+)/,bS=/(msie) ([\w.]+)/,bU=/(mozilla)(?:.*? rv:([\w.]+))?/,bD=/-([a-z]|[0-9])/ig,b1=/^-ms-/,bV=function(b2,b3){return(b3+"").toUpperCase()},bZ=bv.userAgent,bX,bE,bw,bN=Object.prototype.toString,bI=Object.prototype.hasOwnProperty,bB=Array.prototype.push,bM=Array.prototype.slice,bQ=String.prototype.trim,bx=Array.prototype.indexOf,bz={};bH.fn=bH.prototype={constructor:bH,init:function(b2,b6,b5){var b4,b7,b3,b8;if(!b2){return this}if(b2.nodeType){this.context=this[0]=b2;this.length=1;return this}if(b2==="body"&&!b6&&aw.body){this.context=aw;this[0]=aw.body;this.selector=b2;this.length=1;return this}if(typeof b2==="string"){if(b2.charAt(0)==="<"&&b2.charAt(b2.length-1)===">"&&b2.length>=3){b4=[null,b2,null]}else{b4=b0.exec(b2)}if(b4&&(b4[1]||!b6)){if(b4[1]){b6=b6 instanceof bH?b6[0]:b6;b8=(b6?b6.ownerDocument||b6:aw);b3=bC.exec(b2);if(b3){if(bH.isPlainObject(b6)){b2=[aw.createElement(b3[1])];bH.fn.attr.call(b2,b6,true)}else{b2=[b8.createElement(b3[1])]}}else{b3=bH.buildFragment([b4[1]],[b8]);b2=(b3.cacheable?bH.clone(b3.fragment):b3.fragment).childNodes}return bH.merge(this,b2)}else{b7=aw.getElementById(b4[2]);if(b7&&b7.parentNode){if(b7.id!==b4[2]){return b5.find(b2)}this.length=1;this[0]=b7}this.context=aw;this.selector=b2;return this}}else{if(!b6||b6.jquery){return(b6||b5).find(b2)}else{return this.constructor(b6).find(b2)}}}else{if(bH.isFunction(b2)){return b5.ready(b2)}}if(b2.selector!==M){this.selector=b2.selector;
this.context=b2.context}return bH.makeArray(b2,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bM.call(this,0)},get:function(b2){return b2==null?this.toArray():(b2<0?this[this.length+b2]:this[b2])},pushStack:function(b3,b5,b2){var b4=this.constructor();if(bH.isArray(b3)){bB.apply(b4,b3)}else{bH.merge(b4,b3)}b4.prevObject=this;b4.context=this.context;if(b5==="find"){b4.selector=this.selector+(this.selector?" ":"")+b2}else{if(b5){b4.selector=this.selector+"."+b5+"("+b2+")"}}return b4},each:function(b3,b2){return bH.each(this,b3,b2)},ready:function(b2){bH.bindReady();bE.add(b2);return this},eq:function(b2){b2=+b2;return b2===-1?this.slice(b2):this.slice(b2,b2+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bM.apply(this,arguments),"slice",bM.call(arguments).join(","))},map:function(b2){return this.pushStack(bH.map(this,function(b4,b3){return b2.call(b4,b3,b4)}))},end:function(){return this.prevObject||this.constructor(null)},push:bB,sort:[].sort,splice:[].splice};bH.fn.init.prototype=bH.fn;bH.extend=bH.fn.extend=function(){var cb,b4,b2,b3,b8,b9,b7=arguments[0]||{},b6=1,b5=arguments.length,ca=false;if(typeof b7==="boolean"){ca=b7;b7=arguments[1]||{};b6=2}if(typeof b7!=="object"&&!bH.isFunction(b7)){b7={}}if(b5===b6){b7=this;--b6}for(;b6<b5;b6++){if((cb=arguments[b6])!=null){for(b4 in cb){b2=b7[b4];b3=cb[b4];if(b7===b3){continue}if(ca&&b3&&(bH.isPlainObject(b3)||(b8=bH.isArray(b3)))){if(b8){b8=false;b9=b2&&bH.isArray(b2)?b2:[]}else{b9=b2&&bH.isPlainObject(b2)?b2:{}}b7[b4]=bH.extend(ca,b9,b3)}else{if(b3!==M){b7[b4]=b3}}}}}return b7};bH.extend({noConflict:function(b2){if(bc.$===bH){bc.$=bJ}if(b2&&bc.jQuery===bH){bc.jQuery=bW}return bH},isReady:false,readyWait:1,holdReady:function(b2){if(b2){bH.readyWait++}else{bH.ready(true)}},ready:function(b2){if((b2===true&&!--bH.readyWait)||(b2!==true&&!bH.isReady)){if(!aw.body){return setTimeout(bH.ready,1)}bH.isReady=true;if(b2!==true&&--bH.readyWait>0){return}bE.fireWith(aw,[bH]);if(bH.fn.trigger){bH(aw).trigger("ready").off("ready")}}},bindReady:function(){if(bE){return}bE=bH.Callbacks("once memory");if(aw.readyState==="complete"){return setTimeout(bH.ready,1)}if(aw.addEventListener){aw.addEventListener("DOMContentLoaded",bw,false);bc.addEventListener("load",bH.ready,false)}else{if(aw.attachEvent){aw.attachEvent("onreadystatechange",bw);bc.attachEvent("onload",bH.ready);var b2=false;try{b2=bc.frameElement==null}catch(b3){}if(aw.documentElement.doScroll&&b2){by()}}}},isFunction:function(b2){return bH.type(b2)==="function"},isArray:Array.isArray||function(b2){return bH.type(b2)==="array"},isWindow:function(b2){return b2&&typeof b2==="object"&&"setInterval" in b2},isNumeric:function(b2){return !isNaN(parseFloat(b2))&&isFinite(b2)},type:function(b2){return b2==null?String(b2):bz[bN.call(b2)]||"object"},isPlainObject:function(b4){if(!b4||bH.type(b4)!=="object"||b4.nodeType||bH.isWindow(b4)){return false}try{if(b4.constructor&&!bI.call(b4,"constructor")&&!bI.call(b4.constructor.prototype,"isPrototypeOf")){return false}}catch(b3){return false}var b2;for(b2 in b4){}return b2===M||bI.call(b4,b2)},isEmptyObject:function(b3){for(var b2 in b3){return false}return true},error:function(b2){throw new Error(b2)},parseJSON:function(b2){if(typeof b2!=="string"||!b2){return null}b2=bH.trim(b2);if(bc.JSON&&bc.JSON.parse){return bc.JSON.parse(b2)}if(bP.test(b2.replace(bY,"@").replace(bR,"]").replace(bL,""))){return(new Function("return "+b2))()}bH.error("Invalid JSON: "+b2)},parseXML:function(b4){var b2,b3;try{if(bc.DOMParser){b3=new DOMParser();b2=b3.parseFromString(b4,"text/xml")}else{b2=new ActiveXObject("Microsoft.XMLDOM");b2.async="false";b2.loadXML(b4)}}catch(b5){b2=M}if(!b2||!b2.documentElement||b2.getElementsByTagName("parsererror").length){bH.error("Invalid XML: "+b4)}return b2},noop:function(){},globalEval:function(b2){if(b2&&bO.test(b2)){(bc.execScript||function(b3){bc["eval"].call(bc,b3)})(b2)}},camelCase:function(b2){return b2.replace(b1,"ms-").replace(bD,bV)},nodeName:function(b3,b2){return b3.nodeName&&b3.nodeName.toUpperCase()===b2.toUpperCase()},each:function(b5,b8,b4){var b3,b6=0,b7=b5.length,b2=b7===M||bH.isFunction(b5);if(b4){if(b2){for(b3 in b5){if(b8.apply(b5[b3],b4)===false){break}}}else{for(;b6<b7;){if(b8.apply(b5[b6++],b4)===false){break}}}}else{if(b2){for(b3 in b5){if(b8.call(b5[b3],b3,b5[b3])===false){break}}}else{for(;b6<b7;){if(b8.call(b5[b6],b6,b5[b6++])===false){break}}}}return b5},trim:bQ?function(b2){return b2==null?"":bQ.call(b2)}:function(b2){return b2==null?"":b2.toString().replace(bK,"").replace(bG,"")},makeArray:function(b5,b3){var b2=b3||[];if(b5!=null){var b4=bH.type(b5);if(b5.length==null||b4==="string"||b4==="function"||b4==="regexp"||bH.isWindow(b5)){bB.call(b2,b5)}else{bH.merge(b2,b5)}}return b2},inArray:function(b4,b5,b3){var b2;if(b5){if(bx){return bx.call(b5,b4,b3)}b2=b5.length;b3=b3?b3<0?Math.max(0,b2+b3):b3:0;for(;b3<b2;b3++){if(b3 in b5&&b5[b3]===b4){return b3}}}return -1},merge:function(b6,b4){var b5=b6.length,b3=0;if(typeof b4.length==="number"){for(var b2=b4.length;b3<b2;b3++){b6[b5++]=b4[b3]}}else{while(b4[b3]!==M){b6[b5++]=b4[b3++]}}b6.length=b5;return b6},grep:function(b3,b8,b2){var b4=[],b7;b2=!!b2;for(var b5=0,b6=b3.length;b5<b6;b5++){b7=!!b8(b3[b5],b5);if(b2!==b7){b4.push(b3[b5])}}return b4},map:function(b2,b9,ca){var b7,b8,b6=[],b4=0,b3=b2.length,b5=b2 instanceof bH||b3!==M&&typeof b3==="number"&&((b3>0&&b2[0]&&b2[b3-1])||b3===0||bH.isArray(b2));if(b5){for(;b4<b3;b4++){b7=b9(b2[b4],b4,ca);if(b7!=null){b6[b6.length]=b7}}}else{for(b8 in b2){b7=b9(b2[b8],b8,ca);if(b7!=null){b6[b6.length]=b7}}}return b6.concat.apply([],b6)},guid:1,proxy:function(b6,b5){if(typeof b5==="string"){var b4=b6[b5];b5=b6;b6=b4}if(!bH.isFunction(b6)){return M}var b2=bM.call(arguments,2),b3=function(){return b6.apply(b5,b2.concat(bM.call(arguments)))};b3.guid=b6.guid=b6.guid||b3.guid||bH.guid++;return b3},access:function(b2,ca,b8,b4,b7,b9){var b3=b2.length;if(typeof ca==="object"){for(var b5 in ca){bH.access(b2,b5,ca[b5],b4,b7,b8)}return b2}if(b8!==M){b4=!b9&&b4&&bH.isFunction(b8);for(var b6=0;b6<b3;b6++){b7(b2[b6],ca,b4?b8.call(b2[b6],b6,b7(b2[b6],ca)):b8,b9)}return b2}return b3?b7(b2[0],ca):M},now:function(){return(new Date()).getTime()},uaMatch:function(b3){b3=b3.toLowerCase();var b2=bA.exec(b3)||bT.exec(b3)||bS.exec(b3)||b3.indexOf("compatible")<0&&bU.exec(b3)||[];return{browser:b2[1]||"",version:b2[2]||"0"}},sub:function(){function b2(b5,b6){return new b2.fn.init(b5,b6)}bH.extend(true,b2,this);b2.superclass=this;b2.fn=b2.prototype=this();b2.fn.constructor=b2;b2.sub=this.sub;b2.fn.init=function b4(b5,b6){if(b6&&b6 instanceof bH&&!(b6 instanceof b2)){b6=b2(b6)}return bH.fn.init.call(this,b5,b6,b3)};b2.fn.init.prototype=b2.fn;var b3=b2(aw);return b2},browser:{}});bH.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b3,b2){bz["[object "+b2+"]"]=b2.toLowerCase()});bX=bH.uaMatch(bZ);if(bX.browser){bH.browser[bX.browser]=true;bH.browser.version=bX.version}if(bH.browser.webkit){bH.browser.safari=true}if(bO.test("\xA0")){bK=/^[\s\xA0]+/;bG=/[\s\xA0]+$/}bF=bH(aw);if(aw.addEventListener){bw=function(){aw.removeEventListener("DOMContentLoaded",bw,false);bH.ready()}}else{if(aw.attachEvent){bw=function(){if(aw.readyState==="complete"){aw.detachEvent("onreadystatechange",bw);bH.ready()}}}}function by(){if(bH.isReady){return}try{aw.documentElement.doScroll("left")}catch(b2){setTimeout(by,1);return}bH.ready()}return bH})();var a3={};function Y(bw){var bx=a3[bw]={},by,bz;bw=bw.split(/\s+/);for(by=0,bz=bw.length;by<bz;by++){bx[bw[by]]=true}return bx}b.Callbacks=function(by){by=by?(a3[by]||Y(by)):{};var bD=[],bE=[],bz,bA,bx,bB,bC,bG=function(bH){var bI,bL,bK,bJ,bM;for(bI=0,bL=bH.length;bI<bL;bI++){bK=bH[bI];bJ=b.type(bK);if(bJ==="array"){bG(bK)}else{if(bJ==="function"){if(!by.unique||!bF.has(bK)){bD.push(bK)}}}}},bw=function(bI,bH){bH=bH||[];bz=!by.memory||[bI,bH];bA=true;
bC=bx||0;bx=0;bB=bD.length;for(;bD&&bC<bB;bC++){if(bD[bC].apply(bI,bH)===false&&by.stopOnFalse){bz=true;break}}bA=false;if(bD){if(!by.once){if(bE&&bE.length){bz=bE.shift();bF.fireWith(bz[0],bz[1])}}else{if(bz===true){bF.disable()}else{bD=[]}}}},bF={add:function(){if(bD){var bH=bD.length;bG(arguments);if(bA){bB=bD.length}else{if(bz&&bz!==true){bx=bH;bw(bz[0],bz[1])}}}return this},remove:function(){if(bD){var bH=arguments,bJ=0,bK=bH.length;for(;bJ<bK;bJ++){for(var bI=0;bI<bD.length;bI++){if(bH[bJ]===bD[bI]){if(bA){if(bI<=bB){bB--;if(bI<=bC){bC--}}}bD.splice(bI--,1);if(by.unique){break}}}}}return this},has:function(bI){if(bD){var bH=0,bJ=bD.length;for(;bH<bJ;bH++){if(bI===bD[bH]){return true}}}return false},empty:function(){bD=[];return this},disable:function(){bD=bE=bz=M;return this},disabled:function(){return !bD},lock:function(){bE=M;if(!bz||bz===true){bF.disable()}return this},locked:function(){return !bE},fireWith:function(bI,bH){if(bE){if(bA){if(!by.once){bE.push([bI,bH])}}else{if(!(by.once&&bz)){bw(bI,bH)}}}return this},fire:function(){bF.fireWith(this,arguments);return this},fired:function(){return !!bz}};return bF};var aK=[].slice;b.extend({Deferred:function(bA){var bz=b.Callbacks("once memory"),by=b.Callbacks("once memory"),bx=b.Callbacks("memory"),bw="pending",bC={resolve:bz,reject:by,notify:bx},bE={done:bz.add,fail:by.add,progress:bx.add,state:function(){return bw},isResolved:bz.fired,isRejected:by.fired,then:function(bG,bF,bH){bD.done(bG).fail(bF).progress(bH);return this},always:function(){bD.done.apply(bD,arguments).fail.apply(bD,arguments);return this},pipe:function(bH,bG,bF){return b.Deferred(function(bI){b.each({done:[bH,"resolve"],fail:[bG,"reject"],progress:[bF,"notify"]},function(bK,bN){var bJ=bN[0],bM=bN[1],bL;if(b.isFunction(bJ)){bD[bK](function(){bL=bJ.apply(this,arguments);if(bL&&b.isFunction(bL.promise)){bL.promise().then(bI.resolve,bI.reject,bI.notify)}else{bI[bM+"With"](this===bD?bI:this,[bL])}})}else{bD[bK](bI[bM])}})}).promise()},promise:function(bG){if(bG==null){bG=bE}else{for(var bF in bE){bG[bF]=bE[bF]}}return bG}},bD=bE.promise({}),bB;for(bB in bC){bD[bB]=bC[bB].fire;bD[bB+"With"]=bC[bB].fireWith}bD.done(function(){bw="resolved"},by.disable,bx.lock).fail(function(){bw="rejected"},bz.disable,bx.lock);if(bA){bA.call(bD,bD)}return bD},when:function(bC){var bz=aK.call(arguments,0),bx=0,bw=bz.length,bD=new Array(bw),by=bw,bA=bw,bE=bw<=1&&bC&&b.isFunction(bC.promise)?bC:b.Deferred(),bG=bE.promise();function bF(bH){return function(bI){bz[bH]=arguments.length>1?aK.call(arguments,0):bI;if(!(--by)){bE.resolveWith(bE,bz)}}}function bB(bH){return function(bI){bD[bH]=arguments.length>1?aK.call(arguments,0):bI;bE.notifyWith(bG,bD)}}if(bw>1){for(;bx<bw;bx++){if(bz[bx]&&bz[bx].promise&&b.isFunction(bz[bx].promise)){bz[bx].promise().then(bF(bx),bE.reject,bB(bx))}else{--by}}if(!by){bE.resolveWith(bE,bz)}}else{if(bE!==bC){bE.resolveWith(bE,bw?[bC]:[])}}return bG}});b.support=(function(){var bK,bJ,bG,bH,by,bF,bB,bE,bA,bL,bC,bz,bx,bw=aw.createElement("div"),bI=aw.documentElement;bw.setAttribute("className","t");bw.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bJ=bw.getElementsByTagName("*");bG=bw.getElementsByTagName("a")[0];if(!bJ||!bJ.length||!bG){return{}}bH=aw.createElement("select");by=bH.appendChild(aw.createElement("option"));bF=bw.getElementsByTagName("input")[0];bK={leadingWhitespace:(bw.firstChild.nodeType===3),tbody:!bw.getElementsByTagName("tbody").length,htmlSerialize:!!bw.getElementsByTagName("link").length,style:/top/.test(bG.getAttribute("style")),hrefNormalized:(bG.getAttribute("href")==="/a"),opacity:/^0.55/.test(bG.style.opacity),cssFloat:!!bG.style.cssFloat,checkOn:(bF.value==="on"),optSelected:by.selected,getSetAttribute:bw.className!=="t",enctype:!!aw.createElement("form").enctype,html5Clone:aw.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bF.checked=true;bK.noCloneChecked=bF.cloneNode(true).checked;bH.disabled=true;bK.optDisabled=!by.disabled;try{delete bw.test}catch(bD){bK.deleteExpando=false}if(!bw.addEventListener&&bw.attachEvent&&bw.fireEvent){bw.attachEvent("onclick",function(){bK.noCloneEvent=false});bw.cloneNode(true).fireEvent("onclick")}bF=aw.createElement("input");bF.value="t";bF.setAttribute("type","radio");bK.radioValue=bF.value==="t";bF.setAttribute("checked","checked");bw.appendChild(bF);bE=aw.createDocumentFragment();bE.appendChild(bw.lastChild);bK.checkClone=bE.cloneNode(true).cloneNode(true).lastChild.checked;bK.appendChecked=bF.checked;bE.removeChild(bF);bE.appendChild(bw);bw.innerHTML="";if(bc.getComputedStyle){bB=aw.createElement("div");bB.style.width="0";bB.style.marginRight="0";bw.style.width="2px";bw.appendChild(bB);bK.reliableMarginRight=(parseInt((bc.getComputedStyle(bB,null)||{marginRight:0}).marginRight,10)||0)===0}if(bw.attachEvent){for(bz in {submit:1,change:1,focusin:1}){bC="on"+bz;bx=(bC in bw);if(!bx){bw.setAttribute(bC,"return;");bx=(typeof bw[bC]==="function")}bK[bz+"Bubbles"]=bx}}bE.removeChild(bw);bE=bH=by=bB=bw=bF=null;b(function(){var bO,bW,bX,bV,bP,bQ,bN,bU,bT,bM,bR,bS=aw.getElementsByTagName("body")[0];if(!bS){return}bN=1;bU="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bT="visibility:hidden;border:0;";bM="style='"+bU+"border:5px solid #000;padding:0;'";bR="<div "+bM+"><div></div></div><table "+bM+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";bO=aw.createElement("div");bO.style.cssText=bT+"width:0;height:0;position:static;top:0;margin-top:"+bN+"px";bS.insertBefore(bO,bS.firstChild);bw=aw.createElement("div");bO.appendChild(bw);bw.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bA=bw.getElementsByTagName("td");bx=(bA[0].offsetHeight===0);bA[0].style.display="";bA[1].style.display="none";bK.reliableHiddenOffsets=bx&&(bA[0].offsetHeight===0);bw.innerHTML="";bw.style.width=bw.style.paddingLeft="1px";b.boxModel=bK.boxModel=bw.offsetWidth===2;if(typeof bw.style.zoom!=="undefined"){bw.style.display="inline";bw.style.zoom=1;bK.inlineBlockNeedsLayout=(bw.offsetWidth===2);bw.style.display="";bw.innerHTML="<div style='width:4px;'></div>";bK.shrinkWrapBlocks=(bw.offsetWidth!==2)}bw.style.cssText=bU+bT;bw.innerHTML=bR;bW=bw.firstChild;bX=bW.firstChild;bP=bW.nextSibling.firstChild.firstChild;bQ={doesNotAddBorder:(bX.offsetTop!==5),doesAddBorderForTableAndCells:(bP.offsetTop===5)};bX.style.position="fixed";bX.style.top="20px";bQ.fixedPosition=(bX.offsetTop===20||bX.offsetTop===15);bX.style.position=bX.style.top="";bW.style.overflow="hidden";bW.style.position="relative";bQ.subtractsBorderForOverflowNotVisible=(bX.offsetTop===-5);bQ.doesNotIncludeMarginInBodyOffset=(bS.offsetTop!==bN);bS.removeChild(bO);bw=bO=null;b.extend(bK,bQ)});return bK})();var aT=/^(?:\{.*\}|\[.*\])$/,aB=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(bw){bw=bw.nodeType?b.cache[bw[b.expando]]:bw[b.expando];return !!bw&&!T(bw)},data:function(bz,bx,bB,bA){if(!b.acceptData(bz)){return}var bI,bC,bF,bG=b.expando,bE=typeof bx==="string",bH=bz.nodeType,bw=bH?b.cache:bz,by=bH?bz[bG]:bz[bG]&&bG,bD=bx==="events";if((!by||!bw[by]||(!bD&&!bA&&!bw[by].data))&&bE&&bB===M){return}if(!by){if(bH){bz[bG]=by=++b.uuid}else{by=bG}}if(!bw[by]){bw[by]={};if(!bH){bw[by].toJSON=b.noop}}if(typeof bx==="object"||typeof bx==="function"){if(bA){bw[by]=b.extend(bw[by],bx)}else{bw[by].data=b.extend(bw[by].data,bx)}}bI=bC=bw[by];if(!bA){if(!bC.data){bC.data={}}bC=bC.data}if(bB!==M){bC[b.camelCase(bx)]=bB}if(bD&&!bC[bx]){return bI.events}if(bE){bF=bC[bx];if(bF==null){bF=bC[b.camelCase(bx)]}}else{bF=bC}return bF},removeData:function(bz,bx,bA){if(!b.acceptData(bz)){return
}var bD,bC,bB,bE=b.expando,bF=bz.nodeType,bw=bF?b.cache:bz,by=bF?bz[bE]:bE;if(!bw[by]){return}if(bx){bD=bA?bw[by]:bw[by].data;if(bD){if(!b.isArray(bx)){if(bx in bD){bx=[bx]}else{bx=b.camelCase(bx);if(bx in bD){bx=[bx]}else{bx=bx.split(" ")}}}for(bC=0,bB=bx.length;bC<bB;bC++){delete bD[bx[bC]]}if(!(bA?T:b.isEmptyObject)(bD)){return}}}if(!bA){delete bw[by].data;if(!T(bw[by])){return}}if(b.support.deleteExpando||!bw.setInterval){delete bw[by]}else{bw[by]=null}if(bF){if(b.support.deleteExpando){delete bz[bE]}else{if(bz.removeAttribute){bz.removeAttribute(bE)}else{bz[bE]=null}}}},_data:function(bx,bw,by){return b.data(bx,bw,by,true)},acceptData:function(bx){if(bx.nodeName){var bw=b.noData[bx.nodeName.toLowerCase()];if(bw){return !(bw===true||bx.getAttribute("classid")!==bw)}}return true}});b.fn.extend({data:function(bA,bC){var bD,bw,by,bB=null;if(typeof bA==="undefined"){if(this.length){bB=b.data(this[0]);if(this[0].nodeType===1&&!b._data(this[0],"parsedAttrs")){bw=this[0].attributes;for(var bz=0,bx=bw.length;bz<bx;bz++){by=bw[bz].name;if(by.indexOf("data-")===0){by=b.camelCase(by.substring(5));a6(this[0],by,bB[by])}}b._data(this[0],"parsedAttrs",true)}}return bB}else{if(typeof bA==="object"){return this.each(function(){b.data(this,bA)})}}bD=bA.split(".");bD[1]=bD[1]?"."+bD[1]:"";if(bC===M){bB=this.triggerHandler("getData"+bD[1]+"!",[bD[0]]);if(bB===M&&this.length){bB=b.data(this[0],bA);bB=a6(this[0],bA,bB)}return bB===M&&bD[1]?this.data(bD[0]):bB}else{return this.each(function(){var bE=b(this),bF=[bD[0],bC];bE.triggerHandler("setData"+bD[1]+"!",bF);b.data(this,bA,bC);bE.triggerHandler("changeData"+bD[1]+"!",bF)})}},removeData:function(bw){return this.each(function(){b.removeData(this,bw)})}});function a6(by,bx,bz){if(bz===M&&by.nodeType===1){var bw="data-"+bx.replace(aB,"-$1").toLowerCase();bz=by.getAttribute(bw);if(typeof bz==="string"){try{bz=bz==="true"?true:bz==="false"?false:bz==="null"?null:b.isNumeric(bz)?parseFloat(bz):aT.test(bz)?b.parseJSON(bz):bz}catch(bA){}b.data(by,bx,bz)}else{bz=M}}return bz}function T(bx){for(var bw in bx){if(bw==="data"&&b.isEmptyObject(bx[bw])){continue}if(bw!=="toJSON"){return false}}return true}function bj(bA,bz,bC){var by=bz+"defer",bx=bz+"queue",bw=bz+"mark",bB=b._data(bA,by);if(bB&&(bC==="queue"||!b._data(bA,bx))&&(bC==="mark"||!b._data(bA,bw))){setTimeout(function(){if(!b._data(bA,bx)&&!b._data(bA,bw)){b.removeData(bA,by,true);bB.fire()}},0)}}b.extend({_mark:function(bx,bw){if(bx){bw=(bw||"fx")+"mark";b._data(bx,bw,(b._data(bx,bw)||0)+1)}},_unmark:function(bA,bz,bx){if(bA!==true){bx=bz;bz=bA;bA=false}if(bz){bx=bx||"fx";var bw=bx+"mark",by=bA?0:((b._data(bz,bw)||1)-1);if(by){b._data(bz,bw,by)}else{b.removeData(bz,bw,true);bj(bz,bx,"mark")}}},queue:function(bx,bw,bz){var by;if(bx){bw=(bw||"fx")+"queue";by=b._data(bx,bw);if(bz){if(!by||b.isArray(bz)){by=b._data(bx,bw,b.makeArray(bz))}else{by.push(bz)}}return by||[]}},dequeue:function(bA,bz){bz=bz||"fx";var bx=b.queue(bA,bz),by=bx.shift(),bw={};if(by==="inprogress"){by=bx.shift()}if(by){if(bz==="fx"){bx.unshift("inprogress")}b._data(bA,bz+".run",bw);by.call(bA,function(){b.dequeue(bA,bz)},bw)}if(!bx.length){b.removeData(bA,bz+"queue "+bz+".run",true);bj(bA,bz,"queue")}}});b.fn.extend({queue:function(bw,bx){if(typeof bw!=="string"){bx=bw;bw="fx"}if(bx===M){return b.queue(this[0],bw)}return this.each(function(){var by=b.queue(this,bw,bx);if(bw==="fx"&&by[0]!=="inprogress"){b.dequeue(this,bw)}})},dequeue:function(bw){return this.each(function(){b.dequeue(this,bw)})},delay:function(bx,bw){bx=b.fx?b.fx.speeds[bx]||bx:bx;bw=bw||"fx";return this.queue(bw,function(bz,by){var bA=setTimeout(bz,bx);by.stop=function(){clearTimeout(bA)}})},clearQueue:function(bw){return this.queue(bw||"fx",[])},promise:function(bF,by){if(typeof bF!=="string"){by=bF;bF=M}bF=bF||"fx";var bw=b.Deferred(),bx=this,bA=bx.length,bD=1,bB=bF+"defer",bC=bF+"queue",bE=bF+"mark",bz;function bG(){if(!(--bD)){bw.resolveWith(bx,[bx])}}while(bA--){if((bz=b.data(bx[bA],bB,M,true)||(b.data(bx[bA],bC,M,true)||b.data(bx[bA],bE,M,true))&&b.data(bx[bA],bB,b.Callbacks("once memory"),true))){bD++;bz.add(bG)}}bG();return bw.promise()}});var aQ=/[\n\t\r]/g,ag=/\s+/,aV=/\r/g,g=/^(?:button|input)$/i,E=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,ap=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,G=b.support.getSetAttribute,bf,aZ,aG;b.fn.extend({attr:function(bw,bx){return b.access(this,bw,bx,true,b.attr)},removeAttr:function(bw){return this.each(function(){b.removeAttr(this,bw)})},prop:function(bw,bx){return b.access(this,bw,bx,true,b.prop)},removeProp:function(bw){bw=b.propFix[bw]||bw;return this.each(function(){try{this[bw]=M;delete this[bw]}catch(bx){}})},addClass:function(bA){var bC,by,bx,bz,bB,bD,bw;if(b.isFunction(bA)){return this.each(function(bE){b(this).addClass(bA.call(this,bE,this.className))})}if(bA&&typeof bA==="string"){bC=bA.split(ag);for(by=0,bx=this.length;by<bx;by++){bz=this[by];if(bz.nodeType===1){if(!bz.className&&bC.length===1){bz.className=bA}else{bB=" "+bz.className+" ";for(bD=0,bw=bC.length;bD<bw;bD++){if(!~bB.indexOf(" "+bC[bD]+" ")){bB+=bC[bD]+" "}}bz.className=b.trim(bB)}}}}return this},removeClass:function(bB){var bC,by,bx,bA,bz,bD,bw;if(b.isFunction(bB)){return this.each(function(bE){b(this).removeClass(bB.call(this,bE,this.className))})}if((bB&&typeof bB==="string")||bB===M){bC=(bB||"").split(ag);for(by=0,bx=this.length;by<bx;by++){bA=this[by];if(bA.nodeType===1&&bA.className){if(bB){bz=(" "+bA.className+" ").replace(aQ," ");for(bD=0,bw=bC.length;bD<bw;bD++){bz=bz.replace(" "+bC[bD]+" "," ")}bA.className=b.trim(bz)}else{bA.className=""}}}}return this},toggleClass:function(bz,bx){var by=typeof bz,bw=typeof bx==="boolean";if(b.isFunction(bz)){return this.each(function(bA){b(this).toggleClass(bz.call(this,bA,this.className,bx),bx)})}return this.each(function(){if(by==="string"){var bC,bB=0,bA=b(this),bD=bx,bE=bz.split(ag);while((bC=bE[bB++])){bD=bw?bD:!bA.hasClass(bC);bA[bD?"addClass":"removeClass"](bC)}}else{if(by==="undefined"||by==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||bz===false?"":b._data(this,"__className__")||""}}})},hasClass:function(bw){var bz=" "+bw+" ",by=0,bx=this.length;for(;by<bx;by++){if(this[by].nodeType===1&&(" "+this[by].className+" ").replace(aQ," ").indexOf(bz)>-1){return true}}return false},val:function(bz){var bw,bx,bA,by=this[0];if(!arguments.length){if(by){bw=b.valHooks[by.nodeName.toLowerCase()]||b.valHooks[by.type];if(bw&&"get" in bw&&(bx=bw.get(by,"value"))!==M){return bx}bx=by.value;return typeof bx==="string"?bx.replace(aV,""):bx==null?"":bx}return}bA=b.isFunction(bz);return this.each(function(bC){var bB=b(this),bD;if(this.nodeType!==1){return}if(bA){bD=bz.call(this,bC,bB.val())}else{bD=bz}if(bD==null){bD=""}else{if(typeof bD==="number"){bD+=""}else{if(b.isArray(bD)){bD=b.map(bD,function(bE){return bE==null?"":bE+""})}}}bw=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!bw||!("set" in bw)||bw.set(this,bD,"value")===M){this.value=bD}})}});b.extend({valHooks:{option:{get:function(bw){var bx=bw.attributes.value;return !bx||bx.specified?bw.value:bw.text}},select:{get:function(bw){var bC,bx,bB,bz,bA=bw.selectedIndex,bD=[],bE=bw.options,by=bw.type==="select-one";if(bA<0){return null}bx=by?bA:0;bB=by?bA+1:bE.length;for(;bx<bB;bx++){bz=bE[bx];if(bz.selected&&(b.support.optDisabled?!bz.disabled:bz.getAttribute("disabled")===null)&&(!bz.parentNode.disabled||!b.nodeName(bz.parentNode,"optgroup"))){bC=b(bz).val();if(by){return bC}bD.push(bC)}}if(by&&!bD.length&&bE.length){return b(bE[bA]).val()}return bD},set:function(bx,by){var bw=b.makeArray(by);b(bx).find("option").each(function(){this.selected=b.inArray(b(this).val(),bw)>=0});if(!bw.length){bx.selectedIndex=-1}return bw}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bC,bz,bD,bB){var by,bw,bA,bx=bC.nodeType;
if(!bC||bx===3||bx===8||bx===2){return}if(bB&&bz in b.attrFn){return b(bC)[bz](bD)}if(typeof bC.getAttribute==="undefined"){return b.prop(bC,bz,bD)}bA=bx!==1||!b.isXMLDoc(bC);if(bA){bz=bz.toLowerCase();bw=b.attrHooks[bz]||(ap.test(bz)?aZ:bf)}if(bD!==M){if(bD===null){b.removeAttr(bC,bz);return}else{if(bw&&"set" in bw&&bA&&(by=bw.set(bC,bD,bz))!==M){return by}else{bC.setAttribute(bz,""+bD);return bD}}}else{if(bw&&"get" in bw&&bA&&(by=bw.get(bC,bz))!==null){return by}else{by=bC.getAttribute(bz);return by===null?M:by}}},removeAttr:function(bz,bB){var bA,bC,bx,bw,by=0;if(bB&&bz.nodeType===1){bC=bB.toLowerCase().split(ag);bw=bC.length;for(;by<bw;by++){bx=bC[by];if(bx){bA=b.propFix[bx]||bx;b.attr(bz,bx,"");bz.removeAttribute(G?bx:bA);if(ap.test(bx)&&bA in bz){bz[bA]=false}}}}},attrHooks:{type:{set:function(bw,bx){if(g.test(bw.nodeName)&&bw.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bx==="radio"&&b.nodeName(bw,"input")){var by=bw.value;bw.setAttribute("type",bx);if(by){bw.value=by}return bx}}}},value:{get:function(bx,bw){if(bf&&b.nodeName(bx,"button")){return bf.get(bx,bw)}return bw in bx?bx.value:null},set:function(bx,by,bw){if(bf&&b.nodeName(bx,"button")){return bf.set(bx,by,bw)}bx.value=by}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bB,bz,bC){var by,bw,bA,bx=bB.nodeType;if(!bB||bx===3||bx===8||bx===2){return}bA=bx!==1||!b.isXMLDoc(bB);if(bA){bz=b.propFix[bz]||bz;bw=b.propHooks[bz]}if(bC!==M){if(bw&&"set" in bw&&(by=bw.set(bB,bC,bz))!==M){return by}else{return(bB[bz]=bC)}}else{if(bw&&"get" in bw&&(by=bw.get(bB,bz))!==null){return by}else{return bB[bz]}}},propHooks:{tabIndex:{get:function(bx){var bw=bx.getAttributeNode("tabindex");return bw&&bw.specified?parseInt(bw.value,10):E.test(bx.nodeName)||l.test(bx.nodeName)&&bx.href?0:M}}}});b.attrHooks.tabindex=b.propHooks.tabIndex;aZ={get:function(bx,bw){var bz,by=b.prop(bx,bw);return by===true||typeof by!=="boolean"&&(bz=bx.getAttributeNode(bw))&&bz.nodeValue!==false?bw.toLowerCase():M},set:function(bx,bz,bw){var by;if(bz===false){b.removeAttr(bx,bw)}else{by=b.propFix[bw]||bw;if(by in bx){bx[by]=true}bx.setAttribute(bw,bw.toLowerCase())}return bw}};if(!G){aG={name:true,id:true};bf=b.valHooks.button={get:function(by,bx){var bw;bw=by.getAttributeNode(bx);return bw&&(aG[bx]?bw.nodeValue!=="":bw.specified)?bw.nodeValue:M},set:function(by,bz,bx){var bw=by.getAttributeNode(bx);if(!bw){bw=aw.createAttribute(bx);by.setAttributeNode(bw)}return(bw.nodeValue=bz+"")}};b.attrHooks.tabindex.set=bf.set;b.each(["width","height"],function(bx,bw){b.attrHooks[bw]=b.extend(b.attrHooks[bw],{set:function(by,bz){if(bz===""){by.setAttribute(bw,"auto");return bz}}})});b.attrHooks.contenteditable={get:bf.get,set:function(bx,by,bw){if(by===""){by="false"}bf.set(bx,by,bw)}}}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bx,bw){b.attrHooks[bw]=b.extend(b.attrHooks[bw],{get:function(bz){var by=bz.getAttribute(bw,2);return by===null?M:by}})})}if(!b.support.style){b.attrHooks.style={get:function(bw){return bw.style.cssText.toLowerCase()||M},set:function(bw,bx){return(bw.style.cssText=""+bx)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bx){var bw=bx.parentNode;if(bw){bw.selectedIndex;if(bw.parentNode){bw.parentNode.selectedIndex}}return null}})}if(!b.support.enctype){b.propFix.enctype="encoding"}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(bw){return bw.getAttribute("value")===null?"on":bw.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(bw,bx){if(b.isArray(bx)){return(bw.checked=b.inArray(b(bw).val(),bx)>=0)}}})});var be=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,K=/\bhover(\.\S+)?\b/,aP=/^key/,bg=/^(?:mouse|contextmenu)|click/,U=/^(?:focusinfocus|focusoutblur)$/,V=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Z=function(bw){var bx=V.exec(bw);if(bx){bx[1]=(bx[1]||"").toLowerCase();bx[3]=bx[3]&&new RegExp("(?:^|\\s)"+bx[3]+"(?:\\s|$)")}return bx},j=function(by,bw){var bx=by.attributes||{};return((!bw[1]||by.nodeName.toLowerCase()===bw[1])&&(!bw[2]||(bx.id||{}).value===bw[2])&&(!bw[3]||bw[3].test((bx["class"]||{}).value)))},bu=function(bw){return b.event.special.hover?bw:bw.replace(K,"mouseenter$1 mouseleave$1")};b.event={add:function(bz,bE,bL,bC,bA){var bF,bD,bM,bK,bJ,bH,bw,bI,bx,bB,by,bG;if(bz.nodeType===3||bz.nodeType===8||!bE||!bL||!(bF=b._data(bz))){return}if(bL.handler){bx=bL;bL=bx.handler}if(!bL.guid){bL.guid=b.guid++}bM=bF.events;if(!bM){bF.events=bM={}}bD=bF.handle;if(!bD){bF.handle=bD=function(bN){return typeof b!=="undefined"&&(!bN||b.event.triggered!==bN.type)?b.event.dispatch.apply(bD.elem,arguments):M};bD.elem=bz}bE=b.trim(bu(bE)).split(" ");for(bK=0;bK<bE.length;bK++){bJ=n.exec(bE[bK])||[];bH=bJ[1];bw=(bJ[2]||"").split(".").sort();bG=b.event.special[bH]||{};bH=(bA?bG.delegateType:bG.bindType)||bH;bG=b.event.special[bH]||{};bI=b.extend({type:bH,origType:bJ[1],data:bC,handler:bL,guid:bL.guid,selector:bA,quick:Z(bA),namespace:bw.join(".")},bx);by=bM[bH];if(!by){by=bM[bH]=[];by.delegateCount=0;if(!bG.setup||bG.setup.call(bz,bC,bw,bD)===false){if(bz.addEventListener){bz.addEventListener(bH,bD,false)}else{if(bz.attachEvent){bz.attachEvent("on"+bH,bD)}}}}if(bG.add){bG.add.call(bz,bI);if(!bI.handler.guid){bI.handler.guid=bL.guid}}if(bA){by.splice(by.delegateCount++,0,bI)}else{by.push(bI)}b.event.global[bH]=true}bz=null},global:{},remove:function(bL,bG,bx,bJ,bD){var bK=b.hasData(bL)&&b._data(bL),bH,bz,bB,bN,bE,bC,bI,by,bA,bM,bF,bw;if(!bK||!(by=bK.events)){return}bG=b.trim(bu(bG||"")).split(" ");for(bH=0;bH<bG.length;bH++){bz=n.exec(bG[bH])||[];bB=bN=bz[1];bE=bz[2];if(!bB){for(bB in by){b.event.remove(bL,bB+bG[bH],bx,bJ,true)}continue}bA=b.event.special[bB]||{};bB=(bJ?bA.delegateType:bA.bindType)||bB;bF=by[bB]||[];bC=bF.length;bE=bE?new RegExp("(^|\\.)"+bE.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(bI=0;bI<bF.length;bI++){bw=bF[bI];if((bD||bN===bw.origType)&&(!bx||bx.guid===bw.guid)&&(!bE||bE.test(bw.namespace))&&(!bJ||bJ===bw.selector||bJ==="**"&&bw.selector)){bF.splice(bI--,1);if(bw.selector){bF.delegateCount--}if(bA.remove){bA.remove.call(bL,bw)}}}if(bF.length===0&&bC!==bF.length){if(!bA.teardown||bA.teardown.call(bL,bE)===false){b.removeEvent(bL,bB,bK.handle)}delete by[bB]}}if(b.isEmptyObject(by)){bM=bK.handle;if(bM){bM.elem=null}b.removeData(bL,["events","handle"],true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(bx,bF,bC,bL){if(bC&&(bC.nodeType===3||bC.nodeType===8)){return}var bI=bx.type||bx,bz=[],bw,by,bE,bJ,bB,bA,bH,bG,bD,bK;if(U.test(bI+b.event.triggered)){return}if(bI.indexOf("!")>=0){bI=bI.slice(0,-1);by=true}if(bI.indexOf(".")>=0){bz=bI.split(".");bI=bz.shift();bz.sort()}if((!bC||b.event.customEvent[bI])&&!b.event.global[bI]){return}bx=typeof bx==="object"?bx[b.expando]?bx:new b.Event(bI,bx):new b.Event(bI);bx.type=bI;bx.isTrigger=true;bx.exclusive=by;bx.namespace=bz.join(".");bx.namespace_re=bx.namespace?new RegExp("(^|\\.)"+bz.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;bA=bI.indexOf(":")<0?"on"+bI:"";if(!bC){bw=b.cache;for(bE in bw){if(bw[bE].events&&bw[bE].events[bI]){b.event.trigger(bx,bF,bw[bE].handle.elem,true)}}return}bx.result=M;if(!bx.target){bx.target=bC}bF=bF!=null?b.makeArray(bF):[];bF.unshift(bx);bH=b.event.special[bI]||{};if(bH.trigger&&bH.trigger.apply(bC,bF)===false){return}bD=[[bC,bH.bindType||bI]];if(!bL&&!bH.noBubble&&!b.isWindow(bC)){bK=bH.delegateType||bI;bJ=U.test(bK+bI)?bC:bC.parentNode;bB=null;for(;bJ;bJ=bJ.parentNode){bD.push([bJ,bK]);bB=bJ}if(bB&&bB===bC.ownerDocument){bD.push([bB.defaultView||bB.parentWindow||bc,bK])}}for(bE=0;bE<bD.length&&!bx.isPropagationStopped();bE++){bJ=bD[bE][0];
bx.type=bD[bE][1];bG=(b._data(bJ,"events")||{})[bx.type]&&b._data(bJ,"handle");if(bG){bG.apply(bJ,bF)}bG=bA&&bJ[bA];if(bG&&b.acceptData(bJ)&&bG.apply(bJ,bF)===false){bx.preventDefault()}}bx.type=bI;if(!bL&&!bx.isDefaultPrevented()){if((!bH._default||bH._default.apply(bC.ownerDocument,bF)===false)&&!(bI==="click"&&b.nodeName(bC,"a"))&&b.acceptData(bC)){if(bA&&bC[bI]&&((bI!=="focus"&&bI!=="blur")||bx.target.offsetWidth!==0)&&!b.isWindow(bC)){bB=bC[bA];if(bB){bC[bA]=null}b.event.triggered=bI;bC[bI]();b.event.triggered=M;if(bB){bC[bA]=bB}}}}return bx.result},dispatch:function(bw){bw=b.event.fix(bw||bc.event);var bB=((b._data(this,"events")||{})[bw.type]||[]),bC=bB.delegateCount,bI=[].slice.call(arguments,0),bA=!bw.exclusive&&!bw.namespace,bJ=[],bE,bD,bM,bz,bH,bG,bx,bF,bK,by,bL;bI[0]=bw;bw.delegateTarget=this;if(bC&&!bw.target.disabled&&!(bw.button&&bw.type==="click")){bz=b(this);bz.context=this.ownerDocument||this;for(bM=bw.target;bM!=this;bM=bM.parentNode||this){bG={};bF=[];bz[0]=bM;for(bE=0;bE<bC;bE++){bK=bB[bE];by=bK.selector;if(bG[by]===M){bG[by]=(bK.quick?j(bM,bK.quick):bz.is(by))}if(bG[by]){bF.push(bK)}}if(bF.length){bJ.push({elem:bM,matches:bF})}}}if(bB.length>bC){bJ.push({elem:this,matches:bB.slice(bC)})}for(bE=0;bE<bJ.length&&!bw.isPropagationStopped();bE++){bx=bJ[bE];bw.currentTarget=bx.elem;for(bD=0;bD<bx.matches.length&&!bw.isImmediatePropagationStopped();bD++){bK=bx.matches[bD];if(bA||(!bw.namespace&&!bK.namespace)||bw.namespace_re&&bw.namespace_re.test(bK.namespace)){bw.data=bK.data;bw.handleObj=bK;bH=((b.event.special[bK.origType]||{}).handle||bK.handler).apply(bx.elem,bI);if(bH!==M){bw.result=bH;if(bH===false){bw.preventDefault();bw.stopPropagation()}}}}}return bw.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(bx,bw){if(bx.which==null){bx.which=bw.charCode!=null?bw.charCode:bw.keyCode}return bx}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(bz,by){var bA,bB,bw,bx=by.button,bC=by.fromElement;if(bz.pageX==null&&by.clientX!=null){bA=bz.target.ownerDocument||aw;bB=bA.documentElement;bw=bA.body;bz.pageX=by.clientX+(bB&&bB.scrollLeft||bw&&bw.scrollLeft||0)-(bB&&bB.clientLeft||bw&&bw.clientLeft||0);bz.pageY=by.clientY+(bB&&bB.scrollTop||bw&&bw.scrollTop||0)-(bB&&bB.clientTop||bw&&bw.clientTop||0)}if(!bz.relatedTarget&&bC){bz.relatedTarget=bC===bz.target?by.toElement:bC}if(!bz.which&&bx!==M){bz.which=(bx&1?1:(bx&2?3:(bx&4?2:0)))}return bz}},fix:function(by){if(by[b.expando]){return by}var bx,bB,bw=by,bz=b.event.fixHooks[by.type]||{},bA=bz.props?this.props.concat(bz.props):this.props;by=b.Event(bw);for(bx=bA.length;bx;){bB=bA[--bx];by[bB]=bw[bB]}if(!by.target){by.target=bw.srcElement||aw}if(by.target.nodeType===3){by.target=by.target.parentNode}if(by.metaKey===M){by.metaKey=by.ctrlKey}return bz.filter?bz.filter(by,bw):by},special:{ready:{setup:b.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(by,bx,bw){if(b.isWindow(this)){this.onbeforeunload=bw}},teardown:function(bx,bw){if(this.onbeforeunload===bw){this.onbeforeunload=null}}}},simulate:function(bx,bz,by,bw){var bA=b.extend(new b.Event(),by,{type:bx,isSimulated:true,originalEvent:{}});if(bw){b.event.trigger(bA,null,bz)}else{b.event.dispatch.call(bz,bA)}if(bA.isDefaultPrevented()){by.preventDefault()}}};b.event.handle=b.event.dispatch;b.removeEvent=aw.removeEventListener?function(bx,bw,by){if(bx.removeEventListener){bx.removeEventListener(bw,by,false)}}:function(bx,bw,by){if(bx.detachEvent){bx.detachEvent("on"+bw,by)}};b.Event=function(bx,bw){if(!(this instanceof b.Event)){return new b.Event(bx,bw)}if(bx&&bx.type){this.originalEvent=bx;this.type=bx.type;this.isDefaultPrevented=(bx.defaultPrevented||bx.returnValue===false||bx.getPreventDefault&&bx.getPreventDefault())?i:bl}else{this.type=bx}if(bw){b.extend(this,bw)}this.timeStamp=bx&&bx.timeStamp||b.now();this[b.expando]=true};function bl(){return false}function i(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var bw=this.originalEvent;if(!bw){return}if(bw.preventDefault){bw.preventDefault()}else{bw.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=i;var bw=this.originalEvent;if(!bw){return}if(bw.stopPropagation){bw.stopPropagation()}bw.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i;this.stopPropagation()},isDefaultPrevented:bl,isPropagationStopped:bl,isImmediatePropagationStopped:bl};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bx,bw){b.event.special[bx]={delegateType:bw,bindType:bw,handle:function(bB){var bD=this,bC=bB.relatedTarget,bA=bB.handleObj,by=bA.selector,bz;if(!bC||(bC!==bD&&!b.contains(bD,bC))){bB.type=bA.origType;bz=bA.handler.apply(this,arguments);bB.type=bw}return bz}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(){if(b.nodeName(this,"form")){return false}b.event.add(this,"click._submit keypress._submit",function(by){var bx=by.target,bw=b.nodeName(bx,"input")||b.nodeName(bx,"button")?bx.form:M;if(bw&&!bw._submit_attached){b.event.add(bw,"submit._submit",function(bz){if(this.parentNode&&!bz.isTrigger){b.event.simulate("submit",this.parentNode,bz,true)}});bw._submit_attached=true}})},teardown:function(){if(b.nodeName(this,"form")){return false}b.event.remove(this,"._submit")}}}if(!b.support.changeBubbles){b.event.special.change={setup:function(){if(be.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){b.event.add(this,"propertychange._change",function(bw){if(bw.originalEvent.propertyName==="checked"){this._just_changed=true}});b.event.add(this,"click._change",function(bw){if(this._just_changed&&!bw.isTrigger){this._just_changed=false;b.event.simulate("change",this,bw,true)}})}return false}b.event.add(this,"beforeactivate._change",function(bx){var bw=bx.target;if(be.test(bw.nodeName)&&!bw._change_attached){b.event.add(bw,"change._change",function(by){if(this.parentNode&&!by.isSimulated&&!by.isTrigger){b.event.simulate("change",this.parentNode,by,true)}});bw._change_attached=true}})},handle:function(bx){var bw=bx.target;if(this!==bw||bx.isSimulated||bx.isTrigger||(bw.type!=="radio"&&bw.type!=="checkbox")){return bx.handleObj.handler.apply(this,arguments)}},teardown:function(){b.event.remove(this,"._change");return be.test(this.nodeName)}}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bz,bw){var bx=0,by=function(bA){b.event.simulate(bw,bA.target,b.event.fix(bA),true)};b.event.special[bw]={setup:function(){if(bx++===0){aw.addEventListener(bz,by,true)}},teardown:function(){if(--bx===0){aw.removeEventListener(bz,by,true)}}}})}b.fn.extend({on:function(by,bw,bB,bA,bx){var bC,bz;if(typeof by==="object"){if(typeof bw!=="string"){bB=bw;bw=M}for(bz in by){this.on(bz,bw,bB,by[bz],bx)}return this}if(bB==null&&bA==null){bA=bw;bB=bw=M}else{if(bA==null){if(typeof bw==="string"){bA=bB;bB=M}else{bA=bB;bB=bw;bw=M}}}if(bA===false){bA=bl}else{if(!bA){return this}}if(bx===1){bC=bA;bA=function(bD){b().off(bD);return bC.apply(this,arguments)};bA.guid=bC.guid||(bC.guid=b.guid++)}return this.each(function(){b.event.add(this,by,bA,bB,bw)})},one:function(bx,bw,bz,by){return this.on.call(this,bx,bw,bz,by,1)},off:function(by,bw,bA){if(by&&by.preventDefault&&by.handleObj){var bx=by.handleObj;b(by.delegateTarget).off(bx.namespace?bx.type+"."+bx.namespace:bx.type,bx.selector,bx.handler);return this}if(typeof by==="object"){for(var bz in by){this.off(bz,bw,by[bz])}return this}if(bw===false||typeof bw==="function"){bA=bw;bw=M}if(bA===false){bA=bl}return this.each(function(){b.event.remove(this,by,bA,bw)})},bind:function(bw,by,bx){return this.on(bw,null,by,bx)},unbind:function(bw,bx){return this.off(bw,null,bx)
},live:function(bw,by,bx){b(this.context).on(bw,this.selector,by,bx);return this},die:function(bw,bx){b(this.context).off(bw,this.selector||"**",bx);return this},delegate:function(bw,bx,bz,by){return this.on(bx,bw,bz,by)},undelegate:function(bw,bx,by){return arguments.length==1?this.off(bw,"**"):this.off(bx,bw,by)},trigger:function(bw,bx){return this.each(function(){b.event.trigger(bw,bx,this)})},triggerHandler:function(bw,bx){if(this[0]){return b.event.trigger(bw,bx,this[0],true)}},toggle:function(bz){var bx=arguments,bw=bz.guid||b.guid++,by=0,bA=function(bB){var bC=(b._data(this,"lastToggle"+bz.guid)||0)%by;b._data(this,"lastToggle"+bz.guid,bC+1);bB.preventDefault();return bx[bC].apply(this,arguments)||false};bA.guid=bw;while(by<bx.length){bx[by++].guid=bw}return this.click(bA)},hover:function(bw,bx){return this.mouseenter(bw).mouseleave(bx||bw)}});b.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 contextmenu").split(" "),function(bx,bw){b.fn[bw]=function(bz,by){if(by==null){by=bz;bz=null}return arguments.length>0?this.on(bw,null,bz,by):this.trigger(bw)};if(b.attrFn){b.attrFn[bw]=true}if(aP.test(bw)){b.event.fixHooks[bw]=b.event.keyHooks}if(bg.test(bw)){b.event.fixHooks[bw]=b.event.mouseHooks}});
/*
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bI=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bD="sizcache"+(Math.random()+"").replace(".",""),bJ=0,bM=Object.prototype.toString,bC=false,bB=true,bL=/\\/g,bP=/\r\n/g,bR=/\W/;[0,0].sort(function(){bB=false;return 0});var bz=function(bX,bS,b0,b1){b0=b0||[];bS=bS||aw;var b3=bS;if(bS.nodeType!==1&&bS.nodeType!==9){return[]}if(!bX||typeof bX!=="string"){return b0}var bU,b5,b8,bT,b4,b7,b6,bZ,bW=true,bV=bz.isXML(bS),bY=[],b2=bX;do{bI.exec("");bU=bI.exec(b2);if(bU){b2=bU[3];bY.push(bU[1]);if(bU[2]){bT=bU[3];break}}}while(bU);if(bY.length>1&&bE.exec(bX)){if(bY.length===2&&bF.relative[bY[0]]){b5=bN(bY[0]+bY[1],bS,b1)}else{b5=bF.relative[bY[0]]?[bS]:bz(bY.shift(),bS);while(bY.length){bX=bY.shift();if(bF.relative[bX]){bX+=bY.shift()}b5=bN(bX,b5,b1)}}}else{if(!b1&&bY.length>1&&bS.nodeType===9&&!bV&&bF.match.ID.test(bY[0])&&!bF.match.ID.test(bY[bY.length-1])){b4=bz.find(bY.shift(),bS,bV);bS=b4.expr?bz.filter(b4.expr,b4.set)[0]:b4.set[0]}if(bS){b4=b1?{expr:bY.pop(),set:bG(b1)}:bz.find(bY.pop(),bY.length===1&&(bY[0]==="~"||bY[0]==="+")&&bS.parentNode?bS.parentNode:bS,bV);b5=b4.expr?bz.filter(b4.expr,b4.set):b4.set;if(bY.length>0){b8=bG(b5)}else{bW=false}while(bY.length){b7=bY.pop();b6=b7;if(!bF.relative[b7]){b7=""}else{b6=bY.pop()}if(b6==null){b6=bS}bF.relative[b7](b8,b6,bV)}}else{b8=bY=[]}}if(!b8){b8=b5}if(!b8){bz.error(b7||bX)}if(bM.call(b8)==="[object Array]"){if(!bW){b0.push.apply(b0,b8)}else{if(bS&&bS.nodeType===1){for(bZ=0;b8[bZ]!=null;bZ++){if(b8[bZ]&&(b8[bZ]===true||b8[bZ].nodeType===1&&bz.contains(bS,b8[bZ]))){b0.push(b5[bZ])}}}else{for(bZ=0;b8[bZ]!=null;bZ++){if(b8[bZ]&&b8[bZ].nodeType===1){b0.push(b5[bZ])}}}}}else{bG(b8,b0)}if(bT){bz(bT,b3,b0,b1);bz.uniqueSort(b0)}return b0};bz.uniqueSort=function(bT){if(bK){bC=bB;bT.sort(bK);if(bC){for(var bS=1;bS<bT.length;bS++){if(bT[bS]===bT[bS-1]){bT.splice(bS--,1)}}}}return bT};bz.matches=function(bS,bT){return bz(bS,null,null,bT)};bz.matchesSelector=function(bS,bT){return bz(bT,null,null,[bS]).length>0};bz.find=function(bZ,bS,b0){var bY,bU,bW,bV,bX,bT;if(!bZ){return[]}for(bU=0,bW=bF.order.length;bU<bW;bU++){bX=bF.order[bU];if((bV=bF.leftMatch[bX].exec(bZ))){bT=bV[1];bV.splice(1,1);if(bT.substr(bT.length-1)!=="\\"){bV[1]=(bV[1]||"").replace(bL,"");bY=bF.find[bX](bV,bS,b0);if(bY!=null){bZ=bZ.replace(bF.match[bX],"");break}}}}if(!bY){bY=typeof bS.getElementsByTagName!=="undefined"?bS.getElementsByTagName("*"):[]}return{set:bY,expr:bZ}};bz.filter=function(b3,b2,b6,bW){var bY,bS,b1,b8,b5,bT,bV,bX,b4,bU=b3,b7=[],b0=b2,bZ=b2&&b2[0]&&bz.isXML(b2[0]);while(b3&&b2.length){for(b1 in bF.filter){if((bY=bF.leftMatch[b1].exec(b3))!=null&&bY[2]){bT=bF.filter[b1];bV=bY[1];bS=false;bY.splice(1,1);if(bV.substr(bV.length-1)==="\\"){continue}if(b0===b7){b7=[]}if(bF.preFilter[b1]){bY=bF.preFilter[b1](bY,b0,b6,b7,bW,bZ);if(!bY){bS=b8=true}else{if(bY===true){continue}}}if(bY){for(bX=0;(b5=b0[bX])!=null;bX++){if(b5){b8=bT(b5,bY,bX,b0);b4=bW^b8;if(b6&&b8!=null){if(b4){bS=true}else{b0[bX]=false}}else{if(b4){b7.push(b5);bS=true}}}}}if(b8!==M){if(!b6){b0=b7}b3=b3.replace(bF.match[b1],"");if(!bS){return[]}break}}}if(b3===bU){if(bS==null){bz.error(b3)}else{break}}bU=b3}return b0};bz.error=function(bS){throw new Error("Syntax error, unrecognized expression: "+bS)};var bx=bz.getText=function(bW){var bU,bV,bS=bW.nodeType,bT="";if(bS){if(bS===1||bS===9){if(typeof bW.textContent==="string"){return bW.textContent}else{if(typeof bW.innerText==="string"){return bW.innerText.replace(bP,"")}else{for(bW=bW.firstChild;bW;bW=bW.nextSibling){bT+=bx(bW)}}}}else{if(bS===3||bS===4){return bW.nodeValue}}}else{for(bU=0;(bV=bW[bU]);bU++){if(bV.nodeType!==8){bT+=bx(bV)}}}return bT};var bF=bz.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(bS){return bS.getAttribute("href")},type:function(bS){return bS.getAttribute("type")}},relative:{"+":function(bY,bT){var bV=typeof bT==="string",bX=bV&&!bR.test(bT),bZ=bV&&!bX;if(bX){bT=bT.toLowerCase()}for(var bU=0,bS=bY.length,bW;bU<bS;bU++){if((bW=bY[bU])){while((bW=bW.previousSibling)&&bW.nodeType!==1){}bY[bU]=bZ||bW&&bW.nodeName.toLowerCase()===bT?bW||false:bW===bT}}if(bZ){bz.filter(bT,bY,true)}},">":function(bY,bT){var bX,bW=typeof bT==="string",bU=0,bS=bY.length;if(bW&&!bR.test(bT)){bT=bT.toLowerCase();for(;bU<bS;bU++){bX=bY[bU];if(bX){var bV=bX.parentNode;bY[bU]=bV.nodeName.toLowerCase()===bT?bV:false}}}else{for(;bU<bS;bU++){bX=bY[bU];if(bX){bY[bU]=bW?bX.parentNode:bX.parentNode===bT}}if(bW){bz.filter(bT,bY,true)}}},"":function(bV,bT,bX){var bW,bU=bJ++,bS=bO;if(typeof bT==="string"&&!bR.test(bT)){bT=bT.toLowerCase();bW=bT;bS=bw}bS("parentNode",bT,bU,bV,bW,bX)},"~":function(bV,bT,bX){var bW,bU=bJ++,bS=bO;if(typeof bT==="string"&&!bR.test(bT)){bT=bT.toLowerCase();bW=bT;bS=bw}bS("previousSibling",bT,bU,bV,bW,bX)}},find:{ID:function(bT,bU,bV){if(typeof bU.getElementById!=="undefined"&&!bV){var bS=bU.getElementById(bT[1]);return bS&&bS.parentNode?[bS]:[]}},NAME:function(bU,bX){if(typeof bX.getElementsByName!=="undefined"){var bT=[],bW=bX.getElementsByName(bU[1]);for(var bV=0,bS=bW.length;bV<bS;bV++){if(bW[bV].getAttribute("name")===bU[1]){bT.push(bW[bV])}}return bT.length===0?null:bT}},TAG:function(bS,bT){if(typeof bT.getElementsByTagName!=="undefined"){return bT.getElementsByTagName(bS[1])}}},preFilter:{CLASS:function(bV,bT,bU,bS,bY,bZ){bV=" "+bV[1].replace(bL,"")+" ";if(bZ){return bV}for(var bW=0,bX;(bX=bT[bW])!=null;bW++){if(bX){if(bY^(bX.className&&(" "+bX.className+" ").replace(/[\t\n\r]/g," ").indexOf(bV)>=0)){if(!bU){bS.push(bX)}}else{if(bU){bT[bW]=false}}}}return false},ID:function(bS){return bS[1].replace(bL,"")},TAG:function(bT,bS){return bT[1].replace(bL,"").toLowerCase()},CHILD:function(bS){if(bS[1]==="nth"){if(!bS[2]){bz.error(bS[0])}bS[2]=bS[2].replace(/^\+|\s*/g,"");var bT=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(bS[2]==="even"&&"2n"||bS[2]==="odd"&&"2n+1"||!/\D/.test(bS[2])&&"0n+"+bS[2]||bS[2]);
bS[2]=(bT[1]+(bT[2]||1))-0;bS[3]=bT[3]-0}else{if(bS[2]){bz.error(bS[0])}}bS[0]=bJ++;return bS},ATTR:function(bW,bT,bU,bS,bX,bY){var bV=bW[1]=bW[1].replace(bL,"");if(!bY&&bF.attrMap[bV]){bW[1]=bF.attrMap[bV]}bW[4]=(bW[4]||bW[5]||"").replace(bL,"");if(bW[2]==="~="){bW[4]=" "+bW[4]+" "}return bW},PSEUDO:function(bW,bT,bU,bS,bX){if(bW[1]==="not"){if((bI.exec(bW[3])||"").length>1||/^\w/.test(bW[3])){bW[3]=bz(bW[3],null,null,bT)}else{var bV=bz.filter(bW[3],bT,bU,true^bX);if(!bU){bS.push.apply(bS,bV)}return false}}else{if(bF.match.POS.test(bW[0])||bF.match.CHILD.test(bW[0])){return true}}return bW},POS:function(bS){bS.unshift(true);return bS}},filters:{enabled:function(bS){return bS.disabled===false&&bS.type!=="hidden"},disabled:function(bS){return bS.disabled===true},checked:function(bS){return bS.checked===true},selected:function(bS){if(bS.parentNode){bS.parentNode.selectedIndex}return bS.selected===true},parent:function(bS){return !!bS.firstChild},empty:function(bS){return !bS.firstChild},has:function(bU,bT,bS){return !!bz(bS[3],bU).length},header:function(bS){return(/h\d/i).test(bS.nodeName)},text:function(bU){var bS=bU.getAttribute("type"),bT=bU.type;return bU.nodeName.toLowerCase()==="input"&&"text"===bT&&(bS===bT||bS===null)},radio:function(bS){return bS.nodeName.toLowerCase()==="input"&&"radio"===bS.type},checkbox:function(bS){return bS.nodeName.toLowerCase()==="input"&&"checkbox"===bS.type},file:function(bS){return bS.nodeName.toLowerCase()==="input"&&"file"===bS.type},password:function(bS){return bS.nodeName.toLowerCase()==="input"&&"password"===bS.type},submit:function(bT){var bS=bT.nodeName.toLowerCase();return(bS==="input"||bS==="button")&&"submit"===bT.type},image:function(bS){return bS.nodeName.toLowerCase()==="input"&&"image"===bS.type},reset:function(bT){var bS=bT.nodeName.toLowerCase();return(bS==="input"||bS==="button")&&"reset"===bT.type},button:function(bT){var bS=bT.nodeName.toLowerCase();return bS==="input"&&"button"===bT.type||bS==="button"},input:function(bS){return(/input|select|textarea|button/i).test(bS.nodeName)},focus:function(bS){return bS===bS.ownerDocument.activeElement}},setFilters:{first:function(bT,bS){return bS===0},last:function(bU,bT,bS,bV){return bT===bV.length-1},even:function(bT,bS){return bS%2===0},odd:function(bT,bS){return bS%2===1},lt:function(bU,bT,bS){return bT<bS[3]-0},gt:function(bU,bT,bS){return bT>bS[3]-0},nth:function(bU,bT,bS){return bS[3]-0===bT},eq:function(bU,bT,bS){return bS[3]-0===bT}},filter:{PSEUDO:function(bU,bZ,bY,b0){var bS=bZ[1],bT=bF.filters[bS];if(bT){return bT(bU,bY,bZ,b0)}else{if(bS==="contains"){return(bU.textContent||bU.innerText||bx([bU])||"").indexOf(bZ[3])>=0}else{if(bS==="not"){var bV=bZ[3];for(var bX=0,bW=bV.length;bX<bW;bX++){if(bV[bX]===bU){return false}}return true}else{bz.error(bS)}}}},CHILD:function(bU,bW){var bV,b2,bY,b1,bS,bX,b0,bZ=bW[1],bT=bU;switch(bZ){case"only":case"first":while((bT=bT.previousSibling)){if(bT.nodeType===1){return false}}if(bZ==="first"){return true}bT=bU;case"last":while((bT=bT.nextSibling)){if(bT.nodeType===1){return false}}return true;case"nth":bV=bW[2];b2=bW[3];if(bV===1&&b2===0){return true}bY=bW[0];b1=bU.parentNode;if(b1&&(b1[bD]!==bY||!bU.nodeIndex)){bX=0;for(bT=b1.firstChild;bT;bT=bT.nextSibling){if(bT.nodeType===1){bT.nodeIndex=++bX}}b1[bD]=bY}b0=bU.nodeIndex-b2;if(bV===0){return b0===0}else{return(b0%bV===0&&b0/bV>=0)}}},ID:function(bT,bS){return bT.nodeType===1&&bT.getAttribute("id")===bS},TAG:function(bT,bS){return(bS==="*"&&bT.nodeType===1)||!!bT.nodeName&&bT.nodeName.toLowerCase()===bS},CLASS:function(bT,bS){return(" "+(bT.className||bT.getAttribute("class"))+" ").indexOf(bS)>-1},ATTR:function(bX,bV){var bU=bV[1],bS=bz.attr?bz.attr(bX,bU):bF.attrHandle[bU]?bF.attrHandle[bU](bX):bX[bU]!=null?bX[bU]:bX.getAttribute(bU),bY=bS+"",bW=bV[2],bT=bV[4];return bS==null?bW==="!=":!bW&&bz.attr?bS!=null:bW==="="?bY===bT:bW==="*="?bY.indexOf(bT)>=0:bW==="~="?(" "+bY+" ").indexOf(bT)>=0:!bT?bY&&bS!==false:bW==="!="?bY!==bT:bW==="^="?bY.indexOf(bT)===0:bW==="$="?bY.substr(bY.length-bT.length)===bT:bW==="|="?bY===bT||bY.substr(0,bT.length+1)===bT+"-":false},POS:function(bW,bT,bU,bX){var bS=bT[2],bV=bF.setFilters[bS];if(bV){return bV(bW,bU,bT,bX)}}}};var bE=bF.match.POS,by=function(bT,bS){return"\\"+(bS-0+1)};for(var bA in bF.match){bF.match[bA]=new RegExp(bF.match[bA].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bF.leftMatch[bA]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bF.match[bA].source.replace(/\\(\d+)/g,by))}var bG=function(bT,bS){bT=Array.prototype.slice.call(bT,0);if(bS){bS.push.apply(bS,bT);return bS}return bT};try{Array.prototype.slice.call(aw.documentElement.childNodes,0)[0].nodeType}catch(bQ){bG=function(bW,bV){var bU=0,bT=bV||[];if(bM.call(bW)==="[object Array]"){Array.prototype.push.apply(bT,bW)}else{if(typeof bW.length==="number"){for(var bS=bW.length;bU<bS;bU++){bT.push(bW[bU])}}else{for(;bW[bU];bU++){bT.push(bW[bU])}}}return bT}}var bK,bH;if(aw.documentElement.compareDocumentPosition){bK=function(bT,bS){if(bT===bS){bC=true;return 0}if(!bT.compareDocumentPosition||!bS.compareDocumentPosition){return bT.compareDocumentPosition?-1:1}return bT.compareDocumentPosition(bS)&4?-1:1}}else{bK=function(b0,bZ){if(b0===bZ){bC=true;return 0}else{if(b0.sourceIndex&&bZ.sourceIndex){return b0.sourceIndex-bZ.sourceIndex}}var bX,bT,bU=[],bS=[],bW=b0.parentNode,bY=bZ.parentNode,b1=bW;if(bW===bY){return bH(b0,bZ)}else{if(!bW){return -1}else{if(!bY){return 1}}}while(b1){bU.unshift(b1);b1=b1.parentNode}b1=bY;while(b1){bS.unshift(b1);b1=b1.parentNode}bX=bU.length;bT=bS.length;for(var bV=0;bV<bX&&bV<bT;bV++){if(bU[bV]!==bS[bV]){return bH(bU[bV],bS[bV])}}return bV===bX?bH(b0,bS[bV],-1):bH(bU[bV],bZ,1)};bH=function(bT,bS,bU){if(bT===bS){return bU}var bV=bT.nextSibling;while(bV){if(bV===bS){return -1}bV=bV.nextSibling}return 1}}(function(){var bT=aw.createElement("div"),bU="script"+(new Date()).getTime(),bS=aw.documentElement;bT.innerHTML="<a name='"+bU+"'/>";bS.insertBefore(bT,bS.firstChild);if(aw.getElementById(bU)){bF.find.ID=function(bW,bX,bY){if(typeof bX.getElementById!=="undefined"&&!bY){var bV=bX.getElementById(bW[1]);return bV?bV.id===bW[1]||typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id").nodeValue===bW[1]?[bV]:M:[]}};bF.filter.ID=function(bX,bV){var bW=typeof bX.getAttributeNode!=="undefined"&&bX.getAttributeNode("id");return bX.nodeType===1&&bW&&bW.nodeValue===bV}}bS.removeChild(bT);bS=bT=null})();(function(){var bS=aw.createElement("div");bS.appendChild(aw.createComment(""));if(bS.getElementsByTagName("*").length>0){bF.find.TAG=function(bT,bX){var bW=bX.getElementsByTagName(bT[1]);if(bT[1]==="*"){var bV=[];for(var bU=0;bW[bU];bU++){if(bW[bU].nodeType===1){bV.push(bW[bU])}}bW=bV}return bW}}bS.innerHTML="<a href='#'></a>";if(bS.firstChild&&typeof bS.firstChild.getAttribute!=="undefined"&&bS.firstChild.getAttribute("href")!=="#"){bF.attrHandle.href=function(bT){return bT.getAttribute("href",2)}}bS=null})();if(aw.querySelectorAll){(function(){var bS=bz,bV=aw.createElement("div"),bU="__sizzle__";bV.innerHTML="<p class='TEST'></p>";if(bV.querySelectorAll&&bV.querySelectorAll(".TEST").length===0){return}bz=function(b6,bX,b1,b5){bX=bX||aw;if(!b5&&!bz.isXML(bX)){var b4=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b6);if(b4&&(bX.nodeType===1||bX.nodeType===9)){if(b4[1]){return bG(bX.getElementsByTagName(b6),b1)}else{if(b4[2]&&bF.find.CLASS&&bX.getElementsByClassName){return bG(bX.getElementsByClassName(b4[2]),b1)}}}if(bX.nodeType===9){if(b6==="body"&&bX.body){return bG([bX.body],b1)}else{if(b4&&b4[3]){var b0=bX.getElementById(b4[3]);if(b0&&b0.parentNode){if(b0.id===b4[3]){return bG([b0],b1)}}else{return bG([],b1)}}}try{return bG(bX.querySelectorAll(b6),b1)}catch(b2){}}else{if(bX.nodeType===1&&bX.nodeName.toLowerCase()!=="object"){var bY=bX,bZ=bX.getAttribute("id"),bW=bZ||bU,b8=bX.parentNode,b7=/^\s*[+~]/.test(b6);if(!bZ){bX.setAttribute("id",bW)}else{bW=bW.replace(/'/g,"\\$&")}if(b7&&b8){bX=bX.parentNode}try{if(!b7||b8){return bG(bX.querySelectorAll("[id='"+bW+"'] "+b6),b1)
}}catch(b3){}finally{if(!bZ){bY.removeAttribute("id")}}}}}return bS(b6,bX,b1,b5)};for(var bT in bS){bz[bT]=bS[bT]}bV=null})()}(function(){var bS=aw.documentElement,bU=bS.matchesSelector||bS.mozMatchesSelector||bS.webkitMatchesSelector||bS.msMatchesSelector;if(bU){var bW=!bU.call(aw.createElement("div"),"div"),bT=false;try{bU.call(aw.documentElement,"[test!='']:sizzle")}catch(bV){bT=true}bz.matchesSelector=function(bY,b0){b0=b0.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bz.isXML(bY)){try{if(bT||!bF.match.PSEUDO.test(b0)&&!/!=/.test(b0)){var bX=bU.call(bY,b0);if(bX||!bW||bY.document&&bY.document.nodeType!==11){return bX}}}catch(bZ){}}return bz(b0,null,null,[bY]).length>0}}})();(function(){var bS=aw.createElement("div");bS.innerHTML="<div class='test e'></div><div class='test'></div>";if(!bS.getElementsByClassName||bS.getElementsByClassName("e").length===0){return}bS.lastChild.className="e";if(bS.getElementsByClassName("e").length===1){return}bF.order.splice(1,0,"CLASS");bF.find.CLASS=function(bT,bU,bV){if(typeof bU.getElementsByClassName!=="undefined"&&!bV){return bU.getElementsByClassName(bT[1])}};bS=null})();function bw(bT,bY,bX,b1,bZ,b0){for(var bV=0,bU=b1.length;bV<bU;bV++){var bS=b1[bV];if(bS){var bW=false;bS=bS[bT];while(bS){if(bS[bD]===bX){bW=b1[bS.sizset];break}if(bS.nodeType===1&&!b0){bS[bD]=bX;bS.sizset=bV}if(bS.nodeName.toLowerCase()===bY){bW=bS;break}bS=bS[bT]}b1[bV]=bW}}}function bO(bT,bY,bX,b1,bZ,b0){for(var bV=0,bU=b1.length;bV<bU;bV++){var bS=b1[bV];if(bS){var bW=false;bS=bS[bT];while(bS){if(bS[bD]===bX){bW=b1[bS.sizset];break}if(bS.nodeType===1){if(!b0){bS[bD]=bX;bS.sizset=bV}if(typeof bY!=="string"){if(bS===bY){bW=true;break}}else{if(bz.filter(bY,[bS]).length>0){bW=bS;break}}}bS=bS[bT]}b1[bV]=bW}}}if(aw.documentElement.contains){bz.contains=function(bT,bS){return bT!==bS&&(bT.contains?bT.contains(bS):true)}}else{if(aw.documentElement.compareDocumentPosition){bz.contains=function(bT,bS){return !!(bT.compareDocumentPosition(bS)&16)}}else{bz.contains=function(){return false}}}bz.isXML=function(bS){var bT=(bS?bS.ownerDocument||bS:0).documentElement;return bT?bT.nodeName!=="HTML":false};var bN=function(bU,bS,bY){var bX,bZ=[],bW="",b0=bS.nodeType?[bS]:bS;while((bX=bF.match.PSEUDO.exec(bU))){bW+=bX[0];bU=bU.replace(bF.match.PSEUDO,"")}bU=bF.relative[bU]?bU+"*":bU;for(var bV=0,bT=b0.length;bV<bT;bV++){bz(bU,b0[bV],bZ,bY)}return bz.filter(bW,bZ)};bz.attr=b.attr;bz.selectors.attrMap={};b.find=bz;b.expr=bz.selectors;b.expr[":"]=b.expr.filters;b.unique=bz.uniqueSort;b.text=bz.getText;b.isXMLDoc=bz.isXML;b.contains=bz.contains})();var ac=/Until$/,ar=/^(?:parents|prevUntil|prevAll)/,ba=/,/,bq=/^.[^:#\[\.,]*$/,Q=Array.prototype.slice,I=b.expr.match.POS,az={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(bw){var by=this,bA,bx;if(typeof bw!=="string"){return b(bw).filter(function(){for(bA=0,bx=by.length;bA<bx;bA++){if(b.contains(by[bA],this)){return true}}})}var bz=this.pushStack("","find",bw),bC,bD,bB;for(bA=0,bx=this.length;bA<bx;bA++){bC=bz.length;b.find(bw,this[bA],bz);if(bA>0){for(bD=bC;bD<bz.length;bD++){for(bB=0;bB<bC;bB++){if(bz[bB]===bz[bD]){bz.splice(bD--,1);break}}}}}return bz},has:function(bx){var bw=b(bx);return this.filter(function(){for(var bz=0,by=bw.length;bz<by;bz++){if(b.contains(this,bw[bz])){return true}}})},not:function(bw){return this.pushStack(aH(this,bw,false),"not",bw)},filter:function(bw){return this.pushStack(aH(this,bw,true),"filter",bw)},is:function(bw){return !!bw&&(typeof bw==="string"?I.test(bw)?b(bw,this.context).index(this[0])>=0:b.filter(bw,this).length>0:this.filter(bw).length>0)},closest:function(bA,bz){var bx=[],by,bw,bB=this[0];if(b.isArray(bA)){var bD=1;while(bB&&bB.ownerDocument&&bB!==bz){for(by=0;by<bA.length;by++){if(b(bB).is(bA[by])){bx.push({selector:bA[by],elem:bB,level:bD})}}bB=bB.parentNode;bD++}return bx}var bC=I.test(bA)||typeof bA!=="string"?b(bA,bz||this.context):0;for(by=0,bw=this.length;by<bw;by++){bB=this[by];while(bB){if(bC?bC.index(bB)>-1:b.find.matchesSelector(bB,bA)){bx.push(bB);break}else{bB=bB.parentNode;if(!bB||!bB.ownerDocument||bB===bz||bB.nodeType===11){break}}}}bx=bx.length>1?b.unique(bx):bx;return this.pushStack(bx,"closest",bA)},index:function(bw){if(!bw){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof bw==="string"){return b.inArray(this[0],b(bw))}return b.inArray(bw.jquery?bw[0]:bw,this)},add:function(bw,bx){var bz=typeof bw==="string"?b(bw,bx):b.makeArray(bw&&bw.nodeType?[bw]:bw),by=b.merge(this.get(),bz);return this.pushStack(D(bz[0])||D(by[0])?by:b.unique(by))},andSelf:function(){return this.add(this.prevObject)}});function D(bw){return !bw||!bw.parentNode||bw.parentNode.nodeType===11}b.each({parent:function(bx){var bw=bx.parentNode;return bw&&bw.nodeType!==11?bw:null},parents:function(bw){return b.dir(bw,"parentNode")},parentsUntil:function(bx,bw,by){return b.dir(bx,"parentNode",by)},next:function(bw){return b.nth(bw,2,"nextSibling")},prev:function(bw){return b.nth(bw,2,"previousSibling")},nextAll:function(bw){return b.dir(bw,"nextSibling")},prevAll:function(bw){return b.dir(bw,"previousSibling")},nextUntil:function(bx,bw,by){return b.dir(bx,"nextSibling",by)},prevUntil:function(bx,bw,by){return b.dir(bx,"previousSibling",by)},siblings:function(bw){return b.sibling(bw.parentNode.firstChild,bw)},children:function(bw){return b.sibling(bw.firstChild)},contents:function(bw){return b.nodeName(bw,"iframe")?bw.contentDocument||bw.contentWindow.document:b.makeArray(bw.childNodes)}},function(bw,bx){b.fn[bw]=function(bA,by){var bz=b.map(this,bx,bA);if(!ac.test(bw)){by=bA}if(by&&typeof by==="string"){bz=b.filter(by,bz)}bz=this.length>1&&!az[bw]?b.unique(bz):bz;if((this.length>1||ba.test(by))&&ar.test(bw)){bz=bz.reverse()}return this.pushStack(bz,bw,Q.call(arguments).join(","))}});b.extend({filter:function(by,bw,bx){if(bx){by=":not("+by+")"}return bw.length===1?b.find.matchesSelector(bw[0],by)?[bw[0]]:[]:b.find.matches(by,bw)},dir:function(by,bx,bA){var bw=[],bz=by[bx];while(bz&&bz.nodeType!==9&&(bA===M||bz.nodeType!==1||!b(bz).is(bA))){if(bz.nodeType===1){bw.push(bz)}bz=bz[bx]}return bw},nth:function(bA,bw,by,bz){bw=bw||1;var bx=0;for(;bA;bA=bA[by]){if(bA.nodeType===1&&++bx===bw){break}}return bA},sibling:function(by,bx){var bw=[];for(;by;by=by.nextSibling){if(by.nodeType===1&&by!==bx){bw.push(by)}}return bw}});function aH(bz,by,bw){by=by||0;if(b.isFunction(by)){return b.grep(bz,function(bB,bA){var bC=!!by.call(bB,bA,bB);return bC===bw})}else{if(by.nodeType){return b.grep(bz,function(bB,bA){return(bB===by)===bw})}else{if(typeof by==="string"){var bx=b.grep(bz,function(bA){return bA.nodeType===1});if(bq.test(by)){return b.filter(by,bx,!bw)}else{by=b.filter(by,bx)}}}}return b.grep(bz,function(bB,bA){return(b.inArray(bB,by)>=0)===bw})}function a(bw){var by=aS.split("|"),bx=bw.createDocumentFragment();if(bx.createElement){while(by.length){bx.createElement(by.pop())}}return bx}var aS="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ah=/ jQuery\d+="(?:\d+|null)"/g,at=/^\s+/,S=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,x=/<tbody/i,X=/<|&#?\w+;/,af=/<(?:script|style)/i,P=/<(?:script|object|embed|option|style)/i,ai=new RegExp("<(?:"+aS+")","i"),o=/checked\s*(?:[^=]|=\s*.checked.)/i,bn=/\/(java|ecma)script/i,aO=/^\s*<!(?:\[CDATA\[|\-\-)/,ay={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ad=a(aw);ay.optgroup=ay.option;ay.tbody=ay.tfoot=ay.colgroup=ay.caption=ay.thead;ay.th=ay.td;if(!b.support.htmlSerialize){ay._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(bw){if(b.isFunction(bw)){return this.each(function(by){var bx=b(this);
bx.text(bw.call(this,by,bx.text()))})}if(typeof bw!=="object"&&bw!==M){return this.empty().append((this[0]&&this[0].ownerDocument||aw).createTextNode(bw))}return b.text(this)},wrapAll:function(bw){if(b.isFunction(bw)){return this.each(function(by){b(this).wrapAll(bw.call(this,by))})}if(this[0]){var bx=b(bw,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bx.insertBefore(this[0])}bx.map(function(){var by=this;while(by.firstChild&&by.firstChild.nodeType===1){by=by.firstChild}return by}).append(this)}return this},wrapInner:function(bw){if(b.isFunction(bw)){return this.each(function(bx){b(this).wrapInner(bw.call(this,bx))})}return this.each(function(){var bx=b(this),by=bx.contents();if(by.length){by.wrapAll(bw)}else{bx.append(bw)}})},wrap:function(bw){var bx=b.isFunction(bw);return this.each(function(by){b(this).wrapAll(bx?bw.call(this,by):bw)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(bw){if(this.nodeType===1){this.appendChild(bw)}})},prepend:function(){return this.domManip(arguments,true,function(bw){if(this.nodeType===1){this.insertBefore(bw,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bx){this.parentNode.insertBefore(bx,this)})}else{if(arguments.length){var bw=b.clean(arguments);bw.push.apply(bw,this.toArray());return this.pushStack(bw,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bx){this.parentNode.insertBefore(bx,this.nextSibling)})}else{if(arguments.length){var bw=this.pushStack(this,"after",arguments);bw.push.apply(bw,b.clean(arguments));return bw}}},remove:function(bw,bz){for(var bx=0,by;(by=this[bx])!=null;bx++){if(!bw||b.filter(bw,[by]).length){if(!bz&&by.nodeType===1){b.cleanData(by.getElementsByTagName("*"));b.cleanData([by])}if(by.parentNode){by.parentNode.removeChild(by)}}}return this},empty:function(){for(var bw=0,bx;(bx=this[bw])!=null;bw++){if(bx.nodeType===1){b.cleanData(bx.getElementsByTagName("*"))}while(bx.firstChild){bx.removeChild(bx.firstChild)}}return this},clone:function(bx,bw){bx=bx==null?false:bx;bw=bw==null?bx:bw;return this.map(function(){return b.clone(this,bx,bw)})},html:function(by){if(by===M){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ah,""):null}else{if(typeof by==="string"&&!af.test(by)&&(b.support.leadingWhitespace||!at.test(by))&&!ay[(d.exec(by)||["",""])[1].toLowerCase()]){by=by.replace(S,"<$1></$2>");try{for(var bx=0,bw=this.length;bx<bw;bx++){if(this[bx].nodeType===1){b.cleanData(this[bx].getElementsByTagName("*"));this[bx].innerHTML=by}}}catch(bz){this.empty().append(by)}}else{if(b.isFunction(by)){this.each(function(bB){var bA=b(this);bA.html(by.call(this,bB,bA.html()))})}else{this.empty().append(by)}}}return this},replaceWith:function(bw){if(this[0]&&this[0].parentNode){if(b.isFunction(bw)){return this.each(function(bz){var by=b(this),bx=by.html();by.replaceWith(bw.call(this,bz,bx))})}if(typeof bw!=="string"){bw=b(bw).detach()}return this.each(function(){var by=this.nextSibling,bx=this.parentNode;b(this).remove();if(by){b(by).before(bw)}else{b(bx).append(bw)}})}else{return this.length?this.pushStack(b(b.isFunction(bw)?bw():bw),"replaceWith",bw):this}},detach:function(bw){return this.remove(bw,true)},domManip:function(bD,bH,bG){var bz,bA,bC,bF,bE=bD[0],bx=[];if(!b.support.checkClone&&arguments.length===3&&typeof bE==="string"&&o.test(bE)){return this.each(function(){b(this).domManip(bD,bH,bG,true)})}if(b.isFunction(bE)){return this.each(function(bJ){var bI=b(this);bD[0]=bE.call(this,bJ,bH?bI.html():M);bI.domManip(bD,bH,bG)})}if(this[0]){bF=bE&&bE.parentNode;if(b.support.parentNode&&bF&&bF.nodeType===11&&bF.childNodes.length===this.length){bz={fragment:bF}}else{bz=b.buildFragment(bD,this,bx)}bC=bz.fragment;if(bC.childNodes.length===1){bA=bC=bC.firstChild}else{bA=bC.firstChild}if(bA){bH=bH&&b.nodeName(bA,"tr");for(var by=0,bw=this.length,bB=bw-1;by<bw;by++){bG.call(bH?bb(this[by],bA):this[by],bz.cacheable||(bw>1&&by<bB)?b.clone(bC,true,true):bC)}}if(bx.length){b.each(bx,bp)}}return this}});function bb(bw,bx){return b.nodeName(bw,"table")?(bw.getElementsByTagName("tbody")[0]||bw.appendChild(bw.ownerDocument.createElement("tbody"))):bw}function u(bD,bx){if(bx.nodeType!==1||!b.hasData(bD)){return}var bA,bz,bw,bC=b._data(bD),bB=b._data(bx,bC),by=bC.events;if(by){delete bB.handle;bB.events={};for(bA in by){for(bz=0,bw=by[bA].length;bz<bw;bz++){b.event.add(bx,bA+(by[bA][bz].namespace?".":"")+by[bA][bz].namespace,by[bA][bz],by[bA][bz].data)}}}if(bB.data){bB.data=b.extend({},bB.data)}}function aj(bx,bw){var by;if(bw.nodeType!==1){return}if(bw.clearAttributes){bw.clearAttributes()}if(bw.mergeAttributes){bw.mergeAttributes(bx)}by=bw.nodeName.toLowerCase();if(by==="object"){bw.outerHTML=bx.outerHTML}else{if(by==="input"&&(bx.type==="checkbox"||bx.type==="radio")){if(bx.checked){bw.defaultChecked=bw.checked=bx.checked}if(bw.value!==bx.value){bw.value=bx.value}}else{if(by==="option"){bw.selected=bx.defaultSelected}else{if(by==="input"||by==="textarea"){bw.defaultValue=bx.defaultValue}}}}bw.removeAttribute(b.expando)}b.buildFragment=function(bB,bz,bx){var bA,bw,by,bC,bD=bB[0];if(bz&&bz[0]){bC=bz[0].ownerDocument||bz[0]}if(!bC.createDocumentFragment){bC=aw}if(bB.length===1&&typeof bD==="string"&&bD.length<512&&bC===aw&&bD.charAt(0)==="<"&&!P.test(bD)&&(b.support.checkClone||!o.test(bD))&&(b.support.html5Clone||!ai.test(bD))){bw=true;by=b.fragments[bD];if(by&&by!==1){bA=by}}if(!bA){bA=bC.createDocumentFragment();b.clean(bB,bC,bA,bx)}if(bw){b.fragments[bD]=by?bA:1}return{fragment:bA,cacheable:bw}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(bw,bx){b.fn[bw]=function(by){var bB=[],bE=b(by),bD=this.length===1&&this[0].parentNode;if(bD&&bD.nodeType===11&&bD.childNodes.length===1&&bE.length===1){bE[bx](this[0]);return this}else{for(var bC=0,bz=bE.length;bC<bz;bC++){var bA=(bC>0?this.clone(true):this).get();b(bE[bC])[bx](bA);bB=bB.concat(bA)}return this.pushStack(bB,bw,bE.selector)}}});function bh(bw){if(typeof bw.getElementsByTagName!=="undefined"){return bw.getElementsByTagName("*")}else{if(typeof bw.querySelectorAll!=="undefined"){return bw.querySelectorAll("*")}else{return[]}}}function aA(bw){if(bw.type==="checkbox"||bw.type==="radio"){bw.defaultChecked=bw.checked}}function F(bw){var bx=(bw.nodeName||"").toLowerCase();if(bx==="input"){aA(bw)}else{if(bx!=="script"&&typeof bw.getElementsByTagName!=="undefined"){b.grep(bw.getElementsByTagName("input"),aA)}}}function am(bw){var bx=aw.createElement("div");ad.appendChild(bx);bx.innerHTML=bw.outerHTML;return bx.firstChild}b.extend({clone:function(bA,bC,by){var bw,bx,bz,bB=b.support.html5Clone||!ai.test("<"+bA.nodeName)?bA.cloneNode(true):am(bA);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bA.nodeType===1||bA.nodeType===11)&&!b.isXMLDoc(bA)){aj(bA,bB);bw=bh(bA);bx=bh(bB);for(bz=0;bw[bz];++bz){if(bx[bz]){aj(bw[bz],bx[bz])}}}if(bC){u(bA,bB);if(by){bw=bh(bA);bx=bh(bB);for(bz=0;bw[bz];++bz){u(bw[bz],bx[bz])}}}bw=bx=null;return bB},clean:function(by,bA,bJ,bC){var bH;bA=bA||aw;if(typeof bA.createElement==="undefined"){bA=bA.ownerDocument||bA[0]&&bA[0].ownerDocument||aw}var bK=[],bD;for(var bG=0,bB;(bB=by[bG])!=null;bG++){if(typeof bB==="number"){bB+=""}if(!bB){continue}if(typeof bB==="string"){if(!X.test(bB)){bB=bA.createTextNode(bB)}else{bB=bB.replace(S,"<$1></$2>");var bM=(d.exec(bB)||["",""])[1].toLowerCase(),bz=ay[bM]||ay._default,bF=bz[0],bx=bA.createElement("div");if(bA===aw){ad.appendChild(bx)}else{a(bA).appendChild(bx)}bx.innerHTML=bz[1]+bB+bz[2];while(bF--){bx=bx.lastChild}if(!b.support.tbody){var bw=x.test(bB),bE=bM==="table"&&!bw?bx.firstChild&&bx.firstChild.childNodes:bz[1]==="<table>"&&!bw?bx.childNodes:[];for(bD=bE.length-1;bD>=0;--bD){if(b.nodeName(bE[bD],"tbody")&&!bE[bD].childNodes.length){bE[bD].parentNode.removeChild(bE[bD])
}}}if(!b.support.leadingWhitespace&&at.test(bB)){bx.insertBefore(bA.createTextNode(at.exec(bB)[0]),bx.firstChild)}bB=bx.childNodes}}var bI;if(!b.support.appendChecked){if(bB[0]&&typeof(bI=bB.length)==="number"){for(bD=0;bD<bI;bD++){F(bB[bD])}}else{F(bB)}}if(bB.nodeType){bK.push(bB)}else{bK=b.merge(bK,bB)}}if(bJ){bH=function(bN){return !bN.type||bn.test(bN.type)};for(bG=0;bK[bG];bG++){if(bC&&b.nodeName(bK[bG],"script")&&(!bK[bG].type||bK[bG].type.toLowerCase()==="text/javascript")){bC.push(bK[bG].parentNode?bK[bG].parentNode.removeChild(bK[bG]):bK[bG])}else{if(bK[bG].nodeType===1){var bL=b.grep(bK[bG].getElementsByTagName("script"),bH);bK.splice.apply(bK,[bG+1,0].concat(bL))}bJ.appendChild(bK[bG])}}}return bK},cleanData:function(bx){var bA,by,bw=b.cache,bD=b.event.special,bC=b.support.deleteExpando;for(var bB=0,bz;(bz=bx[bB])!=null;bB++){if(bz.nodeName&&b.noData[bz.nodeName.toLowerCase()]){continue}by=bz[b.expando];if(by){bA=bw[by];if(bA&&bA.events){for(var bE in bA.events){if(bD[bE]){b.event.remove(bz,bE)}else{b.removeEvent(bz,bE,bA.handle)}}if(bA.handle){bA.handle.elem=null}}if(bC){delete bz[b.expando]}else{if(bz.removeAttribute){bz.removeAttribute(b.expando)}}delete bw[by]}}}});function bp(bw,bx){if(bx.src){b.ajax({url:bx.src,async:false,dataType:"script"})}else{b.globalEval((bx.text||bx.textContent||bx.innerHTML||"").replace(aO,"/*$0*/"))}if(bx.parentNode){bx.parentNode.removeChild(bx)}}var al=/alpha\([^)]*\)/i,av=/opacity=([^)]*)/,A=/([A-Z]|^ms)/g,bd=/^-?\d+(?:px)?$/i,bo=/^-?\d/,J=/^([\-+])=([\-+.\de]+)/,a8={position:"absolute",visibility:"hidden",display:"block"},ao=["Left","Right"],a2=["Top","Bottom"],aa,aJ,aY;b.fn.css=function(bw,bx){if(arguments.length===2&&bx===M){return this}return b.access(this,bw,bx,true,function(bz,by,bA){return bA!==M?b.style(bz,by,bA):b.css(bz,by)})};b.extend({cssHooks:{opacity:{get:function(by,bx){if(bx){var bw=aa(by,"opacity","opacity");return bw===""?"1":bw}else{return by.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(by,bx,bE,bz){if(!by||by.nodeType===3||by.nodeType===8||!by.style){return}var bC,bD,bA=b.camelCase(bx),bw=by.style,bF=b.cssHooks[bA];bx=b.cssProps[bA]||bA;if(bE!==M){bD=typeof bE;if(bD==="string"&&(bC=J.exec(bE))){bE=(+(bC[1]+1)*+bC[2])+parseFloat(b.css(by,bx));bD="number"}if(bE==null||bD==="number"&&isNaN(bE)){return}if(bD==="number"&&!b.cssNumber[bA]){bE+="px"}if(!bF||!("set" in bF)||(bE=bF.set(by,bE))!==M){try{bw[bx]=bE}catch(bB){}}}else{if(bF&&"get" in bF&&(bC=bF.get(by,false,bz))!==M){return bC}return bw[bx]}},css:function(bA,bz,bx){var by,bw;bz=b.camelCase(bz);bw=b.cssHooks[bz];bz=b.cssProps[bz]||bz;if(bz==="cssFloat"){bz="float"}if(bw&&"get" in bw&&(by=bw.get(bA,true,bx))!==M){return by}else{if(aa){return aa(bA,bz)}}},swap:function(bz,by,bA){var bw={};for(var bx in by){bw[bx]=bz.style[bx];bz.style[bx]=by[bx]}bA.call(bz);for(bx in by){bz.style[bx]=bw[bx]}}});b.curCSS=b.css;b.each(["height","width"],function(bx,bw){b.cssHooks[bw]={get:function(bA,bz,by){var bB;if(bz){if(bA.offsetWidth!==0){return q(bA,bw,by)}else{b.swap(bA,a8,function(){bB=q(bA,bw,by)})}return bB}},set:function(by,bz){if(bd.test(bz)){bz=parseFloat(bz);if(bz>=0){return bz+"px"}}else{return bz}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bx,bw){return av.test((bw&&bx.currentStyle?bx.currentStyle.filter:bx.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":bw?"1":""},set:function(bA,bB){var bz=bA.style,bx=bA.currentStyle,bw=b.isNumeric(bB)?"alpha(opacity="+bB*100+")":"",by=bx&&bx.filter||bz.filter||"";bz.zoom=1;if(bB>=1&&b.trim(by.replace(al,""))===""){bz.removeAttribute("filter");if(bx&&!bx.filter){return}}bz.filter=al.test(by)?by.replace(al,bw):by+" "+bw}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(by,bx){var bw;b.swap(by,{display:"inline-block"},function(){if(bx){bw=aa(by,"margin-right","marginRight")}else{bw=by.style.marginRight}});return bw}}}});if(aw.defaultView&&aw.defaultView.getComputedStyle){aJ=function(bA,by){var bx,bz,bw;by=by.replace(A,"-$1").toLowerCase();if((bz=bA.ownerDocument.defaultView)&&(bw=bz.getComputedStyle(bA,null))){bx=bw.getPropertyValue(by);if(bx===""&&!b.contains(bA.ownerDocument.documentElement,bA)){bx=b.style(bA,by)}}return bx}}if(aw.documentElement.currentStyle){aY=function(bB,by){var bC,bw,bA,bx=bB.currentStyle&&bB.currentStyle[by],bz=bB.style;if(bx===null&&bz&&(bA=bz[by])){bx=bA}if(!bd.test(bx)&&bo.test(bx)){bC=bz.left;bw=bB.runtimeStyle&&bB.runtimeStyle.left;if(bw){bB.runtimeStyle.left=bB.currentStyle.left}bz.left=by==="fontSize"?"1em":(bx||0);bx=bz.pixelLeft+"px";bz.left=bC;if(bw){bB.runtimeStyle.left=bw}}return bx===""?"auto":bx}}aa=aJ||aY;function q(bA,by,bx){var bC=by==="width"?bA.offsetWidth:bA.offsetHeight,bB=by==="width"?ao:a2,bz=0,bw=bB.length;if(bC>0){if(bx!=="border"){for(;bz<bw;bz++){if(!bx){bC-=parseFloat(b.css(bA,"padding"+bB[bz]))||0}if(bx==="margin"){bC+=parseFloat(b.css(bA,bx+bB[bz]))||0}else{bC-=parseFloat(b.css(bA,"border"+bB[bz]+"Width"))||0}}}return bC+"px"}bC=aa(bA,by,by);if(bC<0||bC==null){bC=bA.style[by]||0}bC=parseFloat(bC)||0;if(bx){for(;bz<bw;bz++){bC+=parseFloat(b.css(bA,"padding"+bB[bz]))||0;if(bx!=="padding"){bC+=parseFloat(b.css(bA,"border"+bB[bz]+"Width"))||0}if(bx==="margin"){bC+=parseFloat(b.css(bA,bx+bB[bz]))||0}}}return bC+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(by){var bx=by.offsetWidth,bw=by.offsetHeight;return(bx===0&&bw===0)||(!b.support.reliableHiddenOffsets&&((by.style&&by.style.display)||b.css(by,"display"))==="none")};b.expr.filters.visible=function(bw){return !b.expr.filters.hidden(bw)}}var k=/%20/g,aq=/\[\]$/,bt=/\r?\n/g,br=/#.*$/,aE=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,a0=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aN=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aR=/^(?:GET|HEAD)$/,c=/^\/\//,N=/\?/,a7=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,r=/^(?:select|textarea)/i,h=/\s+/,bs=/([?&])_=[^&]*/,L=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,B=b.fn.load,ab={},s={},aF,t,aW=["*/"]+["*"];try{aF=bm.href}catch(ax){aF=aw.createElement("a");aF.href="";aF=aF.href}t=L.exec(aF.toLowerCase())||[];function f(bw){return function(bA,bC){if(typeof bA!=="string"){bC=bA;bA="*"}if(b.isFunction(bC)){var bz=bA.toLowerCase().split(h),by=0,bB=bz.length,bx,bD,bE;for(;by<bB;by++){bx=bz[by];bE=/^\+/.test(bx);if(bE){bx=bx.substr(1)||"*"}bD=bw[bx]=bw[bx]||[];bD[bE?"unshift":"push"](bC)}}}}function aX(bx,bG,bB,bF,bD,bz){bD=bD||bG.dataTypes[0];bz=bz||{};bz[bD]=true;var bC=bx[bD],by=0,bw=bC?bC.length:0,bA=(bx===ab),bE;for(;by<bw&&(bA||!bE);by++){bE=bC[by](bG,bB,bF);if(typeof bE==="string"){if(!bA||bz[bE]){bE=M}else{bG.dataTypes.unshift(bE);bE=aX(bx,bG,bB,bF,bE,bz)}}}if((bA||!bE)&&!bz["*"]){bE=aX(bx,bG,bB,bF,"*",bz)}return bE}function an(by,bz){var bx,bw,bA=b.ajaxSettings.flatOptions||{};for(bx in bz){if(bz[bx]!==M){(bA[bx]?by:(bw||(bw={})))[bx]=bz[bx]}}if(bw){b.extend(true,by,bw)}}b.fn.extend({load:function(by,bB,bC){if(typeof by!=="string"&&B){return B.apply(this,arguments)}else{if(!this.length){return this}}var bA=by.indexOf(" ");if(bA>=0){var bw=by.slice(bA,by.length);by=by.slice(0,bA)}var bz="GET";if(bB){if(b.isFunction(bB)){bC=bB;bB=M}else{if(typeof bB==="object"){bB=b.param(bB,b.ajaxSettings.traditional);bz="POST"}}}var bx=this;b.ajax({url:by,type:bz,dataType:"html",data:bB,complete:function(bE,bD,bF){bF=bE.responseText;if(bE.isResolved()){bE.done(function(bG){bF=bG});bx.html(bw?b("<div>").append(bF.replace(a7,"")).find(bw):bF)}if(bC){bx.each(bC,[bF,bD,bE])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||r.test(this.nodeName)||a0.test(this.type))
}).map(function(bw,bx){var by=b(this).val();return by==null?null:b.isArray(by)?b.map(by,function(bA,bz){return{name:bx.name,value:bA.replace(bt,"\r\n")}}):{name:bx.name,value:by.replace(bt,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(bw,bx){b.fn[bx]=function(by){return this.on(bx,by)}});b.each(["get","post"],function(bw,bx){b[bx]=function(by,bA,bB,bz){if(b.isFunction(bA)){bz=bz||bB;bB=bA;bA=M}return b.ajax({type:bx,url:by,data:bA,success:bB,dataType:bz})}});b.extend({getScript:function(bw,bx){return b.get(bw,M,bx,"script")},getJSON:function(bw,bx,by){return b.get(bw,bx,by,"json")},ajaxSetup:function(bx,bw){if(bw){an(bx,b.ajaxSettings)}else{bw=bx;bx=b.ajaxSettings}an(bx,bw);return bx},ajaxSettings:{url:aF,isLocal:aN.test(t[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","*":aW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bc.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(ab),ajaxTransport:f(s),ajax:function(bA,by){if(typeof bA==="object"){by=bA;bA=M}by=by||{};var bE=b.ajaxSetup({},by),bT=bE.context||bE,bH=bT!==bE&&(bT.nodeType||bT instanceof b)?b(bT):b.event,bS=b.Deferred(),bO=b.Callbacks("once memory"),bC=bE.statusCode||{},bD,bI={},bP={},bR,bz,bM,bF,bJ,bB=0,bx,bL,bK={readyState:0,setRequestHeader:function(bV,bW){if(!bB){var bU=bV.toLowerCase();bV=bP[bU]=bP[bU]||bV;bI[bV]=bW}return this},getAllResponseHeaders:function(){return bB===2?bR:null},getResponseHeader:function(bV){var bU;if(bB===2){if(!bz){bz={};while((bU=aE.exec(bR))){bz[bU[1].toLowerCase()]=bU[2]}}bU=bz[bV.toLowerCase()]}return bU===M?null:bU},overrideMimeType:function(bU){if(!bB){bE.mimeType=bU}return this},abort:function(bU){bU=bU||"abort";if(bM){bM.abort(bU)}bG(0,bU);return this}};function bG(b0,bV,b1,bX){if(bB===2){return}bB=2;if(bF){clearTimeout(bF)}bM=M;bR=bX||"";bK.readyState=b0>0?4:0;var bU,b5,b4,bY=bV,bZ=b1?bk(bE,bK,b1):M,bW,b3;if(b0>=200&&b0<300||b0===304){if(bE.ifModified){if((bW=bK.getResponseHeader("Last-Modified"))){b.lastModified[bD]=bW}if((b3=bK.getResponseHeader("Etag"))){b.etag[bD]=b3}}if(b0===304){bY="notmodified";bU=true}else{try{b5=H(bE,bZ);bY="success";bU=true}catch(b2){bY="parsererror";b4=b2}}}else{b4=bY;if(!bY||b0){bY="error";if(b0<0){b0=0}}}bK.status=b0;bK.statusText=""+(bV||bY);if(bU){bS.resolveWith(bT,[b5,bY,bK])}else{bS.rejectWith(bT,[bK,bY,b4])}bK.statusCode(bC);bC=M;if(bx){bH.trigger("ajax"+(bU?"Success":"Error"),[bK,bE,bU?b5:b4])}bO.fireWith(bT,[bK,bY]);if(bx){bH.trigger("ajaxComplete",[bK,bE]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bS.promise(bK);bK.success=bK.done;bK.error=bK.fail;bK.complete=bO.add;bK.statusCode=function(bV){if(bV){var bU;if(bB<2){for(bU in bV){bC[bU]=[bC[bU],bV[bU]]}}else{bU=bV[bK.status];bK.then(bU,bU)}}return this};bE.url=((bA||bE.url)+"").replace(br,"").replace(c,t[1]+"//");bE.dataTypes=b.trim(bE.dataType||"*").toLowerCase().split(h);if(bE.crossDomain==null){bJ=L.exec(bE.url.toLowerCase());bE.crossDomain=!!(bJ&&(bJ[1]!=t[1]||bJ[2]!=t[2]||(bJ[3]||(bJ[1]==="http:"?80:443))!=(t[3]||(t[1]==="http:"?80:443))))}if(bE.data&&bE.processData&&typeof bE.data!=="string"){bE.data=b.param(bE.data,bE.traditional)}aX(ab,bE,by,bK);if(bB===2){return false}bx=bE.global;bE.type=bE.type.toUpperCase();bE.hasContent=!aR.test(bE.type);if(bx&&b.active++===0){b.event.trigger("ajaxStart")}if(!bE.hasContent){if(bE.data){bE.url+=(N.test(bE.url)?"&":"?")+bE.data;delete bE.data}bD=bE.url;if(bE.cache===false){var bw=b.now(),bQ=bE.url.replace(bs,"$1_="+bw);bE.url=bQ+((bQ===bE.url)?(N.test(bE.url)?"&":"?")+"_="+bw:"")}}if(bE.data&&bE.hasContent&&bE.contentType!==false||by.contentType){bK.setRequestHeader("Content-Type",bE.contentType)}if(bE.ifModified){bD=bD||bE.url;if(b.lastModified[bD]){bK.setRequestHeader("If-Modified-Since",b.lastModified[bD])}if(b.etag[bD]){bK.setRequestHeader("If-None-Match",b.etag[bD])}}bK.setRequestHeader("Accept",bE.dataTypes[0]&&bE.accepts[bE.dataTypes[0]]?bE.accepts[bE.dataTypes[0]]+(bE.dataTypes[0]!=="*"?", "+aW+"; q=0.01":""):bE.accepts["*"]);for(bL in bE.headers){bK.setRequestHeader(bL,bE.headers[bL])}if(bE.beforeSend&&(bE.beforeSend.call(bT,bK,bE)===false||bB===2)){bK.abort();return false}for(bL in {success:1,error:1,complete:1}){bK[bL](bE[bL])}bM=aX(s,bE,by,bK);if(!bM){bG(-1,"No Transport")}else{bK.readyState=1;if(bx){bH.trigger("ajaxSend",[bK,bE])}if(bE.async&&bE.timeout>0){bF=setTimeout(function(){bK.abort("timeout")},bE.timeout)}try{bB=1;bM.send(bI,bG)}catch(bN){if(bB<2){bG(-1,bN)}else{throw bN}}}return bK},param:function(bw,by){var bx=[],bA=function(bB,bC){bC=b.isFunction(bC)?bC():bC;bx[bx.length]=encodeURIComponent(bB)+"="+encodeURIComponent(bC)};if(by===M){by=b.ajaxSettings.traditional}if(b.isArray(bw)||(bw.jquery&&!b.isPlainObject(bw))){b.each(bw,function(){bA(this.name,this.value)})}else{for(var bz in bw){w(bz,bw[bz],by,bA)}}return bx.join("&").replace(k,"+")}});function w(by,bA,bx,bz){if(b.isArray(bA)){b.each(bA,function(bC,bB){if(bx||aq.test(by)){bz(by,bB)}else{w(by+"["+(typeof bB==="object"||b.isArray(bB)?bC:"")+"]",bB,bx,bz)}})}else{if(!bx&&bA!=null&&typeof bA==="object"){for(var bw in bA){w(by+"["+bw+"]",bA[bw],bx,bz)}}else{bz(by,bA)}}}b.extend({active:0,lastModified:{},etag:{}});function bk(bF,bE,bB){var bx=bF.contents,bD=bF.dataTypes,by=bF.responseFields,bA,bC,bz,bw;for(bC in by){if(bC in bB){bE[by[bC]]=bB[bC]}}while(bD[0]==="*"){bD.shift();if(bA===M){bA=bF.mimeType||bE.getResponseHeader("content-type")}}if(bA){for(bC in bx){if(bx[bC]&&bx[bC].test(bA)){bD.unshift(bC);break}}}if(bD[0] in bB){bz=bD[0]}else{for(bC in bB){if(!bD[0]||bF.converters[bC+" "+bD[0]]){bz=bC;break}if(!bw){bw=bC}}bz=bz||bw}if(bz){if(bz!==bD[0]){bD.unshift(bz)}return bB[bz]}}function H(bJ,bB){if(bJ.dataFilter){bB=bJ.dataFilter(bB,bJ.dataType)}var bF=bJ.dataTypes,bI={},bC,bG,by=bF.length,bD,bE=bF[0],bz,bA,bH,bx,bw;for(bC=1;bC<by;bC++){if(bC===1){for(bG in bJ.converters){if(typeof bG==="string"){bI[bG.toLowerCase()]=bJ.converters[bG]}}}bz=bE;bE=bF[bC];if(bE==="*"){bE=bz}else{if(bz!=="*"&&bz!==bE){bA=bz+" "+bE;bH=bI[bA]||bI["* "+bE];if(!bH){bw=M;for(bx in bI){bD=bx.split(" ");if(bD[0]===bz||bD[0]==="*"){bw=bI[bD[1]+" "+bE];if(bw){bx=bI[bx];if(bx===true){bH=bw}else{if(bw===true){bH=bx}}break}}}}if(!(bH||bw)){b.error("No conversion from "+bA.replace(" "," to "))}if(bH!==true){bB=bH?bH(bB):bw(bx(bB))}}}}return bB}var aD=b.now(),v=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aD++)}});b.ajaxPrefilter("json jsonp",function(bF,bC,bE){var bz=bF.contentType==="application/x-www-form-urlencoded"&&(typeof bF.data==="string");if(bF.dataTypes[0]==="jsonp"||bF.jsonp!==false&&(v.test(bF.url)||bz&&v.test(bF.data))){var bD,by=bF.jsonpCallback=b.isFunction(bF.jsonpCallback)?bF.jsonpCallback():bF.jsonpCallback,bB=bc[by],bw=bF.url,bA=bF.data,bx="$1"+by+"$2";if(bF.jsonp!==false){bw=bw.replace(v,bx);if(bF.url===bw){if(bz){bA=bA.replace(v,bx)}if(bF.data===bA){bw+=(/\?/.test(bw)?"&":"?")+bF.jsonp+"="+by}}}bF.url=bw;bF.data=bA;bc[by]=function(bG){bD=[bG]};bE.always(function(){bc[by]=bB;if(bD&&b.isFunction(bB)){bc[by](bD[0])}});bF.converters["script json"]=function(){if(!bD){b.error(by+" was not called")}return bD[0]};bF.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(bw){b.globalEval(bw);return bw}}});b.ajaxPrefilter("script",function(bw){if(bw.cache===M){bw.cache=false}if(bw.crossDomain){bw.type="GET";bw.global=false}});b.ajaxTransport("script",function(by){if(by.crossDomain){var bw,bx=aw.head||aw.getElementsByTagName("head")[0]||aw.documentElement;
return{send:function(bz,bA){bw=aw.createElement("script");bw.async="async";if(by.scriptCharset){bw.charset=by.scriptCharset}bw.src=by.url;bw.onload=bw.onreadystatechange=function(bC,bB){if(bB||!bw.readyState||/loaded|complete/.test(bw.readyState)){bw.onload=bw.onreadystatechange=null;if(bx&&bw.parentNode){bx.removeChild(bw)}bw=M;if(!bB){bA(200,"success")}}};bx.insertBefore(bw,bx.firstChild)},abort:function(){if(bw){bw.onload(0,1)}}}}});var C=bc.ActiveXObject?function(){for(var bw in O){O[bw](0,1)}}:false,z=0,O;function aM(){try{return new bc.XMLHttpRequest()}catch(bw){}}function ak(){try{return new bc.ActiveXObject("Microsoft.XMLHTTP")}catch(bw){}}b.ajaxSettings.xhr=bc.ActiveXObject?function(){return !this.isLocal&&aM()||ak()}:aM;(function(bw){b.extend(b.support,{ajax:!!bw,cors:!!bw&&("withCredentials" in bw)})})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(bw){if(!bw.crossDomain||b.support.cors){var bx;return{send:function(bD,by){var bC=bw.xhr(),bB,bA;if(bw.username){bC.open(bw.type,bw.url,bw.async,bw.username,bw.password)}else{bC.open(bw.type,bw.url,bw.async)}if(bw.xhrFields){for(bA in bw.xhrFields){bC[bA]=bw.xhrFields[bA]}}if(bw.mimeType&&bC.overrideMimeType){bC.overrideMimeType(bw.mimeType)}if(!bw.crossDomain&&!bD["X-Requested-With"]){bD["X-Requested-With"]="XMLHttpRequest"}try{for(bA in bD){bC.setRequestHeader(bA,bD[bA])}}catch(bz){}bC.send((bw.hasContent&&bw.data)||null);bx=function(bM,bG){var bH,bF,bE,bK,bJ;try{if(bx&&(bG||bC.readyState===4)){bx=M;if(bB){bC.onreadystatechange=b.noop;if(C){delete O[bB]}}if(bG){if(bC.readyState!==4){bC.abort()}}else{bH=bC.status;bE=bC.getAllResponseHeaders();bK={};bJ=bC.responseXML;if(bJ&&bJ.documentElement){bK.xml=bJ}bK.text=bC.responseText;try{bF=bC.statusText}catch(bL){bF=""}if(!bH&&bw.isLocal&&!bw.crossDomain){bH=bK.text?200:404}else{if(bH===1223){bH=204}}}}}catch(bI){if(!bG){by(-1,bI)}}if(bK){by(bH,bF,bK,bE)}};if(!bw.async||bC.readyState===4){bx()}else{bB=++z;if(C){if(!O){O={};b(bc).unload(C)}O[bB]=bx}bC.onreadystatechange=bx}},abort:function(){if(bx){bx(0,1)}}}}})}var R={},a9,m,aC=/^(?:toggle|show|hide)$/,aU=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a4,aI=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a5;b.fn.extend({show:function(bz,bC,bB){var by,bA;if(bz||bz===0){return this.animate(a1("show",3),bz,bC,bB)}else{for(var bx=0,bw=this.length;bx<bw;bx++){by=this[bx];if(by.style){bA=by.style.display;if(!b._data(by,"olddisplay")&&bA==="none"){bA=by.style.display=""}if(bA===""&&b.css(by,"display")==="none"){b._data(by,"olddisplay",y(by.nodeName))}}}for(bx=0;bx<bw;bx++){by=this[bx];if(by.style){bA=by.style.display;if(bA===""||bA==="none"){by.style.display=b._data(by,"olddisplay")||""}}}return this}},hide:function(bz,bC,bB){if(bz||bz===0){return this.animate(a1("hide",3),bz,bC,bB)}else{var by,bA,bx=0,bw=this.length;for(;bx<bw;bx++){by=this[bx];if(by.style){bA=b.css(by,"display");if(bA!=="none"&&!b._data(by,"olddisplay")){b._data(by,"olddisplay",bA)}}}for(bx=0;bx<bw;bx++){if(this[bx].style){this[bx].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(by,bx,bz){var bw=typeof by==="boolean";if(b.isFunction(by)&&b.isFunction(bx)){this._toggle.apply(this,arguments)}else{if(by==null||bw){this.each(function(){var bA=bw?by:b(this).is(":hidden");b(this)[bA?"show":"hide"]()})}else{this.animate(a1("toggle",3),by,bx,bz)}}return this},fadeTo:function(bw,bz,by,bx){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bz},bw,by,bx)},animate:function(bB,by,bA,bz){var bw=b.speed(by,bA,bz);if(b.isEmptyObject(bB)){return this.each(bw.complete,[false])}bB=b.extend({},bB);function bx(){if(bw.queue===false){b._mark(this)}var bG=b.extend({},bw),bM=this.nodeType===1,bK=bM&&b(this).is(":hidden"),bD,bH,bF,bL,bJ,bE,bI,bN,bC;bG.animatedProperties={};for(bF in bB){bD=b.camelCase(bF);if(bF!==bD){bB[bD]=bB[bF];delete bB[bF]}bH=bB[bD];if(b.isArray(bH)){bG.animatedProperties[bD]=bH[1];bH=bB[bD]=bH[0]}else{bG.animatedProperties[bD]=bG.specialEasing&&bG.specialEasing[bD]||bG.easing||"swing"}if(bH==="hide"&&bK||bH==="show"&&!bK){return bG.complete.call(this)}if(bM&&(bD==="height"||bD==="width")){bG.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout||y(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.zoom=1}}}}if(bG.overflow!=null){this.style.overflow="hidden"}for(bF in bB){bL=new b.fx(this,bG,bF);bH=bB[bF];if(aC.test(bH)){bC=b._data(this,"toggle"+bF)||(bH==="toggle"?bK?"show":"hide":0);if(bC){b._data(this,"toggle"+bF,bC==="show"?"hide":"show");bL[bC]()}else{bL[bH]()}}else{bJ=aU.exec(bH);bE=bL.cur();if(bJ){bI=parseFloat(bJ[2]);bN=bJ[3]||(b.cssNumber[bF]?"":"px");if(bN!=="px"){b.style(this,bF,(bI||1)+bN);bE=((bI||1)/bL.cur())*bE;b.style(this,bF,bE+bN)}if(bJ[1]){bI=((bJ[1]==="-="?-1:1)*bI)+bE}bL.custom(bE,bI,bN)}else{bL.custom(bE,bH,"")}}}return true}return bw.queue===false?this.each(bx):this.queue(bw.queue,bx)},stop:function(by,bx,bw){if(typeof by!=="string"){bw=bx;bx=by;by=M}if(bx&&by!==false){this.queue(by||"fx",[])}return this.each(function(){var bz,bA=false,bC=b.timers,bB=b._data(this);if(!bw){b._unmark(true,this)}function bD(bG,bH,bF){var bE=bH[bF];b.removeData(bG,bF,true);bE.stop(bw)}if(by==null){for(bz in bB){if(bB[bz]&&bB[bz].stop&&bz.indexOf(".run")===bz.length-4){bD(this,bB,bz)}}}else{if(bB[bz=by+".run"]&&bB[bz].stop){bD(this,bB,bz)}}for(bz=bC.length;bz--;){if(bC[bz].elem===this&&(by==null||bC[bz].queue===by)){if(bw){bC[bz](true)}else{bC[bz].saveState()}bA=true;bC.splice(bz,1)}}if(!(bw&&bA)){b.dequeue(this,by)}})}});function bi(){setTimeout(au,0);return(a5=b.now())}function au(){a5=M}function a1(bx,bw){var by={};b.each(aI.concat.apply([],aI.slice(0,bw)),function(){by[this]=bx});return by}b.each({slideDown:a1("show",1),slideUp:a1("hide",1),slideToggle:a1("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(bw,bx){b.fn[bw]=function(by,bA,bz){return this.animate(bx,by,bA,bz)}});b.extend({speed:function(by,bz,bx){var bw=by&&typeof by==="object"?b.extend({},by):{complete:bx||!bx&&bz||b.isFunction(by)&&by,duration:by,easing:bx&&bz||bz&&!b.isFunction(bz)&&bz};bw.duration=b.fx.off?0:typeof bw.duration==="number"?bw.duration:bw.duration in b.fx.speeds?b.fx.speeds[bw.duration]:b.fx.speeds._default;if(bw.queue==null||bw.queue===true){bw.queue="fx"}bw.old=bw.complete;bw.complete=function(bA){if(b.isFunction(bw.old)){bw.old.call(this)}if(bw.queue){b.dequeue(this,bw.queue)}else{if(bA!==false){b._unmark(this)}}};return bw},easing:{linear:function(by,bz,bw,bx){return bw+bx*by},swing:function(by,bz,bw,bx){return((-Math.cos(by*Math.PI)/2)+0.5)*bx+bw}},timers:[],fx:function(bx,bw,by){this.options=bw;this.elem=bx;this.prop=by;bw.orig=bw.orig||{}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.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 bw,bx=b.css(this.elem,this.prop);return isNaN(bw=parseFloat(bx))?!bx||bx==="auto"?0:bx:bw},custom:function(bB,bA,bz){var bw=this,by=b.fx;this.startTime=a5||bi();this.end=bA;this.now=this.start=bB;this.pos=this.state=0;this.unit=bz||this.unit||(b.cssNumber[this.prop]?"":"px");function bx(bC){return bw.step(bC)}bx.queue=this.options.queue;bx.elem=this.elem;bx.saveState=function(){if(bw.options.hide&&b._data(bw.elem,"fxshow"+bw.prop)===M){b._data(bw.elem,"fxshow"+bw.prop,bw.start)}};if(bx()&&b.timers.push(bx)&&!a4){a4=setInterval(by.tick,by.interval)}},show:function(){var bw=b._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=bw||b.style(this.elem,this.prop);this.options.show=true;if(bw!==M){this.custom(this.cur(),bw)}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur())
}b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b._data(this.elem,"fxshow"+this.prop)||b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(bA){var bC,bD,bx,bz=a5||bi(),bw=true,bB=this.elem,by=this.options;if(bA||bz>=by.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();by.animatedProperties[this.prop]=true;for(bC in by.animatedProperties){if(by.animatedProperties[bC]!==true){bw=false}}if(bw){if(by.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bE,bF){bB.style["overflow"+bF]=by.overflow[bE]})}if(by.hide){b(bB).hide()}if(by.hide||by.show){for(bC in by.animatedProperties){b.style(bB,bC,by.orig[bC]);b.removeData(bB,"fxshow"+bC,true);b.removeData(bB,"toggle"+bC,true)}}bx=by.complete;if(bx){by.complete=false;bx.call(bB)}}return false}else{if(by.duration==Infinity){this.now=bz}else{bD=bz-this.startTime;this.state=bD/by.duration;this.pos=b.easing[by.animatedProperties[this.prop]](this.state,bD,0,1,by.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var by,bx=b.timers,bw=0;for(;bw<bx.length;bw++){by=bx[bw];if(!by()&&bx[bw]===by){bx.splice(bw--,1)}}if(!bx.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a4);a4=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(bw){b.style(bw.elem,"opacity",bw.now)},_default:function(bw){if(bw.elem.style&&bw.elem.style[bw.prop]!=null){bw.elem.style[bw.prop]=bw.now+bw.unit}else{bw.elem[bw.prop]=bw.now}}}});b.each(["width","height"],function(bw,bx){b.fx.step[bx]=function(by){b.style(by.elem,bx,Math.max(0,by.now)+by.unit)}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(bw){return b.grep(b.timers,function(bx){return bw===bx.elem}).length}}function y(bz){if(!R[bz]){var bw=aw.body,bx=b("<"+bz+">").appendTo(bw),by=bx.css("display");bx.remove();if(by==="none"||by===""){if(!a9){a9=aw.createElement("iframe");a9.frameBorder=a9.width=a9.height=0}bw.appendChild(a9);if(!m||!a9.createElement){m=(a9.contentWindow||a9.contentDocument).document;m.write((aw.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");m.close()}bx=m.createElement(bz);m.body.appendChild(bx);by=b.css(bx,"display");bw.removeChild(a9)}R[bz]=by}return R[bz]}var W=/^t(?:able|d|h)$/i,ae=/^(?:body|html)$/i;if("getBoundingClientRect" in aw.documentElement){b.fn.offset=function(bJ){var bz=this[0],bC;if(bJ){return this.each(function(bK){b.offset.setOffset(this,bJ,bK)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}try{bC=bz.getBoundingClientRect()}catch(bG){}var bI=bz.ownerDocument,bx=bI.documentElement;if(!bC||!b.contains(bx,bz)){return bC?{top:bC.top,left:bC.left}:{top:0,left:0}}var bD=bI.body,bE=aL(bI),bB=bx.clientTop||bD.clientTop||0,bF=bx.clientLeft||bD.clientLeft||0,bw=bE.pageYOffset||b.support.boxModel&&bx.scrollTop||bD.scrollTop,bA=bE.pageXOffset||b.support.boxModel&&bx.scrollLeft||bD.scrollLeft,bH=bC.top+bw-bB,by=bC.left+bA-bF;return{top:bH,left:by}}}else{b.fn.offset=function(bH){var bB=this[0];if(bH){return this.each(function(bI){b.offset.setOffset(this,bH,bI)})}if(!bB||!bB.ownerDocument){return null}if(bB===bB.ownerDocument.body){return b.offset.bodyOffset(bB)}var bE,by=bB.offsetParent,bx=bB,bG=bB.ownerDocument,bz=bG.documentElement,bC=bG.body,bD=bG.defaultView,bw=bD?bD.getComputedStyle(bB,null):bB.currentStyle,bF=bB.offsetTop,bA=bB.offsetLeft;while((bB=bB.parentNode)&&bB!==bC&&bB!==bz){if(b.support.fixedPosition&&bw.position==="fixed"){break}bE=bD?bD.getComputedStyle(bB,null):bB.currentStyle;bF-=bB.scrollTop;bA-=bB.scrollLeft;if(bB===by){bF+=bB.offsetTop;bA+=bB.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&W.test(bB.nodeName))){bF+=parseFloat(bE.borderTopWidth)||0;bA+=parseFloat(bE.borderLeftWidth)||0}bx=by;by=bB.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bE.overflow!=="visible"){bF+=parseFloat(bE.borderTopWidth)||0;bA+=parseFloat(bE.borderLeftWidth)||0}bw=bE}if(bw.position==="relative"||bw.position==="static"){bF+=bC.offsetTop;bA+=bC.offsetLeft}if(b.support.fixedPosition&&bw.position==="fixed"){bF+=Math.max(bz.scrollTop,bC.scrollTop);bA+=Math.max(bz.scrollLeft,bC.scrollLeft)}return{top:bF,left:bA}}}b.offset={bodyOffset:function(bw){var by=bw.offsetTop,bx=bw.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){by+=parseFloat(b.css(bw,"marginTop"))||0;bx+=parseFloat(b.css(bw,"marginLeft"))||0}return{top:by,left:bx}},setOffset:function(bz,bI,bC){var bD=b.css(bz,"position");if(bD==="static"){bz.style.position="relative"}var bB=b(bz),bx=bB.offset(),bw=b.css(bz,"top"),bG=b.css(bz,"left"),bH=(bD==="absolute"||bD==="fixed")&&b.inArray("auto",[bw,bG])>-1,bF={},bE={},by,bA;if(bH){bE=bB.position();by=bE.top;bA=bE.left}else{by=parseFloat(bw)||0;bA=parseFloat(bG)||0}if(b.isFunction(bI)){bI=bI.call(bz,bC,bx)}if(bI.top!=null){bF.top=(bI.top-bx.top)+by}if(bI.left!=null){bF.left=(bI.left-bx.left)+bA}if("using" in bI){bI.using.call(bz,bF)}else{bB.css(bF)}}};b.fn.extend({position:function(){if(!this[0]){return null}var by=this[0],bx=this.offsetParent(),bz=this.offset(),bw=ae.test(bx[0].nodeName)?{top:0,left:0}:bx.offset();bz.top-=parseFloat(b.css(by,"marginTop"))||0;bz.left-=parseFloat(b.css(by,"marginLeft"))||0;bw.top+=parseFloat(b.css(bx[0],"borderTopWidth"))||0;bw.left+=parseFloat(b.css(bx[0],"borderLeftWidth"))||0;return{top:bz.top-bw.top,left:bz.left-bw.left}},offsetParent:function(){return this.map(function(){var bw=this.offsetParent||aw.body;while(bw&&(!ae.test(bw.nodeName)&&b.css(bw,"position")==="static")){bw=bw.offsetParent}return bw})}});b.each(["Left","Top"],function(bx,bw){var by="scroll"+bw;b.fn[by]=function(bB){var bz,bA;if(bB===M){bz=this[0];if(!bz){return null}bA=aL(bz);return bA?("pageXOffset" in bA)?bA[bx?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bA.document.documentElement[by]||bA.document.body[by]:bz[by]}return this.each(function(){bA=aL(this);if(bA){bA.scrollTo(!bx?bB:b(bA).scrollLeft(),bx?bB:b(bA).scrollTop())}else{this[by]=bB}})}});function aL(bw){return b.isWindow(bw)?bw:bw.nodeType===9?bw.defaultView||bw.parentWindow:false}b.each(["Height","Width"],function(bx,bw){var by=bw.toLowerCase();b.fn["inner"+bw]=function(){var bz=this[0];return bz?bz.style?parseFloat(b.css(bz,by,"padding")):this[by]():null};b.fn["outer"+bw]=function(bA){var bz=this[0];return bz?bz.style?parseFloat(b.css(bz,by,bA?"margin":"border")):this[by]():null};b.fn[by]=function(bB){var bC=this[0];if(!bC){return bB==null?null:this}if(b.isFunction(bB)){return this.each(function(bG){var bF=b(this);bF[by](bB.call(this,bG,bF[by]()))})}if(b.isWindow(bC)){var bD=bC.document.documentElement["client"+bw],bz=bC.document.body;return bC.document.compatMode==="CSS1Compat"&&bD||bz&&bz["client"+bw]||bD}else{if(bC.nodeType===9){return Math.max(bC.documentElement["client"+bw],bC.body["scroll"+bw],bC.documentElement["scroll"+bw],bC.body["offset"+bw],bC.documentElement["offset"+bw])}else{if(bB===M){var bE=b.css(bC,by),bA=parseFloat(bE);return b.isNumeric(bA)?bA:bE}else{return this.css(by,typeof bB==="string"?bB:bB+"px")}}}}});bc.jQuery=bc.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);(function(a){a.fn.slideshow=function(g){var d={prevId:"prevBtn",prevText:"Previous",nextId:"nextBtn",nextText:"Next",controlsContainerId:"controlsContainerId",controlsShow:true,controlsBefore:"",controlsAfter:"",controlsFade:true,firstId:"firstBtn",firstText:"First",firstShow:false,lastId:"lastBtn",lastText:"Last",lastShow:false,vertical:false,speed:800,auto:false,pause:2000,continuous:false,numeric:false,numericId:"controls",onoff:false,onoffText:"onoffBtn",onoffId:"controlonoff",open:function(){},close:function(){},slidingComplete:function(h){},classSliderNext:"c_slidernext",classSliderPrev:"c_sliderprev",classSliderClose:"c_sliderclose",classSliderOn:"c_slideron",classSliderOff:"c_slideroff",classSliderSpacer:"c_sliderspacer"};
var f=this;var c;var b=a.extend(d,g);this.move=function(k,s,r){var n=a(this);if(r){r=false;var h=f.getOptions();var q=a("li span."+h.classSliderOn,"#"+h.numericId);var w=a(q[0]).attr("rel");var o=parseInt(w);var t;var l=a("li",n).length-2;var i=a("li",n).outerWidth();var v=a("li",n).outerHeight();var m=l-1;switch(k){case"next":t=(o>=m)?(h.continuous?o+1:m):o+1;break;case"prev":t=(o<=0)?(h.continuous?o-1:0):o-1;break;case"first":t=0;break;case"last":t=m;break;default:t=parseInt(k);break}var u=Math.abs(o-t);var j=u*h.speed;n.width(i);n.height(v);a("ul",n).css("width",l*i);if(h.continuous){a("ul li:first-child",n).css("margin-left","-"+i+"px");a("ul",n).css("width",(l+1)*i)}if(!h.vertical){p=(t*i*-1);a("ul",n).animate({marginLeft:p},{queue:false,duration:j,complete:function(){if(t>m){t=0}if(t<0){t=m}a("ul",n).css("margin-left",(t*i*-1));r=true;if(h.numeric){f.setCurrent(t)}if(typeof h.slidingComplete=="function"&&h.slidingComplete){h.slidingComplete(t)}}})}else{p=(t*v*-1);a("ul",n).animate({marginTop:p},{queue:false,duration:j,complete:function(){if(t>m){t=0}if(t<0){t=m}a("ul",n).css("margin-left",(t*v*-1));r=true;if(h.numeric){f.setCurrent(t)}if(typeof h.slidingComplete=="function"&&h.slidingComplete){h.slidingComplete(t)}}})}if(!h.continuous&&h.controlsFade){if(t==m){a("span","#"+h.nextId).hide();a("span","#"+h.lastId).hide()}else{a("span","#"+h.nextId).show();a("span","#"+h.lastId).show()}if(t==0){a("span","#"+h.prevId).hide();a("span","#"+h.firstId).hide()}else{a("span","#"+h.prevId).show();a("span","#"+h.firstId).show()}}if(s){clearTimeout(f.timeout)}if(h.auto&&k=="next"&&!s){f.timeout=setTimeout(function(){f.move("next",false,r)},u*h.speed+h.pause)}}};this.setCurrent=function(k){var j=f.getOptions();var h=parseInt(k)+1;var l=a("li span."+j.classSliderOn,"#"+j.numericId);a(l[0]).removeClass(j.classSliderOn);a(l[0]).addClass(j.classSliderOff);a("span","#"+j.numericId+h).removeClass(j.classSliderOff);a("span","#"+j.numericId+h).addClass(j.classSliderOn)};this.getOptions=function(){return b};return this.each(function(){var j=b;var l=a(this);var y=a("li",l).length;var v=a("li",l).width();var n=a("li",l).height();var q=true;l.width(v);l.height(n);l.css("overflow","hidden");var r=y-1;var x=0;a("ul",l).css("width",y*v);if(j.continuous){a("ul",l).prepend(a("ul li:last-child",l).clone().css("margin-left","-"+v+"px"));a("ul",l).append(a("ul li:nth-child(2)",l).clone());a("ul",l).css("width",(y+1)*v)}if(!j.vertical){a("li",l).css("float","left")}if(j.controlsShow){var m=j.controlsBefore;m+='<ol id="'+j.numericId+'"></ol>';m+=j.controlsAfter;a(l).after(m)}if(j.onoff){a(document.createElement("li")).attr("id",j.onoffId).html('<span class="'+j.classSliderClose+'"></span>').appendTo(a("#"+j.numericId))}a(document.createElement("li")).attr("id",j.prevId).html('<span class="'+j.classSliderPrev+'"></span>').appendTo(a("#"+j.numericId));a(document.createElement("li")).attr("id",j.nextId).html('<span class="'+j.classSliderNext+'"></span>').appendTo(a("#"+j.numericId));a(document.createElement("li")).attr("id",j.numericId+"spacer").html('<span class="'+j.classSliderSpacer+'"></span>').appendTo(a("#"+j.numericId));if(j.numeric){var o=a("ul li",l);var u;for(var k=0;k<y;k++){u=a(o.get(k+1)).attr("title");if(typeof u=="undefined"||u==null){u=""}a(document.createElement("li")).attr("id",j.numericId+(k+1)).attr("title",u).html("<span rel="+k+' class="'+j.classSliderOff+'"></span>').appendTo(a("#"+j.numericId)).click(function(){f.move(a("span",a(this)).attr("rel"),true,q)})}}if(j.onoff){a("span","#"+j.onoffId).click(function(){a("#"+j.controlsContainerId).fadeOut("fast",function(){l.fadeOut("slow",function(){if(typeof j.close!="undefined"&&j.close){j.close()}})})})}a("span","#"+j.nextId).click(function(){f.move("next",true,q)});a("span","#"+j.prevId).click(function(){f.move("prev",true,q)});a("li","#"+j.firstId).click(function(){f.move("first",true,q)});a("li","#"+j.lastId).click(function(){f.move("last",true,q)});if(j.auto){f.timeout=setTimeout(function(){f.move("next",false,q)},j.pause)}if(j.numeric){f.setCurrent(0)}if(!j.continuous&&j.controlsFade){a("span","#"+j.prevId).hide();a("span","#"+j.firstId).hide()}});return this}})(jQuery);(function(b){function d(g){var f=["transform","WebkitTransform","msTransform","MozTransform","OTransform"];var h;while(h=f.shift()){if(typeof g.style[h]!="undefined"){return h}}return"transform"}var c=null;var a=b.fn.css;b.fn.css=function(f,g){if(c===null){if(typeof b.cssProps!="undefined"){c=b.cssProps}else{if(typeof b.props!="undefined"){c=b.props}else{c={}}}}if(typeof c.transform=="undefined"&&(f=="transform"||(typeof f=="object"&&typeof f.transform!="undefined"))){c.transform=d(this.get(0))}if(c.transform!="transform"){if(f=="transform"){f=c.transform;if(typeof g=="undefined"&&jQuery.style){return jQuery.style(this.get(0),f)}}else{if(typeof f=="object"&&typeof f.transform!="undefined"){f[c.transform]=f.transform;delete f.transform}}}return a.apply(this,arguments)}})(jQuery);(function(c){var a={direction:function(d){return(d<0?-1:1)},degrees:function(d){return(Math.floor(Math.abs(d)))%360},scale:function(d){return(1-(d%180)/90)*(d>=180?-1:1)}};c.fx.step.rotate3Di=function(d){direction=a.direction(d.now);degrees=a.degrees(d.now);scale=a.scale(degrees);if(d.options&&typeof d.options.sideChange!="undefined"){if(d.options.sideChange){var f=c(d.elem).data("rotate3Di.prevScale");if(scale*f<=0){d.options.sideChange.call(d.elem,(scale>0||f<0));c(d.elem).data("rotate3Di.prevScale",c(d.elem).data("rotate3Di.prevScale")*-1)}}scale=Math.abs(scale)}c(d.elem).data("rotate3Di.degrees",direction*degrees);c(d.elem).css("transform","skew(0deg, "+direction*degrees+"deg) scale("+scale+", 1)")};var b=c.fx.prototype.cur;c.fx.prototype.cur=function(){if(this.prop=="rotate3Di"){var f=c(this.elem).css("transform");if(f){var d=f.match(/, (-?[0-9]+)deg\)/);if(d&&d[1]){return parseInt(d[1])}else{return 0}}}return b.apply(this,arguments)};c.fn.rotate3Di=function(j,h,f){if(typeof h=="undefined"){h=0}if(typeof f=="object"){c.extend(f,{duration:h})}else{f={duration:h}}if(j=="toggle"){if(c(this).data("rotate3Di.flipped")){j="unflip"}else{j="flip"}}if(j=="flip"){c(this).data("rotate3Di.flipped",true);var g=-1;if(typeof f=="object"&&f.direction&&f.direction=="clockwise"){g=1}j=g*180}else{if(j=="unflip"){c(this).data("rotate3Di.flipped",false);j=0}}var i=c(this).data("rotate3Di.degrees")||0;c(this).data("rotate3Di.prevScale",a.scale(a.degrees(i)));c(this).animate({rotate3Di:j},f)}})(jQuery);(function(o,c){var j="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color outlineColor".split(" "),g=/^([\-+])=\s*(\d+\.?\d*)/,f=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(q){return[q[1],q[2],q[3],q[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(q){return[2.55*q[1],2.55*q[2],2.55*q[3],q[4]]}},{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,parse:function(q){return[parseInt(q[1],16),parseInt(q[2],16),parseInt(q[3],16)]}},{re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,parse:function(q){return[parseInt(q[1]+q[1],16),parseInt(q[2]+q[2],16),parseInt(q[3]+q[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(q){return[q[1],q[2]/100,q[3]/100,q[4]]}}],d=o.Color=function(r,s,q,t){return new o.Color.fn.parse(r,s,q,t)},i={rgba:{cache:"_rgba",props:{red:{idx:0,type:"byte",empty:true},green:{idx:1,type:"byte",empty:true},blue:{idx:2,type:"byte",empty:true},alpha:{idx:3,type:"percent",def:1}}},hsla:{cache:"_hsla",props:{hue:{idx:0,type:"degrees",empty:true},saturation:{idx:1,type:"percent",empty:true},lightness:{idx:2,type:"percent",empty:true}}}},n={"byte":{floor:true,min:0,max:255},percent:{min:0,max:1},degrees:{mod:360,floor:true}},l=i.rgba.props,m=d.support={},a,k=o.each;i.hsla.props.alpha=l.alpha;function h(s,u,r){var q=n[u.type]||{},t=u.empty||r;
if(t&&s==null){return null}if(u.def&&s==null){return u.def}if(q.floor){s=~~s}else{s=parseFloat(s)}if(s==null||isNaN(s)){return u.def}if(q.mod){s=s%q.mod;return s<0?q.mod+s:s}return q.min>s?q.min:q.max<s?q.max:s}d.fn=d.prototype={constructor:d,parse:function(x,v,q,w){if(x===c){this._rgba=[null,null,null,null];return this}if(x instanceof o||x.nodeType){x=x instanceof o?x.css(v):o(x).css(v);v=c}var u=this,s=o.type(x),r=this._rgba=[],t;if(v!==c){x=[x,v,q,w];s="array"}if(s==="string"){x=x.toLowerCase();k(f,function(D,E){var C=E.re.exec(x),B=C&&E.parse(C),A,z=E.space||"rgba",y=i[z].cache;if(B){A=u[z](B);u[y]=A[y];r=u._rgba=A._rgba;return false}});if(r.length!==0){if(Math.max.apply(Math,r)===0){o.extend(r,a.transparent)}return this}x=a[x]||a._default;return this.parse(x)}if(s==="array"){k(l,function(y,z){r[z.idx]=h(x[z.idx],z)});return this}if(s==="object"){if(x instanceof d){k(i,function(y,z){if(x[z.cache]){u[z.cache]=x[z.cache].slice()}})}else{k(i,function(y,z){k(z.props,function(B,C){var A=z.cache;if(!u[A]&&z.to){if(x[B]==null||B==="alpha"){return}u[A]=z.to(u._rgba)}u[A][C.idx]=h(x[B],C,true)})})}return this}},is:function(s){var r=d(s),t=true,q=this;k(i,function(u,w){var v=r[w.cache],x;if(v){x=q[w.cache]||w.to&&w.to(q._rgba)||[];k(w.props,function(y,z){if(v[z.idx]!=null){t=(v[z.idx]==x[z.idx]);return t}})}return t});return t},_space:function(){var q=[],r=this;k(i,function(s,t){if(r[t.cache]){q.push(s)}});return q.pop()},transition:function(r,w){var s=d(r),t=s._space(),u=i[t],v=this[u.cache]||u.to(this._rgba),q=v.slice();s=s[u.cache];k(u.props,function(A,C){var z=C.idx,y=v[z],x=s[z],B=n[C.type]||{};if(x===null){return}if(y===null){q[z]=x}else{if(B.mod){if(x-y>B.mod/2){y+=B.mod}else{if(y-x>B.mod/2){y-=B.mod}}}q[C.idx]=h((x-y)*w+y,C)}});return this[t](q)},blend:function(t){if(this._rgba[3]===1){return this}var s=this._rgba.slice(),r=s.pop(),q=d(t)._rgba;return d(o.map(s,function(u,w){return(1-r)*q[w]+r*u}))},toRgbaString:function(){var r="rgba(",q=o.map(this._rgba,function(s,t){return s==null?(t>2?1:0):s});if(q[3]===1){q.pop();r="rgb("}return r+q.join(",")+")"},toHslaString:function(){var r="hsla(",q=o.map(this.hsla(),function(s,t){if(s==null){s=t>2?1:0}if(t&&t<3){s=Math.round(s*100)+"%"}return s});if(q[3]==1){q.pop();r="hsl("}return r+q.join(",")+")"},toHexString:function(q){var r=this._rgba.slice(),s=r.pop();if(q){r.push(~~(s*255))}return"#"+o.map(r,function(t,u){t=(t||0).toString(16);return t.length==1?"0"+t:t}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}};d.fn.parse.prototype=d.fn;function b(t,s,r){r=(r+1)%1;if(r*6<1){return t+(s-t)*6*r}if(r*2<1){return s}if(r*3<2){return t+(s-t)*((2/3)-r)*6}return t}i.hsla.to=function(u){if(u[0]==null||u[1]==null||u[2]==null){return[null,null,null,u[3]]}var q=u[0]/255,x=u[1]/255,y=u[2]/255,A=u[3],z=Math.max(q,x,y),v=Math.min(q,x,y),B=z-v,C=z+v,t=C*0.5,w,D;if(v===z){w=0}else{if(q===z){w=(60*(x-y)/B)+360}else{if(x===z){w=(60*(y-q)/B)+120}else{w=(60*(q-x)/B)+240}}}if(t===0||t===1){D=t}else{if(t<=0.5){D=B/C}else{D=B/(2-C)}}return[Math.round(w)%360,D,t,A==null?1:A]};i.hsla.from=function(v){if(v[0]==null||v[1]==null||v[2]==null){return[null,null,null,v[3]]}var y=v[0]/360,C=v[1],x=v[2],B=v[3],u=x<=0.5?x*(1+C):x+C-x*C,w=2*x-u,t,z,A;return[Math.round(b(w,u,y+(1/3))*255),Math.round(b(w,u,y)*255),Math.round(b(w,u,y-(1/3))*255),B]};k(i,function(r,t){var s=t.props,q=t.cache,v=t.to,u=t.from;d.fn[r]=function(A){if(v&&!this[q]){this[q]=v(this._rgba)}if(A===c){return this[q].slice()}var z=o.type(A),w=(z==="array"||z==="object")?A:arguments,y=this[q].slice(),x;k(s,function(B,D){var C=w[z==="object"?B:D.idx];if(C==null){C=y[D.idx]}y[D.idx]=h(C,D)});if(u){x=d(u(y));x[q]=y;return x}else{return d(y)}};k(s,function(w,x){if(d.fn[w]){return}d.fn[w]=function(B){var D=o.type(B),A=(w==="alpha"?(this._hsla?"hsla":"rgba"):r),z=this[A](),C=z[x.idx],y;if(D==="undefined"){return C}if(D==="function"){B=B.call(this,C);D=o.type(B)}if(B==null&&x.empty){return this}if(D==="string"){y=g.exec(B);if(y){B=C+parseFloat(y[2])*(y[1]==="+"?1:-1)}}z[x.idx]=B;return this[A](z)}})});k(j,function(q,r){o.cssHooks[r]={set:function(u,v){v=d(v);if(!m.rgba&&v._rgba[3]!==1){var s,t=r==="backgroundColor"?u.parentNode:u;do{s=o.curCSS(t,"backgroundColor")}while((s===""||s==="transparent")&&(t=t.parentNode)&&t.style);v=v.blend(s&&s!=="transparent"?s:"_default")}v=v.toRgbaString();u.style[r]=v}};o.fx.step[r]=function(s){if(!s.colorInit){s.start=d(s.elem,r);s.end=d(s.end);s.colorInit=true}o.cssHooks[r].set(s.elem,s.start.transition(s.end,s.pos))}});o(function(){var r=document.createElement("div"),q=r.style;q.cssText="background-color:rgba(1,1,1,.5)";m.rgba=q.backgroundColor.indexOf("rgba")>-1});a=o.Color.names={aqua:"#00ffff",azure:"#f0ffff",beige:"#f5f5dc",black:"#000000",blue:"#0000ff",brown:"#a52a2a",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkviolet:"#9400d3",fuchsia:"#ff00ff",gold:"#ffd700",green:"#008000",indigo:"#4b0082",khaki:"#f0e68c",lightblue:"#add8e6",lightcyan:"#e0ffff",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightyellow:"#ffffe0",lime:"#00ff00",magenta:"#ff00ff",maroon:"#800000",navy:"#000080",olive:"#808000",orange:"#ffa500",pink:"#ffc0cb",purple:"#800080",violet:"#800080",red:"#ff0000",silver:"#c0c0c0",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery);function setRemoteText(a,c){var b=document.getElementById(c);if(typeof b!="undefined"&&b!=null){b.__url=a;b.holderid=c}}function downloadRemoteText(g,c){var f=document.getElementById(g);if(typeof f!="undefined"&&f!=null){var b=f.__url;if(typeof b!="undefined"&&b!=null){var d=f.innerHTML;if(typeof d=="undefined"||d==null||d==""){var a=new XMLHttpRequest();if(c){a.open("GET",b,true);a.setRequestHeader("Content-Type","text/html");a.onreadystatechange=function(){if(a.readyState==4){if(isSessionExpired(a.status)){return}f.innerHTML=a.responseText}};a.send(null)}else{a.open("GET",b,false);a.send(null);if(isSessionExpired(a.status)){return}f.innerHTML=a.responseText}}}}}function getRemoteText(b,g,c){var f=document.getElementById(g);if(typeof f!="undefined"&&f!=null){f.__url=b;f.holderid=g;var d=f.innerHTML;if(typeof d=="undefined"||d==null||d==""){var a=new XMLHttpRequest();if(c){a.open("GET",b,true);a.setRequestHeader("Content-Type","text/html");a.onreadystatechange=function(){if(a.readyState==4){if(isSessionExpired(a.status)){return}f.innerHTML=a.responseText}};a.send(null)}else{a.open("GET",b,false);a.send(null);if(isSessionExpired(a.status)){return}f.innerHTML=a.responseText}}}}function setRemoteXML(a,c){var b=document.getElementById(c);if(typeof b!="undefined"&&b!=null){b.__url=a;b.holderid=c}}function downloadRemoteXML(g,c){var f=document.getElementById(g);if(typeof f!="undefined"&&f!=null){var b=f.__url;if(typeof b!="undefined"&&b!=null){var d=f._Xml;if(typeof d=="undefined"||d==null){var a=new XMLHttpRequest();if(c){a.open("GET",b,true);a.setRequestHeader("Content-Type","text/html");a.onreadystatechange=function(){if(a.readyState==4){if(isSessionExpired(a.status)){return}f._Xml=a.responseXML}};a.send(null)}else{a.open("GET",b,false);a.send(null);if(isSessionExpired(a.status)){return}f._Xml=a.responseXML}}}}}function getRemoteXML(b,g,c){var f=document.getElementById(g);if(typeof f!="undefined"&&f!=null){f.__url=b;f.holderid=g;var d=f._Xml;if(typeof d=="undefined"||d==null){var a=new XMLHttpRequest();if(c){a.open("GET",b,true);a.setRequestHeader("Content-Type","text/html");a.onreadystatechange=function(){if(a.readyState==4){if(isSessionExpired(a.status)){return}f._Xml=a.responseXML}};a.send(null)}else{a.open("GET",b,false);a.send(null);if(isSessionExpired(a.status)){return}f._Xml=a.responseXML}}}}function getWebRoot(c){var b="/Borneosoft/Service?cmd=getwebroot&rn="+Math.round(Math.random()*1000000000);var a=new XMLHttpRequest();
a.open("POST",b,true);a.setRequestHeader("Content-Type","text/xml");a.onreadystatechange=function(){if(a.readyState==4){if(isSessionExpired(a.status)){return}var h=a.responseText;var f=h.split("|");var i=f[0];var g=parseInt(f[1]);var d=f[2];if(typeof c!="undefined"&&c){c(i,g,d)}}};a.send("")}function closingSessionExpiredLogon(){window.showinglogon=false}function isSessionExpired(a){if(a==403){if(typeof $.modal=="undefined"){loadJs(sContextPath+"/_js/_script/lmd/"+sDropDownModalDlgLmd+"/dropdownmodaldlg.js",function(){createLogonBox()})}else{createLogonBox()}return true}return false}function createLogonBox(){var b=window.showinglogon;if(typeof b=="undefined"||b==false){window.showinglogon=true;var c=(typeof homeSslUrl!="undefined"&&homeSslUrl?homeSslUrl:"")+sContextPath+"/logonBox.jsp?rnd="+Math.round(Math.random()*1000000000);var d=document.getElementById("osx-modal-content");if(typeof d=="undefined"||d==null){d=document.createElement("div");d.id="osx-modal-content";d.innerHTML='<div id="osx-modal-title">Your session has expired, please logon again.</div><div class="close"><a href="javascript:void(0);" class="simplemodal-close">x</a></div><div id="osx-modal-data"><iframe id="idSimpleModalLogonBox" src="'+c+'" scrolling="auto" frameborder="0" width="300" style="overflow: hidden;"></iframe></div>';document.body.appendChild(d)}var a={container:null,init:function(){$("#osx-modal-content").modal({overlayId:"osx-overlay",containerId:"osx-container",closeHTML:null,minHeight:120,opacity:65,position:["0",],overlayClose:true,onOpen:a.open,onClose:a.close})},open:function(g){var f=this;f.container=g.container[0];g.overlay.fadeIn("slow",function(){$("#osx-modal-content",f.container).show();var h=$("#osx-modal-title",f.container);h.show();g.container.slideDown("slow",function(){setTimeout(function(){$("#osx-modal-data").height(200);var i=$("#osx-modal-data",f.container).height()+h.height()+20;g.container.animate({height:i},200,function(){$("div.close",f.container).show();$("#osx-modal-data",f.container).show();var k=document.getElementById("idSimpleModalLogonBox");if(typeof k!="undefined"&&k){k.width=$("#osx-modal-data").width();k.height=$("#osx-modal-data").height()-4}var j=document.getElementById("osx-container");j.style.zIndex=20000})},300)})})},close:function(g){var f=this;g.container.animate({top:"-"+(g.container.height()+20)},500,function(){f.close();window.showinglogon=false})}};a.init()}if(window.opener!=null&&typeof window.opener.checkLatestListId!="undefined"&&window.opener.checkLatestListId!=null){window.opener.clearInterval(window.opener.checkLatestListId)}else{if(window.parent!=null&&typeof window.parent.checkLatestListId!="undefined"&&window.parent.checkLatestListId!=null){window.parent.clearInterval(window.parent.checkLatestListId)}else{if(typeof checkLatestListId!="undefined"&&checkLatestListId!=null){window.clearInterval(checkLatesListtId)}}}return true}function loadJs(a,c){var d=document.createElement("script");d.setAttribute("type","text/javascript");d.setAttribute("src",a);if(d.readyState){d.onreadystatechange=function(){if(d.readyState=="complete"||d.readyState=="loaded"){d.onreadystatechange=null;if(typeof c=="function"){args=[].slice.call(arguments,1);c.apply(this,args)}}}}else{d.onload=function(){if(typeof c=="function"){args=[].slice.call(arguments,1);c.apply(this,args)}}}var b=document.getElementsByTagName("head")[0];b.insertBefore(d,b.firstChild)}function trim(a){if(typeof a!="undefined"&&a!=null&&typeof a=="string"){return a.replace(/^\s*/,"").replace(/\s*$/,"")}else{return a}}function hexToDigit(a){var b=0;if(a=="0"||a=="1"||a=="2"||a=="3"||a=="4"||a=="5"||a=="6"||a=="7"||a=="8"||a=="9"){b=parseInt(a)}else{if(a=="a"||a=="A"){b=10}else{if(a=="b"||a=="B"){b=11}else{if(a=="c"||a=="C"){b=12}else{if(a=="d"||a=="D"){b=13}else{if(a=="e"||a=="E"){b=14}else{if(a=="f"||a=="F"){b=15}}}}}}}return b}function urlEncode(d){var c={},b=[];var a=d.toString();c["!"]="%21";c["%20"]="+";a=encodeURIComponent(a);for(search in c){replace=c[search];b=a.split(search);a=b.join(replace)}return a.replace(/(\%([a-z0-9]{2}))/g,function(h,g,f){return"%"+f.toUpperCase()});return a}function urlDecode(g){var h="";if(typeof g!="undefined"&&g){var a=g.length;var d;var c,b;var f;d=0;while(d<a){f=g.charAt(d);if(f=="%"){d++;c=parseInt(hexToDigit(g.charAt(d)))<<4;d++;b=parseInt(hexToDigit(g.charAt(d)));h+=String.fromCharCode(c+b)}else{h+=f}d++}}return h}function htmlEncode(a){return a.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/&/g,"&amp;")}function htmlEncode1(a){return a.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;")}function _nN(a){if(a){if(a.nodeType==1){return a}else{return _nN(a.nextSibling)}}else{return null}}function _pN(a){if(a){if(a.nodeType==1){return a}else{return _pN(a.previousSibling)}}else{return null}}function getOffsets(a){var f=a.target;if(typeof f.offsetLeft=="undefined"){f=f.parentNode}var b=getPageCoords(f);var c={x:window.pageXOffset+a.clientX,y:window.pageYOffset+a.clientY};var d={offsetX:c.x-b.x,offsetY:c.y-b.y};return d}function getPageCoords(a){var b={x:0,y:0};while(a){b.x+=a.offsetLeft;b.y+=a.offsetTop;a=a.offsetParent}return b}function findPosX(d){var i=0;var f=d;var a=null;var h,b,g;while(typeof f!="undefined"&&f){h=parseInt(f.style.borderLeftWidth);b=parseInt(f.style.paddingLeft);g=parseInt(f.style.marginLeft);i+=f.offsetLeft+(!isNaN(h)?h:0)+(!isNaN(b)?b:0)+(!isNaN(g)?g:0);a=f;try{f=f.offsetParent}catch(c){break}}if(typeof a!="undefined"&&a){if(typeof a.left!="undefined"&&a.left){i+=a.left}}return i}function findPosY(g){var d=0;var i=g;var a=null;var c,h,b;while(typeof i!="undefined"&&i){c=parseInt(i.style.borderTopWidth);h=parseInt(i.style.paddingTop);b=parseInt(i.style.marginTop);d+=i.offsetTop+(!isNaN(c)?c:0)+(!isNaN(h)?h:0)+(!isNaN(b)?b:0);a=i;try{i=i.offsetParent}catch(f){break}}if(typeof a!="undefined"&&a){if(typeof a.top!="undefined"&&a.top){d+=a.top}}return d}function _dm(){var a={w:0,h:0};if(typeof window.innerHeight!="undefined"){a.h=window.innerHeight;a.w=window.innerWidth}else{if(document.documentElement&&typeof document.documentElement.clientHeight!="undefined"&&document.documentElement.clientHeight!=0){a.h=document.documentElement.clientHeight;a.w=document.documentElement.clientWidth}else{if(document.body&&typeof document.body.clientHeight!="undefined"){a.h=document.body.clientHeight;a.w=document.body.clientWidth}else{}}}return a}function getStyle(x,styleProp){var y=null;if(window.getComputedStyle){y=x.ownerDocument.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp)}else{if(fx=="ie"){if(x.currentStyle){y=eval("x.currentStyle."+styleProp)}}else{if(x.nsCurrentStyle){y=eval("x.nsCurrentStyle."+styleProp)}}}return y}function getStyleInt(b,a){var c=0;try{var f=getStyle(b,a);var d=f.split("px");c=d[0]}catch(g){}return c}function XmlDocument(){}XmlDocument.create=function(){try{if(document.implementation&&document.implementation.createDocument){var b=document.implementation.createDocument("","",null);if(b.readyState==null){b.readyState=1;b.addEventListener("load",function(){b.readyState=4;if(typeof b.onreadystatechange!="undefined"){b.onreadystatechange()}},false)}return b}if(window.ActiveXObject){return new ActiveXObject(getControlPrefix()+".XmlDom")}}catch(a){}throw new Error("Your browser does not support XmlDocument objects")};function _zt(b){var c;if(typeof b=="string"){c=document.getElementById(b)}else{c=b}if(typeof c!="undefined"&&c){var a=c.value;if(typeof a!="undefined"&&a){if(a==""||(a!=""&&a.length<3)){a="###"}var d=document.body;var g=document.createElement("span");g.style.fontFamily=c.style.fontFamily;g.style.whiteSpace=c.style.whiteSpace;var f=c.onblur;if(typeof f!="undefined"&&f){c.onblur=function(){}}c.style.display="none";g.innerHTML=a.replace(/</,"H").replace(/>/,"H");d.appendChild(g);c.style.pixelWidth=g.offsetWidth+5;c.style.display="inline";g.style.display="none";d.removeChild(g);if(typeof f!="undefined"&&f){c.onblur=f}}}}function getRadioValue(a){return"<"+a+">"+_getRadioValue(a)+"</"+a+">"
}function _getRadioValue(a){var c="";var d=document.getElementsByName("id"+a);if(typeof d!="undefined"&&d){var b;for(b=0;b<d.length;b++){if(d[b].checked){c=d[b].value;break}}}return c}function disableRadio(a,c){var d=document.getElementsByName("id"+a);if(typeof d!="undefined"&&d){var b;for(b=0;b<d.length;b++){d[b].disabled=c}}return -1}function getCheckboxValue(a){return"<"+a+">"+_getCheckboxValue(a)+"</"+a+">"}function _getCheckboxValue(a){var b="";var c=document.getElementById("id"+a);if(typeof c!="undefined"&&c){if(c.checked){b="1"}else{b="0"}}return b}function getDocumentRoot(a){while(a&&a.nodeType!=9){a=a.parentNode}return a}function openJqueryDlgBox(d,b,f,c,a){if(typeof jQuery.ui=="undefined"){loadJs(sContextPath+"/_js/_script/lmd/"+sJQueryUILmd+"/jquery-ui.js",function(){$dlgbox=jQuery("#iddlgbox");$dlgbox.dialog({autoOpen:false,modal:true,closeOnEscape:true,draggable:true,height:"auto",resizable:false});_openJqueryDlgBox(d,b,f,c,a)})}else{if(typeof $dlgbox=="undefined"||$dlgbox==null){$dlgbox=jQuery("#iddlgbox");$dlgbox.dialog({autoOpen:false,modal:true,closeOnEscape:true,draggable:true,height:"auto",resizable:false})}_openJqueryDlgBox(d,b,f,c,a)}}function _openJqueryDlgBox(j,i,c,h,b){var d=$("#iddlgbox");var g=$("#iddlgcontent");var k=$("#iddlgicon");var f=$("#iddlgspacer");k.attr("class",i);g.html(c);d.dialog("option","title",j);if(typeof h!="undefined"&&h){d.dialog("option","buttons",h)}else{d.dialog("option","buttons",[{text:"Ok",click:function(){$(this).dialog("close")}}]);if(typeof b=="undefined"||b==null){d.dialog("option","open",function(){$(this).parents(".ui-dialog-buttonpane button:eq(0)").focus()})}}if(typeof b!="undefined"&&b){d.dialog("option","open",b)}d.dialog("open");var a=k.width()+g.width()+f.width()+48;d.dialog("option","width",a);d.dialog("option","position","center")}function makeResizable(b,a){if(typeof jQuery.ui=="undefined"){loadJs(sContextPath+"/_js/_script/lmd/"+sJQueryUILmd+"/jquery-ui.js",function(){_makeResizable(b,a)})}else{_makeResizable(b,a)}}function _makeResizable(c,b){var a=document.getElementById(c);if(typeof a!="undefined"&&a){$(a).resizable({handles:"se",resize:function(f,d){a.resizing=true;if(typeof b=="function"&&b){b(f,d)}},start:function(f,d){a.resizing=true},stop:function(f,d){a.resizing=false}})}}function makeAutocomplete(d,c,a,b){if(typeof jQuery.ui=="undefined"){loadJs(sContextPath+"/_js/_script/lmd/"+sJQueryUILmd+"/jquery-ui.js",function(){_makeAutocomplete(d,c,a,b)})}else{_makeAutocomplete(d,c,a,b)}}function _makeAutocomplete(f,d,a,c){var b=document.getElementById(f);if(typeof b!="undefined"&&b){if(typeof c=="function"){$(b).autocomplete({source:d,select:a}).data("autocomplete")._renderItem=function(g,h){return c(g,h)}}else{$(b).autocomplete({source:d,select:a})}}}function releaseNotes(){alert("Please send email to support@borneosoft.com for further details.")}function contactus(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fcontactus"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fcontactus","ContactUs","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=1",true)}}function tos(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Ftos"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Ftos","TOS","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=1",true)}}function privacypolicy(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fprivacy"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fprivacy","Privacy","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=1",true)}}function spampolicy(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fspam"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fspam","Spam","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=1",true)}}function documentation(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fguide&system=1"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fguide&system=1","Guide","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=1",true)}}function faq(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Ffaqs"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Ffaqs","FAQs","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=1",true)}}function about(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fabout"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fabout","AboutBorneosoft","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=0",true)}}function videolist(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fvideolist"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_docs/?docfilepath=%2F_docs%2Fvideolist","VideoList","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=0",true)}}function subscribenewsletter(a,b){if(typeof b!="undefined"&&b){window.location=(typeof a!="undefined"&&a?a:"")+sContextPath+"/_public/subscribenewsletter.jsp?newslettername=newsletter"}else{window.open((typeof a!="undefined"&&a?a:"")+sContextPath+"/_public/subscribenewsletter.jsp?newslettername=newsletter","SubscribeNewsletter","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=0",true)}}function signup(a,b){if(typeof b!="undefined"&&b){window.location=a}else{window.open(a,"SignUp","resizable=1,height=800,width=1000,titlebar=0,location=0,status=0,menubar=0,scrollbars=0",true)}}var welcomeSlideshow;var moduleSlideshow;$(document).ready(function(){layout();$("#packages li div.back").hide().css("left",0);function b(f){if(f){$(this).parent().find("div.front").show();$(this).parent().find("div.back").hide()}else{$(this).parent().find("div.front").hide();$(this).parent().find("div.back").show()}}$("#packages li").hover(function(){$(this).find("div").stop().rotate3Di("flip",300,{direction:"clockwise",sideChange:b,complete:function(){$(this).parent().animate({backgroundColor:"#161616"},200)}})},function(){var f=$(this).css("border-left-color");$(this).find("div").stop().rotate3Di("unflip",300,{sideChange:b,complete:function(){$(this).parent().animate({backgroundColor:f},200)}})});welcomeSlideshow=$("#welcome").slideshow({prevId:"welcomePrevId",nextId:"welcomeNextId",firstId:"welcomeFirstBtn",lastId:"welcomeLastBtn",numericId:"welcomeControls",auto:false,continuous:true,speed:200,numeric:true});var c=$("#welcome");p=(-1);$("ul",c).animate({marginLeft:p},{queue:false,duration:100});moduleSlideshow=$("#module").slideshow({prevId:"modulePrevId",nextId:"moduleNextId",firstId:"moduleFirstBtn",lastId:"moduleLastBtn",numericId:"moduleControls",auto:false,continuous:true,speed:200,numeric:true,onoff:true,onoffId:"moduleOnOff",controlsBefore:'<div id="moduleControlsContainer" style="position:absolute;background-color:#FFFFFF;">',controlsAfter:"</div>",controlsContainerId:"moduleControlsContainer",close:function(){$("#idCompanyTC").parent().show();$(window).focus()},slidingComplete:function(f){var g=$("#module").find("iframe").eq(f+1);var h=$(g).attr("src");if(typeof h=="undefined"||h==null||h==""){$(g).attr("src",$("#module").find("input").eq(f+1).val())
}else{$(g).contents().find("#idContent").focus()}}});$("#module").hide();$("#moduleControlsContainer").hide();var d=document.getElementsByTagName("script")[0];var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="https://apis.google.com/js/plusone.js";d.parentNode.insertBefore(a,d)});var onresizeTimer;window.onresize=function(){clearTimeout(onresizeTimer);onresizeTimer=setTimeout("layout()",250)};$(document).keyup(function(a){switch(a.which){case 27:break;case 33:break;case 34:break;case 35:welcomeSlideshow.move("last",true,true);a.preventDefault();break;case 36:welcomeSlideshow.move("first",true,true);a.preventDefault();break;case 37:welcomeSlideshow.move("prev",true,true);a.preventDefault();break;case 38:break;case 39:welcomeSlideshow.move("next",true,true);a.preventDefault();break;case 40:break;default:break}});function keyUp(a){switch(a){case 27:if($("#module").is(":visible")){$("#moduleControlsContainer").fadeOut("fast",function(){$("#module").fadeOut("slow",function(){$("#idCompanyTC").parent().show();$(window).focus()})})}break;case 33:break;case 34:break;case 35:if($("#module").is(":visible")){moduleSlideshow.move("last",true,true)}break;case 36:if($("#module").is(":visible")){moduleSlideshow.move("first",true,true)}break;case 37:if($("#module").is(":visible")){moduleSlideshow.move("prev",true,true)}break;case 38:break;case 39:if($("#module").is(":visible")){moduleSlideshow.move("next",true,true)}break;case 40:break;default:break}}function layout(){var d=_dm();var a=document.getElementById("idPageBody");var b=document.getElementById("idCompanyBanner");var c=document.getElementById("idCompanyTC");var i=b.offsetHeight+c.offsetHeight;var l=d.w;var f=d.h-i;a.style.pixelWidth=l;a.style.pixelHeight=f;var j=document.getElementById("idCompanyBannerDiv");if(l<1000){j.style.pixelWidth=l-20}else{j.style.pixelWidth=980}if($("#module").is(":visible")){var g=$("li span.c_slideron","#moduleControls");var m=$(g[0]).attr("rel");var k=parseInt(m);if(!isNaN(k)){$("#module").hide();$("#moduleControlsContainer").hide();selCL(null,k,false)}}}function selMO(a){if(fx=="ie"){a.runtimeStyle.backgroundColor="#161616";a.runtimeStyle.color="#FFFFFF"}else{a.style.backgroundColor="#161616";a.style.color="#FFFFFF"}}function selMT(a){if(fx=="ie"){a.runtimeStyle.backgroundColor="";a.runtimeStyle.color=""}else{a.style.backgroundColor="";a.style.color=""}}function selCL(h,k,n){$("#idCompanyTC").parent().hide();var i=$("li span.c_slideron","#moduleControls");$(i[0]).removeClass("c_slideron");$(i[0]).addClass("c_slideroff");$("span","#moduleControls"+(k+1)).removeClass("c_slideroff");$("span","#moduleControls"+(k+1)).addClass("c_slideron");var g=$("#module").find("div").eq(1);var a=$("#moduleOnOff").outerHeight(true);var b=$(window).width();var o=$(window).height()-a-g.outerHeight(true);$("#module").css("top",0);$("#module").css("height",$(window).height()-a);$("#module").css("left",0);$("#module").css("width",b);$("#moduleControlsContainer").css("top",$("#module").outerHeight(true));$("#moduleControlsContainer").css("left",0);$("#moduleControlsContainer").css("width",b);$("#module").find("iframe").each(function(){$(this).css("height",o);$(this).css("width",b);var r=($(this)[0].contentWindow)["layout"];if(typeof r=="function"){r()}});$("#module").find("li").each(function(){$(this).css("height",$(window).height()-a);$(this).css("width",b)});var f=$("#module");var d=$("li",f).length;var c=$("li",f).outerWidth();var j=$("li",f).outerHeight(true);f.width(c);f.height(j);$("ul li:first-child",f).css("margin-left","-"+c+"px");$("ul",f).css("width",d*c);var q=k;p=(q*c*-1);$("ul",f).animate({marginLeft:p},{queue:false,duration:100,complete:function(){var r=$("#module").find("iframe").eq(k+1);var s=$(r).attr("src");if(typeof s=="undefined"||s==null||s==""){$(r).attr("src",$("#module").find("input").eq(k+1).val())}else{$(r).contents().find("#idContent").focus()}$("#module").fadeIn("slow",function(){$("#moduleControlsContainer").show();g=$("#module").find("div").eq(1);a=$("#moduleOnOff").outerHeight(true);b=$(window).width();o=$(window).height()-a-g.outerHeight(true);$("#module").css("top",0);$("#module").css("height",$(window).height()-a);$("#module").css("left",0);$("#module").css("width",b);$("#moduleControlsContainer").css("top",$("#module").outerHeight(true));$("#moduleControlsContainer").css("left",0);$("#moduleControlsContainer").css("width",b);$("#module").find("iframe").each(function(){$(this).css("height",o);$(this).css("width",b);var t=($(this)[0].contentWindow)["layout"];if(typeof t=="function"){t()}});$("#module").find("li").each(function(){$(this).css("height",$(window).height()-a);$(this).css("width",b)});f=$("#module");d=$("li",f).length;c=$("li",f).outerWidth();j=$("li",f).outerHeight(true);f.width(c);f.height(j);$("ul li:first-child",f).css("margin-left","-"+c+"px");$("ul",f).css("width",d*c);q=k;p=(q*c*-1);$("ul",f).animate({marginLeft:p},{queue:false,duration:100,complete:function(){var t=$("#module").find("iframe").eq(k+1);$(t).contents().find("#idContent").focus()}})})}});var m=true;if(typeof n!="undefined"&&n!=null){m=n}if(m){var l=h?h:window.event;if(typeof l!="undefined"&&l){if(l.preventDefault!=null){l.preventDefault()}if(l.cancelBubble!=null){l.cancelBubble=true}if(l.stopPropagation){l.stopPropagation()}l.returnValue=false}return false}}function selVid(d,c,b){window.open(b,(typeof c!="undefined"&&c)?c:"Video","resizable=1,top=100,width=1170,height=880,scrollbars=1,titlebar=0,toolbar=0,location=0,status=0,menubar=0",true);var a=d?d:window.event;if(typeof a!="undefined"&&a){if(a.preventDefault!=null){a.preventDefault()}if(a.cancelBubble!=null){a.cancelBubble=true}if(a.stopPropagation){a.stopPropagation()}a.returnValue=false}return false};
