/**
 * 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(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bG=function(b1,b2){return new bG.fn.init(b1,b2,bE)},bV=bb.jQuery,bI=bb.$,bE,bZ=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bN=/\S/,bJ=/^\s+/,bF=/\s+$/,bB=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bO=/^[\],:{}\s]*$/,bX=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bQ=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bK=/(?:^|:|,)(?:\s*\[)+/g,bz=/(webkit)[ \/]([\w.]+)/,bS=/(opera)(?:.*version)?[ \/]([\w.]+)/,bR=/(msie) ([\w.]+)/,bT=/(mozilla)(?:.*? rv:([\w.]+))?/,bC=/-([a-z]|[0-9])/ig,b0=/^-ms-/,bU=function(b1,b2){return(b2+"").toUpperCase()},bY=bu.userAgent,bW,bD,bv,bM=Object.prototype.toString,bH=Object.prototype.hasOwnProperty,bA=Array.prototype.push,bL=Array.prototype.slice,bP=String.prototype.trim,bw=Array.prototype.indexOf,by={};bG.fn=bG.prototype={constructor:bG,init:function(b1,b5,b4){var b3,b6,b2,b7;if(!b1){return this}if(b1.nodeType){this.context=this[0]=b1;this.length=1;return this}if(b1==="body"&&!b5&&av.body){this.context=av;this[0]=av.body;this.selector=b1;this.length=1;return this}if(typeof b1==="string"){if(b1.charAt(0)==="<"&&b1.charAt(b1.length-1)===">"&&b1.length>=3){b3=[null,b1,null]}else{b3=bZ.exec(b1)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bG?b5[0]:b5;b7=(b5?b5.ownerDocument||b5:av);b2=bB.exec(b1);if(b2){if(bG.isPlainObject(b5)){b1=[av.createElement(b2[1])];bG.fn.attr.call(b1,b5,true)}else{b1=[b7.createElement(b2[1])]}}else{b2=bG.buildFragment([b3[1]],[b7]);b1=(b2.cacheable?bG.clone(b2.fragment):b2.fragment).childNodes}return bG.merge(this,b1)}else{b6=av.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(b1)}this.length=1;this[0]=b6}this.context=av;this.selector=b1;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(b1)}else{return this.constructor(b5).find(b1)}}}else{if(bG.isFunction(b1)){return b4.ready(b1)}}if(b1.selector!==L){this.selector=b1.selector;
this.context=b1.context}return bG.makeArray(b1,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bL.call(this,0)},get:function(b1){return b1==null?this.toArray():(b1<0?this[this.length+b1]:this[b1])},pushStack:function(b2,b4,b1){var b3=this.constructor();if(bG.isArray(b2)){bA.apply(b3,b2)}else{bG.merge(b3,b2)}b3.prevObject=this;b3.context=this.context;if(b4==="find"){b3.selector=this.selector+(this.selector?" ":"")+b1}else{if(b4){b3.selector=this.selector+"."+b4+"("+b1+")"}}return b3},each:function(b2,b1){return bG.each(this,b2,b1)},ready:function(b1){bG.bindReady();bD.add(b1);return this},eq:function(b1){b1=+b1;return b1===-1?this.slice(b1):this.slice(b1,b1+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bL.apply(this,arguments),"slice",bL.call(arguments).join(","))},map:function(b1){return this.pushStack(bG.map(this,function(b3,b2){return b1.call(b3,b2,b3)}))},end:function(){return this.prevObject||this.constructor(null)},push:bA,sort:[].sort,splice:[].splice};bG.fn.init.prototype=bG.fn;bG.extend=bG.fn.extend=function(){var ca,b3,b1,b2,b7,b8,b6=arguments[0]||{},b5=1,b4=arguments.length,b9=false;if(typeof b6==="boolean"){b9=b6;b6=arguments[1]||{};b5=2}if(typeof b6!=="object"&&!bG.isFunction(b6)){b6={}}if(b4===b5){b6=this;--b5}for(;b5<b4;b5++){if((ca=arguments[b5])!=null){for(b3 in ca){b1=b6[b3];b2=ca[b3];if(b6===b2){continue}if(b9&&b2&&(bG.isPlainObject(b2)||(b7=bG.isArray(b2)))){if(b7){b7=false;b8=b1&&bG.isArray(b1)?b1:[]}else{b8=b1&&bG.isPlainObject(b1)?b1:{}}b6[b3]=bG.extend(b9,b8,b2)}else{if(b2!==L){b6[b3]=b2}}}}}return b6};bG.extend({noConflict:function(b1){if(bb.$===bG){bb.$=bI}if(b1&&bb.jQuery===bG){bb.jQuery=bV}return bG},isReady:false,readyWait:1,holdReady:function(b1){if(b1){bG.readyWait++}else{bG.ready(true)}},ready:function(b1){if((b1===true&&!--bG.readyWait)||(b1!==true&&!bG.isReady)){if(!av.body){return setTimeout(bG.ready,1)}bG.isReady=true;if(b1!==true&&--bG.readyWait>0){return}bD.fireWith(av,[bG]);if(bG.fn.trigger){bG(av).trigger("ready").off("ready")}}},bindReady:function(){if(bD){return}bD=bG.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bG.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",bv,false);bb.addEventListener("load",bG.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",bv);bb.attachEvent("onload",bG.ready);var b1=false;try{b1=bb.frameElement==null}catch(b2){}if(av.documentElement.doScroll&&b1){bx()}}}},isFunction:function(b1){return bG.type(b1)==="function"},isArray:Array.isArray||function(b1){return bG.type(b1)==="array"},isWindow:function(b1){return b1&&typeof b1==="object"&&"setInterval" in b1},isNumeric:function(b1){return !isNaN(parseFloat(b1))&&isFinite(b1)},type:function(b1){return b1==null?String(b1):by[bM.call(b1)]||"object"},isPlainObject:function(b3){if(!b3||bG.type(b3)!=="object"||b3.nodeType||bG.isWindow(b3)){return false}try{if(b3.constructor&&!bH.call(b3,"constructor")&&!bH.call(b3.constructor.prototype,"isPrototypeOf")){return false}}catch(b2){return false}var b1;for(b1 in b3){}return b1===L||bH.call(b3,b1)},isEmptyObject:function(b2){for(var b1 in b2){return false}return true},error:function(b1){throw new Error(b1)},parseJSON:function(b1){if(typeof b1!=="string"||!b1){return null}b1=bG.trim(b1);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b1)}if(bO.test(b1.replace(bX,"@").replace(bQ,"]").replace(bK,""))){return(new Function("return "+b1))()}bG.error("Invalid JSON: "+b1)},parseXML:function(b3){var b1,b2;try{if(bb.DOMParser){b2=new DOMParser();b1=b2.parseFromString(b3,"text/xml")}else{b1=new ActiveXObject("Microsoft.XMLDOM");b1.async="false";b1.loadXML(b3)}}catch(b4){b1=L}if(!b1||!b1.documentElement||b1.getElementsByTagName("parsererror").length){bG.error("Invalid XML: "+b3)}return b1},noop:function(){},globalEval:function(b1){if(b1&&bN.test(b1)){(bb.execScript||function(b2){bb["eval"].call(bb,b2)})(b1)}},camelCase:function(b1){return b1.replace(b0,"ms-").replace(bC,bU)},nodeName:function(b2,b1){return b2.nodeName&&b2.nodeName.toUpperCase()===b1.toUpperCase()},each:function(b4,b7,b3){var b2,b5=0,b6=b4.length,b1=b6===L||bG.isFunction(b4);if(b3){if(b1){for(b2 in b4){if(b7.apply(b4[b2],b3)===false){break}}}else{for(;b5<b6;){if(b7.apply(b4[b5++],b3)===false){break}}}}else{if(b1){for(b2 in b4){if(b7.call(b4[b2],b2,b4[b2])===false){break}}}else{for(;b5<b6;){if(b7.call(b4[b5],b5,b4[b5++])===false){break}}}}return b4},trim:bP?function(b1){return b1==null?"":bP.call(b1)}:function(b1){return b1==null?"":b1.toString().replace(bJ,"").replace(bF,"")},makeArray:function(b4,b2){var b1=b2||[];if(b4!=null){var b3=bG.type(b4);if(b4.length==null||b3==="string"||b3==="function"||b3==="regexp"||bG.isWindow(b4)){bA.call(b1,b4)}else{bG.merge(b1,b4)}}return b1},inArray:function(b3,b4,b2){var b1;if(b4){if(bw){return bw.call(b4,b3,b2)}b1=b4.length;b2=b2?b2<0?Math.max(0,b1+b2):b2:0;for(;b2<b1;b2++){if(b2 in b4&&b4[b2]===b3){return b2}}}return -1},merge:function(b5,b3){var b4=b5.length,b2=0;if(typeof b3.length==="number"){for(var b1=b3.length;b2<b1;b2++){b5[b4++]=b3[b2]}}else{while(b3[b2]!==L){b5[b4++]=b3[b2++]}}b5.length=b4;return b5},grep:function(b2,b7,b1){var b3=[],b6;b1=!!b1;for(var b4=0,b5=b2.length;b4<b5;b4++){b6=!!b7(b2[b4],b4);if(b1!==b6){b3.push(b2[b4])}}return b3},map:function(b1,b8,b9){var b6,b7,b5=[],b3=0,b2=b1.length,b4=b1 instanceof bG||b2!==L&&typeof b2==="number"&&((b2>0&&b1[0]&&b1[b2-1])||b2===0||bG.isArray(b1));if(b4){for(;b3<b2;b3++){b6=b8(b1[b3],b3,b9);if(b6!=null){b5[b5.length]=b6}}}else{for(b7 in b1){b6=b8(b1[b7],b7,b9);if(b6!=null){b5[b5.length]=b6}}}return b5.concat.apply([],b5)},guid:1,proxy:function(b5,b4){if(typeof b4==="string"){var b3=b5[b4];b4=b5;b5=b3}if(!bG.isFunction(b5)){return L}var b1=bL.call(arguments,2),b2=function(){return b5.apply(b4,b1.concat(bL.call(arguments)))};b2.guid=b5.guid=b5.guid||b2.guid||bG.guid++;return b2},access:function(b1,b9,b7,b3,b6,b8){var b2=b1.length;if(typeof b9==="object"){for(var b4 in b9){bG.access(b1,b4,b9[b4],b3,b6,b7)}return b1}if(b7!==L){b3=!b8&&b3&&bG.isFunction(b7);for(var b5=0;b5<b2;b5++){b6(b1[b5],b9,b3?b7.call(b1[b5],b5,b6(b1[b5],b9)):b7,b8)}return b1}return b2?b6(b1[0],b9):L},now:function(){return(new Date()).getTime()},uaMatch:function(b2){b2=b2.toLowerCase();var b1=bz.exec(b2)||bS.exec(b2)||bR.exec(b2)||b2.indexOf("compatible")<0&&bT.exec(b2)||[];return{browser:b1[1]||"",version:b1[2]||"0"}},sub:function(){function b1(b4,b5){return new b1.fn.init(b4,b5)}bG.extend(true,b1,this);b1.superclass=this;b1.fn=b1.prototype=this();b1.fn.constructor=b1;b1.sub=this.sub;b1.fn.init=function b3(b4,b5){if(b5&&b5 instanceof bG&&!(b5 instanceof b1)){b5=b1(b5)}return bG.fn.init.call(this,b4,b5,b2)};b1.fn.init.prototype=b1.fn;var b2=b1(av);return b1},browser:{}});bG.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b2,b1){by["[object "+b1+"]"]=b1.toLowerCase()});bW=bG.uaMatch(bY);if(bW.browser){bG.browser[bW.browser]=true;bG.browser.version=bW.version}if(bG.browser.webkit){bG.browser.safari=true}if(bN.test("\xA0")){bJ=/^[\s\xA0]+/;bF=/[\s\xA0]+$/}bE=bG(av);if(av.addEventListener){bv=function(){av.removeEventListener("DOMContentLoaded",bv,false);bG.ready()}}else{if(av.attachEvent){bv=function(){if(av.readyState==="complete"){av.detachEvent("onreadystatechange",bv);bG.ready()}}}}function bx(){if(bG.isReady){return}try{av.documentElement.doScroll("left")}catch(b1){setTimeout(bx,1);return}bG.ready()}return bG})();var a2={};function X(bv){var bw=a2[bv]={},bx,by;bv=bv.split(/\s+/);for(bx=0,by=bv.length;bx<by;bx++){bw[bv[bx]]=true}return bw}b.Callbacks=function(bx){bx=bx?(a2[bx]||X(bx)):{};var bC=[],bD=[],by,bz,bw,bA,bB,bF=function(bG){var bH,bK,bJ,bI,bL;for(bH=0,bK=bG.length;bH<bK;bH++){bJ=bG[bH];bI=b.type(bJ);if(bI==="array"){bF(bJ)}else{if(bI==="function"){if(!bx.unique||!bE.has(bJ)){bC.push(bJ)}}}}},bv=function(bH,bG){bG=bG||[];by=!bx.memory||[bH,bG];bz=true;
bB=bw||0;bw=0;bA=bC.length;for(;bC&&bB<bA;bB++){if(bC[bB].apply(bH,bG)===false&&bx.stopOnFalse){by=true;break}}bz=false;if(bC){if(!bx.once){if(bD&&bD.length){by=bD.shift();bE.fireWith(by[0],by[1])}}else{if(by===true){bE.disable()}else{bC=[]}}}},bE={add:function(){if(bC){var bG=bC.length;bF(arguments);if(bz){bA=bC.length}else{if(by&&by!==true){bw=bG;bv(by[0],by[1])}}}return this},remove:function(){if(bC){var bG=arguments,bI=0,bJ=bG.length;for(;bI<bJ;bI++){for(var bH=0;bH<bC.length;bH++){if(bG[bI]===bC[bH]){if(bz){if(bH<=bA){bA--;if(bH<=bB){bB--}}}bC.splice(bH--,1);if(bx.unique){break}}}}}return this},has:function(bH){if(bC){var bG=0,bI=bC.length;for(;bG<bI;bG++){if(bH===bC[bG]){return true}}}return false},empty:function(){bC=[];return this},disable:function(){bC=bD=by=L;return this},disabled:function(){return !bC},lock:function(){bD=L;if(!by||by===true){bE.disable()}return this},locked:function(){return !bD},fireWith:function(bH,bG){if(bD){if(bz){if(!bx.once){bD.push([bH,bG])}}else{if(!(bx.once&&by)){bv(bH,bG)}}}return this},fire:function(){bE.fireWith(this,arguments);return this},fired:function(){return !!by}};return bE};var aJ=[].slice;b.extend({Deferred:function(bz){var by=b.Callbacks("once memory"),bx=b.Callbacks("once memory"),bw=b.Callbacks("memory"),bv="pending",bB={resolve:by,reject:bx,notify:bw},bD={done:by.add,fail:bx.add,progress:bw.add,state:function(){return bv},isResolved:by.fired,isRejected:bx.fired,then:function(bF,bE,bG){bC.done(bF).fail(bE).progress(bG);return this},always:function(){bC.done.apply(bC,arguments).fail.apply(bC,arguments);return this},pipe:function(bG,bF,bE){return b.Deferred(function(bH){b.each({done:[bG,"resolve"],fail:[bF,"reject"],progress:[bE,"notify"]},function(bJ,bM){var bI=bM[0],bL=bM[1],bK;if(b.isFunction(bI)){bC[bJ](function(){bK=bI.apply(this,arguments);if(bK&&b.isFunction(bK.promise)){bK.promise().then(bH.resolve,bH.reject,bH.notify)}else{bH[bL+"With"](this===bC?bH:this,[bK])}})}else{bC[bJ](bH[bL])}})}).promise()},promise:function(bF){if(bF==null){bF=bD}else{for(var bE in bD){bF[bE]=bD[bE]}}return bF}},bC=bD.promise({}),bA;for(bA in bB){bC[bA]=bB[bA].fire;bC[bA+"With"]=bB[bA].fireWith}bC.done(function(){bv="resolved"},bx.disable,bw.lock).fail(function(){bv="rejected"},by.disable,bw.lock);if(bz){bz.call(bC,bC)}return bC},when:function(bB){var by=aJ.call(arguments,0),bw=0,bv=by.length,bC=new Array(bv),bx=bv,bz=bv,bD=bv<=1&&bB&&b.isFunction(bB.promise)?bB:b.Deferred(),bF=bD.promise();function bE(bG){return function(bH){by[bG]=arguments.length>1?aJ.call(arguments,0):bH;if(!(--bx)){bD.resolveWith(bD,by)}}}function bA(bG){return function(bH){bC[bG]=arguments.length>1?aJ.call(arguments,0):bH;bD.notifyWith(bF,bC)}}if(bv>1){for(;bw<bv;bw++){if(by[bw]&&by[bw].promise&&b.isFunction(by[bw].promise)){by[bw].promise().then(bE(bw),bD.reject,bA(bw))}else{--bx}}if(!bx){bD.resolveWith(bD,by)}}else{if(bD!==bB){bD.resolveWith(bD,bv?[bB]:[])}}return bF}});b.support=(function(){var bJ,bI,bF,bG,bx,bE,bA,bD,bz,bK,bB,by,bw,bv=av.createElement("div"),bH=av.documentElement;bv.setAttribute("className","t");bv.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bN,bV,bW,bU,bO,bP,bM,bT,bS,bL,bQ,bR=av.getElementsByTagName("body")[0];if(!bR){return}bM=1;bT="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bS="visibility:hidden;border:0;";bL="style='"+bT+"border:5px solid #000;padding:0;'";bQ="<div "+bL+"><div></div></div><table "+bL+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";bN=av.createElement("div");bN.style.cssText=bS+"width:0;height:0;position:static;top:0;margin-top:"+bM+"px";bR.insertBefore(bN,bR.firstChild);bv=av.createElement("div");bN.appendChild(bv);bv.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="<div style='width:4px;'></div>";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bT+bS;bv.innerHTML=bQ;bV=bv.firstChild;bW=bV.firstChild;bO=bV.nextSibling.firstChild.firstChild;bP={doesNotAddBorder:(bW.offsetTop!==5),doesAddBorderForTableAndCells:(bO.offsetTop===5)};bW.style.position="fixed";bW.style.top="20px";bP.fixedPosition=(bW.offsetTop===20||bW.offsetTop===15);bW.style.position=bW.style.top="";bV.style.overflow="hidden";bV.style.position="relative";bP.subtractsBorderForOverflowNotVisible=(bW.offsetTop===-5);bP.doesNotIncludeMarginInBodyOffset=(bR.offsetTop!==bM);bR.removeChild(bN);bv=bN=null;b.extend(bJ,bP)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([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(bv){bv=bv.nodeType?b.cache[bv[b.expando]]:bv[b.expando];return !!bv&&!S(bv)},data:function(by,bw,bA,bz){if(!b.acceptData(by)){return}var bH,bB,bE,bF=b.expando,bD=typeof bw==="string",bG=by.nodeType,bv=bG?b.cache:by,bx=bG?by[bF]:by[bF]&&bF,bC=bw==="events";if((!bx||!bv[bx]||(!bC&&!bz&&!bv[bx].data))&&bD&&bA===L){return}if(!bx){if(bG){by[bF]=bx=++b.uuid}else{bx=bF}}if(!bv[bx]){bv[bx]={};if(!bG){bv[bx].toJSON=b.noop}}if(typeof bw==="object"||typeof bw==="function"){if(bz){bv[bx]=b.extend(bv[bx],bw)}else{bv[bx].data=b.extend(bv[bx].data,bw)}}bH=bB=bv[bx];if(!bz){if(!bB.data){bB.data={}}bB=bB.data}if(bA!==L){bB[b.camelCase(bw)]=bA}if(bC&&!bB[bw]){return bH.events}if(bD){bE=bB[bw];if(bE==null){bE=bB[b.camelCase(bw)]}}else{bE=bB}return bE},removeData:function(by,bw,bz){if(!b.acceptData(by)){return
}var bC,bB,bA,bD=b.expando,bE=by.nodeType,bv=bE?b.cache:by,bx=bE?by[bD]:bD;if(!bv[bx]){return}if(bw){bC=bz?bv[bx]:bv[bx].data;if(bC){if(!b.isArray(bw)){if(bw in bC){bw=[bw]}else{bw=b.camelCase(bw);if(bw in bC){bw=[bw]}else{bw=bw.split(" ")}}}for(bB=0,bA=bw.length;bB<bA;bB++){delete bC[bw[bB]]}if(!(bz?S:b.isEmptyObject)(bC)){return}}}if(!bz){delete bv[bx].data;if(!S(bv[bx])){return}}if(b.support.deleteExpando||!bv.setInterval){delete bv[bx]}else{bv[bx]=null}if(bE){if(b.support.deleteExpando){delete by[bD]}else{if(by.removeAttribute){by.removeAttribute(bD)}else{by[bD]=null}}}},_data:function(bw,bv,bx){return b.data(bw,bv,bx,true)},acceptData:function(bw){if(bw.nodeName){var bv=b.noData[bw.nodeName.toLowerCase()];if(bv){return !(bv===true||bw.getAttribute("classid")!==bv)}}return true}});b.fn.extend({data:function(bz,bB){var bC,bv,bx,bA=null;if(typeof bz==="undefined"){if(this.length){bA=b.data(this[0]);if(this[0].nodeType===1&&!b._data(this[0],"parsedAttrs")){bv=this[0].attributes;for(var by=0,bw=bv.length;by<bw;by++){bx=bv[by].name;if(bx.indexOf("data-")===0){bx=b.camelCase(bx.substring(5));a5(this[0],bx,bA[bx])}}b._data(this[0],"parsedAttrs",true)}}return bA}else{if(typeof bz==="object"){return this.each(function(){b.data(this,bz)})}}bC=bz.split(".");bC[1]=bC[1]?"."+bC[1]:"";if(bB===L){bA=this.triggerHandler("getData"+bC[1]+"!",[bC[0]]);if(bA===L&&this.length){bA=b.data(this[0],bz);bA=a5(this[0],bz,bA)}return bA===L&&bC[1]?this.data(bC[0]):bA}else{return this.each(function(){var bD=b(this),bE=[bC[0],bB];bD.triggerHandler("setData"+bC[1]+"!",bE);b.data(this,bz,bB);bD.triggerHandler("changeData"+bC[1]+"!",bE)})}},removeData:function(bv){return this.each(function(){b.removeData(this,bv)})}});function a5(bx,bw,by){if(by===L&&bx.nodeType===1){var bv="data-"+bw.replace(aA,"-$1").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:b.isNumeric(by)?parseFloat(by):aS.test(by)?b.parseJSON(by):by}catch(bz){}b.data(bx,bw,by)}else{by=L}}return by}function S(bw){for(var bv in bw){if(bv==="data"&&b.isEmptyObject(bw[bv])){continue}if(bv!=="toJSON"){return false}}return true}function bi(bz,by,bB){var bx=by+"defer",bw=by+"queue",bv=by+"mark",bA=b._data(bz,bx);if(bA&&(bB==="queue"||!b._data(bz,bw))&&(bB==="mark"||!b._data(bz,bv))){setTimeout(function(){if(!b._data(bz,bw)&&!b._data(bz,bv)){b.removeData(bz,bx,true);bA.fire()}},0)}}b.extend({_mark:function(bw,bv){if(bw){bv=(bv||"fx")+"mark";b._data(bw,bv,(b._data(bw,bv)||0)+1)}},_unmark:function(bz,by,bw){if(bz!==true){bw=by;by=bz;bz=false}if(by){bw=bw||"fx";var bv=bw+"mark",bx=bz?0:((b._data(by,bv)||1)-1);if(bx){b._data(by,bv,bx)}else{b.removeData(by,bv,true);bi(by,bw,"mark")}}},queue:function(bw,bv,by){var bx;if(bw){bv=(bv||"fx")+"queue";bx=b._data(bw,bv);if(by){if(!bx||b.isArray(by)){bx=b._data(bw,bv,b.makeArray(by))}else{bx.push(by)}}return bx||[]}},dequeue:function(bz,by){by=by||"fx";var bw=b.queue(bz,by),bx=bw.shift(),bv={};if(bx==="inprogress"){bx=bw.shift()}if(bx){if(by==="fx"){bw.unshift("inprogress")}b._data(bz,by+".run",bv);bx.call(bz,function(){b.dequeue(bz,by)},bv)}if(!bw.length){b.removeData(bz,by+"queue "+by+".run",true);bi(bz,by,"queue")}}});b.fn.extend({queue:function(bv,bw){if(typeof bv!=="string"){bw=bv;bv="fx"}if(bw===L){return b.queue(this[0],bv)}return this.each(function(){var bx=b.queue(this,bv,bw);if(bv==="fx"&&bx[0]!=="inprogress"){b.dequeue(this,bv)}})},dequeue:function(bv){return this.each(function(){b.dequeue(this,bv)})},delay:function(bw,bv){bw=b.fx?b.fx.speeds[bw]||bw:bw;bv=bv||"fx";return this.queue(bv,function(by,bx){var bz=setTimeout(by,bw);bx.stop=function(){clearTimeout(bz)}})},clearQueue:function(bv){return this.queue(bv||"fx",[])},promise:function(bE,bx){if(typeof bE!=="string"){bx=bE;bE=L}bE=bE||"fx";var bv=b.Deferred(),bw=this,bz=bw.length,bC=1,bA=bE+"defer",bB=bE+"queue",bD=bE+"mark",by;function bF(){if(!(--bC)){bv.resolveWith(bw,[bw])}}while(bz--){if((by=b.data(bw[bz],bA,L,true)||(b.data(bw[bz],bB,L,true)||b.data(bw[bz],bD,L,true))&&b.data(bw[bz],bA,b.Callbacks("once memory"),true))){bC++;by.add(bF)}}bF();return bv.promise()}});var aP=/[\n\t\r]/g,af=/\s+/,aU=/\r/g,g=/^(?:button|input)$/i,D=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,ao=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,F=b.support.getSetAttribute,be,aY,aF;b.fn.extend({attr:function(bv,bw){return b.access(this,bv,bw,true,b.attr)},removeAttr:function(bv){return this.each(function(){b.removeAttr(this,bv)})},prop:function(bv,bw){return b.access(this,bv,bw,true,b.prop)},removeProp:function(bv){bv=b.propFix[bv]||bv;return this.each(function(){try{this[bv]=L;delete this[bv]}catch(bw){}})},addClass:function(bz){var bB,bx,bw,by,bA,bC,bv;if(b.isFunction(bz)){return this.each(function(bD){b(this).addClass(bz.call(this,bD,this.className))})}if(bz&&typeof bz==="string"){bB=bz.split(af);for(bx=0,bw=this.length;bx<bw;bx++){by=this[bx];if(by.nodeType===1){if(!by.className&&bB.length===1){by.className=bz}else{bA=" "+by.className+" ";for(bC=0,bv=bB.length;bC<bv;bC++){if(!~bA.indexOf(" "+bB[bC]+" ")){bA+=bB[bC]+" "}}by.className=b.trim(bA)}}}}return this},removeClass:function(bA){var bB,bx,bw,bz,by,bC,bv;if(b.isFunction(bA)){return this.each(function(bD){b(this).removeClass(bA.call(this,bD,this.className))})}if((bA&&typeof bA==="string")||bA===L){bB=(bA||"").split(af);for(bx=0,bw=this.length;bx<bw;bx++){bz=this[bx];if(bz.nodeType===1&&bz.className){if(bA){by=(" "+bz.className+" ").replace(aP," ");for(bC=0,bv=bB.length;bC<bv;bC++){by=by.replace(" "+bB[bC]+" "," ")}bz.className=b.trim(by)}else{bz.className=""}}}}return this},toggleClass:function(by,bw){var bx=typeof by,bv=typeof bw==="boolean";if(b.isFunction(by)){return this.each(function(bz){b(this).toggleClass(by.call(this,bz,this.className,bw),bw)})}return this.each(function(){if(bx==="string"){var bB,bA=0,bz=b(this),bC=bw,bD=by.split(af);while((bB=bD[bA++])){bC=bv?bC:!bz.hasClass(bB);bz[bC?"addClass":"removeClass"](bB)}}else{if(bx==="undefined"||bx==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||by===false?"":b._data(this,"__className__")||""}}})},hasClass:function(bv){var by=" "+bv+" ",bx=0,bw=this.length;for(;bx<bw;bx++){if(this[bx].nodeType===1&&(" "+this[bx].className+" ").replace(aP," ").indexOf(by)>-1){return true}}return false},val:function(by){var bv,bw,bz,bx=this[0];if(!arguments.length){if(bx){bv=b.valHooks[bx.nodeName.toLowerCase()]||b.valHooks[bx.type];if(bv&&"get" in bv&&(bw=bv.get(bx,"value"))!==L){return bw}bw=bx.value;return typeof bw==="string"?bw.replace(aU,""):bw==null?"":bw}return}bz=b.isFunction(by);return this.each(function(bB){var bA=b(this),bC;if(this.nodeType!==1){return}if(bz){bC=by.call(this,bB,bA.val())}else{bC=by}if(bC==null){bC=""}else{if(typeof bC==="number"){bC+=""}else{if(b.isArray(bC)){bC=b.map(bC,function(bD){return bD==null?"":bD+""})}}}bv=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!bv||!("set" in bv)||bv.set(this,bC,"value")===L){this.value=bC}})}});b.extend({valHooks:{option:{get:function(bv){var bw=bv.attributes.value;return !bw||bw.specified?bv.value:bv.text}},select:{get:function(bv){var bB,bw,bA,by,bz=bv.selectedIndex,bC=[],bD=bv.options,bx=bv.type==="select-one";if(bz<0){return null}bw=bx?bz:0;bA=bx?bz+1:bD.length;for(;bw<bA;bw++){by=bD[bw];if(by.selected&&(b.support.optDisabled?!by.disabled:by.getAttribute("disabled")===null)&&(!by.parentNode.disabled||!b.nodeName(by.parentNode,"optgroup"))){bB=b(by).val();if(bx){return bB}bC.push(bB)}}if(bx&&!bC.length&&bD.length){return b(bD[bz]).val()}return bC},set:function(bw,bx){var bv=b.makeArray(bx);b(bw).find("option").each(function(){this.selected=b.inArray(b(this).val(),bv)>=0});if(!bv.length){bw.selectedIndex=-1}return bv}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bB,by,bC,bA){var bx,bv,bz,bw=bB.nodeType;
if(!bB||bw===3||bw===8||bw===2){return}if(bA&&by in b.attrFn){return b(bB)[by](bC)}if(typeof bB.getAttribute==="undefined"){return b.prop(bB,by,bC)}bz=bw!==1||!b.isXMLDoc(bB);if(bz){by=by.toLowerCase();bv=b.attrHooks[by]||(ao.test(by)?aY:be)}if(bC!==L){if(bC===null){b.removeAttr(bB,by);return}else{if(bv&&"set" in bv&&bz&&(bx=bv.set(bB,bC,by))!==L){return bx}else{bB.setAttribute(by,""+bC);return bC}}}else{if(bv&&"get" in bv&&bz&&(bx=bv.get(bB,by))!==null){return bx}else{bx=bB.getAttribute(by);return bx===null?L:bx}}},removeAttr:function(by,bA){var bz,bB,bw,bv,bx=0;if(bA&&by.nodeType===1){bB=bA.toLowerCase().split(af);bv=bB.length;for(;bx<bv;bx++){bw=bB[bx];if(bw){bz=b.propFix[bw]||bw;b.attr(by,bw,"");by.removeAttribute(F?bw:bz);if(ao.test(bw)&&bz in by){by[bz]=false}}}}},attrHooks:{type:{set:function(bv,bw){if(g.test(bv.nodeName)&&bv.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bw==="radio"&&b.nodeName(bv,"input")){var bx=bv.value;bv.setAttribute("type",bw);if(bx){bv.value=bx}return bw}}}},value:{get:function(bw,bv){if(be&&b.nodeName(bw,"button")){return be.get(bw,bv)}return bv in bw?bw.value:null},set:function(bw,bx,bv){if(be&&b.nodeName(bw,"button")){return be.set(bw,bx,bv)}bw.value=bx}}},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(bA,by,bB){var bx,bv,bz,bw=bA.nodeType;if(!bA||bw===3||bw===8||bw===2){return}bz=bw!==1||!b.isXMLDoc(bA);if(bz){by=b.propFix[by]||by;bv=b.propHooks[by]}if(bB!==L){if(bv&&"set" in bv&&(bx=bv.set(bA,bB,by))!==L){return bx}else{return(bA[by]=bB)}}else{if(bv&&"get" in bv&&(bx=bv.get(bA,by))!==null){return bx}else{return bA[by]}}},propHooks:{tabIndex:{get:function(bw){var bv=bw.getAttributeNode("tabindex");return bv&&bv.specified?parseInt(bv.value,10):D.test(bw.nodeName)||l.test(bw.nodeName)&&bw.href?0:L}}}});b.attrHooks.tabindex=b.propHooks.tabIndex;aY={get:function(bw,bv){var by,bx=b.prop(bw,bv);return bx===true||typeof bx!=="boolean"&&(by=bw.getAttributeNode(bv))&&by.nodeValue!==false?bv.toLowerCase():L},set:function(bw,by,bv){var bx;if(by===false){b.removeAttr(bw,bv)}else{bx=b.propFix[bv]||bv;if(bx in bw){bw[bx]=true}bw.setAttribute(bv,bv.toLowerCase())}return bv}};if(!F){aF={name:true,id:true};be=b.valHooks.button={get:function(bx,bw){var bv;bv=bx.getAttributeNode(bw);return bv&&(aF[bw]?bv.nodeValue!=="":bv.specified)?bv.nodeValue:L},set:function(bx,by,bw){var bv=bx.getAttributeNode(bw);if(!bv){bv=av.createAttribute(bw);bx.setAttributeNode(bv)}return(bv.nodeValue=by+"")}};b.attrHooks.tabindex.set=be.set;b.each(["width","height"],function(bw,bv){b.attrHooks[bv]=b.extend(b.attrHooks[bv],{set:function(bx,by){if(by===""){bx.setAttribute(bv,"auto");return by}}})});b.attrHooks.contenteditable={get:be.get,set:function(bw,bx,bv){if(bx===""){bx="false"}be.set(bw,bx,bv)}}}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bw,bv){b.attrHooks[bv]=b.extend(b.attrHooks[bv],{get:function(by){var bx=by.getAttribute(bv,2);return bx===null?L:bx}})})}if(!b.support.style){b.attrHooks.style={get:function(bv){return bv.style.cssText.toLowerCase()||L},set:function(bv,bw){return(bv.style.cssText=""+bw)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bw){var bv=bw.parentNode;if(bv){bv.selectedIndex;if(bv.parentNode){bv.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(bv){return bv.getAttribute("value")===null?"on":bv.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(bv,bw){if(b.isArray(bw)){return(bv.checked=b.inArray(b(bv).val(),bw)>=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(bv){var bw=U.exec(bv);if(bw){bw[1]=(bw[1]||"").toLowerCase();bw[3]=bw[3]&&new RegExp("(?:^|\\s)"+bw[3]+"(?:\\s|$)")}return bw},j=function(bx,bv){var bw=bx.attributes||{};return((!bv[1]||bx.nodeName.toLowerCase()===bv[1])&&(!bv[2]||(bw.id||{}).value===bv[2])&&(!bv[3]||bv[3].test((bw["class"]||{}).value)))},bt=function(bv){return b.event.special.hover?bv:bv.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(by,bD,bK,bB,bz){var bE,bC,bL,bJ,bI,bG,bv,bH,bw,bA,bx,bF;if(by.nodeType===3||by.nodeType===8||!bD||!bK||!(bE=b._data(by))){return}if(bK.handler){bw=bK;bK=bw.handler}if(!bK.guid){bK.guid=b.guid++}bL=bE.events;if(!bL){bE.events=bL={}}bC=bE.handle;if(!bC){bE.handle=bC=function(bM){return typeof b!=="undefined"&&(!bM||b.event.triggered!==bM.type)?b.event.dispatch.apply(bC.elem,arguments):L};bC.elem=by}bD=b.trim(bt(bD)).split(" ");for(bJ=0;bJ<bD.length;bJ++){bI=n.exec(bD[bJ])||[];bG=bI[1];bv=(bI[2]||"").split(".").sort();bF=b.event.special[bG]||{};bG=(bz?bF.delegateType:bF.bindType)||bG;bF=b.event.special[bG]||{};bH=b.extend({type:bG,origType:bI[1],data:bB,handler:bK,guid:bK.guid,selector:bz,quick:Y(bz),namespace:bv.join(".")},bw);bx=bL[bG];if(!bx){bx=bL[bG]=[];bx.delegateCount=0;if(!bF.setup||bF.setup.call(by,bB,bv,bC)===false){if(by.addEventListener){by.addEventListener(bG,bC,false)}else{if(by.attachEvent){by.attachEvent("on"+bG,bC)}}}}if(bF.add){bF.add.call(by,bH);if(!bH.handler.guid){bH.handler.guid=bK.guid}}if(bz){bx.splice(bx.delegateCount++,0,bH)}else{bx.push(bH)}b.event.global[bG]=true}by=null},global:{},remove:function(bK,bF,bw,bI,bC){var bJ=b.hasData(bK)&&b._data(bK),bG,by,bA,bM,bD,bB,bH,bx,bz,bL,bE,bv;if(!bJ||!(bx=bJ.events)){return}bF=b.trim(bt(bF||"")).split(" ");for(bG=0;bG<bF.length;bG++){by=n.exec(bF[bG])||[];bA=bM=by[1];bD=by[2];if(!bA){for(bA in bx){b.event.remove(bK,bA+bF[bG],bw,bI,true)}continue}bz=b.event.special[bA]||{};bA=(bI?bz.delegateType:bz.bindType)||bA;bE=bx[bA]||[];bB=bE.length;bD=bD?new RegExp("(^|\\.)"+bD.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(bH=0;bH<bE.length;bH++){bv=bE[bH];if((bC||bM===bv.origType)&&(!bw||bw.guid===bv.guid)&&(!bD||bD.test(bv.namespace))&&(!bI||bI===bv.selector||bI==="**"&&bv.selector)){bE.splice(bH--,1);if(bv.selector){bE.delegateCount--}if(bz.remove){bz.remove.call(bK,bv)}}}if(bE.length===0&&bB!==bE.length){if(!bz.teardown||bz.teardown.call(bK,bD)===false){b.removeEvent(bK,bA,bJ.handle)}delete bx[bA]}}if(b.isEmptyObject(bx)){bL=bJ.handle;if(bL){bL.elem=null}b.removeData(bK,["events","handle"],true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(bw,bE,bB,bK){if(bB&&(bB.nodeType===3||bB.nodeType===8)){return}var bH=bw.type||bw,by=[],bv,bx,bD,bI,bA,bz,bG,bF,bC,bJ;if(T.test(bH+b.event.triggered)){return}if(bH.indexOf("!")>=0){bH=bH.slice(0,-1);bx=true}if(bH.indexOf(".")>=0){by=bH.split(".");bH=by.shift();by.sort()}if((!bB||b.event.customEvent[bH])&&!b.event.global[bH]){return}bw=typeof bw==="object"?bw[b.expando]?bw:new b.Event(bH,bw):new b.Event(bH);bw.type=bH;bw.isTrigger=true;bw.exclusive=bx;bw.namespace=by.join(".");bw.namespace_re=bw.namespace?new RegExp("(^|\\.)"+by.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;bz=bH.indexOf(":")<0?"on"+bH:"";if(!bB){bv=b.cache;for(bD in bv){if(bv[bD].events&&bv[bD].events[bH]){b.event.trigger(bw,bE,bv[bD].handle.elem,true)}}return}bw.result=L;if(!bw.target){bw.target=bB}bE=bE!=null?b.makeArray(bE):[];bE.unshift(bw);bG=b.event.special[bH]||{};if(bG.trigger&&bG.trigger.apply(bB,bE)===false){return}bC=[[bB,bG.bindType||bH]];if(!bK&&!bG.noBubble&&!b.isWindow(bB)){bJ=bG.delegateType||bH;bI=T.test(bJ+bH)?bB:bB.parentNode;bA=null;for(;bI;bI=bI.parentNode){bC.push([bI,bJ]);bA=bI}if(bA&&bA===bB.ownerDocument){bC.push([bA.defaultView||bA.parentWindow||bb,bJ])}}for(bD=0;bD<bC.length&&!bw.isPropagationStopped();bD++){bI=bC[bD][0];
bw.type=bC[bD][1];bF=(b._data(bI,"events")||{})[bw.type]&&b._data(bI,"handle");if(bF){bF.apply(bI,bE)}bF=bz&&bI[bz];if(bF&&b.acceptData(bI)&&bF.apply(bI,bE)===false){bw.preventDefault()}}bw.type=bH;if(!bK&&!bw.isDefaultPrevented()){if((!bG._default||bG._default.apply(bB.ownerDocument,bE)===false)&&!(bH==="click"&&b.nodeName(bB,"a"))&&b.acceptData(bB)){if(bz&&bB[bH]&&((bH!=="focus"&&bH!=="blur")||bw.target.offsetWidth!==0)&&!b.isWindow(bB)){bA=bB[bz];if(bA){bB[bz]=null}b.event.triggered=bH;bB[bH]();b.event.triggered=L;if(bA){bB[bz]=bA}}}}return bw.result},dispatch:function(bv){bv=b.event.fix(bv||bb.event);var bA=((b._data(this,"events")||{})[bv.type]||[]),bB=bA.delegateCount,bH=[].slice.call(arguments,0),bz=!bv.exclusive&&!bv.namespace,bI=[],bD,bC,bL,by,bG,bF,bw,bE,bJ,bx,bK;bH[0]=bv;bv.delegateTarget=this;if(bB&&!bv.target.disabled&&!(bv.button&&bv.type==="click")){by=b(this);by.context=this.ownerDocument||this;for(bL=bv.target;bL!=this;bL=bL.parentNode||this){bF={};bE=[];by[0]=bL;for(bD=0;bD<bB;bD++){bJ=bA[bD];bx=bJ.selector;if(bF[bx]===L){bF[bx]=(bJ.quick?j(bL,bJ.quick):by.is(bx))}if(bF[bx]){bE.push(bJ)}}if(bE.length){bI.push({elem:bL,matches:bE})}}}if(bA.length>bB){bI.push({elem:this,matches:bA.slice(bB)})}for(bD=0;bD<bI.length&&!bv.isPropagationStopped();bD++){bw=bI[bD];bv.currentTarget=bw.elem;for(bC=0;bC<bw.matches.length&&!bv.isImmediatePropagationStopped();bC++){bJ=bw.matches[bC];if(bz||(!bv.namespace&&!bJ.namespace)||bv.namespace_re&&bv.namespace_re.test(bJ.namespace)){bv.data=bJ.data;bv.handleObj=bJ;bG=((b.event.special[bJ.origType]||{}).handle||bJ.handler).apply(bw.elem,bH);if(bG!==L){bv.result=bG;if(bG===false){bv.preventDefault();bv.stopPropagation()}}}}}return bv.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(bw,bv){if(bw.which==null){bw.which=bv.charCode!=null?bv.charCode:bv.keyCode}return bw}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(by,bx){var bz,bA,bv,bw=bx.button,bB=bx.fromElement;if(by.pageX==null&&bx.clientX!=null){bz=by.target.ownerDocument||av;bA=bz.documentElement;bv=bz.body;by.pageX=bx.clientX+(bA&&bA.scrollLeft||bv&&bv.scrollLeft||0)-(bA&&bA.clientLeft||bv&&bv.clientLeft||0);by.pageY=bx.clientY+(bA&&bA.scrollTop||bv&&bv.scrollTop||0)-(bA&&bA.clientTop||bv&&bv.clientTop||0)}if(!by.relatedTarget&&bB){by.relatedTarget=bB===by.target?bx.toElement:bB}if(!by.which&&bw!==L){by.which=(bw&1?1:(bw&2?3:(bw&4?2:0)))}return by}},fix:function(bx){if(bx[b.expando]){return bx}var bw,bA,bv=bx,by=b.event.fixHooks[bx.type]||{},bz=by.props?this.props.concat(by.props):this.props;bx=b.Event(bv);for(bw=bz.length;bw;){bA=bz[--bw];bx[bA]=bv[bA]}if(!bx.target){bx.target=bv.srcElement||av}if(bx.target.nodeType===3){bx.target=bx.target.parentNode}if(bx.metaKey===L){bx.metaKey=bx.ctrlKey}return by.filter?by.filter(bx,bv):bx},special:{ready:{setup:b.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(bx,bw,bv){if(b.isWindow(this)){this.onbeforeunload=bv}},teardown:function(bw,bv){if(this.onbeforeunload===bv){this.onbeforeunload=null}}}},simulate:function(bw,by,bx,bv){var bz=b.extend(new b.Event(),bx,{type:bw,isSimulated:true,originalEvent:{}});if(bv){b.event.trigger(bz,null,by)}else{b.event.dispatch.call(by,bz)}if(bz.isDefaultPrevented()){bx.preventDefault()}}};b.event.handle=b.event.dispatch;b.removeEvent=av.removeEventListener?function(bw,bv,bx){if(bw.removeEventListener){bw.removeEventListener(bv,bx,false)}}:function(bw,bv,bx){if(bw.detachEvent){bw.detachEvent("on"+bv,bx)}};b.Event=function(bw,bv){if(!(this instanceof b.Event)){return new b.Event(bw,bv)}if(bw&&bw.type){this.originalEvent=bw;this.type=bw.type;this.isDefaultPrevented=(bw.defaultPrevented||bw.returnValue===false||bw.getPreventDefault&&bw.getPreventDefault())?i:bk}else{this.type=bw}if(bv){b.extend(this,bv)}this.timeStamp=bw&&bw.timeStamp||b.now();this[b.expando]=true};function bk(){return false}function i(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var bv=this.originalEvent;if(!bv){return}if(bv.preventDefault){bv.preventDefault()}else{bv.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=i;var bv=this.originalEvent;if(!bv){return}if(bv.stopPropagation){bv.stopPropagation()}bv.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i;this.stopPropagation()},isDefaultPrevented:bk,isPropagationStopped:bk,isImmediatePropagationStopped:bk};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bw,bv){b.event.special[bw]={delegateType:bv,bindType:bv,handle:function(bA){var bC=this,bB=bA.relatedTarget,bz=bA.handleObj,bx=bz.selector,by;if(!bB||(bB!==bC&&!b.contains(bC,bB))){bA.type=bz.origType;by=bz.handler.apply(this,arguments);bA.type=bv}return by}}});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(bx){var bw=bx.target,bv=b.nodeName(bw,"input")||b.nodeName(bw,"button")?bw.form:L;if(bv&&!bv._submit_attached){b.event.add(bv,"submit._submit",function(by){if(this.parentNode&&!by.isTrigger){b.event.simulate("submit",this.parentNode,by,true)}});bv._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(bd.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){b.event.add(this,"propertychange._change",function(bv){if(bv.originalEvent.propertyName==="checked"){this._just_changed=true}});b.event.add(this,"click._change",function(bv){if(this._just_changed&&!bv.isTrigger){this._just_changed=false;b.event.simulate("change",this,bv,true)}})}return false}b.event.add(this,"beforeactivate._change",function(bw){var bv=bw.target;if(bd.test(bv.nodeName)&&!bv._change_attached){b.event.add(bv,"change._change",function(bx){if(this.parentNode&&!bx.isSimulated&&!bx.isTrigger){b.event.simulate("change",this.parentNode,bx,true)}});bv._change_attached=true}})},handle:function(bw){var bv=bw.target;if(this!==bv||bw.isSimulated||bw.isTrigger||(bv.type!=="radio"&&bv.type!=="checkbox")){return bw.handleObj.handler.apply(this,arguments)}},teardown:function(){b.event.remove(this,"._change");return bd.test(this.nodeName)}}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(by,bv){var bw=0,bx=function(bz){b.event.simulate(bv,bz.target,b.event.fix(bz),true)};b.event.special[bv]={setup:function(){if(bw++===0){av.addEventListener(by,bx,true)}},teardown:function(){if(--bw===0){av.removeEventListener(by,bx,true)}}}})}b.fn.extend({on:function(bx,bv,bA,bz,bw){var bB,by;if(typeof bx==="object"){if(typeof bv!=="string"){bA=bv;bv=L}for(by in bx){this.on(by,bv,bA,bx[by],bw)}return this}if(bA==null&&bz==null){bz=bv;bA=bv=L}else{if(bz==null){if(typeof bv==="string"){bz=bA;bA=L}else{bz=bA;bA=bv;bv=L}}}if(bz===false){bz=bk}else{if(!bz){return this}}if(bw===1){bB=bz;bz=function(bC){b().off(bC);return bB.apply(this,arguments)};bz.guid=bB.guid||(bB.guid=b.guid++)}return this.each(function(){b.event.add(this,bx,bz,bA,bv)})},one:function(bw,bv,by,bx){return this.on.call(this,bw,bv,by,bx,1)},off:function(bx,bv,bz){if(bx&&bx.preventDefault&&bx.handleObj){var bw=bx.handleObj;b(bx.delegateTarget).off(bw.namespace?bw.type+"."+bw.namespace:bw.type,bw.selector,bw.handler);return this}if(typeof bx==="object"){for(var by in bx){this.off(by,bv,bx[by])}return this}if(bv===false||typeof bv==="function"){bz=bv;bv=L}if(bz===false){bz=bk}return this.each(function(){b.event.remove(this,bx,bz,bv)})},bind:function(bv,bx,bw){return this.on(bv,null,bx,bw)},unbind:function(bv,bw){return this.off(bv,null,bw)
},live:function(bv,bx,bw){b(this.context).on(bv,this.selector,bx,bw);return this},die:function(bv,bw){b(this.context).off(bv,this.selector||"**",bw);return this},delegate:function(bv,bw,by,bx){return this.on(bw,bv,by,bx)},undelegate:function(bv,bw,bx){return arguments.length==1?this.off(bv,"**"):this.off(bw,bv,bx)},trigger:function(bv,bw){return this.each(function(){b.event.trigger(bv,bw,this)})},triggerHandler:function(bv,bw){if(this[0]){return b.event.trigger(bv,bw,this[0],true)}},toggle:function(by){var bw=arguments,bv=by.guid||b.guid++,bx=0,bz=function(bA){var bB=(b._data(this,"lastToggle"+by.guid)||0)%bx;b._data(this,"lastToggle"+by.guid,bB+1);bA.preventDefault();return bw[bB].apply(this,arguments)||false};bz.guid=bv;while(bx<bw.length){bw[bx++].guid=bv}return this.click(bz)},hover:function(bv,bw){return this.mouseenter(bv).mouseleave(bw||bv)}});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(bw,bv){b.fn[bv]=function(by,bx){if(bx==null){bx=by;by=null}return arguments.length>0?this.on(bv,null,by,bx):this.trigger(bv)};if(b.attrFn){b.attrFn[bv]=true}if(aO.test(bv)){b.event.fixHooks[bv]=b.event.keyHooks}if(bf.test(bv)){b.event.fixHooks[bv]=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 bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bW,bR,bZ,b0){bZ=bZ||[];bR=bR||av;var b2=bR;if(bR.nodeType!==1&&bR.nodeType!==9){return[]}if(!bW||typeof bW!=="string"){return bZ}var bT,b4,b7,bS,b3,b6,b5,bY,bV=true,bU=by.isXML(bR),bX=[],b1=bW;do{bH.exec("");bT=bH.exec(b1);if(bT){b1=bT[3];bX.push(bT[1]);if(bT[2]){bS=bT[3];break}}}while(bT);if(bX.length>1&&bD.exec(bW)){if(bX.length===2&&bE.relative[bX[0]]){b4=bM(bX[0]+bX[1],bR,b0)}else{b4=bE.relative[bX[0]]?[bR]:by(bX.shift(),bR);while(bX.length){bW=bX.shift();if(bE.relative[bW]){bW+=bX.shift()}b4=bM(bW,b4,b0)}}}else{if(!b0&&bX.length>1&&bR.nodeType===9&&!bU&&bE.match.ID.test(bX[0])&&!bE.match.ID.test(bX[bX.length-1])){b3=by.find(bX.shift(),bR,bU);bR=b3.expr?by.filter(b3.expr,b3.set)[0]:b3.set[0]}if(bR){b3=b0?{expr:bX.pop(),set:bF(b0)}:by.find(bX.pop(),bX.length===1&&(bX[0]==="~"||bX[0]==="+")&&bR.parentNode?bR.parentNode:bR,bU);b4=b3.expr?by.filter(b3.expr,b3.set):b3.set;if(bX.length>0){b7=bF(b4)}else{bV=false}while(bX.length){b6=bX.pop();b5=b6;if(!bE.relative[b6]){b6=""}else{b5=bX.pop()}if(b5==null){b5=bR}bE.relative[b6](b7,b5,bU)}}else{b7=bX=[]}}if(!b7){b7=b4}if(!b7){by.error(b6||bW)}if(bL.call(b7)==="[object Array]"){if(!bV){bZ.push.apply(bZ,b7)}else{if(bR&&bR.nodeType===1){for(bY=0;b7[bY]!=null;bY++){if(b7[bY]&&(b7[bY]===true||b7[bY].nodeType===1&&by.contains(bR,b7[bY]))){bZ.push(b4[bY])}}}else{for(bY=0;b7[bY]!=null;bY++){if(b7[bY]&&b7[bY].nodeType===1){bZ.push(b4[bY])}}}}}else{bF(b7,bZ)}if(bS){by(bS,b2,bZ,b0);by.uniqueSort(bZ)}return bZ};by.uniqueSort=function(bS){if(bJ){bB=bA;bS.sort(bJ);if(bB){for(var bR=1;bR<bS.length;bR++){if(bS[bR]===bS[bR-1]){bS.splice(bR--,1)}}}}return bS};by.matches=function(bR,bS){return by(bR,null,null,bS)};by.matchesSelector=function(bR,bS){return by(bS,null,null,[bR]).length>0};by.find=function(bY,bR,bZ){var bX,bT,bV,bU,bW,bS;if(!bY){return[]}for(bT=0,bV=bE.order.length;bT<bV;bT++){bW=bE.order[bT];if((bU=bE.leftMatch[bW].exec(bY))){bS=bU[1];bU.splice(1,1);if(bS.substr(bS.length-1)!=="\\"){bU[1]=(bU[1]||"").replace(bK,"");bX=bE.find[bW](bU,bR,bZ);if(bX!=null){bY=bY.replace(bE.match[bW],"");break}}}}if(!bX){bX=typeof bR.getElementsByTagName!=="undefined"?bR.getElementsByTagName("*"):[]}return{set:bX,expr:bY}};by.filter=function(b2,b1,b5,bV){var bX,bR,b0,b7,b4,bS,bU,bW,b3,bT=b2,b6=[],bZ=b1,bY=b1&&b1[0]&&by.isXML(b1[0]);while(b2&&b1.length){for(b0 in bE.filter){if((bX=bE.leftMatch[b0].exec(b2))!=null&&bX[2]){bS=bE.filter[b0];bU=bX[1];bR=false;bX.splice(1,1);if(bU.substr(bU.length-1)==="\\"){continue}if(bZ===b6){b6=[]}if(bE.preFilter[b0]){bX=bE.preFilter[b0](bX,bZ,b5,b6,bV,bY);if(!bX){bR=b7=true}else{if(bX===true){continue}}}if(bX){for(bW=0;(b4=bZ[bW])!=null;bW++){if(b4){b7=bS(b4,bX,bW,bZ);b3=bV^b7;if(b5&&b7!=null){if(b3){bR=true}else{bZ[bW]=false}}else{if(b3){b6.push(b4);bR=true}}}}}if(b7!==L){if(!b5){bZ=b6}b2=b2.replace(bE.match[b0],"");if(!bR){return[]}break}}}if(b2===bT){if(bR==null){by.error(b2)}else{break}}bT=b2}return bZ};by.error=function(bR){throw new Error("Syntax error, unrecognized expression: "+bR)};var bw=by.getText=function(bV){var bT,bU,bR=bV.nodeType,bS="";if(bR){if(bR===1||bR===9){if(typeof bV.textContent==="string"){return bV.textContent}else{if(typeof bV.innerText==="string"){return bV.innerText.replace(bO,"")}else{for(bV=bV.firstChild;bV;bV=bV.nextSibling){bS+=bw(bV)}}}}else{if(bR===3||bR===4){return bV.nodeValue}}}else{for(bT=0;(bU=bV[bT]);bT++){if(bU.nodeType!==8){bS+=bw(bU)}}}return bS};var bE=by.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(bR){return bR.getAttribute("href")},type:function(bR){return bR.getAttribute("type")}},relative:{"+":function(bX,bS){var bU=typeof bS==="string",bW=bU&&!bQ.test(bS),bY=bU&&!bW;if(bW){bS=bS.toLowerCase()}for(var bT=0,bR=bX.length,bV;bT<bR;bT++){if((bV=bX[bT])){while((bV=bV.previousSibling)&&bV.nodeType!==1){}bX[bT]=bY||bV&&bV.nodeName.toLowerCase()===bS?bV||false:bV===bS}}if(bY){by.filter(bS,bX,true)}},">":function(bX,bS){var bW,bV=typeof bS==="string",bT=0,bR=bX.length;if(bV&&!bQ.test(bS)){bS=bS.toLowerCase();for(;bT<bR;bT++){bW=bX[bT];if(bW){var bU=bW.parentNode;bX[bT]=bU.nodeName.toLowerCase()===bS?bU:false}}}else{for(;bT<bR;bT++){bW=bX[bT];if(bW){bX[bT]=bV?bW.parentNode:bW.parentNode===bS}}if(bV){by.filter(bS,bX,true)}}},"":function(bU,bS,bW){var bV,bT=bI++,bR=bN;if(typeof bS==="string"&&!bQ.test(bS)){bS=bS.toLowerCase();bV=bS;bR=bv}bR("parentNode",bS,bT,bU,bV,bW)},"~":function(bU,bS,bW){var bV,bT=bI++,bR=bN;if(typeof bS==="string"&&!bQ.test(bS)){bS=bS.toLowerCase();bV=bS;bR=bv}bR("previousSibling",bS,bT,bU,bV,bW)}},find:{ID:function(bS,bT,bU){if(typeof bT.getElementById!=="undefined"&&!bU){var bR=bT.getElementById(bS[1]);return bR&&bR.parentNode?[bR]:[]}},NAME:function(bT,bW){if(typeof bW.getElementsByName!=="undefined"){var bS=[],bV=bW.getElementsByName(bT[1]);for(var bU=0,bR=bV.length;bU<bR;bU++){if(bV[bU].getAttribute("name")===bT[1]){bS.push(bV[bU])}}return bS.length===0?null:bS}},TAG:function(bR,bS){if(typeof bS.getElementsByTagName!=="undefined"){return bS.getElementsByTagName(bR[1])}}},preFilter:{CLASS:function(bU,bS,bT,bR,bX,bY){bU=" "+bU[1].replace(bK,"")+" ";if(bY){return bU}for(var bV=0,bW;(bW=bS[bV])!=null;bV++){if(bW){if(bX^(bW.className&&(" "+bW.className+" ").replace(/[\t\n\r]/g," ").indexOf(bU)>=0)){if(!bT){bR.push(bW)}}else{if(bT){bS[bV]=false}}}}return false},ID:function(bR){return bR[1].replace(bK,"")},TAG:function(bS,bR){return bS[1].replace(bK,"").toLowerCase()},CHILD:function(bR){if(bR[1]==="nth"){if(!bR[2]){by.error(bR[0])}bR[2]=bR[2].replace(/^\+|\s*/g,"");var bS=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(bR[2]==="even"&&"2n"||bR[2]==="odd"&&"2n+1"||!/\D/.test(bR[2])&&"0n+"+bR[2]||bR[2]);
bR[2]=(bS[1]+(bS[2]||1))-0;bR[3]=bS[3]-0}else{if(bR[2]){by.error(bR[0])}}bR[0]=bI++;return bR},ATTR:function(bV,bS,bT,bR,bW,bX){var bU=bV[1]=bV[1].replace(bK,"");if(!bX&&bE.attrMap[bU]){bV[1]=bE.attrMap[bU]}bV[4]=(bV[4]||bV[5]||"").replace(bK,"");if(bV[2]==="~="){bV[4]=" "+bV[4]+" "}return bV},PSEUDO:function(bV,bS,bT,bR,bW){if(bV[1]==="not"){if((bH.exec(bV[3])||"").length>1||/^\w/.test(bV[3])){bV[3]=by(bV[3],null,null,bS)}else{var bU=by.filter(bV[3],bS,bT,true^bW);if(!bT){bR.push.apply(bR,bU)}return false}}else{if(bE.match.POS.test(bV[0])||bE.match.CHILD.test(bV[0])){return true}}return bV},POS:function(bR){bR.unshift(true);return bR}},filters:{enabled:function(bR){return bR.disabled===false&&bR.type!=="hidden"},disabled:function(bR){return bR.disabled===true},checked:function(bR){return bR.checked===true},selected:function(bR){if(bR.parentNode){bR.parentNode.selectedIndex}return bR.selected===true},parent:function(bR){return !!bR.firstChild},empty:function(bR){return !bR.firstChild},has:function(bT,bS,bR){return !!by(bR[3],bT).length},header:function(bR){return(/h\d/i).test(bR.nodeName)},text:function(bT){var bR=bT.getAttribute("type"),bS=bT.type;return bT.nodeName.toLowerCase()==="input"&&"text"===bS&&(bR===bS||bR===null)},radio:function(bR){return bR.nodeName.toLowerCase()==="input"&&"radio"===bR.type},checkbox:function(bR){return bR.nodeName.toLowerCase()==="input"&&"checkbox"===bR.type},file:function(bR){return bR.nodeName.toLowerCase()==="input"&&"file"===bR.type},password:function(bR){return bR.nodeName.toLowerCase()==="input"&&"password"===bR.type},submit:function(bS){var bR=bS.nodeName.toLowerCase();return(bR==="input"||bR==="button")&&"submit"===bS.type},image:function(bR){return bR.nodeName.toLowerCase()==="input"&&"image"===bR.type},reset:function(bS){var bR=bS.nodeName.toLowerCase();return(bR==="input"||bR==="button")&&"reset"===bS.type},button:function(bS){var bR=bS.nodeName.toLowerCase();return bR==="input"&&"button"===bS.type||bR==="button"},input:function(bR){return(/input|select|textarea|button/i).test(bR.nodeName)},focus:function(bR){return bR===bR.ownerDocument.activeElement}},setFilters:{first:function(bS,bR){return bR===0},last:function(bT,bS,bR,bU){return bS===bU.length-1},even:function(bS,bR){return bR%2===0},odd:function(bS,bR){return bR%2===1},lt:function(bT,bS,bR){return bS<bR[3]-0},gt:function(bT,bS,bR){return bS>bR[3]-0},nth:function(bT,bS,bR){return bR[3]-0===bS},eq:function(bT,bS,bR){return bR[3]-0===bS}},filter:{PSEUDO:function(bT,bY,bX,bZ){var bR=bY[1],bS=bE.filters[bR];if(bS){return bS(bT,bX,bY,bZ)}else{if(bR==="contains"){return(bT.textContent||bT.innerText||bw([bT])||"").indexOf(bY[3])>=0}else{if(bR==="not"){var bU=bY[3];for(var bW=0,bV=bU.length;bW<bV;bW++){if(bU[bW]===bT){return false}}return true}else{by.error(bR)}}}},CHILD:function(bT,bV){var bU,b1,bX,b0,bR,bW,bZ,bY=bV[1],bS=bT;switch(bY){case"only":case"first":while((bS=bS.previousSibling)){if(bS.nodeType===1){return false}}if(bY==="first"){return true}bS=bT;case"last":while((bS=bS.nextSibling)){if(bS.nodeType===1){return false}}return true;case"nth":bU=bV[2];b1=bV[3];if(bU===1&&b1===0){return true}bX=bV[0];b0=bT.parentNode;if(b0&&(b0[bC]!==bX||!bT.nodeIndex)){bW=0;for(bS=b0.firstChild;bS;bS=bS.nextSibling){if(bS.nodeType===1){bS.nodeIndex=++bW}}b0[bC]=bX}bZ=bT.nodeIndex-b1;if(bU===0){return bZ===0}else{return(bZ%bU===0&&bZ/bU>=0)}}},ID:function(bS,bR){return bS.nodeType===1&&bS.getAttribute("id")===bR},TAG:function(bS,bR){return(bR==="*"&&bS.nodeType===1)||!!bS.nodeName&&bS.nodeName.toLowerCase()===bR},CLASS:function(bS,bR){return(" "+(bS.className||bS.getAttribute("class"))+" ").indexOf(bR)>-1},ATTR:function(bW,bU){var bT=bU[1],bR=by.attr?by.attr(bW,bT):bE.attrHandle[bT]?bE.attrHandle[bT](bW):bW[bT]!=null?bW[bT]:bW.getAttribute(bT),bX=bR+"",bV=bU[2],bS=bU[4];return bR==null?bV==="!=":!bV&&by.attr?bR!=null:bV==="="?bX===bS:bV==="*="?bX.indexOf(bS)>=0:bV==="~="?(" "+bX+" ").indexOf(bS)>=0:!bS?bX&&bR!==false:bV==="!="?bX!==bS:bV==="^="?bX.indexOf(bS)===0:bV==="$="?bX.substr(bX.length-bS.length)===bS:bV==="|="?bX===bS||bX.substr(0,bS.length+1)===bS+"-":false},POS:function(bV,bS,bT,bW){var bR=bS[2],bU=bE.setFilters[bR];if(bU){return bU(bV,bT,bS,bW)}}}};var bD=bE.match.POS,bx=function(bS,bR){return"\\"+(bR-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bS,bR){bS=Array.prototype.slice.call(bS,0);if(bR){bR.push.apply(bR,bS);return bR}return bS};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bV,bU){var bT=0,bS=bU||[];if(bL.call(bV)==="[object Array]"){Array.prototype.push.apply(bS,bV)}else{if(typeof bV.length==="number"){for(var bR=bV.length;bT<bR;bT++){bS.push(bV[bT])}}else{for(;bV[bT];bT++){bS.push(bV[bT])}}}return bS}}var bJ,bG;if(av.documentElement.compareDocumentPosition){bJ=function(bS,bR){if(bS===bR){bB=true;return 0}if(!bS.compareDocumentPosition||!bR.compareDocumentPosition){return bS.compareDocumentPosition?-1:1}return bS.compareDocumentPosition(bR)&4?-1:1}}else{bJ=function(bZ,bY){if(bZ===bY){bB=true;return 0}else{if(bZ.sourceIndex&&bY.sourceIndex){return bZ.sourceIndex-bY.sourceIndex}}var bW,bS,bT=[],bR=[],bV=bZ.parentNode,bX=bY.parentNode,b0=bV;if(bV===bX){return bG(bZ,bY)}else{if(!bV){return -1}else{if(!bX){return 1}}}while(b0){bT.unshift(b0);b0=b0.parentNode}b0=bX;while(b0){bR.unshift(b0);b0=b0.parentNode}bW=bT.length;bS=bR.length;for(var bU=0;bU<bW&&bU<bS;bU++){if(bT[bU]!==bR[bU]){return bG(bT[bU],bR[bU])}}return bU===bW?bG(bZ,bR[bU],-1):bG(bT[bU],bY,1)};bG=function(bS,bR,bT){if(bS===bR){return bT}var bU=bS.nextSibling;while(bU){if(bU===bR){return -1}bU=bU.nextSibling}return 1}}(function(){var bS=av.createElement("div"),bT="script"+(new Date()).getTime(),bR=av.documentElement;bS.innerHTML="<a name='"+bT+"'/>";bR.insertBefore(bS,bR.firstChild);if(av.getElementById(bT)){bE.find.ID=function(bV,bW,bX){if(typeof bW.getElementById!=="undefined"&&!bX){var bU=bW.getElementById(bV[1]);return bU?bU.id===bV[1]||typeof bU.getAttributeNode!=="undefined"&&bU.getAttributeNode("id").nodeValue===bV[1]?[bU]:L:[]}};bE.filter.ID=function(bW,bU){var bV=typeof bW.getAttributeNode!=="undefined"&&bW.getAttributeNode("id");return bW.nodeType===1&&bV&&bV.nodeValue===bU}}bR.removeChild(bS);bR=bS=null})();(function(){var bR=av.createElement("div");bR.appendChild(av.createComment(""));if(bR.getElementsByTagName("*").length>0){bE.find.TAG=function(bS,bW){var bV=bW.getElementsByTagName(bS[1]);if(bS[1]==="*"){var bU=[];for(var bT=0;bV[bT];bT++){if(bV[bT].nodeType===1){bU.push(bV[bT])}}bV=bU}return bV}}bR.innerHTML="<a href='#'></a>";if(bR.firstChild&&typeof bR.firstChild.getAttribute!=="undefined"&&bR.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bS){return bS.getAttribute("href",2)}}bR=null})();if(av.querySelectorAll){(function(){var bR=by,bU=av.createElement("div"),bT="__sizzle__";bU.innerHTML="<p class='TEST'></p>";if(bU.querySelectorAll&&bU.querySelectorAll(".TEST").length===0){return}by=function(b5,bW,b0,b4){bW=bW||av;if(!b4&&!by.isXML(bW)){var b3=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b5);if(b3&&(bW.nodeType===1||bW.nodeType===9)){if(b3[1]){return bF(bW.getElementsByTagName(b5),b0)}else{if(b3[2]&&bE.find.CLASS&&bW.getElementsByClassName){return bF(bW.getElementsByClassName(b3[2]),b0)}}}if(bW.nodeType===9){if(b5==="body"&&bW.body){return bF([bW.body],b0)}else{if(b3&&b3[3]){var bZ=bW.getElementById(b3[3]);if(bZ&&bZ.parentNode){if(bZ.id===b3[3]){return bF([bZ],b0)}}else{return bF([],b0)}}}try{return bF(bW.querySelectorAll(b5),b0)}catch(b1){}}else{if(bW.nodeType===1&&bW.nodeName.toLowerCase()!=="object"){var bX=bW,bY=bW.getAttribute("id"),bV=bY||bT,b7=bW.parentNode,b6=/^\s*[+~]/.test(b5);if(!bY){bW.setAttribute("id",bV)}else{bV=bV.replace(/'/g,"\\$&")}if(b6&&b7){bW=bW.parentNode}try{if(!b6||b7){return bF(bW.querySelectorAll("[id='"+bV+"'] "+b5),b0)
}}catch(b2){}finally{if(!bY){bX.removeAttribute("id")}}}}}return bR(b5,bW,b0,b4)};for(var bS in bR){by[bS]=bR[bS]}bU=null})()}(function(){var bR=av.documentElement,bT=bR.matchesSelector||bR.mozMatchesSelector||bR.webkitMatchesSelector||bR.msMatchesSelector;if(bT){var bV=!bT.call(av.createElement("div"),"div"),bS=false;try{bT.call(av.documentElement,"[test!='']:sizzle")}catch(bU){bS=true}by.matchesSelector=function(bX,bZ){bZ=bZ.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bX)){try{if(bS||!bE.match.PSEUDO.test(bZ)&&!/!=/.test(bZ)){var bW=bT.call(bX,bZ);if(bW||!bV||bX.document&&bX.document.nodeType!==11){return bW}}}catch(bY){}}return by(bZ,null,null,[bX]).length>0}}})();(function(){var bR=av.createElement("div");bR.innerHTML="<div class='test e'></div><div class='test'></div>";if(!bR.getElementsByClassName||bR.getElementsByClassName("e").length===0){return}bR.lastChild.className="e";if(bR.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bS,bT,bU){if(typeof bT.getElementsByClassName!=="undefined"&&!bU){return bT.getElementsByClassName(bS[1])}};bR=null})();function bv(bS,bX,bW,b0,bY,bZ){for(var bU=0,bT=b0.length;bU<bT;bU++){var bR=b0[bU];if(bR){var bV=false;bR=bR[bS];while(bR){if(bR[bC]===bW){bV=b0[bR.sizset];break}if(bR.nodeType===1&&!bZ){bR[bC]=bW;bR.sizset=bU}if(bR.nodeName.toLowerCase()===bX){bV=bR;break}bR=bR[bS]}b0[bU]=bV}}}function bN(bS,bX,bW,b0,bY,bZ){for(var bU=0,bT=b0.length;bU<bT;bU++){var bR=b0[bU];if(bR){var bV=false;bR=bR[bS];while(bR){if(bR[bC]===bW){bV=b0[bR.sizset];break}if(bR.nodeType===1){if(!bZ){bR[bC]=bW;bR.sizset=bU}if(typeof bX!=="string"){if(bR===bX){bV=true;break}}else{if(by.filter(bX,[bR]).length>0){bV=bR;break}}}bR=bR[bS]}b0[bU]=bV}}}if(av.documentElement.contains){by.contains=function(bS,bR){return bS!==bR&&(bS.contains?bS.contains(bR):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bS,bR){return !!(bS.compareDocumentPosition(bR)&16)}}else{by.contains=function(){return false}}}by.isXML=function(bR){var bS=(bR?bR.ownerDocument||bR:0).documentElement;return bS?bS.nodeName!=="HTML":false};var bM=function(bT,bR,bX){var bW,bY=[],bV="",bZ=bR.nodeType?[bR]:bR;while((bW=bE.match.PSEUDO.exec(bT))){bV+=bW[0];bT=bT.replace(bE.match.PSEUDO,"")}bT=bE.relative[bT]?bT+"*":bT;for(var bU=0,bS=bZ.length;bU<bS;bU++){by(bT,bZ[bU],bY,bX)}return by.filter(bV,bY)};by.attr=b.attr;by.selectors.attrMap={};b.find=by;b.expr=by.selectors;b.expr[":"]=b.expr.filters;b.unique=by.uniqueSort;b.text=by.getText;b.isXMLDoc=by.isXML;b.contains=by.contains})();var ab=/Until$/,aq=/^(?:parents|prevUntil|prevAll)/,a9=/,/,bp=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,H=b.expr.match.POS,ay={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(bv){var bx=this,bz,bw;if(typeof bv!=="string"){return b(bv).filter(function(){for(bz=0,bw=bx.length;bz<bw;bz++){if(b.contains(bx[bz],this)){return true}}})}var by=this.pushStack("","find",bv),bB,bC,bA;for(bz=0,bw=this.length;bz<bw;bz++){bB=by.length;b.find(bv,this[bz],by);if(bz>0){for(bC=bB;bC<by.length;bC++){for(bA=0;bA<bB;bA++){if(by[bA]===by[bC]){by.splice(bC--,1);break}}}}}return by},has:function(bw){var bv=b(bw);return this.filter(function(){for(var by=0,bx=bv.length;by<bx;by++){if(b.contains(this,bv[by])){return true}}})},not:function(bv){return this.pushStack(aG(this,bv,false),"not",bv)},filter:function(bv){return this.pushStack(aG(this,bv,true),"filter",bv)},is:function(bv){return !!bv&&(typeof bv==="string"?H.test(bv)?b(bv,this.context).index(this[0])>=0:b.filter(bv,this).length>0:this.filter(bv).length>0)},closest:function(bz,by){var bw=[],bx,bv,bA=this[0];if(b.isArray(bz)){var bC=1;while(bA&&bA.ownerDocument&&bA!==by){for(bx=0;bx<bz.length;bx++){if(b(bA).is(bz[bx])){bw.push({selector:bz[bx],elem:bA,level:bC})}}bA=bA.parentNode;bC++}return bw}var bB=H.test(bz)||typeof bz!=="string"?b(bz,by||this.context):0;for(bx=0,bv=this.length;bx<bv;bx++){bA=this[bx];while(bA){if(bB?bB.index(bA)>-1:b.find.matchesSelector(bA,bz)){bw.push(bA);break}else{bA=bA.parentNode;if(!bA||!bA.ownerDocument||bA===by||bA.nodeType===11){break}}}}bw=bw.length>1?b.unique(bw):bw;return this.pushStack(bw,"closest",bz)},index:function(bv){if(!bv){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof bv==="string"){return b.inArray(this[0],b(bv))}return b.inArray(bv.jquery?bv[0]:bv,this)},add:function(bv,bw){var by=typeof bv==="string"?b(bv,bw):b.makeArray(bv&&bv.nodeType?[bv]:bv),bx=b.merge(this.get(),by);return this.pushStack(C(by[0])||C(bx[0])?bx:b.unique(bx))},andSelf:function(){return this.add(this.prevObject)}});function C(bv){return !bv||!bv.parentNode||bv.parentNode.nodeType===11}b.each({parent:function(bw){var bv=bw.parentNode;return bv&&bv.nodeType!==11?bv:null},parents:function(bv){return b.dir(bv,"parentNode")},parentsUntil:function(bw,bv,bx){return b.dir(bw,"parentNode",bx)},next:function(bv){return b.nth(bv,2,"nextSibling")},prev:function(bv){return b.nth(bv,2,"previousSibling")},nextAll:function(bv){return b.dir(bv,"nextSibling")},prevAll:function(bv){return b.dir(bv,"previousSibling")},nextUntil:function(bw,bv,bx){return b.dir(bw,"nextSibling",bx)},prevUntil:function(bw,bv,bx){return b.dir(bw,"previousSibling",bx)},siblings:function(bv){return b.sibling(bv.parentNode.firstChild,bv)},children:function(bv){return b.sibling(bv.firstChild)},contents:function(bv){return b.nodeName(bv,"iframe")?bv.contentDocument||bv.contentWindow.document:b.makeArray(bv.childNodes)}},function(bv,bw){b.fn[bv]=function(bz,bx){var by=b.map(this,bw,bz);if(!ab.test(bv)){bx=bz}if(bx&&typeof bx==="string"){by=b.filter(bx,by)}by=this.length>1&&!ay[bv]?b.unique(by):by;if((this.length>1||a9.test(bx))&&aq.test(bv)){by=by.reverse()}return this.pushStack(by,bv,P.call(arguments).join(","))}});b.extend({filter:function(bx,bv,bw){if(bw){bx=":not("+bx+")"}return bv.length===1?b.find.matchesSelector(bv[0],bx)?[bv[0]]:[]:b.find.matches(bx,bv)},dir:function(bx,bw,bz){var bv=[],by=bx[bw];while(by&&by.nodeType!==9&&(bz===L||by.nodeType!==1||!b(by).is(bz))){if(by.nodeType===1){bv.push(by)}by=by[bw]}return bv},nth:function(bz,bv,bx,by){bv=bv||1;var bw=0;for(;bz;bz=bz[bx]){if(bz.nodeType===1&&++bw===bv){break}}return bz},sibling:function(bx,bw){var bv=[];for(;bx;bx=bx.nextSibling){if(bx.nodeType===1&&bx!==bw){bv.push(bx)}}return bv}});function aG(by,bx,bv){bx=bx||0;if(b.isFunction(bx)){return b.grep(by,function(bA,bz){var bB=!!bx.call(bA,bz,bA);return bB===bv})}else{if(bx.nodeType){return b.grep(by,function(bA,bz){return(bA===bx)===bv})}else{if(typeof bx==="string"){var bw=b.grep(by,function(bz){return bz.nodeType===1});if(bp.test(bx)){return b.filter(bx,bw,!bv)}else{bx=b.filter(bx,bw)}}}}return b.grep(by,function(bA,bz){return(b.inArray(bA,bx)>=0)===bv})}function a(bv){var bx=aR.split("|"),bw=bv.createDocumentFragment();if(bw.createElement){while(bx.length){bw.createElement(bx.pop())}}return bw}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/<tbody/i,W=/<|&#?\w+;/,ae=/<(?:script|style)/i,O=/<(?:script|object|embed|option|style)/i,ah=new RegExp("<(?:"+aR+")","i"),o=/checked\s*(?:[^=]|=\s*.checked.)/i,bm=/\/(java|ecma)script/i,aN=/^\s*<!(?:\[CDATA\[|\-\-)/,ax={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,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(bv){if(b.isFunction(bv)){return this.each(function(bx){var bw=b(this);
bw.text(bv.call(this,bx,bw.text()))})}if(typeof bv!=="object"&&bv!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(bv))}return b.text(this)},wrapAll:function(bv){if(b.isFunction(bv)){return this.each(function(bx){b(this).wrapAll(bv.call(this,bx))})}if(this[0]){var bw=b(bv,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bw.insertBefore(this[0])}bw.map(function(){var bx=this;while(bx.firstChild&&bx.firstChild.nodeType===1){bx=bx.firstChild}return bx}).append(this)}return this},wrapInner:function(bv){if(b.isFunction(bv)){return this.each(function(bw){b(this).wrapInner(bv.call(this,bw))})}return this.each(function(){var bw=b(this),bx=bw.contents();if(bx.length){bx.wrapAll(bv)}else{bw.append(bv)}})},wrap:function(bv){var bw=b.isFunction(bv);return this.each(function(bx){b(this).wrapAll(bw?bv.call(this,bx):bv)})},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(bv){if(this.nodeType===1){this.appendChild(bv)}})},prepend:function(){return this.domManip(arguments,true,function(bv){if(this.nodeType===1){this.insertBefore(bv,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bw){this.parentNode.insertBefore(bw,this)})}else{if(arguments.length){var bv=b.clean(arguments);bv.push.apply(bv,this.toArray());return this.pushStack(bv,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bw){this.parentNode.insertBefore(bw,this.nextSibling)})}else{if(arguments.length){var bv=this.pushStack(this,"after",arguments);bv.push.apply(bv,b.clean(arguments));return bv}}},remove:function(bv,by){for(var bw=0,bx;(bx=this[bw])!=null;bw++){if(!bv||b.filter(bv,[bx]).length){if(!by&&bx.nodeType===1){b.cleanData(bx.getElementsByTagName("*"));b.cleanData([bx])}if(bx.parentNode){bx.parentNode.removeChild(bx)}}}return this},empty:function(){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"))}while(bw.firstChild){bw.removeChild(bw.firstChild)}}return this},clone:function(bw,bv){bw=bw==null?false:bw;bv=bv==null?bw:bv;return this.map(function(){return b.clone(this,bw,bv)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1></$2>");try{for(var bw=0,bv=this.length;bw<bv;bw++){if(this[bw].nodeType===1){b.cleanData(this[bw].getElementsByTagName("*"));this[bw].innerHTML=bx}}}catch(by){this.empty().append(bx)}}else{if(b.isFunction(bx)){this.each(function(bA){var bz=b(this);bz.html(bx.call(this,bA,bz.html()))})}else{this.empty().append(bx)}}}return this},replaceWith:function(bv){if(this[0]&&this[0].parentNode){if(b.isFunction(bv)){return this.each(function(by){var bx=b(this),bw=bx.html();bx.replaceWith(bv.call(this,by,bw))})}if(typeof bv!=="string"){bv=b(bv).detach()}return this.each(function(){var bx=this.nextSibling,bw=this.parentNode;b(this).remove();if(bx){b(bx).before(bv)}else{b(bw).append(bv)}})}else{return this.length?this.pushStack(b(b.isFunction(bv)?bv():bv),"replaceWith",bv):this}},detach:function(bv){return this.remove(bv,true)},domManip:function(bC,bG,bF){var by,bz,bB,bE,bD=bC[0],bw=[];if(!b.support.checkClone&&arguments.length===3&&typeof bD==="string"&&o.test(bD)){return this.each(function(){b(this).domManip(bC,bG,bF,true)})}if(b.isFunction(bD)){return this.each(function(bI){var bH=b(this);bC[0]=bD.call(this,bI,bG?bH.html():L);bH.domManip(bC,bG,bF)})}if(this[0]){bE=bD&&bD.parentNode;if(b.support.parentNode&&bE&&bE.nodeType===11&&bE.childNodes.length===this.length){by={fragment:bE}}else{by=b.buildFragment(bC,this,bw)}bB=by.fragment;if(bB.childNodes.length===1){bz=bB=bB.firstChild}else{bz=bB.firstChild}if(bz){bG=bG&&b.nodeName(bz,"tr");for(var bx=0,bv=this.length,bA=bv-1;bx<bv;bx++){bF.call(bG?ba(this[bx],bz):this[bx],by.cacheable||(bv>1&&bx<bA)?b.clone(bB,true,true):bB)}}if(bw.length){b.each(bw,bo)}}return this}});function ba(bv,bw){return b.nodeName(bv,"table")?(bv.getElementsByTagName("tbody")[0]||bv.appendChild(bv.ownerDocument.createElement("tbody"))):bv}function t(bC,bw){if(bw.nodeType!==1||!b.hasData(bC)){return}var bz,by,bv,bB=b._data(bC),bA=b._data(bw,bB),bx=bB.events;if(bx){delete bA.handle;bA.events={};for(bz in bx){for(by=0,bv=bx[bz].length;by<bv;by++){b.event.add(bw,bz+(bx[bz][by].namespace?".":"")+bx[bz][by].namespace,bx[bz][by],bx[bz][by].data)}}}if(bA.data){bA.data=b.extend({},bA.data)}}function ai(bw,bv){var bx;if(bv.nodeType!==1){return}if(bv.clearAttributes){bv.clearAttributes()}if(bv.mergeAttributes){bv.mergeAttributes(bw)}bx=bv.nodeName.toLowerCase();if(bx==="object"){bv.outerHTML=bw.outerHTML}else{if(bx==="input"&&(bw.type==="checkbox"||bw.type==="radio")){if(bw.checked){bv.defaultChecked=bv.checked=bw.checked}if(bv.value!==bw.value){bv.value=bw.value}}else{if(bx==="option"){bv.selected=bw.defaultSelected}else{if(bx==="input"||bx==="textarea"){bv.defaultValue=bw.defaultValue}}}}bv.removeAttribute(b.expando)}b.buildFragment=function(bA,by,bw){var bz,bv,bx,bB,bC=bA[0];if(by&&by[0]){bB=by[0].ownerDocument||by[0]}if(!bB.createDocumentFragment){bB=av}if(bA.length===1&&typeof bC==="string"&&bC.length<512&&bB===av&&bC.charAt(0)==="<"&&!O.test(bC)&&(b.support.checkClone||!o.test(bC))&&(b.support.html5Clone||!ah.test(bC))){bv=true;bx=b.fragments[bC];if(bx&&bx!==1){bz=bx}}if(!bz){bz=bB.createDocumentFragment();b.clean(bA,bB,bz,bw)}if(bv){b.fragments[bC]=bx?bz:1}return{fragment:bz,cacheable:bv}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(bv,bw){b.fn[bv]=function(bx){var bA=[],bD=b(bx),bC=this.length===1&&this[0].parentNode;if(bC&&bC.nodeType===11&&bC.childNodes.length===1&&bD.length===1){bD[bw](this[0]);return this}else{for(var bB=0,by=bD.length;bB<by;bB++){var bz=(bB>0?this.clone(true):this).get();b(bD[bB])[bw](bz);bA=bA.concat(bz)}return this.pushStack(bA,bv,bD.selector)}}});function bg(bv){if(typeof bv.getElementsByTagName!=="undefined"){return bv.getElementsByTagName("*")}else{if(typeof bv.querySelectorAll!=="undefined"){return bv.querySelectorAll("*")}else{return[]}}}function az(bv){if(bv.type==="checkbox"||bv.type==="radio"){bv.defaultChecked=bv.checked}}function E(bv){var bw=(bv.nodeName||"").toLowerCase();if(bw==="input"){az(bv)}else{if(bw!=="script"&&typeof bv.getElementsByTagName!=="undefined"){b.grep(bv.getElementsByTagName("input"),az)}}}function al(bv){var bw=av.createElement("div");ac.appendChild(bw);bw.innerHTML=bv.outerHTML;return bw.firstChild}b.extend({clone:function(bz,bB,bx){var bv,bw,by,bA=b.support.html5Clone||!ah.test("<"+bz.nodeName)?bz.cloneNode(true):al(bz);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bz.nodeType===1||bz.nodeType===11)&&!b.isXMLDoc(bz)){ai(bz,bA);bv=bg(bz);bw=bg(bA);for(by=0;bv[by];++by){if(bw[by]){ai(bv[by],bw[by])}}}if(bB){t(bz,bA);if(bx){bv=bg(bz);bw=bg(bA);for(by=0;bv[by];++by){t(bv[by],bw[by])}}}bv=bw=null;return bA},clean:function(bx,bz,bI,bB){var bG;bz=bz||av;if(typeof bz.createElement==="undefined"){bz=bz.ownerDocument||bz[0]&&bz[0].ownerDocument||av}var bJ=[],bC;for(var bF=0,bA;(bA=bx[bF])!=null;bF++){if(typeof bA==="number"){bA+=""}if(!bA){continue}if(typeof bA==="string"){if(!W.test(bA)){bA=bz.createTextNode(bA)}else{bA=bA.replace(R,"<$1></$2>");var bL=(d.exec(bA)||["",""])[1].toLowerCase(),by=ax[bL]||ax._default,bE=by[0],bw=bz.createElement("div");if(bz===av){ac.appendChild(bw)}else{a(bz).appendChild(bw)}bw.innerHTML=by[1]+bA+by[2];while(bE--){bw=bw.lastChild}if(!b.support.tbody){var bv=w.test(bA),bD=bL==="table"&&!bv?bw.firstChild&&bw.firstChild.childNodes:by[1]==="<table>"&&!bv?bw.childNodes:[];for(bC=bD.length-1;bC>=0;--bC){if(b.nodeName(bD[bC],"tbody")&&!bD[bC].childNodes.length){bD[bC].parentNode.removeChild(bD[bC])
}}}if(!b.support.leadingWhitespace&&ar.test(bA)){bw.insertBefore(bz.createTextNode(ar.exec(bA)[0]),bw.firstChild)}bA=bw.childNodes}}var bH;if(!b.support.appendChecked){if(bA[0]&&typeof(bH=bA.length)==="number"){for(bC=0;bC<bH;bC++){E(bA[bC])}}else{E(bA)}}if(bA.nodeType){bJ.push(bA)}else{bJ=b.merge(bJ,bA)}}if(bI){bG=function(bM){return !bM.type||bm.test(bM.type)};for(bF=0;bJ[bF];bF++){if(bB&&b.nodeName(bJ[bF],"script")&&(!bJ[bF].type||bJ[bF].type.toLowerCase()==="text/javascript")){bB.push(bJ[bF].parentNode?bJ[bF].parentNode.removeChild(bJ[bF]):bJ[bF])}else{if(bJ[bF].nodeType===1){var bK=b.grep(bJ[bF].getElementsByTagName("script"),bG);bJ.splice.apply(bJ,[bF+1,0].concat(bK))}bI.appendChild(bJ[bF])}}}return bJ},cleanData:function(bw){var bz,bx,bv=b.cache,bC=b.event.special,bB=b.support.deleteExpando;for(var bA=0,by;(by=bw[bA])!=null;bA++){if(by.nodeName&&b.noData[by.nodeName.toLowerCase()]){continue}bx=by[b.expando];if(bx){bz=bv[bx];if(bz&&bz.events){for(var bD in bz.events){if(bC[bD]){b.event.remove(by,bD)}else{b.removeEvent(by,bD,bz.handle)}}if(bz.handle){bz.handle.elem=null}}if(bB){delete by[b.expando]}else{if(by.removeAttribute){by.removeAttribute(b.expando)}}delete bv[bx]}}}});function bo(bv,bw){if(bw.src){b.ajax({url:bw.src,async:false,dataType:"script"})}else{b.globalEval((bw.text||bw.textContent||bw.innerHTML||"").replace(aN,"/*$0*/"))}if(bw.parentNode){bw.parentNode.removeChild(bw)}}var ak=/alpha\([^)]*\)/i,au=/opacity=([^)]*)/,z=/([A-Z]|^ms)/g,bc=/^-?\d+(?:px)?$/i,bn=/^-?\d/,I=/^([\-+])=([\-+.\de]+)/,a7={position:"absolute",visibility:"hidden",display:"block"},an=["Left","Right"],a1=["Top","Bottom"],Z,aI,aX;b.fn.css=function(bv,bw){if(arguments.length===2&&bw===L){return this}return b.access(this,bv,bw,true,function(by,bx,bz){return bz!==L?b.style(by,bx,bz):b.css(by,bx)})};b.extend({cssHooks:{opacity:{get:function(bx,bw){if(bw){var bv=Z(bx,"opacity","opacity");return bv===""?"1":bv}else{return bx.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(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return}var bB,bC,bz=b.camelCase(bw),bv=bx.style,bE=b.cssHooks[bz];bw=b.cssProps[bz]||bz;if(bD!==L){bC=typeof bD;if(bC==="string"&&(bB=I.exec(bD))){bD=(+(bB[1]+1)*+bB[2])+parseFloat(b.css(bx,bw));bC="number"}if(bD==null||bC==="number"&&isNaN(bD)){return}if(bC==="number"&&!b.cssNumber[bz]){bD+="px"}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD))!==L){try{bv[bw]=bD}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==L){return bB}return bv[bw]}},css:function(bz,by,bw){var bx,bv;by=b.camelCase(by);bv=b.cssHooks[by];by=b.cssProps[by]||by;if(by==="cssFloat"){by="float"}if(bv&&"get" in bv&&(bx=bv.get(bz,true,bw))!==L){return bx}else{if(Z){return Z(bz,by)}}},swap:function(by,bx,bz){var bv={};for(var bw in bx){bv[bw]=by.style[bw];by.style[bw]=bx[bw]}bz.call(by);for(bw in bx){by.style[bw]=bv[bw]}}});b.curCSS=b.css;b.each(["height","width"],function(bw,bv){b.cssHooks[bv]={get:function(bz,by,bx){var bA;if(by){if(bz.offsetWidth!==0){return p(bz,bv,bx)}else{b.swap(bz,a7,function(){bA=p(bz,bv,bx)})}return bA}},set:function(bx,by){if(bc.test(by)){by=parseFloat(by);if(by>=0){return by+"px"}}else{return by}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bw,bv){return au.test((bv&&bw.currentStyle?bw.currentStyle.filter:bw.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":bv?"1":""},set:function(bz,bA){var by=bz.style,bw=bz.currentStyle,bv=b.isNumeric(bA)?"alpha(opacity="+bA*100+")":"",bx=bw&&bw.filter||by.filter||"";by.zoom=1;if(bA>=1&&b.trim(bx.replace(ak,""))===""){by.removeAttribute("filter");if(bw&&!bw.filter){return}}by.filter=ak.test(bx)?bx.replace(ak,bv):bx+" "+bv}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bx,bw){var bv;b.swap(bx,{display:"inline-block"},function(){if(bw){bv=Z(bx,"margin-right","marginRight")}else{bv=bx.style.marginRight}});return bv}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(bz,bx){var bw,by,bv;bx=bx.replace(z,"-$1").toLowerCase();if((by=bz.ownerDocument.defaultView)&&(bv=by.getComputedStyle(bz,null))){bw=bv.getPropertyValue(bx);if(bw===""&&!b.contains(bz.ownerDocument.documentElement,bz)){bw=b.style(bz,bx)}}return bw}}if(av.documentElement.currentStyle){aX=function(bA,bx){var bB,bv,bz,bw=bA.currentStyle&&bA.currentStyle[bx],by=bA.style;if(bw===null&&by&&(bz=by[bx])){bw=bz}if(!bc.test(bw)&&bn.test(bw)){bB=by.left;bv=bA.runtimeStyle&&bA.runtimeStyle.left;if(bv){bA.runtimeStyle.left=bA.currentStyle.left}by.left=bx==="fontSize"?"1em":(bw||0);bw=by.pixelLeft+"px";by.left=bB;if(bv){bA.runtimeStyle.left=bv}}return bw===""?"auto":bw}}Z=aI||aX;function p(bz,bx,bw){var bB=bx==="width"?bz.offsetWidth:bz.offsetHeight,bA=bx==="width"?an:a1,by=0,bv=bA.length;if(bB>0){if(bw!=="border"){for(;by<bv;by++){if(!bw){bB-=parseFloat(b.css(bz,"padding"+bA[by]))||0}if(bw==="margin"){bB+=parseFloat(b.css(bz,bw+bA[by]))||0}else{bB-=parseFloat(b.css(bz,"border"+bA[by]+"Width"))||0}}}return bB+"px"}bB=Z(bz,bx,bx);if(bB<0||bB==null){bB=bz.style[bx]||0}bB=parseFloat(bB)||0;if(bw){for(;by<bv;by++){bB+=parseFloat(b.css(bz,"padding"+bA[by]))||0;if(bw!=="padding"){bB+=parseFloat(b.css(bz,"border"+bA[by]+"Width"))||0}if(bw==="margin"){bB+=parseFloat(b.css(bz,bw+bA[by]))||0}}}return bB+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bx){var bw=bx.offsetWidth,bv=bx.offsetHeight;return(bw===0&&bv===0)||(!b.support.reliableHiddenOffsets&&((bx.style&&bx.style.display)||b.css(bx,"display"))==="none")};b.expr.filters.visible=function(bv){return !b.expr.filters.hidden(bv)}}var k=/%20/g,ap=/\[\]$/,bs=/\r?\n/g,bq=/#.*$/,aD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aZ=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aM=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aQ=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a6=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(bv){return function(bz,bB){if(typeof bz!=="string"){bB=bz;bz="*"}if(b.isFunction(bB)){var by=bz.toLowerCase().split(h),bx=0,bA=by.length,bw,bC,bD;for(;bx<bA;bx++){bw=by[bx];bD=/^\+/.test(bw);if(bD){bw=bw.substr(1)||"*"}bC=bv[bw]=bv[bw]||[];bC[bD?"unshift":"push"](bB)}}}}function aW(bw,bF,bA,bE,bC,by){bC=bC||bF.dataTypes[0];by=by||{};by[bC]=true;var bB=bw[bC],bx=0,bv=bB?bB.length:0,bz=(bw===aa),bD;for(;bx<bv&&(bz||!bD);bx++){bD=bB[bx](bF,bA,bE);if(typeof bD==="string"){if(!bz||by[bD]){bD=L}else{bF.dataTypes.unshift(bD);bD=aW(bw,bF,bA,bE,bD,by)}}}if((bz||!bD)&&!by["*"]){bD=aW(bw,bF,bA,bE,"*",by)}return bD}function am(bx,by){var bw,bv,bz=b.ajaxSettings.flatOptions||{};for(bw in by){if(by[bw]!==L){(bz[bw]?bx:(bv||(bv={})))[bw]=by[bw]}}if(bv){b.extend(true,bx,bv)}}b.fn.extend({load:function(bx,bA,bB){if(typeof bx!=="string"&&A){return A.apply(this,arguments)}else{if(!this.length){return this}}var bz=bx.indexOf(" ");if(bz>=0){var bv=bx.slice(bz,bx.length);bx=bx.slice(0,bz)}var by="GET";if(bA){if(b.isFunction(bA)){bB=bA;bA=L}else{if(typeof bA==="object"){bA=b.param(bA,b.ajaxSettings.traditional);by="POST"}}}var bw=this;b.ajax({url:bx,type:by,dataType:"html",data:bA,complete:function(bD,bC,bE){bE=bD.responseText;if(bD.isResolved()){bD.done(function(bF){bE=bF});bw.html(bv?b("<div>").append(bE.replace(a6,"")).find(bv):bE)}if(bB){bw.each(bB,[bE,bC,bD])}}});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||q.test(this.nodeName)||aZ.test(this.type))
}).map(function(bv,bw){var bx=b(this).val();return bx==null?null:b.isArray(bx)?b.map(bx,function(bz,by){return{name:bw.name,value:bz.replace(bs,"\r\n")}}):{name:bw.name,value:bx.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(bv,bw){b.fn[bw]=function(bx){return this.on(bw,bx)}});b.each(["get","post"],function(bv,bw){b[bw]=function(bx,bz,bA,by){if(b.isFunction(bz)){by=by||bA;bA=bz;bz=L}return b.ajax({type:bw,url:bx,data:bz,success:bA,dataType:by})}});b.extend({getScript:function(bv,bw){return b.get(bv,L,bw,"script")},getJSON:function(bv,bw,bx){return b.get(bv,bw,bx,"json")},ajaxSetup:function(bw,bv){if(bv){am(bw,b.ajaxSettings)}else{bv=bw;bw=b.ajaxSettings}am(bw,bv);return bw},ajaxSettings:{url:aE,isLocal:aM.test(s[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","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bU,bV){if(!bA){var bT=bU.toLowerCase();bU=bO[bT]=bO[bT]||bU;bH[bU]=bV}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bU){var bT;if(bA===2){if(!by){by={};while((bT=aD.exec(bQ))){by[bT[1].toLowerCase()]=bT[2]}}bT=by[bU.toLowerCase()]}return bT===L?null:bT},overrideMimeType:function(bT){if(!bA){bD.mimeType=bT}return this},abort:function(bT){bT=bT||"abort";if(bL){bL.abort(bT)}bF(0,bT);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bU){if(bU){var bT;if(bA<2){for(bT in bU){bB[bT]=[bB[bT],bU[bT]]}}else{bT=bU[bJ.status];bJ.then(bT,bT)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(bv,bx){var bw=[],bz=function(bA,bB){bB=b.isFunction(bB)?bB():bB;bw[bw.length]=encodeURIComponent(bA)+"="+encodeURIComponent(bB)};if(bx===L){bx=b.ajaxSettings.traditional}if(b.isArray(bv)||(bv.jquery&&!b.isPlainObject(bv))){b.each(bv,function(){bz(this.name,this.value)})}else{for(var by in bv){v(by,bv[by],bx,bz)}}return bw.join("&").replace(k,"+")}});function v(bx,bz,bw,by){if(b.isArray(bz)){b.each(bz,function(bB,bA){if(bw||ap.test(bx)){by(bx,bA)}else{v(bx+"["+(typeof bA==="object"||b.isArray(bA)?bB:"")+"]",bA,bw,by)}})}else{if(!bw&&bz!=null&&typeof bz==="object"){for(var bv in bz){v(bx+"["+bv+"]",bz[bv],bw,by)}}else{by(bx,bz)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bE,bD,bA){var bw=bE.contents,bC=bE.dataTypes,bx=bE.responseFields,bz,bB,by,bv;for(bB in bx){if(bB in bA){bD[bx[bB]]=bA[bB]}}while(bC[0]==="*"){bC.shift();if(bz===L){bz=bE.mimeType||bD.getResponseHeader("content-type")}}if(bz){for(bB in bw){if(bw[bB]&&bw[bB].test(bz)){bC.unshift(bB);break}}}if(bC[0] in bA){by=bC[0]}else{for(bB in bA){if(!bC[0]||bE.converters[bB+" "+bC[0]]){by=bB;break}if(!bv){bv=bB}}by=by||bv}if(by){if(by!==bC[0]){bC.unshift(by)}return bA[by]}}function G(bI,bA){if(bI.dataFilter){bA=bI.dataFilter(bA,bI.dataType)}var bE=bI.dataTypes,bH={},bB,bF,bx=bE.length,bC,bD=bE[0],by,bz,bG,bw,bv;for(bB=1;bB<bx;bB++){if(bB===1){for(bF in bI.converters){if(typeof bF==="string"){bH[bF.toLowerCase()]=bI.converters[bF]}}}by=bD;bD=bE[bB];if(bD==="*"){bD=by}else{if(by!=="*"&&by!==bD){bz=by+" "+bD;bG=bH[bz]||bH["* "+bD];if(!bG){bv=L;for(bw in bH){bC=bw.split(" ");if(bC[0]===by||bC[0]==="*"){bv=bH[bC[1]+" "+bD];if(bv){bw=bH[bw];if(bw===true){bG=bv}else{if(bv===true){bG=bw}}break}}}}if(!(bG||bv)){b.error("No conversion from "+bz.replace(" "," to "))}if(bG!==true){bA=bG?bG(bA):bv(bw(bA))}}}}return bA}var aC=b.now(),u=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aC++)}});b.ajaxPrefilter("json jsonp",function(bE,bB,bD){var by=bE.contentType==="application/x-www-form-urlencoded"&&(typeof bE.data==="string");if(bE.dataTypes[0]==="jsonp"||bE.jsonp!==false&&(u.test(bE.url)||by&&u.test(bE.data))){var bC,bx=bE.jsonpCallback=b.isFunction(bE.jsonpCallback)?bE.jsonpCallback():bE.jsonpCallback,bA=bb[bx],bv=bE.url,bz=bE.data,bw="$1"+bx+"$2";if(bE.jsonp!==false){bv=bv.replace(u,bw);if(bE.url===bv){if(by){bz=bz.replace(u,bw)}if(bE.data===bz){bv+=(/\?/.test(bv)?"&":"?")+bE.jsonp+"="+bx}}}bE.url=bv;bE.data=bz;bb[bx]=function(bF){bC=[bF]};bD.always(function(){bb[bx]=bA;if(bC&&b.isFunction(bA)){bb[bx](bC[0])}});bE.converters["script json"]=function(){if(!bC){b.error(bx+" was not called")}return bC[0]};bE.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(bv){b.globalEval(bv);return bv}}});b.ajaxPrefilter("script",function(bv){if(bv.cache===L){bv.cache=false}if(bv.crossDomain){bv.type="GET";bv.global=false}});b.ajaxTransport("script",function(bx){if(bx.crossDomain){var bv,bw=av.head||av.getElementsByTagName("head")[0]||av.documentElement;
return{send:function(by,bz){bv=av.createElement("script");bv.async="async";if(bx.scriptCharset){bv.charset=bx.scriptCharset}bv.src=bx.url;bv.onload=bv.onreadystatechange=function(bB,bA){if(bA||!bv.readyState||/loaded|complete/.test(bv.readyState)){bv.onload=bv.onreadystatechange=null;if(bw&&bv.parentNode){bw.removeChild(bv)}bv=L;if(!bA){bz(200,"success")}}};bw.insertBefore(bv,bw.firstChild)},abort:function(){if(bv){bv.onload(0,1)}}}}});var B=bb.ActiveXObject?function(){for(var bv in N){N[bv](0,1)}}:false,y=0,N;function aL(){try{return new bb.XMLHttpRequest()}catch(bv){}}function aj(){try{return new bb.ActiveXObject("Microsoft.XMLHTTP")}catch(bv){}}b.ajaxSettings.xhr=bb.ActiveXObject?function(){return !this.isLocal&&aL()||aj()}:aL;(function(bv){b.extend(b.support,{ajax:!!bv,cors:!!bv&&("withCredentials" in bv)})})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(bv){if(!bv.crossDomain||b.support.cors){var bw;return{send:function(bC,bx){var bB=bv.xhr(),bA,bz;if(bv.username){bB.open(bv.type,bv.url,bv.async,bv.username,bv.password)}else{bB.open(bv.type,bv.url,bv.async)}if(bv.xhrFields){for(bz in bv.xhrFields){bB[bz]=bv.xhrFields[bz]}}if(bv.mimeType&&bB.overrideMimeType){bB.overrideMimeType(bv.mimeType)}if(!bv.crossDomain&&!bC["X-Requested-With"]){bC["X-Requested-With"]="XMLHttpRequest"}try{for(bz in bC){bB.setRequestHeader(bz,bC[bz])}}catch(by){}bB.send((bv.hasContent&&bv.data)||null);bw=function(bL,bF){var bG,bE,bD,bJ,bI;try{if(bw&&(bF||bB.readyState===4)){bw=L;if(bA){bB.onreadystatechange=b.noop;if(B){delete N[bA]}}if(bF){if(bB.readyState!==4){bB.abort()}}else{bG=bB.status;bD=bB.getAllResponseHeaders();bJ={};bI=bB.responseXML;if(bI&&bI.documentElement){bJ.xml=bI}bJ.text=bB.responseText;try{bE=bB.statusText}catch(bK){bE=""}if(!bG&&bv.isLocal&&!bv.crossDomain){bG=bJ.text?200:404}else{if(bG===1223){bG=204}}}}}catch(bH){if(!bF){bx(-1,bH)}}if(bJ){bx(bG,bE,bJ,bD)}};if(!bv.async||bB.readyState===4){bw()}else{bA=++y;if(B){if(!N){N={};b(bb).unload(B)}N[bA]=bw}bB.onreadystatechange=bw}},abort:function(){if(bw){bw(0,1)}}}}})}var Q={},a8,m,aB=/^(?:toggle|show|hide)$/,aT=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a3,aH=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a4;b.fn.extend({show:function(by,bB,bA){var bx,bz;if(by||by===0){return this.animate(a0("show",3),by,bB,bA)}else{for(var bw=0,bv=this.length;bw<bv;bw++){bx=this[bw];if(bx.style){bz=bx.style.display;if(!b._data(bx,"olddisplay")&&bz==="none"){bz=bx.style.display=""}if(bz===""&&b.css(bx,"display")==="none"){b._data(bx,"olddisplay",x(bx.nodeName))}}}for(bw=0;bw<bv;bw++){bx=this[bw];if(bx.style){bz=bx.style.display;if(bz===""||bz==="none"){bx.style.display=b._data(bx,"olddisplay")||""}}}return this}},hide:function(by,bB,bA){if(by||by===0){return this.animate(a0("hide",3),by,bB,bA)}else{var bx,bz,bw=0,bv=this.length;for(;bw<bv;bw++){bx=this[bw];if(bx.style){bz=b.css(bx,"display");if(bz!=="none"&&!b._data(bx,"olddisplay")){b._data(bx,"olddisplay",bz)}}}for(bw=0;bw<bv;bw++){if(this[bw].style){this[bw].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bx,bw,by){var bv=typeof bx==="boolean";if(b.isFunction(bx)&&b.isFunction(bw)){this._toggle.apply(this,arguments)}else{if(bx==null||bv){this.each(function(){var bz=bv?bx:b(this).is(":hidden");b(this)[bz?"show":"hide"]()})}else{this.animate(a0("toggle",3),bx,bw,by)}}return this},fadeTo:function(bv,by,bx,bw){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:by},bv,bx,bw)},animate:function(bA,bx,bz,by){var bv=b.speed(bx,bz,by);if(b.isEmptyObject(bA)){return this.each(bv.complete,[false])}bA=b.extend({},bA);function bw(){if(bv.queue===false){b._mark(this)}var bF=b.extend({},bv),bL=this.nodeType===1,bJ=bL&&b(this).is(":hidden"),bC,bG,bE,bK,bI,bD,bH,bM,bB;bF.animatedProperties={};for(bE in bA){bC=b.camelCase(bE);if(bE!==bC){bA[bC]=bA[bE];delete bA[bE]}bG=bA[bC];if(b.isArray(bG)){bF.animatedProperties[bC]=bG[1];bG=bA[bC]=bG[0]}else{bF.animatedProperties[bC]=bF.specialEasing&&bF.specialEasing[bC]||bF.easing||"swing"}if(bG==="hide"&&bJ||bG==="show"&&!bJ){return bF.complete.call(this)}if(bL&&(bC==="height"||bC==="width")){bF.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||x(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.zoom=1}}}}if(bF.overflow!=null){this.style.overflow="hidden"}for(bE in bA){bK=new b.fx(this,bF,bE);bG=bA[bE];if(aB.test(bG)){bB=b._data(this,"toggle"+bE)||(bG==="toggle"?bJ?"show":"hide":0);if(bB){b._data(this,"toggle"+bE,bB==="show"?"hide":"show");bK[bB]()}else{bK[bG]()}}else{bI=aT.exec(bG);bD=bK.cur();if(bI){bH=parseFloat(bI[2]);bM=bI[3]||(b.cssNumber[bE]?"":"px");if(bM!=="px"){b.style(this,bE,(bH||1)+bM);bD=((bH||1)/bK.cur())*bD;b.style(this,bE,bD+bM)}if(bI[1]){bH=((bI[1]==="-="?-1:1)*bH)+bD}bK.custom(bD,bH,bM)}else{bK.custom(bD,bG,"")}}}return true}return bv.queue===false?this.each(bw):this.queue(bv.queue,bw)},stop:function(bx,bw,bv){if(typeof bx!=="string"){bv=bw;bw=bx;bx=L}if(bw&&bx!==false){this.queue(bx||"fx",[])}return this.each(function(){var by,bz=false,bB=b.timers,bA=b._data(this);if(!bv){b._unmark(true,this)}function bC(bF,bG,bE){var bD=bG[bE];b.removeData(bF,bE,true);bD.stop(bv)}if(bx==null){for(by in bA){if(bA[by]&&bA[by].stop&&by.indexOf(".run")===by.length-4){bC(this,bA,by)}}}else{if(bA[by=bx+".run"]&&bA[by].stop){bC(this,bA,by)}}for(by=bB.length;by--;){if(bB[by].elem===this&&(bx==null||bB[by].queue===bx)){if(bv){bB[by](true)}else{bB[by].saveState()}bz=true;bB.splice(by,1)}}if(!(bv&&bz)){b.dequeue(this,bx)}})}});function bh(){setTimeout(at,0);return(a4=b.now())}function at(){a4=L}function a0(bw,bv){var bx={};b.each(aH.concat.apply([],aH.slice(0,bv)),function(){bx[this]=bw});return bx}b.each({slideDown:a0("show",1),slideUp:a0("hide",1),slideToggle:a0("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(bv,bw){b.fn[bv]=function(bx,bz,by){return this.animate(bw,bx,bz,by)}});b.extend({speed:function(bx,by,bw){var bv=bx&&typeof bx==="object"?b.extend({},bx):{complete:bw||!bw&&by||b.isFunction(bx)&&bx,duration:bx,easing:bw&&by||by&&!b.isFunction(by)&&by};bv.duration=b.fx.off?0:typeof bv.duration==="number"?bv.duration:bv.duration in b.fx.speeds?b.fx.speeds[bv.duration]:b.fx.speeds._default;if(bv.queue==null||bv.queue===true){bv.queue="fx"}bv.old=bv.complete;bv.complete=function(bz){if(b.isFunction(bv.old)){bv.old.call(this)}if(bv.queue){b.dequeue(this,bv.queue)}else{if(bz!==false){b._unmark(this)}}};return bv},easing:{linear:function(bx,by,bv,bw){return bv+bw*bx},swing:function(bx,by,bv,bw){return((-Math.cos(bx*Math.PI)/2)+0.5)*bw+bv}},timers:[],fx:function(bw,bv,bx){this.options=bv;this.elem=bw;this.prop=bx;bv.orig=bv.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 bv,bw=b.css(this.elem,this.prop);return isNaN(bv=parseFloat(bw))?!bw||bw==="auto"?0:bw:bv},custom:function(bA,bz,by){var bv=this,bx=b.fx;this.startTime=a4||bh();this.end=bz;this.now=this.start=bA;this.pos=this.state=0;this.unit=by||this.unit||(b.cssNumber[this.prop]?"":"px");function bw(bB){return bv.step(bB)}bw.queue=this.options.queue;bw.elem=this.elem;bw.saveState=function(){if(bv.options.hide&&b._data(bv.elem,"fxshow"+bv.prop)===L){b._data(bv.elem,"fxshow"+bv.prop,bv.start)}};if(bw()&&b.timers.push(bw)&&!a3){a3=setInterval(bx.tick,bx.interval)}},show:function(){var bv=b._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=bv||b.style(this.elem,this.prop);this.options.show=true;if(bv!==L){this.custom(this.cur(),bv)}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(bz){var bB,bC,bw,by=a4||bh(),bv=true,bA=this.elem,bx=this.options;if(bz||by>=bx.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bx.animatedProperties[this.prop]=true;for(bB in bx.animatedProperties){if(bx.animatedProperties[bB]!==true){bv=false}}if(bv){if(bx.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bD,bE){bA.style["overflow"+bE]=bx.overflow[bD]})}if(bx.hide){b(bA).hide()}if(bx.hide||bx.show){for(bB in bx.animatedProperties){b.style(bA,bB,bx.orig[bB]);b.removeData(bA,"fxshow"+bB,true);b.removeData(bA,"toggle"+bB,true)}}bw=bx.complete;if(bw){bx.complete=false;bw.call(bA)}}return false}else{if(bx.duration==Infinity){this.now=by}else{bC=by-this.startTime;this.state=bC/bx.duration;this.pos=b.easing[bx.animatedProperties[this.prop]](this.state,bC,0,1,bx.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bx,bw=b.timers,bv=0;for(;bv<bw.length;bv++){bx=bw[bv];if(!bx()&&bw[bv]===bx){bw.splice(bv--,1)}}if(!bw.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a3);a3=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(bv){b.style(bv.elem,"opacity",bv.now)},_default:function(bv){if(bv.elem.style&&bv.elem.style[bv.prop]!=null){bv.elem.style[bv.prop]=bv.now+bv.unit}else{bv.elem[bv.prop]=bv.now}}}});b.each(["width","height"],function(bv,bw){b.fx.step[bw]=function(bx){b.style(bx.elem,bw,Math.max(0,bx.now)+bx.unit)}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(bv){return b.grep(b.timers,function(bw){return bv===bw.elem}).length}}function x(by){if(!Q[by]){var bv=av.body,bw=b("<"+by+">").appendTo(bv),bx=bw.css("display");bw.remove();if(bx==="none"||bx===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}bv.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");m.close()}bw=m.createElement(by);m.body.appendChild(bw);bx=b.css(bw,"display");bv.removeChild(a8)}Q[by]=bx}return Q[by]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(bJ){b.offset.setOffset(this,bI,bJ)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bG){var bA=this[0];if(bG){return this.each(function(bH){b.offset.setOffset(this,bG,bH)})}if(!bA||!bA.ownerDocument){return null}if(bA===bA.ownerDocument.body){return b.offset.bodyOffset(bA)}var bD,bx=bA.offsetParent,bw=bA,bF=bA.ownerDocument,by=bF.documentElement,bB=bF.body,bC=bF.defaultView,bv=bC?bC.getComputedStyle(bA,null):bA.currentStyle,bE=bA.offsetTop,bz=bA.offsetLeft;while((bA=bA.parentNode)&&bA!==bB&&bA!==by){if(b.support.fixedPosition&&bv.position==="fixed"){break}bD=bC?bC.getComputedStyle(bA,null):bA.currentStyle;bE-=bA.scrollTop;bz-=bA.scrollLeft;if(bA===bx){bE+=bA.offsetTop;bz+=bA.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bA.nodeName))){bE+=parseFloat(bD.borderTopWidth)||0;bz+=parseFloat(bD.borderLeftWidth)||0}bw=bx;bx=bA.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bD.overflow!=="visible"){bE+=parseFloat(bD.borderTopWidth)||0;bz+=parseFloat(bD.borderLeftWidth)||0}bv=bD}if(bv.position==="relative"||bv.position==="static"){bE+=bB.offsetTop;bz+=bB.offsetLeft}if(b.support.fixedPosition&&bv.position==="fixed"){bE+=Math.max(by.scrollTop,bB.scrollTop);bz+=Math.max(by.scrollLeft,bB.scrollLeft)}return{top:bE,left:bz}}}b.offset={bodyOffset:function(bv){var bx=bv.offsetTop,bw=bv.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bx+=parseFloat(b.css(bv,"marginTop"))||0;bw+=parseFloat(b.css(bv,"marginLeft"))||0}return{top:bx,left:bw}},setOffset:function(by,bH,bB){var bC=b.css(by,"position");if(bC==="static"){by.style.position="relative"}var bA=b(by),bw=bA.offset(),bv=b.css(by,"top"),bF=b.css(by,"left"),bG=(bC==="absolute"||bC==="fixed")&&b.inArray("auto",[bv,bF])>-1,bE={},bD={},bx,bz;if(bG){bD=bA.position();bx=bD.top;bz=bD.left}else{bx=parseFloat(bv)||0;bz=parseFloat(bF)||0}if(b.isFunction(bH)){bH=bH.call(by,bB,bw)}if(bH.top!=null){bE.top=(bH.top-bw.top)+bx}if(bH.left!=null){bE.left=(bH.left-bw.left)+bz}if("using" in bH){bH.using.call(by,bE)}else{bA.css(bE)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bx=this[0],bw=this.offsetParent(),by=this.offset(),bv=ad.test(bw[0].nodeName)?{top:0,left:0}:bw.offset();by.top-=parseFloat(b.css(bx,"marginTop"))||0;by.left-=parseFloat(b.css(bx,"marginLeft"))||0;bv.top+=parseFloat(b.css(bw[0],"borderTopWidth"))||0;bv.left+=parseFloat(b.css(bw[0],"borderLeftWidth"))||0;return{top:by.top-bv.top,left:by.left-bv.left}},offsetParent:function(){return this.map(function(){var bv=this.offsetParent||av.body;while(bv&&(!ad.test(bv.nodeName)&&b.css(bv,"position")==="static")){bv=bv.offsetParent}return bv})}});b.each(["Left","Top"],function(bw,bv){var bx="scroll"+bv;b.fn[bx]=function(bA){var by,bz;if(bA===L){by=this[0];if(!by){return null}bz=aK(by);return bz?("pageXOffset" in bz)?bz[bw?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bz.document.documentElement[bx]||bz.document.body[bx]:by[bx]}return this.each(function(){bz=aK(this);if(bz){bz.scrollTo(!bw?bA:b(bz).scrollLeft(),bw?bA:b(bz).scrollTop())}else{this[bx]=bA}})}});function aK(bv){return b.isWindow(bv)?bv:bv.nodeType===9?bv.defaultView||bv.parentWindow:false}b.each(["Height","Width"],function(bw,bv){var bx=bv.toLowerCase();b.fn["inner"+bv]=function(){var by=this[0];return by?by.style?parseFloat(b.css(by,bx,"padding")):this[bx]():null};b.fn["outer"+bv]=function(bz){var by=this[0];return by?by.style?parseFloat(b.css(by,bx,bz?"margin":"border")):this[bx]():null};b.fn[bx]=function(bA){var bB=this[0];if(!bB){return bA==null?null:this}if(b.isFunction(bA)){return this.each(function(bF){var bE=b(this);bE[bx](bA.call(this,bF,bE[bx]()))})}if(b.isWindow(bB)){var bC=bB.document.documentElement["client"+bv],by=bB.document.body;return bB.document.compatMode==="CSS1Compat"&&bC||by&&by["client"+bv]||bC}else{if(bB.nodeType===9){return Math.max(bB.documentElement["client"+bv],bB.body["scroll"+bv],bB.documentElement["scroll"+bv],bB.body["offset"+bv],bB.documentElement["offset"+bv])}else{if(bA===L){var bD=b.css(bB,bx),bz=parseFloat(bD);return b.isNumeric(bz)?bz:bD}else{return this.css(bx,typeof bA==="string"?bA:bA+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);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)}}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)}window.onload=function(){var a=document.getElementById("idLogo");if(ie6){document.body.style.background="url("+jpgBgImgPath+") repeat-x top left";a.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+logoImgPath+'", sizingMethod=image)'}else{document.body.style.background="url("+pngBgImgPath+") repeat-x top left";a.style.background='url("'+logoImgPath+'") no-repeat'}a.onclick=function(){window.location=homePath};layout()};var onresizeTimer;window.onresize=function(){clearTimeout(onresizeTimer);onresizeTimer=setTimeout("layout()",250)};function layout(){var g=0;var i=_dm();var a=document.getElementById("idPageBody");var d=document.getElementById("idCompanyBanner");g=d.offsetHeight;var c=i.w;var f=i.h-g;a.style.pixelWidth=c;a.style.pixelHeight=f;var b=document.getElementById("idCompanyBannerDiv");if(c<1000){b.style.pixelWidth=c-20}else{b.style.pixelWidth=980}};
