var GIGO={};
/*
 * Copyright 2010 Jason Fesler.  All rights reserved.
 * Author: Jason Fesler <jfesler@gigo.com>
 * Code deployed at:  http:/test-ipv6.com
 * Source: http://code.google.com/p/falling-sky/
 * 
 * The following were also used:
 * 
 * http://geekswithblogs.net/svanvliet/archive/2006/03/23/simple-javascript-object-dump-function.aspx - Scott Van Vliet
 * http://jquery.com/ - John Resig
 * http://sizzlejs.com/ - The Dojo Foundation
 * http://code.google.com/p/jquery-jsonp/ - Julian Aubourg
 * http://t.wits.sg (progress bar) - Gary Teo
 * http://mootools.net -  The MooTools production team
 * 
 * Full credit is in the source, see
 * http://code.google.com/p/falling-sky/source/browse/trunk/source/js/ext/NOTICE?r=HEAD
 *
 * Most of what you see below will be heavily compressed, including obfuscation
 * to reduce the served content size.  Use the source tree instead to browse
 * the source.
 * 
 * Alternately, view http://beta.test-ipv6.com/index.js,
 * and scroll down.
 */
/*
 * jQuery JavaScript Library v1.5
 * 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 Jan 31 08:31:29 2011 -0500
 */
(function(aS,H){var ah=aS.document;var a=(function(){var bi=function(bD,bE){return new bi.fn.init(bD,bE,bg)},by=aS.jQuery,bk=aS.$,bg,bC=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,bq=/\S/,bm=/^\s+/,bh=/\s+$/,bl=/\d/,be=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,br=/^[\],:{}\s]*$/,bA=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bt=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bn=/(?:^|:|,)(?:\s*\[)+/g,bc=/(webkit)[ \/]([\w.]+)/,bv=/(opera)(?:.*version)?[ \/]([\w.]+)/,bu=/(msie) ([\w.]+)/,bw=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=navigator.userAgent,bz,bx=false,bf,a7="then done fail isResolved isRejected promise".split(" "),a8,bp=Object.prototype.toString,bj=Object.prototype.hasOwnProperty,bd=Array.prototype.push,bo=Array.prototype.slice,bs=String.prototype.trim,a9=Array.prototype.indexOf,bb={};bi.fn=bi.prototype={constructor:bi,init:function(bD,bH,bG){var bF,bI,bE,bJ;if(!bD){return this}if(bD.nodeType){this.context=this[0]=bD;this.length=1;return this}if(bD==="body"&&!bH&&ah.body){this.context=ah;this[0]=ah.body;this.selector="body";this.length=1;return this}if(typeof bD==="string"){bF=bC.exec(bD);if(bF&&(bF[1]||!bH)){if(bF[1]){bH=bH instanceof bi?bH[0]:bH;bJ=(bH?bH.ownerDocument||bH:ah);bE=be.exec(bD);if(bE){if(bi.isPlainObject(bH)){bD=[ah.createElement(bE[1])];bi.fn.attr.call(bD,bH,true)}else{bD=[bJ.createElement(bE[1])]}}else{bE=bi.buildFragment([bF[1]],[bJ]);bD=(bE.cacheable?bi.clone(bE.fragment):bE.fragment).childNodes}return bi.merge(this,bD)}else{bI=ah.getElementById(bF[2]);if(bI&&bI.parentNode){if(bI.id!==bF[2]){return bG.find(bD)}this.length=1;this[0]=bI}this.context=ah;this.selector=bD;return this}}else{if(!bH||bH.jquery){return(bH||bG).find(bD)}else{return this.constructor(bH).find(bD)}}}else{if(bi.isFunction(bD)){return bG.ready(bD)}}if(bD.selector!==H){this.selector=bD.selector;this.context=bD.context}return bi.makeArray(bD,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toArray:function(){return bo.call(this,0)},get:function(bD){return bD==null?this.toArray():(bD<0?this[this.length+bD]:this[bD])},pushStack:function(bE,bG,bD){var bF=this.constructor();if(bi.isArray(bE)){bd.apply(bF,bE)}else{bi.merge(bF,bE)}bF.prevObject=this;bF.context=this.context;if(bG==="find"){bF.selector=this.selector+(this.selector?" ":"")+bD}else{if(bG){bF.selector=this.selector+"."+bG+"("+bD+")"}}return bF},each:function(bE,bD){return bi.each(this,bE,bD)},ready:function(bD){bi.bindReady();bf.done(bD);return this},eq:function(bD){return bD===-1?this.slice(bD):this.slice(bD,+bD+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bo.apply(this,arguments),"slice",bo.call(arguments).join(","))},map:function(bD){return this.pushStack(bi.map(this,function(bF,bE){return bD.call(bF,bE,bF)}))},end:function(){return this.prevObject||this.constructor(null)},push:bd,sort:[].sort,splice:[].splice};bi.fn.init.prototype=bi.fn;bi.extend=bi.fn.extend=function(){var bM,bF,bD,bE,bJ,bK,bI=arguments[0]||{},bH=1,bG=arguments.length,bL=false;if(typeof bI==="boolean"){bL=bI;bI=arguments[1]||{};bH=2}if(typeof bI!=="object"&&!bi.isFunction(bI)){bI={}}if(bG===bH){bI=this;--bH}for(;bH<bG;bH++){if((bM=arguments[bH])!=null){for(bF in bM){bD=bI[bF];bE=bM[bF];if(bI===bE){continue}if(bL&&bE&&(bi.isPlainObject(bE)||(bJ=bi.isArray(bE)))){if(bJ){bJ=false;bK=bD&&bi.isArray(bD)?bD:[]}else{bK=bD&&bi.isPlainObject(bD)?bD:{}}bI[bF]=bi.extend(bL,bK,bE)}else{if(bE!==H){bI[bF]=bE}}}}}return bI};bi.extend({noConflict:function(bD){aS.$=bk;if(bD){aS.jQuery=by}return bi},isReady:false,readyWait:1,ready:function(bD){if(bD===true){bi.readyWait--}if(!bi.readyWait||(bD!==true&&!bi.isReady)){if(!ah.body){return setTimeout(bi.ready,1)}bi.isReady=true;if(bD!==true&&--bi.readyWait>0){return}bf.resolveWith(ah,[bi]);if(bi.fn.trigger){bi(ah).trigger("ready").unbind("ready")}}},bindReady:function(){if(bx){return}bx=true;if(ah.readyState==="complete"){return setTimeout(bi.ready,1)}if(ah.addEventListener){ah.addEventListener("DOMContentLoaded",a8,false);aS.addEventListener("load",bi.ready,false)}else{if(ah.attachEvent){ah.attachEvent("onreadystatechange",a8);aS.attachEvent("onload",bi.ready);var bD=false;try{bD=aS.frameElement==null}catch(bE){}if(ah.documentElement.doScroll&&bD){ba()}}}},isFunction:function(bD){return bi.type(bD)==="function"},isArray:Array.isArray||function(bD){return bi.type(bD)==="array"},isWindow:function(bD){return bD&&typeof bD==="object"&&"setInterval" in bD},isNaN:function(bD){return bD==null||!bl.test(bD)||isNaN(bD)},type:function(bD){return bD==null?String(bD):bb[bp.call(bD)]||"object"},isPlainObject:function(bE){if(!bE||bi.type(bE)!=="object"||bE.nodeType||bi.isWindow(bE)){return false}if(bE.constructor&&!bj.call(bE,"constructor")&&!bj.call(bE.constructor.prototype,"isPrototypeOf")){return false}var bD;for(bD in bE){}return bD===H||bj.call(bE,bD)},isEmptyObject:function(bE){for(var bD in bE){return false}return true},error:function(bD){throw bD},parseJSON:function(bD){if(typeof bD!=="string"||!bD){return null}bD=bi.trim(bD);if(br.test(bD.replace(bA,"@").replace(bt,"]").replace(bn,""))){return aS.JSON&&aS.JSON.parse?aS.JSON.parse(bD):(new Function("return "+bD))()}else{bi.error("Invalid JSON: "+bD)}},parseXML:function(bF,bD,bE){if(aS.DOMParser){bE=new DOMParser();bD=bE.parseFromString(bF,"text/xml")}else{bD=new ActiveXObject("Microsoft.XMLDOM");bD.async="false";bD.loadXML(bF)}bE=bD.documentElement;if(!bE||!bE.nodeName||bE.nodeName==="parsererror"){bi.error("Invalid XML: "+bF)}return bD},noop:function(){},globalEval:function(bF){if(bF&&bq.test(bF)){var bE=ah.getElementsByTagName("head")[0]||ah.documentElement,bD=ah.createElement("script");bD.type="text/javascript";if(bi.support.scriptEval()){bD.appendChild(ah.createTextNode(bF))}else{bD.text=bF}bE.insertBefore(bD,bE.firstChild);bE.removeChild(bD)}},nodeName:function(bE,bD){return bE.nodeName&&bE.nodeName.toUpperCase()===bD.toUpperCase()},each:function(bG,bK,bF){var bE,bH=0,bI=bG.length,bD=bI===H||bi.isFunction(bG);if(bF){if(bD){for(bE in bG){if(bK.apply(bG[bE],bF)===false){break}}}else{for(;bH<bI;){if(bK.apply(bG[bH++],bF)===false){break}}}}else{if(bD){for(bE in bG){if(bK.call(bG[bE],bE,bG[bE])===false){break}}}else{for(var bJ=bG[0];bH<bI&&bK.call(bJ,bH,bJ)!==false;bJ=bG[++bH]){}}}return bG},trim:bs?function(bD){return bD==null?"":bs.call(bD)}:function(bD){return bD==null?"":bD.toString().replace(bm,"").replace(bh,"")},makeArray:function(bG,bE){var bD=bE||[];if(bG!=null){var bF=bi.type(bG);if(bG.length==null||bF==="string"||bF==="function"||bF==="regexp"||bi.isWindow(bG)){bd.call(bD,bG)}else{bi.merge(bD,bG)}}return bD},inArray:function(bF,bG){if(bG.indexOf){return bG.indexOf(bF)}for(var bD=0,bE=bG.length;bD<bE;bD++){if(bG[bD]===bF){return bD}}return -1},merge:function(bH,bF){var bG=bH.length,bE=0;if(typeof bF.length==="number"){for(var bD=bF.length;bE<bD;bE++){bH[bG++]=bF[bE]}}else{while(bF[bE]!==H){bH[bG++]=bF[bE++]}}bH.length=bG;return bH},grep:function(bE,bJ,bD){var bF=[],bI;bD=!!bD;for(var bG=0,bH=bE.length;bG<bH;bG++){bI=!!bJ(bE[bG],bG);if(bD!==bI){bF.push(bE[bG])}}return bF},map:function(bE,bJ,bD){var bF=[],bI;for(var bG=0,bH=bE.length;bG<bH;bG++){bI=bJ(bE[bG],bG,bD);if(bI!=null){bF[bF.length]=bI}}return bF.concat.apply([],bF)},guid:1,proxy:function(bF,bE,bD){if(arguments.length===2){if(typeof bE==="string"){bD=bF;bF=bD[bE];bE=H}else{if(bE&&!bi.isFunction(bE)){bD=bE;bE=H}}}if(!bE&&bF){bE=function(){return bF.apply(bD||this,arguments)}}if(bF){bE.guid=bF.guid=bF.guid||bE.guid||bi.guid++}return bE},access:function(bD,bL,bJ,bF,bI,bK){var bE=bD.length;if(typeof bL==="object"){for(var bG in bL){bi.access(bD,bG,bL[bG],bF,bI,bJ)}return bD}if(bJ!==H){bF=!bK&&bF&&bi.isFunction(bJ);for(var bH=0;bH<bE;bH++){bI(bD[bH],bL,bF?bJ.call(bD[bH],bH,bI(bD[bH],bL)):bJ,bK)}return bD}return bE?bI(bD[0],bL):H},now:function(){return(new Date()).getTime()},_Deferred:function(){var bG=[],bH,bE,bF,bD={done:function(){if(!bF){var bJ=arguments,bK,bN,bM,bL,bI;if(bH){bI=bH;bH=0}for(bK=0,bN=bJ.length;bK<bN;bK++){bM=bJ[bK];bL=bi.type(bM);if(bL==="array"){bD.done.apply(bD,bM)}else{if(bL==="function"){bG.push(bM)}}}if(bI){bD.resolveWith(bI[0],bI[1])}}return this},resolveWith:function(bJ,bI){if(!bF&&!bH&&!bE){bE=1;try{while(bG[0]){bG.shift().apply(bJ,bI)}}finally{bH=[bJ,bI];bE=0}}return this},resolve:function(){bD.resolveWith(bi.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return !!(bE||bH)},cancel:function(){bF=1;bG=[];return this}};return bD},Deferred:function(bE){var bD=bi._Deferred(),bG=bi._Deferred(),bF;bi.extend(bD,{then:function(bI,bH){bD.done(bI).fail(bH);return this},fail:bG.done,rejectWith:bG.resolveWith,reject:bG.resolve,isRejected:bG.isResolved,promise:function(bI,bH){if(bI==null){if(bF){return bF}bF=bI={}}bH=a7.length;while(bH--){bI[a7[bH]]=bD[a7[bH]]}return bI}});bD.then(bG.cancel,bD.cancel);delete bD.cancel;if(bE){bE.call(bD,bD)}return bD},when:function(bG){var bF=arguments,bH=bF.length,bE=bH<=1&&bG&&bi.isFunction(bG.promise)?bG:bi.Deferred(),bI=bE.promise(),bD;if(bH>1){bD=new Array(bH);bi.each(bF,function(bJ,bK){bi.when(bK).then(function(bL){bD[bJ]=arguments.length>1?bo.call(arguments,0):bL;if(!--bH){bE.resolveWith(bI,bD)}},bE.reject)})}else{if(bE!==bG){bE.resolve(bG)}}return bI},uaMatch:function(bE){bE=bE.toLowerCase();var bD=bc.exec(bE)||bv.exec(bE)||bu.exec(bE)||bE.indexOf("compatible")<0&&bw.exec(bE)||[];return{browser:bD[1]||"",version:bD[2]||"0"}},sub:function(){function bE(bG,bH){return new bE.fn.init(bG,bH)}bi.extend(true,bE,this);bE.superclass=this;bE.fn=bE.prototype=this();bE.fn.constructor=bE;bE.subclass=this.subclass;bE.fn.init=function bF(bG,bH){if(bH&&bH instanceof bi&&!(bH instanceof bE)){bH=bE(bH)}return bi.fn.init.call(this,bG,bH,bD)};bE.fn.init.prototype=bE.fn;var bD=bE(ah);return bE},browser:{}});bf=bi._Deferred();bi.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bE,bD){bb["[object "+bD+"]"]=bD.toLowerCase()});bz=bi.uaMatch(bB);if(bz.browser){bi.browser[bz.browser]=true;bi.browser.version=bz.version}if(bi.browser.webkit){bi.browser.safari=true}if(a9){bi.inArray=function(bD,bE){return a9.call(bE,bD)}}if(bq.test("\xA0")){bm=/^[\s\xA0]+/;bh=/[\s\xA0]+$/}bg=bi(ah);if(ah.addEventListener){a8=function(){ah.removeEventListener("DOMContentLoaded",a8,false);bi.ready()}}else{if(ah.attachEvent){a8=function(){if(ah.readyState==="complete"){ah.detachEvent("onreadystatechange",a8);bi.ready()}}}}function ba(){if(bi.isReady){return}try{ah.documentElement.doScroll("left")}catch(bD){setTimeout(ba,1);return}bi.ready()}return(aS.jQuery=aS.$=bi)})();(function(){a.support={};var a7=ah.createElement("div");a7.style.display="none";a7.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var be=a7.getElementsByTagName("*"),bc=a7.getElementsByTagName("a")[0],bd=ah.createElement("select"),a8=bd.appendChild(ah.createElement("option"));if(!be||!be.length||!bc){return}a.support={leadingWhitespace:a7.firstChild.nodeType===3,tbody:!a7.getElementsByTagName("tbody").length,htmlSerialize:!!a7.getElementsByTagName("link").length,style:/red/.test(bc.getAttribute("style")),hrefNormalized:bc.getAttribute("href")==="/a",opacity:/^0.55$/.test(bc.style.opacity),cssFloat:!!bc.style.cssFloat,checkOn:a7.getElementsByTagName("input")[0].value==="on",optSelected:a8.selected,deleteExpando:true,optDisabled:false,checkClone:false,_scriptEval:null,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};bd.disabled=true;a.support.optDisabled=!a8.disabled;a.support.scriptEval=function(){if(a.support._scriptEval===null){var bg=ah.documentElement,bh=ah.createElement("script"),bj="script"+a.now();bh.type="text/javascript";try{bh.appendChild(ah.createTextNode("window."+bj+"=1;"))}catch(bi){}bg.insertBefore(bh,bg.firstChild);if(aS[bj]){a.support._scriptEval=true;delete aS[bj]}else{a.support._scriptEval=false}bg.removeChild(bh);bg=bh=bj=null}return a.support._scriptEval};try{delete a7.test}catch(a9){a.support.deleteExpando=false}if(!a7.addEventListener&&a7.attachEvent&&a7.fireEvent){a7.attachEvent("onclick",function bf(){a.support.noCloneEvent=false;a7.detachEvent("onclick",bf)});a7.cloneNode(true).fireEvent("onclick")}a7=ah.createElement("div");a7.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var ba=ah.createDocumentFragment();ba.appendChild(a7.firstChild);a.support.checkClone=ba.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var bi=ah.createElement("div"),bg=ah.getElementsByTagName("body")[0];if(!bg){return}bi.style.width=bi.style.paddingLeft="1px";bg.appendChild(bi);a.boxModel=a.support.boxModel=bi.offsetWidth===2;if("zoom" in bi.style){bi.style.display="inline";bi.style.zoom=1;a.support.inlineBlockNeedsLayout=bi.offsetWidth===2;bi.style.display="";bi.innerHTML="<div style='width:4px;'></div>";a.support.shrinkWrapBlocks=bi.offsetWidth!==2}bi.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var bh=bi.getElementsByTagName("td");a.support.reliableHiddenOffsets=bh[0].offsetHeight===0;bh[0].style.display="";bh[1].style.display="none";a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&bh[0].offsetHeight===0;bi.innerHTML="";bg.removeChild(bi).style.display="none";bi=bh=null});var bb=function(bg){var bi=ah.createElement("div");bg="on"+bg;if(!bi.attachEvent){return true}var bh=(bg in bi);if(!bh){bi.setAttribute(bg,"return;");bh=typeof bi[bg]==="function"}bi=null;return bh};a.support.submitBubbles=bb("submit");a.support.changeBubbles=bb("change");a7=be=bc=null})();var aw=/^(?:\{.*\}|\[.*\])$/;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a7){a7=a7.nodeType?a.cache[a7[a.expando]]:a7[a.expando];return !!a7&&!a.isEmptyObject(a7)},data:function(ba,a8,bc,bb){if(!a.acceptData(ba)){return}var bf=a.expando,be=typeof a8==="string",bd,bg=ba.nodeType,a7=bg?a.cache:ba,a9=bg?ba[a.expando]:ba[a.expando]&&a.expando;if((!a9||(bb&&a9&&!a7[a9][bf]))&&be&&bc===H){return}if(!a9){if(bg){ba[a.expando]=a9=++a.uuid}else{a9=a.expando}}if(!a7[a9]){a7[a9]={}}if(typeof a8==="object"){if(bb){a7[a9][bf]=a.extend(a7[a9][bf],a8)}else{a7[a9]=a.extend(a7[a9],a8)}}bd=a7[a9];if(bb){if(!bd[bf]){bd[bf]={}}bd=bd[bf]}if(bc!==H){bd[a8]=bc}if(a8==="events"&&!bd[a8]){return bd[bf]&&bd[bf].events}return be?bd[a8]:bd},removeData:function(bb,a9,bc){if(!a.acceptData(bb)){return}var be=a.expando,bf=bb.nodeType,a8=bf?a.cache:bb,ba=bf?bb[a.expando]:a.expando;if(!a8[ba]){return}if(a9){var bd=bc?a8[ba][be]:a8[ba];if(bd){delete bd[a9];if(!a.isEmptyObject(bd)){return}}}if(bc){delete a8[ba][be];if(!a.isEmptyObject(a8[ba])){return}}var a7=a8[ba][be];if(a.support.deleteExpando||a8!=aS){delete a8[ba]}else{a8[ba]=null}if(a7){a8[ba]={};a8[ba][be]=a7}else{if(bf){if(a.support.deleteExpando){delete bb[a.expando]}else{if(bb.removeAttribute){bb.removeAttribute(a.expando)}else{bb[a.expando]=null}}}}},_data:function(a8,a7,a9){return a.data(a8,a7,a9,true)},acceptData:function(a8){if(a8.nodeName){var a7=a.noData[a8.nodeName.toLowerCase()];if(a7){return !(a7===true||a8.getAttribute("classid")!==a7)}}return true}});a.fn.extend({data:function(bb,bd){var bc=null;if(typeof bb==="undefined"){if(this.length){bc=a.data(this[0]);if(this[0].nodeType===1){var a7=this[0].attributes,a9;for(var ba=0,a8=a7.length;ba<a8;ba++){a9=a7[ba].name;if(a9.indexOf("data-")===0){a9=a9.substr(5);aN(this[0],a9,bc[a9])}}}}return bc}else{if(typeof bb==="object"){return this.each(function(){a.data(this,bb)})}}var be=bb.split(".");be[1]=be[1]?"."+be[1]:"";if(bd===H){bc=this.triggerHandler("getData"+be[1]+"!",[be[0]]);if(bc===H&&this.length){bc=a.data(this[0],bb);bc=aN(this[0],bb,bc)}return bc===H&&be[1]?this.data(be[0]):bc}else{return this.each(function(){var bg=a(this),bf=[be[0],bd];bg.triggerHandler("setData"+be[1]+"!",bf);a.data(this,bb,bd);bg.triggerHandler("changeData"+be[1]+"!",bf)})}},removeData:function(a7){return this.each(function(){a.removeData(this,a7)})}});function aN(a8,a7,a9){if(a9===H&&a8.nodeType===1){a9=a8.getAttribute("data-"+a7);if(typeof a9==="string"){try{a9=a9==="true"?true:a9==="false"?false:a9==="null"?null:!a.isNaN(a9)?parseFloat(a9):aw.test(a9)?a.parseJSON(a9):a9}catch(ba){}a.data(a8,a7,a9)}else{a9=H}}return a9}a.extend({queue:function(a8,a7,ba){if(!a8){return}a7=(a7||"fx")+"queue";var a9=a._data(a8,a7);if(!ba){return a9||[]}if(!a9||a.isArray(ba)){a9=a._data(a8,a7,a.makeArray(ba))}else{a9.push(ba)}return a9},dequeue:function(ba,a9){a9=a9||"fx";var a7=a.queue(ba,a9),a8=a7.shift();if(a8==="inprogress"){a8=a7.shift()}if(a8){if(a9==="fx"){a7.unshift("inprogress")}a8.call(ba,function(){a.dequeue(ba,a9)})}if(!a7.length){a.removeData(ba,a9+"queue",true)}}});a.fn.extend({queue:function(a7,a8){if(typeof a7!=="string"){a8=a7;a7="fx"}if(a8===H){return a.queue(this[0],a7)}return this.each(function(ba){var a9=a.queue(this,a7,a8);if(a7==="fx"&&a9[0]!=="inprogress"){a.dequeue(this,a7)}})},dequeue:function(a7){return this.each(function(){a.dequeue(this,a7)})},delay:function(a8,a7){a8=a.fx?a.fx.speeds[a8]||a8:a8;a7=a7||"fx";return this.queue(a7,function(){var a9=this;setTimeout(function(){a.dequeue(a9,a7)},a8)})},clearQueue:function(a7){return this.queue(a7||"fx",[])}});var au=/[\n\t\r]/g,aW=/\s+/,ay=/\r/g,aV=/^(?:href|src|style)$/,f=/^(?:button|input)$/i,C=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,O=/^(?:radio|checkbox)$/i;a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};a.fn.extend({attr:function(a7,a8){return a.access(this,a7,a8,true,a.attr)},removeAttr:function(a7,a8){return this.each(function(){a.attr(this,a7,"");if(this.nodeType===1){this.removeAttribute(a7)}})},addClass:function(be){if(a.isFunction(be)){return this.each(function(bh){var bg=a(this);bg.addClass(be.call(this,bh,bg.attr("class")))})}if(be&&typeof be==="string"){var a7=(be||"").split(aW);for(var ba=0,a9=this.length;ba<a9;ba++){var a8=this[ba];if(a8.nodeType===1){if(!a8.className){a8.className=be}else{var bb=" "+a8.className+" ",bd=a8.className;for(var bc=0,bf=a7.length;bc<bf;bc++){if(bb.indexOf(" "+a7[bc]+" ")<0){bd+=" "+a7[bc]}}a8.className=a.trim(bd)}}}}return this},removeClass:function(bc){if(a.isFunction(bc)){return this.each(function(bg){var bf=a(this);bf.removeClass(bc.call(this,bg,bf.attr("class")))})}if((bc&&typeof bc==="string")||bc===H){var bd=(bc||"").split(aW);for(var a9=0,a8=this.length;a9<a8;a9++){var bb=this[a9];if(bb.nodeType===1&&bb.className){if(bc){var ba=(" "+bb.className+" ").replace(au," ");for(var be=0,a7=bd.length;be<a7;be++){ba=ba.replace(" "+bd[be]+" "," ")}bb.className=a.trim(ba)}else{bb.className=""}}}}return this},toggleClass:function(ba,a8){var a9=typeof ba,a7=typeof a8==="boolean";if(a.isFunction(ba)){return this.each(function(bc){var bb=a(this);bb.toggleClass(ba.call(this,bc,bb.attr("class"),a8),a8)})}return this.each(function(){if(a9==="string"){var bd,bc=0,bb=a(this),be=a8,bf=ba.split(aW);while((bd=bf[bc++])){be=a7?be:!bb.hasClass(bd);bb[be?"addClass":"removeClass"](bd)}}else{if(a9==="undefined"||a9==="boolean"){if(this.className){a._data(this,"__className__",this.className)}this.className=this.className||ba===false?"":a._data(this,"__className__")||""}}})},hasClass:function(a7){var ba=" "+a7+" ";for(var a9=0,a8=this.length;a9<a8;a9++){if((" "+this[a9].className+" ").replace(au," ").indexOf(ba)>-1){return true}}return false},val:function(bf){if(!arguments.length){var a9=this[0];if(a9){if(a.nodeName(a9,"option")){var a8=a9.attributes.value;return !a8||a8.specified?a9.value:a9.text}if(a.nodeName(a9,"select")){var bd=a9.selectedIndex,bg=[],bh=a9.options,bc=a9.type==="select-one";if(bd<0){return null}for(var ba=bc?bd:0,be=bc?bd+1:bh.length;ba<be;ba++){var bb=bh[ba];if(bb.selected&&(a.support.optDisabled?!bb.disabled:bb.getAttribute("disabled")===null)&&(!bb.parentNode.disabled||!a.nodeName(bb.parentNode,"optgroup"))){bf=a(bb).val();if(bc){return bf}bg.push(bf)}}return bg}if(O.test(a9.type)&&!a.support.checkOn){return a9.getAttribute("value")===null?"on":a9.value}return(a9.value||"").replace(ay,"")}return H}var a7=a.isFunction(bf);return this.each(function(bk){var bj=a(this),bl=bf;if(this.nodeType!==1){return}if(a7){bl=bf.call(this,bk,bj.val())}if(bl==null){bl=""}else{if(typeof bl==="number"){bl+=""}else{if(a.isArray(bl)){bl=a.map(bl,function(bm){return bm==null?"":bm+""})}}}if(a.isArray(bl)&&O.test(this.type)){this.checked=a.inArray(bj.val(),bl)>=0}else{if(a.nodeName(this,"select")){var bi=a.makeArray(bl);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),bi)>=0});if(!bi.length){this.selectedIndex=-1}}else{this.value=bl}}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a8,a7,bd,bg){if(!a8||a8.nodeType===3||a8.nodeType===8||a8.nodeType===2){return H}if(bg&&a7 in a.attrFn){return a(a8)[a7](bd)}var a9=a8.nodeType!==1||!a.isXMLDoc(a8),bc=bd!==H;a7=a9&&a.props[a7]||a7;if(a8.nodeType===1){var bb=aV.test(a7);if(a7==="selected"&&!a.support.optSelected){var be=a8.parentNode;if(be){be.selectedIndex;if(be.parentNode){be.parentNode.selectedIndex}}}if((a7 in a8||a8[a7]!==H)&&a9&&!bb){if(bc){if(a7==="type"&&f.test(a8.nodeName)&&a8.parentNode){a.error("type property can't be changed")}if(bd===null){if(a8.nodeType===1){a8.removeAttribute(a7)}}else{a8[a7]=bd}}if(a.nodeName(a8,"form")&&a8.getAttributeNode(a7)){return a8.getAttributeNode(a7).nodeValue}if(a7==="tabIndex"){var bf=a8.getAttributeNode("tabIndex");return bf&&bf.specified?bf.value:C.test(a8.nodeName)||l.test(a8.nodeName)&&a8.href?0:H}return a8[a7]}if(!a.support.style&&a9&&a7==="style"){if(bc){a8.style.cssText=""+bd}return a8.style.cssText}if(bc){a8.setAttribute(a7,""+bd)}if(!a8.attributes[a7]&&(a8.hasAttribute&&!a8.hasAttribute(a7))){return H}var ba=!a.support.hrefNormalized&&a9&&bb?a8.getAttribute(a7,2):a8.getAttribute(a7);return ba===null?H:ba}if(bc){a8[a7]=bd}return a8[a7]}});var aJ=/\.(.*)$/,aU=/^(?:textarea|input|select)$/i,J=/\./g,X=/ /g,ap=/[^\w\s.|`]/g,E=function(a7){return a7.replace(ap,"\\$&")},aB="events";a.event={add:function(ba,be,bj,bc){if(ba.nodeType===3||ba.nodeType===8){return}if(a.isWindow(ba)&&(ba!==aS&&!ba.frameElement)){ba=aS}if(bj===false){bj=aY}else{if(!bj){return}}var a8,bi;if(bj.handler){a8=bj;bj=a8.handler}if(!bj.guid){bj.guid=a.guid++}var bf=a._data(ba);if(!bf){return}var bk=bf[aB],bd=bf.handle;if(typeof bk==="function"){bd=bk.handle;bk=bk.events}else{if(!bk){if(!ba.nodeType){bf[aB]=bf=function(){}}bf.events=bk={}}}if(!bd){bf.handle=bd=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(bd.elem,arguments):H}}bd.elem=ba;be=be.split(" ");var bh,bb=0,a7;while((bh=be[bb++])){bi=a8?a.extend({},a8):{handler:bj,data:bc};if(bh.indexOf(".")>-1){a7=bh.split(".");bh=a7.shift();bi.namespace=a7.slice(0).sort().join(".")}else{a7=[];bi.namespace=""}bi.type=bh;if(!bi.guid){bi.guid=bj.guid}var a9=bk[bh],bg=a.event.special[bh]||{};if(!a9){a9=bk[bh]=[];if(!bg.setup||bg.setup.call(ba,bc,a7,bd)===false){if(ba.addEventListener){ba.addEventListener(bh,bd,false)}else{if(ba.attachEvent){ba.attachEvent("on"+bh,bd)}}}}if(bg.add){bg.add.call(ba,bi);if(!bi.handler.guid){bi.handler.guid=bj.guid}}a9.push(bi);a.event.global[bh]=true}ba=null},global:{},remove:function(bm,bh,a9,bd){if(bm.nodeType===3||bm.nodeType===8){return}if(a9===false){a9=aY}var bp,bc,be,bj,bk=0,ba,bf,bi,bb,bg,a7,bo,bl=a.hasData(bm)&&a._data(bm),a8=bl&&bl[aB];if(!bl||!a8){return}if(typeof a8==="function"){bl=a8;a8=a8.events}if(bh&&bh.type){a9=bh.handler;bh=bh.type}if(!bh||typeof bh==="string"&&bh.charAt(0)==="."){bh=bh||"";for(bc in a8){a.event.remove(bm,bc+bh)}return}bh=bh.split(" ");while((bc=bh[bk++])){bo=bc;a7=null;ba=bc.indexOf(".")<0;bf=[];if(!ba){bf=bc.split(".");bc=bf.shift();bi=new RegExp("(^|\\.)"+a.map(bf.slice(0).sort(),E).join("\\.(?:.*\\.)?")+"(\\.|$)")}bg=a8[bc];if(!bg){continue}if(!a9){for(bj=0;bj<bg.length;bj++){a7=bg[bj];if(ba||bi.test(a7.namespace)){a.event.remove(bm,bo,a7.handler,bj);bg.splice(bj--,1)}}continue}bb=a.event.special[bc]||{};for(bj=bd||0;bj<bg.length;bj++){a7=bg[bj];if(a9.guid===a7.guid){if(ba||bi.test(a7.namespace)){if(bd==null){bg.splice(bj--,1)}if(bb.remove){bb.remove.call(bm,a7)}}if(bd!=null){break}}}if(bg.length===0||bd!=null&&bg.length===1){if(!bb.teardown||bb.teardown.call(bm,bf)===false){a.removeEvent(bm,bc,bl.handle)}bp=null;delete a8[bc]}}if(a.isEmptyObject(a8)){var bn=bl.handle;if(bn){bn.elem=null}delete bl.events;delete bl.handle;if(typeof bl==="function"){a.removeData(bm,aB,true)}else{if(a.isEmptyObject(bl)){a.removeData(bm,H,true)}}}},trigger:function(a8,bd,ba){var bh=a8.type||a8,bc=arguments[3];if(!bc){a8=typeof a8==="object"?a8[a.expando]?a8:a.extend(a.Event(bh),a8):a.Event(bh);if(bh.indexOf("!")>=0){a8.type=bh=bh.slice(0,-1);a8.exclusive=true}if(!ba){a8.stopPropagation();if(a.event.global[bh]){a.each(a.cache,function(){var bm=a.expando,bl=this[bm];if(bl&&bl.events&&bl.events[bh]){a.event.trigger(a8,bd,bl.handle.elem)}})}}if(!ba||ba.nodeType===3||ba.nodeType===8){return H}a8.result=H;a8.target=ba;bd=a.makeArray(bd);bd.unshift(a8)}a8.currentTarget=ba;var be=ba.nodeType?a._data(ba,"handle"):(a._data(ba,aB)||{}).handle;if(be){be.apply(ba,bd)}var bj=ba.parentNode||ba.ownerDocument;try{if(!(ba&&ba.nodeName&&a.noData[ba.nodeName.toLowerCase()])){if(ba["on"+bh]&&ba["on"+bh].apply(ba,bd)===false){a8.result=false;a8.preventDefault()}}}catch(bi){}if(!a8.isPropagationStopped()&&bj){a.event.trigger(a8,bd,bj,true)}else{if(!a8.isDefaultPrevented()){var a9,bf=a8.target,a7=bh.replace(aJ,""),bk=a.nodeName(bf,"a")&&a7==="click",bg=a.event.special[a7]||{};if((!bg._default||bg._default.call(ba,a8)===false)&&!bk&&!(bf&&bf.nodeName&&a.noData[bf.nodeName.toLowerCase()])){try{if(bf[a7]){a9=bf["on"+a7];if(a9){bf["on"+a7]=null}a.event.triggered=true;bf[a7]()}}catch(bb){}if(a9){bf["on"+a7]=a9}a.event.triggered=false}}}},handle:function(a7){var bg,a9,a8,bi,bh,bc=[],be=a.makeArray(arguments);a7=be[0]=a.event.fix(a7||aS.event);a7.currentTarget=this;bg=a7.type.indexOf(".")<0&&!a7.exclusive;if(!bg){a8=a7.type.split(".");a7.type=a8.shift();bc=a8.slice(0).sort();bi=new RegExp("(^|\\.)"+bc.join("\\.(?:.*\\.)?")+"(\\.|$)")}a7.namespace=a7.namespace||bc.join(".");bh=a._data(this,aB);if(typeof bh==="function"){bh=bh.events}a9=(bh||{})[a7.type];if(bh&&a9){a9=a9.slice(0);for(var bb=0,ba=a9.length;bb<ba;bb++){var bf=a9[bb];if(bg||bi.test(bf.namespace)){a7.handler=bf.handler;a7.data=bf.data;a7.handleObj=bf;var bd=bf.handler.apply(this,be);if(bd!==H){a7.result=bd;if(bd===false){a7.preventDefault();a7.stopPropagation()}}if(a7.isImmediatePropagationStopped()){break}}}}return a7.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(ba){if(ba[a.expando]){return ba}var a8=ba;ba=a.Event(a8);for(var a9=this.props.length,bc;a9;){bc=this.props[--a9];ba[bc]=a8[bc]}if(!ba.target){ba.target=ba.srcElement||ah}if(ba.target.nodeType===3){ba.target=ba.target.parentNode}if(!ba.relatedTarget&&ba.fromElement){ba.relatedTarget=ba.fromElement===ba.target?ba.toElement:ba.fromElement}if(ba.pageX==null&&ba.clientX!=null){var bb=ah.documentElement,a7=ah.body;ba.pageX=ba.clientX+(bb&&bb.scrollLeft||a7&&a7.scrollLeft||0)-(bb&&bb.clientLeft||a7&&a7.clientLeft||0);ba.pageY=ba.clientY+(bb&&bb.scrollTop||a7&&a7.scrollTop||0)-(bb&&bb.clientTop||a7&&a7.clientTop||0)}if(ba.which==null&&(ba.charCode!=null||ba.keyCode!=null)){ba.which=ba.charCode!=null?ba.charCode:ba.keyCode}if(!ba.metaKey&&ba.ctrlKey){ba.metaKey=ba.ctrlKey}if(!ba.which&&ba.button!==H){ba.which=(ba.button&1?1:(ba.button&2?3:(ba.button&4?2:0)))}return ba},guid:100000000,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(a7){a.event.add(this,o(a7.origType,a7.selector),a.extend({},a7,{handler:ab,guid:a7.handler.guid}))},remove:function(a7){a.event.remove(this,o(a7.origType,a7.selector),a7)}},beforeunload:{setup:function(a9,a8,a7){if(a.isWindow(this)){this.onbeforeunload=a7}},teardown:function(a8,a7){if(this.onbeforeunload===a7){this.onbeforeunload=null}}}}};a.removeEvent=ah.removeEventListener?function(a8,a7,a9){if(a8.removeEventListener){a8.removeEventListener(a7,a9,false)}}:function(a8,a7,a9){if(a8.detachEvent){a8.detachEvent("on"+a7,a9)}};a.Event=function(a7){if(!this.preventDefault){return new a.Event(a7)}if(a7&&a7.type){this.originalEvent=a7;this.type=a7.type;this.isDefaultPrevented=(a7.defaultPrevented||a7.returnValue===false||a7.getPreventDefault&&a7.getPreventDefault())?h:aY}else{this.type=a7}this.timeStamp=a.now();this[a.expando]=true};function aY(){return false}function h(){return true}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=h;var a7=this.originalEvent;if(!a7){return}if(a7.preventDefault){a7.preventDefault()}else{a7.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=h;var a7=this.originalEvent;if(!a7){return}if(a7.stopPropagation){a7.stopPropagation()}a7.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=h;this.stopPropagation()},isDefaultPrevented:aY,isPropagationStopped:aY,isImmediatePropagationStopped:aY};var W=function(a8){var a7=a8.relatedTarget;try{while(a7&&a7!==this){a7=a7.parentNode}if(a7!==this){a8.type=a8.data;a.event.handle.apply(this,arguments)}}catch(a9){}},aC=function(a7){a7.type=a7.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a8,a7){a.event.special[a8]={setup:function(a9){a.event.add(this,a7,a9&&a9.selector?aC:W,a8)},teardown:function(a9){a.event.remove(this,a7,a9&&a9.selector?aC:W)}}});if(!a.support.submitBubbles){a.event.special.submit={setup:function(a8,a7){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){a.event.add(this,"click.specialSubmit",function(bb){var ba=bb.target,a9=ba.type;if((a9==="submit"||a9==="image")&&a(ba).closest("form").length){bb.liveFired=H;return aG("submit",this,arguments)}});a.event.add(this,"keypress.specialSubmit",function(bb){var ba=bb.target,a9=ba.type;if((a9==="text"||a9==="password")&&a(ba).closest("form").length&&bb.keyCode===13){bb.liveFired=H;return aG("submit",this,arguments)}})}else{return false}},teardown:function(a7){a.event.remove(this,".specialSubmit")}}}if(!a.support.changeBubbles){var aZ,k=function(a8){var a7=a8.type,a9=a8.value;if(a7==="radio"||a7==="checkbox"){a9=a8.checked}else{if(a7==="select-multiple"){a9=a8.selectedIndex>-1?a.map(a8.options,function(ba){return ba.selected}).join("-"):""}else{if(a8.nodeName.toLowerCase()==="select"){a9=a8.selectedIndex}}}return a9},U=function U(a9){var a7=a9.target,a8,ba;if(!aU.test(a7.nodeName)||a7.readOnly){return}a8=a._data(a7,"_change_data");ba=k(a7);if(a9.type!=="focusout"||a7.type!=="radio"){a._data(a7,"_change_data",ba)}if(a8===H||ba===a8){return}if(a8!=null||ba){a9.type="change";a9.liveFired=H;return a.event.trigger(a9,arguments[1],a7)}};a.event.special.change={filters:{focusout:U,beforedeactivate:U,click:function(a9){var a8=a9.target,a7=a8.type;if(a7==="radio"||a7==="checkbox"||a8.nodeName.toLowerCase()==="select"){return U.call(this,a9)}},keydown:function(a9){var a8=a9.target,a7=a8.type;if((a9.keyCode===13&&a8.nodeName.toLowerCase()!=="textarea")||(a9.keyCode===32&&(a7==="checkbox"||a7==="radio"))||a7==="select-multiple"){return U.call(this,a9)}},beforeactivate:function(a8){var a7=a8.target;a._data(a7,"_change_data",k(a7))}},setup:function(a9,a8){if(this.type==="file"){return false}for(var a7 in aZ){a.event.add(this,a7+".specialChange",aZ[a7])}return aU.test(this.nodeName)},teardown:function(a7){a.event.remove(this,".specialChange");return aU.test(this.nodeName)}};aZ=a.event.special.change.filters;aZ.focus=aZ.beforeactivate}function aG(a8,a9,a7){a7[0].type=a8;return a.event.handle.apply(a9,a7)}if(ah.addEventListener){a.each({focus:"focusin",blur:"focusout"},function(a9,a7){a.event.special[a7]={setup:function(){this.addEventListener(a9,a8,true)},teardown:function(){this.removeEventListener(a9,a8,true)}};function a8(ba){ba=a.event.fix(ba);ba.type=a7;return a.event.handle.call(this,ba)}})}a.each(["bind","one"],function(a8,a7){a.fn[a7]=function(be,bf,bd){if(typeof be==="object"){for(var bb in be){this[a7](bb,bf,be[bb],bd)}return this}if(a.isFunction(bf)||bf===false){bd=bf;bf=H}var bc=a7==="one"?a.proxy(bd,function(bg){a(this).unbind(bg,bc);return bd.apply(this,arguments)}):bd;if(be==="unload"&&a7!=="one"){this.one(be,bf,bd)}else{for(var ba=0,a9=this.length;ba<a9;ba++){a.event.add(this[ba],be,bc,bf)}}return this}});a.fn.extend({unbind:function(bb,ba){if(typeof bb==="object"&&!bb.preventDefault){for(var a9 in bb){this.unbind(a9,bb[a9])}}else{for(var a8=0,a7=this.length;a8<a7;a8++){a.event.remove(this[a8],bb,ba)}}return this},delegate:function(a7,a8,ba,a9){return this.live(a8,ba,a9,a7)},undelegate:function(a7,a8,a9){if(arguments.length===0){return this.unbind("live")}else{return this.die(a8,null,a9,a7)}},trigger:function(a7,a8){return this.each(function(){a.event.trigger(a7,a8,this)})},triggerHandler:function(a7,a9){if(this[0]){var a8=a.Event(a7);a8.preventDefault();a8.stopPropagation();a.event.trigger(a8,a9,this[0]);return a8.result}},toggle:function(a9){var a7=arguments,a8=1;while(a8<a7.length){a.proxy(a9,a7[a8++])}return this.click(a.proxy(a9,function(ba){var bb=(a._data(this,"lastToggle"+a9.guid)||0)%a8;a._data(this,"lastToggle"+a9.guid,bb+1);ba.preventDefault();return a7[bb].apply(this,arguments)||false}))},hover:function(a7,a8){return this.mouseenter(a7).mouseleave(a8||a7)}});var az={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(a8,a7){a.fn[a7]=function(bi,bf,bk,bb){var bj,bg=0,bh,ba,bm,bd=bb||this.selector,a9=bb?this:a(this.context);if(typeof bi==="object"&&!bi.preventDefault){for(var bl in bi){a9[a7](bl,bf,bi[bl],bd)}return this}if(a.isFunction(bf)){bk=bf;bf=H}bi=(bi||"").split(" ");while((bj=bi[bg++])!=null){bh=aJ.exec(bj);ba="";if(bh){ba=bh[0];bj=bj.replace(aJ,"")}if(bj==="hover"){bi.push("mouseenter"+ba,"mouseleave"+ba);continue}bm=bj;if(bj==="focus"||bj==="blur"){bi.push(az[bj]+ba);bj=bj+ba}else{bj=(az[bj]||bj)+ba}if(a7==="live"){for(var be=0,bc=a9.length;be<bc;be++){a.event.add(a9[be],"live."+o(bj,bd),{data:bf,selector:bd,handler:bk,origType:bj,origHandler:bk,preType:bm})}}else{a9.unbind("live."+o(bj,bd),bk)}}return this}});function ab(bi){var bf,ba,bo,bc,a7,bk,bh,bj,bg,bn,be,bd,bm,bl=[],bb=[],a8=a._data(this,aB);if(typeof a8==="function"){a8=a8.events}if(bi.liveFired===this||!a8||!a8.live||bi.target.disabled||bi.button&&bi.type==="click"){return}if(bi.namespace){bd=new RegExp("(^|\\.)"+bi.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}bi.liveFired=this;var a9=a8.live.slice(0);for(bh=0;bh<a9.length;bh++){a7=a9[bh];if(a7.origType.replace(aJ,"")===bi.type){bb.push(a7.selector)}else{a9.splice(bh--,1)}}bc=a(bi.target).closest(bb,bi.currentTarget);for(bj=0,bg=bc.length;bj<bg;bj++){be=bc[bj];for(bh=0;bh<a9.length;bh++){a7=a9[bh];if(be.selector===a7.selector&&(!bd||bd.test(a7.namespace))){bk=be.elem;bo=null;if(a7.preType==="mouseenter"||a7.preType==="mouseleave"){bi.type=a7.preType;bo=a(bi.relatedTarget).closest(a7.selector)[0]}if(!bo||bo!==bk){bl.push({elem:bk,handleObj:a7,level:be.level})}}}}for(bj=0,bg=bl.length;bj<bg;bj++){bc=bl[bj];if(ba&&bc.level>ba){break}bi.currentTarget=bc.elem;bi.data=bc.handleObj.data;bi.handleObj=bc.handleObj;bm=bc.handleObj.origHandler.apply(bc.elem,arguments);if(bm===false||bi.isPropagationStopped()){ba=bc.level;if(bm===false){bf=false}if(bi.isImmediatePropagationStopped()){break}}}return bf}function o(a8,a7){return(a8&&a8!=="*"?a8+".":"")+a7.replace(J,"`").replace(X,"&")}a.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "),function(a8,a7){a.fn[a7]=function(ba,a9){if(a9==null){a9=ba;ba=null}return arguments.length>0?this.bind(a7,ba,a9):this.trigger(a7)};if(a.attrFn){a.attrFn[a7]=true}});
/*
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bm=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bf=0,ba=Object.prototype.toString,bl=false,be=true;[0,0].sort(function(){be=false;return 0});var a8=function(bt,bo,bw,bx){bw=bw||[];bo=bo||ah;var bz=bo;if(bo.nodeType!==1&&bo.nodeType!==9){return[]}if(!bt||typeof bt!=="string"){return bw}var bq,bB,bE,bp,bA,bD,bC,bv,bs=true,br=a8.isXML(bo),bu=[],by=bt;do{bm.exec("");bq=bm.exec(by);if(bq){by=bq[3];bu.push(bq[1]);if(bq[2]){bp=bq[3];break}}}while(bq);if(bu.length>1&&bg.exec(bt)){if(bu.length===2&&bb.relative[bu[0]]){bB=bd(bu[0]+bu[1],bo)}else{bB=bb.relative[bu[0]]?[bo]:a8(bu.shift(),bo);while(bu.length){bt=bu.shift();if(bb.relative[bt]){bt+=bu.shift()}bB=bd(bt,bB)}}}else{if(!bx&&bu.length>1&&bo.nodeType===9&&!br&&bb.match.ID.test(bu[0])&&!bb.match.ID.test(bu[bu.length-1])){bA=a8.find(bu.shift(),bo,br);bo=bA.expr?a8.filter(bA.expr,bA.set)[0]:bA.set[0]}if(bo){bA=bx?{expr:bu.pop(),set:a7(bx)}:a8.find(bu.pop(),bu.length===1&&(bu[0]==="~"||bu[0]==="+")&&bo.parentNode?bo.parentNode:bo,br);bB=bA.expr?a8.filter(bA.expr,bA.set):bA.set;if(bu.length>0){bE=a7(bB)}else{bs=false}while(bu.length){bD=bu.pop();bC=bD;if(!bb.relative[bD]){bD=""}else{bC=bu.pop()}if(bC==null){bC=bo}bb.relative[bD](bE,bC,br)}}else{bE=bu=[]}}if(!bE){bE=bB}if(!bE){a8.error(bD||bt)}if(ba.call(bE)==="[object Array]"){if(!bs){bw.push.apply(bw,bE)}else{if(bo&&bo.nodeType===1){for(bv=0;bE[bv]!=null;bv++){if(bE[bv]&&(bE[bv]===true||bE[bv].nodeType===1&&a8.contains(bo,bE[bv]))){bw.push(bB[bv])}}}else{for(bv=0;bE[bv]!=null;bv++){if(bE[bv]&&bE[bv].nodeType===1){bw.push(bB[bv])}}}}}else{a7(bE,bw)}if(bp){a8(bp,bz,bw,bx);a8.uniqueSort(bw)}return bw};a8.uniqueSort=function(bp){if(a9){bl=be;bp.sort(a9);if(bl){for(var bo=1;bo<bp.length;bo++){if(bp[bo]===bp[bo-1]){bp.splice(bo--,1)}}}}return bp};a8.matches=function(bo,bp){return a8(bo,null,null,bp)};a8.matchesSelector=function(bo,bp){return a8(bp,null,null,[bo]).length>0};a8.find=function(bv,bo,bw){var bu;if(!bv){return[]}for(var br=0,bq=bb.order.length;br<bq;br++){var bs,bt=bb.order[br];if((bs=bb.leftMatch[bt].exec(bv))){var bp=bs[1];bs.splice(1,1);if(bp.substr(bp.length-1)!=="\\"){bs[1]=(bs[1]||"").replace(/\\/g,"");bu=bb.find[bt](bs,bo,bw);if(bu!=null){bv=bv.replace(bb.match[bt],"");break}}}}if(!bu){bu=typeof bo.getElementsByTagName!=="undefined"?bo.getElementsByTagName("*"):[]}return{set:bu,expr:bv}};a8.filter=function(bz,by,bC,bs){var bu,bo,bq=bz,bE=[],bw=by,bv=by&&by[0]&&a8.isXML(by[0]);while(bz&&by.length){for(var bx in bb.filter){if((bu=bb.leftMatch[bx].exec(bz))!=null&&bu[2]){var bD,bB,bp=bb.filter[bx],br=bu[1];bo=false;bu.splice(1,1);if(br.substr(br.length-1)==="\\"){continue}if(bw===bE){bE=[]}if(bb.preFilter[bx]){bu=bb.preFilter[bx](bu,bw,bC,bE,bs,bv);if(!bu){bo=bD=true}else{if(bu===true){continue}}}if(bu){for(var bt=0;(bB=bw[bt])!=null;bt++){if(bB){bD=bp(bB,bu,bt,bw);var bA=bs^!!bD;if(bC&&bD!=null){if(bA){bo=true}else{bw[bt]=false}}else{if(bA){bE.push(bB);bo=true}}}}}if(bD!==H){if(!bC){bw=bE}bz=bz.replace(bb.match[bx],"");if(!bo){return[]}break}}}if(bz===bq){if(bo==null){a8.error(bz)}else{break}}bq=bz}return bw};a8.error=function(bo){throw"Syntax error, unrecognized expression: "+bo};var bb=a8.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(bo){return bo.getAttribute("href")}},relative:{"+":function(bu,bp){var br=typeof bp==="string",bt=br&&!/\W/.test(bp),bv=br&&!bt;if(bt){bp=bp.toLowerCase()}for(var bq=0,bo=bu.length,bs;bq<bo;bq++){if((bs=bu[bq])){while((bs=bs.previousSibling)&&bs.nodeType!==1){}bu[bq]=bv||bs&&bs.nodeName.toLowerCase()===bp?bs||false:bs===bp}}if(bv){a8.filter(bp,bu,true)}},">":function(bu,bp){var bt,bs=typeof bp==="string",bq=0,bo=bu.length;if(bs&&!/\W/.test(bp)){bp=bp.toLowerCase();for(;bq<bo;bq++){bt=bu[bq];if(bt){var br=bt.parentNode;bu[bq]=br.nodeName.toLowerCase()===bp?br:false}}}else{for(;bq<bo;bq++){bt=bu[bq];if(bt){bu[bq]=bs?bt.parentNode:bt.parentNode===bp}}if(bs){a8.filter(bp,bu,true)}}},"":function(br,bp,bt){var bs,bq=bf++,bo=bn;if(typeof bp==="string"&&!/\W/.test(bp)){bp=bp.toLowerCase();bs=bp;bo=bk}bo("parentNode",bp,bq,br,bs,bt)},"~":function(br,bp,bt){var bs,bq=bf++,bo=bn;if(typeof bp==="string"&&!/\W/.test(bp)){bp=bp.toLowerCase();bs=bp;bo=bk}bo("previousSibling",bp,bq,br,bs,bt)}},find:{ID:function(bp,bq,br){if(typeof bq.getElementById!=="undefined"&&!br){var bo=bq.getElementById(bp[1]);return bo&&bo.parentNode?[bo]:[]}},NAME:function(bq,bt){if(typeof bt.getElementsByName!=="undefined"){var bp=[],bs=bt.getElementsByName(bq[1]);for(var br=0,bo=bs.length;br<bo;br++){if(bs[br].getAttribute("name")===bq[1]){bp.push(bs[br])}}return bp.length===0?null:bp}},TAG:function(bo,bp){if(typeof bp.getElementsByTagName!=="undefined"){return bp.getElementsByTagName(bo[1])}}},preFilter:{CLASS:function(br,bp,bq,bo,bu,bv){br=" "+br[1].replace(/\\/g,"")+" ";if(bv){return br}for(var bs=0,bt;(bt=bp[bs])!=null;bs++){if(bt){if(bu^(bt.className&&(" "+bt.className+" ").replace(/[\t\n\r]/g," ").indexOf(br)>=0)){if(!bq){bo.push(bt)}}else{if(bq){bp[bs]=false}}}}return false},ID:function(bo){return bo[1].replace(/\\/g,"")},TAG:function(bp,bo){return bp[1].toLowerCase()},CHILD:function(bo){if(bo[1]==="nth"){if(!bo[2]){a8.error(bo[0])}bo[2]=bo[2].replace(/^\+|\s*/g,"");var bp=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(bo[2]==="even"&&"2n"||bo[2]==="odd"&&"2n+1"||!/\D/.test(bo[2])&&"0n+"+bo[2]||bo[2]);bo[2]=(bp[1]+(bp[2]||1))-0;bo[3]=bp[3]-0}else{if(bo[2]){a8.error(bo[0])}}bo[0]=bf++;return bo},ATTR:function(bs,bp,bq,bo,bt,bu){var br=bs[1]=bs[1].replace(/\\/g,"");if(!bu&&bb.attrMap[br]){bs[1]=bb.attrMap[br]}bs[4]=(bs[4]||bs[5]||"").replace(/\\/g,"");if(bs[2]==="~="){bs[4]=" "+bs[4]+" "}return bs},PSEUDO:function(bs,bp,bq,bo,bt){if(bs[1]==="not"){if((bm.exec(bs[3])||"").length>1||/^\w/.test(bs[3])){bs[3]=a8(bs[3],null,null,bp)}else{var br=a8.filter(bs[3],bp,bq,true^bt);if(!bq){bo.push.apply(bo,br)}return false}}else{if(bb.match.POS.test(bs[0])||bb.match.CHILD.test(bs[0])){return true}}return bs},POS:function(bo){bo.unshift(true);return bo}},filters:{enabled:function(bo){return bo.disabled===false&&bo.type!=="hidden"},disabled:function(bo){return bo.disabled===true},checked:function(bo){return bo.checked===true},selected:function(bo){bo.parentNode.selectedIndex;return bo.selected===true},parent:function(bo){return !!bo.firstChild},empty:function(bo){return !bo.firstChild},has:function(bq,bp,bo){return !!a8(bo[3],bq).length},header:function(bo){return(/h\d/i).test(bo.nodeName)},text:function(bo){return"text"===bo.type},radio:function(bo){return"radio"===bo.type},checkbox:function(bo){return"checkbox"===bo.type},file:function(bo){return"file"===bo.type},password:function(bo){return"password"===bo.type},submit:function(bo){return"submit"===bo.type},image:function(bo){return"image"===bo.type},reset:function(bo){return"reset"===bo.type},button:function(bo){return"button"===bo.type||bo.nodeName.toLowerCase()==="button"},input:function(bo){return(/input|select|textarea|button/i).test(bo.nodeName)}},setFilters:{first:function(bp,bo){return bo===0},last:function(bq,bp,bo,br){return bp===br.length-1},even:function(bp,bo){return bo%2===0},odd:function(bp,bo){return bo%2===1},lt:function(bq,bp,bo){return bp<bo[3]-0},gt:function(bq,bp,bo){return bp>bo[3]-0},nth:function(bq,bp,bo){return bo[3]-0===bp},eq:function(bq,bp,bo){return bo[3]-0===bp}},filter:{PSEUDO:function(bq,bv,bu,bw){var bo=bv[1],bp=bb.filters[bo];if(bp){return bp(bq,bu,bv,bw)}else{if(bo==="contains"){return(bq.textContent||bq.innerText||a8.getText([bq])||"").indexOf(bv[3])>=0}else{if(bo==="not"){var br=bv[3];for(var bt=0,bs=br.length;bt<bs;bt++){if(br[bt]===bq){return false}}return true}else{a8.error(bo)}}}},CHILD:function(bo,br){var bu=br[1],bp=bo;switch(bu){case"only":case"first":while((bp=bp.previousSibling)){if(bp.nodeType===1){return false}}if(bu==="first"){return true}bp=bo;case"last":while((bp=bp.nextSibling)){if(bp.nodeType===1){return false}}return true;case"nth":var bq=br[2],bx=br[3];if(bq===1&&bx===0){return true}var bt=br[0],bw=bo.parentNode;if(bw&&(bw.sizcache!==bt||!bo.nodeIndex)){var bs=0;for(bp=bw.firstChild;bp;bp=bp.nextSibling){if(bp.nodeType===1){bp.nodeIndex=++bs}}bw.sizcache=bt}var bv=bo.nodeIndex-bx;if(bq===0){return bv===0}else{return(bv%bq===0&&bv/bq>=0)}}},ID:function(bp,bo){return bp.nodeType===1&&bp.getAttribute("id")===bo},TAG:function(bp,bo){return(bo==="*"&&bp.nodeType===1)||bp.nodeName.toLowerCase()===bo},CLASS:function(bp,bo){return(" "+(bp.className||bp.getAttribute("class"))+" ").indexOf(bo)>-1},ATTR:function(bt,br){var bq=br[1],bo=bb.attrHandle[bq]?bb.attrHandle[bq](bt):bt[bq]!=null?bt[bq]:bt.getAttribute(bq),bu=bo+"",bs=br[2],bp=br[4];return bo==null?bs==="!=":bs==="="?bu===bp:bs==="*="?bu.indexOf(bp)>=0:bs==="~="?(" "+bu+" ").indexOf(bp)>=0:!bp?bu&&bo!==false:bs==="!="?bu!==bp:bs==="^="?bu.indexOf(bp)===0:bs==="$="?bu.substr(bu.length-bp.length)===bp:bs==="|="?bu===bp||bu.substr(0,bp.length+1)===bp+"-":false},POS:function(bs,bp,bq,bt){var bo=bp[2],br=bb.setFilters[bo];if(br){return br(bs,bq,bp,bt)}}}};var bg=bb.match.POS,bc=function(bp,bo){return"\\"+(bo-0+1)};for(var bj in bb.match){bb.match[bj]=new RegExp(bb.match[bj].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bb.leftMatch[bj]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bb.match[bj].source.replace(/\\(\d+)/g,bc))}var a7=function(bp,bo){bp=Array.prototype.slice.call(bp,0);if(bo){bo.push.apply(bo,bp);return bo}return bp};try{Array.prototype.slice.call(ah.documentElement.childNodes,0)[0].nodeType}catch(bh){a7=function(bs,br){var bq=0,bp=br||[];if(ba.call(bs)==="[object Array]"){Array.prototype.push.apply(bp,bs)}else{if(typeof bs.length==="number"){for(var bo=bs.length;bq<bo;bq++){bp.push(bs[bq])}}else{for(;bs[bq];bq++){bp.push(bs[bq])}}}return bp}}var a9,bi;if(ah.documentElement.compareDocumentPosition){a9=function(bp,bo){if(bp===bo){bl=true;return 0}if(!bp.compareDocumentPosition||!bo.compareDocumentPosition){return bp.compareDocumentPosition?-1:1}return bp.compareDocumentPosition(bo)&4?-1:1}}else{a9=function(bx,bw){var bu,bq,br=[],bo=[],bt=bx.parentNode,bv=bw.parentNode,by=bt;if(bx===bw){bl=true;return 0}else{if(bt===bv){return bi(bx,bw)}else{if(!bt){return -1}else{if(!bv){return 1}}}}while(by){br.unshift(by);by=by.parentNode}by=bv;while(by){bo.unshift(by);by=by.parentNode}bu=br.length;bq=bo.length;for(var bs=0;bs<bu&&bs<bq;bs++){if(br[bs]!==bo[bs]){return bi(br[bs],bo[bs])}}return bs===bu?bi(bx,bo[bs],-1):bi(br[bs],bw,1)};bi=function(bp,bo,bq){if(bp===bo){return bq}var br=bp.nextSibling;while(br){if(br===bo){return -1}br=br.nextSibling}return 1}}a8.getText=function(bo){var bp="",br;for(var bq=0;bo[bq];bq++){br=bo[bq];if(br.nodeType===3||br.nodeType===4){bp+=br.nodeValue}else{if(br.nodeType!==8){bp+=a8.getText(br.childNodes)}}}return bp};(function(){var bp=ah.createElement("div"),bq="script"+(new Date()).getTime(),bo=ah.documentElement;bp.innerHTML="<a name='"+bq+"'/>";bo.insertBefore(bp,bo.firstChild);if(ah.getElementById(bq)){bb.find.ID=function(bs,bt,bu){if(typeof bt.getElementById!=="undefined"&&!bu){var br=bt.getElementById(bs[1]);return br?br.id===bs[1]||typeof br.getAttributeNode!=="undefined"&&br.getAttributeNode("id").nodeValue===bs[1]?[br]:H:[]}};bb.filter.ID=function(bt,br){var bs=typeof bt.getAttributeNode!=="undefined"&&bt.getAttributeNode("id");return bt.nodeType===1&&bs&&bs.nodeValue===br}}bo.removeChild(bp);bo=bp=null})();(function(){var bo=ah.createElement("div");bo.appendChild(ah.createComment(""));if(bo.getElementsByTagName("*").length>0){bb.find.TAG=function(bp,bt){var bs=bt.getElementsByTagName(bp[1]);if(bp[1]==="*"){var br=[];for(var bq=0;bs[bq];bq++){if(bs[bq].nodeType===1){br.push(bs[bq])}}bs=br}return bs}}bo.innerHTML="<a href='#'></a>";if(bo.firstChild&&typeof bo.firstChild.getAttribute!=="undefined"&&bo.firstChild.getAttribute("href")!=="#"){bb.attrHandle.href=function(bp){return bp.getAttribute("href",2)}}bo=null})();if(ah.querySelectorAll){(function(){var bo=a8,br=ah.createElement("div"),bq="__sizzle__";br.innerHTML="<p class='TEST'></p>";if(br.querySelectorAll&&br.querySelectorAll(".TEST").length===0){return}a8=function(bB,bt,bw,bA){bt=bt||ah;if(!bA&&!a8.isXML(bt)){var bz=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(bB);if(bz&&(bt.nodeType===1||bt.nodeType===9)){if(bz[1]){return a7(bt.getElementsByTagName(bB),bw)}else{if(bz[2]&&bb.find.CLASS&&bt.getElementsByClassName){return a7(bt.getElementsByClassName(bz[2]),bw)}}}if(bt.nodeType===9){if(bB==="body"&&bt.body){return a7([bt.body],bw)}else{if(bz&&bz[3]){var bv=bt.getElementById(bz[3]);if(bv&&bv.parentNode){if(bv.id===bz[3]){return a7([bv],bw)}}else{return a7([],bw)}}}try{return a7(bt.querySelectorAll(bB),bw)}catch(bx){}}else{if(bt.nodeType===1&&bt.nodeName.toLowerCase()!=="object"){var bu=bt.getAttribute("id"),bs=bu||bq,bD=bt.parentNode,bC=/^\s*[+~]/.test(bB);if(!bu){bt.setAttribute("id",bs)}else{bs=bs.replace(/'/g,"\\$&")}if(bC&&bD){bt=bt.parentNode}try{if(!bC||bD){return a7(bt.querySelectorAll("[id='"+bs+"'] "+bB),bw)}}catch(by){}finally{if(!bu){bt.removeAttribute("id")}}}}}return bo(bB,bt,bw,bA)};for(var bp in bo){a8[bp]=bo[bp]}br=null})()}(function(){var bo=ah.documentElement,bq=bo.matchesSelector||bo.mozMatchesSelector||bo.webkitMatchesSelector||bo.msMatchesSelector,bp=false;try{bq.call(ah.documentElement,"[test!='']:sizzle")}catch(br){bp=true}if(bq){a8.matchesSelector=function(bs,bu){bu=bu.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!a8.isXML(bs)){try{if(bp||!bb.match.PSEUDO.test(bu)&&!/!=/.test(bu)){return bq.call(bs,bu)}}catch(bt){}}return a8(bu,null,null,[bs]).length>0}}})();(function(){var bo=ah.createElement("div");bo.innerHTML="<div class='test e'></div><div class='test'></div>";if(!bo.getElementsByClassName||bo.getElementsByClassName("e").length===0){return}bo.lastChild.className="e";if(bo.getElementsByClassName("e").length===1){return}bb.order.splice(1,0,"CLASS");bb.find.CLASS=function(bp,bq,br){if(typeof bq.getElementsByClassName!=="undefined"&&!br){return bq.getElementsByClassName(bp[1])}};bo=null})();function bk(bp,bu,bt,bx,bv,bw){for(var br=0,bq=bx.length;br<bq;br++){var bo=bx[br];if(bo){var bs=false;bo=bo[bp];while(bo){if(bo.sizcache===bt){bs=bx[bo.sizset];break}if(bo.nodeType===1&&!bw){bo.sizcache=bt;bo.sizset=br}if(bo.nodeName.toLowerCase()===bu){bs=bo;break}bo=bo[bp]}bx[br]=bs}}}function bn(bp,bu,bt,bx,bv,bw){for(var br=0,bq=bx.length;br<bq;br++){var bo=bx[br];if(bo){var bs=false;bo=bo[bp];while(bo){if(bo.sizcache===bt){bs=bx[bo.sizset];break}if(bo.nodeType===1){if(!bw){bo.sizcache=bt;bo.sizset=br}if(typeof bu!=="string"){if(bo===bu){bs=true;break}}else{if(a8.filter(bu,[bo]).length>0){bs=bo;break}}}bo=bo[bp]}bx[br]=bs}}}if(ah.documentElement.contains){a8.contains=function(bp,bo){return bp!==bo&&(bp.contains?bp.contains(bo):true)}}else{if(ah.documentElement.compareDocumentPosition){a8.contains=function(bp,bo){return !!(bp.compareDocumentPosition(bo)&16)}}else{a8.contains=function(){return false}}}a8.isXML=function(bo){var bp=(bo?bo.ownerDocument||bo:0).documentElement;return bp?bp.nodeName!=="HTML":false};var bd=function(bo,bv){var bt,br=[],bs="",bq=bv.nodeType?[bv]:bv;while((bt=bb.match.PSEUDO.exec(bo))){bs+=bt[0];bo=bo.replace(bb.match.PSEUDO,"")}bo=bb.relative[bo]?bo+"*":bo;for(var bu=0,bp=bq.length;bu<bp;bu++){a8(bo,bq[bu],br)}return a8.filter(bs,br)};a.find=a8;a.expr=a8.selectors;a.expr[":"]=a.expr.filters;a.unique=a8.uniqueSort;a.text=a8.getText;a.isXMLDoc=a8.isXML;a.contains=a8.contains})();var T=/Until$/,ae=/^(?:parents|prevUntil|prevAll)/,aQ=/,/,a2=/^.[^:#\[\.,]*$/,L=Array.prototype.slice,F=a.expr.match.POS,aj={children:true,contents:true,next:true,prev:true};a.fn.extend({find:function(a7){var a9=this.pushStack("","find",a7),bc=0;for(var ba=0,a8=this.length;ba<a8;ba++){bc=a9.length;a.find(a7,this[ba],a9);if(ba>0){for(var bd=bc;bd<a9.length;bd++){for(var bb=0;bb<bc;bb++){if(a9[bb]===a9[bd]){a9.splice(bd--,1);break}}}}}return a9},has:function(a8){var a7=a(a8);return this.filter(function(){for(var ba=0,a9=a7.length;ba<a9;ba++){if(a.contains(this,a7[ba])){return true}}})},not:function(a7){return this.pushStack(ao(this,a7,false),"not",a7)},filter:function(a7){return this.pushStack(ao(this,a7,true),"filter",a7)},is:function(a7){return !!a7&&a.filter(a7,this).length>0},closest:function(bh,a8){var be=[],bb,a9,bg=this[0];if(a.isArray(bh)){var bd,ba,bc={},a7=1;if(bg&&bh.length){for(bb=0,a9=bh.length;bb<a9;bb++){ba=bh[bb];if(!bc[ba]){bc[ba]=a.expr.match.POS.test(ba)?a(ba,a8||this.context):ba}}while(bg&&bg.ownerDocument&&bg!==a8){for(ba in bc){bd=bc[ba];if(bd.jquery?bd.index(bg)>-1:a(bg).is(bd)){be.push({selector:ba,elem:bg,level:a7})}}bg=bg.parentNode;a7++}}return be}var bf=F.test(bh)?a(bh,a8||this.context):null;for(bb=0,a9=this.length;bb<a9;bb++){bg=this[bb];while(bg){if(bf?bf.index(bg)>-1:a.find.matchesSelector(bg,bh)){be.push(bg);break}else{bg=bg.parentNode;if(!bg||!bg.ownerDocument||bg===a8){break}}}}be=be.length>1?a.unique(be):be;return this.pushStack(be,"closest",bh)},index:function(a7){if(!a7||typeof a7==="string"){return a.inArray(this[0],a7?a(a7):this.parent().children())}return a.inArray(a7.jquery?a7[0]:a7,this)},add:function(a7,a8){var ba=typeof a7==="string"?a(a7,a8):a.makeArray(a7),a9=a.merge(this.get(),ba);return this.pushStack(B(ba[0])||B(a9[0])?a9:a.unique(a9))},andSelf:function(){return this.add(this.prevObject)}});function B(a7){return !a7||!a7.parentNode||a7.parentNode.nodeType===11}a.each({parent:function(a8){var a7=a8.parentNode;return a7&&a7.nodeType!==11?a7:null},parents:function(a7){return a.dir(a7,"parentNode")},parentsUntil:function(a8,a7,a9){return a.dir(a8,"parentNode",a9)},next:function(a7){return a.nth(a7,2,"nextSibling")},prev:function(a7){return a.nth(a7,2,"previousSibling")},nextAll:function(a7){return a.dir(a7,"nextSibling")},prevAll:function(a7){return a.dir(a7,"previousSibling")},nextUntil:function(a8,a7,a9){return a.dir(a8,"nextSibling",a9)},prevUntil:function(a8,a7,a9){return a.dir(a8,"previousSibling",a9)},siblings:function(a7){return a.sibling(a7.parentNode.firstChild,a7)},children:function(a7){return a.sibling(a7.firstChild)},contents:function(a7){return a.nodeName(a7,"iframe")?a7.contentDocument||a7.contentWindow.document:a.makeArray(a7.childNodes)}},function(a7,a8){a.fn[a7]=function(bc,a9){var bb=a.map(this,a8,bc),ba=L.call(arguments);if(!T.test(a7)){a9=bc}if(a9&&typeof a9==="string"){bb=a.filter(a9,bb)}bb=this.length>1&&!aj[a7]?a.unique(bb):bb;if((this.length>1||aQ.test(a9))&&ae.test(a7)){bb=bb.reverse()}return this.pushStack(bb,a7,ba.join(","))}});a.extend({filter:function(a9,a7,a8){if(a8){a9=":not("+a9+")"}return a7.length===1?a.find.matchesSelector(a7[0],a9)?[a7[0]]:[]:a.find.matches(a9,a7)},dir:function(a9,a8,bb){var a7=[],ba=a9[a8];while(ba&&ba.nodeType!==9&&(bb===H||ba.nodeType!==1||!a(ba).is(bb))){if(ba.nodeType===1){a7.push(ba)}ba=ba[a8]}return a7},nth:function(bb,a7,a9,ba){a7=a7||1;var a8=0;for(;bb;bb=bb[a9]){if(bb.nodeType===1&&++a8===a7){break}}return bb},sibling:function(a9,a8){var a7=[];for(;a9;a9=a9.nextSibling){if(a9.nodeType===1&&a9!==a8){a7.push(a9)}}return a7}});function ao(ba,a9,a7){if(a.isFunction(a9)){return a.grep(ba,function(bc,bb){var bd=!!a9.call(bc,bb,bc);return bd===a7})}else{if(a9.nodeType){return a.grep(ba,function(bc,bb){return(bc===a9)===a7})}else{if(typeof a9==="string"){var a8=a.grep(ba,function(bb){return bb.nodeType===1});if(a2.test(a9)){return a.filter(a9,a8,!a7)}else{a9=a.filter(a9,a8)}}}}return a.grep(ba,function(bc,bb){return(a.inArray(bc,a9)>=0)===a7})}var Y=/ jQuery\d+="(?:\d+|null)"/g,af=/^\s+/,N=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,c=/<([\w:]+)/,w=/<tbody/i,Q=/<|&#?\w+;/,K=/<(?:script|object|embed|option|style)/i,n=/checked\s*(?:[^=]|=\s*.checked.)/i,ai={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,"",""]};ai.optgroup=ai.option;ai.tbody=ai.tfoot=ai.colgroup=ai.caption=ai.thead;ai.th=ai.td;if(!a.support.htmlSerialize){ai._default=[1,"div<div>","</div>"]}a.fn.extend({text:function(a7){if(a.isFunction(a7)){return this.each(function(a9){var a8=a(this);a8.text(a7.call(this,a9,a8.text()))})}if(typeof a7!=="object"&&a7!==H){return this.empty().append((this[0]&&this[0].ownerDocument||ah).createTextNode(a7))}return a.text(this)},wrapAll:function(a7){if(a.isFunction(a7)){return this.each(function(a9){a(this).wrapAll(a7.call(this,a9))})}if(this[0]){var a8=a(a7,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){a8.insertBefore(this[0])}a8.map(function(){var a9=this;while(a9.firstChild&&a9.firstChild.nodeType===1){a9=a9.firstChild}return a9}).append(this)}return this},wrapInner:function(a7){if(a.isFunction(a7)){return this.each(function(a8){a(this).wrapInner(a7.call(this,a8))})}return this.each(function(){var a8=a(this),a9=a8.contents();if(a9.length){a9.wrapAll(a7)}else{a8.append(a7)}})},wrap:function(a7){return this.each(function(){a(this).wrapAll(a7)})},unwrap:function(){return this.parent().each(function(){if(!a.nodeName(this,"body")){a(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(a7){if(this.nodeType===1){this.appendChild(a7)}})},prepend:function(){return this.domManip(arguments,true,function(a7){if(this.nodeType===1){this.insertBefore(a7,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a8){this.parentNode.insertBefore(a8,this)})}else{if(arguments.length){var a7=a(arguments[0]);a7.push.apply(a7,this.toArray());return this.pushStack(a7,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a8){this.parentNode.insertBefore(a8,this.nextSibling)})}else{if(arguments.length){var a7=this.pushStack(this,"after",arguments);a7.push.apply(a7,a(arguments[0]).toArray());return a7}}},remove:function(a7,ba){for(var a8=0,a9;(a9=this[a8])!=null;a8++){if(!a7||a.filter(a7,[a9]).length){if(!ba&&a9.nodeType===1){a.cleanData(a9.getElementsByTagName("*"));a.cleanData([a9])}if(a9.parentNode){a9.parentNode.removeChild(a9)}}}return this},empty:function(){for(var a7=0,a8;(a8=this[a7])!=null;a7++){if(a8.nodeType===1){a.cleanData(a8.getElementsByTagName("*"))}while(a8.firstChild){a8.removeChild(a8.firstChild)}}return this},clone:function(a8,a7){a8=a8==null?true:a8;a7=a7==null?a8:a7;return this.map(function(){return a.clone(this,a8,a7)})},html:function(a9){if(a9===H){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Y,""):null}else{if(typeof a9==="string"&&!K.test(a9)&&(a.support.leadingWhitespace||!af.test(a9))&&!ai[(c.exec(a9)||["",""])[1].toLowerCase()]){a9=a9.replace(N,"<$1></$2>");try{for(var a8=0,a7=this.length;a8<a7;a8++){if(this[a8].nodeType===1){a.cleanData(this[a8].getElementsByTagName("*"));this[a8].innerHTML=a9}}}catch(ba){this.empty().append(a9)}}else{if(a.isFunction(a9)){this.each(function(bc){var bb=a(this);bb.html(a9.call(this,bc,bb.html()))})}else{this.empty().append(a9)}}}return this},replaceWith:function(a7){if(this[0]&&this[0].parentNode){if(a.isFunction(a7)){return this.each(function(ba){var a9=a(this),a8=a9.html();a9.replaceWith(a7.call(this,ba,a8))})}if(typeof a7!=="string"){a7=a(a7).detach()}return this.each(function(){var a9=this.nextSibling,a8=this.parentNode;a(this).remove();if(a9){a(a9).before(a7)}else{a(a8).append(a7)}})}else{return this.pushStack(a(a.isFunction(a7)?a7():a7),"replaceWith",a7)}},detach:function(a7){return this.remove(a7,true)},domManip:function(be,bi,bh){var ba,bb,bd,bg,bf=be[0],a8=[];if(!a.support.checkClone&&arguments.length===3&&typeof bf==="string"&&n.test(bf)){return this.each(function(){a(this).domManip(be,bi,bh,true)})}if(a.isFunction(bf)){return this.each(function(bk){var bj=a(this);be[0]=bf.call(this,bk,bi?bj.html():H);bj.domManip(be,bi,bh)})}if(this[0]){bg=bf&&bf.parentNode;if(a.support.parentNode&&bg&&bg.nodeType===11&&bg.childNodes.length===this.length){ba={fragment:bg}}else{ba=a.buildFragment(be,this,a8)}bd=ba.fragment;if(bd.childNodes.length===1){bb=bd=bd.firstChild}else{bb=bd.firstChild}if(bb){bi=bi&&a.nodeName(bb,"tr");for(var a9=0,a7=this.length,bc=a7-1;a9<a7;a9++){bh.call(bi?aR(this[a9],bb):this[a9],ba.cacheable||(a7>1&&a9<bc)?a.clone(bd,true,true):bd)}}if(a8.length){a.each(a8,a1)}}return this}});function aR(a7,a8){return a.nodeName(a7,"table")?(a7.getElementsByTagName("tbody")[0]||a7.appendChild(a7.ownerDocument.createElement("tbody"))):a7}function t(a7,be){if(be.nodeType!==1||!a.hasData(a7)){return}var bd=a.expando,ba=a.data(a7),bb=a.data(be,ba);if((ba=ba[bd])){var bf=ba.events;bb=bb[bd]=a.extend({},ba);if(bf){delete bb.handle;bb.events={};for(var bc in bf){for(var a9=0,a8=bf[bc].length;a9<a8;a9++){a.event.add(be,bc,bf[bc][a9],bf[bc][a9].data)}}}}}function Z(a8,a7){if(a7.nodeType!==1){return}var a9=a7.nodeName.toLowerCase();a7.clearAttributes();a7.mergeAttributes(a8);if(a9==="object"){a7.outerHTML=a8.outerHTML}else{if(a9==="input"&&(a8.type==="checkbox"||a8.type==="radio")){if(a8.checked){a7.defaultChecked=a7.checked=a8.checked}if(a7.value!==a8.value){a7.value=a8.value}}else{if(a9==="option"){a7.selected=a8.defaultSelected}else{if(a9==="input"||a9==="textarea"){a7.defaultValue=a8.defaultValue}}}}a7.removeAttribute(a.expando)}a.buildFragment=function(bc,ba,a8){var bb,a7,a9,bd=(ba&&ba[0]?ba[0].ownerDocument||ba[0]:ah);if(bc.length===1&&typeof bc[0]==="string"&&bc[0].length<512&&bd===ah&&bc[0].charAt(0)==="<"&&!K.test(bc[0])&&(a.support.checkClone||!n.test(bc[0]))){a7=true;a9=a.fragments[bc[0]];if(a9){if(a9!==1){bb=a9}}}if(!bb){bb=bd.createDocumentFragment();a.clean(bc,bd,bb,a8)}if(a7){a.fragments[bc[0]]=a9?bb:1}return{fragment:bb,cacheable:a7}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a7,a8){a.fn[a7]=function(a9){var bc=[],bf=a(a9),be=this.length===1&&this[0].parentNode;if(be&&be.nodeType===11&&be.childNodes.length===1&&bf.length===1){bf[a8](this[0]);return this}else{for(var bd=0,ba=bf.length;bd<ba;bd++){var bb=(bd>0?this.clone(true):this).get();a(bf[bd])[a8](bb);bc=bc.concat(bb)}return this.pushStack(bc,a7,bf.selector)}}});a.extend({clone:function(bb,bd,a9){var bc=bb.cloneNode(true),a7,a8,ba;if(!a.support.noCloneEvent&&(bb.nodeType===1||bb.nodeType===11)&&!a.isXMLDoc(bb)){a7=bb.getElementsByTagName("*");a8=bc.getElementsByTagName("*");for(ba=0;a7[ba];++ba){Z(a7[ba],a8[ba])}Z(bb,bc)}if(bd){t(bb,bc);if(a9&&"getElementsByTagName" in bb){a7=bb.getElementsByTagName("*");a8=bc.getElementsByTagName("*");if(a7.length){for(ba=0;a7[ba];++ba){t(a7[ba],a8[ba])}}}}return bc},clean:function(a9,bb,bi,bd){bb=bb||ah;if(typeof bb.createElement==="undefined"){bb=bb.ownerDocument||bb[0]&&bb[0].ownerDocument||ah}var bj=[];for(var bh=0,bc;(bc=a9[bh])!=null;bh++){if(typeof bc==="number"){bc+=""}if(!bc){continue}if(typeof bc==="string"&&!Q.test(bc)){bc=bb.createTextNode(bc)}else{if(typeof bc==="string"){bc=bc.replace(N,"<$1></$2>");var bk=(c.exec(bc)||["",""])[1].toLowerCase(),ba=ai[bk]||ai._default,bg=ba[0],a8=bb.createElement("div");a8.innerHTML=ba[1]+bc+ba[2];while(bg--){a8=a8.lastChild}if(!a.support.tbody){var a7=w.test(bc),bf=bk==="table"&&!a7?a8.firstChild&&a8.firstChild.childNodes:ba[1]==="<table>"&&!a7?a8.childNodes:[];for(var be=bf.length-1;be>=0;--be){if(a.nodeName(bf[be],"tbody")&&!bf[be].childNodes.length){bf[be].parentNode.removeChild(bf[be])}}}if(!a.support.leadingWhitespace&&af.test(bc)){a8.insertBefore(bb.createTextNode(af.exec(bc)[0]),a8.firstChild)}bc=a8.childNodes}}if(bc.nodeType){bj.push(bc)}else{bj=a.merge(bj,bc)}}if(bi){for(bh=0;bj[bh];bh++){if(bd&&a.nodeName(bj[bh],"script")&&(!bj[bh].type||bj[bh].type.toLowerCase()==="text/javascript")){bd.push(bj[bh].parentNode?bj[bh].parentNode.removeChild(bj[bh]):bj[bh])}else{if(bj[bh].nodeType===1){bj.splice.apply(bj,[bh+1,0].concat(a.makeArray(bj[bh].getElementsByTagName("script"))))}bi.appendChild(bj[bh])}}}return bj},cleanData:function(a8){var bb,a9,a7=a.cache,bg=a.expando,be=a.event.special,bd=a.support.deleteExpando;for(var bc=0,ba;(ba=a8[bc])!=null;bc++){if(ba.nodeName&&a.noData[ba.nodeName.toLowerCase()]){continue}a9=ba[a.expando];if(a9){bb=a7[a9]&&a7[a9][bg];if(bb&&bb.events){for(var bf in bb.events){if(be[bf]){a.event.remove(ba,bf)}else{a.removeEvent(ba,bf,bb.handle)}}if(bb.handle){bb.handle.elem=null}}if(bd){delete ba[a.expando]}else{if(ba.removeAttribute){ba.removeAttribute(a.expando)}}delete a7[a9]}}}});function a1(a7,a8){if(a8.src){a.ajax({url:a8.src,async:false,dataType:"script"})}else{a.globalEval(a8.text||a8.textContent||a8.innerHTML||"")}if(a8.parentNode){a8.parentNode.removeChild(a8)}}var aa=/alpha\([^)]*\)/i,ag=/opacity=([^)]*)/,aE=/-([a-z])/ig,z=/([A-Z])/g,aT=/^-?\d+(?:px)?$/i,a0=/^-?\d/,aP={position:"absolute",visibility:"hidden",display:"block"},ac=["Left","Right"],aL=["Top","Bottom"],R,ar,aD,m=function(a7,a8){return a8.toUpperCase()};a.fn.css=function(a7,a8){if(arguments.length===2&&a8===H){return this}return a.access(this,a7,a8,true,function(ba,a9,bb){return bb!==H?a.style(ba,a9,bb):a.css(ba,a9)})};a.extend({cssHooks:{opacity:{get:function(a9,a8){if(a8){var a7=R(a9,"opacity","opacity");return a7===""?"1":a7}else{return a9.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(a9,a8,be,ba){if(!a9||a9.nodeType===3||a9.nodeType===8||!a9.style){return}var bd,bb=a.camelCase(a8),a7=a9.style,bf=a.cssHooks[bb];a8=a.cssProps[bb]||bb;if(be!==H){if(typeof be==="number"&&isNaN(be)||be==null){return}if(typeof be==="number"&&!a.cssNumber[bb]){be+="px"}if(!bf||!("set" in bf)||(be=bf.set(a9,be))!==H){try{a7[a8]=be}catch(bc){}}}else{if(bf&&"get" in bf&&(bd=bf.get(a9,false,ba))!==H){return bd}return a7[a8]}},css:function(bc,bb,a8){var ba,a9=a.camelCase(bb),a7=a.cssHooks[a9];bb=a.cssProps[a9]||a9;if(a7&&"get" in a7&&(ba=a7.get(bc,true,a8))!==H){return ba}else{if(R){return R(bc,bb,a9)}}},swap:function(ba,a9,bb){var a7={};for(var a8 in a9){a7[a8]=ba.style[a8];ba.style[a8]=a9[a8]}bb.call(ba);for(a8 in a9){ba.style[a8]=a7[a8]}},camelCase:function(a7){return a7.replace(aE,m)}});a.curCSS=a.css;a.each(["height","width"],function(a8,a7){a.cssHooks[a7]={get:function(bb,ba,a9){var bc;if(ba){if(bb.offsetWidth!==0){bc=p(bb,a7,a9)}else{a.swap(bb,aP,function(){bc=p(bb,a7,a9)})}if(bc<=0){bc=R(bb,a7,a7);if(bc==="0px"&&aD){bc=aD(bb,a7,a7)}if(bc!=null){return bc===""||bc==="auto"?"0px":bc}}if(bc<0||bc==null){bc=bb.style[a7];return bc===""||bc==="auto"?"0px":bc}return typeof bc==="string"?bc:bc+"px"}},set:function(a9,ba){if(aT.test(ba)){ba=parseFloat(ba);if(ba>=0){return ba+"px"}}else{return ba}}}});if(!a.support.opacity){a.cssHooks.opacity={get:function(a8,a7){return ag.test((a7&&a8.currentStyle?a8.currentStyle.filter:a8.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":a7?"1":""},set:function(ba,bb){var a9=ba.style;a9.zoom=1;var a7=a.isNaN(bb)?"":"alpha(opacity="+bb*100+")",a8=a9.filter||"";a9.filter=aa.test(a8)?a8.replace(aa,a7):a9.filter+" "+a7}}}if(ah.defaultView&&ah.defaultView.getComputedStyle){ar=function(bc,a7,ba){var a9,bb,a8;ba=ba.replace(z,"-$1").toLowerCase();if(!(bb=bc.ownerDocument.defaultView)){return H}if((a8=bb.getComputedStyle(bc,null))){a9=a8.getPropertyValue(ba);if(a9===""&&!a.contains(bc.ownerDocument.documentElement,bc)){a9=a.style(bc,ba)}}return a9}}if(ah.documentElement.currentStyle){aD=function(bb,a9){var bc,a8=bb.currentStyle&&bb.currentStyle[a9],a7=bb.runtimeStyle&&bb.runtimeStyle[a9],ba=bb.style;if(!aT.test(a8)&&a0.test(a8)){bc=ba.left;if(a7){bb.runtimeStyle.left=bb.currentStyle.left}ba.left=a9==="fontSize"?"1em":(a8||0);a8=ba.pixelLeft+"px";ba.left=bc;if(a7){bb.runtimeStyle.left=a7}}return a8===""?"auto":a8}}R=ar||aD;function p(a9,a8,a7){var bb=a8==="width"?ac:aL,ba=a8==="width"?a9.offsetWidth:a9.offsetHeight;if(a7==="border"){return ba}a.each(bb,function(){if(!a7){ba-=parseFloat(a.css(a9,"padding"+this))||0}if(a7==="margin"){ba+=parseFloat(a.css(a9,"margin"+this))||0}else{ba-=parseFloat(a.css(a9,"border"+this+"Width"))||0}});return ba}if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(a9){var a8=a9.offsetWidth,a7=a9.offsetHeight;return(a8===0&&a7===0)||(!a.support.reliableHiddenOffsets&&(a9.style.display||a.css(a9,"display"))==="none")};a.expr.filters.visible=function(a7){return !a.expr.filters.hidden(a7)}}var j=/%20/g,ad=/\[\]$/,a6=/\r?\n/g,a3=/#.*$/,am=/^(.*?):\s*(.*?)\r?$/mg,aH=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,av=/^(?:GET|HEAD)$/,b=/^\/\//,I=/\?/,aO=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,g=/\s+/,a5=/([?&])_=[^&]*/,G=/^(\w+:)\/\/([^\/?#:]+)(?::(\d+))?/,A=a.fn.load,S={},s={};function d(a7){return function(bb,bd){if(typeof bb!=="string"){bd=bb;bb="*"}if(a.isFunction(bd)){var ba=bb.toLowerCase().split(g),a9=0,bc=ba.length,a8,be,bf;for(;a9<bc;a9++){a8=ba[a9];bf=/^\+/.test(a8);if(bf){a8=a8.substr(1)||"*"}be=a7[a8]=a7[a8]||[];be[bf?"unshift":"push"](bd)}}}}function aA(a8,bh,bc,bg,be,ba){be=be||bh.dataTypes[0];ba=ba||{};ba[be]=true;var bd=a8[be],a9=0,a7=bd?bd.length:0,bb=(a8===S),bf;for(;a9<a7&&(bb||!bf);a9++){bf=bd[a9](bh,bc,bg);if(typeof bf==="string"){if(ba[bf]){bf=H}else{bh.dataTypes.unshift(bf);bf=aA(a8,bh,bc,bg,bf,ba)}}}if((bb||!bf)&&!ba["*"]){bf=aA(a8,bh,bc,bg,"*",ba)}return bf}a.fn.extend({load:function(a9,bc,bd){if(typeof a9!=="string"&&A){return A.apply(this,arguments)}else{if(!this.length){return this}}var bb=a9.indexOf(" ");if(bb>=0){var a7=a9.slice(bb,a9.length);a9=a9.slice(0,bb)}var ba="GET";if(bc){if(a.isFunction(bc)){bd=bc;bc=null}else{if(typeof bc==="object"){bc=a.param(bc,a.ajaxSettings.traditional);ba="POST"}}}var a8=this;a.ajax({url:a9,type:ba,dataType:"html",data:bc,complete:function(bg,be,bf){bf=bg.responseText;if(bg.isResolved()){bg.done(function(bh){bf=bh});a8.html(a7?a("<div>").append(bf.replace(aO,"")).find(a7):bf)}if(bd){a8.each(bd,[bf,be,bg])}}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aH.test(this.type))}).map(function(a7,a8){var a9=a(this).val();return a9==null?null:a.isArray(a9)?a.map(a9,function(bb,ba){return{name:a8.name,value:bb.replace(a6,"\r\n")}}):{name:a8.name,value:a9.replace(a6,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a7,a8){a.fn[a8]=function(a9){return this.bind(a8,a9)}});a.each(["get","post"],function(a7,a8){a[a8]=function(a9,bb,bc,ba){if(a.isFunction(bb)){ba=ba||bc;bc=bb;bb=null}return a.ajax({type:a8,url:a9,data:bb,success:bc,dataType:ba})}});a.extend({getScript:function(a7,a8){return a.get(a7,null,a8,"script")},getJSON:function(a7,a8,a9){return a.get(a7,a8,a9,"json")},ajaxSetup:function(a7){a.extend(true,a.ajaxSettings,a7);if(a7.context){a.ajaxSettings.context=a7.context}},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":aS.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:d(S),ajaxTransport:d(s),ajax:function(bb,a8){if(typeof a8!=="object"){a8=bb;bb=H}a8=a8||{};var bf=a.extend(true,{},a.ajaxSettings,a8),bt=(bf.context=("context" in a8?a8:a.ajaxSettings).context)||bf,bj=bt===bf?a.event:a(bt),bs=a.Deferred(),bp=a._Deferred(),bd=bf.statusCode||{},bk={},br,a9,bn,bh,be=ah.location,bg=be.protocol||"http:",bl,bc=0,bm,ba={readyState:0,setRequestHeader:function(bu,bv){if(bc===0){bk[bu.toLowerCase()]=bv}return this},getAllResponseHeaders:function(){return bc===2?br:null},getResponseHeader:function(bv){var bu;if(bc===2){if(!a9){a9={};while((bu=am.exec(br))){a9[bu[1].toLowerCase()]=bu[2]}}bu=a9[bv.toLowerCase()]}return bu||null},abort:function(bu){bu=bu||"abort";if(bn){bn.abort(bu)}bi(0,bu);return this}};function bi(bz,bx,bA,bw){if(bc===2){return}bc=2;if(bh){clearTimeout(bh)}bn=H;br=bw||"";ba.readyState=bz?4:0;var bu,bE,bD,by=bA?aX(bf,ba,bA):H,bv,bC;if(bz>=200&&bz<300||bz===304){if(bf.ifModified){if((bv=ba.getResponseHeader("Last-Modified"))){a.lastModified[bf.url]=bv}if((bC=ba.getResponseHeader("Etag"))){a.etag[bf.url]=bC}}if(bz===304){bx="notmodified";bu=true}else{try{bE=D(bf,by);bx="success";bu=true}catch(bB){bx="parsererror";bD=bB}}}else{bD=bx;if(bz){bx="error";if(bz<0){bz=0}}}ba.status=bz;ba.statusText=bx;if(bu){bs.resolveWith(bt,[bE,bx,ba])}else{bs.rejectWith(bt,[ba,bx,bD])}ba.statusCode(bd);bd=H;if(bf.global){bj.trigger("ajax"+(bu?"Success":"Error"),[ba,bf,bu?bE:bD])}bp.resolveWith(bt,[ba,bx]);if(bf.global){bj.trigger("ajaxComplete",[ba,bf]);if(!(--a.active)){a.event.trigger("ajaxStop")}}}bs.promise(ba);ba.success=ba.done;ba.error=ba.fail;ba.complete=bp.done;ba.statusCode=function(bv){if(bv){var bu;if(bc<2){for(bu in bv){bd[bu]=[bd[bu],bv[bu]]}}else{bu=bv[ba.status];ba.then(bu,bu)}}return this};bf.url=(""+(bb||bf.url)).replace(a3,"").replace(b,bg+"//");bf.dataTypes=a.trim(bf.dataType||"*").toLowerCase().split(g);if(!bf.crossDomain){bl=G.exec(bf.url.toLowerCase());bf.crossDomain=!!(bl&&(bl[1]!=bg||bl[2]!=be.hostname||(bl[3]||(bl[1]==="http:"?80:443))!=(be.port||(bg==="http:"?80:443))))}if(bf.data&&bf.processData&&typeof bf.data!=="string"){bf.data=a.param(bf.data,bf.traditional)}aA(S,bf,a8,ba);bf.type=bf.type.toUpperCase();bf.hasContent=!av.test(bf.type);if(bf.global&&a.active++===0){a.event.trigger("ajaxStart")}if(!bf.hasContent){if(bf.data){bf.url+=(I.test(bf.url)?"&":"?")+bf.data}if(bf.cache===false){var a7=a.now(),bq=bf.url.replace(a5,"$1_="+a7);bf.url=bq+((bq===bf.url)?(I.test(bf.url)?"&":"?")+"_="+a7:"")}}if(bf.data&&bf.hasContent&&bf.contentType!==false||a8.contentType){bk["content-type"]=bf.contentType}if(bf.ifModified){if(a.lastModified[bf.url]){bk["if-modified-since"]=a.lastModified[bf.url]}if(a.etag[bf.url]){bk["if-none-match"]=a.etag[bf.url]}}bk.accept=bf.dataTypes[0]&&bf.accepts[bf.dataTypes[0]]?bf.accepts[bf.dataTypes[0]]+(bf.dataTypes[0]!=="*"?", */*; q=0.01":""):bf.accepts["*"];for(bm in bf.headers){bk[bm.toLowerCase()]=bf.headers[bm]}if(bf.beforeSend&&(bf.beforeSend.call(bt,ba,bf)===false||bc===2)){bi(0,"abort");ba=false}else{for(bm in {success:1,error:1,complete:1}){ba[bm](bf[bm])}bn=aA(s,bf,a8,ba);if(!bn){bi(-1,"No Transport")}else{bc=ba.readyState=1;if(bf.global){bj.trigger("ajaxSend",[ba,bf])}if(bf.async&&bf.timeout>0){bh=setTimeout(function(){ba.abort("timeout")},bf.timeout)}try{bn.send(bk,bi)}catch(bo){if(status<2){bi(-1,bo)}else{a.error(bo)}}}}return ba},param:function(a7,a9){var a8=[],bb=function(bc,bd){bd=a.isFunction(bd)?bd():bd;a8[a8.length]=encodeURIComponent(bc)+"="+encodeURIComponent(bd)};if(a9===H){a9=a.ajaxSettings.traditional}if(a.isArray(a7)||a7.jquery){a.each(a7,function(){bb(this.name,this.value)})}else{for(var ba in a7){v(ba,a7[ba],a9,bb)}}return a8.join("&").replace(j,"+")}});function v(a8,ba,a7,a9){if(a.isArray(ba)&&ba.length){a.each(ba,function(bc,bb){if(a7||ad.test(a8)){a9(a8,bb)}else{v(a8+"["+(typeof bb==="object"||a.isArray(bb)?bc:"")+"]",bb,a7,a9)}})}else{if(!a7&&ba!=null&&typeof ba==="object"){if(a.isArray(ba)||a.isEmptyObject(ba)){a9(a8,"")}else{a.each(ba,function(bc,bb){v(a8+"["+bc+"]",bb,a7,a9)})}}else{a9(a8,ba)}}}a.extend({active:0,lastModified:{},etag:{}});function aX(bg,bf,bc){var a8=bg.contents,be=bg.dataTypes,a9=bg.responseFields,bb,bd,ba,a7;for(bd in a9){if(bd in bc){bf[a9[bd]]=bc[bd]}}while(be[0]==="*"){be.shift();if(bb===H){bb=bf.getResponseHeader("content-type")}}if(bb){for(bd in a8){if(a8[bd]&&a8[bd].test(bb)){be.unshift(bd);break}}}if(be[0] in bc){ba=be[0]}else{for(bd in bc){if(!be[0]||bg.converters[bd+" "+be[0]]){ba=bd;break}if(!a7){a7=bd}}ba=ba||a7}if(ba){if(ba!==be[0]){be.unshift(ba)}return bc[ba]}}function D(bj,bc){if(bj.dataFilter){bc=bj.dataFilter(bc,bj.dataType)}var bg=bj.dataTypes,bi=bj.converters,bd,a9=bg.length,be,bf=bg[0],ba,bb,bh,a8,a7;for(bd=1;bd<a9;bd++){ba=bf;bf=bg[bd];if(bf==="*"){bf=ba}else{if(ba!=="*"&&ba!==bf){bb=ba+" "+bf;bh=bi[bb]||bi["* "+bf];if(!bh){a7=H;for(a8 in bi){be=a8.split(" ");if(be[0]===ba||be[0]==="*"){a7=bi[be[1]+" "+bf];if(a7){a8=bi[a8];if(a8===true){bh=a7}else{if(a7===true){bh=a8}}break}}}}if(!(bh||a7)){a.error("No conversion from "+bb.replace(" "," to "))}if(bh!==true){bc=bh?bh(bc):a7(a8(bc))}}}}return bc}var al=a.now(),u=/(\=)\?(&|$)|()\?\?()/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+(al++)}});a.ajaxPrefilter("json jsonp",function(bf,bc,be){be=(typeof bf.data==="string");if(bf.dataTypes[0]==="jsonp"||bc.jsonpCallback||bc.jsonp!=null||bf.jsonp!==false&&(u.test(bf.url)||be&&u.test(bf.data))){var bd,a9=bf.jsonpCallback=a.isFunction(bf.jsonpCallback)?bf.jsonpCallback():bf.jsonpCallback,bb=aS[a9],a7=bf.url,ba=bf.data,a8="$1"+a9+"$2";if(bf.jsonp!==false){a7=a7.replace(u,a8);if(bf.url===a7){if(be){ba=ba.replace(u,a8)}if(bf.data===ba){a7+=(/\?/.test(a7)?"&":"?")+bf.jsonp+"="+a9}}}bf.url=a7;bf.data=ba;aS[a9]=function(bg){bd=[bg]};bf.complete=[function(){aS[a9]=bb;if(bb){if(bd&&a.isFunction(bb)){aS[a9](bd[0])}}else{try{delete aS[a9]}catch(bg){}}},bf.complete];bf.converters["script json"]=function(){if(!bd){a.error(a9+" was not called")}return bd[0]};bf.dataTypes[0]="json";return"script"}});a.ajaxSetup({accepts:{script:"text/javascript, application/javascript"},contents:{script:/javascript/},converters:{"text script":function(a7){a.globalEval(a7);return a7}}});a.ajaxPrefilter("script",function(a7){if(a7.cache===H){a7.cache=false}if(a7.crossDomain){a7.type="GET";a7.global=false}});a.ajaxTransport("script",function(a9){if(a9.crossDomain){var a7,a8=ah.getElementsByTagName("head")[0]||ah.documentElement;return{send:function(ba,bb){a7=ah.createElement("script");a7.async="async";if(a9.scriptCharset){a7.charset=a9.scriptCharset}a7.src=a9.url;a7.onload=a7.onreadystatechange=function(bd,bc){if(!a7.readyState||/loaded|complete/.test(a7.readyState)){a7.onload=a7.onreadystatechange=null;if(a8&&a7.parentNode){a8.removeChild(a7)}a7=H;if(!bc){bb(200,"success")}}};a8.insertBefore(a7,a8.firstChild)},abort:function(){if(a7){a7.onload(0,1)}}}}});var y=a.now(),aI={},aF,an;a.ajaxSettings.xhr=aS.ActiveXObject?function(){if(aS.location.protocol!=="file:"){try{return new aS.XMLHttpRequest()}catch(a8){}}try{return new aS.ActiveXObject("Microsoft.XMLHTTP")}catch(a7){}}:function(){return new aS.XMLHttpRequest()};try{an=a.ajaxSettings.xhr()}catch(a4){}a.support.ajax=!!an;a.support.cors=an&&("withCredentials" in an);an=H;if(a.support.ajax){a.ajaxTransport(function(a7){if(!a7.crossDomain||a.support.cors){var a8;return{send:function(bd,a9){if(!aF){aF=1;a(aS).bind("unload",function(){a.each(aI,function(be,bf){if(bf.onreadystatechange){bf.onreadystatechange(1)}})})}var bc=a7.xhr(),bb;if(a7.username){bc.open(a7.type,a7.url,a7.async,a7.username,a7.password)}else{bc.open(a7.type,a7.url,a7.async)}if(!(a7.crossDomain&&!a7.hasContent)&&!bd["x-requested-with"]){bd["x-requested-with"]="XMLHttpRequest"}try{a.each(bd,function(be,bf){bc.setRequestHeader(be,bf)})}catch(ba){}bc.send((a7.hasContent&&a7.data)||null);a8=function(bh,bf){if(a8&&(bf||bc.readyState===4)){a8=0;if(bb){bc.onreadystatechange=a.noop;delete aI[bb]}if(bf){if(bc.readyState!==4){bc.abort()}}else{var be=bc.status,bl,bi=bc.getAllResponseHeaders(),bj={},bg=bc.responseXML;if(bg&&bg.documentElement){bj.xml=bg}bj.text=bc.responseText;try{bl=bc.statusText}catch(bk){bl=""}be=be===0?(!a7.crossDomain||bl?(bi?304:0):302):(be==1223?204:be);a9(be,bl,bj,bi)}}};if(!a7.async||bc.readyState===4){a8()}else{bb=y++;aI[bb]=bc;bc.onreadystatechange=a8}},abort:function(){if(a8){a8(0,1)}}}}})}var M={},ak=/^(?:toggle|show|hide)$/,ax=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,aM,aq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(ba,bd,bc){var a9,bb;if(ba||ba===0){return this.animate(aK("show",3),ba,bd,bc)}else{for(var a8=0,a7=this.length;a8<a7;a8++){a9=this[a8];bb=a9.style.display;if(!a._data(a9,"olddisplay")&&bb==="none"){bb=a9.style.display=""}if(bb===""&&a.css(a9,"display")==="none"){a._data(a9,"olddisplay",x(a9.nodeName))}}for(a8=0;a8<a7;a8++){a9=this[a8];bb=a9.style.display;if(bb===""||bb==="none"){a9.style.display=a._data(a9,"olddisplay")||""}}return this}},hide:function(a9,bc,bb){if(a9||a9===0){return this.animate(aK("hide",3),a9,bc,bb)}else{for(var a8=0,a7=this.length;a8<a7;a8++){var ba=a.css(this[a8],"display");if(ba!=="none"&&!a._data(this[a8],"olddisplay")){a._data(this[a8],"olddisplay",ba)}}for(a8=0;a8<a7;a8++){this[a8].style.display="none"}return this}},_toggle:a.fn.toggle,toggle:function(a9,a8,ba){var a7=typeof a9==="boolean";if(a.isFunction(a9)&&a.isFunction(a8)){this._toggle.apply(this,arguments)}else{if(a9==null||a7){this.each(function(){var bb=a7?a9:a(this).is(":hidden");a(this)[bb?"show":"hide"]()})}else{this.animate(aK("toggle",3),a9,a8,ba)}}return this},fadeTo:function(a7,ba,a9,a8){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:ba},a7,a9,a8)},animate:function(bb,a8,ba,a9){var a7=a.speed(a8,ba,a9);if(a.isEmptyObject(bb)){return this.each(a7.complete)}return this[a7.queue===false?"each":"queue"](function(){var be=a.extend({},a7),bi,bf=this.nodeType===1,bg=bf&&a(this).is(":hidden"),bc=this;for(bi in bb){var bd=a.camelCase(bi);if(bi!==bd){bb[bd]=bb[bi];delete bb[bi];bi=bd}if(bb[bi]==="hide"&&bg||bb[bi]==="show"&&!bg){return be.complete.call(this)}if(bf&&(bi==="height"||bi==="width")){be.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none"){if(!a.support.inlineBlockNeedsLayout){this.style.display="inline-block"}else{var bh=x(this.nodeName);if(bh==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}}}if(a.isArray(bb[bi])){(be.specialEasing=be.specialEasing||{})[bi]=bb[bi][1];bb[bi]=bb[bi][0]}}if(be.overflow!=null){this.style.overflow="hidden"}be.curAnim=a.extend({},bb);a.each(bb,function(bk,bo){var bn=new a.fx(bc,be,bk);if(ak.test(bo)){bn[bo==="toggle"?bg?"show":"hide":bo](bb)}else{var bm=ax.exec(bo),bp=bn.cur()||0;if(bm){var bj=parseFloat(bm[2]),bl=bm[3]||"px";if(bl!=="px"){a.style(bc,bk,(bj||1)+bl);bp=((bj||1)/bn.cur())*bp;a.style(bc,bk,bp+bl)}if(bm[1]){bj=((bm[1]==="-="?-1:1)*bj)+bp}bn.custom(bp,bj,bl)}else{bn.custom(bp,bo,"")}}});return true})},stop:function(a8,a7){var a9=a.timers;if(a8){this.queue([])}this.each(function(){for(var ba=a9.length-1;ba>=0;ba--){if(a9[ba].elem===this){if(a7){a9[ba](true)}a9.splice(ba,1)}}});if(!a7){this.dequeue()}return this}});function aK(a8,a7){var a9={};a.each(aq.concat.apply([],aq.slice(0,a7)),function(){a9[this]=a8});return a9}a.each({slideDown:aK("show",1),slideUp:aK("hide",1),slideToggle:aK("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a7,a8){a.fn[a7]=function(a9,bb,ba){return this.animate(a8,a9,bb,ba)}});a.extend({speed:function(a9,ba,a8){var a7=a9&&typeof a9==="object"?a.extend({},a9):{complete:a8||!a8&&ba||a.isFunction(a9)&&a9,duration:a9,easing:a8&&ba||ba&&!a.isFunction(ba)&&ba};a7.duration=a.fx.off?0:typeof a7.duration==="number"?a7.duration:a7.duration in a.fx.speeds?a.fx.speeds[a7.duration]:a.fx.speeds._default;a7.old=a7.complete;a7.complete=function(){if(a7.queue!==false){a(this).dequeue()}if(a.isFunction(a7.old)){a7.old.call(this)}};return a7},easing:{linear:function(a9,ba,a7,a8){return a7+a8*a9},swing:function(a9,ba,a7,a8){return((-Math.cos(a9*Math.PI)/2)+0.5)*a8+a7}},timers:[],fx:function(a8,a7,a9){this.options=a7;this.elem=a8;this.prop=a9;if(!a7.orig){a7.orig={}}}});a.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var a7=parseFloat(a.css(this.elem,this.prop));return a7||0},custom:function(bc,bb,ba){var a7=this,a9=a.fx;this.startTime=a.now();this.start=bc;this.end=bb;this.unit=ba||this.unit||"px";this.now=this.start;this.pos=this.state=0;function a8(bd){return a7.step(bd)}a8.elem=this.elem;if(a8()&&a.timers.push(a8)&&!aM){aM=setInterval(a9.tick,a9.interval)}},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(ba){var bf=a.now(),bb=true;if(ba||bf>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var bc in this.options.curAnim){if(this.options.curAnim[bc]!==true){bb=false}}if(bb){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var a9=this.elem,bg=this.options;a.each(["","X","Y"],function(bh,bi){a9.style["overflow"+bi]=bg.overflow[bh]})}if(this.options.hide){a(this.elem).hide()}if(this.options.hide||this.options.show){for(var a7 in this.options.curAnim){a.style(this.elem,a7,this.options.orig[a7])}}this.options.complete.call(this.elem)}return false}else{var a8=bf-this.startTime;this.state=a8/this.options.duration;var bd=this.options.specialEasing&&this.options.specialEasing[this.prop];var be=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[bd||be](this.state,a8,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};a.extend(a.fx,{tick:function(){var a8=a.timers;for(var a7=0;a7<a8.length;a7++){if(!a8[a7]()){a8.splice(a7--,1)}}if(!a8.length){a.fx.stop()}},interval:13,stop:function(){clearInterval(aM);aM=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a7){a.style(a7.elem,"opacity",a7.now)},_default:function(a7){if(a7.elem.style&&a7.elem.style[a7.prop]!=null){a7.elem.style[a7.prop]=(a7.prop==="width"||a7.prop==="height"?Math.max(0,a7.now):a7.now)+a7.unit}else{a7.elem[a7.prop]=a7.now}}}});if(a.expr&&a.expr.filters){a.expr.filters.animated=function(a7){return a.grep(a.timers,function(a8){return a7===a8.elem}).length}}function x(a9){if(!M[a9]){var a7=a("<"+a9+">").appendTo("body"),a8=a7.css("display");a7.remove();if(a8==="none"||a8===""){a8="block"}M[a9]=a8}return M[a9]}var P=/^t(?:able|d|h)$/i,V=/^(?:body|html)$/i;if("getBoundingClientRect" in ah.documentElement){a.fn.offset=function(bk){var ba=this[0],bd;if(bk){return this.each(function(bl){a.offset.setOffset(this,bk,bl)})}if(!ba||!ba.ownerDocument){return null}if(ba===ba.ownerDocument.body){return a.offset.bodyOffset(ba)}try{bd=ba.getBoundingClientRect()}catch(bh){}var bj=ba.ownerDocument,a8=bj.documentElement;if(!bd||!a.contains(a8,ba)){return bd?{top:bd.top,left:bd.left}:{top:0,left:0}}var be=bj.body,bf=at(bj),bc=a8.clientTop||be.clientTop||0,bg=a8.clientLeft||be.clientLeft||0,a7=(bf.pageYOffset||a.support.boxModel&&a8.scrollTop||be.scrollTop),bb=(bf.pageXOffset||a.support.boxModel&&a8.scrollLeft||be.scrollLeft),bi=bd.top+a7-bc,a9=bd.left+bb-bg;return{top:bi,left:a9}}}else{a.fn.offset=function(bi){var bc=this[0];if(bi){return this.each(function(bj){a.offset.setOffset(this,bi,bj)})}if(!bc||!bc.ownerDocument){return null}if(bc===bc.ownerDocument.body){return a.offset.bodyOffset(bc)}a.offset.initialize();var bf,a9=bc.offsetParent,a8=bc,bh=bc.ownerDocument,ba=bh.documentElement,bd=bh.body,be=bh.defaultView,a7=be?be.getComputedStyle(bc,null):bc.currentStyle,bg=bc.offsetTop,bb=bc.offsetLeft;while((bc=bc.parentNode)&&bc!==bd&&bc!==ba){if(a.offset.supportsFixedPosition&&a7.position==="fixed"){break}bf=be?be.getComputedStyle(bc,null):bc.currentStyle;bg-=bc.scrollTop;bb-=bc.scrollLeft;if(bc===a9){bg+=bc.offsetTop;bb+=bc.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&P.test(bc.nodeName))){bg+=parseFloat(bf.borderTopWidth)||0;bb+=parseFloat(bf.borderLeftWidth)||0}a8=a9;a9=bc.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&bf.overflow!=="visible"){bg+=parseFloat(bf.borderTopWidth)||0;bb+=parseFloat(bf.borderLeftWidth)||0}a7=bf}if(a7.position==="relative"||a7.position==="static"){bg+=bd.offsetTop;bb+=bd.offsetLeft}if(a.offset.supportsFixedPosition&&a7.position==="fixed"){bg+=Math.max(ba.scrollTop,bd.scrollTop);bb+=Math.max(ba.scrollLeft,bd.scrollLeft)}return{top:bg,left:bb}}}a.offset={initialize:function(){var a7=ah.body,a8=ah.createElement("div"),bb,bd,bc,be,a9=parseFloat(a.css(a7,"marginTop"))||0,ba="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.extend(a8.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});a8.innerHTML=ba;a7.insertBefore(a8,a7.firstChild);bb=a8.firstChild;bd=bb.firstChild;be=bb.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bd.offsetTop!==5);this.doesAddBorderForTableAndCells=(be.offsetTop===5);bd.style.position="fixed";bd.style.top="20px";this.supportsFixedPosition=(bd.offsetTop===20||bd.offsetTop===15);bd.style.position=bd.style.top="";bb.style.overflow="hidden";bb.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bd.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(a7.offsetTop!==a9);a7.removeChild(a8);a7=a8=bb=bd=bc=be=null;a.offset.initialize=a.noop},bodyOffset:function(a7){var a9=a7.offsetTop,a8=a7.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){a9+=parseFloat(a.css(a7,"marginTop"))||0;a8+=parseFloat(a.css(a7,"marginLeft"))||0}return{top:a9,left:a8}},setOffset:function(ba,bj,bd){var be=a.css(ba,"position");if(be==="static"){ba.style.position="relative"}var bc=a(ba),a8=bc.offset(),a7=a.css(ba,"top"),bh=a.css(ba,"left"),bi=(be==="absolute"&&a.inArray("auto",[a7,bh])>-1),bg={},bf={},a9,bb;if(bi){bf=bc.position()}a9=bi?bf.top:parseInt(a7,10)||0;bb=bi?bf.left:parseInt(bh,10)||0;if(a.isFunction(bj)){bj=bj.call(ba,bd,a8)}if(bj.top!=null){bg.top=(bj.top-a8.top)+a9}if(bj.left!=null){bg.left=(bj.left-a8.left)+bb}if("using" in bj){bj.using.call(ba,bg)}else{bc.css(bg)}}};a.fn.extend({position:function(){if(!this[0]){return null}var a9=this[0],a8=this.offsetParent(),ba=this.offset(),a7=V.test(a8[0].nodeName)?{top:0,left:0}:a8.offset();ba.top-=parseFloat(a.css(a9,"marginTop"))||0;ba.left-=parseFloat(a.css(a9,"marginLeft"))||0;a7.top+=parseFloat(a.css(a8[0],"borderTopWidth"))||0;a7.left+=parseFloat(a.css(a8[0],"borderLeftWidth"))||0;return{top:ba.top-a7.top,left:ba.left-a7.left}},offsetParent:function(){return this.map(function(){var a7=this.offsetParent||ah.body;while(a7&&(!V.test(a7.nodeName)&&a.css(a7,"position")==="static")){a7=a7.offsetParent}return a7})}});a.each(["Left","Top"],function(a8,a7){var a9="scroll"+a7;a.fn[a9]=function(bc){var ba=this[0],bb;if(!ba){return null}if(bc!==H){return this.each(function(){bb=at(this);if(bb){bb.scrollTo(!a8?bc:a(bb).scrollLeft(),a8?bc:a(bb).scrollTop())}else{this[a9]=bc}})}else{bb=at(ba);return bb?("pageXOffset" in bb)?bb[a8?"pageYOffset":"pageXOffset"]:a.support.boxModel&&bb.document.documentElement[a9]||bb.document.body[a9]:ba[a9]}}});function at(a7){return a.isWindow(a7)?a7:a7.nodeType===9?a7.defaultView||a7.parentWindow:false}a.each(["Height","Width"],function(a8,a7){var a9=a7.toLowerCase();a.fn["inner"+a7]=function(){return this[0]?parseFloat(a.css(this[0],a9,"padding")):null};a.fn["outer"+a7]=function(ba){return this[0]?parseFloat(a.css(this[0],a9,ba?"margin":"border")):null};a.fn[a9]=function(bb){var bc=this[0];if(!bc){return bb==null?null:this}if(a.isFunction(bb)){return this.each(function(bg){var bf=a(this);bf[a9](bb.call(this,bg,bf[a9]()))})}if(a.isWindow(bc)){var bd=bc.document.documentElement["client"+a7];return bc.document.compatMode==="CSS1Compat"&&bd||bc.document.body["client"+a7]||bd}else{if(bc.nodeType===9){return Math.max(bc.documentElement["client"+a7],bc.body["scroll"+a7],bc.documentElement["scroll"+a7],bc.body["offset"+a7],bc.documentElement["offset"+a7])}else{if(bb===H){var be=a.css(bc,a9),ba=parseFloat(be);return a.isNaN(ba)?be:ba}else{return this.css(a9,typeof bb==="string"?bb:bb+"px")}}}}})})(window);(function(){this.MooTools={version:"1.3",build:"a3eed692dd85050d80168ec2c708efe901bb7db3"};var f=this.typeOf=function(w){if(w==null){return"null"}if(w.$family){return w.$family()}if(w.nodeName){if(w.nodeType==1){return"element"}if(w.nodeType==3){return(/\S/).test(w.nodeValue)?"textnode":"whitespace"}}else{if(typeof w.length=="number"){if(w.callee){return"arguments"}if("item" in w){return"collection"}}}return typeof w};var v=this.instanceOf=function(y,w){if(y==null){return false}var x=y.$constructor||y.constructor;while(x){if(x===w){return true}x=x.parent}return y instanceof w};var g=this.Function;var s=true;for(var q in {toString:1}){s=null}if(s){s=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"]}g.prototype.overloadSetter=function(x){var w=this;return function(z,y){if(z==null){return this}if(x||typeof z!="string"){for(var A in z){w.call(this,A,z[A])}if(s){for(var B=s.length;B--;){A=s[B];if(z.hasOwnProperty(A)){w.call(this,A,z[A])}}}}else{w.call(this,z,y)}return this}};g.prototype.overloadGetter=function(x){var w=this;return function(z){var A,y;if(x||typeof z!="string"){A=z}else{if(arguments.length>1){A=arguments}}if(A){y={};for(var B=0;B<A.length;B++){y[A[B]]=w.call(this,A[B])}}else{y=w.call(this,z)}return y}};g.prototype.extend=function(w,x){this[w]=x}.overloadSetter();g.prototype.implement=function(w,x){this.prototype[w]=x}.overloadSetter();var o=Array.prototype.slice;g.from=function(w){return(f(w)=="function")?w:function(){return w}};Array.from=function(w){if(w==null){return[]}return(l.isEnumerable(w)&&typeof w!="string")?(f(w)=="array")?w:o.call(w):[w]};Number.from=function(x){var w=parseFloat(x);return isFinite(w)?w:null};String.from=function(w){return w+""};g.implement({hide:function(){this.$hidden=true;return this},protect:function(){this.$protected=true;return this}});var l=this.Type=function(z,y){if(z){var x=z.toLowerCase();var w=function(A){return(f(A)==x)};l["is"+z]=w;if(y!=null){y.prototype.$family=(function(){return x}).hide();y.type=w}}if(y==null){return null}y.extend(this);y.$constructor=l;y.prototype.$constructor=y;return y};var p=Object.prototype.toString;l.isEnumerable=function(w){return(w!=null&&typeof w.length=="number"&&p.call(w)!="[object Function]")};var b={};var d=function(w){var x=f(w.prototype);return b[x]||(b[x]=[])};var j=function(x,B){if(B&&B.$hidden){return this}var w=d(this);for(var y=0;y<w.length;y++){var A=w[y];if(f(A)=="type"){j.call(A,x,B)}else{A.call(this,x,B)}}var z=this.prototype[x];if(z==null||!z.$protected){this.prototype[x]=B}if(this[x]==null&&f(B)=="function"){u.call(this,x,function(C){return B.apply(C,o.call(arguments,1))})}return this};var u=function(w,y){if(y&&y.$hidden){return this}var x=this[w];if(x==null||!x.$protected){this[w]=y}return this};l.implement({implement:j.overloadSetter(),extend:u.overloadSetter(),alias:function(w,x){j.call(this,w,this.prototype[x])}.overloadSetter(),mirror:function(w){d(this).push(w);return this}});new l("Type",l);var c=function(w,A,y){var x=(A!=Object),E=A.prototype;if(x){A=new l(w,A)}for(var B=0,z=y.length;B<z;B++){var F=y[B],D=A[F],C=E[F];if(D){D.protect()}if(x&&C){delete E[F];E[F]=C.protect()}}if(x){A.implement(E)}return c};c("String",String,["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","quote","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase"])("Array",Array,["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice","indexOf","lastIndexOf","filter","forEach","every","map","some","reduce","reduceRight"])("Number",Number,["toExponential","toFixed","toLocaleString","toPrecision"])("Function",g,["apply","call","bind"])("RegExp",RegExp,["exec","test"])("Object",Object,["create","defineProperty","defineProperties","keys","getPrototypeOf","getOwnPropertyDescriptor","getOwnPropertyNames","preventExtensions","isExtensible","seal","isSealed","freeze","isFrozen"])("Date",Date,["now"]);Object.extend=u.overloadSetter();Date.extend("now",function(){return +(new Date)});new l("Boolean",Boolean);Number.prototype.$family=function(){return isFinite(this)?"number":"null"}.hide();Number.extend("random",function(x,w){return Math.floor(Math.random()*(w-x+1)+x)});Object.extend("forEach",function(w,y,z){for(var x in w){if(w.hasOwnProperty(x)){y.call(z,w[x],x,w)}}});Object.each=Object.forEach;Array.implement({forEach:function(y,z){for(var x=0,w=this.length;x<w;x++){if(x in this){y.call(z,this[x],x,this)}}},each:function(w,x){Array.forEach(this,w,x);return this}});var t=function(w){switch(f(w)){case"array":return w.clone();case"object":return Object.clone(w);default:return w}};Array.implement("clone",function(){var w=this.length,x=new Array(w);while(w--){x[w]=t(this[w])}return x});var a=function(x,w,y){switch(f(y)){case"object":if(f(x[w])=="object"){Object.merge(x[w],y)}else{x[w]=Object.clone(y)}break;case"array":x[w]=y.clone();break;default:x[w]=y}return x};Object.extend({merge:function(C,y,x){if(f(y)=="string"){return a(C,y,x)}for(var B=1,w=arguments.length;B<w;B++){var z=arguments[B];for(var A in z){a(C,A,z[A])}}return C},clone:function(w){var y={};for(var x in w){y[x]=t(w[x])}return y},append:function(A){for(var z=1,x=arguments.length;z<x;z++){var w=arguments[z]||{};for(var y in w){A[y]=w[y]}}return A}});["Object","WhiteSpace","TextNode","Collection","Arguments"].each(function(w){new l(w)});var k=Date.now();String.extend("uniqueID",function(){return(k++).toString(36)});var h=this.Hash=new l("Hash",function(w){if(f(w)=="hash"){w=Object.clone(w.getClean())}for(var x in w){this[x]=w[x]}return this});h.implement({forEach:function(w,x){Object.forEach(this,w,x)},getClean:function(){var x={};for(var w in this){if(this.hasOwnProperty(w)){x[w]=this[w]}}return x},getLength:function(){var x=0;for(var w in this){if(this.hasOwnProperty(w)){x++}}return x}});h.alias("each","forEach");Object.type=l.isObject;var n=this.Native=function(w){return new l(w.name,w.initialize)};n.type=l.type;n.implement=function(y,w){for(var x=0;x<y.length;x++){y[x].implement(w)}return n};var m=Array.type;Array.type=function(w){return v(w,Array)||m(w)};this.$A=function(w){return Array.from(w).slice()};this.$arguments=function(w){return function(){return arguments[w]}};this.$chk=function(w){return !!(w||w===0)};this.$clear=function(w){clearTimeout(w);clearInterval(w);return null};this.$defined=function(w){return(w!=null)};this.$each=function(y,x,z){var w=f(y);((w=="arguments"||w=="collection"||w=="array"||w=="elements")?Array:Object).each(y,x,z)};this.$empty=function(){};this.$extend=function(x,w){return Object.append(x,w)};this.$H=function(w){return new h(w)};this.$merge=function(){var w=Array.slice(arguments);w.unshift({});return Object.merge.apply(null,w)};this.$lambda=g.from;this.$mixin=Object.merge;this.$random=Number.random;this.$splat=Array.from;this.$time=Date.now;this.$type=function(w){var x=f(w);if(x=="elements"){return"array"}return(x=="null")?false:x};this.$unlink=function(w){switch(f(w)){case"object":return Object.clone(w);case"array":return Array.clone(w);case"hash":return new h(w);default:return w}}})();Array.implement({invoke:function(a){var b=Array.slice(arguments,1);return this.map(function(c){return c[a].apply(c,b)})},every:function(c,d){for(var b=0,a=this.length;b<a;b++){if((b in this)&&!c.call(d,this[b],b,this)){return false}}return true},filter:function(d,f){var c=[];for(var b=0,a=this.length;b<a;b++){if((b in this)&&d.call(f,this[b],b,this)){c.push(this[b])}}return c},clean:function(){return this.filter(function(a){return a!=null})},indexOf:function(c,d){var a=this.length;for(var b=(d<0)?Math.max(0,a+d):d||0;b<a;b++){if(this[b]===c){return b}}return -1},map:function(d,f){var c=[];for(var b=0,a=this.length;b<a;b++){if(b in this){c[b]=d.call(f,this[b],b,this)}}return c},some:function(c,d){for(var b=0,a=this.length;b<a;b++){if((b in this)&&c.call(d,this[b],b,this)){return true}}return false},associate:function(c){var d={},b=Math.min(this.length,c.length);for(var a=0;a<b;a++){d[c[a]]=this[a]}return d},link:function(c){var a={};for(var f=0,b=this.length;f<b;f++){for(var d in c){if(c[d](this[f])){a[d]=this[f];delete c[d];break}}}return a},contains:function(a,b){return this.indexOf(a,b)!=-1},append:function(a){this.push.apply(this,a);return this},getLast:function(){return(this.length)?this[this.length-1]:null},getRandom:function(){return(this.length)?this[Number.random(0,this.length-1)]:null},include:function(a){if(!this.contains(a)){this.push(a)}return this},combine:function(c){for(var b=0,a=c.length;b<a;b++){this.include(c[b])}return this},erase:function(b){for(var a=this.length;a--;){if(this[a]===b){this.splice(a,1)}}return this},empty:function(){this.length=0;return this},flatten:function(){var d=[];for(var b=0,a=this.length;b<a;b++){var c=typeOf(this[b]);if(c=="null"){continue}d=d.concat((c=="array"||c=="collection"||c=="arguments"||instanceOf(this[b],Array))?Array.flatten(this[b]):this[b])}return d},pick:function(){for(var b=0,a=this.length;b<a;b++){if(this[b]!=null){return this[b]}}return null},hexToRgb:function(b){if(this.length!=3){return null}var a=this.map(function(c){if(c.length==1){c+=c}return c.toInt(16)});return(b)?a:"rgb("+a+")"},rgbToHex:function(d){if(this.length<3){return null}if(this.length==4&&this[3]==0&&!d){return"transparent"}var b=[];for(var a=0;a<3;a++){var c=(this[a]-0).toString(16);b.push((c.length==1)?"0"+c:c)}return(d)?b:"#"+b.join("")}});Array.alias("extend","append");var $pick=function(){return Array.from(arguments).pick()};String.implement({test:function(a,b){return((typeOf(a)=="regexp")?a:new RegExp(""+a,b)).test(this)},contains:function(a,b){return(b)?(b+this+b).indexOf(b+a+b)>-1:this.indexOf(a)>-1},trim:function(){return this.replace(/^\s+|\s+$/g,"")},clean:function(){return this.replace(/\s+/g," ").trim()},camelCase:function(){return this.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase()})},hyphenate:function(){return this.replace(/[A-Z]/g,function(a){return("-"+a.charAt(0).toLowerCase())})},capitalize:function(){return this.replace(/\b[a-z]/g,function(a){return a.toUpperCase()})},escapeRegExp:function(){return this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},toInt:function(a){return parseInt(this,a||10)},toFloat:function(){return parseFloat(this)},hexToRgb:function(b){var a=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);return(a)?a.slice(1).hexToRgb(b):null},rgbToHex:function(b){var a=this.match(/\d{1,3}/g);return(a)?a.rgbToHex(b):null},substitute:function(a,b){return this.replace(b||(/\\?\{([^{}]+)\}/g),function(d,c){if(d.charAt(0)=="\\"){return d.slice(1)}return(a[c]!=null)?a[c]:""})}});Number.implement({limit:function(b,a){return Math.min(a,Math.max(b,this))},round:function(a){a=Math.pow(10,a||0).toFixed(a<0?-a:0);return Math.round(this*a)/a},times:function(b,c){for(var a=0;a<this;a++){b.call(c,a,this)}},toFloat:function(){return parseFloat(this)},toInt:function(a){return parseInt(this,a||10)}});Number.alias("each","times");(function(b){var a={};b.each(function(c){if(!Number[c]){a[c]=function(){return Math[c].apply(null,[this].concat(Array.from(arguments)))}}});Number.implement(a)})(["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"]);Function.extend({attempt:function(){for(var b=0,a=arguments.length;b<a;b++){try{return arguments[b]()}catch(c){}}return null}});Function.implement({attempt:function(a,c){try{return this.apply(c,Array.from(a))}catch(b){}return null},bind:function(c){var a=this,b=(arguments.length>1)?Array.slice(arguments,1):null;return function(){if(!b&&!arguments.length){return a.call(c)}if(b&&arguments.length){return a.apply(c,b.concat(Array.from(arguments)))}return a.apply(c,b||arguments)}},pass:function(b,c){var a=this;if(b!=null){b=Array.from(b)}return function(){return a.apply(c,b||arguments)}},delay:function(b,c,a){return setTimeout(this.pass(a,c),b)},periodical:function(c,b,a){return setInterval(this.pass(a,b),c)}});delete Function.prototype.bind;Function.implement({create:function(b){var a=this;b=b||{};return function(d){var c=b.arguments;c=(c!=null)?Array.from(c):Array.slice(arguments,(b.event)?1:0);if(b.event){c=[d||window.event].extend(c)}var f=function(){return a.apply(b.bind||null,c)};if(b.delay){return setTimeout(f,b.delay)}if(b.periodical){return setInterval(f,b.periodical)}if(b.attempt){return Function.attempt(f)}return f()}},bind:function(c,b){var a=this;if(b!=null){b=Array.from(b)}return function(){return a.apply(c,b||arguments)}},bindWithEvent:function(c,b){var a=this;if(b!=null){b=Array.from(b)}return function(d){return a.apply(c,(b==null)?arguments:[d].concat(b))}},run:function(a,b){return this.apply(b,Array.from(a))}});var $try=Function.attempt;Object.extend({subset:function(c,g){var f={};for(var d=0,a=g.length;d<a;d++){var b=g[d];f[b]=c[b]}return f},map:function(a,d,f){var c={};for(var b in a){if(a.hasOwnProperty(b)){c[b]=d.call(f,a[b],b,a)}}return c},filter:function(a,c,d){var b={};Object.each(a,function(g,f){if(c.call(d,g,f,a)){b[f]=g}});return b},every:function(a,c,d){for(var b in a){if(a.hasOwnProperty(b)&&!c.call(d,a[b],b)){return false}}return true},some:function(a,c,d){for(var b in a){if(a.hasOwnProperty(b)&&c.call(d,a[b],b)){return true}}return false},keys:function(a){var c=[];for(var b in a){if(a.hasOwnProperty(b)){c.push(b)}}return c},values:function(b){var a=[];for(var c in b){if(b.hasOwnProperty(c)){a.push(b[c])}}return a},getLength:function(a){return Object.keys(a).length},keyOf:function(a,c){for(var b in a){if(a.hasOwnProperty(b)&&a[b]===c){return b}}return null},contains:function(a,b){return Object.keyOf(a,b)!=null},toQueryString:function(a,b){var c=[];Object.each(a,function(h,g){if(b){g=b+"["+g+"]"}var f;switch(typeOf(h)){case"object":f=Object.toQueryString(h,g);break;case"array":var d={};h.each(function(k,j){d[j]=k});f=Object.toQueryString(d,g);break;default:f=g+"="+encodeURIComponent(h)}if(h!=null){c.push(f)}});return c.join("&")}});Hash.implement({has:Object.prototype.hasOwnProperty,keyOf:function(a){return Object.keyOf(this,a)},hasValue:function(a){return Object.contains(this,a)},extend:function(a){Hash.each(a||{},function(c,b){Hash.set(this,b,c)},this);return this},combine:function(a){Hash.each(a||{},function(c,b){Hash.include(this,b,c)},this);return this},erase:function(a){if(this.hasOwnProperty(a)){delete this[a]}return this},get:function(a){return(this.hasOwnProperty(a))?this[a]:null},set:function(a,b){if(!this[a]||this.hasOwnProperty(a)){this[a]=b}return this},empty:function(){Hash.each(this,function(b,a){delete this[a]},this);return this},include:function(a,b){if(this[a]==null){this[a]=b}return this},map:function(a,b){return new Hash(Object.map(this,a,b))},filter:function(a,b){return new Hash(Object.filter(this,a,b))},every:function(a,b){return Object.every(this,a,b)},some:function(a,b){return Object.some(this,a,b)},getKeys:function(){return Object.keys(this)},getValues:function(){return Object.values(this)},toQueryString:function(a){return Object.toQueryString(this,a)}});Hash.extend=Object.append;Hash.alias({indexOf:"keyOf",contains:"hasValue"});(function(){var m=this.document;var k=m.window=this;var b=1;this.$uid=(k.ActiveXObject)?function(s){return(s.uid||(s.uid=[b++]))[0]}:function(s){return s.uid||(s.uid=b++)};$uid(k);$uid(m);var a=navigator.userAgent.toLowerCase(),c=navigator.platform.toLowerCase(),l=a.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0],g=l[1]=="ie"&&m.documentMode;var q=this.Browser={extend:Function.prototype.extend,name:(l[1]=="version")?l[3]:l[1],version:g||parseFloat((l[1]=="opera"&&l[4])?l[4]:l[2]),Platform:{name:a.match(/ip(?:ad|od|hone)/)?"ios":(a.match(/(?:webos|android)/)||c.match(/mac|win|linux/)||["other"])[0]},Features:{xpath:!!(m.evaluate),air:!!(k.runtime),query:!!(m.querySelector),json:!!(k.JSON)},Plugins:{}};q[q.name]=true;q[q.name+parseInt(q.version,10)]=true;q.Platform[q.Platform.name]=true;q.Request=(function(){var u=function(){return new XMLHttpRequest()};var t=function(){return new ActiveXObject("MSXML2.XMLHTTP")};var s=function(){return new ActiveXObject("Microsoft.XMLHTTP")};return Function.attempt(function(){u();return u},function(){t();return t},function(){s();return s})})();q.Features.xhr=!!(q.Request);var j=(Function.attempt(function(){return navigator.plugins["Shockwave Flash"].description},function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")})||"0 r0").match(/\d+/g);q.Plugins.Flash={version:Number(j[0]||"0."+j[1])||0,build:Number(j[2])||0};q.exec=function(t){if(!t){return t}if(k.execScript){k.execScript(t)}else{var s=m.createElement("script");s.setAttribute("type","text/javascript");s.text=t;m.head.appendChild(s);m.head.removeChild(s)}return t};String.implement("stripScripts",function(t){var s="";var u=this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(v,w){s+=w+"\n";return""});if(t===true){q.exec(s)}else{if(typeOf(t)=="function"){t(s,u)}}return u});q.extend({Document:this.Document,Window:this.Window,Element:this.Element,Event:this.Event});this.Window=this.$constructor=new Type("Window",function(){});this.$family=Function.from("window").hide();Window.mirror(function(s,t){k[s]=t});this.Document=m.$constructor=new Type("Document",function(){});m.$family=Function.from("document").hide();Document.mirror(function(s,t){m[s]=t});m.html=m.documentElement;m.head=m.getElementsByTagName("head")[0];if(m.execCommand){try{m.execCommand("BackgroundImageCache",false,true)}catch(h){}}if(this.attachEvent&&!this.addEventListener){var d=function(){this.detachEvent("onunload",d);m.head=m.html=m.window=null};this.attachEvent("onunload",d)}var o=Array.from;try{o(m.html.childNodes)}catch(h){Array.from=function(t){if(typeof t!="string"&&Type.isEnumerable(t)&&typeOf(t)!="array"){var s=t.length,u=new Array(s);while(s--){u[s]=t[s]}return u}return o(t)};var n=Array.prototype,p=n.slice;["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice"].each(function(s){var t=n[s];Array[s]=function(u){return t.apply(Array.from(u),p.call(arguments,1))}})}if(q.Platform.ios){q.Platform.ipod=true}q.Engine={};var f=function(t,s){q.Engine.name=t;q.Engine[t+s]=true;q.Engine.version=s};if(q.ie){q.Engine.trident=true;switch(q.version){case 6:f("trident",4);break;case 7:f("trident",5);break;case 8:f("trident",6)}}if(q.firefox){q.Engine.gecko=true;if(q.version>=3){f("gecko",19)}else{f("gecko",18)}}if(q.safari||q.chrome){q.Engine.webkit=true;switch(q.version){case 2:f("webkit",419);break;case 3:f("webkit",420);break;case 4:f("webkit",525)}}if(q.opera){q.Engine.presto=true;if(q.version>=9.6){f("presto",960)}else{if(q.version>=9.5){f("presto",950)}else{f("presto",925)}}}if(q.name=="unknown"){switch((a.match(/(?:webkit|khtml|gecko)/)||[])[0]){case"webkit":case"khtml":q.Engine.webkit=true;break;case"gecko":q.Engine.gecko=true}}this.$exec=q.exec})();var Event=new Type("Event",function(a,k){if(!k){k=window}var q=k.document;a=a||k.event;if(a.$extended){return a}this.$extended=true;var p=a.type,m=a.target||a.srcElement,o={},c={};while(m&&m.nodeType==3){m=m.parentNode}if(p.indexOf("key")!=-1){var b=a.which||a.keyCode;var t=Object.keyOf(Event.Keys,b);if(p=="keydown"){var d=b-111;if(d>0&&d<13){t="f"+d}}if(!t){t=String.fromCharCode(b).toLowerCase()}}else{if(p.test(/click|mouse|menu/i)){q=(!q.compatMode||q.compatMode=="CSS1Compat")?q.html:q.body;o={x:(a.pageX!=null)?a.pageX:a.clientX+q.scrollLeft,y:(a.pageY!=null)?a.pageY:a.clientY+q.scrollTop};c={x:(a.pageX!=null)?a.pageX-k.pageXOffset:a.clientX,y:(a.pageY!=null)?a.pageY-k.pageYOffset:a.clientY};if(p.test(/DOMMouseScroll|mousewheel/)){var n=(a.wheelDelta)?a.wheelDelta/120:-(a.detail||0)/3}var j=(a.which==3)||(a.button==2),s=null;if(p.test(/over|out/)){s=a.relatedTarget||a[(p=="mouseover"?"from":"to")+"Element"];var l=function(){while(s&&s.nodeType==3){s=s.parentNode}return true};var h=(Browser.firefox2)?l.attempt():l();s=(h)?s:null}}else{if(p.test(/gesture|touch/i)){this.rotation=a.rotation;this.scale=a.scale;this.targetTouches=a.targetTouches;this.changedTouches=a.changedTouches;var g=this.touches=a.touches;if(g&&g[0]){var f=g[0];o={x:f.pageX,y:f.pageY};c={x:f.clientX,y:f.clientY}}}}}return Object.append(this,{event:a,type:p,page:o,client:c,rightClick:j,wheel:n,relatedTarget:document.id(s),target:document.id(m),code:b,key:t,shift:a.shiftKey,control:a.ctrlKey,alt:a.altKey,meta:a.metaKey})});Event.Keys={enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46};Event.Keys=new Hash(Event.Keys);Event.implement({stop:function(){return this.stopPropagation().preventDefault()},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation()}else{this.event.cancelBubble=true}return this},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault()}else{this.event.returnValue=false}return this}});(function(){var a=this.Class=new Type("Class",function(j){if(instanceOf(j,Function)){j={initialize:j}}var h=function(){f(this);if(h.$prototyping){return this}this.$caller=null;var k=(this.initialize)?this.initialize.apply(this,arguments):this;this.$caller=this.caller=null;return k}.extend(this).implement(j);h.$constructor=a;h.prototype.$constructor=h;h.prototype.parent=c;return h});var c=function(){if(!this.$caller){throw new Error('The method "parent" cannot be called.')}var h=this.$caller.$name,j=this.$caller.$owner.parent,k=(j)?j.prototype[h]:null;if(!k){throw new Error('The method "'+h+'" has no parent.')}return k.apply(this,arguments)};var f=function(h){for(var j in h){var l=h[j];switch(typeOf(l)){case"object":var k=function(){};k.prototype=l;h[j]=f(new k);break;case"array":h[j]=l.clone();break}}return h};var b=function(h,j,l){if(l.$origin){l=l.$origin}var k=function(){if(l.$protected&&this.$caller==null){throw new Error('The method "'+j+'" cannot be called.')}var n=this.caller,o=this.$caller;this.caller=o;this.$caller=k;var m=l.apply(this,arguments);this.$caller=o;this.caller=n;return m}.extend({$owner:h,$origin:l,$name:j});return k};var g=function(j,k,h){if(a.Mutators.hasOwnProperty(j)){k=a.Mutators[j].call(this,k);if(k==null){return this}}if(typeOf(k)=="function"){if(k.$hidden){return this}this.prototype[j]=(h)?k:b(this,j,k)}else{Object.merge(this.prototype,j,k)}return this};var d=function(h){h.$prototyping=true;var j=new h;delete h.$prototyping;return j};a.implement("implement",g.overloadSetter());a.Mutators={Extends:function(h){this.parent=h;this.prototype=d(h)},Implements:function(h){Array.from(h).each(function(l){var j=new l;for(var k in j){g.call(this,k,j[k],true)}},this)}}})();(function(){this.Chain=new Class({$chain:[],chain:function(){this.$chain.append(Array.flatten(arguments));return this},callChain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false},clearChain:function(){this.$chain.empty();return this}});var a=function(b){return b.replace(/^on([A-Z])/,function(c,d){return d.toLowerCase()})};this.Events=new Class({$events:{},addEvent:function(d,c,b){d=a(d);if(c==$empty){return this}this.$events[d]=(this.$events[d]||[]).include(c);if(b){c.internal=true}return this},addEvents:function(b){for(var c in b){this.addEvent(c,b[c])}return this},fireEvent:function(f,c,b){f=a(f);var d=this.$events[f];if(!d){return this}c=Array.from(c);d.each(function(g){if(b){g.delay(b,this,c)}else{g.apply(this,c)}},this);return this},removeEvent:function(f,d){f=a(f);var c=this.$events[f];if(c&&!d.internal){var b=c.indexOf(d);if(b!=-1){delete c[b]}}return this},removeEvents:function(d){var f;if(typeOf(d)=="object"){for(f in d){this.removeEvent(f,d[f])}return this}if(d){d=a(d)}for(f in this.$events){if(d&&d!=f){continue}var c=this.$events[f];for(var b=c.length;b--;){this.removeEvent(f,c[b])}}return this}});this.Options=new Class({setOptions:function(){var b=this.options=Object.merge.apply(null,[{},this.options].append(arguments));if(!this.addEvent){return this}for(var c in b){if(typeOf(b[c])!="function"||!(/^on[A-Z]/).test(c)){continue}this.addEvent(c,b[c]);delete b[c]}return this}})})();(function(){var m,p,n,h,a={},c={},o=/\\/g;var f=function(t,s){if(t==null){return null}if(t.Slick===true){return t}t=(""+t).replace(/^\s+|\s+$/g,"");h=!!s;var q=(h)?c:a;if(q[t]){return q[t]}m={Slick:true,expressions:[],raw:t,reverse:function(){return f(this.raw,true)}};p=-1;while(t!=(t=t.replace(l,b))){}m.length=m.expressions.length;return q[t]=(h)?j(m):m};var k=function(q){if(q==="!"){return" "}else{if(q===" "){return"!"}else{if((/^!/).test(q)){return q.replace(/^!/,"")}else{return"!"+q}}}};var j=function(x){var u=x.expressions;for(var s=0;s<u.length;s++){var w=u[s];var t={parts:[],tag:"*",combinator:k(w[0].combinator)};for(var q=0;q<w.length;q++){var v=w[q];if(!v.reverseCombinator){v.reverseCombinator=" "}v.combinator=v.reverseCombinator;delete v.reverseCombinator}w.reverse().push(t)}return x};var g=function(q){return q.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,"\\$&")};var l=new RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|:+(<unicode>+)(?:\\((?:(?:([\"'])([^\\12]*)\\12)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+g(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])"));function b(A,v,G,C,u,F,t,E,D,B,x,I,y,s,z){if(v||p===-1){m.expressions[++p]=[];n=-1;if(v){return""}}if(G||C||n===-1){G=G||" ";var w=m.expressions[p];if(h&&w[n]){w[n].reverseCombinator=k(G)}w[++n]={combinator:G,tag:"*"}}var q=m.expressions[p][n];if(u){q.tag=u.replace(o,"")}else{if(F){q.id=F.replace(o,"")}else{if(t){t=t.replace(o,"");if(!q.classList){q.classList=[]}if(!q.classes){q.classes=[]}q.classList.push(t);q.classes.push({value:t,regexp:new RegExp("(^|\\s)"+g(t)+"(\\s|$)")})}else{if(I){z=z||s;z=z?z.replace(o,""):null;if(!q.pseudos){q.pseudos=[]}q.pseudos.push({key:I.replace(o,""),value:z})}else{if(E){E=E.replace(o,"");x=(x||"").replace(o,"");var H,J;switch(D){case"^=":J=new RegExp("^"+g(x));break;case"$=":J=new RegExp(g(x)+"$");break;case"~=":J=new RegExp("(^|\\s)"+g(x)+"(\\s|$)");break;case"|=":J=new RegExp("^"+g(x)+"(-|$)");break;case"=":H=function(K){return x==K};break;case"*=":H=function(K){return K&&K.indexOf(x)>-1};break;case"!=":H=function(K){return x!=K};break;default:H=function(K){return !!K}}if(x==""&&(/^[*$^]=$/).test(D)){H=function(){return false}}if(!H){H=function(K){return K&&J.test(K)}}if(!q.attributes){q.attributes=[]}q.attributes.push({key:E,operator:D,value:x,test:H})}}}}}return""}var d=(this.Slick||{});d.parse=function(q){return f(q)};d.escapeRegExp=g;if(!this.Slick){this.Slick=d}}).apply((typeof exports!="undefined")?exports:this);(function(){var b={};b.isNativeCode=function(c){return(/\{\s*\[native code\]\s*\}/).test(""+c)};b.isXML=function(c){return(!!c.xmlVersion)||(!!c.xml)||(Object.prototype.toString.call(c)==="[object XMLDocument]")||(c.nodeType===9&&c.documentElement.nodeName!=="HTML")};b.setDocument=function(p){if(p.nodeType===9){}else{if(p.ownerDocument){p=p.ownerDocument}else{if(p.navigator){p=p.document}else{return}}}if(this.document===p){return}this.document=p;var q=this.root=p.documentElement;this.isXMLDocument=this.isXML(p);this.brokenStarGEBTN=this.starSelectsClosedQSA=this.idGetsName=this.brokenMixedCaseQSA=this.brokenGEBCN=this.brokenCheckedQSA=this.brokenEmptyAttributeQSA=this.isHTMLDocument=false;var k,l,s,m;var n,c;var t=p.createElement("div");q.appendChild(t);try{c="slick_getbyid_test";t.innerHTML='<a id="'+c+'"></a>';this.isHTMLDocument=!!p.getElementById(c)}catch(o){}if(this.isHTMLDocument){t.style.display="none";t.appendChild(p.createComment(""));l=(t.getElementsByTagName("*").length>0);try{t.innerHTML="foo</foo>";n=t.getElementsByTagName("*");k=(n&&n.length&&n[0].nodeName.charAt(0)=="/")}catch(o){}this.brokenStarGEBTN=l||k;if(t.querySelectorAll){try{t.innerHTML="foo</foo>";n=t.querySelectorAll("*");this.starSelectsClosedQSA=(n&&n.length&&n[0].nodeName.charAt(0)=="/")}catch(o){}}try{c="slick_id_gets_name";t.innerHTML='<a name="'+c+'"></a><b id="'+c+'"></b>';this.idGetsName=p.getElementById(c)===t.firstChild}catch(o){}try{t.innerHTML='<a class="MiXedCaSe"></a>';this.brokenMixedCaseQSA=!t.querySelectorAll(".MiXedCaSe").length}catch(o){}try{t.innerHTML='<a class="f"></a><a class="b"></a>';t.getElementsByClassName("b").length;t.firstChild.className="b";m=(t.getElementsByClassName("b").length!=2)}catch(o){}try{t.innerHTML='<a class="a"></a><a class="f b a"></a>';s=(t.getElementsByClassName("a").length!=2)}catch(o){}this.brokenGEBCN=m||s;try{t.innerHTML='<select><option selected="selected">a</option></select>';this.brokenCheckedQSA=(t.querySelectorAll(":checked").length==0)}catch(o){}try{t.innerHTML='<a class=""></a>';this.brokenEmptyAttributeQSA=(t.querySelectorAll('[class*=""]').length!=0)}catch(o){}}q.removeChild(t);t=null;this.hasAttribute=(q&&this.isNativeCode(q.hasAttribute))?function(v,u){return v.hasAttribute(u)}:function(v,u){v=v.getAttributeNode(u);return !!(v&&(v.specified||v.nodeValue))};this.contains=(q&&this.isNativeCode(q.contains))?function(u,v){return u.contains(v)}:(q&&q.compareDocumentPosition)?function(u,v){return u===v||!!(u.compareDocumentPosition(v)&16)}:function(u,v){if(v){do{if(v===u){return true}}while((v=v.parentNode))}return false};this.documentSorter=(q.compareDocumentPosition)?function(v,u){if(!v.compareDocumentPosition||!u.compareDocumentPosition){return 0}return v.compareDocumentPosition(u)&4?-1:v===u?0:1}:("sourceIndex" in q)?function(v,u){if(!v.sourceIndex||!u.sourceIndex){return 0}return v.sourceIndex-u.sourceIndex}:(p.createRange)?function(x,v){if(!x.ownerDocument||!v.ownerDocument){return 0}var w=x.ownerDocument.createRange(),u=v.ownerDocument.createRange();w.setStart(x,0);w.setEnd(x,0);u.setStart(v,0);u.setEnd(v,0);return w.compareBoundaryPoints(Range.START_TO_END,u)}:null;this.getUID=(this.isHTMLDocument)?this.getUIDHTML:this.getUIDXML};b.search=function(k,y,G,q){var x=this.found=(q)?null:(G||[]);if(!k){return x}if(k.navigator){k=k.document}else{if(!k.nodeType){return x}}var u,F;var o=this.uniques={};if(this.document!==(k.ownerDocument||k)){this.setDocument(k)}var z=!!(G&&G.length);if(z){for(F=x.length;F--;){this.uniques[this.getUID(x[F])]=true}}if(typeof y=="string"){for(F=this.overrides.length;F--;){var v=this.overrides[F];if(v.regexp.test(y)){var w=v.method.call(k,y,x,q);if(w===false){continue}if(w===true){return x}return w}}u=this.Slick.parse(y);if(!u.length){return x}}else{if(y==null){return x}else{if(y.Slick){u=y}else{if(this.contains(k.documentElement||k,y)){(x)?x.push(y):x=y;return x}else{return x}}}}this.posNTH={};this.posNTHLast={};this.posNTHType={};this.posNTHTypeLast={};this.push=(!z&&(q||(u.length==1&&u.expressions[0].length==1)))?this.pushArray:this.pushUID;if(x==null){x=[]}var E,C,B;var D,L,A,K,H,t,p;var s,l,c,I,J=u.expressions;search:for(F=0;(l=J[F]);F++){for(E=0;(c=l[E]);E++){D="combinator:"+c.combinator;if(!this[D]){continue search}L=(this.isXMLDocument)?c.tag:c.tag.toUpperCase();A=c.id;K=c.classList;H=c.classes;t=c.attributes;p=c.pseudos;I=(E===(l.length-1));this.bitUniques={};if(I){this.uniques=o;this.found=x}else{this.uniques={};this.found=[]}if(E===0){this[D](k,L,A,H,t,p,K);if(q&&I&&x.length){break search}}else{if(q&&I){for(C=0,B=s.length;C<B;C++){this[D](s[C],L,A,H,t,p,K);if(x.length){break search}}}else{for(C=0,B=s.length;C<B;C++){this[D](s[C],L,A,H,t,p,K)}}}s=this.found}}if(z||(u.expressions.length>1)){this.sort(x)}return(q)?(x[0]||null):x};b.uidx=1;b.uidk="slick:uniqueid";b.getUIDXML=function(k){var c=k.getAttribute(this.uidk);if(!c){c=this.uidx++;k.setAttribute(this.uidk,c)}return c};b.getUIDHTML=function(c){return c.uniqueNumber||(c.uniqueNumber=this.uidx++)};b.sort=function(c){if(!this.documentSorter){return c}c.sort(this.documentSorter);return c};b.cacheNTH={};b.matchNTH=/^([+-]?\d*)?([a-z]+)?([+-]\d+)?$/;b.parseNTHArgument=function(n){var l=n.match(this.matchNTH);if(!l){return false}var m=l[2]||false;var k=l[1]||1;if(k=="-"){k=-1}var c=+l[3]||0;l=(m=="n")?{a:k,b:c}:(m=="odd")?{a:2,b:1}:(m=="even")?{a:2,b:0}:{a:0,b:k};return(this.cacheNTH[n]=l)};b.createNTHPseudo=function(m,k,c,l){return function(p,n){var s=this.getUID(p);if(!this[c][s]){var y=p.parentNode;if(!y){return false}var o=y[m],q=1;if(l){var x=p.nodeName;do{if(o.nodeName!==x){continue}this[c][this.getUID(o)]=q++}while((o=o[k]))}else{do{if(o.nodeType!==1){continue}this[c][this.getUID(o)]=q++}while((o=o[k]))}}n=n||"n";var t=this.cacheNTH[n]||this.parseNTHArgument(n);if(!t){return false}var w=t.a,v=t.b,u=this[c][s];if(w==0){return v==u}if(w>0){if(u<v){return false}}else{if(v<u){return false}}return((u-v)%w)==0}};b.pushArray=function(m,c,o,l,k,n){if(this.matchSelector(m,c,o,l,k,n)){this.found.push(m)}};b.pushUID=function(n,c,p,m,k,o){var l=this.getUID(n);if(!this.uniques[l]&&this.matchSelector(n,c,p,m,k,o)){this.uniques[l]=true;this.found.push(n)}};b.matchNode=function(o,c){var l=this.Slick.parse(c);if(!l){return true}if(l.length==1&&l.expressions[0].length==1){var p=l.expressions[0][0];return this.matchSelector(o,(this.isXMLDocument)?p.tag:p.tag.toUpperCase(),p.id,p.classes,p.attributes,p.pseudos)}var k=this.search(this.document,l);for(var m=0,n;n=k[m++];){if(n===o){return true}}return false};b.matchPseudo=function(n,c,m){var k="pseudo:"+c;if(this[k]){return this[k](n,m)}var l=this.getAttribute(n,c);return(m)?m==l:!!l};b.matchSelector=function(l,s,c,m,n,p){if(s){if(s=="*"){if(l.nodeName<"@"){return false}}else{if(l.nodeName!=s){return false}}}if(c&&l.getAttribute("id")!=c){return false}var o,k,q;if(m){for(o=m.length;o--;){q=("className" in l)?l.className:l.getAttribute("class");if(!(q&&m[o].regexp.test(q))){return false}}}if(n){for(o=n.length;o--;){k=n[o];if(k.operator?!k.test(this.getAttribute(l,k.key)):!this.hasAttribute(l,k.key)){return false}}}if(p){for(o=p.length;o--;){k=p[o];if(!this.matchPseudo(l,k.key,k.value)){return false}}}return true};var a={" ":function(m,t,c,n,o,q,l){var p,s,k;if(this.isHTMLDocument){getById:if(c){s=this.document.getElementById(c);if((!s&&m.all)||(this.idGetsName&&s&&s.getAttributeNode("id").nodeValue!=c)){k=m.all[c];if(!k){return}if(!k[0]){k=[k]}for(p=0;s=k[p++];){if(s.getAttributeNode("id").nodeValue==c){this.push(s,t,null,n,o,q);break}}return}if(!s){if(this.contains(this.document.documentElement,m)){return}else{break getById}}else{if(this.document!==m&&!this.contains(m,s)){return}}this.push(s,t,null,n,o,q);return}getByClass:if(n&&m.getElementsByClassName&&!this.brokenGEBCN){k=m.getElementsByClassName(l.join(" "));if(!(k&&k.length)){break getByClass}for(p=0;s=k[p++];){this.push(s,t,c,null,o,q)}return}}getByTag:{k=m.getElementsByTagName(t);if(!(k&&k.length)){break getByTag}if(!this.brokenStarGEBTN){t=null}for(p=0;s=k[p++];){this.push(s,t,c,n,o,q)}}},">":function(m,c,o,l,k,n){if((m=m.firstChild)){do{if(m.nodeType===1){this.push(m,c,o,l,k,n)}}while((m=m.nextSibling))}},"+":function(m,c,o,l,k,n){while((m=m.nextSibling)){if(m.nodeType===1){this.push(m,c,o,l,k,n);break}}},"^":function(m,c,o,l,k,n){m=m.firstChild;if(m){if(m.nodeType===1){this.push(m,c,o,l,k,n)}else{this["combinator:+"](m,c,o,l,k,n)}}},"~":function(n,c,p,m,k,o){while((n=n.nextSibling)){if(n.nodeType!==1){continue}var l=this.getUID(n);if(this.bitUniques[l]){break}this.bitUniques[l]=true;this.push(n,c,p,m,k,o)}},"++":function(m,c,o,l,k,n){this["combinator:+"](m,c,o,l,k,n);this["combinator:!+"](m,c,o,l,k,n)},"~~":function(m,c,o,l,k,n){this["combinator:~"](m,c,o,l,k,n);this["combinator:!~"](m,c,o,l,k,n)},"!":function(m,c,o,l,k,n){while((m=m.parentNode)){if(m!==this.document){this.push(m,c,o,l,k,n)}}},"!>":function(m,c,o,l,k,n){m=m.parentNode;if(m!==this.document){this.push(m,c,o,l,k,n)}},"!+":function(m,c,o,l,k,n){while((m=m.previousSibling)){if(m.nodeType===1){this.push(m,c,o,l,k,n);break}}},"!^":function(m,c,o,l,k,n){m=m.lastChild;if(m){if(m.nodeType===1){this.push(m,c,o,l,k,n)}else{this["combinator:!+"](m,c,o,l,k,n)}}},"!~":function(n,c,p,m,k,o){while((n=n.previousSibling)){if(n.nodeType!==1){continue}var l=this.getUID(n);if(this.bitUniques[l]){break}this.bitUniques[l]=true;this.push(n,c,p,m,k,o)}}};for(var j in a){b["combinator:"+j]=a[j]}var h={empty:function(c){var k=c.firstChild;return !(k&&k.nodeType==1)&&!(c.innerText||c.textContent||"").length},not:function(c,k){return !this.matchNode(c,k)},contains:function(c,k){return(c.innerText||c.textContent||"").indexOf(k)>-1},"first-child":function(c){while((c=c.previousSibling)){if(c.nodeType===1){return false}}return true},"last-child":function(c){while((c=c.nextSibling)){if(c.nodeType===1){return false}}return true},"only-child":function(l){var k=l;while((k=k.previousSibling)){if(k.nodeType===1){return false}}var c=l;while((c=c.nextSibling)){if(c.nodeType===1){return false}}return true},"nth-child":b.createNTHPseudo("firstChild","nextSibling","posNTH"),"nth-last-child":b.createNTHPseudo("lastChild","previousSibling","posNTHLast"),"nth-of-type":b.createNTHPseudo("firstChild","nextSibling","posNTHType",true),"nth-last-of-type":b.createNTHPseudo("lastChild","previousSibling","posNTHTypeLast",true),index:function(k,c){return this["pseudo:nth-child"](k,""+c+1)},even:function(k,c){return this["pseudo:nth-child"](k,"2n")},odd:function(k,c){return this["pseudo:nth-child"](k,"2n+1")},"first-of-type":function(c){var k=c.nodeName;while((c=c.previousSibling)){if(c.nodeName===k){return false}}return true},"last-of-type":function(c){var k=c.nodeName;while((c=c.nextSibling)){if(c.nodeName===k){return false}}return true},"only-of-type":function(l){var k=l,m=l.nodeName;while((k=k.previousSibling)){if(k.nodeName===m){return false}}var c=l;while((c=c.nextSibling)){if(c.nodeName===m){return false}}return true},enabled:function(c){return(c.disabled===false)},disabled:function(c){return(c.disabled===true)},checked:function(c){return c.checked||c.selected},focus:function(c){return this.isHTMLDocument&&this.document.activeElement===c&&(c.href||c.type||this.hasAttribute(c,"tabindex"))},root:function(c){return(c===this.root)},selected:function(c){return c.selected}};for(var d in h){b["pseudo:"+d]=h[d]}b.attributeGetters={"class":function(){return("className" in this)?this.className:this.getAttribute("class")},"for":function(){return("htmlFor" in this)?this.htmlFor:this.getAttribute("for")},href:function(){return("href" in this)?this.getAttribute("href",2):this.getAttribute("href")},style:function(){return(this.style)?this.style.cssText:this.getAttribute("style")}};b.getAttribute=function(l,c){var m=this.attributeGetters[c];if(m){return m.call(l)}var k=l.getAttributeNode(c);return k?k.nodeValue:null};b.overrides=[];b.override=function(c,k){this.overrides.push({regexp:c,method:k})};var g=/\[.*[*$^]=(?:["']{2})?\]/;b.override(/./,function(q,o,p){if(!this.querySelectorAll||this.nodeType!=9||!b.isHTMLDocument||b.brokenMixedCaseQSA||(b.brokenCheckedQSA&&q.indexOf(":checked")>-1)||(b.brokenEmptyAttributeQSA&&g.test(q))||f.disableQSA){return false}var k,n;try{if(p){return this.querySelector(q)||null}else{k=this.querySelectorAll(q)}}catch(l){return false}var m,c=!!(o.length);if(b.starSelectsClosedQSA){for(m=0;n=k[m++];){if(n.nodeName>"@"&&(!c||!b.uniques[b.getUIDHTML(n)])){o.push(n)}}}else{for(m=0;n=k[m++];){if(!c||!b.uniques[b.getUIDHTML(n)]){o.push(n)}}}if(c){b.sort(o)}return true});b.override(/^[\w-]+$|^\*$/,function(q,o,p){var k=q;if(k=="*"&&b.brokenStarGEBTN){return false}var l=this.getElementsByTagName(k);if(p){return l[0]||null}var m,n,c=!!(o.length);for(m=0;n=l[m++];){if(!c||!b.uniques[b.getUID(n)]){o.push(n)}}if(c){b.sort(o)}return true});b.override(/^\.[\w-]+$/,function(p,s,n){if(!b.isHTMLDocument||(!this.getElementsByClassName&&this.querySelectorAll)){return false}var c,l,m,k=!!(s&&s.length),q=p.substring(1);if(this.getElementsByClassName&&!b.brokenGEBCN){c=this.getElementsByClassName(q);if(n){return c[0]||null}for(m=0;l=c[m++];){if(!k||!b.uniques[b.getUIDHTML(l)]){s.push(l)}}}else{var o=new RegExp("(^|\\s)"+f.escapeRegExp(q)+"(\\s|$)");c=this.getElementsByTagName("*");for(m=0;l=c[m++];){q=l.className;if(!q||!o.test(q)){continue}if(n){return l}if(!k||!b.uniques[b.getUIDHTML(l)]){s.push(l)}}}if(k){b.sort(s)}return(n)?null:true});b.override(/^#[\w-]+$/,function(n,l,m){if(!b.isHTMLDocument||this.nodeType!=9){return false}var o=n.substring(1),k=this.getElementById(o);if(!k){return l}if(b.idGetsName&&k.getAttributeNode("id").nodeValue!=o){return false}if(m){return k||null}var c=!!(l.length);if(!c||!b.uniques[b.getUIDHTML(k)]){l.push(k)}if(c){b.sort(l)}return true});if(typeof document!="undefined"){b.setDocument(document)}var f=b.Slick=(this.Slick||{});f.version="0.9dev";f.search=function(k,l,c){return b.search(k,l,c)};f.find=function(c,k){return b.search(c,k,null,true)};f.contains=function(c,k){b.setDocument(c);return b.contains(c,k)};f.getAttribute=function(k,c){return b.getAttribute(k,c)};f.match=function(k,c){if(!(k&&c)){return false}if(!c||c===k){return true}if(typeof c!="string"){return false}b.setDocument(k);return b.matchNode(k,c)};f.defineAttributeGetter=function(c,k){b.attributeGetters[c]=k;return this};f.lookupAttributeGetter=function(c){return b.attributeGetters[c]};f.definePseudo=function(c,k){b["pseudo:"+c]=function(m,l){return k.call(m,l)};return this};f.lookupPseudo=function(c){var k=b["pseudo:"+c];if(k){return function(l){return k.call(this,l)}}return null};f.override=function(k,c){b.override(k,c);return this};f.isXML=b.isXML;f.uidOf=function(c){return b.getUIDHTML(c)};if(!this.Slick){this.Slick=f}}).apply((typeof exports!="undefined")?exports:this);var Element=function(b,h){var j=Element.Constructors[b];if(j){return j(h)}if(typeof b!="string"){return document.id(b).set(h)}if(!h){h={}}if(!b.test(/^[\w-]+$/)){var f=Slick.parse(b).expressions[0][0];b=(f.tag=="*")?"div":f.tag;if(f.id&&h.id==null){h.id=f.id}var d=f.attributes;if(d){for(var g=0,c=d.length;g<c;g++){var a=d[g];if(a.value!=null&&a.operator=="="&&h[a.key]==null){h[a.key]=a.value}}}if(f.classList&&h["class"]==null){h["class"]=f.classList.join(" ")}}return document.newElement(b,h)};if(Browser.Element){Element.prototype=Browser.Element.prototype}new Type("Element",Element).mirror(function(a){if(Array.prototype[a]){return}var b={};b[a]=function(){var j=[],f=arguments,k=true;for(var h=0,d=this.length;h<d;h++){var g=this[h],c=j[h]=g[a].apply(g,f);k=(k&&typeOf(c)=="element")}return(k)?new Elements(j):j};Elements.implement(b)});if(!Browser.Element){Element.parent=Object;Element.Prototype={"$family":Function.from("element").hide()};Element.mirror(function(a,b){Element.Prototype[a]=b})}Element.Constructors={};Element.Constructors=new Hash;var IFrame=new Type("IFrame",function(){var f=Array.link(arguments,{properties:Type.isObject,iframe:function(g){return(g!=null)}});var c=f.properties||{},b;if(f.iframe){b=document.id(f.iframe)}var d=c.onload||function(){};delete c.onload;c.id=c.name=[c.id,c.name,b?(b.id||b.name):"IFrame_"+String.uniqueID()].pick();b=new Element(b||"iframe",c);var a=function(){d.call(b.contentWindow)};if(window.frames[c.id]){a()}else{b.addListener("load",a)}return b});var Elements=this.Elements=function(a){if(a&&a.length){var f={},d;for(var c=0;d=a[c++];){var b=Slick.uidOf(d);if(!f[b]){f[b]=true;this.push(d)}}}};Elements.prototype={length:0};Elements.parent=Array;new Type("Elements",Elements).implement({filter:function(a,b){if(!a){return this}return new Elements(Array.filter(this,(typeOf(a)=="string")?function(c){return c.match(a)}:a,b))}.protect(),push:function(){var d=this.length;for(var b=0,a=arguments.length;b<a;b++){var c=document.id(arguments[b]);if(c){this[d++]=c}}return(this.length=d)}.protect(),concat:function(){var b=new Elements(this);for(var c=0,a=arguments.length;c<a;c++){var d=arguments[c];if(Type.isEnumerable(d)){b.append(d)}else{b.push(d)}}return b}.protect(),append:function(c){for(var b=0,a=c.length;b<a;b++){this.push(c[b])}return this}.protect(),empty:function(){while(this.length){delete this[--this.length]}return this}.protect()});(function(){var g=Array.prototype.splice,b={"0":0,"1":1,length:2};g.call(b,1,1);if(b[1]==1){Elements.implement("splice",function(){var h=this.length;g.apply(this,arguments);while(h>=this.length){delete this[h--]}return this}.protect())}Elements.implement(Array.prototype);Array.mirror(Elements);var f;try{var a=document.createElement("<input name=x>");f=(a.name=="x")}catch(c){}var d=function(h){return(""+h).replace(/&/g,"&amp;").replace(/"/g,"&quot;")};Document.implement({newElement:function(h,j){if(j&&j.checked!=null){j.defaultChecked=j.checked}if(f&&j){h="<"+h;if(j.name){h+=' name="'+d(j.name)+'"'}if(j.type){h+=' type="'+d(j.type)+'"'}h+=">";delete j.name;delete j.type}return this.id(this.createElement(h)).set(j)}})})();Document.implement({newTextNode:function(a){return this.createTextNode(a)},getDocument:function(){return this},getWindow:function(){return this.window},id:(function(){var a={string:function(d,c,b){d=Slick.find(b,"#"+d.replace(/(\W)/g,"\\$1"));return(d)?a.element(d,c):null},element:function(b,c){$uid(b);if(!c&&!b.$family&&!(/^object|embed$/i).test(b.tagName)){Object.append(b,Element.Prototype)}return b},object:function(c,d,b){if(c.toElement){return a.element(c.toElement(b),d)}return null}};a.textnode=a.whitespace=a.window=a.document=function(b){return b};return function(c,f,d){if(c&&c.$family&&c.uid){return c}var b=typeOf(c);return(a[b])?a[b](c,f,d||document):null}})()});if(window.$==null){Window.implement("$",function(a,b){return document.id(a,b,this.document)})}Window.implement({getDocument:function(){return this.document},getWindow:function(){return this}});[Document,Element].invoke("implement",{getElements:function(a){return Slick.search(this,a,new Elements)},getElement:function(a){return document.id(Slick.find(this,a))}});(function(b,d,a){this.Selectors={};var f=this.Selectors.Pseudo=new Hash();var c=function(){for(var g in f){if(f.hasOwnProperty(g)){Slick.definePseudo(g,f[g]);delete f[g]}}};Slick.search=function(h,j,g){c();return b.call(this,h,j,g)};Slick.find=function(g,h){c();return d.call(this,g,h)};Slick.match=function(h,g){c();return a.call(this,h,g)}})(Slick.search,Slick.find,Slick.match);if(window.$$==null){Window.implement("$$",function(a){var g=new Elements;if(arguments.length==1&&typeof a=="string"){return Slick.search(this.document,a,g)}var c=Array.flatten(arguments);for(var d=0,b=c.length;d<b;d++){var f=c[d];switch(typeOf(f)){case"element":g.push(f);break;case"string":Slick.search(this.document,f,g)}}return g})}if(window.$$==null){Window.implement("$$",function(a){if(arguments.length==1){if(typeof a=="string"){return Slick.search(this.document,a,new Elements)}else{if(Type.isEnumerable(a)){return new Elements(a)}}}return new Elements(arguments)})}(function(){var l={},j={};var n={input:"checked",option:"selected",textarea:"value"};var d=function(q){return(j[q]||(j[q]={}))};var k=function(s){if(s.removeEvents){s.removeEvents()}if(s.clearAttributes){s.clearAttributes()}var q=s.uid;if(q!=null){delete l[q];delete j[q]}return s};var p=["defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"];var c=["compact","nowrap","ismap","declare","noshade","checked","disabled","readOnly","multiple","selected","noresize","defer"];var g={html:"innerHTML","class":"className","for":"htmlFor",text:(function(){var q=document.createElement("div");return(q.innerText==null)?"textContent":"innerText"})()};var o=["type"];var h=["value","defaultValue"];var m=/^(?:href|src|usemap)$/i;c=c.associate(c);p=p.associate(p.map(String.toLowerCase));o=o.associate(o);Object.append(g,h.associate(h));var b={before:function(s,q){var t=q.parentNode;if(t){t.insertBefore(s,q)}},after:function(s,q){var t=q.parentNode;if(t){t.insertBefore(s,q.nextSibling)}},bottom:function(s,q){q.appendChild(s)},top:function(s,q){q.insertBefore(s,q.firstChild)}};b.inside=b.bottom;Object.each(b,function(s,t){t=t.capitalize();var q={};q["inject"+t]=function(u){s(this,document.id(u,true));return this};q["grab"+t]=function(u){s(document.id(u,true),this);return this};Element.implement(q)});var a=function(u,t){if(!u){return t}u=Slick.parse(u);var s=u.expressions;for(var q=s.length;q--;){s[q][0].combinator=t}return u};Element.implement({set:function(t,s){var q=Element.Properties[t];(q&&q.set)?q.set.call(this,s):this.setProperty(t,s)}.overloadSetter(),get:function(s){var q=Element.Properties[s];return(q&&q.get)?q.get.apply(this):this.getProperty(s)}.overloadGetter(),erase:function(s){var q=Element.Properties[s];(q&&q.erase)?q.erase.apply(this):this.removeProperty(s);return this},setProperty:function(s,t){s=p[s]||s;if(t==null){return this.removeProperty(s)}var q=g[s];(q)?this[q]=t:(c[s])?this[s]=!!t:this.setAttribute(s,""+t);return this},setProperties:function(q){for(var s in q){this.setProperty(s,q[s])}return this},getProperty:function(s){s=p[s]||s;var q=g[s]||o[s];return(q)?this[q]:(c[s])?!!this[s]:(m.test(s)?this.getAttribute(s,2):(q=this.getAttributeNode(s))?q.nodeValue:null)||null},getProperties:function(){var q=Array.from(arguments);return q.map(this.getProperty,this).associate(q)},removeProperty:function(s){s=p[s]||s;var q=g[s];(q)?this[q]="":(c[s])?this[s]=false:this.removeAttribute(s);return this},removeProperties:function(){Array.each(arguments,this.removeProperty,this);return this},hasClass:function(q){return this.className.clean().contains(q," ")},addClass:function(q){if(!this.hasClass(q)){this.className=(this.className+" "+q).clean()}return this},removeClass:function(q){this.className=this.className.replace(new RegExp("(^|\\s)"+q+"(?:\\s|$)"),"$1");return this},toggleClass:function(q,s){if(s==null){s=!this.hasClass(q)}return(s)?this.addClass(q):this.removeClass(q)},adopt:function(){var u=this,q,w=Array.flatten(arguments),v=w.length;if(v>1){u=q=document.createDocumentFragment()}for(var t=0;t<v;t++){var s=document.id(w[t],true);if(s){u.appendChild(s)}}if(q){this.appendChild(q)}return this},appendText:function(s,q){return this.grab(this.getDocument().newTextNode(s),q)},grab:function(s,q){b[q||"bottom"](document.id(s,true),this);return this},inject:function(s,q){b[q||"bottom"](this,document.id(s,true));return this},replaces:function(q){q=document.id(q,true);q.parentNode.replaceChild(this,q);return this},wraps:function(s,q){s=document.id(s,true);return this.replaces(s).grab(s,q)},getPrevious:function(q){return document.id(Slick.find(this,a(q,"!~")))},getAllPrevious:function(q){return Slick.search(this,a(q,"!~"),new Elements)},getNext:function(q){return document.id(Slick.find(this,a(q,"~")))},getAllNext:function(q){return Slick.search(this,a(q,"~"),new Elements)},getFirst:function(q){return document.id(Slick.search(this,a(q,">"))[0])},getLast:function(q){return document.id(Slick.search(this,a(q,">")).getLast())},getParent:function(q){return document.id(Slick.find(this,a(q,"!")))},getParents:function(q){return Slick.search(this,a(q,"!"),new Elements)},getSiblings:function(q){return Slick.search(this,a(q,"~~"),new Elements)},getChildren:function(q){return Slick.search(this,a(q,">"),new Elements)},getWindow:function(){return this.ownerDocument.window},getDocument:function(){return this.ownerDocument},getElementById:function(q){return document.id(Slick.find(this,"#"+(""+q).replace(/(\W)/g,"\\$1")))},getSelected:function(){this.selectedIndex;return new Elements(Array.from(this.options).filter(function(q){return q.selected}))},toQueryString:function(){var q=[];this.getElements("input, select, textarea").each(function(t){var s=t.type;if(!t.name||t.disabled||s=="submit"||s=="reset"||s=="file"||s=="image"){return}var u=(t.get("tag")=="select")?t.getSelected().map(function(v){return document.id(v).get("value")}):((s=="radio"||s=="checkbox")&&!t.checked)?null:t.get("value");Array.from(u).each(function(v){if(typeof v!="undefined"){q.push(encodeURIComponent(t.name)+"="+encodeURIComponent(v))}})});return q.join("&")},clone:function(u,s){u=u!==false;var z=this.cloneNode(u);var y=function(F,E){if(!s){F.removeAttribute("id")}if(Browser.ie){F.clearAttributes();F.mergeAttributes(E);F.removeAttribute("uid");if(F.options){var G=F.options,C=E.options;for(var D=G.length;D--;){G[D].selected=C[D].selected}}}var H=n[E.tagName.toLowerCase()];if(H&&E[H]){F[H]=E[H]}};var v;if(u){var q=z.getElementsByTagName("*"),t=this.getElementsByTagName("*");for(v=q.length;v--;){y(q[v],t[v])}}y(z,this);if(Browser.ie){var x=this.getElementsByTagName("object"),w=z.getElementsByTagName("object"),B=x.length,A=w.length;for(v=0;v<B&&v<A;v++){w[v].outerHTML=x[v].outerHTML}}return document.id(z)},destroy:function(){var q=k(this).getElementsByTagName("*");Array.each(q,k);Element.dispose(this);return null},empty:function(){Array.from(this.childNodes).each(Element.dispose);return this},dispose:function(){return(this.parentNode)?this.parentNode.removeChild(this):this},match:function(q){return !q||Slick.match(this,q)}});var f={contains:function(q){return Slick.contains(this,q)}};if(!document.contains){Document.implement(f)}if(!document.createElement("div").contains){Element.implement(f)}Element.implement("hasChild",function(q){return this!==q&&this.contains(q)});[Element,Window,Document].invoke("implement",{addListener:function(u,t){if(u=="unload"){var q=t,s=this;t=function(){s.removeListener("unload",t);q()}}else{l[this.uid]=this}if(this.addEventListener){this.addEventListener(u,t,false)}else{this.attachEvent("on"+u,t)}return this},removeListener:function(s,q){if(this.removeEventListener){this.removeEventListener(s,q,false)}else{this.detachEvent("on"+s,q)}return this},retrieve:function(s,q){var u=d(this.uid),t=u[s];if(q!=null&&t==null){t=u[s]=q}return t!=null?t:null},store:function(s,q){var t=d(this.uid);t[s]=q;return this},eliminate:function(q){var s=d(this.uid);delete s[q];return this}});if(window.attachEvent&&!window.addEventListener){window.addListener("unload",function(){Object.each(l,k);if(window.CollectGarbage){CollectGarbage()}})}})();Element.Properties={};Element.Properties=new Hash;Element.Properties.style={set:function(a){this.style.cssText=a},get:function(){return this.style.cssText},erase:function(){this.style.cssText=""}};Element.Properties.tag={get:function(){return this.tagName.toLowerCase()}};(function(a){if(a!=null){Element.Properties.maxlength=Element.Properties.maxLength={get:function(){var b=this.getAttribute("maxLength");return b==a?null:b}}}})(document.createElement("input").getAttribute("maxLength"));Element.Properties.html=(function(){var c=Function.attempt(function(){var f=document.createElement("table");f.innerHTML="<tr><td></td></tr>"});var d=document.createElement("div");var a={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]};a.thead=a.tfoot=a.tbody;var b={set:function(){var g=Array.flatten(arguments).join("");var h=(!c&&a[this.get("tag")]);if(h){var j=d;j.innerHTML=h[1]+g+h[2];for(var f=h[0];f--;){j=j.firstChild}this.empty().adopt(j.childNodes)}else{this.innerHTML=g}}};b.erase=b.set;return b})();(function(){var c=document.html;Element.Properties.styles={set:function(g){this.setStyles(g)}};var f=(c.style.opacity!=null);var d=/alpha\(opacity=([\d.]+)\)/i;var b=function(h,g){if(!h.currentStyle||!h.currentStyle.hasLayout){h.style.zoom=1}if(f){h.style.opacity=g}else{g=(g==1)?"":"alpha(opacity="+g*100+")";var j=h.style.filter||h.getComputedStyle("filter")||"";h.style.filter=j.test(d)?j.replace(d,g):j+g}};Element.Properties.opacity={set:function(h){var g=this.style.visibility;if(h==0&&g!="hidden"){this.style.visibility="hidden"}else{if(h!=0&&g!="visible"){this.style.visibility="visible"}}b(this,h)},get:(f)?function(){var g=this.style.opacity||this.getComputedStyle("opacity");return(g=="")?1:g}:function(){var g,h=(this.style.filter||this.getComputedStyle("filter"));if(h){g=h.match(d)}return(g==null||h==null)?1:(g[1]/100)}};var a=(c.style.cssFloat==null)?"styleFloat":"cssFloat";Element.implement({getComputedStyle:function(j){if(this.currentStyle){return this.currentStyle[j.camelCase()]}var h=Element.getDocument(this).defaultView,g=h?h.getComputedStyle(this,null):null;return(g)?g.getPropertyValue((j==a)?"float":j.hyphenate()):null},setOpacity:function(g){b(this,g);return this},getOpacity:function(){return this.get("opacity")},setStyle:function(h,g){switch(h){case"opacity":return this.set("opacity",parseFloat(g));case"float":h=a}h=h.camelCase();if(typeOf(g)!="string"){var j=(Element.Styles[h]||"@").split(" ");g=Array.from(g).map(function(l,k){if(!j[k]){return""}return(typeOf(l)=="number")?j[k].replace("@",Math.round(l)):l}).join(" ")}else{if(g==String(Number(g))){g=Math.round(g)}}this.style[h]=g;return this},getStyle:function(n){switch(n){case"opacity":return this.get("opacity");case"float":n=a}n=n.camelCase();var g=this.style[n];if(!g||n=="zIndex"){g=[];for(var m in Element.ShortStyles){if(n!=m){continue}for(var l in Element.ShortStyles[m]){g.push(this.getStyle(l))}return g.join(" ")}g=this.getComputedStyle(n)}if(g){g=String(g);var j=g.match(/rgba?\([\d\s,]+\)/);if(j){g=g.replace(j[0],j[0].rgbToHex())}}if(Browser.opera||(Browser.ie&&isNaN(parseFloat(g)))){if(n.test(/^(height|width)$/)){var h=(n=="width")?["left","right"]:["top","bottom"],k=0;h.each(function(o){k+=this.getStyle("border-"+o+"-width").toInt()+this.getStyle("padding-"+o).toInt()},this);return this["offset"+n.capitalize()]-k+"px"}if(Browser.opera&&String(g).indexOf("px")!=-1){return g}if(n.test(/(border(.+)Width|margin|padding)/)){return"0px"}}return g},setStyles:function(h){for(var g in h){this.setStyle(g,h[g])}return this},getStyles:function(){var g={};Array.flatten(arguments).each(function(h){g[h]=this.getStyle(h)},this);return g}});Element.Styles={left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"};Element.Styles=new Hash(Element.Styles);Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}};["Top","Right","Bottom","Left"].each(function(n){var m=Element.ShortStyles;var h=Element.Styles;["margin","padding"].each(function(o){var p=o+n;m[o][p]=h[p]="@px"});var l="border"+n;m.border[l]=h[l]="@px @ rgb(@, @, @)";var k=l+"Width",g=l+"Style",j=l+"Color";m[l]={};m.borderWidth[k]=m[l][k]=h[k]="@px";m.borderStyle[g]=m[l][g]=h[g]="@";m.borderColor[j]=m[l][j]=h[j]="rgb(@, @, @)"})})();(function(){Element.Properties.events={set:function(c){this.addEvents(c)}};[Element,Window,Document].invoke("implement",{addEvent:function(h,k){var l=this.retrieve("events",{});if(!l[h]){l[h]={keys:[],values:[]}}if(l[h].keys.contains(k)){return this}l[h].keys.push(k);var j=h,c=Element.Events[h],f=k,m=this;if(c){if(c.onAdd){c.onAdd.call(this,k)}if(c.condition){f=function(n){if(c.condition.call(this,n)){return k.call(this,n)}return true}}j=c.base||j}var g=function(){return k.call(m)};var d=Element.NativeEvents[j];if(d){if(d==2){g=function(n){n=new Event(n,m.getWindow());if(f.call(m,n)===false){n.stop()}}}this.addListener(j,g)}l[h].values.push(g);return this},removeEvent:function(g,f){var d=this.retrieve("events");if(!d||!d[g]){return this}var k=d[g];var c=k.keys.indexOf(f);if(c==-1){return this}var j=k.values[c];delete k.keys[c];delete k.values[c];var h=Element.Events[g];if(h){if(h.onRemove){h.onRemove.call(this,f)}g=h.base||g}return(Element.NativeEvents[g])?this.removeListener(g,j):this},addEvents:function(c){for(var d in c){this.addEvent(d,c[d])}return this},removeEvents:function(c){var f;if(typeOf(c)=="object"){for(f in c){this.removeEvent(f,c[f])}return this}var d=this.retrieve("events");if(!d){return this}if(!c){for(f in d){this.removeEvents(f)}this.eliminate("events")}else{if(d[c]){d[c].keys.each(function(g){this.removeEvent(c,g)},this);delete d[c]}}return this},fireEvent:function(g,d,c){var f=this.retrieve("events");if(!f||!f[g]){return this}d=Array.from(d);f[g].keys.each(function(h){if(c){h.delay(c,this,d)}else{h.apply(this,d)}},this);return this},cloneEvents:function(g,f){g=document.id(g);var d=g.retrieve("events");if(!d){return this}if(!f){for(var c in d){this.cloneEvents(g,c)}}else{if(d[f]){d[f].keys.each(function(h){this.addEvent(f,h)},this)}}return this}});try{if(typeof HTMLElement!="undefined"){HTMLElement.prototype.fireEvent=Element.prototype.fireEvent}}catch(b){}Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,orientationchange:2,touchstart:2,touchmove:2,touchend:2,touchcancel:2,gesturestart:2,gesturechange:2,gestureend:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:2,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1};var a=function(c){var d=c.relatedTarget;if(d==null){return true}if(!d){return false}return(d!=this&&d.prefix!="xul"&&typeOf(this)!="document"&&!this.contains(d))};Element.Events={mouseenter:{base:"mouseover",condition:a},mouseleave:{base:"mouseout",condition:a},mousewheel:{base:(Browser.firefox)?"DOMMouseScroll":"mousewheel"}};Element.Events=new Hash(Element.Events)})();(function(){Element.implement({scrollTo:function(j,k){if(b(this)){this.getWindow().scrollTo(j,k)}else{this.scrollLeft=j;this.scrollTop=k}return this},getSize:function(){if(b(this)){return this.getWindow().getSize()}return{x:this.offsetWidth,y:this.offsetHeight}},getScrollSize:function(){if(b(this)){return this.getWindow().getScrollSize()}return{x:this.scrollWidth,y:this.scrollHeight}},getScroll:function(){if(b(this)){return this.getWindow().getScroll()}return{x:this.scrollLeft,y:this.scrollTop}},getScrolls:function(){var k=this.parentNode,j={x:0,y:0};while(k&&!b(k)){j.x+=k.scrollLeft;j.y+=k.scrollTop;k=k.parentNode}return j},getOffsetParent:function(){var j=this;if(b(j)){return null}if(!Browser.ie){return j.offsetParent}while((j=j.parentNode)){if(d(j,"position")!="static"||b(j)){return j}}return null},getOffsets:function(){if(this.getBoundingClientRect&&!Browser.Platform.ios){var o=this.getBoundingClientRect(),l=document.id(this.getDocument().documentElement),n=l.getScroll(),q=this.getScrolls(),p=(d(this,"position")=="fixed");return{x:o.left.toInt()+q.x+((p)?0:n.x)-l.clientLeft,y:o.top.toInt()+q.y+((p)?0:n.y)-l.clientTop}}var k=this,j={x:0,y:0};if(b(this)){return j}while(k&&!b(k)){j.x+=k.offsetLeft;j.y+=k.offsetTop;if(Browser.firefox){if(!g(k)){j.x+=c(k);j.y+=h(k)}var m=k.parentNode;if(m&&d(m,"overflow")!="visible"){j.x+=c(m);j.y+=h(m)}}else{if(k!=this&&Browser.safari){j.x+=c(k);j.y+=h(k)}}k=k.offsetParent}if(Browser.firefox&&!g(this)){j.x-=c(this);j.y-=h(this)}return j},getPosition:function(m){if(b(this)){return{x:0,y:0}}var n=this.getOffsets(),k=this.getScrolls();var j={x:n.x-k.x,y:n.y-k.y};if(m&&(m=document.id(m))){var l=m.getPosition();return{x:j.x-l.x-c(m),y:j.y-l.y-h(m)}}return j},getCoordinates:function(l){if(b(this)){return this.getWindow().getCoordinates()}var j=this.getPosition(l),k=this.getSize();var m={left:j.x,top:j.y,width:k.x,height:k.y};m.right=m.left+m.width;m.bottom=m.top+m.height;return m},computePosition:function(j){return{left:j.x-f(this,"margin-left"),top:j.y-f(this,"margin-top")}},setPosition:function(j){return this.setStyles(this.computePosition(j))}});[Document,Window].invoke("implement",{getSize:function(){var j=a(this);return{x:j.clientWidth,y:j.clientHeight}},getScroll:function(){var k=this.getWindow(),j=a(this);return{x:k.pageXOffset||j.scrollLeft,y:k.pageYOffset||j.scrollTop}},getScrollSize:function(){var l=a(this),k=this.getSize(),j=this.getDocument().body;return{x:Math.max(l.scrollWidth,j.scrollWidth,k.x),y:Math.max(l.scrollHeight,j.scrollHeight,k.y)}},getPosition:function(){return{x:0,y:0}},getCoordinates:function(){var j=this.getSize();return{top:0,left:0,bottom:j.y,right:j.x,height:j.y,width:j.x}}});var d=Element.getComputedStyle;function f(j,k){return d(j,k).toInt()||0}function g(j){return d(j,"-moz-box-sizing")=="border-box"}function h(j){return f(j,"border-top-width")}function c(j){return f(j,"border-left-width")}function b(j){return(/^(?:body|html)$/i).test(j.tagName)}function a(j){var k=j.getDocument();return(!k.compatMode||k.compatMode=="CSS1Compat")?k.html:k.body}})();Element.alias({position:"setPosition"});[Window,Document,Element].invoke("implement",{getHeight:function(){return this.getSize().y},getWidth:function(){return this.getSize().x},getScrollTop:function(){return this.getScroll().y},getScrollLeft:function(){return this.getScroll().x},getScrollHeight:function(){return this.getScrollSize().y},getScrollWidth:function(){return this.getScrollSize().x},getTop:function(){return this.getPosition().y},getLeft:function(){return this.getPosition().x}});(function(){var f=this.Fx=new Class({Implements:[Chain,Events,Options],options:{fps:50,unit:false,duration:500,link:"ignore"},initialize:function(h){this.subject=this.subject||this;this.setOptions(h)},getTransition:function(){return function(h){return -(Math.cos(Math.PI*h)-1)/2}},step:function(){var h=Date.now();if(h<this.time+this.options.duration){var j=this.transition((h-this.time)/this.options.duration);this.set(this.compute(this.from,this.to,j))}else{this.set(this.compute(this.from,this.to,1));this.complete()}},set:function(h){return h},compute:function(k,j,h){return f.compute(k,j,h)},check:function(){if(!this.timer){return true}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.pass(arguments,this));return false}return false},start:function(k,j){if(!this.check(k,j)){return this}var h=this.options.duration;this.options.duration=f.Durations[h]||h.toInt();this.from=k;this.to=j;this.time=0;this.transition=this.getTransition();this.startTimer();this.onStart();return this},complete:function(){if(this.stopTimer()){this.onComplete()}return this},cancel:function(){if(this.stopTimer()){this.onCancel()}return this},onStart:function(){this.fireEvent("start",this.subject)},onComplete:function(){this.fireEvent("complete",this.subject);if(!this.callChain()){this.fireEvent("chainComplete",this.subject)}},onCancel:function(){this.fireEvent("cancel",this.subject).clearChain()},pause:function(){this.stopTimer();return this},resume:function(){this.startTimer();return this},stopTimer:function(){if(!this.timer){return false}this.time=Date.now()-this.time;this.timer=g(this);return true},startTimer:function(){if(this.timer){return false}this.time=Date.now()-this.time;this.timer=b(this);return true}});f.compute=function(k,j,h){return(j-k)*h+k};f.Durations={"short":250,normal:500,"long":1000};var d={},c={};var a=function(){for(var h=this.length;h--;){if(this[h]){this[h].step()}}};var b=function(h){var k=h.options.fps,j=d[k]||(d[k]=[]);j.push(h);if(!c[k]){c[k]=a.periodical(Math.round(1000/k),j)}return true};var g=function(h){var k=h.options.fps,j=d[k]||[];j.erase(h);if(!j.length&&c[k]){c[k]=clearInterval(c[k])}return false}})();Fx.CSS=new Class({Extends:Fx,prepare:function(c,d,b){b=Array.from(b);if(b[1]==null){b[1]=b[0];b[0]=c.getStyle(d)}var a=b.map(this.parse);return{from:a[0],to:a[1]}},parse:function(a){a=Function.from(a)();a=(typeof a=="string")?a.split(" "):Array.from(a);return a.map(function(c){c=String(c);var b=false;Object.each(Fx.CSS.Parsers,function(g,f){if(b){return}var d=g.parse(c);if(d||d===0){b={value:d,parser:g}}});b=b||{value:c,parser:Fx.CSS.Parsers.String};return b})},compute:function(d,c,b){var a=[];(Math.min(d.length,c.length)).times(function(f){a.push({value:d[f].parser.compute(d[f].value,c[f].value,b),parser:d[f].parser})});a.$family=Function.from("fx:css:value");return a},serve:function(c,b){if(typeOf(c)!="fx:css:value"){c=this.parse(c)}var a=[];c.each(function(d){a=a.concat(d.parser.serve(d.value,b))});return a},render:function(a,d,c,b){a.setStyle(d,this.serve(c,b))},search:function(a){if(Fx.CSS.Cache[a]){return Fx.CSS.Cache[a]}var b={};Array.each(document.styleSheets,function(f,d){var c=f.href;if(c&&c.contains("://")&&!c.contains(document.domain)){return}var g=f.rules||f.cssRules;Array.each(g,function(k,h){if(!k.style){return}var j=(k.selectorText)?k.selectorText.replace(/^\w+/,function(l){return l.toLowerCase()}):null;if(!j||!j.test("^"+a+"$")){return}Element.Styles.each(function(m,l){if(!k.style[l]||Element.ShortStyles[l]){return}m=String(k.style[l]);b[l]=(m.test(/^rgb/))?m.rgbToHex():m})})});return Fx.CSS.Cache[a]=b}});Fx.CSS.Cache={};Fx.CSS.Parsers={Color:{parse:function(a){if(a.match(/^#[0-9a-f]{3,6}$/i)){return a.hexToRgb(true)}return((a=a.match(/(\d+),\s*(\d+),\s*(\d+)/)))?[a[1],a[2],a[3]]:false},compute:function(c,b,a){return c.map(function(f,d){return Math.round(Fx.compute(c[d],b[d],a))})},serve:function(a){return a.map(Number)}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(b,a){return(a)?b+a:b}},String:{parse:Function.from(false),compute:function(b,a){return a},serve:function(a){return a}}};Fx.CSS.Parsers=new Hash(Fx.CSS.Parsers);Fx.Tween=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=document.id(b);this.parent(a)},set:function(b,a){if(arguments.length==1){a=b;b=this.property||this.options.property}this.render(this.element,b,a,this.options.unit);return this},start:function(c,f,d){if(!this.check(c,f,d)){return this}var b=Array.flatten(arguments);this.property=this.options.property||b.shift();var a=this.prepare(this.element,this.property,b);return this.parent(a.from,a.to)}});Element.Properties.tween={set:function(a){this.get("tween").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("tween");if(!a){a=new Fx.Tween(this,{link:"cancel"});this.store("tween",a)}return a}};Element.implement({tween:function(a,c,b){this.get("tween").start(arguments);return this},fade:function(c){var f=this.get("tween"),d="opacity",a;c=[c,"toggle"].pick();switch(c){case"in":f.start(d,1);break;case"out":f.start(d,0);break;case"show":f.set(d,1);break;case"hide":f.set(d,0);break;case"toggle":var b=this.retrieve("fade:flag",this.get("opacity")==1);f.start(d,(b)?0:1);this.store("fade:flag",!b);a=true;break;default:f.start(d,arguments)}if(!a){this.eliminate("fade:flag")}return this},highlight:function(c,a){if(!a){a=this.retrieve("highlight:original",this.getStyle("background-color"));a=(a=="transparent")?"#fff":a}var b=this.get("tween");b.start("background-color",c||"#ffff88",a).chain(function(){this.setStyle("background-color",this.retrieve("highlight:original"));b.callChain()}.bind(this));return this}});Fx.Morph=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=document.id(b);this.parent(a)},set:function(a){if(typeof a=="string"){a=this.search(a)}for(var b in a){this.render(this.element,b,a[b],this.options.unit)}return this},compute:function(f,d,c){var a={};for(var b in f){a[b]=this.parent(f[b],d[b],c)}return a},start:function(b){if(!this.check(b)){return this}if(typeof b=="string"){b=this.search(b)}var f={},d={};for(var c in b){var a=this.prepare(this.element,c,b[c]);f[c]=a.from;d[c]=a.to}return this.parent(f,d)}});Element.Properties.morph={set:function(a){this.get("morph").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("morph");if(!a){a=new Fx.Morph(this,{link:"cancel"});this.store("morph",a)}return a}};Element.implement({morph:function(a){this.get("morph").start(a);return this}});Fx.implement({getTransition:function(){var a=this.options.transition||Fx.Transitions.Sine.easeInOut;if(typeof a=="string"){var b=a.split(":");a=Fx.Transitions;a=a[b[0]]||a[b[0].capitalize()];if(b[1]){a=a["ease"+b[1].capitalize()+(b[2]?b[2].capitalize():"")]}}return a}});Fx.Transition=function(b,a){a=Array.from(a);return Object.append(b,{easeIn:function(c){return b(c,a)},easeOut:function(c){return 1-b(1-c,a)},easeInOut:function(c){return(c<=0.5)?b(2*c,a)/2:(2-b(2*(1-c),a))/2}})};Fx.Transitions={linear:function(a){return a}};Fx.Transitions=new Hash(Fx.Transitions);Fx.Transitions.extend=function(a){for(var b in a){Fx.Transitions[b]=new Fx.Transition(a[b])}};Fx.Transitions.extend({Pow:function(b,a){return Math.pow(b,a&&a[0]||6)},Expo:function(a){return Math.pow(2,8*(a-1))},Circ:function(a){return 1-Math.sin(Math.acos(a))},Sine:function(a){return 1-Math.sin((1-a)*Math.PI/2)},Back:function(b,a){a=a&&a[0]||1.618;return Math.pow(b,2)*((a+1)*b-a)},Bounce:function(g){var f;for(var d=0,c=1;1;d+=c,c/=2){if(g>=(7-4*d)/11){f=c*c-Math.pow((11-6*d-11*g)/4,2);break}}return f},Elastic:function(b,a){return Math.pow(2,10*--b)*Math.cos(20*b*Math.PI*(a&&a[0]||1)/3)}});["Quad","Cubic","Quart","Quint"].each(function(b,a){Fx.Transitions[b]=new Fx.Transition(function(c){return Math.pow(c,[a+2])})});(function(){var a=("onprogress" in new Browser.Request);var c=this.Request=new Class({Implements:[Chain,Events,Options],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:true,format:false,method:"post",link:"ignore",isSuccess:null,emulation:true,urlEncoded:true,encoding:"utf-8",evalScripts:false,evalResponse:false,timeout:0,noCache:false},initialize:function(d){this.xhr=new Browser.Request();this.setOptions(d);this.headers=this.options.headers},onStateChange:function(){var d=this.xhr;if(d.readyState!=4||!this.running){return}this.running=false;this.status=0;Function.attempt(function(){var f=d.status;this.status=(f==1223)?204:f}.bind(this));d.onreadystatechange=function(){};clearTimeout(this.timer);this.response={text:this.xhr.responseText||"",xml:this.xhr.responseXML};if(this.options.isSuccess.call(this,this.status)){this.success(this.response.text,this.response.xml)}else{this.failure()}},isSuccess:function(){var d=this.status;return(d>=200&&d<300)},isRunning:function(){return !!this.running},processScripts:function(d){if(this.options.evalResponse||(/(ecma|java)script/).test(this.getHeader("Content-type"))){return Browser.exec(d)}return d.stripScripts(this.options.evalScripts)},success:function(f,d){this.onSuccess(this.processScripts(f),d)},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain()},failure:function(){this.onFailure()},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr)},loadstart:function(d){this.fireEvent("loadstart",[d,this.xhr])},progress:function(d){this.fireEvent("progress",[d,this.xhr])},timeout:function(){this.fireEvent("timeout",this.xhr)},setHeader:function(d,f){this.headers[d]=f;return this},getHeader:function(d){return Function.attempt(function(){return this.xhr.getResponseHeader(d)}.bind(this))},check:function(){if(!this.running){return true}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.pass(arguments,this));return false}return false},send:function(p){if(!this.check(p)){return this}this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.running=true;var m=typeOf(p);if(m=="string"||m=="element"){p={data:p}}var h=this.options;p=Object.append({data:h.data,url:h.url,method:h.method},p);var k=p.data,f=String(p.url),d=p.method.toLowerCase();switch(typeOf(k)){case"element":k=document.id(k).toQueryString();break;case"object":case"hash":k=Object.toQueryString(k)}if(this.options.format){var n="format="+this.options.format;k=(k)?n+"&"+k:n}if(this.options.emulation&&!["get","post"].contains(d)){var l="_method="+d;k=(k)?l+"&"+k:l;d="post"}if(this.options.urlEncoded&&["post","put"].contains(d)){var g=(this.options.encoding)?"; charset="+this.options.encoding:"";this.headers["Content-type"]="application/x-www-form-urlencoded"+g}if(!f){f=document.location.pathname}var j=f.lastIndexOf("/");if(j>-1&&(j=f.indexOf("#"))>-1){f=f.substr(0,j)}if(this.options.noCache){f+=(f.contains("?")?"&":"?")+String.uniqueID()}if(k&&d=="get"){f+=(f.contains("?")?"&":"?")+k;k=null}var o=this.xhr;if(a){o.onloadstart=this.loadstart.bind(this);o.onprogress=this.progress.bind(this)}o.open(d.toUpperCase(),f,this.options.async,this.options.user,this.options.password);if(this.options.user&&"withCredentials" in o){o.withCredentials=true}o.onreadystatechange=this.onStateChange.bind(this);Object.each(this.headers,function(s,q){try{o.setRequestHeader(q,s)}catch(t){this.fireEvent("exception",[q,s])}},this);this.fireEvent("request");o.send(k);if(!this.options.async){this.onStateChange()}if(this.options.timeout){this.timer=this.timeout.delay(this.options.timeout,this)}return this},cancel:function(){if(!this.running){return this}this.running=false;var d=this.xhr;d.abort();clearTimeout(this.timer);d.onreadystatechange=d.onprogress=d.onloadstart=function(){};this.xhr=new Browser.Request();this.fireEvent("cancel");return this}});var b={};["get","post","put","delete","GET","POST","PUT","DELETE"].each(function(d){b[d]=function(f){return this.send({data:f,method:d})}});c.implement(b);Element.Properties.send={set:function(d){var f=this.get("send").cancel();f.setOptions(d);return this},get:function(){var d=this.retrieve("send");if(!d){d=new c({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")});this.store("send",d)}return d}};Element.implement({send:function(d){var f=this.get("send");f.send({data:this,url:d||f.options.url});return this}})})();Request.HTML=new Class({Extends:Request,options:{update:false,append:false,evalScripts:true,filter:false,headers:{Accept:"text/html, application/xml, text/xml, */*"}},success:function(f){var d=this.options,b=this.response;b.html=f.stripScripts(function(g){b.javascript=g});var c=b.html.match(/<body[^>]*>([\s\S]*?)<\/body>/i);if(c){b.html=c[1]}var a=new Element("div").set("html",b.html);b.tree=a.childNodes;b.elements=a.getElements("*");if(d.filter){b.tree=b.elements.filter(d.filter)}if(d.update){document.id(d.update).empty().set("html",b.html)}else{if(d.append){document.id(d.append).adopt(a.getChildren())}}if(d.evalScripts){Browser.exec(b.javascript)}this.onSuccess(b.tree,b.elements,b.html,b.javascript)}});Element.Properties.load={set:function(a){var b=this.get("load").cancel();b.setOptions(a);return this},get:function(){var a=this.retrieve("load");if(!a){a=new Request.HTML({data:this,link:"cancel",update:this,method:"get"});this.store("load",a)}return a}};Element.implement({load:function(){this.get("load").send(Array.link(arguments,{data:Type.isObject,url:Type.isString}));return this}});if(!this.JSON){this.JSON={}}JSON=new Hash({stringify:JSON.stringify,parse:JSON.parse});Object.append(JSON,{$specialChars:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},$replaceChars:function(a){return JSON.$specialChars[a]||"\\u00"+Math.floor(a.charCodeAt()/16).toString(16)+(a.charCodeAt()%16).toString(16)},encode:function(b){switch(typeOf(b)){case"string":return'"'+b.replace(/[\x00-\x1f\\"]/g,JSON.$replaceChars)+'"';case"array":return"["+String(b.map(JSON.encode).clean())+"]";case"object":case"hash":var a=[];Object.each(b,function(f,d){var c=JSON.encode(f);if(c){a.push(JSON.encode(d)+":"+c)}});return"{"+a+"}";case"number":case"boolean":return String(b);case"null":return"null"}return null},decode:function(string,secure){if(typeOf(string)!="string"||!string.length){return null}if(secure&&!(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(string.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,""))){return null}return eval("("+string+")")}});Request.JSON=new Class({Extends:Request,options:{secure:true},initialize:function(a){this.parent(a);Object.append(this.headers,{Accept:"application/json","X-Request":"JSON"})},success:function(c){var b=this.options.secure;var a=this.response.json=Function.attempt(function(){return JSON.decode(c,b)});if(a==null){this.onFailure()}else{this.onSuccess(a,c)}}});var Cookie=new Class({Implements:Options,options:{path:"/",domain:false,duration:false,secure:false,document:document,encode:true},initialize:function(b,a){this.key=b;this.setOptions(a)},write:function(b){if(this.options.encode){b=encodeURIComponent(b)}if(this.options.domain){b+="; domain="+this.options.domain}if(this.options.path){b+="; path="+this.options.path}if(this.options.duration){var a=new Date();a.setTime(a.getTime()+this.options.duration*24*60*60*1000);b+="; expires="+a.toGMTString()}if(this.options.secure){b+="; secure"}this.options.document.cookie=this.key+"="+b;return this},read:function(){var a=this.options.document.cookie.match("(?:^|;)\\s*"+this.key.escapeRegExp()+"=([^;]*)");return(a)?decodeURIComponent(a[1]):null},dispose:function(){new Cookie(this.key,Object.merge({},this.options,{duration:-1})).write("");return this}});Cookie.write=function(b,c,a){return new Cookie(b,a).write(c)};Cookie.read=function(a){return new Cookie(a).read()};Cookie.dispose=function(b,a){return new Cookie(b,a).dispose()};(function(k,m){var n,g,f=[],c,b,o=true;try{o=k.frameElement!=null}catch(j){}var h=function(){clearTimeout(b);if(n){return}Browser.loaded=n=true;m.removeListener("DOMContentLoaded",h).removeListener("readystatechange",a);m.fireEvent("domready");k.fireEvent("domready")};var a=function(){for(var p=f.length;p--;){if(f[p]()){h();return true}}return false};var l=function(){clearTimeout(b);if(!a()){b=setTimeout(l,10)}};m.addListener("DOMContentLoaded",h);var d=m.createElement("div");if(d.doScroll&&!o){f.push(function(){try{d.doScroll();return true}catch(p){}return false});c=true}if(m.readyState){f.push(function(){var p=m.readyState;return(p=="loaded"||p=="complete")})}if("onreadystatechange" in m){m.addListener("readystatechange",a)}else{c=true}if(c){l()}Element.Events.domready={onAdd:function(p){if(n){p.call(this)}}};Element.Events.load={base:"load",onAdd:function(p){if(g&&this==k){p.call(this)}},condition:function(){if(this==k){h();delete Element.Events.load}return true}};k.addEvent("load",function(){g=true})})(window,document);(function(){var id=0;var Swiff=this.Swiff=new Class({Implements:Options,options:{id:null,height:1,width:1,container:null,properties:{},params:{quality:"high",allowScriptAccess:"always",wMode:"window",swLiveConnect:true},callBacks:{},vars:{}},toElement:function(){return this.object},initialize:function(path,options){this.instance="Swiff_"+id++;this.setOptions(options);options=this.options;var id=this.id=options.id||this.instance;var container=document.id(options.container);Swiff.CallBacks[this.instance]={};var params=options.params,vars=options.vars,callBacks=options.callBacks;var properties=Object.append({height:options.height,width:options.width},options.properties);var self=this;for(var callBack in callBacks){Swiff.CallBacks[this.instance][callBack]=(function(option){return function(){return option.apply(self.object,arguments)}})(callBacks[callBack]);vars[callBack]="Swiff.CallBacks."+this.instance+"."+callBack}params.flashVars=Object.toQueryString(vars);if(Browser.ie){properties.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";params.movie=path}else{properties.type="application/x-shockwave-flash"}properties.data=path;var build='<object id="'+id+'"';for(var property in properties){build+=" "+property+'="'+properties[property]+'"'}build+=">";for(var param in params){if(params[param]){build+='<param name="'+param+'" value="'+params[param]+'" />'}}build+="</object>";this.object=((container)?container.empty():new Element("div")).set("html",build).firstChild},replaces:function(element){element=document.id(element,true);element.parentNode.replaceChild(this.toElement(),element);return this},inject:function(element){document.id(element,true).appendChild(this.toElement());return this},remote:function(){return Swiff.remote.apply(Swiff,[this.toElement()].extend(arguments))}});Swiff.CallBacks={};Swiff.remote=function(obj,fn){var rs=obj.CallFunction('<invoke name="'+fn+'" returntype="javascript">'+__flash__argumentsToXML(arguments,2)+"</invoke>");return eval(rs)}})();(function(f,b){function d(){}function u(C){c=[C]}function o(C){g.insertBefore(C,g.firstChild)}function n(E,C,D){E&&E.apply(C,D)}function m(C){return/\?/.test(C)?"&":"?"}var p="async",s="",A="error",t="_jqjsp",x="on",q=x+A,a=x+"load",k=x+"readystatechange",z="removeChild",h="<script/>",w="success",y="timeout",g=f("head")[0]||document.documentElement,v={},l=0,c,j={callback:t,url:location.href};function B(C){C=f.extend({},j,C);var Q=C.complete,E=C.dataFilter,M=C.callbackParameter,R=C.callback,G=C.cache,I=C.pageCache,D=C.url,L=C.data,P=C.timeout,O,K=C.beforeSend,J=0,H=d;C.abort=function(){!J++&&H()};if(K&&(K(C,C)===false||J)){return C}D=D||s;L=L?((typeof L)=="string"?L:f.param(L,C.traditional)):s;D+=L?(m(D)+L):s;M&&(D+=m(D)+escape(M)+"=?");!G&&!I&&(D+=m(D)+"_"+(new Date()).getTime()+"=");D=D.replace(/=\?(&|$)/,"="+R+"$1");function N(S){!J++&&b(function(){H();I&&(v[D]={s:[S]});E&&(S=E.apply(C,[S]));n(C.success,C,[S,w]);n(Q,C,[C,w])},0)}function F(S){!J++&&b(function(){H();I&&S!=y&&(v[D]=S);n(C.error,C,[C,S]);n(Q,C,[C,S])},0)}I&&(O=v[D])?(O.s?N(O.s[0]):F(O)):b(function(T,S,U){if(!J){U=P>0&&b(function(){F(y)},P);H=function(){U&&clearTimeout(U);T[k]=T[a]=T[q]=null;g[z](T);S&&S.parentNode&&g[z](S)};window[R]=u;T=f(h)[0];function V(W){W=c;c=undefined;W?N(W[0]):F(A)}T[k]=function(){/loaded|complete/.test(T.readyState)&&V()};T[q]=T[a]=V;f.browser.opera?((S=f(h)[0]).text="jQuery('#"+(T.id=t+l++)+"')[0]."+q+"()"):T[p]=p;T.src=D;o(T);b(function(){S&&o(S)},1000)}},0);return C}B.setup=function(C){f.extend(j,C)};f.jsonp=B})(jQuery,setTimeout);(function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms")}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s)}else{alert(s)}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug=""}if(table.tBodies.length==0){return}var rows=table.tBodies[0].rows;if(rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter)}else{if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter)}}if(!p){p=detectParserForColumn(table,rows,-1,i)}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n"}list.push(p)}}if(table.config.debug){log(parsersDebug)}return list}function detectParserForColumn(table,rows,rowIndex,cellIndex){var l=parsers.length,node=false,nodeValue=false,keepLooking=true;while(nodeValue==""&&keepLooking){rowIndex++;if(rows[rowIndex]){node=getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex);nodeValue=trimAndGetNodeText(table.config,node);if(table.config.debug){log("Checking if value was empty on row:"+rowIndex)}}else{keepLooking=false}}for(var i=1;i<l;i++){if(parsers[i].is(nodeValue,table,node)){return parsers[i]}}return parsers[0]}function getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex){return rows[rowIndex].cells[cellIndex]}function trimAndGetNodeText(config,node){return $.trim(getElementText(config,node))}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i]}}return false}function buildCache(table){if(table.config.debug){var cacheTime=new Date()}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=$(table.tBodies[0].rows[i]),cols=[];if(c.hasClass(table.config.cssChildRow)){cache.row[cache.row.length-1]=cache.row[cache.row.length-1].add(c);continue}cache.row.push(c);for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c[0].cells[j]),table,c[0].cells[j]))}cols.push(cache.normalized.length);cache.normalized.push(cols);cols=null}if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime)}return cache}function getElementText(config,node){var text="";if(!node){return""}if(!config.supportsTextContent){config.supportsTextContent=node.textContent||false}if(config.textExtraction=="simple"){if(config.supportsTextContent){text=node.textContent}else{if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){text=node.childNodes[0].innerHTML}else{text=node.innerHTML}}}else{if(typeof(config.textExtraction)=="function"){text=config.textExtraction(node)}else{text=$(node).text()}}return text}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){var pos=n[i][checkCell];rows.push(r[pos]);if(!table.config.appender){var l=r[pos].length;for(var j=0;j<l;j++){tableBody[0].appendChild(r[pos][j])}}}if(table.config.appender){table.config.appender(table,rows)}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime)}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd")},0)}function buildHeaders(table){if(table.config.debug){var time=new Date()}var meta=($.metadata)?true:false;var header_index=computeTableHeaderCellIndexes(table);$tableHeaders=$(table.config.selectorHeaders,table).each(function(index){this.column=header_index[this.parentNode.rowIndex+"-"+this.cellIndex];this.order=formatSortingOrder(table.config.sortInitialOrder);this.count=this.order;if(checkHeaderMetadata(this)||checkHeaderOptions(table,index)){this.sortDisabled=true}if(checkHeaderOptionsSortingLocked(table,index)){this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(table,index)}if(!this.sortDisabled){var $th=$(this).addClass(table.config.cssHeader);if(table.config.onRenderHeader){table.config.onRenderHeader.apply($th)}}table.config.headerList[index]=this});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders)}return $tableHeaders}function computeTableHeaderCellIndexes(t){var matrix=[];var lookup={};var thead=t.getElementsByTagName("THEAD")[0];var trs=thead.getElementsByTagName("TR");for(var i=0;i<trs.length;i++){var cells=trs[i].cells;for(var j=0;j<cells.length;j++){var c=cells[j];var rowIndex=c.parentNode.rowIndex;var cellId=rowIndex+"-"+c.cellIndex;var rowSpan=c.rowSpan||1;var colSpan=c.colSpan||1;var firstAvailCol;if(typeof(matrix[rowIndex])=="undefined"){matrix[rowIndex]=[]}for(var k=0;k<matrix[rowIndex].length+1;k++){if(typeof(matrix[rowIndex][k])=="undefined"){firstAvailCol=k;break}}lookup[cellId]=firstAvailCol;for(var k=rowIndex;k<rowIndex+rowSpan;k++){if(typeof(matrix[k])=="undefined"){matrix[k]=[]}var matrixrow=matrix[k];for(var l=firstAvailCol;l<firstAvailCol+colSpan;l++){matrixrow[l]="x"}}}}return lookup}function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++))}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell)}}}return arr}function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true}return false}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true}return false}function checkHeaderOptionsSortingLocked(table,i){if((table.config.headers[i])&&(table.config.headers[i].lockedOrder)){return table.config.headers[i].lockedOrder}return false}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table)}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i]}}}function formatSortingOrder(v){if(typeof(v)!="Number"){return(v.toLowerCase()=="desc")?1:0}else{return(v==1)?1:0}}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true}}return false}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this)}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]])}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$("<colgroup>");$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($("<col>").css("width",$(this).width()))});$(table).prepend(colgroup)}}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date()}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(table.config.parsers[c].type=="text")?((order==0)?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c)):((order==0)?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c));var e="e"+i;dynamicExp+="var "+e+" = "+s;dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; "}dynamicExp+="return 0; ";dynamicExp+="}; ";if(table.config.debug){benchmark("Evaling expression:"+dynamicExp,new Date())}eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime)}return cache}function makeSortFunction(type,direction,index){var a="a["+index+"]",b="b["+index+"]";if(type=="text"&&direction=="asc"){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+b+") ? -1 : 1 )));"}else{if(type=="text"&&direction=="desc"){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+b+" < "+a+") ? -1 : 1 )));"}else{if(type=="numeric"&&direction=="asc"){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+b+"));"}else{if(type=="numeric"&&direction=="desc"){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+b+" - "+a+"));"}}}}}function makeSortText(i){return"((a["+i+"] < b["+i+"]) ? -1 : ((a["+i+"] > b["+i+"]) ? 1 : 0));"}function makeSortTextDesc(i){return"((b["+i+"] < a["+i+"]) ? -1 : ((b["+i+"] > a["+i+"]) ? 1 : 0));"}function makeSortNumeric(i){return"a["+i+"]-b["+i+"];"}function makeSortNumericDesc(i){return"b["+i+"]-a["+i+"];"}function sortText(a,b){if(table.config.sortLocaleCompare){return a.localeCompare(b)}return((a<b)?-1:((a>b)?1:0))}function sortTextDesc(a,b){if(table.config.sortLocaleCompare){return b.localeCompare(a)}return((b<a)?-1:((b>a)?1:0))}function sortNumeric(a,b){return a-b}function sortNumericDesc(a,b){return b-a}function getCachedSortType(parsers,i){return parsers[i].type}this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies){return}var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$.data(this,"tablesorter",config);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){$this.trigger("sortStart");var $cell=$(this);var i=this.column;this.order=this.count++%2;if(this.lockedOrder){this.order=this.lockedOrder}if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j])}}}config.sortList.push([i,this.order])}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2}}}else{config.sortList.push([i,this.order])}}setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache))},1);return false}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false}});$this.bind("update",function(){var me=this;setTimeout(function(){me.config.parsers=buildParserCache(me,$headers);cache=buildCache(me)},1)}).bind("updateCell",function(e,cell){var config=this.config;var pos=[(cell.parentNode.rowIndex-1),cell.cellIndex];cache.normalized[pos[0]][pos[1]]=config.parsers[pos[1]].format(getElementText(config,cell),cell)}).bind("sorton",function(e,list){$(this).trigger("sortStart");config.sortList=list;var sortList=config.sortList;updateHeaderSortCount(this,sortList);setHeadersCss(this,$headers,sortList,sortCSS);appendToTable(this,multisort(this,sortList,cache))}).bind("appendCache",function(){appendToTable(this,cache)}).bind("applyWidgetId",function(e,id){getWidgetById(id).format(this)}).bind("applyWidgets",function(){applyWidget(this)});if($.metadata&&($(this).metadata()&&$(this).metadata().sortlist)){config.sortList=$(this).metadata().sortlist}if(config.sortList.length>0){$this.trigger("sorton",[config.sortList])}applyWidget(this)})};this.addParser=function(parser){var l=parsers.length,a=true;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==parser.id.toLowerCase()){a=false}}if(a){parsers.push(parser)}};this.addWidget=function(widget){widgets.push(widget)};this.formatFloat=function(s){var i=parseFloat(s);return(isNaN(i))?0:i};this.formatInt=function(s){var i=parseInt(s);return(isNaN(i))?0:i};this.isDigit=function(s,config){return/^[-+]?\d*$/.test($.trim(s.replace(/[,.']/g,"")))};this.clearTableBody=function(table){if($.browser.msie){function empty(){while(this.firstChild){this.removeChild(this.firstChild)}}empty.apply(table.tBodies[0])}else{table.tBodies[0].innerHTML=""}}}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(s){return true},format:function(s){return $.trim(s.toLocaleLowerCase())},type:"text"});ts.addParser({id:"digit",is:function(s,table){var c=table.config;return $.tablesorter.isDigit(s,c)},format:function(s){return $.tablesorter.formatFloat(s)},type:"numeric"});ts.addParser({id:"currency",is:function(s){return/^[£$€?.]/.test(s)},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/[£$€]/g),""))},type:"numeric"});ts.addParser({id:"ipAddress",is:function(s){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(s)},format:function(s){var a=s.split("."),r="",l=a.length;for(var i=0;i<l;i++){var item=a[i];if(item.length==2){r+="0"+item}else{r+=item}}return $.tablesorter.formatFloat(r)},type:"numeric"});ts.addParser({id:"url",is:function(s){return/^(https?|ftp|file):\/\/$/.test(s)},format:function(s){return jQuery.trim(s.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"});ts.addParser({id:"isoDate",is:function(s){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(s)},format:function(s){return $.tablesorter.formatFloat((s!="")?new Date(s.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"});ts.addParser({id:"percent",is:function(s){return/\%$/.test($.trim(s))},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/%/g),""))},type:"numeric"});ts.addParser({id:"usLongDate",is:function(s){return s.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(s){return $.tablesorter.formatFloat(new Date(s).getTime())},type:"numeric"});ts.addParser({id:"shortDate",is:function(s){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s)},format:function(s,table){var c=table.config;s=s.replace(/\-/g,"/");if(c.dateFormat=="us"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2")}else{if(c.dateFormat=="uk"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1")}else{if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")}}}return $.tablesorter.formatFloat(new Date(s).getTime())},type:"numeric"});ts.addParser({id:"time",is:function(s){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(s)},format:function(s){return $.tablesorter.formatFloat(new Date("2000/01/01 "+s).getTime())},type:"numeric"});ts.addParser({id:"metadata",is:function(s){return false},format:function(s,table,cell){var c=table.config,p=(!c.parserMetadataName)?"sortValue":c.parserMetadataName;return $(cell).metadata()[p]},type:"numeric"});ts.addWidget({id:"zebra",format:function(table){if(table.config.debug){var time=new Date()}var $tr,row=-1,odd;$("tr:visible",table.tBodies[0]).each(function(i){$tr=$(this);if(!$tr.hasClass(table.config.cssChildRow)){row++}odd=(row%2==0);$tr.removeClass(table.config.widgetZebra.css[odd?0:1]).addClass(table.config.widgetZebra.css[odd?1:0])});if(table.config.debug){$.tablesorter.benchmark("Applying Zebra widget",time)}}})})(jQuery);GIGO.gettext_messages={builtin:{bad:"bad",click_to_see:"Click to see",failed_to_load:"failed to load",faq:"Frequently Asked Questions",go_back:"[go back]",loading:"loading...",more_info:"[more info]",ok:"ok",permalink:"[permalink]",readiness_ipv4:"for your IPv4 stability and readiness, when publishers offer both IPv4 and IPv6",readiness_ipv6:"for your IPv6 stability and readiness, when publishers are forced to go IPv6 only",readiness_scores:"Your readiness scores",slow:"slow",started:"Started",test_data:"test data",test_posted:"(Updated server side IPv6 readiness stats)",test_postfail:"(Survey posting failed; the above information is accurate, but not recorded.)",test_posting:"(Updating server side IPv6 readiness stats)",test_rigged:"(Survey posting skipped; test was rigged)",timeout:"timeout",using:"using",v4is:"Your IPv4 address on the public Internet appears to be",v6is:"Your IPv6 address on the public Internet appears to be",v6service:"Your IPv6 service appears to be",versions:"%app: You are running version %found; we recommend %suggest or newer.",your_faq:"Your FAQ"},checkresults:{rig_text:"test parameter wrong.  should be 9 characters. o/s/b/t for open/slow/bad/timeout.  Need one per: a aaaa ds4 ds6 dsmtu ipv4 ipv6 v6mtu v6ns",unknown_expansion:"unknown expansion",unknown_result_code:"unknown result code"},form:{confused:"We don't quite understand these results.  Please hit reload on your browser once and  %retest.  If the results are the same, please %share with me to improve this test.",missing_contact:"Note: I can't contact you, if the contact info is blank.  If you really want to submit this anonymously, hit Send Results again.",result_code:"Result code",retest:"retest",share:"share your results",solicit:"I am most interested in discussing your setup with you, because it was been determined that <B>your IPv6 connectivity is broken</b>, or at least not fully understood.  This is not normal; would you be willing to %share?"},html:{click_to_see:"Click to see",debug:"Debug",disclaimer:"This is a mirror of test-ipv6.com. The views expressed here may or may not reflect the views of the mirror owner.",faq_for_you:"FAQ for You",h1:"Test your IPv6 connectivity.",help_popup:"Help Popup",mirrors:"Mirrors",share:"Share Results / Contact",summary:"Summary",tabnav_changes:"Changes/ToDo",tabnav_faq:"FAQ",tabnav_index:"Test IPv6",tabnav_ipv6day:"IPv6 Day",tabnav_ipv6launch:"World IPv6 Launch",tabnav_stats:"Stats",tech_info:"Technical Info",tests_run:"Tests Run",when:"Local Times"},html_header:{description:"This will test your browser and connection for IPv6 readiness, as well as show you your current IPV4 and IPv6 address.",title:"Test your IPv6."},html_mail:{comments_delayed:'<b>There may be a delay for a response</b>, due to recent press releases about <a href="http://www.internetsociety.org/worldipv6day">World IPv6 Day</a>.',comments_english:"Please leave your comments using English, if possible.",comments_faq:'<span id="comments_faq_link"></span> (FAQ) page is available for <b>your</b> exact set of results.  Please read it  before leaving comments; many questions have already been answered.  If you still have questions, comments, or concerns, feel freel to use this form.',comments_unwanted:"This form will let you leave a comment, voice concerns, or ask questions.  Your test results will be included automatically.",comments_wanted:"<b>Your particular configuration is of interest.</b> We are always striving to make the test-ipv6.com code better.  Would you be willing to contribute more information about your browser and computer setup? With your help, we can document for others how to repair their systems.",form_bug:"Report a bug with diagnosis",form_cheersjeers:"Cheers or Jeers",form_email:"Email address if you'll permit me to contact you.  <i>Required, if you wish a response.</i>",form_pickone:"(Pick one)",form_purpose:"Purpose for comment",form_questions:"Questions about test results",form_submit:"Send results",form_suggestion:"Suggestion",help_anyinfo:"Any information you think I might find useful (what router you're using, or a firewall in the way, or type of proxy you use, etc). This includes general feedback.",help_generic:"If you are technically minded please cut/paste the output of the following commands:",help_output:"Copy the output from those commands, into the box below. This will help me confirm/deny any theories relating to your question.",help_plugins:"The javascript based test appears to have failed.  This may be browser plugin or extension related. Please indicate what browser plugins and extenions you have enabled in this browser.",help_windows:'If you are technically minded, please open a "Command Prompt" or "cmd" window, and run these three commands:',limit_info:"If reporting a problem with the test, or requesting help with your results, please fill out all requested information to the best of your ability.  If leaving general comments, use your best judgement on how much to report.",thanks:"Thanks,"},html_tech:{bonus:"(This is bonus credit)",detail_a:"Fetches an object that has just an A record in DNS.  This is expected to use IPv4. IPv6-only users might still reach this, if their provider has employed a NAT64/DNS64 or proxy solution.",detail_aaaa:"Fetches an object that has just an AAAA record in DNS. This is expected to use IPv6. Users not yet on the IPv6 Internet are likely to see this fail. As long as it fails quickly, it will be OK - for now.",detail_buggydns1:'Queries for a malformed AAAA record. Some routers mishandle these as "A" records, and only keep the first 32 bits.  We want this test to fail to connect.',detail_ds:"This is the most important test. This verifies your browser can connect to a site that has both IPv4 and IPv6 records published.  IPv4 only hosts should  connect fine (using IPv4).",detail_ds_warning:"If this test fails or times out, you can expect major problems as publishers start offering their sites on IPv6.",detail_dsmtu:"Validates that you can connect to a dual-stack server (like the ds test); and that you can send/receive large packets on that connection.  If this test times out for any reason, it indicates trouble for World IPv6 Day.",detail_ipv4:"This will try connecting with a literal IPv4 numeric address. This should work for most people, unless they are running IPv6-only. If the first test worked, but this fails, it likely confirms your provider is using NAT64/DNS64; you'll need to only try connecting using hostnames instead of numeric IP addresses.",detail_ipv6:"This will try connecting with a literal IPv6 hexadecimal address. The primary purpose of this test is to separate out your connectivity on IPv6 from your ability to fetch DNS for it.  A secondary purpose is to see if you have Teredo enabled; some systems may only use Teredo when an IPv6 address is in the URL.",detail_v6mtu:"Validates that IPv6 requests with large packets work. If this test times out, but other IPv6 tests work, it suggests that there may be PMTUD issues; possibly involving IP tunnels.",detail_v6ns:"This is a test of your ISP's resolver (instead of a test of your host). If this test passes, your DNS server (often run by your ISP)  is capable of reaching IPV6-only DNS authoritative servers on the Internet.  This is not critical (at this time) for you to reach sites via IPv6.",how_general:"Your browser will be instructed to reach a series of URLs. The combination of successes and failures tells a story about how ready you are for when publishers start offering their web sites on IPv6.",how_this_works:"How this test works:",pending:"pending",summary1:"If the summary results indicated problems, you (or your technical support) may be able to use the information above to diagnose the issues. Each of the test urls and their results is shown on the left side. To the right you'll see a description of what that URL was designed to test.",summary2:"After each test is ran. The summary page attempts to look at the results If the summary doesn't seem to make sense given the symptoms recorded above, or if you need further assistance, please feel free to contact us."},html_tests:{bonus:"(This is bonus credit)",test_a:"Test with IPv4 DNS record",test_aaaa:"Test with IPv6 DNS record",test_buggydns1:"Test for buggy DNS",test_ds:"Test with Dual Stack DNS record",test_dsmtu:"Test for Dual Stack DNS and large packet",test_ipv4:"Test IPv4 without DNS",test_ipv6:"Test IPv6 without DNS",test_v6mtu:"Test IPv6 large packet",test_v6ns:"Test if your ISP's DNS server uses IPv6"},messages:{"6to4":"You appear to be using a public 6to4 gateway; your router may be providing this to you automatically.  Such public gateways have no service level agreements; you may see performance problems using such.  Better would be to get a native IPv6 address from your ISP.","IPv6 MTU":"Danger! IPv6 sorta works - however, large packets appear to fail, giving the appearance of a broken website.  If a publisher publishes to IPv6, you will believe their web site to be broken. Ask your ISP about MTU issues; possibly with your tunnel.",NAT64:"Congratulations!  You appear to have IPv6.  Note: your IPv4 access is limited to connections by hostname looked up through your ISP's DNS server - not raw IP address.  Your ISP probably has a device to help you reach IPv4 sites by name (NAT64+DNS64).  This will work for most purposes.","No Direct IP":"Connections to urls with IP addresses appear to be blocked; perhaps by a web filter such as 'NoScript' or 'RequestPolicy' installed into your browser, or filtering in your proxy server.  This limits some of the functionality of this test site.","No Direct IPv4":"IPv4 Connections using DNS work; but literal IP addresses in urls do not.  These are rarely used on the web today.","No Direct IPv6":"IPv6 Connections using DNS work; but literal IP addresses in urls do not. These are rarely used on the web today.","apple:dnsbug_aaaa":'A lookup for an IPv6-only name failed; yet the lookup and connect for dual-stack connected via IPv6.   The IPv6-only lookup should have worked.  Apple has a bug that sporadically causes some IPv6 lookups to fail.  We saw evidence of it on this test. You can reload the page and try the test again.  For more details, see <a href="http://openradar.appspot.com/7333104">http://openradar.appspot.com/7333104</a>.',"apple:dnsbug_ds":'A lookup for an dual-stack IPv4 and IPv6 name failed (at minimum it should have connected via IPv4).  Apple has a bug that sporadically causes some IPv6 lookups to fail.  We saw evidence of it on this test. You can reload the page and try the test again.  For more details, see <a href="http://openradar.appspot.com/7333104">http://openradar.appspot.com/7333104</a>.',broken:"We have suggestions to help you fix your system.",broken_ipv6:"Connections to IPv6-capable web sites hang.  It appears that you may have IPv6 configured; and your computer believes that your IPv6 is working, with a route.  It is however completely failing.  Any web site that adds IPv6, will become unreachable to you.  If you are unable to fix your IPv6 routing or connectivity, seek help.  If all else fails, strongly consider disabling IP6 on host.",buggydns1:"We looked up an IPv6 address, but your DNS server (possibly your home router) mangled the response, and is treating it as (broken) IPv4.","confused:ASK":"Test results inconclusive; they were not consistent with expectations.  Please rerun the test, and if the results are the same, please fill out the contact form.","confused:obbo":"A lookup for an IPv6-only name failed; yet the lookup and connect for dual-stack connected via IPv6.  Something appears to be confused with the DNS lookups.","dualstack:ipv4_preferred":"Congratulations!  You appear to have both IPv4 and IPv6 Internet working.  If a publisher publishes to IPv6, your browser will connect using IPv6.  Note: Your browser appears to prefer IPv4 over IPv6 when given the choice.  This may in the future affect the accuracy of sites who guess at your location.","dualstack:ipv6_preferred":"Congratulations!  You appear to have both IPv4 and IPv6 Internet working.  If a publisher publishes to IPv6, your browser will connect using IPv6.  Your browser prefers IPv6 over IPv4 when given the choice (this is the expected outcome).","dualstack:mtu":'The <a href="ipv6launch.html">World IPv6 Launch</a> day is June 6th, 2012.  <b>Our tests show that you will may have MTU problems with IPv6; this can cause web sites to load slow (or not at all) when those web sites enable IPv6.</b>',"dualstack:safe":'The <a href="ipv6launch.html">World IPv6 Launch</a> day is June 6th, 2012.  <b>Good news!</b> Your current browser, on this computer and at this location, are expected to keep working after the Launch.',"dualstack:slow":"For unknown reasons, your browser appears to operate slower when given the option of connecting to both IPv4 and IPv6.  Please rerun the test, and if the results are the same, please fill out the contact form.","dualstack:unsafe":'The <a href="ipv6launch.html">World IPv6 Launch</a> day is June 6th, 2012.  <b>Our tests show that you will have a broken or misconfigured IPv6 setup, and this will cause problems as web sites enable IPv6.</b>',"ip_timeout:firefox":"You are likely using a FireFox plugin that is causing IP based tests to fail.  Examples: RequestPolicy.  Please disable those while using this site.","ipv4:no_address":"No IPv4 address detected",ipv4_only:"You appear to be able to browse the IPv4 Internet only.  You will not be able to reach IPv6-only sites.","ipv4_only:ds_good":"When a publisher offers both IPv4 and IPv6, your browser appears to be happy to take the IPv4 site without delay.","ipv4_only:ds_slow":"When a publisher offers both IPv4 and IPv6, your browser appears to slow down signficantly compared to an IPv4-only site. You may even believe the destination web site to be broken. This may be due to your IPv6 configuration.","ipv4_only:ds_timeout":"When a publisher offers both IPv4 and IPv6, your browser will time out trying to connect. You may believe the site is down. This may be due to your IPv6 configuration.  Consider disabling IPv6, or seeking help.",ipv4_slow:"Connections to IPv4 are slow, but functional.  Perhaps you or your ISP put you behind an IP sharing device (NAT) that is currently slow.","ipv6:no_address":"No IPv6 address detected","ipv6:nodns":"IPv6 connections work, but connections using DNS names do not use IPv6.  For some reason, your browser or your OS is not doing IPv6 DNS 'AAAA' lookups.",ipv6_only:"You appear to be able to browse the IPv6 Internet only.  You have no access to IPv4.  That's pretty bold!",ipv6_slow:"Connections to IPv6 are slow, but functional.   Perhaps you are using a public IPv6 tunnel that is either slow, or not located near you.",ipv6_timeout:"Connections to IPv6-only sites are timing out.  Any web site that is IPv6 only, will appear to be down to you.",no_address:"Your IP address(es) could not be detected due to inteference from browser add-ons.",opera:"The Opera web browser seems to be break on this site frequently. <b>If you have trouble, try another browser</b>.","opera:turbo":"<b>Disable turbo mode on Opera, and try again.</b>  Turbo mode is not compatible with the needs of this site.",proxy_via:"We have detected that you are using a proxy.  This means we are testing your proxy server, not your computer. Proxy details (as reported by your proxy 'Via' header): %details",proxy_via_dumb:"We have detected that you are using a proxy.  This means we are testing your proxy server, not your computer.",teredo:"Your IPv6 connection appears to be using Teredo, a type of IPv4/IPv6 translation using a public gateway.  The quality for this <i>may</i> suffer, as you are using a public gateway to reach IPv6 based sites.","teredo-minimum":"Your IPv6 connection appears to be using Teredo, a type of IPv4/IPv6 gateway; currently it connects only to direct IP's.  Your browser will not be able to go to IPv6 sites by name.  This means the current configuration is not useful for browsing IPv6 web sites.","teredo-v4pref":"Your IPv6 connection appears to be using Teredo, a type of IPv4/IPv6 gateway.  Your particular teredo configuration is only used as a protocol of last resort. When visiting a site with both IPv4 and IPv6, IPv4 will be preferred.","v6ns:bad":"Your DNS server (possibly run by your ISP) appears to have no access to the IPv6 Internet, or is not configured to use it.  This may in the future restrict your ability to reach IPv6-only sites.","v6ns:ok":"Your DNS server (possibly run by your ISP) appears to have IPv6 Internet access.","webfilter:addons":"Your browser is blocking the test urls.  We will try alternate methods, but they may fail to show your IP address; and may affect the quality of the advice given.","webfilter:blocked":"We are unable to test your system; it appears that a firewall or browser filter is preventing the test from running.  Critical tests are failing.  Try disabling any browser plugins, extensions, or add-ons (such as ad blockers); and reloading this page.  If that still fails, you can leave a comment requesting help.","webfilter:dsboth":"We are unable to test your system; it appears that a firewall or browser filter is preventing the test from running.  The dual-stack tests are failing.  Try disabling any browser plugins, extensions, or add-ons (such as ad blockers); and reloading this page.  If that still fails, you can leave a comment requesting help.","webfilter:firefox":"The most likely cause is NoScript or AdBlock+.  NoScript can be told to permit all scripts on this page (you may need to do this more than once).  At minimum, permit the urls listed below."},messages_popups:{"6to4":["faq_6to4.html","faq: 6to4"],"IPv6 MTU":["faq_pmtud.html","faq: MTU"],broken:["broken.html","faq: Broken!"],buggydns1:["faq_buggydns1.html","faq: Buggy DNS"],"dualstack:mtu":["faq_pmtud.html","faq: MTU"],"dualstack:safe":["faq_ipv6launch.html","World IPv6 Launch"],"dualstack:unsafe":["faq_ipv6launch.html","World IPv6 Launch"],"ip_timeout:firefox":["faq_firefox_plugins.html","faq: Firefox Add-Ons"],"ipv4:no_address":["faq_no_ipv4.html","faq: No IPv4"],"ipv6:no_address":["faq_no_ipv6.html","faq: No IPv6"],"ipv6:nodns":["faq_broken_aaaa.html","faq: Broken DNS Lookups"],opera:["faq_opera.html","faq: Opera"],"teredo-minimum":["faq_teredo_minimum.html","faq: Teredo Minimum"],"v6ns:bad":["faq_v6ns_bad.html","faq: v6ns Bad"],"webfilter:addons":["faq_browser_plugins.html","faq: Browser Plugins"],"webfilter:blocked":["faq_browser_plugins.html","faq: Browser Plugins"],"webfilter:dsboth":["faq_browser_plugins.html","faq: Browser Plugins"],"webfilter:firefox":["faq_firefox_plugins.html","faq: Firefox Add-Ons"]},symptoms:{browser_blocked:"Your browser blocked"}};GIGO.gettext=function(f,d){var h;try{h=GIGO.gettext_messages[f][d]}catch(g){return"[NO TEXT: "+f+" "+d+"]"}if(h){return h}else{return"[NO TEXT: "+f+" "+d+"]"}};$gt=GIGO.gettext;GIGO.dumpObj=function(c,a){var b=GIGO._dumpObj(c,a,"  ",0);b=jQuery("<div/>").text(b).html();GIGO.writeConsole("<pre>"+b+"</pre>")};GIGO._dumpObj_MAX_DUMP_DEPTH=3;GIGO._dumpObj=function(g,c,a,h){var j,b,d;if(h>GIGO._dumpObj_MAX_DUMP_DEPTH){return a+c+": <Maximum Depth Reached>\n"}if(typeof g==="object"){j=null;b=a+c+"\n";a+="\t";for(d in g){if(g.hasOwnProperty(d)){try{j=g[d]}catch(f){j="<Unable to Evaluate>"}if(typeof j==="object"){b+=GIGO._dumpObj(j,d,a,h+1)}else{b+=a+d+": "+j+"\n"}}}return b}else{return g}};GIGO.writeConsole=function(a){top.consoleRef=window.open("","myconsole","width=550,height=450,menubar=1,toolbar=1,status=1,scrollbars=1,resizable=1");top.consoleRef.document.writeln('<html><head><title>Console</title></head><body bgcolor=white onLoad="self.focus()">'+a+"</body></html>");top.consoleRef.document.close()};GIGO.getms=function(){var a=new Date();return a.getTime()};GIGO.slow=5000;GIGO.max_time=15*1000;GIGO.retry_until=15*1000;GIGO.retry_min=1;GIGO.retry_max=3;GIGO.repeat_only_if_slow=1;GIGO.repeated=0;GIGO.builtin={};GIGO.results={};GIGO.results.ipv4={ip:"",subtype:""};GIGO.results.ipv6={ip:"",subtype:""};GIGO.results.tests={};GIGO.tabhistory=["main"];GIGO.tests_planned=0;GIGO.tests_finished=0;GIGO.start_time=GIGO.getms();GIGO.finished=0;GIGO.slowcount=0;GIGO.test_rigged=0;GIGO.tests=[];GIGO.queue=[];GIGO.dequeued=[];GIGO.use_queue=0;if(Browser.firefox){GIGO.use_queue=1}if(Browser.opera){GIGO.use_queue=1;GIGO.max_time=15*1000}GIGO.slowcount_delay=20;if(Browser.ie){GIGO.slowcount_delay=200}if(navigator.userAgent.match(/SymbianOS|SymbOS/)){GIGO.slowcount_delay=500;GIGO.slow=9000}GIGO.parseGetVars=function(){var a,c,b,d;a=location.search.substring(1).split("&");c=[];b=0;for(b=0;b<a.length;b=b+1){d=a[b].split("=");c[unescape(d[0])]=unescape(d[1])}return c};GIGO.CGI=GIGO.parseGetVars();GIGO.contact_wanted=GIGO.CGI.contact;GIGO.builtin.show_debug=function(){var a=GIGO._dumpObj(this,"this.","  ",0);a=jQuery("<div/>").text(a).html();jQuery("#debug_dump").html("<pre>"+a+"</pre>")};GIGO.builtin.results_table_wrapper=function(a,c){var b;a=a.toLowerCase();b="";b='<table class="results_wrapper">';b=b+"<tr>";b=b+'<td class="results_left"><p style="margin: 0;">';switch(a){case"green":b=b+'<img src="/images/knob_valid_green.png"/>';break;case"red":b=b+'<img src="/images/knob_cancel.png"/>';break;case"blue":b=b+'<img src="/images/knob_info.png"/>';break;case"orange":b=b+'<img src="/images/knob_attention.png"/>';break;default:b=b+"&nbsp;";break}b=b+"</p></td>";b=b+'<td class="results_right">'+c+"</td>";b=b+"</tr></table>";return b};GIGO.builtin.showdebug=function(){jQuery("#debuglink").show();GIGO.tabnav("debug")};GIGO.builtin.update_ip=function(c){var b,a;a=this.tests[c].ipinfo;GIGO.show_debug();if(this.ipv4.ip!==""){b=$gt("builtin","v4is")+" "+this.ipv4.ip;if(this.ipv4.subtype){b=b+" ("+this.ipv4.subtype+")"}b=GIGO.builtin.results_table_wrapper("blue",b);jQuery("#your_ipv4").html(b)}if(this.ipv6.ip!==""){b=$gt("builtin","v6is")+" "+this.ipv6.ip;if(this.ipv6.subtype){b=b+"<br>"+$gt("builtin","v6service")+": "+this.ipv6.subtype}b=GIGO.builtin.results_table_wrapper("blue",b);jQuery("#your_ipv6").html(b)}};GIGO.builtin.update_status=function(h){var b,g,a,d,f,c;b=this.tests[h].status;g=$gt("builtin",b);a=this.tests[h].time_ms;d=this.tests[h].ipinfo;c=this.tests[h].url;if(!a){f=$gt("builtin","started")}else{if(GIGO.isdef(d)){f="<span class=status_"+b+">"+g+"</span> ("+(a/1000).toFixed(3)+"s) "+$gt("builtin","using")+" "+d.type;if(d.subtype){f=f+" "+d.subtype}}else{f="<span class=status_"+b+">"+b+"</span> ("+(a/1000).toFixed(3)+"s)"}}jQuery("#"+h).html(f);jQuery("#sum_"+h).html(f)};GIGO.builtin.update_url=function(d){var a,c,b;a=this.tests[d].url;c=a.replace(/fill=xxxx*/,"fill=xxx...xxx");b=d.replace(/test_/,"results_");jQuery("#"+b).html("<a id=url href='"+a+"'>"+c+" </a>")};GIGO.builtin.browser_tweaks=function(a){if(Browser.Platform.win){jQuery("#help_windows").show()}else{if(Browser.Platform.linux){jQuery("#help_linux").show()}else{jQuery("#help_generic").show()}}};GIGO.builtin.update_progress=function(b){var c,a;c=b.tests_finished;a=b.queue.length+b.dequeued.length;if(c===a){jQuery("#progress_bar").hide()}else{jQuery("#progress_bar").show();jQuery("#pb1_text").html(" "+c+"/"+a+" tests run")}};GIGO.builtin.send_survey=function(b,c){if(b.test_rigged){jQuery("#survey").html($gt("builtin","test_rigged"));return}c=c.join(",");var a=b.options.url.survey+"?x&"+b.cgistats("a")+b.cgistats("aaaa")+b.cgistats("ds4")+b.cgistats("ds6")+b.cgistats("ipv4")+b.cgistats("ipv6")+b.cgistats("v6ns")+b.cgistats("dsmtu")+"&tokens="+encodeURI(c)+"&rand="+Math.floor(Math.random()*2000000000);a+="&ip4="+this.ipv4.ip;a+="&ip6="+this.ipv6.ip;a+="&ip6subtype="+encodeURI(this.ipv6.subtype);a+="&callback=?";jQuery("#survey").html($gt("builtin","test_posting"));jQuery.jsonp({url:a,cache:true,pageCache:false,timeout:b.max_time,success:function(d){jQuery("#survey").html($gt("builtin","test_posted"))},error:function(g,f){jQuery("#survey").html($gt("builtin","test_postfail")+" "+a)}})};GIGO.builtin.gen_help_link=function(a){var c,d,b;if(a in GIGO.gettext_messages.messages_popups){c=GIGO.gettext_messages.messages_popups[a][0];d=GIGO.gettext_messages.messages_popups[a][1];b='<a href="#" onclick="GIGO.help_popup(\''+c+"','"+d+'\'); return false;" class="help_popup">'+$gt("builtin","more_info")+"</a>";return b}else{return""}};GIGO.builtin.show_results=function(l){var c,d,b,m,k,a,h,f,j,g;c=l.oc(this.tokens);if("Unlikely" in c){l.contact_wanted=1;jQuery("#help_plugins").show()}if("confused:ASK" in c){l.contact_wanted=1;l.showconfused(this.debug_code);jQuery("#help_plugins").show()}if("webfilter:dsboth" in c){jQuery("#help_plugins").show()}if("webfilter:blocked" in c){jQuery("#help_plugins").show()}GIGO.check_versions();for(b=0;b<this.tokens_expanded.length;b=b+1){k=this.tokens_expanded[b];a=GIGO.builtin.gen_help_link(k.token);if(a){k.text=k.text+" "+a}m=GIGO.builtin.results_table_wrapper(k.color,k.text);jQuery("#results_eof").before(m)}h=" "+this.score_transition+"/10";j="score"+this.score_transition;f=" "+this.score_strict+"/10";g="score"+this.score_strict;if(this.score_transition===-1){h="n/a";j="score0"}if(this.score_strict===-1){f="n/a";g="score0"}m='<div id="debugtable"><table width=100%><tr><th colspan=2>'+$gt("builtin","readiness_scores")+"</th></tr>";m+="<tr><td><span id="+j+">"+h+"</span></td><td>"+$gt("builtin","readiness_ipv4")+"</td></tr>";m+="<tr><td><span id="+g+">"+f+"</span></td><td>"+$gt("builtin","readiness_ipv6")+"</td></tr>";m+="</table></div>";m+="<div class='next'><p>"+$gt("builtin","click_to_see")+' <a href="#" class="tabbutton_tests"  onclick=\'return GIGO.tabnav("tests")\'>'+$gt("builtin","test_data")+"</a></p></div>";jQuery("#results_eof").before(m);jQuery("[name=score_transition]").val(this.score_transition);jQuery("[name=score_strict]").val(this.score_strict);GIGO.show_faq_link(this.tokens);if((this.score_transition==="?")||(this.score_transition>10)||(l.contact_wanted)){l.showform()}};GIGO.builtin.show_faq_link=function(h){var c,a,d,g,j,k,b;a={"dualstack:safe,ipv4_only,v6ns:bad":"faq_ipv4_only.html","dualstack:safe,ipv4_only,v6ns:ok":"faq_ipv4_only.html","ipv6:no_address,dualstack:safe,ipv4_only,v6ns:bad":"faq_ipv4_only.html","ipv6:no_address,dualstack:safe,ipv4_only,v6ns:ok":"faq_ipv4_only.html","ipv6:no_address,dualstack:safe,ipv4_only:ds_good,ipv6_timeout,v6ns:bad":"faq_ipv4_only.html","ipv6:no_address,dualstack:safe,ipv4_only:ds_good,ipv6_timeout,v6ns:ok":"faq_ipv4_only.html","dualstack:safe,ipv4_only,teredo-minimum,v6ns:bad":"faq_teredo_minimum.html","dualstack:safe,ipv4_only,teredo-minimum,v6ns:ok":"faq_teredo_minimum.html","dualstack:unsafe,broken":"broken.html","ipv6:no_address,dualstack:unsafe,broken":"broken.html","proxy_via,dualstack:unsafe,broken":"broken.html","ipv6:no_address,proxy_via,dualstack:unsafe,broken":"broken.html"};try{h=h.replace(/,webfilter:[^,]+/g,"")}catch(f){}if(a[h]){jQuery("#comments_unwanted").hide();jQuery("#comments_faq").show();g=a[h];j=$gt("builtin","your_faq");k=$gt("builtin","faq");c='<a href="#" onclick="return GIGO.help_popup(\''+g+"', '"+j+"');\">"+k+"</a>";b=jQuery("#comments_faq_link");b.html(c)}};GIGO.builtin.help_popup=function(d,h,a){var g,f,b,c;if(a===undefined){a=1}g=GIGO.newtab(d,h,a);f="#tab_"+g.handle;if(a){GIGO.tabnav(g.handle)}if(!g.loaded){g.loaded=1;hostname=String(document.location.hostname);d="http://"+hostname+"/"+d;jQuery(f).html($gt("builtin","loading"));jQuery(f).load(d+" #content",function(j,k){if(k!=="success"){jQuery(f).html($gt("builtin","failed_to_load "+d))}c="<p>";c=c+"<a href='#' onclick='return GIGO.goback()' class='goback'>";c=c+$gt("builtin","go_back")+"</a> ";c=c+"<a target='_blank' href='"+d+"' class='permalink'>";c=c+$gt("builtin","permalink")+"</a> ";c=c+"</p>";jQuery(f).append(c)});if(!a){jQuery(f).hide()}}return(g.handle)};GIGO.make_callback_wrapper=function(a){return function(){var b,c,d;if(a in GIGO.options.callbacks){d=arguments.length;b=[];for(c=0;c<d;c+=1){b[c]=arguments[c]}GIGO.options.callbacks[a].apply(GIGO.results,b)}}};(function(){var a;for(a in GIGO.builtin){if(typeof GIGO.builtin[a]==="function"){if(!(a in GIGO)){GIGO[a]=GIGO.make_callback_wrapper(a)}}}}());GIGO.fix_version=function(b){var a;a=b.replace(/_/g,".");return a};GIGO.zeropad=function(b){var c,f,a,d,g,h;c=/\b(\d{1,9})\b/;while(c.test(b)){f=c.exec(b);a=f[0];d=f.index;g=a;while(g.length<10){g="0"+g}h=new RegExp("\\b"+a+"\\b");b=b.replace(h,g)}return b};GIGO.check_version=function(a,f,h){var b,d,g,c;if(f){f=""+f;f=f.replace(/_/g,".");h=h.replace(/_/g,".");g=GIGO.zeropad(f);c=GIGO.zeropad(h);if(g<c){b=$gt("builtin","versions");b=b.replace(/%app/,a);b=b.replace(/%found/,f);b=b.replace(/%suggest/,h);d=GIGO.builtin.results_table_wrapper("orange",b);jQuery("#results_eof").before(d)}}};GIGO.check_mac_os_version=function(){var a;if(navigator.userAgent.search(/Intel Mac OS X ([0123456789]+[._][0123456789]+[._][0123456789]+)/)>=0){if(RegExp.$1){GIGO.check_version("Mac OS X",RegExp.$1,"10.6.7")}}};GIGO.check_browser_firefox=function(){if(Browser.firefox){if(Browser.Platform.mac){GIGO.check_version("Firefox",Browser.version,"4")}}};GIGO.check_browser_safari=function(){if(Browser.safari){GIGO.check_version("Safari",Browser.version,"5.0.5")}};GIGO.check_browser_opera=function(){if(Browser.opera){if(navigator.userAgent.search(/Version\/([0-9.]+)$/)>=0){if(RegExp.$1){GIGO.check_version("Opera",RegExp.$1,"11.10")}}}};GIGO.check_versions=function(){GIGO.check_mac_os_version();GIGO.check_browser_firefox();GIGO.check_browser_opera()};GIGO.goback=function(){var a;if(GIGO.tabhistory.length>0){GIGO.tabhistory.pop()}if(GIGO.tabhistory.length>0){a=GIGO.tabhistory.pop();GIGO.tabnav(a)}return false};GIGO.extra_tabs={};GIGO.newtab=function(f,d){var b,c,a;if(f in GIGO.extra_tabs){return GIGO.extra_tabs[f]}b=f.replace(/[^a-z0-9]/g,"_");GIGO.extra_tabs[f]={original:f,handle:b,title:d};c='<li><a href="#" class="tabbutton_'+b+'" onclick="return GIGO.tabnav(\''+b+"');\">"+d+"</a></li>";a=jQuery("ul#tabnavlist");a.append(c);c='<div id="tab_'+b+'" ></div>';a=jQuery("div#tabbox_inside");a.append(c);return(GIGO.extra_tabs[f])};GIGO.tabnav=function(d){var c,b,a;c="";if(GIGO.tabhistory.length>0){c=GIGO.tabhistory.pop();GIGO.tabhistory.push(c)}if(c!==d){GIGO.tabhistory.push(d)}jQuery("#tab_main").hide();jQuery("#tab_tests").hide();jQuery("#tab_tech").hide();jQuery("#tab_stats").hide();jQuery("#tab_mail").hide();jQuery("#tab_debug").hide();jQuery("#tab_faq").hide();jQuery("#tab_popup").hide();jQuery("a.tabbutton_main").removeAttr("id");jQuery("a.tabbutton_tests").removeAttr("id");jQuery("a.tabbutton_tech").removeAttr("id");jQuery("a.tabbutton_stats").removeAttr("id");jQuery("a.tabbutton_mail").removeAttr("id");jQuery("a.tabbutton_debug").removeAttr("id");jQuery("a.tabbutton_faq").removeAttr("id");jQuery("a.tabbutton_popup").removeAttr("id");for(b in GIGO.extra_tabs){if(GIGO.extra_tabs.hasOwnProperty(b)){a=jQuery("#tab_"+GIGO.extra_tabs[b].handle);a.hide();a=jQuery("a.tabbutton_"+GIGO.extra_tabs[b].handle);a.removeAttr("id")}}jQuery("#tab_"+d).show();jQuery("a.tabbutton_"+d).attr("id","tabcurrent");if(GIGO.contact_wanted){jQuery("a.tabbutton_mail").attr("id","contactme")}return false};GIGO.scores={"No Direct IP":[10,10,"ORANGE"],"No Direct IPv4":[10,10,"BLUE"],"No Direct IPv6":[10,10,"BLUE"],"6to4":[7,7,"BLUE"],teredo:[7,7,"BLUE"],"teredo-v4pref":[10,7,"BLUE"],"teredo-minimum":[10,0,"BLUE"],"IPv6 MTU":[1,1,"RED"],"confused:ASK":[0,0,"ORANGE"],"dualstack:ipv4_preferred":[10,10,"GREEN"],"dualstack:ipv6_preferred":[10,10,"GREEN"],"dualstack:slow":[7,7,"BLUE"],ipv4_only:[10,0,"BLUE"],"ipv4_only:ds_good":[10,0,"BLUE"],"ipv4_only:ds_slow":[5,0,"RED"],"ipv4_only:ds_timeout":[5,0,"RED"],ipv4_slow:[5,10,"RED"],ipv6_only:[0,10,"BLUE"],ipv6_slow:[10,5,"RED"],ipv6_timeout:[10,0,"RED"],"ipv6:nodns":[10,0,"RED"],broken_ipv6:[0,0,"RED"],"webfilter:blocked":[-1,-1,"ORANGE"],"webfilter:dsboth":[10,10,"ORANGE"],"webfilter:addons":[10,10,"ORANGE"],"webfilter:firefox":[10,10,"ORANGE"],NAT64:[7,10,"GREEN"],"v6ns:ok":[10,10,"GREEN"],"v6ns:bad":[10,9,"BLUE"],"ip_timeout:firefox":[10,10,"RED"],"confused:obbo":[10,9,"BLUE"],"apple:dnsbug_aaaa":[10,7,"BLUE"],"apple:dnsbug_ds":[10,7,"BLUE"],"ipv4:no_address":[10,10,"BLUE"],"ipv6:no_address":[10,10,"RED"],no_address:[10,10,"RED"],opera:[10,10,"ORANGE"],"opera:turbo":[0,0,"RED"],"dualstack:safe":[10,10,"GREEN"],"dualstack:unsafe":[10,10,"RED"],"dualstack:mtu":[10,10,"RED"],buggydns1:[9,0,"RED"],proxy_via:[10,10,"BLUE"],broken:[0,0,"BLUE"]};GIGO.form_setup=function(a){a=a.join(",");jQuery("[name=a]").val(GIGO.results.tests.test_a.status+","+GIGO.results.tests.test_a.time_ms);jQuery("[name=aaaa]").val(GIGO.results.tests.test_aaaa.status+","+GIGO.results.tests.test_aaaa.time_ms);jQuery("[name=ds4]").val(GIGO.results.tests.test_ds4.status+","+GIGO.results.tests.test_ds4.time_ms);jQuery("[name=ds6]").val(GIGO.results.tests.test_ds6.status+","+GIGO.results.tests.test_ds6.time_ms);jQuery("[name=ipv4]").val(GIGO.results.tests.test_ipv4.status+","+GIGO.results.tests.test_ipv4.time_ms);jQuery("[name=ipv6]").val(GIGO.results.tests.test_ipv6.status+","+GIGO.results.tests.test_ipv6.time_ms);jQuery("[name=v6mtu]").val(GIGO.results.tests.test_v6mtu.status+","+GIGO.results.tests.test_v6mtu.time_ms);jQuery("[name=v6ns]").val(GIGO.results.tests.test_v6ns.status+","+GIGO.results.tests.test_v6ns.time_ms);jQuery("[name=dsmtu]").val(GIGO.results.tests.test_dsmtu.status+","+GIGO.results.tests.test_dsmtu.time_ms);jQuery("[name=ip4]").val(GIGO.results.ipv4.ip);jQuery("[name=ip6]").val(GIGO.results.ipv6.ip);jQuery("[name=ip6subtype]").val(GIGO.results.ipv6.subtype);jQuery("[name=tokens]").val(a);jQuery("[name=subdomain]").val("test-ipv6.com")};GIGO.showform=function(){var b,c,a;jQuery("a.tabbutton_mail").attr("id","contactme");GIGO.contact_wanted=1;jQuery("#comments_wanted").show();jQuery("#comments_unwanted").hide();jQuery("#contact_form").show();jQuery("[name=purpose]").val("bug");c=$gt("form","share");a="<a href='#' onclick='return GIGO.tabnav(\"mail\");'>%1</a>";a=a.replace(/%1/,c);b=$gt("form","solicit");b=b.replace(/%share/,a);b="<div><p><span id='highlighter'>"+b+"</span></p></div>";jQuery("#results_eof").before(b)};GIGO.showconfused=function(c){var d,f,b,a,g;jQuery("a.tabbutton_mail").attr("id","contactme");GIGO.contact_wanted=1;jQuery("#comments_wanted").show();jQuery("#comments_unwanted").hide();f=$gt("form","share");b="<a href='#' onclick='return GIGO.tabnav(\"mail\");'>%1</a>";b=b.replace(/%1/,f);a=$gt("form","retest");g="<a href='#' onclick='return GIGO.retest();'>%1</a>";g=g.replace(/%1/,a);d=$gt("form","solicit");d=d.replace(/%share/,b);d=d.replace(/%retest/,g);d="<div><p><span id='highlighter'>"+d+"</span></p></div>";d=d+"<div><p>"+$gt("form","result_code")+" "+c+"</p></div>";jQuery("#results_eof").before(d);return false};GIGO.debuggercomments=function(b){var a="[Debug info follows]\n"+GIGO._dumpObj(GIGO.results,"."," ",0);GIGO.showform();GIGO.tabnav("mail");jQuery("[name=notes]").val(a);return false};GIGO.validate_form=function(a){if((a.contact.value===null)||(a.contact.value==="")){if(!GIGO.validate_form.asked){GIGO.validate_form.asked=1;alert($gt("form","missing_contact"));a.contact.focus();return false}}return true};GIGO.validate_form.asked=0;GIGO.sym_primary={bbbb:"webfilter:blocked",bbbo:"webfilter:blocked",bbbs:"webfilter:blocked",bbbt:"webfilter:blocked",bbob:"webfilter:blocked",bboo:"webfilter:blocked",bbos:"webfilter:blocked",bbot:"webfilter:blocked",bbsb:"webfilter:blocked",bbso:"webfilter:blocked",bbss:"webfilter:blocked",bbst:"webfilter:blocked",bbtb:"webfilter:blocked",bbto:"webfilter:blocked",bbts:"webfilter:blocked",bbtt:"webfilter:blocked",bobb:"confused:ASK",bobo:"ipv6_only",bobs:"ipv6_only",bobt:"confused:ASK",boob:"confused:ASK",booo:"ipv6_only,webfilter:addons",boos:"webfilter:dsboth",boot:"confused:ASK",bosb:"confused:ASK",boso:"webfilter:dsboth",boss:"ipv6_only,webfilter:addons",bost:"confused:ASK",botb:"confused:ASK",boto:"confused:ASK",bots:"confused:ASK",bott:"confused:ASK",bsbb:"confused:ASK",bsbo:"ipv6_only",bsbs:"ipv6_only",bsbt:"confused:ASK",bsob:"confused:ASK",bsoo:"ipv6_only,ipv6_slow,webfilter:addons",bsos:"webfilter:dsboth",bsot:"confused:ASK",bssb:"confused:ASK",bsso:"webfilter:dsboth",bsss:"ipv6_only,ipv6_slow,webfilter:addons",bsst:"confused:ASK",bstb:"confused:ASK",bsto:"confused:ASK",bsts:"confused:ASK",bstt:"confused:ASK",btbb:"webfilter:blocked",btbo:"webfilter:blocked",btbs:"webfilter:blocked",btbt:"webfilter:blocked",btob:"webfilter:blocked",btoo:"webfilter:blocked",btos:"webfilter:blocked",btot:"webfilter:blocked",btsb:"webfilter:blocked",btso:"webfilter:blocked",btss:"webfilter:blocked",btst:"webfilter:blocked",bttb:"webfilter:blocked",btto:"webfilter:blocked",btts:"webfilter:blocked",bttt:"webfilter:blocked",obbb:"broken",obbo:"confused:obbo",obbs:"confused:obbs",obbt:"confused:ASK",obob:"ipv4_only",oboo:"ipv4_only,webfilter:addons",obos:"webfilter:dsboth",obot:"confused:ASK",obsb:"ipv4_only:ds_slow",obso:"webfilter:dsboth",obss:"ipv4_only,webfilter:addons",obst:"confused:ASK",obtb:"ipv4_only:ds_timeout",obto:"confused:ASK",obts:"confused:ASK",obtt:"broken",oobb:"confused:ASK",oobo:"dualstack:ipv6_preferred",oobs:"confused:ASK",oobt:"confused:ASK",ooob:"dualstack:ipv4_preferred",oooo:"dualstack:safe,webfilter:addons",ooos:"webfilter:dsboth",ooot:"dualstack:ipv4_preferred",oosb:"dualstack:slow",ooso:"webfilter:dsboth",ooss:"dualstack:safe,webfilter:addons",oost:"confused:ASK",ootb:"confused:ASK",ooto:"dualstack:ipv6_preferred",oots:"confused:ASK",oott:"confused:ASK",osbb:"confused:ASK",osbo:"confused:ASK",osbs:"confused:ASK",osbt:"confused:ASK",osob:"dualstack:ipv4_preferred,ipv6_slow",osoo:"dualstack:ipv4_prefered,webfilter:addons",osos:"webfilter:dsboth",osot:"confused:ASK",ossb:"dualstack:ipv4_preferred,ipv6_slow",osso:"webfilter:dsboth",osss:"dualstack:ipv4_prefered,webfilter:addons",osst:"confused:ASK",ostb:"confused:ASK",osto:"confused:ASK",osts:"confused:ASK",ostt:"confused:ASK",otbb:"broken",otbo:"confused:ASK",otbs:"confused:ASK",otbt:"confused:ASK",otob:"ipv4_only:ds_good,ipv6_timeout",otoo:"ipv4_only,webfilter:addons",otos:"webfilter:dsboth",otot:"confused:ASK",otsb:"ipv4_only:ds_slow,ipv6_timeout",otso:"webfilter:dsboth",otss:"ipv4_only,webfilter:addons",otst:"confused:ASK",ottb:"confused:ASK",otto:"confused:ASK",otts:"confused:ASK",ottt:"broken",sbbb:"confused:ASK",sbbo:"confused:ASK",sbbs:"confused:ASK",sbbt:"confused:ASK",sbob:"ipv4_only,ipv4_slow",sboo:"ipv4_only,webfilter:addons",sbos:"webfilter:dsboth",sbot:"confused:ASK",sbsb:"ipv4_only,ipv4_slow",sbso:"webfilter:dsboth",sbss:"ipv4_only,webfilter:addons",sbst:"confused:ASK",sbtb:"confused:ASK",sbto:"confused:ASK",sbts:"confused:ASK",sbtt:"confused:ASK",sobb:"dualstack:ipv4_preferred,ipv4_slow",sobo:"confused:ASK",sobs:"confused:ASK",sobt:"confused:ASK",soob:"dualstack:ipv4_preferred,ipv4_slow",sooo:"dualstack_ipv6_preferred,ipv4_slow,webfilter:addons",soos:"webfilter:dsboth",soot:"confused:ASK",sosb:"dualstack:ipv4_preferred,ipv4_slow",soso:"webfilter:dsboth",soss:"dualstack_ipv6_preferred,ipv4_slow,webfilter:addons",sost:"confused:ASK",sotb:"confused:ASK",soto:"confused:ASK",sots:"confused:ASK",sott:"confused:ASK",ssbb:"confused:ASK",ssbo:"confused:ASK",ssbs:"confused:ASK",ssbt:"confused:ASK",ssob:"confused:ASK",ssoo:"dualstack,ipv4_slow,ipv6_slow,webfilter:addons",ssos:"webfilter:dsboth",ssot:"confused:ASK",sssb:"dualstack:ipv4_preferred,ipv4_slow,ipv6_slow",ssso:"webfilter:dsboth",ssss:"dualstack,ipv4_slow,ipv6_slow,webfilter:addons",ssst:"confused:ASK",sstb:"confused:ASK",ssto:"confused:ASK",ssts:"confused:ASK",sstt:"confused:ASK",stbb:"confused:ASK",stbo:"confused:ASK",stbs:"confused:ASK",stbt:"confused:ASK",stob:"ipv4_only:ds_good,ipv6_timeout",stoo:"ipv4_only:ds_good,webfilter:addons",stos:"webfilter:dsboth",stot:"confused:ASK",stsb:"ipv4_only:ds_slow,ipv6_timeout",stso:"webfilter:dsboth",stss:"ipv4_only:ds_good,webfilter:addons",stst:"confused:ASK",sttb:"confused:ASK",stto:"confused:ASK",stts:"confused:ASK",sttt:"confused:ASK",tbbb:"webfilter:blocked",tbbo:"webfilter:blocked",tbbs:"webfilter:blocked",tbbt:"webfilter:blocked",tbob:"webfilter:blocked",tboo:"webfilter:blocked",tbos:"webfilter:blocked",tbot:"webfilter:blocked",tbsb:"webfilter:blocked",tbso:"webfilter:blocked",tbss:"webfilter:blocked",tbst:"webfilter:blocked",tbtb:"webfilter:blocked",tbto:"webfilter:blocked",tbts:"webfilter:blocked",tbtt:"webfilter:blocked",tobb:"confused:ASK",tobo:"ipv6_only",tobs:"confused:ASK",tobt:"confused:ASK",toob:"confused:ASK",tooo:"ipv6_only,webfilter:both",toos:"webfilter:dsboth",toot:"confused:ASK",tosb:"confused:ASK",toso:"webfilter:dsboth",toss:"ipv6_only,webfilter:both",tost:"confused:ASK",totb:"confused:ASK",toto:"confused:ASK",tots:"confused:ASK",tott:"confused:ASK",tsbb:"confused:ASK",tsbo:"confused:ASK",tsbs:"confused:ASK",tsbt:"confused:ASK",tsob:"confused:ASK",tsoo:"ipv6_only,webfilter:addons",tsos:"webfilter:dsboth",tsot:"confused:ASK",tssb:"confused:ASK",tsso:"webfilter:dsboth",tsss:"ipv6_only,webfilter:addons",tsst:"confused:ASK",tstb:"confused:ASK",tsto:"confused:ASK",tsts:"confused:ASK",tstt:"confused:ASK",ttbb:"webfilter:blocked",ttbo:"webfilter:blocked",ttbs:"webfilter:blocked",ttbt:"webfilter:blocked",ttob:"webfilter:blocked",ttoo:"webfilter:blocked",ttos:"webfilter:blocked",ttot:"webfilter:blocked",ttsb:"webfilter:blocked",ttso:"webfilter:blocked",ttss:"webfilter:blocked",ttst:"webfilter:blocked",tttb:"webfilter:blocked",ttto:"webfilter:blocked",ttts:"webfilter:blocked",tttt:"webfilter:blocked"};GIGO.oc=function(b){var d,c;d={};for(c=0;c<b.length;c=c+1){d[b[c]]=""}return d};GIGO.isdef=function(a){return(typeof a!=="undefined")};GIGO.cgistats=function(c){var d,b,a,f;f="test_"+c;b=GIGO.results.tests[f].status;a=GIGO.results.tests[f].time_ms;d="&"+c+"="+b+","+a;return d};GIGO.expand_abbreviation=function(a){if(a==="o"){return"ok"}if(a==="b"){return"bad"}if(a==="t"){return"timeout"}if(a==="s"){return"slow"}return"["+$gt("checkresults","unknown_expansion")+" "+a+"]"};GIGO.rig_test=function(a){GIGO.test_rigged=1;if(a.length!==9){alert($gt("checkresults","rig_text"));GIGO.crapout()}GIGO.results.tests.test_a.status=GIGO.expand_abbreviation(a.charAt(0));GIGO.results.tests.test_aaaa.status=GIGO.expand_abbreviation(a.charAt(1));GIGO.results.tests.test_ds4.status=GIGO.expand_abbreviation(a.charAt(2));GIGO.results.tests.test_ds6.status=GIGO.expand_abbreviation(a.charAt(3));GIGO.results.tests.test_dsmtu.status=GIGO.expand_abbreviation(a.charAt(4));GIGO.results.tests.test_ipv4.status=GIGO.expand_abbreviation(a.charAt(5));GIGO.results.tests.test_ipv6.status=GIGO.expand_abbreviation(a.charAt(6));GIGO.results.tests.test_v6mtu.status=GIGO.expand_abbreviation(a.charAt(7));GIGO.results.tests.test_v6ns.status=GIGO.expand_abbreviation(a.charAt(8))};GIGO.check_precheck=function(){return};GIGO.check_results=function(){var t,l,s,n,u,f,k,p,d,q,c,o,j,g,m,b,a,h;h=[];GIGO.check_precheck();if(GIGO.queue.length>0){return}GIGO.show_debug();GIGO.repeated=GIGO.repeated+1;t=GIGO.getms()-GIGO.start_time;if((GIGO.repeated<=GIGO.retry_min)||((GIGO.repeated<=GIGO.retry_max)&&(GIGO.delta<GIGO.retry_until))){if((GIGO.repeat_only_if_slow===0)||(GIGO.ministates(["a","aaaa","ds4","ds6","ipv4","ipv6","v6mtu","v6ns"]).match(/s/))){GIGO.restart_tests();return}}GIGO.finished=1;GIGO.update_progress(GIGO);if(GIGO.CGI.test){GIGO.rig_test(GIGO.CGI.test.replace(/:/,""))}n=GIGO.identify_symptoms();l=GIGO.ministates(["a","aaaa","ds4","ds6"]);s=GIGO.ministates(["ipv4","ipv6","v6mtu","v6ns"]);u=100;f=100;k="";o=[];for(p=0;p<n.length;p=p+1){d=n[p];if(GIGO.isdef(GIGO.scores[d])){a={};a.token=d;a.score_ipv4=GIGO.scores[d][0];a.score_ipv6=GIGO.scores[d][1];a.color=GIGO.scores[d][2];a.text=$gt("messages",d);h.push(a);if(a.score_ipv4<=u){u=a.score_ipv4}if(a.score_ipv6<=f){f=a.score_ipv6}k=k+"<div><p>"+a.text+"</p></div>";o.push(a.text)}else{a={};a.token=d;a.color="YELLOW";a.score_ipv4=10;a.score_ipv6=10;a.text="("+$gt("checkresults","unknown_result_code")+": "+d+")";h.push(a);k=k+"<div><p>"+a.text+"</p></div>";o.push(a.text)}}if("confused:ASK" in GIGO.oc(n)){n.push("confused:"+l+":"+s)}if(u===100){u="?"}if(f===100){f="?"}GIGO.results.tokens=n;GIGO.results.score_transition=u;GIGO.results.score_strict=f;GIGO.results.divs=k;GIGO.results.messages_plaintext=o;GIGO.results.debug_code=l+":"+s;GIGO.results.tokens_expanded=h;GIGO.show_debug();GIGO.facebook_like(GIGO);GIGO.twitter_tweet(GIGO);GIGO.send_survey(GIGO,n);GIGO.form_setup(n);GIGO.show_results(GIGO);GIGO.show_debug()};GIGO.facebook_like=function(f){var a;jQuery("#facebook_like").replaceWith('<fb:like href="test-ipv6.com" send="false" width="450" show_faces="false" font=""></fb:like>');var d=document.createElement("SCRIPT"),c=document.getElementsByTagName("SCRIPT")[0];d.type="text/javascript";d.async=true;d.src="http://connect.facebook.net/en_US/all.js#xfbml=1";c.parentNode.insertBefore(d,c)};GIGO.twitter_tweet=function(f){var a;jQuery("#twitter_tweet").replaceWith('<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="testipv6com">Tweet</a>');var d=document.createElement("SCRIPT"),c=document.getElementsByTagName("SCRIPT")[0];d.type="text/javascript";d.async=true;d.src="http://platform.twitter.com/widgets.js";c.parentNode.insertBefore(d,c)};GIGO.ministates=function(h){var f,c,b,a,d;d=GIGO.results.tests;f="";for(c=0;c<h.length;c=c+1){b=h[c];try{a=GIGO.results.tests["test_"+b].status.charAt(0)}catch(g){a="?"}f=f+a}return f};GIGO.find_evidence_of_noscript=function(b,g){var c,f,a,h,j,k,l,d;l=["a","aaaa","ds","ipv4","ipv6","v6mtu","v6ns","dsmtu"];for(c=0;c<l.length;c=c+1){k=l[c];f="test_"+k;a="test_"+k+"_img";if(a in b){h=b[f].status;j=b[a].status;if(j.match(/^[os]/)){if(h.match(/^[bt]/)){d=b[f].url;g.push("webfilter:addons");if(Browser.firefox){g.push("webfilter:firefox")}if(Browser.opera){g.push("opera")}g.push("webfilter:test_"+k);d=d.replace(/fill=xxxx*/,"fill=xxx...xxx");GIGO.gettext_messages.messages["webfilter:test_"+k]=$gt("symptoms","browser_blocked")+" "+d;GIGO.scores["webfilter:test_"+k]=[10,10,"ORANGE"]}}}}};GIGO.fallback_to_image_tests=function(c,g){var m,d,a,k,f,b,l,h,j;m=["a","aaaa","ds","ipv4","ipv6","v6mtu","v6ns","dsmtu"];for(d=0;d<m.length;d=d+1){k=m[d];f="test_"+k;b="test_"+k+"_img";if(b in c){h=c[f].status;j=c[b].status;if(j.match(/^[os]/)){if(h.match(/^[bt]/)){c["failed_"+k]=c[f];c[f]=c[b];GIGO.update_status("test_"+k);GIGO.update_url("test_"+k);GIGO.show_debug();if(k==="ds"){c.failed_test_ds4=c.test_ds4;c.failed_test_ds6=c.test_ds6;c.test_ds4=c.test_ds_img;c.test_ds6=c.test_ds_img;GIGO.update_status("test_ds4");GIGO.update_status("test_ds6");GIGO.update_url("test_ds4");GIGO.update_url("test_ds6");GIGO.show_debug()}}}}}};GIGO.dedupe_res=function(c){var a,d,b;a=[];d={};if(c.length){for(b=0;b<c.length;b=b+1){if(!(c[b] in d)){a.push(c[b]);d[c[b]]=1}}}return a};GIGO.ipinfo_in_tests=function(d,a){var f,c,g,b;f=["a","aaaa","ds","ipv4","ipv6","v6mtu","v6ns","dsmtu"];for(b=0;b<f.length;b=b+1){c="test_"+f[b];if(c in d){if("ipinfo" in d[c]){if(a in d[c].ipinfo){return d[c].ipinfo[a]}}}}return null};GIGO.identify_symptoms=function(){var u,b,j,h,p,o,f,m,c,w,n,t,y,k,l,q,s,g,v,d;y=[];g=GIGO.results.tests;GIGO.find_evidence_of_noscript(g,y);GIGO.fallback_to_image_tests(g,y);u=g.test_a.status;b=g.test_aaaa.status;j=g.test_ds4.status;h=g.test_ds6.status;p=g.test_ipv4.status;o=g.test_ipv6.status;f=g.test_v6mtu.status;m=g.test_v6ns.status;d=g.test_dsmtu.status;v=GIGO.ipinfo_in_tests(g,"via");c=(GIGO.results.ipv6.subtype==="Teredo");w=(GIGO.results.ipv6.subtype==="6to4");n=GIGO.ministates(["a","aaaa","ds4","ds6"]);t=GIGO.ministates(["ipv4","ipv6","v6mtu","v6ns"]);l=GIGO.sym_primary[n];q=l.split(",");for(s=0;s<q.length;s=s+1){y.push(q[s])}if(d==="ok"){y.unshift("dualstack:safe")}else{y.unshift("dualstack:unsafe")}if(v){GIGO.gettext_messages.messages.proxy_via=GIGO.gettext_messages.messages.proxy_via.replace(/%details/,"<br/><code><pre>"+jQuery("<div/>").text("Via: "+v).html())+"</pre></code>";if(v==="yes"){y.unshift("proxy_via_dumb")}else{y.unshift("proxy_via")}}if((!GIGO.results.ipv4.ip)&&(!GIGO.results.ipv6.ip)){y.unshift("no_address")}else{if(!GIGO.results.ipv4.ip){y.unshift("ipv4:no_address")}else{if(!GIGO.results.ipv6.ip){y.unshift("ipv6:no_address")}}}if(t.match(/^[bst][bst]/)){y.push("No Direct IP")}else{if((t.match(/^[bt]./))&&(n.match(/^[os]./))){y.push("No Direct IPv4")}else{if((t.match(/^.[bt]/))&&(n.match(/^.[os]/))){y.push("No Direct IPv6")}}}if((n.match(/o/))&&(t.match(/^ttt/))){if(Browser.Engine.gecko){y.push("ip_timeout:firefox")}}if((n.match(/^[os][os]/))&&(t.match(/^[bt][os]/))){y.push("NAT64")}if(c){if(b==="bad"){y.push("teredo-minimum")}else{if(n.match(/^..[os]b/)){y.unshift("teredo-ipv4pref")}else{y.push("teredo")}}}if(w){y.push("6to4")}if((!c)&&(b==="bad")&&(o==="ok")){y.push("ipv6:nodns")}if((j==="ok")||(j==="slow")||(h==="ok")||(h==="slow")){if((m==="ok")||(m==="slow")){y.push("v6ns:ok")}else{y.push("v6ns:bad")}}if("test_buggydns1" in g){if(g.test_buggydns1.status==="affected"){y.push("buggydns1")}}k=0;if(Browser.opera){if((b==="ok")&&((f==="timeout")||(f==="slow"))){y.push("IPv6 MTU");k=1}}else{if((b==="ok")&&((f==="bad")||(f==="timeout")||(f==="slow")||(d==="bad")||(d==="timeout")||(d==="slow"))){y.push("IPv6 MTU");k=1}}for(s=0;s<y.length;s+=1){if(k){if(y[s]==="dualstack:safe"){y[s]="dualstack:mtu"}if(y[s]==="dualstack:unsafe"){y[s]="dualstack:mtu"}}if(Browser.Platform.mac||Browser.Platform.ios){if(y[s]==="confused:obbo"){y[s]="apple:dnsbug_aaaa"}if(y[s]==="confused:ASK"){if(n.match(/^obb[sob]/)){y[s]="apple:dnsbug_aaaa"}}}if(y[s]==="confused:ASK"){if((n.match(/^ottt/))&&(t.match(/^ottt/))){y[s]="broken_ipv6"}}}if(y.length===0){y.push("Unknown")}y=GIGO.dedupe_res(y);return y};try{GIGO.tryme=1}catch(e){GIGO={}}GIGO.hide_os_osx=function(){$(".os_osx").hide(250)};GIGO.hide_os_ios=function(){$(".os_ios").hide(250)};GIGO.hide_os_other=function(){$(".os_other").hide(250)};GIGO.hide_os_windows=function(){$(".os_windows").hide(250)};GIGO.hide_os_linux=function(){$(".os_linux").hide(250)};GIGO.hide_os_all=function(){GIGO.hide_os_other();GIGO.hide_os_osx();GIGO.hide_os_ios();GIGO.hide_os_windows();GIGO.hide_os_linux()};GIGO.show_os_osx=function(){$(".os_osx").show(250)};GIGO.show_os_ios=function(){$(".os_ios").show(250)};GIGO.show_os_windows=function(){$(".os_windows").show(250)};GIGO.show_os_linux=function(){$(".os_linux").show(250)};GIGO.show_os_other=function(){$(".os_other").show(250)};GIGO.show_os_all=function(){GIGO.show_os_other();GIGO.show_os_osx();GIGO.show_os_ios();GIGO.show_os_windows();GIGO.show_os_linux()};GIGO.show_os_only_osx=function(){GIGO.hide_os_all();GIGO.show_os_osx()};GIGO.show_os_only_ios=function(){GIGO.hide_os_all();GIGO.show_os_ios()};GIGO.show_os_only_windows=function(){GIGO.hide_os_all();GIGO.show_os_windows()};GIGO.show_os_only_linux=function(){GIGO.hide_os_all();GIGO.show_os_linux()};GIGO.show_os_start=function(){if(Browser.Platform.mac){GIGO.show_os_only_osx()}else{if(Browser.Platform.windows){GIGO.show_os_only_windows()}else{if(Browser.Platform.linux){GIGO.show_os_only_linux()}else{if(Browser.Platform.ios){GIGO.show_os_only_ios()}else{}}}}};GIGO.which_master=function(){var b,a,d,f,c;b=GIGO.results.tests;a=String(document.location.hostname);f=GIGO.options.domain;try{if(b.test_a.status==="ok"){d="master-a."+f}else{if(b.test_aaaa.status==="ok"){d="master-aaaa."+f}}}catch(g){c=1}if(d){return d}if(a.search(/^(ipv4|a|www|www4)[.]/i)>=0){d="master-a."+f}else{if(a.search(/^(ipv6|aaaa|www6)[.]/i)>=0){d="master-aaaa."+f}else{d="master-a."+f}}if(d){return d}d="master-a."+f;return d};GIGO.change_url_to_master=function(a){a=a.replace(/^http:\/\/[^\/]+/,"");a="http://"+GIGO.which_master()+a;return a};GIGO.mirrors=[{site:"test-ipv6.com",loc:"US CA",provider:"Jason Fesler",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.at",loc:"AT",provider:"Silver Server GmbH",lang:"multi","default":"Testen Sie Ihre IPv6 Konnektivität."},{site:"test-ipv6.motd.be",loc:"US IL",provider:"Bart Jansens",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.arauc.br",loc:"BR",provider:"PoP-PR/RNP",lang:"multi","default":"Teste a sua conectividade IPv6."},{site:"test-ipv6.waia.asn.au",loc:"AU",provider:"Western Australian Internet Association",lang:"multi",hide:0,"default":"Test your IPv6 connectivity."},{site:"test-ipv6.edpnet.net",loc:"BE",provider:"edpnet",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.ch",loc:"CH",provider:"Network Design GmbH",lang:"multi","default":"Testen Sie Ihre IPv6 Konnektivität."},{site:"test-ipv6.2o.cl",loc:"CL",provider:"Departamento de Informatica,<br/> Universidad Tecnica Federico<br/>Santa Maria",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.cz",loc:"CZ",provider:"nic.cz",lang:"multi","default":"Testuje vaše IPv6 připojení."},{site:"test-ipv6.de",loc:"DE",provider:"Fremaks GmbH",lang:"multi","default":"Testen Sie Ihre IPv6 Konnektivität."},{site:"test-ipv6.monash.edu",loc:"AU",provider:"Monash University",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.consulintel.es",loc:"ES",provider:"Consulintel",lang:"multi","default":"Prueba tu conectividad IPv6."},{site:"test-ipv6.internet.fo",loc:"FO",provider:"Faroese Telecom",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.sth.sze.hu",loc:"HU",provider:"NetClub, Szechenyi Istvan University",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.hu",loc:"HU",provider:"Polaris-N Systems",lang:"multi","default":"Teszteld az IPv6 kapcsolatod."},{site:"test.ipv6.fastweb.it",loc:"IT",provider:"Fastweb",lang:"multi",hide:1,"default":"Test your IPv6 connectivity."},{site:"test-ipv6.jp",loc:"JP",provider:"CLARA ONLINE, Inc",lang:"ja","default":"あなたの IPv6 接続性をテストしましょう。"},{site:"test-ipv6.nl",loc:"NL",provider:"BIT BV",lang:"multi",hide:1,"default":"Test uw IPv6 verbinding."},{site:"test-ipv6.roedu.net",loc:"RO",provider:"RoEduNet",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.ru",loc:"RU",provider:"Rambler Internet Holding",lang:"multi","default":"Проверьте ваше IPv6 подключение."},{site:"test-ipv6.se",loc:"SE",provider:"Interlan Gefle AB",lang:"multi","default":"Testa din IPv6 anslutning."},{site:"test-ipv6.si",loc:"SI",provider:"Damjan Sirnik",lang:"sl-si","default":"Preizkusite vašo IPv6 povezljivost."},{site:"test-ipv6.comcast6.net",loc:"US PA, US CO",provider:"Comcast",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6-1.mozilla.org",loc:"US CA",provider:"Mozilla Corp",lang:"multi","default":"Test your IPv6 connectivity.",hide:1,},{site:"test-ipv6.ams.vr.org",loc:"NL",provider:"vr.org",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.cbe.vr.org",loc:"IN",provider:"vr.org",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.chi.vr.org",loc:"US IL",provider:"vr.org",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.iad.vr.org",loc:"US VA",provider:"vr.org",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.sjc.vr.org",loc:"US CA",provider:"vr.org",lang:"multi","default":"Test your IPv6 connectivity."},{site:"test-ipv6.gtdinternet.com",loc:"CL",provider:"GrupoGTD",lang:"multi","default":"Test your IPv6 connectivity."}];GIGO.generate_mirrors=function(){var k,f,a,j,b,h,l,d,c,g;k='<table summary="mirrors" id="mirrors" class="tablesorter">';k=k+"<thead><tr><th>link</th><th>location</th><th>provider</th><th>language</th><th>Default Language</th><th>v4</th><th>v6</th></tr></thead>";k=k+"<tbody>";for(f=0;f<GIGO.mirrors.length;f++){a=GIGO.mirrors[f];j="<tr>";b=a.site;h=a.loc;l=a.provider;d=a.lang;c=a["default"];g=a.hide;if(g){1}else{j="<tr><td><a 'target=_blank' href='http://"+b+"'>"+b+"</td>";j=j+"<td>"+h+"</td>";j=j+"<td>"+l+"</td>";j=j+"<td>"+d+"</td>";j=j+"<td>"+c+"</td>";j=j+"<td id='mirrorcheck_v4_"+f+"'>&nbsp;</td>";j=j+"<td id='mirrorcheck_v6_"+f+"'>&nbsp;</td>";j=j+"</tr>";k=k+j}}k=k+"</tbody></table>";jQuery("#mirrortablediv").html(k)};GIGO.generate_mirror_stats=function(){var j,f,a,h,b,g,k,d,c;j='<table summary="mirrors" id="mirrors" class="tablesorter">';j=j+"<thead><tr><th>tests taken</th><th>percentage breakdown</th></tr></thead>";j=j+"<tbody>";for(f=0;f<GIGO.mirrors.length;f++){a=GIGO.mirrors[f];b=a.site;h="<tr style='display:none' id=show_tr_XXX><td id=show_1_XXX></td><td  id=show_2_XXX></td></tr>";h=h.replace(/XXX/g,f);j=j+h}j=j+"</tbody></table>";jQuery("#mirrortablediv").html(j);for(f=0;f<GIGO.mirrors.length;f++){a=GIGO.mirrors[f];h="<tr>";b=a.site;g=a.loc;k=a.provider;d=a.lang;c=a["default"];hide=a.hide;if(hide){1}else{label0="#show_tr_"+f;imgurl1="http://"+b+"/charts/summary_area_days.png";imghtml1="<img border=0 src='"+imgurl1+"' onload='jQuery(\""+label0+"\").show();'/>";imghtml1="<a target=_blank href='http://"+b+"'>"+imghtml1+"</a>";imghtml1=imghtml1+"<br><a target=_blank href='http://"+b+"'>"+b+"</a>";label1="#show_1_"+f;jQuery(label1).html(imghtml1);imgurl2="http://"+b+"/charts/summary_pct_days.png";imghtml2="<img border=0 src='"+imgurl2+"' onload='jQuery(\""+label0+"\").show();'/>";imghtml2="<a target=_blank href='http://"+b+"'>"+imghtml2+"</a>";imghtml2=imghtml2+"<br><a target=_blank href='http://"+b+"'>"+b+"</a>";label2="#show_2_"+f;jQuery(label2).html(imghtml2)}}};GIGO.mirror_status_row=function(c){var f,b,g,d,a;f=document.getElementById("mirrors");for(d=1;g=f.rows[d];d++){hostname=g.cells[0].innerText;if(hostname===c){return g}}return};GIGO.test_mirror_startfb=function(f,d,c){var b,a;var g;b=jQuery('<img style="display:none" />');a=1;c.html('<img height=12 width=12 src="/images/spinner.gif"/>');jQuery(b).bind({load:function(){if(a){c.html('<img height=12 width=12 src="/images/knob_valid_green.png"/>-');a=0}},error:function(){if(a){a=0;c.html('<img height=12 width=12 src="/images/knob_cancel.png"/>')}}});setTimeout(function(){if(a){a=0;c.html('<img height=12 width=12 src="/images/knob_cancel.png"/>')}},15000);jQuery(b).attr("src",d)};GIGO.test_mirror_start2=function(f,d,c){var b,a;var g;d=d.replace(/ipv4.test-ipv6-1.mozilla.org/,"ipv4-1.test-ipv6.mozilla.org");d=d.replace(/ipv6.test-ipv6-1.mozilla.org/,"ipv6-1.test-ipv6.mozilla.org");c.html('<img height=12 width=12 src="/images/spinner.gif"/>');b=jQuery('<img style="display:none" />');a=1;jQuery(b).bind({load:function(){if(a){c.html('<img height=12 width=12 src="/images/knob_valid_green.png"/>');a=0}},error:function(){if(a){a=0;c.html('<img height=12 width=12 src="/images/knob_cancel.png"/>');d=d.replace(/images-nc/,"images");GIGO.test_mirror_startfb(f,d,c)}}});setTimeout(function(){if(a){a=0;c.html('<img height=12 width=12 src="/images/knob_cancel.png"/>');d=d.replace(/images-nc/,"images");GIGO.test_mirror_startfb(f,d,c)}},15000);jQuery(b).attr("src",d)};GIGO.test_mirror_start=function(a){GIGO.test_mirror_start2(a,"http://ipv4."+a+"/images-nc/knob_red.png",jQuery("#mirrorcheck_v4_"+i));GIGO.test_mirror_start2(a,"http://ipv6."+a+"/images-nc/knob_red.png",jQuery("#mirrorcheck_v6_"+i))};GIGO.test_mirrors=function(){for(i=0;i<GIGO.mirrors.length;i++){r=GIGO.mirrors[i];site=r.site;hide=r.hide;if(hide){1}else{GIGO.test_mirror_start(site,i)}}};GIGO.update_ipaddress=function(b){var a;if(b.type==="ipv4"){GIGO.results.ipv4=b}if(b.type==="ipv6"){GIGO.results.ipv6=b}};GIGO.test_type_delayed=function(a,b){GIGO.slowcount=GIGO.slowcount+1;setTimeout(function(){GIGO.test_type(a,b)},GIGO.slowcount*GIGO.slowcount_delay)};GIGO.finish_test=function(b){var a=GIGO.queue.length+GIGO.dequeued.length;GIGO.tests_finished=GIGO.tests_finished+1;GIGO.update_progress(GIGO);GIGO.update_status(b);if(GIGO.tests_finished>=a){GIGO.check_results()}GIGO.next_in_queue();GIGO.show_debug()};GIGO.test_type_json=function(a,g){var b,d,c,f;if(Browser.opera){if(a.search(/\?/)){a=a+"&random="+Math.random()}else{a=a+"?random="+Math.random()}}c=GIGO.results.tests;if(!(g in c)){c[g]={}}f=c[g];f.start_time=GIGO.getms();f.url=a;GIGO.update_url(g);jQuery.jsonp({url:a,cache:true,pageCache:false,timeout:GIGO.max_time,success:function(h){var k,j;delete h.full;f.ipinfo=h;GIGO.update_ipaddress(h);GIGO.update_ip(g);k=GIGO.getms()-f.start_time;if(GIGO.isdef(f.time_ms)){if(k<f.time_ms){f.time_ms=k}}else{f.time_ms=k}f.status=(f.time_ms<GIGO.slow)?"ok":"slow";if(g==="test_ds"){if(h.type==="ipv6"){c.test_ds6={url:f.url,time_ms:f.time_ms,status:f.status};c.test_ds4={url:f.url,time_ms:f.time_ms,status:"bad"}}else{c.test_ds4={url:f.url,time_ms:f.time_ms,status:f.status};c.test_ds6={url:f.url,time_ms:f.time_ms,status:"bad"}}}GIGO.finish_test(g)},error:function(k,j){var l,h;l=GIGO.getms()-f.start_time;if(GIGO.isdef(f.time_ms)){if(l<f.time_ms){f.time_ms=l}}else{f.time_ms=l}f.status=(f.time_ms<GIGO.slow)?"bad":"timeout";if(g==="test_ds"){c.test_ds6={url:f.url,time_ms:f.time_ms,status:f.status};c.test_ds4={url:f.url,time_ms:f.time_ms,status:f.status};GIGO.queue.push(["test_buggydns1",GIGO.options.url.test_buggydns1_img,"test_buggydns1"])}GIGO.queue.push(["test_type_img",GIGO.options.url[g+"_img"],g+"_img"]);GIGO.finish_test(g)}});GIGO.update_url(g);GIGO.show_debug()};GIGO.test_buggydns1=function(c,d){var j,h,f,b,g,a,k;jQuery(".optional_buggydns1").show();k=(GIGO.max_time>5000)?5000:GIGO.max_time;if(Browser.opera){if(c.search(/\?/)){c=c+"&random="+Math.random()}else{c=c+"?random="+Math.random()}}f=GIGO.results.tests;if(!(d in f)){f[d]={}}b=f[d];b.start_time=GIGO.getms();b.url=c;GIGO.update_url(d);a=1;g=jQuery('<img style="display:none" />');jQuery(g).bind({load:function(){var n,m,l;if(a){a=0;n=GIGO.getms()-b.start_time;if(GIGO.isdef(b.time_ms)){if(n<b.time_ms){b.time_ms=n}}else{b.time_ms=n}b.image=1;b.status="affected";GIGO.finish_test(d)}},error:function(){var m,l;if(a){a=0;m=GIGO.getms()-b.start_time;if(GIGO.isdef(b.time_ms)){if(m<b.time_ms){b.time_ms=m}}else{b.time_ms=m}b.image=1;b.status="safe";GIGO.finish_test(d)}}});setTimeout(function(){var m,l;if(a){a=0;jQuery(g).attr("src","/images/knob_red.png");m=GIGO.getms()-b.start_time;if(GIGO.isdef(b.time_ms)){if(m<b.time_ms){b.time_ms=m}}else{b.time_ms=m}b.image=1;b.status="safe";GIGO.finish_test(d)}},k);jQuery(g).attr("src",c);GIGO.update_url(d);GIGO.show_debug()};GIGO.test_type_img=function(c,j){var d,g,f,h,b,a;if(Browser.opera){if(c.search(/\?/)){c=c+"&random="+Math.random()}else{c=c+"?random="+Math.random()}}f=GIGO.results.tests;if(!(j in f)){f[j]={}}h=f[j];h.start_time=GIGO.getms();h.url=c;GIGO.update_url(j);a=1;b=jQuery('<img style="display:none" />');jQuery(b).bind({load:function(){var m,l,k;if(a){a=0;m=GIGO.getms()-h.start_time;if(GIGO.isdef(h.time_ms)){if(m<h.time_ms){h.time_ms=m}}else{h.time_ms=m}h.image=1;h.status=(h.time_ms<GIGO.slow)?"ok":"slow";if(h.test_ms>GIGO.max_time){h.status="timeout"}GIGO.finish_test(j)}},error:function(){var l,k;if(a){a=0;l=GIGO.getms()-h.start_time;if(GIGO.isdef(h.time_ms)){if(l<h.time_ms){h.time_ms=l}}else{h.time_ms=l}h.image=1;h.status=(h.time_ms<GIGO.slow)?"bad":"timeout";GIGO.finish_test(j)}}});setTimeout(function(){var l,k;if(a){a=0;jQuery(b).attr("src","/images/knob_red.png");l=GIGO.getms()-h.start_time;if(GIGO.isdef(h.time_ms)){if(l<h.time_ms){h.time_ms=l}}else{h.time_ms=l}h.image=1;h.status=(h.time_ms<GIGO.slow)?"bad":"timeout";GIGO.finish_test(j)}},GIGO.max_time);jQuery(b).attr("src",c);GIGO.update_url(j);GIGO.show_debug()};GIGO.retest=function(){window.location.reload()};GIGO.next_in_queue=function(){var d,b;if(GIGO.queue.length>0){b=GIGO.queue.shift();GIGO.dequeued.push(b.slice(0));try{d=b.shift()}catch(c){alert("ERROR: GIGO.next_in_queue: not an array; value="+b)}GIGO[d].apply(GIGO,b);if(!GIGO.use_queue){setTimeout(GIGO.next_in_queue,GIGO.slowcount_delay)}}GIGO.update_progress(GIGO)};GIGO.start_tests=function(){GIGO.browser_tweaks(GIGO);GIGO.next_in_queue()};GIGO.restart_tests=function(){var b,a;a=GIGO.dequeued.length;for(b=0;b<a;b=b+1){GIGO.queue.push(GIGO.dequeued[b])}GIGO.update_progress(GIGO);GIGO.start_tests()};GIGO.setup_tests=function(){GIGO.queue.push(["test_type_json",GIGO.options.url.test_a,"test_a"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_aaaa,"test_aaaa"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_ds,"test_ds"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_ipv4,"test_ipv4"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_ipv6,"test_ipv6"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_v6mtu,"test_v6mtu"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_v6ns,"test_v6ns"]);GIGO.queue.push(["test_type_json",GIGO.options.url.test_dsmtu,"test_dsmtu"]);GIGO.show_debug()};GIGO.fill=function(a,c){var b="";while(b.length<a){b=b+c}b=b.substring(0,a);return b};GIGO.set_default_options=function(a){a.callbacks=("callbacks" in a)?a.callbacks:{};a.url=("url" in a)?a.url:{};a.domain=("domain" in a)?a.domain:"test-ipv6.com";a.subdomain=("subdomain" in a)?a.subdomain:"test-ipv6.com";a.ipv4=("ipv4" in a)?a.ipv4:"216.218.228.114";a.ipv6=("ipv6" in a)?a.ipv6:"2001:470:1:18::114";a.uri=("uri" in a)?a.uri:"/ip/?callback=?";a.img_uri=("img_uri" in a)?a.img_uri:"/images-nc/knob_valid_green.png";a.img_bad_uri=("img_bad_uri" in a)?a.img_bad_uri:"/images-nc/knob_cancel.png";a.url.test_a=("test_a" in a.url)?a.url.test_a:"http://ipv4."+a.subdomain+a.uri;a.url.test_aaaa=("test_aaaa" in a.url)?a.url.test_aaaa:"http://ipv6."+a.subdomain+a.uri;a.url.test_ds=("test_ds" in a.url)?a.url.test_ds:"http://ds."+a.subdomain+a.uri;a.url.test_ipv4=("test_ipv4" in a.url)?a.url.test_ipv4:"http://"+a.ipv4+a.uri;a.url.test_ipv6=("test_ipv6" in a.url)?a.url.test_ipv6:"http://["+a.ipv6+"]:80"+a.uri;a.url.test_v6ns=("test_v6ns" in a.url)?a.url.test_v6ns:"http://ds.v6ns."+a.subdomain+a.uri;a.url.test_v6mtu=("test_v6mtu" in a.url)?a.url.test_v6mtu:"http://ipv6."+a.subdomain+a.uri+"&size=1600&fill="+GIGO.fill(1600,"x");a.url.test_dsmtu=("test_dsmtu" in a.url)?a.url.test_dsmtu:"http://ds."+a.subdomain+a.uri+"&size=1600&fill="+GIGO.fill(1600,"x");a.url.test_a_img=("test_a_img" in a.url)?a.url.test_a_img:"http://ipv4."+a.subdomain+a.img_uri;a.url.test_aaaa_img=("test_aaaa_img" in a.url)?a.url.test_aaaa_img:"http://ipv6."+a.subdomain+a.img_uri;a.url.test_ds_img=("test_ds_img" in a.url)?a.url.test_ds_img:"http://ds."+a.subdomain+a.img_uri;a.url.test_ipv4_img=("test_ipv4_img" in a.url)?a.url.test_ipv4_img:"http://"+a.ipv4+a.img_uri;a.url.test_ipv6_img=("test_ipv6_img" in a.url)?a.url.test_ipv6_img:"http://["+a.ipv6+"]:80"+a.img_uri;a.url.test_v6ns_img=("test_v6ns_img" in a.url)?a.url.test_v6ns_img:"http://ds.v6ns."+a.subdomain+a.img_uri;a.url.test_v6mtu_img=("test_v6mtu_img" in a.url)?a.url.test_v6mtu_img:"http://ipv6."+a.subdomain+a.img_uri+"?&fill="+GIGO.fill(1600,"x");a.url.test_dsmtu_img=("test_dsmtu_img" in a.url)?a.url.test_dsmtu_img:"http://ds."+a.subdomain+a.img_uri+"?&fill="+GIGO.fill(1600,"x");a.url.test_buggydns1=("test_buggydns1" in a.url)?a.url.test_buggydns1:"http://buggydns1."+a.subdomain+a.uri;a.url.test_buggydns1_img=("test_buggydns1_img" in a.url)?a.url.test_buggydns1_img:"http://buggydns1."+a.subdomain+a.img_bad_uri;a.url.survey=("survey" in a.url)?a.url.survey:"http://"+document.location.host+"/survey.php"};GIGO.set_default_gui_callbacks=function(a){a.callbacks=("callbacks" in a)?a.callbacks:{};a.callbacks.update_ip=("update_ip" in a.callbacks)?a.callbacks.update_ip:GIGO.builtin.update_ip;a.callbacks.update_status=("update_status" in a.callbacks)?a.callbacks.update_status:GIGO.builtin.update_status;a.callbacks.update_url=("update_url" in a.callbacks)?a.callbacks.update_url:GIGO.builtin.update_url;a.callbacks.browser_tweaks=("browser_tweaks" in a.callbacks)?a.callbacks.browser_tweaks:GIGO.builtin.browser_tweaks;a.callbacks.update_progress=("update_progress" in a.callbacks)?a.callbacks.update_progress:GIGO.builtin.update_progress;a.callbacks.send_survey=("send_survey" in a.callbacks)?a.callbacks.send_survey:GIGO.builtin.send_survey;a.callbacks.show_results=("show_results" in a.callbacks)?a.callbacks.show_results:GIGO.builtin.show_results;a.callbacks.show_debug=("show_debug" in a.callbacks)?a.callbacks.show_debug:GIGO.builtin.show_debug;a.callbacks.show_faq_link=("show_faq_link" in a.callbacks)?a.callbacks.show_faq_link:GIGO.builtin.show_faq_link;a.callbacks.help_popup=("help_popup" in a.callbacks)?a.callbacks.help_popup:GIGO.builtin.help_popup;a.callbacks.showdebug=("showdebug" in a.callbacks)?a.callbacks.showdebug:GIGO.builtin.showdebug};GIGO.test_ipv6_gui=function(a){if(!GIGO.isdef(a)){a={}}GIGO.options=a;GIGO.set_default_options(a);GIGO.set_default_gui_callbacks(a);jQuery(document).ready(function(){jQuery("[name=nobots]").val("serious");GIGO.setup_tests();GIGO.start_tests()})};GIGO.test_ipv6_without_ui=function(a){if(!GIGO.isdef(a)){a={}}GIGO.options=a;GIGO.set_default_options(a);jQuery(document).ready(function(){jQuery("[name=nobots]").val("serious");GIGO.setup_tests();GIGO.start_tests()})};GIGO.redirect=function(c){var a,b,d;a=document.location.protocol;a=a+"://";a=a+document.location.hostname;if(document.location.port!==80){a=a+":"+document.location.port}b=String(document.location.pathname);d=b.replace(/[^\/]+$/,"");d=d+c;d=d.replace(/\/+/g,"/");document.location=d};jQuery(document).ready(function(){if(GIGO.CGI.use_queue){GIGO.use_queue=GIGO.CGI.use_queue*1}GIGO.test_ipv6_gui()});
