﻿document.createElement("article");document.createElement("footer");document.createElement("header");document.createElement("hgroup");document.createElement("nav");document.createElement("section");document.createElement("summary");document.createElement("address");document.createElement("time");
/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(d,a3){function aq(){if(!o.isReady){try{aO.documentElement.doScroll("left")}catch(c){setTimeout(aq,1);return}o.ready()}}function aI(c,s){s.src?o.ajax({url:s.src,async:false,dataType:"script"}):o.globalEval(s.text||s.textContent||s.innerHTML||"");s.parentNode&&s.parentNode.removeChild(s)}function a8(c,s,w,F,A,J){var G=c.length;if(typeof s==="object"){for(var K in s){a8(c,K,s[K],F,A,w)}return c}if(w!==a3){F=!J&&F&&o.isFunction(w);for(K=0;K<G;K++){A(c[K],s,F?w.call(c[K],K,A(c[K],s)):w,J)}return c}return G?A(c[0],s):a3}function ae(){return(new Date).getTime()}function bc(){return false}function bg(){return true}function av(c,s,w){w[0].type=c;return o.event.handle.apply(s,w)}function az(c){var s,w=[],F=[],A=arguments,J,G,N,K,L,O;G=o.data(this,"events");if(!(c.liveFired===this||!G||!G.live||c.button&&c.type==="click")){c.liveFired=this;var P=G.live.slice(0);for(K=0;K<P.length;K++){G=P[K];G.origType.replace(ay,"")===c.type?F.push(G.selector):P.splice(K--,1)}J=o(c.target).closest(F,c.currentTarget);L=0;for(O=J.length;L<O;L++){for(K=0;K<P.length;K++){G=P[K];if(J[L].selector===G.selector){N=J[L].elem;F=null;if(G.preType==="mouseenter"||G.preType==="mouseleave"){F=o(c.relatedTarget).closest(G.selector)[0]}if(!F||F!==N){w.push({elem:N,handleObj:G})}}}}L=0;for(O=w.length;L<O;L++){J=w[L];c.currentTarget=J.elem;c.data=J.handleObj.data;c.handleObj=J.handleObj;if(J.handleObj.origHandler.apply(J.elem,A)===false){s=false;break}}return s}}function aD(c,s){return"live."+(c&&c!=="*"?c+".":"")+s.replace(/\./g,"`").replace(/ /g,"&")}function aH(c){return !c||!c.parentNode||c.parentNode.nodeType===11}function aL(c,s){var w=0;s.each(function(){if(this.nodeName===(c[w]&&c[w].nodeName)){var F=o.data(c[w++]),A=o.data(this,F);if(F=F&&F.events){delete A.handle;A.events={};for(var J in F){for(var G in F[J]){o.event.add(this,J,F[J][G],F[J][G].data)}}}}})}function aP(c,s,w){var F,A,G;s=s&&s[0]?s[0].ownerDocument||s[0]:aO;if(c.length===1&&typeof c[0]==="string"&&c[0].length<512&&s===aO&&!aT.test(c[0])&&(o.support.checkClone||!aW.test(c[0]))){A=true;if(G=o.fragments[c[0]]){if(G!==1){F=G}}}if(!F){F=s.createDocumentFragment();o.clean(c,s,F,w)}if(A){o.fragments[c[0]]=G?F:1}return{fragment:F,cacheable:A}}function ai(c,s){var w={};o.each(a0.concat.apply([],a0.slice(0,s)),function(){w[this]=c});return w}function a5(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var o=function(c,s){return new o.fn.init(c,s)},aM=d.jQuery,aQ=d.$,aO=d.document,aS,aU=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aX=/^.[^:#\[\.,]*$/,a1=/\S/,a6=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,ba=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aC=navigator.userAgent,a9=false,aG=[],am,a=Object.prototype.toString,e=Object.prototype.hasOwnProperty,i=Array.prototype.push,aK=Array.prototype.slice,bd=Array.prototype.indexOf;o.fn=o.prototype={init:function(c,s){var w,A;if(!c){return this}if(c.nodeType){this.context=this[0]=c;this.length=1;return this}if(c==="body"&&!s){this.context=aO;this[0]=aO.body;this.selector="body";this.length=1;return this}if(typeof c==="string"){if((w=aU.exec(c))&&(w[1]||!s)){if(w[1]){A=s?s.ownerDocument||s:aO;if(c=ba.exec(c)){if(o.isPlainObject(s)){c=[aO.createElement(c[1])];o.fn.attr.call(c,s,true)}else{c=[A.createElement(c[1])]}}else{c=aP([w[1]],[A]);c=(c.cacheable?c.fragment.cloneNode(true):c.fragment).childNodes}return o.merge(this,c)}else{if(s=aO.getElementById(w[2])){if(s.id!==w[2]){return aS.find(c)}this.length=1;this[0]=s}this.context=aO;this.selector=c;return this}}else{if(!s&&/^\w+$/.test(c)){this.selector=c;this.context=aO;c=aO.getElementsByTagName(c);return o.merge(this,c)}else{return !s||s.jquery?(s||aS).find(c):o(s).find(c)}}}else{if(o.isFunction(c)){return aS.ready(c)}}if(c.selector!==a3){this.selector=c.selector;this.context=c.context}return o.makeArray(c,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return aK.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c]},pushStack:function(c,s,w){var A=o();o.isArray(c)?i.apply(A,c):o.merge(A,c);A.prevObject=this;A.context=this.context;if(s==="find"){A.selector=this.selector+(this.selector?" ":"")+w}else{if(s){A.selector=this.selector+"."+s+"("+w+")"}}return A},each:function(c,s){return o.each(this,c,s)},ready:function(c){o.bindReady();if(o.isReady){c.call(aO,o)}else{aG&&aG.push(c)}return this},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(aK.apply(this,arguments),"slice",aK.call(arguments).join(","))},map:function(c){return this.pushStack(o.map(this,function(s,w){return c.call(s,w,s)}))},end:function(){return this.prevObject||o(null)},push:i,sort:[].sort,splice:[].splice};o.fn.init.prototype=o.fn;o.extend=o.fn.extend=function(){var c=arguments[0]||{},s=1,w=arguments.length,F=false,A,J,G,K;if(typeof c==="boolean"){F=c;c=arguments[1]||{};s=2}if(typeof c!=="object"&&!o.isFunction(c)){c={}}if(w===s){c=this;--s}for(;s<w;s++){if((A=arguments[s])!=null){for(J in A){G=c[J];K=A[J];if(c!==K){if(F&&K&&(o.isPlainObject(K)||o.isArray(K))){G=G&&(o.isPlainObject(G)||o.isArray(G))?G:o.isArray(K)?[]:{};c[J]=o.extend(F,G,K)}else{if(K!==a3){c[J]=K}}}}}}return c};o.extend({noConflict:function(c){d.$=aQ;if(c){d.jQuery=aM}return o},isReady:false,ready:function(){if(!o.isReady){if(!aO.body){return setTimeout(o.ready,13)}o.isReady=true;if(aG){for(var c,s=0;c=aG[s++];){c.call(aO,o)}aG=null}o.fn.triggerHandler&&o(aO).triggerHandler("ready")}},bindReady:function(){if(!a9){a9=true;if(aO.readyState==="complete"){return o.ready()}if(aO.addEventListener){aO.addEventListener("DOMContentLoaded",am,false);d.addEventListener("load",o.ready,false)}else{if(aO.attachEvent){aO.attachEvent("onreadystatechange",am);d.attachEvent("onload",o.ready);var c=false;try{c=d.frameElement==null}catch(s){}aO.documentElement.doScroll&&c&&aq()}}}},isFunction:function(c){return a.call(c)==="[object Function]"},isArray:function(c){return a.call(c)==="[object Array]"},isPlainObject:function(c){if(!c||a.call(c)!=="[object Object]"||c.nodeType||c.setInterval){return false}if(c.constructor&&!e.call(c,"constructor")&&!e.call(c.constructor.prototype,"isPrototypeOf")){return false}var s;for(s in c){}return s===a3||e.call(c,s)},isEmptyObject:function(c){for(var s in c){return false}return true},error:function(c){throw c},parseJSON:function(c){if(typeof c!=="string"||!c){return null}c=o.trim(c);if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return d.JSON&&d.JSON.parse?d.JSON.parse(c):(new Function("return "+c))()}else{o.error("Invalid JSON: "+c)}},noop:function(){},globalEval:function(c){if(c&&a1.test(c)){var s=aO.getElementsByTagName("head")[0]||aO.documentElement,w=aO.createElement("script");w.type="text/javascript";if(o.support.scriptEval){w.appendChild(aO.createTextNode(c))}else{w.text=c}s.insertBefore(w,s.firstChild);s.removeChild(w)}},nodeName:function(c,s){return c.nodeName&&c.nodeName.toUpperCase()===s.toUpperCase()},each:function(c,s,w){var F,A=0,J=c.length,G=J===a3||o.isFunction(c);if(w){if(G){for(F in c){if(s.apply(c[F],w)===false){break}}}else{for(;A<J;){if(s.apply(c[A++],w)===false){break}}}}else{if(G){for(F in c){if(s.call(c[F],F,c[F])===false){break}}}else{for(w=c[0];A<J&&s.call(w,A,w)!==false;w=c[++A]){}}}return c},trim:function(c){return(c||"").replace(a6,"")},makeArray:function(c,s){s=s||[];if(c!=null){c.length==null||typeof c==="string"||o.isFunction(c)||typeof c!=="function"&&c.setInterval?i.call(s,c):o.merge(s,c)}return s},inArray:function(c,s){if(s.indexOf){return s.indexOf(c)}for(var w=0,A=s.length;w<A;w++){if(s[w]===c){return w}}return -1},merge:function(c,s){var w=c.length,F=0;if(typeof s.length==="number"){for(var A=s.length;F<A;F++){c[w++]=s[F]}}else{for(;s[F]!==a3;){c[w++]=s[F++]}}c.length=w;return c},grep:function(c,s,w){for(var F=[],A=0,G=c.length;A<G;A++){!w!==!s(c[A],A)&&F.push(c[A])}return F},map:function(c,s,w){for(var F=[],A,J=0,G=c.length;J<G;J++){A=s(c[J],J,w);if(A!=null){F[F.length]=A}}return F.concat.apply([],F)},guid:1,proxy:function(c,s,w){if(arguments.length===2){if(typeof s==="string"){w=c;c=w[s];s=a3}else{if(s&&!o.isFunction(s)){w=s;s=a3}}}if(!s&&c){s=function(){return c.apply(w||this,arguments)}}if(c){s.guid=c.guid=c.guid||s.guid||o.guid++}return s},uaMatch:function(c){c=c.toLowerCase();c=/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||!/compatible/.test(c)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},browser:{}});aC=o.uaMatch(aC);if(aC.browser){o.browser[aC.browser]=true;o.browser.version=aC.version}if(o.browser.webkit){o.browser.safari=true}if(bd){o.inArray=function(c,s){return bd.call(s,c)}}aS=o(aO);if(aO.addEventListener){am=function(){aO.removeEventListener("DOMContentLoaded",am,false);o.ready()}}else{if(aO.attachEvent){am=function(){if(aO.readyState==="complete"){aO.detachEvent("onreadystatechange",am);o.ready()}}}}(function(){o.support={};var c=aO.documentElement,s=aO.createElement("script"),w=aO.createElement("div"),F="script"+ae();w.style.display="none";w.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var A=w.getElementsByTagName("*"),J=w.getElementsByTagName("a")[0];if(!(!A||!A.length||!J)){o.support={leadingWhitespace:w.firstChild.nodeType===3,tbody:!w.getElementsByTagName("tbody").length,htmlSerialize:!!w.getElementsByTagName("link").length,style:/red/.test(J.getAttribute("style")),hrefNormalized:J.getAttribute("href")==="/a",opacity:/^0.55$/.test(J.style.opacity),cssFloat:!!J.style.cssFloat,checkOn:w.getElementsByTagName("input")[0].value==="on",optSelected:aO.createElement("select").appendChild(aO.createElement("option")).selected,parentNode:w.removeChild(w.appendChild(aO.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};s.type="text/javascript";try{s.appendChild(aO.createTextNode("window."+F+"=1;"))}catch(G){}c.insertBefore(s,c.firstChild);if(d[F]){o.support.scriptEval=true;delete d[F]}try{delete s.test}catch(L){o.support.deleteExpando=false}c.removeChild(s);if(w.attachEvent&&w.fireEvent){w.attachEvent("onclick",function K(){o.support.noCloneEvent=false;w.detachEvent("onclick",K)});w.cloneNode(true).fireEvent("onclick")}w=aO.createElement("div");w.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";c=aO.createDocumentFragment();c.appendChild(w.firstChild);o.support.checkClone=c.cloneNode(true).cloneNode(true).lastChild.checked;o(function(){var N=aO.createElement("div");N.style.width=N.style.paddingLeft="1px";aO.body.appendChild(N);o.boxModel=o.support.boxModel=N.offsetWidth===2;aO.body.removeChild(N).style.display="none"});c=function(N){var O=aO.createElement("div");N="on"+N;var P=N in O;if(!P){O.setAttribute(N,"return;");P=typeof O[N]==="function"}return P};o.support.submitBubbles=c("submit");o.support.changeBubbles=c("change");c=s=w=A=J=null}})();o.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var I="jQuery"+ae(),be=0,bh={};o.extend({cache:{},expando:I,noData:{embed:true,object:true,applet:true},data:function(c,s,w){if(!(c.nodeName&&o.noData[c.nodeName.toLowerCase()])){c=c==d?bh:c;var F=c[I],A=o.cache;if(!F&&typeof s==="string"&&w===a3){return null}F||(F=++be);if(typeof s==="object"){c[I]=F;A[F]=o.extend(true,{},s)}else{if(!A[F]){c[I]=F;A[F]={}}}c=A[F];if(w!==a3){c[s]=w}return typeof s==="string"?c[s]:c}},removeData:function(c,s){if(!(c.nodeName&&o.noData[c.nodeName.toLowerCase()])){c=c==d?bh:c;var w=c[I],F=o.cache,A=F[w];if(s){if(A){delete A[s];o.isEmptyObject(A)&&o.removeData(c)}}else{if(o.support.deleteExpando){delete c[o.expando]}else{c.removeAttribute&&c.removeAttribute(o.expando)}delete F[w]}}}});o.fn.extend({data:function(c,s){if(typeof c==="undefined"&&this.length){return o.data(this[0])}else{if(typeof c==="object"){return this.each(function(){o.data(this,c)})}}var w=c.split(".");w[1]=w[1]?"."+w[1]:"";if(s===a3){var A=this.triggerHandler("getData"+w[1]+"!",[w[0]]);if(A===a3&&this.length){A=o.data(this[0],c)}return A===a3&&w[1]?this.data(w[0]):A}else{return this.trigger("setData"+w[1]+"!",[w[0],s]).each(function(){o.data(this,c,s)})}},removeData:function(c){return this.each(function(){o.removeData(this,c)})}});o.extend({queue:function(c,s,w){if(c){s=(s||"fx")+"queue";var A=o.data(c,s);if(!w){return A||[]}if(!A||o.isArray(w)){A=o.data(c,s,o.makeArray(w))}else{A.push(w)}return A}},dequeue:function(c,s){s=s||"fx";var w=o.queue(c,s),A=w.shift();if(A==="inprogress"){A=w.shift()}if(A){s==="fx"&&w.unshift("inprogress");A.call(c,function(){o.dequeue(c,s)})}}});o.fn.extend({queue:function(c,s){if(typeof c!=="string"){s=c;c="fx"}if(s===a3){return o.queue(this[0],c)}return this.each(function(){var w=o.queue(this,c,s);c==="fx"&&w[0]!=="inprogress"&&o.dequeue(this,c)})},dequeue:function(c){return this.each(function(){o.dequeue(this,c)})},delay:function(c,s){c=o.fx?o.fx.speeds[c]||c:c;s=s||"fx";return this.queue(s,function(){var w=this;setTimeout(function(){o.dequeue(w,s)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var f=/[\n\t]/g,p=/\s+/,bi=/\r/g,b=/href|src|style/,g=/(button|input)/i,l=/(button|input|object|select|textarea)/i,r=/^(a|area)$/i,k=/radio|checkbox/;o.fn.extend({attr:function(c,s){return a8(this,c,s,true,o.attr)},removeAttr:function(c){return this.each(function(){o.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(c){if(o.isFunction(c)){return this.each(function(N){var O=o(this);O.addClass(c.call(this,N,O.attr("class")))})}if(c&&typeof c==="string"){for(var s=(c||"").split(p),w=0,F=this.length;w<F;w++){var A=this[w];if(A.nodeType===1){if(A.className){for(var J=" "+A.className+" ",G=A.className,L=0,K=s.length;L<K;L++){if(J.indexOf(" "+s[L]+" ")<0){G+=" "+s[L]}}A.className=o.trim(G)}else{A.className=c}}}}return this},removeClass:function(c){if(o.isFunction(c)){return this.each(function(L){var N=o(this);N.removeClass(c.call(this,L,N.attr("class")))})}if(c&&typeof c==="string"||c===a3){for(var s=(c||"").split(p),w=0,F=this.length;w<F;w++){var A=this[w];if(A.nodeType===1&&A.className){if(c){for(var J=(" "+A.className+" ").replace(f," "),G=0,K=s.length;G<K;G++){J=J.replace(" "+s[G]+" "," ")}A.className=o.trim(J)}else{A.className=""}}}}return this},toggleClass:function(c,s){var w=typeof c,A=typeof s==="boolean";if(o.isFunction(c)){return this.each(function(F){var G=o(this);G.toggleClass(c.call(this,F,G.attr("class"),s),s)})}return this.each(function(){if(w==="string"){for(var F,J=0,G=o(this),L=s,K=c.split(p);F=K[J++];){L=A?L:!G.hasClass(F);G[L?"addClass":"removeClass"](F)}}else{if(w==="undefined"||w==="boolean"){this.className&&o.data(this,"__className__",this.className);this.className=this.className||c===false?"":o.data(this,"__className__")||""}}})},hasClass:function(c){c=" "+c+" ";for(var s=0,w=this.length;s<w;s++){if((" "+this[s].className+" ").replace(f," ").indexOf(c)>-1){return true}}return false},val:function(c){if(c===a3){var s=this[0];if(s){if(o.nodeName(s,"option")){return(s.attributes.value||{}).specified?s.value:s.text}if(o.nodeName(s,"select")){var w=s.selectedIndex,F=[],A=s.options;s=s.type==="select-one";if(w<0){return null}var J=s?w:0;for(w=s?w+1:A.length;J<w;J++){var G=A[J];if(G.selected){c=o(G).val();if(s){return c}F.push(c)}}return F}if(k.test(s.type)&&!o.support.checkOn){return s.getAttribute("value")===null?"on":s.value}return(s.value||"").replace(bi,"")}return a3}var K=o.isFunction(c);return this.each(function(L){var N=o(this),O=c;if(this.nodeType===1){if(K){O=c.call(this,L,N.val())}if(typeof O==="number"){O+=""}if(o.isArray(O)&&k.test(this.type)){this.checked=o.inArray(N.val(),O)>=0}else{if(o.nodeName(this,"select")){var P=o.makeArray(O);o("option",this).each(function(){this.selected=o.inArray(o(this).val(),P)>=0});if(!P.length){this.selectedIndex=-1}}else{this.value=O}}}})}});o.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(c,s,w,F){if(!c||c.nodeType===3||c.nodeType===8){return a3}if(F&&s in o.attrFn){return o(c)[s](w)}F=c.nodeType!==1||!o.isXMLDoc(c);var A=w!==a3;s=F&&o.props[s]||s;if(c.nodeType===1){var G=b.test(s);if(s in c&&F&&!G){if(A){s==="type"&&g.test(c.nodeName)&&c.parentNode&&o.error("type property can't be changed");c[s]=w}if(o.nodeName(c,"form")&&c.getAttributeNode(s)){return c.getAttributeNode(s).nodeValue}if(s==="tabIndex"){return(s=c.getAttributeNode("tabIndex"))&&s.specified?s.value:l.test(c.nodeName)||r.test(c.nodeName)&&c.href?0:a3}return c[s]}if(!o.support.style&&F&&s==="style"){if(A){c.style.cssText=""+w}return c.style.cssText}A&&c.setAttribute(s,""+w);c=!o.support.hrefNormalized&&F&&G?c.getAttribute(s,2):c.getAttribute(s);return c===null?a3:c}return o.style(c,s,w)}});var ay=/\.(.*)$/,x=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s})};o.event={add:function(c,s,w,F){if(!(c.nodeType===3||c.nodeType===8)){if(c.setInterval&&c!==d&&!c.frameElement){c=d}var A,J;if(w.handler){A=w;w=A.handler}if(!w.guid){w.guid=o.guid++}if(J=o.data(c)){var G=J.events=J.events||{},N=J.handle;if(!N){J.handle=N=function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(N.elem,arguments):a3}}N.elem=c;s=s.split(" ");for(var K,L=0,O;K=s[L++];){J=A?o.extend({},A):{handler:w,data:F};if(K.indexOf(".")>-1){O=K.split(".");K=O.shift();J.namespace=O.slice(0).sort().join(".")}else{O=[];J.namespace=""}J.type=K;J.guid=w.guid;var P=G[K],Q=o.event.special[K]||{};if(!P){P=G[K]=[];if(!Q.setup||Q.setup.call(c,F,O,N)===false){if(c.addEventListener){c.addEventListener(K,N,false)}else{c.attachEvent&&c.attachEvent("on"+K,N)}}}if(Q.add){Q.add.call(c,J);if(!J.handler.guid){J.handler.guid=w.guid}}P.push(J);o.event.global[K]=true}c=null}}},global:{},remove:function(c,s,F,J){if(!(c.nodeType===3||c.nodeType===8)){var G,L=0,K,P,N,O,Q,R,T=o.data(c),A=T&&T.events;if(T&&A){if(s&&s.type){F=s.handler;s=s.type}if(!s||typeof s==="string"&&s.charAt(0)==="."){s=s||"";for(G in A){o.event.remove(c,G+s)}}else{for(s=s.split(" ");G=s[L++];){O=G;K=G.indexOf(".")<0;P=[];if(!K){P=G.split(".");G=P.shift();N=new RegExp("(^|\\.)"+o.map(P.slice(0).sort(),x).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(Q=A[G]){if(F){O=o.event.special[G]||{};for(w=J||0;w<Q.length;w++){R=Q[w];if(F.guid===R.guid){if(K||N.test(R.namespace)){J==null&&Q.splice(w--,1);O.remove&&O.remove.call(c,R)}if(J!=null){break}}}if(Q.length===0||J!=null&&Q.length===1){if(!O.teardown||O.teardown.call(c,P)===false){q(c,G,T.handle)}delete A[G]}}else{for(var w=0;w<Q.length;w++){R=Q[w];if(K||N.test(R.namespace)){o.event.remove(c,O,R.handler,w);Q.splice(w--,1)}}}}}if(o.isEmptyObject(A)){if(s=T.handle){s.elem=null}delete T.events;delete T.handle;o.isEmptyObject(T)&&o.removeData(c)}}}}},trigger:function(c,s,w,F){var A=c.type||c;if(!F){c=typeof c==="object"?c[I]?c:o.extend(o.Event(A),c):o.Event(A);if(A.indexOf("!")>=0){c.type=A=A.slice(0,-1);c.exclusive=true}if(!w){c.stopPropagation();o.event.global[A]&&o.each(o.cache,function(){this.events&&this.events[A]&&o.event.trigger(c,s,this.handle.elem)})}if(!w||w.nodeType===3||w.nodeType===8){return a3}c.result=a3;c.target=w;s=o.makeArray(s);s.unshift(c)}c.currentTarget=w;(F=o.data(w,"handle"))&&F.apply(w,s);F=w.parentNode||w.ownerDocument;try{if(!(w&&w.nodeName&&o.noData[w.nodeName.toLowerCase()])){if(w["on"+A]&&w["on"+A].apply(w,s)===false){c.result=false}}}catch(J){}if(!c.isPropagationStopped()&&F){o.event.trigger(c,s,F,true)}else{if(!c.isDefaultPrevented()){F=c.target;var G,N=o.nodeName(F,"a")&&A==="click",K=o.event.special[A]||{};if((!K._default||K._default.call(w,c)===false)&&!N&&!(F&&F.nodeName&&o.noData[F.nodeName.toLowerCase()])){try{if(F[A]){if(G=F["on"+A]){F["on"+A]=null}o.event.triggered=true;F[A]()}}catch(L){}if(G){F["on"+A]=G}o.event.triggered=false}}}},handle:function(c){var s,w,F,A;c=arguments[0]=o.event.fix(c||d.event);c.currentTarget=this;s=c.type.indexOf(".")<0&&!c.exclusive;if(!s){w=c.type.split(".");c.type=w.shift();F=new RegExp("(^|\\.)"+w.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}A=o.data(this,"events");w=A[c.type];if(A&&w){w=w.slice(0);A=0;for(var J=w.length;A<J;A++){var G=w[A];if(s||F.test(G.namespace)){c.handler=G.handler;c.data=G.data;c.handleObj=G;G=G.handler.apply(this,arguments);if(G!==a3){c.result=G;if(G===false){c.preventDefault();c.stopPropagation()}}if(c.isImmediatePropagationStopped()){break}}}}return c.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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[I]){return c}var s=c;c=o.Event(s);for(var w=this.props.length,A;w;){A=this.props[--w];c[A]=s[A]}if(!c.target){c.target=c.srcElement||aO}if(c.target.nodeType===3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement===c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){s=aO.documentElement;w=aO.body;c.pageX=c.clientX+(s&&s.scrollLeft||w&&w.scrollLeft||0)-(s&&s.clientLeft||w&&w.clientLeft||0);c.pageY=c.clientY+(s&&s.scrollTop||w&&w.scrollTop||0)-(s&&s.clientTop||w&&w.clientTop||0)}if(!c.which&&(c.charCode||c.charCode===0?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button!==a3){c.which=c.button&1?1:c.button&2?3:c.button&4?2:0}return c},guid:100000000,proxy:o.proxy,special:{ready:{setup:o.bindReady,teardown:o.noop},live:{add:function(c){o.event.add(this,c.origType,o.extend({},c,{handler:az}))},remove:function(c){var s=true,w=c.origType.replace(ay,"");o.each(o.data(this,"events").live||[],function(){if(w===this.origType.replace(ay,"")){return s=false}});s&&o.event.remove(this,c.origType,az)}},beforeunload:{setup:function(c,s,w){if(this.setInterval){this.onbeforeunload=w}return false},teardown:function(c,s){if(this.onbeforeunload===s){this.onbeforeunload=null}}}}};var q=aO.removeEventListener?function(c,s,w){c.removeEventListener(s,w,false)}:function(c,s,w){c.detachEvent("on"+s,w)};o.Event=function(c){if(!this.preventDefault){return new o.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=ae();this[I]=true};o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=bg;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=bg;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bg;this.stopPropagation()},isDefaultPrevented:bc,isPropagationStopped:bc,isImmediatePropagationStopped:bc};var v=function(c){var s=c.relatedTarget;try{for(;s&&s!==this;){s=s.parentNode}if(s!==this){c.type=c.data;o.event.handle.apply(this,arguments)}}catch(w){}},z=function(c){c.type=c.data;o.event.handle.apply(this,arguments)};o.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,s){o.event.special[c]={setup:function(w){o.event.add(this,s,w&&w.selector?z:v,c)},teardown:function(w){o.event.remove(this,s,w&&w.selector?z:v)}}});if(!o.support.submitBubbles){o.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){o.event.add(this,"click.specialSubmit",function(c){var s=c.target,w=s.type;if((w==="submit"||w==="image")&&o(s).closest("form").length){return av("submit",this,arguments)}});o.event.add(this,"keypress.specialSubmit",function(c){var s=c.target,w=s.type;if((w==="text"||w==="password")&&o(s).closest("form").length&&c.keyCode===13){return av("submit",this,arguments)}})}else{return false}},teardown:function(){o.event.remove(this,".specialSubmit")}}}if(!o.support.changeBubbles){var u=/textarea|input|select/i,y,E=function(c){var s=c.type,w=c.value;if(s==="radio"||s==="checkbox"){w=c.checked}else{if(s==="select-multiple"){w=c.selectedIndex>-1?o.map(c.options,function(A){return A.selected}).join("-"):""}else{if(c.nodeName.toLowerCase()==="select"){w=c.selectedIndex}}}return w},D=function(c,s){var w=c.target,F,A;if(!(!u.test(w.nodeName)||w.readOnly)){F=o.data(w,"_change_data");A=E(w);if(c.type!=="focusout"||w.type!=="radio"){o.data(w,"_change_data",A)}if(!(F===a3||A===F)){if(F!=null||A){c.type="change";return o.event.trigger(c,s,w)}}}};o.event.special.change={filters:{focusout:D,click:function(c){var s=c.target,w=s.type;if(w==="radio"||w==="checkbox"||s.nodeName.toLowerCase()==="select"){return D.call(this,c)}},keydown:function(c){var s=c.target,w=s.type;if(c.keyCode===13&&s.nodeName.toLowerCase()!=="textarea"||c.keyCode===32&&(w==="checkbox"||w==="radio")||w==="select-multiple"){return D.call(this,c)}},beforeactivate:function(c){c=c.target;o.data(c,"_change_data",E(c))}},setup:function(){if(this.type==="file"){return false}for(var c in y){o.event.add(this,c+".specialChange",y[c])}return u.test(this.nodeName)},teardown:function(){o.event.remove(this,".specialChange");return u.test(this.nodeName)}};y=o.event.special.change.filters}aO.addEventListener&&o.each({focus:"focusin",blur:"focusout"},function(c,s){function w(A){A=o.event.fix(A);A.type=s;return o.event.handle.call(this,A)}o.event.special[s]={setup:function(){this.addEventListener(c,w,true)},teardown:function(){this.removeEventListener(c,w,true)}}});o.each(["bind","one"],function(c,s){o.fn[s]=function(w,F,A){if(typeof w==="object"){for(var J in w){this[s](J,F,w[J],A)}return this}if(o.isFunction(F)){A=F;F=a3}var G=s==="one"?o.proxy(A,function(L){o(this).unbind(L,G);return A.apply(this,arguments)}):A;if(w==="unload"&&s!=="one"){this.one(w,F,A)}else{J=0;for(var K=this.length;J<K;J++){o.event.add(this[J],w,G,F)}}return this}});o.fn.extend({unbind:function(c,s){if(typeof c==="object"&&!c.preventDefault){for(var w in c){this.unbind(w,c[w])}}else{w=0;for(var A=this.length;w<A;w++){o.event.remove(this[w],c,s)}}return this},delegate:function(c,s,w,A){return this.live(s,w,A,c)},undelegate:function(c,s,w){return arguments.length===0?this.unbind("live"):this.die(s,null,w,c)},trigger:function(c,s){return this.each(function(){o.event.trigger(c,s,this)})},triggerHandler:function(c,s){if(this[0]){c=o.Event(c);c.preventDefault();c.stopPropagation();o.event.trigger(c,s,this[0]);return c.result}},toggle:function(c){for(var s=arguments,w=1;w<s.length;){o.proxy(c,s[w++])}return this.click(o.proxy(c,function(F){var A=(o.data(this,"lastToggle"+c.guid)||0)%w;o.data(this,"lastToggle"+c.guid,A+1);F.preventDefault();return s[A].apply(this,arguments)||false}))},hover:function(c,s){return this.mouseenter(c).mouseleave(s||c)}});var M={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};o.each(["live","die"],function(c,s){o.fn[s]=function(w,F,A,J){var G,N=0,K,L,O=J||this.selector,P=J?this:o(this.context);if(o.isFunction(F)){A=F;F=a3}for(w=(w||"").split(" ");(G=w[N++])!=null;){J=ay.exec(G);K="";if(J){K=J[0];G=G.replace(ay,"")}if(G==="hover"){w.push("mouseenter"+K,"mouseleave"+K)}else{L=G;if(G==="focus"||G==="blur"){w.push(M[G]+K);G+=K}else{G=(M[G]||G)+K}s==="live"?P.each(function(){o.event.add(this,aD(G,O),{data:F,selector:O,handler:A,origType:G,origHandler:A,preType:L})}):P.unbind(aD(G,O),A)}}return this}});o.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(c,s){o.fn[s]=function(w){return w?this.bind(s,w):this.trigger(s)};if(o.attrFn){o.attrFn[s]=true}});d.attachEvent&&!d.addEventListener&&d.attachEvent("onunload",function(){for(var c in o.cache){if(o.cache[c].handle){try{o.event.remove(o.cache[c].handle.elem)}catch(s){}}}});(function(){function c(Y){for(var Z="",bk,bl=0;Y[bl];bl++){bk=Y[bl];if(bk.nodeType===3||bk.nodeType===4){Z+=bk.nodeValue}else{if(bk.nodeType!==8){Z+=c(bk.childNodes)}}}return Z}function s(Y,Z,bk,bl,bn,bm){bn=0;for(var bp=bl.length;bn<bp;bn++){var bo=bl[bn];if(bo){bo=bo[Y];for(var bq=false;bo;){if(bo.sizcache===bk){bq=bl[bo.sizset];break}if(bo.nodeType===1&&!bm){bo.sizcache=bk;bo.sizset=bn}if(bo.nodeName.toLowerCase()===Z){bq=bo;break}bo=bo[Y]}bl[bn]=bq}}}function F(Y,Z,bk,bl,bn,bm){bn=0;for(var bp=bl.length;bn<bp;bn++){var bo=bl[bn];if(bo){bo=bo[Y];for(var bq=false;bo;){if(bo.sizcache===bk){bq=bl[bo.sizset];break}if(bo.nodeType===1){if(!bm){bo.sizcache=bk;bo.sizset=bn}if(typeof Z!=="string"){if(bo===Z){bq=true;break}}else{if(P.filter(Z,[bo]).length>0){bq=bo;break}}}bo=bo[Y]}bl[bn]=bq}}}var K=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,G=0,O=Object.prototype.toString,N=false,R=true;[0,0].sort(function(){R=false;return 0});var P=function(Z,bk,bn,bo){bn=bn||[];var br=bk=bk||aO;if(bk.nodeType!==1&&bk.nodeType!==9){return[]}if(!Z||typeof Z!=="string"){return bn}for(var bq=[],bu,bt,bv,bs,bl=true,bp=W(bk),bm=Z;(K.exec(""),bu=K.exec(bm))!==null;){bm=bu[3];bq.push(bu[1]);if(bu[2]){bs=bu[3];break}}if(bq.length>1&&T.exec(Z)){if(bq.length===2&&Q.relative[bq[0]]){bt=L(bq[0]+bq[1],bk)}else{for(bt=Q.relative[bq[0]]?[bk]:P(bq.shift(),bk);bq.length;){Z=bq.shift();if(Q.relative[Z]){Z+=bq.shift()}bt=L(Z,bt)}}}else{if(!bo&&bq.length>1&&bk.nodeType===9&&!bp&&Q.match.ID.test(bq[0])&&!Q.match.ID.test(bq[bq.length-1])){bu=P.find(bq.shift(),bk,bp);bk=bu.expr?P.filter(bu.expr,bu.set)[0]:bu.set[0]}if(bk){bu=bo?{expr:bq.pop(),set:X(bo)}:P.find(bq.pop(),bq.length===1&&(bq[0]==="~"||bq[0]==="+")&&bk.parentNode?bk.parentNode:bk,bp);bt=bu.expr?P.filter(bu.expr,bu.set):bu.set;if(bq.length>0){bv=X(bt)}else{bl=false}for(;bq.length;){var Y=bq.pop();bu=Y;if(Q.relative[Y]){bu=bq.pop()}else{Y=""}if(bu==null){bu=bk}Q.relative[Y](bv,bu,bp)}}else{bv=[]}}bv||(bv=bt);bv||P.error(Y||Z);if(O.call(bv)==="[object Array]"){if(bl){if(bk&&bk.nodeType===1){for(Z=0;bv[Z]!=null;Z++){if(bv[Z]&&(bv[Z]===true||bv[Z].nodeType===1&&J(bk,bv[Z]))){bn.push(bt[Z])}}}else{for(Z=0;bv[Z]!=null;Z++){bv[Z]&&bv[Z].nodeType===1&&bn.push(bt[Z])}}}else{bn.push.apply(bn,bv)}}else{X(bv,bn)}if(bs){P(bs,br,bn,bo);P.uniqueSort(bn)}return bn};P.uniqueSort=function(Y){if(w){N=R;Y.sort(w);if(N){for(var Z=1;Z<Y.length;Z++){Y[Z]===Y[Z-1]&&Y.splice(Z--,1)}}}return Y};P.matches=function(Y,Z){return P(Y,null,null,Z)};P.find=function(Y,Z,bk){var bl,bn;if(!Y){return[]}for(var bm=0,bp=Q.order.length;bm<bp;bm++){var bo=Q.order[bm];if(bn=Q.leftMatch[bo].exec(Y)){var bq=bn[1];bn.splice(1,1);if(bq.substr(bq.length-1)!=="\\"){bn[1]=(bn[1]||"").replace(/\\/g,"");bl=Q.find[bo](bn,Z,bk);if(bl!=null){Y=Y.replace(Q.match[bo],"");break}}}}bl||(bl=Z.getElementsByTagName("*"));return{set:bl,expr:Y}};P.filter=function(Z,bk,bo,bp){for(var bs=Z,br=[],bw=bk,bu,bx,bt=bk&&bk[0]&&W(bk[0]);Z&&bk.length;){for(var bl in Q.filter){if((bu=Q.leftMatch[bl].exec(Z))!=null&&bu[2]){var bq=Q.filter[bl],bn,Y;Y=bu[1];bx=false;bu.splice(1,1);if(Y.substr(Y.length-1)!=="\\"){if(bw===br){br=[]}if(Q.preFilter[bl]){if(bu=Q.preFilter[bl](bu,bw,bo,br,bp,bt)){if(bu===true){continue}}else{bx=bn=true}}if(bu){for(var bv=0;(Y=bw[bv])!=null;bv++){if(Y){bn=bq(Y,bu,bv,bw);var bm=bp^!!bn;if(bo&&bn!=null){if(bm){bx=true}else{bw[bv]=false}}else{if(bm){br.push(Y);bx=true}}}}}if(bn!==a3){bo||(bw=br);Z=Z.replace(Q.match[bl],"");if(!bx){return[]}break}}}}if(Z===bs){if(bx==null){P.error(Z)}else{break}}bs=Z}return bw};P.error=function(Y){throw"Syntax error, unrecognized expression: "+Y};var Q=P.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|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(Y){return Y.getAttribute("href")}},relative:{"+":function(Y,Z){var bk=typeof Z==="string",bl=bk&&!/\W/.test(Z);bk=bk&&!bl;if(bl){Z=Z.toLowerCase()}bl=0;for(var bn=Y.length,bm;bl<bn;bl++){if(bm=Y[bl]){for(;(bm=bm.previousSibling)&&bm.nodeType!==1;){}Y[bl]=bk||bm&&bm.nodeName.toLowerCase()===Z?bm||false:bm===Z}}bk&&P.filter(Z,Y,true)},">":function(Y,Z){var bk=typeof Z==="string";if(bk&&!/\W/.test(Z)){Z=Z.toLowerCase();for(var bl=0,bn=Y.length;bl<bn;bl++){var bm=Y[bl];if(bm){bk=bm.parentNode;Y[bl]=bk.nodeName.toLowerCase()===Z?bk:false}}}else{bl=0;for(bn=Y.length;bl<bn;bl++){if(bm=Y[bl]){Y[bl]=bk?bm.parentNode:bm.parentNode===Z}}bk&&P.filter(Z,Y,true)}},"":function(Y,Z,bk){var bl=G++,bn=F;if(typeof Z==="string"&&!/\W/.test(Z)){var bm=Z=Z.toLowerCase();bn=s}bn("parentNode",Z,bl,Y,bm,bk)},"~":function(Y,Z,bk){var bl=G++,bn=F;if(typeof Z==="string"&&!/\W/.test(Z)){var bm=Z=Z.toLowerCase();bn=s}bn("previousSibling",Z,bl,Y,bm,bk)}},find:{ID:function(Y,Z,bk){if(typeof Z.getElementById!=="undefined"&&!bk){return(Y=Z.getElementById(Y[1]))?[Y]:[]}},NAME:function(Y,Z){if(typeof Z.getElementsByName!=="undefined"){var bk=[];Z=Z.getElementsByName(Y[1]);for(var bl=0,bm=Z.length;bl<bm;bl++){Z[bl].getAttribute("name")===Y[1]&&bk.push(Z[bl])}return bk.length===0?null:bk}},TAG:function(Y,Z){return Z.getElementsByTagName(Y[1])}},preFilter:{CLASS:function(Y,Z,bk,bl,bn,bm){Y=" "+Y[1].replace(/\\/g,"")+" ";if(bm){return Y}bm=0;for(var bo;(bo=Z[bm])!=null;bm++){if(bo){if(bn^(bo.className&&(" "+bo.className+" ").replace(/[\t\n]/g," ").indexOf(Y)>=0)){bk||bl.push(bo)}else{if(bk){Z[bm]=false}}}}return false},ID:function(Y){return Y[1].replace(/\\/g,"")},TAG:function(Y){return Y[1].toLowerCase()},CHILD:function(Y){if(Y[1]==="nth"){var Z=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Y[2]==="even"&&"2n"||Y[2]==="odd"&&"2n+1"||!/\D/.test(Y[2])&&"0n+"+Y[2]||Y[2]);Y[2]=Z[1]+(Z[2]||1)-0;Y[3]=Z[3]-0}Y[0]=G++;return Y},ATTR:function(Y,Z,bk,bl,bn,bm){Z=Y[1].replace(/\\/g,"");if(!bm&&Q.attrMap[Z]){Y[1]=Q.attrMap[Z]}if(Y[2]==="~="){Y[4]=" "+Y[4]+" "}return Y},PSEUDO:function(Y,Z,bk,bl,bm){if(Y[1]==="not"){if((K.exec(Y[3])||"").length>1||/^\w/.test(Y[3])){Y[3]=P(Y[3],null,null,Z)}else{Y=P.filter(Y[3],Z,bk,true^bm);bk||bl.push.apply(bl,Y);return false}}else{if(Q.match.POS.test(Y[0])||Q.match.CHILD.test(Y[0])){return true}}return Y},POS:function(Y){Y.unshift(true);return Y}},filters:{enabled:function(Y){return Y.disabled===false&&Y.type!=="hidden"},disabled:function(Y){return Y.disabled===true},checked:function(Y){return Y.checked===true},selected:function(Y){return Y.selected===true},parent:function(Y){return !!Y.firstChild},empty:function(Y){return !Y.firstChild},has:function(Y,Z,bk){return !!P(bk[3],Y).length},header:function(Y){return/h\d/i.test(Y.nodeName)},text:function(Y){return"text"===Y.type},radio:function(Y){return"radio"===Y.type},checkbox:function(Y){return"checkbox"===Y.type},file:function(Y){return"file"===Y.type},password:function(Y){return"password"===Y.type},submit:function(Y){return"submit"===Y.type},image:function(Y){return"image"===Y.type},reset:function(Y){return"reset"===Y.type},button:function(Y){return"button"===Y.type||Y.nodeName.toLowerCase()==="button"},input:function(Y){return/input|select|textarea|button/i.test(Y.nodeName)}},setFilters:{first:function(Y,Z){return Z===0},last:function(Y,Z,bk,bl){return Z===bl.length-1},even:function(Y,Z){return Z%2===0},odd:function(Y,Z){return Z%2===1},lt:function(Y,Z,bk){return Z<bk[3]-0},gt:function(Y,Z,bk){return Z>bk[3]-0},nth:function(Y,Z,bk){return bk[3]-0===Z},eq:function(Y,Z,bk){return bk[3]-0===Z}},filter:{PSEUDO:function(Y,Z,bk,bl){var bn=Z[1],bm=Q.filters[bn];if(bm){return bm(Y,bk,Z,bl)}else{if(bn==="contains"){return(Y.textContent||Y.innerText||c([Y])||"").indexOf(Z[3])>=0}else{if(bn==="not"){Z=Z[3];bk=0;for(bl=Z.length;bk<bl;bk++){if(Z[bk]===Y){return false}}return true}else{P.error("Syntax error, unrecognized expression: "+bn)}}}},CHILD:function(Y,Z){var bk=Z[1],bl=Y;switch(bk){case"only":case"first":for(;bl=bl.previousSibling;){if(bl.nodeType===1){return false}}if(bk==="first"){return true}bl=Y;case"last":for(;bl=bl.nextSibling;){if(bl.nodeType===1){return false}}return true;case"nth":bk=Z[2];var bn=Z[3];if(bk===1&&bn===0){return true}Z=Z[0];var bm=Y.parentNode;if(bm&&(bm.sizcache!==Z||!Y.nodeIndex)){var bo=0;for(bl=bm.firstChild;bl;bl=bl.nextSibling){if(bl.nodeType===1){bl.nodeIndex=++bo}}bm.sizcache=Z}Y=Y.nodeIndex-bn;return bk===0?Y===0:Y%bk===0&&Y/bk>=0}},ID:function(Y,Z){return Y.nodeType===1&&Y.getAttribute("id")===Z},TAG:function(Y,Z){return Z==="*"&&Y.nodeType===1||Y.nodeName.toLowerCase()===Z},CLASS:function(Y,Z){return(" "+(Y.className||Y.getAttribute("class"))+" ").indexOf(Z)>-1},ATTR:function(Y,Z){var bk=Z[1];Y=Q.attrHandle[bk]?Q.attrHandle[bk](Y):Y[bk]!=null?Y[bk]:Y.getAttribute(bk);bk=Y+"";var bl=Z[2];Z=Z[4];return Y==null?bl==="!=":bl==="="?bk===Z:bl==="*="?bk.indexOf(Z)>=0:bl==="~="?(" "+bk+" ").indexOf(Z)>=0:!Z?bk&&Y!==false:bl==="!="?bk!==Z:bl==="^="?bk.indexOf(Z)===0:bl==="$="?bk.substr(bk.length-Z.length)===Z:bl==="|="?bk===Z||bk.substr(0,Z.length+1)===Z+"-":false},POS:function(Y,Z,bk,bl){var bm=Q.setFilters[Z[2]];if(bm){return bm(Y,bk,Z,bl)}}}},T=Q.match.POS;for(var V in Q.match){Q.match[V]=new RegExp(Q.match[V].source+/(?![^\[]*\])(?![^\(]*\))/.source);Q.leftMatch[V]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Q.match[V].source.replace(/\\(\d+)/g,function(Y,Z){return"\\"+(Z-0+1)}))}var X=function(Y,Z){Y=Array.prototype.slice.call(Y,0);if(Z){Z.push.apply(Z,Y);return Z}return Y};try{Array.prototype.slice.call(aO.documentElement.childNodes,0)}catch(A){X=function(Y,Z){Z=Z||[];if(O.call(Y)==="[object Array]"){Array.prototype.push.apply(Z,Y)}else{if(typeof Y.length==="number"){for(var bk=0,bl=Y.length;bk<bl;bk++){Z.push(Y[bk])}}else{for(bk=0;Y[bk];bk++){Z.push(Y[bk])}}}return Z}}var w;if(aO.documentElement.compareDocumentPosition){w=function(Y,Z){if(!Y.compareDocumentPosition||!Z.compareDocumentPosition){if(Y==Z){N=true}return Y.compareDocumentPosition?-1:1}Y=Y.compareDocumentPosition(Z)&4?-1:Y===Z?0:1;if(Y===0){N=true}return Y}}else{if("sourceIndex" in aO.documentElement){w=function(Y,Z){if(!Y.sourceIndex||!Z.sourceIndex){if(Y==Z){N=true}return Y.sourceIndex?-1:1}Y=Y.sourceIndex-Z.sourceIndex;if(Y===0){N=true}return Y}}else{if(aO.createRange){w=function(Y,Z){if(!Y.ownerDocument||!Z.ownerDocument){if(Y==Z){N=true}return Y.ownerDocument?-1:1}var bk=Y.ownerDocument.createRange(),bl=Z.ownerDocument.createRange();bk.setStart(Y,0);bk.setEnd(Y,0);bl.setStart(Z,0);bl.setEnd(Z,0);Y=bk.compareBoundaryPoints(Range.START_TO_END,bl);if(Y===0){N=true}return Y}}}}(function(){var Y=aO.createElement("div"),Z="script"+(new Date).getTime();Y.innerHTML="<a name='"+Z+"'/>";var bk=aO.documentElement;bk.insertBefore(Y,bk.firstChild);if(aO.getElementById(Z)){Q.find.ID=function(bl,bn,bm){if(typeof bn.getElementById!=="undefined"&&!bm){return(bn=bn.getElementById(bl[1]))?bn.id===bl[1]||typeof bn.getAttributeNode!=="undefined"&&bn.getAttributeNode("id").nodeValue===bl[1]?[bn]:a3:[]}};Q.filter.ID=function(bl,bn){var bm=typeof bl.getAttributeNode!=="undefined"&&bl.getAttributeNode("id");return bl.nodeType===1&&bm&&bm.nodeValue===bn}}bk.removeChild(Y);bk=Y=null})();(function(){var Y=aO.createElement("div");Y.appendChild(aO.createComment(""));if(Y.getElementsByTagName("*").length>0){Q.find.TAG=function(Z,bk){bk=bk.getElementsByTagName(Z[1]);if(Z[1]==="*"){Z=[];for(var bl=0;bk[bl];bl++){bk[bl].nodeType===1&&Z.push(bk[bl])}bk=Z}return bk}}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){Q.attrHandle.href=function(Z){return Z.getAttribute("href",2)}}Y=null})();aO.querySelectorAll&&function(){var Y=P,Z=aO.createElement("div");Z.innerHTML="<p class='TEST'></p>";if(!(Z.querySelectorAll&&Z.querySelectorAll(".TEST").length===0)){P=function(bl,bn,bm,bp){bn=bn||aO;if(!bp&&bn.nodeType===9&&!W(bn)){try{return X(bn.querySelectorAll(bl),bm)}catch(bo){}}return Y(bl,bn,bm,bp)};for(var bk in Y){P[bk]=Y[bk]}Z=null}}();(function(){var Y=aO.createElement("div");Y.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!Y.getElementsByClassName||Y.getElementsByClassName("e").length===0)){Y.lastChild.className="e";if(Y.getElementsByClassName("e").length!==1){Q.order.splice(1,0,"CLASS");Q.find.CLASS=function(Z,bk,bl){if(typeof bk.getElementsByClassName!=="undefined"&&!bl){return bk.getElementsByClassName(Z[1])}};Y=null}}})();var J=aO.compareDocumentPosition?function(Y,Z){return !!(Y.compareDocumentPosition(Z)&16)}:function(Y,Z){return Y!==Z&&(Y.contains?Y.contains(Z):true)},W=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false},L=function(Y,Z){var bk=[],bl="",bn;for(Z=Z.nodeType?[Z]:Z;bn=Q.match.PSEUDO.exec(Y);){bl+=bn[0];Y=Y.replace(Q.match.PSEUDO,"")}Y=Q.relative[Y]?Y+"*":Y;bn=0;for(var bm=Z.length;bn<bm;bn++){P(Y,Z[bn],bk)}return P.filter(bl,bk)};o.find=P;o.expr=P.selectors;o.expr[":"]=o.expr.filters;o.unique=P.uniqueSort;o.text=c;o.isXMLDoc=W;o.contains=J})();var B=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,S=/,/;aK=Array.prototype.slice;var ac=function(c,s,w){if(o.isFunction(s)){return o.grep(c,function(F,G){return !!s.call(F,G,F)===w})}else{if(s.nodeType){return o.grep(c,function(F){return F===s===w})}else{if(typeof s==="string"){var A=o.grep(c,function(F){return F.nodeType===1});if(aX.test(s)){return o.filter(s,A,!w)}else{s=o.filter(s,A)}}}}return o.grep(c,function(F){return o.inArray(F,s)>=0===w})};o.fn.extend({find:function(c){for(var s=this.pushStack("","find",c),w=0,F=0,A=this.length;F<A;F++){w=s.length;o.find(c,this[F],s);if(F>0){for(var J=w;J<s.length;J++){for(var G=0;G<w;G++){if(s[G]===s[J]){s.splice(J--,1);break}}}}}return s},has:function(c){var s=o(c);return this.filter(function(){for(var w=0,A=s.length;w<A;w++){if(o.contains(this,s[w])){return true}}})},not:function(c){return this.pushStack(ac(this,c,false),"not",c)},filter:function(c){return this.pushStack(ac(this,c,true),"filter",c)},is:function(c){return !!c&&o.filter(c,this).length>0},closest:function(c,s){if(o.isArray(c)){var w=[],F=this[0],A,J={},G;if(F&&c.length){A=0;for(var L=c.length;A<L;A++){G=c[A];J[G]||(J[G]=o.expr.match.POS.test(G)?o(G,s||this.context):G)}for(;F&&F.ownerDocument&&F!==s;){for(G in J){A=J[G];if(A.jquery?A.index(F)>-1:o(F).is(A)){w.push({selector:G,elem:F});delete J[G]}}F=F.parentNode}}return w}var K=o.expr.match.POS.test(c)?o(c,s||this.context):null;return this.map(function(N,O){for(;O&&O.ownerDocument&&O!==s;){if(K?K.index(O)>-1:o(O).is(c)){return O}O=O.parentNode}return null})},index:function(c){if(!c||typeof c==="string"){return o.inArray(this[0],c?o(c):this.parent().children())}return o.inArray(c.jquery?c[0]:c,this)},add:function(c,s){c=typeof c==="string"?o(c,s||this.context):o.makeArray(c);s=o.merge(this.get(),c);return this.pushStack(aH(c[0])||aH(s[0])?s:o.unique(s))},andSelf:function(){return this.add(this.prevObject)}});o.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return o.dir(c,"parentNode")},parentsUntil:function(c,s,w){return o.dir(c,"parentNode",w)},next:function(c){return o.nth(c,2,"nextSibling")},prev:function(c){return o.nth(c,2,"previousSibling")},nextAll:function(c){return o.dir(c,"nextSibling")},prevAll:function(c){return o.dir(c,"previousSibling")},nextUntil:function(c,s,w){return o.dir(c,"nextSibling",w)},prevUntil:function(c,s,w){return o.dir(c,"previousSibling",w)},siblings:function(c){return o.sibling(c.parentNode.firstChild,c)},children:function(c){return o.sibling(c.firstChild)},contents:function(c){return o.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:o.makeArray(c.childNodes)}},function(c,s){o.fn[c]=function(w,F){var A=o.map(this,s,w);B.test(c)||(F=w);if(F&&typeof F==="string"){A=o.filter(F,A)}A=this.length>1?o.unique(A):A;if((this.length>1||S.test(F))&&H.test(c)){A=A.reverse()}return this.pushStack(A,c,aK.call(arguments).join(","))}});o.extend({filter:function(c,s,w){if(w){c=":not("+c+")"}return o.find.matches(c,s)},dir:function(c,s,w){var A=[];for(c=c[s];c&&c.nodeType!==9&&(w===a3||c.nodeType!==1||!o(c).is(w));){c.nodeType===1&&A.push(c);c=c[s]}return A},nth:function(c,s,w){s=s||1;for(var A=0;c;c=c[w]){if(c.nodeType===1&&++A===s){break}}return c},sibling:function(c,s){for(var w=[];c;c=c.nextSibling){c.nodeType===1&&c!==s&&w.push(c)}return w}});var ag=/ jQuery\d+="(?:\d+|null)"/g,aZ=/^\s+/,ak=/(<([\w:]+)[^>]*?)\/>/g,aa=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ao=/<([\w:]+)/,ad=/<tbody/i,ah=/<|&#?\w+;/,aT=/<script|<object|<embed|<option|<style/i,aW=/checked\s*(?:[^=]|=\s*.checked.)/i,ar=function(c,s,w){return aa.test(w)?c:s+"></"+w+">"},C={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,"",""]};C.optgroup=C.option;C.tbody=C.tfoot=C.colgroup=C.caption=C.thead;C.th=C.td;if(!o.support.htmlSerialize){C._default=[1,"div<div>","</div>"]}o.fn.extend({text:function(c){if(o.isFunction(c)){return this.each(function(s){var w=o(this);w.text(c.call(this,s,w.text()))})}if(typeof c!=="object"&&c!==a3){return this.empty().append((this[0]&&this[0].ownerDocument||aO).createTextNode(c))}return o.text(this)},wrapAll:function(c){if(o.isFunction(c)){return this.each(function(w){o(this).wrapAll(c.call(this,w))})}if(this[0]){var s=o(c,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&s.insertBefore(this[0]);s.map(function(){for(var w=this;w.firstChild&&w.firstChild.nodeType===1;){w=w.firstChild}return w}).append(this)}return this},wrapInner:function(c){if(o.isFunction(c)){return this.each(function(s){o(this).wrapInner(c.call(this,s))})}return this.each(function(){var s=o(this),w=s.contents();w.length?w.wrapAll(c):s.append(c)})},wrap:function(c){return this.each(function(){o(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){o.nodeName(this,"body")||o(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this)})}else{if(arguments.length){var c=o(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,o(arguments[0]).toArray());return c}}},remove:function(c,s){for(var w=0,A;(A=this[w])!=null;w++){if(!c||o.filter(c,[A]).length){if(!s&&A.nodeType===1){o.cleanData(A.getElementsByTagName("*"));o.cleanData([A])}A.parentNode&&A.parentNode.removeChild(A)}}return this},empty:function(){for(var c=0,s;(s=this[c])!=null;c++){for(s.nodeType===1&&o.cleanData(s.getElementsByTagName("*"));s.firstChild;){s.removeChild(s.firstChild)}}return this},clone:function(c){var s=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var w=this.outerHTML,A=this.ownerDocument;if(!w){w=A.createElement("div");w.appendChild(this.cloneNode(true));w=w.innerHTML}return o.clean([w.replace(ag,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(aZ,"")],A)[0]}else{return this.cloneNode(true)}});if(c===true){aL(this,s);aL(this.find("*"),s.find("*"))}return s},html:function(c){if(c===a3){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof c==="string"&&!aT.test(c)&&(o.support.leadingWhitespace||!aZ.test(c))&&!C[(ao.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(ak,ar);try{for(var s=0,w=this.length;s<w;s++){if(this[s].nodeType===1){o.cleanData(this[s].getElementsByTagName("*"));this[s].innerHTML=c}}}catch(A){this.empty().append(c)}}else{o.isFunction(c)?this.each(function(F){var J=o(this),G=J.html();J.empty().append(function(){return c.call(this,F,G)})}):this.empty().append(c)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(o.isFunction(c)){return this.each(function(s){var w=o(this),A=w.html();w.replaceWith(c.call(this,s,A))})}if(typeof c!=="string"){c=o(c).detach()}return this.each(function(){var s=this.nextSibling,w=this.parentNode;o(this).remove();s?o(s).before(c):o(w).append(c)})}else{return this.pushStack(o(o.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(c,s,w){function F(P){return o.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P}var A,J,G=c[0],N=[],K;if(!o.support.checkClone&&arguments.length===3&&typeof G==="string"&&aW.test(G)){return this.each(function(){o(this).domManip(c,s,w,true)})}if(o.isFunction(G)){return this.each(function(P){var Q=o(this);c[0]=G.call(this,P,s?Q.html():a3);Q.domManip(c,s,w)})}if(this[0]){A=G&&G.parentNode;A=o.support.parentNode&&A&&A.nodeType===11&&A.childNodes.length===this.length?{fragment:A}:aP(c,this,N);K=A.fragment;if(J=K.childNodes.length===1?(K=K.firstChild):K.firstChild){s=s&&o.nodeName(J,"tr");for(var L=0,O=this.length;L<O;L++){w.call(s?F(this[L],J):this[L],L>0||A.cacheable||this.length>1?K.cloneNode(true):K)}}N.length&&o.each(N,aI)}return this}});o.fragments={};o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,s){o.fn[c]=function(w){var F=[];w=o(w);var A=this.length===1&&this[0].parentNode;if(A&&A.nodeType===11&&A.childNodes.length===1&&w.length===1){w[s](this[0]);return this}else{A=0;for(var J=w.length;A<J;A++){var G=(A>0?this.clone(true):this).get();o.fn[s].apply(o(w[A]),G);F=F.concat(G)}return this.pushStack(F,c,w.selector)}}});o.extend({clean:function(c,s,w,F){s=s||aO;if(typeof s.createElement==="undefined"){s=s.ownerDocument||s[0]&&s[0].ownerDocument||aO}for(var A=[],J=0,G;(G=c[J])!=null;J++){if(typeof G==="number"){G+=""}if(G){if(typeof G==="string"&&!ah.test(G)){G=s.createTextNode(G)}else{if(typeof G==="string"){G=G.replace(ak,ar);var N=(ao.exec(G)||["",""])[1].toLowerCase(),K=C[N]||C._default,L=K[0],O=s.createElement("div");for(O.innerHTML=K[1]+G+K[2];L--;){O=O.lastChild}if(!o.support.tbody){L=ad.test(G);N=N==="table"&&!L?O.firstChild&&O.firstChild.childNodes:K[1]==="<table>"&&!L?O.childNodes:[];for(K=N.length-1;K>=0;--K){o.nodeName(N[K],"tbody")&&!N[K].childNodes.length&&N[K].parentNode.removeChild(N[K])}}!o.support.leadingWhitespace&&aZ.test(G)&&O.insertBefore(s.createTextNode(aZ.exec(G)[0]),O.firstChild);G=O.childNodes}}if(G.nodeType){A.push(G)}else{A=o.merge(A,G)}}}if(w){for(J=0;A[J];J++){if(F&&o.nodeName(A[J],"script")&&(!A[J].type||A[J].type.toLowerCase()==="text/javascript")){F.push(A[J].parentNode?A[J].parentNode.removeChild(A[J]):A[J])}else{A[J].nodeType===1&&A.splice.apply(A,[J+1,0].concat(o.makeArray(A[J].getElementsByTagName("script"))));w.appendChild(A[J])}}}return A},cleanData:function(c){for(var s,w,F=o.cache,A=o.event.special,J=o.support.deleteExpando,G=0,L;(L=c[G])!=null;G++){if(w=L[o.expando]){s=F[w];if(s.events){for(var K in s.events){A[K]?o.event.remove(L,K):q(L,K,s.handle)}}if(J){delete L[o.expando]}else{L.removeAttribute&&L.removeAttribute(o.expando)}delete F[w]}}}});var al=/z-?index|font-?weight|opacity|zoom|line-?height/i,aw=/alpha\([^)]*\)/,aA=/opacity=([^)]*)/,U=/float/i,ab=/-([a-z])/ig,ap=/([A-Z])/g,at=/^-?\d+(?:px)?$/i,ax=/^-?\d/,aB={position:"absolute",visibility:"hidden",display:"block"},aF=["Left","Right"],aJ=["Top","Bottom"],aN=aO.defaultView&&aO.defaultView.getComputedStyle,aE=o.support.cssFloat?"cssFloat":"styleFloat",af=function(c,s){return s.toUpperCase()};o.fn.css=function(c,s){return a8(this,c,s,true,function(w,F,A){if(A===a3){return o.curCSS(w,F)}if(typeof A==="number"&&!al.test(F)){A+="px"}o.style(w,F,A)})};o.extend({style:function(c,s,w){if(!c||c.nodeType===3||c.nodeType===8){return a3}if((s==="width"||s==="height")&&parseFloat(w)<0){w=a3}var F=c.style||c,A=w!==a3;if(!o.support.opacity&&s==="opacity"){if(A){F.zoom=1;s=parseInt(w,10)+""==="NaN"?"":"alpha(opacity="+w*100+")";c=F.filter||o.curCSS(c,"filter")||"";F.filter=aw.test(c)?c.replace(aw,s):s}return F.filter&&F.filter.indexOf("opacity=")>=0?parseFloat(aA.exec(F.filter)[1])/100+"":""}if(U.test(s)){s=aE}s=s.replace(ab,af);if(A){F[s]=w}return F[s]},css:function(c,s,w,F){if(s==="width"||s==="height"){var A,J=s==="width"?aF:aJ;function G(){A=s==="width"?c.offsetWidth:c.offsetHeight;F!=="border"&&o.each(J,function(){F||(A-=parseFloat(o.curCSS(c,"padding"+this,true))||0);if(F==="margin"){A+=parseFloat(o.curCSS(c,"margin"+this,true))||0}else{A-=parseFloat(o.curCSS(c,"border"+this+"Width",true))||0}})}c.offsetWidth!==0?G():o.swap(c,aB,G);return Math.max(0,Math.round(A))}return o.curCSS(c,s,w)},curCSS:function(c,s,w){var F,A=c.style;if(!o.support.opacity&&s==="opacity"&&c.currentStyle){F=aA.test(c.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return F===""?"1":F}if(U.test(s)){s=aE}if(!w&&A&&A[s]){F=A[s]}else{if(aN){if(U.test(s)){s="float"}s=s.replace(ap,"-$1").toLowerCase();A=c.ownerDocument.defaultView;if(!A){return null}if(c=A.getComputedStyle(c,null)){F=c.getPropertyValue(s)}if(s==="opacity"&&F===""){F="1"}}else{if(c.currentStyle){w=s.replace(ab,af);F=c.currentStyle[s]||c.currentStyle[w];if(!at.test(F)&&ax.test(F)){s=A.left;var G=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;A.left=w==="fontSize"?"1em":F||0;F=A.pixelLeft+"px";A.left=s;c.runtimeStyle.left=G}}}}return F},swap:function(c,s,w){var F={};for(var A in s){F[A]=c.style[A];c.style[A]=s[A]}w.call(c);for(A in s){c.style[A]=F[A]}}});if(o.expr&&o.expr.filters){o.expr.filters.hidden=function(c){var s=c.offsetWidth,w=c.offsetHeight,A=c.nodeName.toLowerCase()==="tr";return s===0&&w===0&&!A?true:s>0&&w>0&&!A?false:o.curCSS(c,"display")==="none"};o.expr.filters.visible=function(c){return !o.expr.filters.hidden(c)}}var aR=ae(),aV=/<script(.|\s)*?\/script>/gi,aY=/select|textarea/i,a2=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,au=/=\?(&|$)/,aj=/\?/,a7=/(\?|&)_=.*?(&|$)/,bb=/^(\w+:)?\/\/([^\/?#]+)/,bf=/%20/g,bj=o.fn.load;o.fn.extend({load:function(c,s,w){if(typeof c!=="string"){return bj.call(this,c)}else{if(!this.length){return this}}var F=c.indexOf(" ");if(F>=0){var A=c.slice(F,c.length);c=c.slice(0,F)}F="GET";if(s){if(o.isFunction(s)){w=s;s=null}else{if(typeof s==="object"){s=o.param(s,o.ajaxSettings.traditional);F="POST"}}}var G=this;o.ajax({url:c,type:F,dataType:"html",data:s,complete:function(J,K){if(K==="success"||K==="notmodified"){G.html(A?o("<div />").append(J.responseText.replace(aV,"")).find(A):J.responseText)}w&&G.each(w,[J.responseText,K,J])}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aY.test(this.nodeName)||a2.test(this.type))}).map(function(c,s){c=o(this).val();return c==null?null:o.isArray(c)?o.map(c,function(w){return{name:s.name,value:w}}):{name:s.name,value:c}}).get()}});o.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,s){o.fn[s]=function(w){return this.bind(s,w)}});o.extend({get:function(c,s,w,A){if(o.isFunction(s)){A=A||w;w=s;s=null}return o.ajax({type:"GET",url:c,data:s,success:w,dataType:A})},getScript:function(c,s){return o.get(c,null,s,"script")},getJSON:function(c,s,w){return o.get(c,s,w,"json")},post:function(c,s,w,A){if(o.isFunction(s)){A=A||w;w=s;s={}}return o.ajax({type:"POST",url:c,data:s,success:w,dataType:A})},ajaxSetup:function(c){o.extend(o.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:d.XMLHttpRequest&&(d.location.protocol!=="file:"||!d.ActiveXObject)?function(){return new d.XMLHttpRequest}:function(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(c){function s(){G.success&&G.success.call(R,X,P,bk);G.global&&K("ajaxSuccess",[bk,G])}function F(){G.complete&&G.complete.call(R,bk,P);G.global&&K("ajaxComplete",[bk,G]);G.global&&!--o.active&&o.event.trigger("ajaxStop")}function K(bn,bm){(G.context?o(G.context):o.event).trigger(bn,bm)}var G=o.extend(true,{},o.ajaxSettings,c),Q,P,X,R=c&&c.context||G,W=G.type.toUpperCase();if(G.data&&G.processData&&typeof G.data!=="string"){G.data=o.param(G.data,G.traditional)}if(G.dataType==="jsonp"){if(W==="GET"){au.test(G.url)||(G.url+=(aj.test(G.url)?"&":"?")+(G.jsonp||"callback")+"=?")}else{if(!G.data||!au.test(G.data)){G.data=(G.data?G.data+"&":"")+(G.jsonp||"callback")+"=?"}}G.dataType="json"}if(G.dataType==="json"&&(G.data&&au.test(G.data)||au.test(G.url))){Q=G.jsonpCallback||"jsonp"+aR++;if(G.data){G.data=(G.data+"").replace(au,"="+Q+"$1")}G.url=G.url.replace(au,"="+Q+"$1");G.dataType="script";d[Q]=d[Q]||function(bn){X=bn;s();F();d[Q]=a3;try{delete d[Q]}catch(bm){}bl&&bl.removeChild(A)}}if(G.dataType==="script"&&G.cache===null){G.cache=false}if(G.cache===false&&W==="GET"){var Y=ae(),Z=G.url.replace(a7,"$1_="+Y+"$2");G.url=Z+(Z===G.url?(aj.test(G.url)?"&":"?")+"_="+Y:"")}if(G.data&&W==="GET"){G.url+=(aj.test(G.url)?"&":"?")+G.data}G.global&&!o.active++&&o.event.trigger("ajaxStart");Y=(Y=bb.exec(G.url))&&(Y[1]&&Y[1]!==location.protocol||Y[2]!==location.host);if(G.dataType==="script"&&W==="GET"&&Y){var bl=aO.getElementsByTagName("head")[0]||aO.documentElement,A=aO.createElement("script");A.src=G.url;if(G.scriptCharset){A.charset=G.scriptCharset}if(!Q){var w=false;A.onload=A.onreadystatechange=function(){if(!w&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){w=true;s();F();A.onload=A.onreadystatechange=null;bl&&A.parentNode&&bl.removeChild(A)}}}bl.insertBefore(A,bl.firstChild);return a3}var J=false,bk=G.xhr();if(bk){G.username?bk.open(W,G.url,G.async,G.username,G.password):bk.open(W,G.url,G.async);try{if(G.data||c&&c.contentType){bk.setRequestHeader("Content-Type",G.contentType)}if(G.ifModified){o.lastModified[G.url]&&bk.setRequestHeader("If-Modified-Since",o.lastModified[G.url]);o.etag[G.url]&&bk.setRequestHeader("If-None-Match",o.etag[G.url])}Y||bk.setRequestHeader("X-Requested-With","XMLHttpRequest");bk.setRequestHeader("Accept",G.dataType&&G.accepts[G.dataType]?G.accepts[G.dataType]+", */*":G.accepts._default)}catch(N){}if(G.beforeSend&&G.beforeSend.call(R,bk,G)===false){G.global&&!--o.active&&o.event.trigger("ajaxStop");bk.abort();return false}G.global&&K("ajaxSend",[bk,G]);var L=bk.onreadystatechange=function(bn){if(!bk||bk.readyState===0||bn==="abort"){J||F();J=true;if(bk){bk.onreadystatechange=o.noop}}else{if(!J&&bk&&(bk.readyState===4||bn==="timeout")){J=true;bk.onreadystatechange=o.noop;P=bn==="timeout"?"timeout":!o.httpSuccess(bk)?"error":G.ifModified&&o.httpNotModified(bk,G.url)?"notmodified":"success";var bm;if(P==="success"){try{X=o.httpData(bk,G.dataType,G)}catch(bo){P="parsererror";bm=bo}}if(P==="success"||P==="notmodified"){Q||s()}else{o.handleError(G,bk,P,bm)}F();bn==="timeout"&&bk.abort();if(G.async){bk=null}}}};try{var O=bk.abort;bk.abort=function(){bk&&O.call(bk);L("abort")}}catch(T){}G.async&&G.timeout>0&&setTimeout(function(){bk&&!J&&L("timeout")},G.timeout);try{bk.send(W==="POST"||W==="PUT"||W==="DELETE"?G.data:null)}catch(V){o.handleError(G,bk,null,V);F()}G.async||L();return bk}},handleError:function(c,s,w,A){if(c.error){c.error.call(c.context||c,s,w,A)}if(c.global){(c.context?o(c.context):o.event).trigger("ajaxError",[s,c,A])}},active:0,httpSuccess:function(c){try{return !c.status&&location.protocol==="file:"||c.status>=200&&c.status<300||c.status===304||c.status===1223||c.status===0}catch(s){}return false},httpNotModified:function(c,s){var w=c.getResponseHeader("Last-Modified"),A=c.getResponseHeader("Etag");if(w){o.lastModified[s]=w}if(A){o.etag[s]=A}return c.status===304||c.status===0},httpData:function(c,s,w){var F=c.getResponseHeader("content-type")||"",A=s==="xml"||!s&&F.indexOf("xml")>=0;c=A?c.responseXML:c.responseText;A&&c.documentElement.nodeName==="parsererror"&&o.error("parsererror");if(w&&w.dataFilter){c=w.dataFilter(c,s)}if(typeof c==="string"){if(s==="json"||!s&&F.indexOf("json")>=0){c=o.parseJSON(c)}else{if(s==="script"||!s&&F.indexOf("javascript")>=0){o.globalEval(c)}}}return c},param:function(c,s){function w(J,K){if(o.isArray(K)){o.each(K,function(L,N){s||/\[\]$/.test(J)?F(J,N):w(J+"["+(typeof N==="object"||o.isArray(N)?L:"")+"]",N)})}else{!s&&K!=null&&typeof K==="object"?o.each(K,function(L,N){w(J+"["+L+"]",N)}):F(J,K)}}function F(J,K){K=o.isFunction(K)?K():K;A[A.length]=encodeURIComponent(J)+"="+encodeURIComponent(K)}var A=[];if(s===a3){s=o.ajaxSettings.traditional}if(o.isArray(c)||c.jquery){o.each(c,function(){F(this.name,this.value)})}else{for(var G in c){w(G,c[G])}}return A.join("&").replace(bf,"+")}});var an={},h=/toggle|show|hide/,m=/^([+-]=)?([\d+-.]+)(.*)$/,a4,a0=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];o.fn.extend({show:function(c,s){if(c||c===0){return this.animate(ai("show",3),c,s)}else{c=0;for(s=this.length;c<s;c++){var w=o.data(this[c],"olddisplay");this[c].style.display=w||"";if(o.css(this[c],"display")==="none"){w=this[c].nodeName;var F;if(an[w]){F=an[w]}else{var A=o("<"+w+" />").appendTo("body");F=A.css("display");if(F==="none"){F="block"}A.remove();an[w]=F}o.data(this[c],"olddisplay",F)}}c=0;for(s=this.length;c<s;c++){this[c].style.display=o.data(this[c],"olddisplay")||""}return this}},hide:function(c,s){if(c||c===0){return this.animate(ai("hide",3),c,s)}else{c=0;for(s=this.length;c<s;c++){var w=o.data(this[c],"olddisplay");!w&&w!=="none"&&o.data(this[c],"olddisplay",o.css(this[c],"display"))}c=0;for(s=this.length;c<s;c++){this[c].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(c,s){var w=typeof c==="boolean";if(o.isFunction(c)&&o.isFunction(s)){this._toggle.apply(this,arguments)}else{c==null||w?this.each(function(){var A=w?c:o(this).is(":hidden");o(this)[A?"show":"hide"]()}):this.animate(ai("toggle",3),c,s)}return this},fadeTo:function(c,s,w){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:s},c,w)},animate:function(c,s,w,F){var A=o.speed(s,w,F);if(o.isEmptyObject(c)){return this.each(A.complete)}return this[A.queue===false?"each":"queue"](function(){var J=o.extend({},A),G,N=this.nodeType===1&&o(this).is(":hidden"),K=this;for(G in c){var L=G.replace(ab,af);if(G!==L){c[L]=c[G];delete c[G];G=L}if(c[G]==="hide"&&N||c[G]==="show"&&!N){return J.complete.call(this)}if((G==="height"||G==="width")&&this.style){J.display=o.css(this,"display");J.overflow=this.style.overflow}if(o.isArray(c[G])){(J.specialEasing=J.specialEasing||{})[G]=c[G][1];c[G]=c[G][0]}}if(J.overflow!=null){this.style.overflow="hidden"}J.curAnim=o.extend({},c);o.each(c,function(R,T){var V=new o.fx(K,J,R);if(h.test(T)){V[T==="toggle"?N?"show":"hide":T](c)}else{var P=m.exec(T),O=V.cur(true)||0;if(P){T=parseFloat(P[2]);var Q=P[3]||"px";if(Q!=="px"){K.style[R]=(T||1)+Q;O=(T||1)/V.cur(true)*O;K.style[R]=O+Q}if(P[1]){T=(P[1]==="-="?-1:1)*T+O}V.custom(O,T,Q)}else{V.custom(O,T,"")}}});return true})},stop:function(c,s){var w=o.timers;c&&this.queue([]);this.each(function(){for(var A=w.length-1;A>=0;A--){if(w[A].elem===this){s&&w[A](true);w.splice(A,1)}}});s||this.dequeue();return this}});o.each({slideDown:ai("show",1),slideUp:ai("hide",1),slideToggle:ai("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(c,s){o.fn[c]=function(w,A){return this.animate(s,w,A)}});o.extend({speed:function(c,s,w){var A=c&&typeof c==="object"?c:{complete:w||!w&&s||o.isFunction(c)&&c,duration:c,easing:w&&s||s&&!o.isFunction(s)&&s};A.duration=o.fx.off?0:typeof A.duration==="number"?A.duration:o.fx.speeds[A.duration]||o.fx.speeds._default;A.old=A.complete;A.complete=function(){A.queue!==false&&o(this).dequeue();o.isFunction(A.old)&&A.old.call(this)};return A},easing:{linear:function(c,s,w,A){return w+A*c},swing:function(c,s,w,A){return(-Math.cos(c*Math.PI)/2+0.5)*A+w}},timers:[],fx:function(c,s,w){this.options=s;this.elem=c;this.prop=w;if(!s.orig){s.orig={}}}});o.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}return(c=parseFloat(o.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(c,s,w){function F(G){return A.step(G)}this.startTime=ae();this.start=c;this.end=s;this.unit=w||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;F.elem=this.elem;if(F()&&o.timers.push(F)&&!a4){a4=setInterval(o.fx.tick,13)}},show:function(){this.options.orig[this.prop]=o.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var s=ae(),w=true;if(c||s>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){w=false}}if(w){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;c=o.data(this.elem,"olddisplay");this.elem.style.display=c?c:this.options.display;if(o.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&o(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){o.style(this.elem,A,this.options.orig[A])}}this.options.complete.call(this.elem)}return false}else{A=s-this.startTime;this.state=A/this.options.duration;c=this.options.easing||(o.easing.swing?"swing":"linear");this.pos=o.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,A,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};o.extend(o.fx,{tick:function(){for(var c=o.timers,s=0;s<c.length;s++){c[s]()||c.splice(s--,1)}c.length||o.fx.stop()},stop:function(){clearInterval(a4);a4=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){o.style(c.elem,"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit}else{c.elem[c.prop]=c.now}}}});if(o.expr&&o.expr.filters){o.expr.filters.animated=function(c){return o.grep(o.timers,function(s){return c===s.elem}).length}}o.fn.offset="getBoundingClientRect" in aO.documentElement?function(c){var s=this[0];if(c){return this.each(function(F){o.offset.setOffset(this,c,F)})}if(!s||!s.ownerDocument){return null}if(s===s.ownerDocument.body){return o.offset.bodyOffset(s)}var w=s.getBoundingClientRect(),A=s.ownerDocument;s=A.body;A=A.documentElement;return{top:w.top+(self.pageYOffset||o.support.boxModel&&A.scrollTop||s.scrollTop)-(A.clientTop||s.clientTop||0),left:w.left+(self.pageXOffset||o.support.boxModel&&A.scrollLeft||s.scrollLeft)-(A.clientLeft||s.clientLeft||0)}}:function(c){var s=this[0];if(c){return this.each(function(O){o.offset.setOffset(this,c,O)})}if(!s||!s.ownerDocument){return null}if(s===s.ownerDocument.body){return o.offset.bodyOffset(s)}o.offset.initialize();var w=s.offsetParent,F=s,A=s.ownerDocument,J,G=A.documentElement,N=A.body;F=(A=A.defaultView)?A.getComputedStyle(s,null):s.currentStyle;for(var K=s.offsetTop,L=s.offsetLeft;(s=s.parentNode)&&s!==N&&s!==G;){if(o.offset.supportsFixedPosition&&F.position==="fixed"){break}J=A?A.getComputedStyle(s,null):s.currentStyle;K-=s.scrollTop;L-=s.scrollLeft;if(s===w){K+=s.offsetTop;L+=s.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(s.nodeName))){K+=parseFloat(J.borderTopWidth)||0;L+=parseFloat(J.borderLeftWidth)||0}F=w;w=s.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&J.overflow!=="visible"){K+=parseFloat(J.borderTopWidth)||0;L+=parseFloat(J.borderLeftWidth)||0}F=J}if(F.position==="relative"||F.position==="static"){K+=N.offsetTop;L+=N.offsetLeft}if(o.offset.supportsFixedPosition&&F.position==="fixed"){K+=Math.max(G.scrollTop,N.scrollTop);L+=Math.max(G.scrollLeft,N.scrollLeft)}return{top:K,left:L}};o.offset={initialize:function(){var c=aO.body,s=aO.createElement("div"),w,F,A,G=parseFloat(o.curCSS(c,"marginTop",true))||0;o.extend(s.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});s.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";c.insertBefore(s,c.firstChild);w=s.firstChild;F=w.firstChild;A=w.nextSibling.firstChild.firstChild;this.doesNotAddBorder=F.offsetTop!==5;this.doesAddBorderForTableAndCells=A.offsetTop===5;F.style.position="fixed";F.style.top="20px";this.supportsFixedPosition=F.offsetTop===20||F.offsetTop===15;F.style.position=F.style.top="";w.style.overflow="hidden";w.style.position="relative";this.subtractsBorderForOverflowNotVisible=F.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=c.offsetTop!==G;c.removeChild(s);o.offset.initialize=o.noop},bodyOffset:function(c){var s=c.offsetTop,w=c.offsetLeft;o.offset.initialize();if(o.offset.doesNotIncludeMarginInBodyOffset){s+=parseFloat(o.curCSS(c,"marginTop",true))||0;w+=parseFloat(o.curCSS(c,"marginLeft",true))||0}return{top:s,left:w}},setOffset:function(c,s,w){if(/static/.test(o.curCSS(c,"position"))){c.style.position="relative"}var F=o(c),A=F.offset(),J=parseInt(o.curCSS(c,"top",true),10)||0,G=parseInt(o.curCSS(c,"left",true),10)||0;if(o.isFunction(s)){s=s.call(c,w,A)}w={top:s.top-A.top+J,left:s.left-A.left+G};"using" in s?s.using.call(c,w):F.css(w)}};o.fn.extend({position:function(){if(!this[0]){return null}var c=this[0],s=this.offsetParent(),w=this.offset(),A=/^body|html$/i.test(s[0].nodeName)?{top:0,left:0}:s.offset();w.top-=parseFloat(o.curCSS(c,"marginTop",true))||0;w.left-=parseFloat(o.curCSS(c,"marginLeft",true))||0;A.top+=parseFloat(o.curCSS(s[0],"borderTopWidth",true))||0;A.left+=parseFloat(o.curCSS(s[0],"borderLeftWidth",true))||0;return{top:w.top-A.top,left:w.left-A.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||aO.body;c&&!/^body|html$/i.test(c.nodeName)&&o.css(c,"position")==="static";){c=c.offsetParent}return c})}});o.each(["Left","Top"],function(c,s){var w="scroll"+s;o.fn[w]=function(F){var A=this[0],G;if(!A){return null}if(F!==a3){return this.each(function(){if(G=a5(this)){G.scrollTo(!c?F:o(G).scrollLeft(),c?F:o(G).scrollTop())}else{this[w]=F}})}else{return(G=a5(A))?"pageXOffset" in G?G[c?"pageYOffset":"pageXOffset"]:o.support.boxModel&&G.document.documentElement[w]||G.document.body[w]:A[w]}}});o.each(["Height","Width"],function(c,s){var w=s.toLowerCase();o.fn["inner"+s]=function(){return this[0]?o.css(this[0],w,false,"padding"):null};o.fn["outer"+s]=function(A){return this[0]?o.css(this[0],w,false,A?"margin":"border"):null};o.fn[w]=function(F){var A=this[0];if(!A){return F==null?null:this}if(o.isFunction(F)){return this.each(function(J){var G=o(this);G[w](F.call(this,J,G[w]()))})}return"scrollTo" in A&&A.document?A.document.compatMode==="CSS1Compat"&&A.document.documentElement["client"+s]||A.document.body["client"+s]:A.nodeType===9?Math.max(A.documentElement["client"+s],A.body["scroll"+s],A.documentElement["scroll"+s],A.body["offset"+s],A.documentElement["offset"+s]):F===a3?o.css(A,w):this.css(w,typeof F==="string"?F:F+"px")}});d.jQuery=d.$=o})(window);
/*
 * jQuery UI 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(a,b){function d(c,f){var g=c.nodeName.toLowerCase();if("area"===g){f=c.parentNode;g=f.name;if(!c.href||!g||f.nodeName.toLowerCase()!=="map"){return false}c=a("img[usemap=#"+g+"]")[0];return !!c&&e(c)}return(/input|select|textarea|button|object/.test(g)?!c.disabled:"a"==g?c.href||f:f)&&e(c)}function e(c){return !a(c).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};if(!a.ui.version){a.extend(a.ui,{version:"1.8.14",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({_focus:a.fn.focus,focus:function(c,f){return typeof c==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();f&&f.call(g)},c)}):this._focus.apply(this,arguments)},scrollParent:function(){var c;c=a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!c.length?a(document):c},zIndex:function(c){if(c!==b){return this.css("zIndex",c)}if(this.length){c=a(this[0]);for(var f;c.length&&c[0]!==document;){f=c.css("position");if(f==="absolute"||f==="relative"||f==="fixed"){f=parseInt(c.css("zIndex"),10);if(!isNaN(f)&&f!==0){return f}}c=c.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(c){c.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(c,f){function g(h,i,o,p){a.each(k,function(){i-=parseFloat(a.curCSS(h,"padding"+this,true))||0;if(o){i-=parseFloat(a.curCSS(h,"border"+this+"Width",true))||0}if(p){i-=parseFloat(a.curCSS(h,"margin"+this,true))||0}});return i}var k=f==="Width"?["Left","Right"]:["Top","Bottom"],l=f.toLowerCase(),m={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+f]=function(h){if(h===b){return m["inner"+f].call(this)}return this.each(function(){a(this).css(l,g(this,h)+"px")})};a.fn["outer"+f]=function(h,i){if(typeof h!=="number"){return m["outer"+f].call(this,h)}return this.each(function(){a(this).css(l,g(this,h,true,i)+"px")})}});a.extend(a.expr[":"],{data:function(c,f,g){return !!a.data(c,g[3])},focusable:function(c){return d(c,!isNaN(a.attr(c,"tabindex")))},tabbable:function(c){var f=a.attr(c,"tabindex"),g=isNaN(f);return(g||f>=0)&&d(c,!g)}});a(function(){var c=document.body,f=c.appendChild(f=document.createElement("div"));a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;c.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(c,f,g){c=a.ui[c].prototype;for(var h in g){c.plugins[h]=c.plugins[h]||[];c.plugins[h].push([f,g[h]])}},call:function(c,f,g){if((f=c.plugins[f])&&c.element[0].parentNode){for(var h=0;h<f.length;h++){c.options[f[h][0]]&&f[h][1].apply(c.element,g)}}}},contains:function(c,f){return document.compareDocumentPosition?c.compareDocumentPosition(f)&16:c!==f&&c.contains(f)},hasScroll:function(c,f){if(a(c).css("overflow")==="hidden"){return false}f=f&&f==="left"?"scrollLeft":"scrollTop";var g=false;if(c[f]>0){return true}c[f]=1;g=c[f]>0;c[f]=0;return g},isOverAxis:function(c,f,g){return c>f&&c<f+g},isOver:function(c,f,g,k,l,m){return a.ui.isOverAxis(c,g,l)&&a.ui.isOverAxis(f,k,m)}})}})(jQuery);
/*
 * jQuery UI Widget 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(a,c){if(a.cleanData){var d=a.cleanData;a.cleanData=function(b){for(var f=0,g;(g=b[f])!=null;f++){a(g).triggerHandler("remove")}d(b)}}else{var e=a.fn.remove;a.fn.remove=function(b,f){return this.each(function(){if(!f){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return e.call(a(this),b,f)})}}a.widget=function(b,g,h){var i=b.split(".")[0],k;b=b.split(".")[1];k=i+"-"+b;if(!h){h=g;g=a.Widget}a.expr[":"][k]=function(f){return !!a.data(f,b)};a[i]=a[i]||{};a[i][b]=function(l,f){arguments.length&&this._createWidget(l,f)};g=new g;g.options=a.extend(true,{},g.options);a[i][b].prototype=a.extend(true,g,{namespace:i,widgetName:b,widgetEventPrefix:a[i][b].prototype.widgetEventPrefix||b,widgetBaseClass:k},h);a.widget.bridge(b,a[i][b])};a.widget.bridge=function(b,f){a.fn[b]=function(g){var i=typeof g==="string",k=Array.prototype.slice.call(arguments,1),l=this;g=!i&&k.length?a.extend.apply(null,[true,g].concat(k)):g;if(i&&g.charAt(0)==="_"){return l}i?this.each(function(){var h=a.data(this,b),m=h&&a.isFunction(h[g])?h[g].apply(h,k):h;if(m!==h&&m!==c){l=m;return false}}):this.each(function(){var h=a.data(this,b);h?h.option(g||{})._init():a.data(this,b,new f(g,this))});return l}};a.Widget=function(b,f){arguments.length&&this._createWidget(b,f)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,f){a.data(f,this.widgetName,this);this.element=a(f);this.options=a.extend(true,{},this.options,this._getCreateOptions(),b);var g=this;this.element.bind("remove."+this.widgetName,function(){g.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(b,f){var g=b;if(arguments.length===0){return a.extend({},this.options)}if(typeof b==="string"){if(f===c){return this.options[b]}g={};g[b]=f}this._setOptions(g);return this},_setOptions:function(b){var f=this;a.each(b,function(g,h){f._setOption(g,h)});return this},_setOption:function(b,f){this.options[b]=f;if(b==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,g,h){var i=this.options[b];g=a.Event(g);g.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();h=h||{};if(g.originalEvent){b=a.event.props.length;for(var k;b;){k=a.event.props[--b];g[k]=g.originalEvent[k]}}this.element.trigger(g,h);return !(a.isFunction(i)&&i.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,b){function c(){return ++e}function f(){return ++g}var e=0,g=0;a.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(d,h){if(d=="selected"){this.options.collapsible&&h==this.options.selected||this.select(h)}else{this.options[d]=h;this._tabify()}},_tabId:function(d){return d.title&&d.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+c()},_sanitizeSelector:function(d){return d.replace(/:/g,"\\:")},_cookie:function(){var d=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+f());return a.cookie.apply(null,[d].concat(a.makeArray(arguments)))},_ui:function(d,h){return{tab:d,panel:h,index:this.anchors.index(d)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var d=a(this);d.html(d.data("label.tabs")).removeData("label.tabs")})},_tabify:function(i){function p(k,h){k.css("display","");!a.support.opacity&&h.opacity&&k[0].style.removeAttribute("filter")}var d=this,l=this.options,q=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=a(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return a("a",this)[0]});this.panels=a([]);this.anchors.each(function(k,h){var m=a(h).attr("href"),o=m.split("#")[0],r;if(o&&(o===location.toString().split("#")[0]||(r=a("base")[0])&&o===r.href)){m=h.hash;h.href=m}if(q.test(m)){d.panels=d.panels.add(d.element.find(d._sanitizeSelector(m)))}else{if(m&&m!=="#"){a.data(h,"href.tabs",m);a.data(h,"load.tabs",m.replace(/#.*$/,""));m=d._tabId(h);h.href="#"+m;h=d.element.find("#"+m);if(!h.length){h=a(l.panelTemplate).attr("id",m).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(d.panels[k-1]||d.list);h.data("destroy.tabs",true)}d.panels=d.panels.add(h)}else{l.disabled.push(k)}}});if(i){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(l.selected===b){location.hash&&this.anchors.each(function(k,h){if(h.hash==location.hash){l.selected=k;return false}});if(typeof l.selected!=="number"&&l.cookie){l.selected=parseInt(d._cookie(),10)}if(typeof l.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length){l.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}l.selected=l.selected||(this.lis.length?0:-1)}else{if(l.selected===null){l.selected=-1}}l.selected=l.selected>=0&&this.anchors[l.selected]||l.selected<0?l.selected:0;l.disabled=a.unique(l.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(h){return d.lis.index(h)}))).sort();a.inArray(l.selected,l.disabled)!=-1&&l.disabled.splice(a.inArray(l.selected,l.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(l.selected>=0&&this.anchors.length){d.element.find(d._sanitizeSelector(d.anchors[l.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(l.selected).addClass("ui-tabs-selected ui-state-active");d.element.queue("tabs",function(){d._trigger("show",null,d._ui(d.anchors[l.selected],d.element.find(d._sanitizeSelector(d.anchors[l.selected].hash))[0]))});this.load(l.selected)}a(window).bind("unload",function(){d.lis.add(d.anchors).unbind(".tabs");d.lis=d.anchors=d.panels=null})}else{l.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}this.element[l.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");l.cookie&&this._cookie(l.selected,l.cookie);i=0;for(var u;u=this.lis[i];i++){a(u)[a.inArray(i,l.disabled)!=-1&&!a(u).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")}l.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(l.event!=="mouseover"){var v=function(k,h){h.is(":not(.ui-state-disabled)")&&h.addClass("ui-state-"+k)},x=function(k,h){h.removeClass("ui-state-"+k)};this.lis.bind("mouseover.tabs",function(){v("hover",a(this))});this.lis.bind("mouseout.tabs",function(){x("hover",a(this))});this.anchors.bind("focus.tabs",function(){v("focus",a(this).closest("li"))});this.anchors.bind("blur.tabs",function(){x("focus",a(this).closest("li"))})}var w,y;if(l.fx){if(a.isArray(l.fx)){w=l.fx[0];y=l.fx[1]}else{w=y=l.fx}}var z=y?function(k,h){a(k).closest("li").addClass("ui-tabs-selected ui-state-active");h.hide().removeClass("ui-tabs-hide").animate(y,y.duration||"normal",function(){p(h,y);d._trigger("show",null,d._ui(k,h[0]))})}:function(k,h){a(k).closest("li").addClass("ui-tabs-selected ui-state-active");h.removeClass("ui-tabs-hide");d._trigger("show",null,d._ui(k,h[0]))},A=w?function(k,h){h.animate(w,w.duration||"normal",function(){d.lis.removeClass("ui-tabs-selected ui-state-active");h.addClass("ui-tabs-hide");p(h,w);d.element.dequeue("tabs")})}:function(k,h){d.lis.removeClass("ui-tabs-selected ui-state-active");h.addClass("ui-tabs-hide");d.element.dequeue("tabs")};this.anchors.bind(l.event+".tabs",function(){var k=this,h=a(k).closest("li"),m=d.panels.filter(":not(.ui-tabs-hide)"),o=d.element.find(d._sanitizeSelector(k.hash));if(h.hasClass("ui-tabs-selected")&&!l.collapsible||h.hasClass("ui-state-disabled")||h.hasClass("ui-state-processing")||d.panels.filter(":animated").length||d._trigger("select",null,d._ui(this,o[0]))===false){this.blur();return false}l.selected=d.anchors.index(this);d.abort();if(l.collapsible){if(h.hasClass("ui-tabs-selected")){l.selected=-1;l.cookie&&d._cookie(l.selected,l.cookie);d.element.queue("tabs",function(){A(k,m)}).dequeue("tabs");this.blur();return false}else{if(!m.length){l.cookie&&d._cookie(l.selected,l.cookie);d.element.queue("tabs",function(){z(k,o)});d.load(d.anchors.index(this));this.blur();return false}}}l.cookie&&d._cookie(l.selected,l.cookie);if(o.length){m.length&&d.element.queue("tabs",function(){A(k,m)});d.element.queue("tabs",function(){z(k,o)});d.load(d.anchors.index(this))}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}a.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(d){if(typeof d=="string"){d=this.anchors.index(this.anchors.filter("[href$="+d+"]"))}return d},destroy:function(){var d=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var i=a.data(this,"href.tabs");if(i){this.href=i}var h=a(this).unbind(".tabs");a.each(["href","load","cache"],function(k,l){h.removeData(l+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){a.data(this,"destroy.tabs")?a(this).remove():a(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});d.cookie&&this._cookie(null,d.cookie);return this},add:function(i,l,d){if(d===b){d=this.anchors.length}var k=this,m=this.options;l=a(m.tabTemplate.replace(/#\{href\}/g,i).replace(/#\{label\}/g,l));i=!i.indexOf("#")?i.replace("#",""):this._tabId(a("a",l)[0]);l.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var o=k.element.find("#"+i);o.length||(o=a(m.panelTemplate).attr("id",i).data("destroy.tabs",true));o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(d>=this.lis.length){l.appendTo(this.list);o.appendTo(this.list[0].parentNode)}else{l.insertBefore(this.lis[d]);o.insertBefore(this.panels[d])}m.disabled=a.map(m.disabled,function(h){return h>=d?++h:h});this._tabify();if(this.anchors.length==1){m.selected=0;l.addClass("ui-tabs-selected ui-state-active");o.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){k._trigger("show",null,k._ui(k.anchors[0],k.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[d],this.panels[d]));return this},remove:function(h){h=this._getIndex(h);var k=this.options,d=this.lis.eq(h).remove(),i=this.panels.eq(h).remove();if(d.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(h+(h+1<this.anchors.length?1:-1))}k.disabled=a.map(a.grep(k.disabled,function(l){return l!=h}),function(l){return l>=h?--l:l});this._tabify();this._trigger("remove",null,this._ui(d.find("a")[0],i[0]));return this},enable:function(d){d=this._getIndex(d);var h=this.options;if(a.inArray(d,h.disabled)!=-1){this.lis.eq(d).removeClass("ui-state-disabled");h.disabled=a.grep(h.disabled,function(i){return i!=d});this._trigger("enable",null,this._ui(this.anchors[d],this.panels[d]));return this}},disable:function(d){d=this._getIndex(d);var h=this.options;if(d!=h.selected){this.lis.eq(d).addClass("ui-state-disabled");h.disabled.push(d);h.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[d],this.panels[d]))}return this},select:function(d){d=this._getIndex(d);if(d==-1){if(this.options.collapsible&&this.options.selected!=-1){d=this.options.selected}else{return this}}this.anchors.eq(d).trigger(this.options.event+".tabs");return this},load:function(i){i=this._getIndex(i);var l=this,d=this.options,k=this.anchors.eq(i)[0],m=a.data(k,"load.tabs");this.abort();if(!m||this.element.queue("tabs").length!==0&&a.data(k,"cache.tabs")){this.element.dequeue("tabs")}else{this.lis.eq(i).addClass("ui-state-processing");if(d.spinner){var o=a("span",k);o.data("label.tabs",o.html()).html(d.spinner)}this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:m,success:function(h,q){l.element.find(l._sanitizeSelector(k.hash)).html(h);l._cleanup();d.cache&&a.data(k,"cache.tabs",true);l._trigger("load",null,l._ui(l.anchors[i],l.panels[i]));try{d.ajaxOptions.success(h,q)}catch(p){}},error:function(h,q){l._cleanup();l._trigger("load",null,l._ui(l.anchors[i],l.panels[i]));try{d.ajaxOptions.error(h,q,i,k)}catch(p){}}}));l.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(d,h){this.anchors.eq(d).removeData("cache.tabs").data("load.tabs",h);return this},length:function(){return this.anchors.length}});a.extend(a.ui.tabs,{version:"1.8.14"});a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(i,l){var d=this,k=this.options,m=d._rotate||(d._rotate=function(h){clearTimeout(d.rotation);d.rotation=setTimeout(function(){var o=k.selected;d.select(++o<d.anchors.length?o:0)},i);h&&h.stopPropagation()});l=d._unrotate||(d._unrotate=!l?function(h){h.clientX&&d.rotate(null)}:function(){t=k.selected;m()});if(i){this.element.bind("tabsshow",m);this.anchors.bind(k.event+".tabs",l);m()}else{clearTimeout(d.rotation);this.element.unbind("tabsshow",m);this.anchors.unbind(k.event+".tabs",l);delete this._rotate;delete this._unrotate}return this}})})(jQuery);function getUrlVars(){var d=[],a;var b=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(var c=0;c<b.length;c++){a=b[c].split("=");d.push(a[0]);d[a[0]]=a[1]}return d}jQuery(document).ready(function(){var e=jQuery("div#eventMap iframe").attr("src");if(e!=null&&e!=undefined){var f=e.indexOf("&q=")+3;var h=e.substr(f,e.length);var b=h.indexOf("&");var a=h.substr(0,b);a=a.replace(/\+/g," ");var c="http://maps.googleapis.com/maps/api/staticmap?center="+a+"&zoom=14&size=169x121&maptype=roadmap&markers=color:blue|label:S|"+a+"&sensor=false";jQuery("div#eventMap iframe").replaceWith('<img class="googleMapImage" src="'+c+'"/>');jQuery("div#eventMap .googleMapImage").parent().next().remove();jQuery("div#eventMap .googleMapImage").next().remove();jQuery("div#eventMap .googleMapImage").next().remove()}equalHeight(jQuery(".footerFeature"));jQuery("#content .comunityTools > ul > li:last-child").css({"background-image":'url("http://ak-media.hult.edu/images/communityBtnRight.png")',"background-position":"right top"});if(jQuery("#commentToolBarItem").length>0){jQuery("#commentToolBarItem").append(jQuery("div.commentCount"))}jQuery("input:file").each(function(){jQuery(this).addClass("uploadOriginal").css({position:"relative",left:"25px"}).wrap('<div class="uploadWrapper">').after('<input class="uploadText" onkeydown="this.blur();" type="text" /><input class="uploadButton" type="button" value="Browse" />');jQuery(this).change(function(){jQuery(this).siblings("input.uploadText").val(jQuery(this).val())});jQuery(this).siblings("input.uploadText").click(function(){jQuery(this).siblings("input.uploadOriginal").trigger("click")})});if(jQuery("#google_map").length>0){showAddress=function(i){jQuery(".office").each(function(){if(jQuery(this).css("display")!="none"){jQuery(".googleMapsLink a").attr("href",jQuery(this).find("a.officeLinkHidden").attr("href"))}});jQuery("div.overlayMap, div#google_map, div.googleMapsLink, .googleMapClose").show();jQuery("div#google_map").html(i)}}jQuery("div.overlayMap, .googleMapClose").click(function(){jQuery("div.overlayMap, div#google_map, div.googleMapsLink, .googleMapClose").hide()});if(jQuery("#google_mapAdmission").length>0){showAddressForAdmission=function(k,i){jQuery(".admissionOfficer").removeClass("open");jQuery(k).parent().parent().addClass("open");jQuery("div.overlayMapAdmission, div#google_mapAdmission, div.googleMapsLinkAdmission, .googleMapCloseAdmission").show();jQuery(".googleMapsLinkAdmission a").attr("href",jQuery(".admissionOfficer.open").find("a.admissionOfficeLinkHidden").attr("href"));jQuery("div#google_mapAdmission").html(i)}}jQuery("div.overlayMapAdmission, .googleMapCloseAdmission").click(function(){jQuery("div.overlayMapAdmission, div#google_mapAdmission, div.googleMapsLinkAdmission, .googleMapCloseAdmission").hide()});if(jQuery("a.video").length>0){jQuery("a.video").prepend('<div class="playButton"></div>');jQuery("a.video").click(function(){jQuery.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,width:640,height:385,href:this.href.replace(new RegExp("watch\\?v=","i"),"v/"),type:"swf",swf:{wmode:"transparent",allowfullscreen:"true"}});return false})}if(jQuery("div.youtube iframe").length>0){jQuery("div.youtube iframe").each(function(){var i=jQuery(this).attr("src");var k="wmode=transparent";if(i.indexOf("?")!=-1){jQuery(this).attr("src",i+"&"+k)}else{jQuery(this).attr("src",i+"?"+k)}})}jQuery("select#ddlFaculty").val(getUrlVars()["item"]);jQuery("select#ddlFaculty").change(function(){window.location="?member="+jQuery(this).val()});jQuery("select#ddlSpeaker").val(getUrlVars()["item"]);jQuery("select#ddlSpeaker").change(function(){window.location="?executive="+jQuery(this).val()});imageIndex=0;setActiveImage=function(i){jQuery("div.photoGallery img.imageView").attr("src",jQuery(jQuery("div.photoGallery ul.imageList > li > img").get(i)).attr("src"));jQuery("div.photoGallery ul.imageList > li > img").removeClass("active");jQuery(jQuery("div.photoGallery ul.imageList > li > img").get(i)).addClass("active")};if(jQuery("div.photoGallery ul.imageList > li").length<7){jQuery("div.photoGallery a.navLeft, div.photoGallery a.navRight").hide()}jQuery("div.photoGallery ul.imageList > li > img").click(function(){imageIndex=jQuery("div.photoGallery ul.imageList > li > img").index(jQuery(this));setActiveImage(imageIndex)});jQuery("div.photoGallery a.navLeft").click(function(){if(!jQuery(this).hasClass("locked")){var i=-jQuery("div.photoGallery ul.imageList").position().left;if(i>=81){jQuery(this).addClass("locked");jQuery("div.photoGallery ul.imageList").animate({left:(-i+81).toString()+"px"},"fast",function(){jQuery("div.photoGallery a.navLeft").removeClass("locked")})}}});jQuery("div.photoGallery a.navRight").click(function(){if(!jQuery(this).hasClass("locked")){var i=-jQuery("div.photoGallery ul.imageList").position().left;var k=jQuery("div.photoGallery ul.imageList li").length*81;if((i+648)<=k){jQuery(this).addClass("locked");jQuery("div.photoGallery ul.imageList").animate({left:(-i-81).toString()+"px"},"fast",function(){jQuery("div.photoGallery a.navRight").removeClass("locked")})}}});setActiveImage(imageIndex);jQuery(".sections").not(".sections:first").each(function(){if(jQuery(this).css("background")==""){jQuery(this).prepend('<div class="blockDivider"></div>')}});if(jQuery(".landingPage .scfForm").length>0){jQuery(".landingPage .scfForm").prepend('<div class="blockDivider"></div>')}if(jQuery("div.sectionList div.feature").length>0){maxHeight=0;jQuery("div.sectionList div.feature").each(function(l,k){if(jQuery(this).height()>maxHeight){maxHeight=jQuery(this).height()}if((l+1)%3==0){for(j=(l-2);j<=l;j++){jQuery(jQuery("div.sectionList div.feature").get(j)).height(maxHeight)}maxHeight=0}});if(jQuery("div.sectionList div.feature").length%3>0){maxHeight=0;for(j=(jQuery("div.sectionList div.feature").length-(jQuery("div.sectionList div.feature").length%3));j<jQuery("div.sectionList div.feature").length;j++){if(jQuery(jQuery("div.sectionList div.feature").get(j)).height()>maxHeight){maxHeight=jQuery(jQuery("div.sectionList div.feature").get(j)).height()}}for(j=(jQuery("div.sectionList div.feature").length-(jQuery("div.sectionList div.feature").length%3));j<jQuery("div.sectionList div.feature").length;j++){jQuery(jQuery("div.sectionList div.feature").get(j)).height(maxHeight)}}}if(jQuery("div.sections div.featureSmall").length>0){maxHeight=0;jQuery("div.sections div.featureSmall").each(function(l,k){if(jQuery(this).height()>maxHeight){maxHeight=jQuery(this).height()}if((l+1)%4==0){for(j=(l-3);j<=l;j++){jQuery(jQuery("div.sections div.featureSmall").get(j)).height(maxHeight)}maxHeight=0}});if(jQuery("div.sections div.featureSmall").length%4>0){maxHeight=0;for(j=(jQuery("div.sections div.featureSmall").length-(jQuery("div.sections div.featureSmall").length%4));j<jQuery("div.sections div.featureSmall").length;j++){if(jQuery(jQuery("div.sections div.featureSmall").get(j)).height()>maxHeight){maxHeight=jQuery(jQuery("div.sections div.featureSmall").get(j)).height()}}for(j=(jQuery("div.sections div.featureSmall").length-(jQuery("div.sections div.featureSmall").length%4));j<jQuery("div.sections div.featureSmall").length;j++){jQuery(jQuery("div.sections div.featureSmall").get(j)).height(maxHeight)}}}if(jQuery("div.facultyListSmall div.featureSmall").length>0){maxHeight=0;jQuery("div.facultyListSmall div.featureSmall").each(function(l,k){if(jQuery(this).height()>maxHeight){maxHeight=jQuery(this).height()}if((l+1)%3==0){for(j=(l-2);j<=l;j++){jQuery(jQuery("div.facultyListSmall div.featureSmall").get(j)).height(maxHeight)}maxHeight=0}});if(jQuery("div.facultyListSmall div.featureSmall").length%3>0){maxHeight=0;for(j=(jQuery("div.facultyListSmall div.featureSmall").length-(jQuery("div.facultyListSmall div.featureSmall").length%3));j<jQuery("div.facultyListSmall div.featureSmall").length;j++){if(jQuery(jQuery("div.facultyListSmall div.featureSmall").get(j)).height()>maxHeight){maxHeight=jQuery(jQuery("div.facultyListSmall div.featureSmall").get(j)).height()}}for(j=(jQuery("div.facultyListSmall div.featureSmall").length-(jQuery("div.facultyListSmall div.featureSmall").length%3));j<jQuery("div.facultyListSmall div.featureSmall").length;j++){jQuery(jQuery("div.facultyListSmall div.featureSmall").get(j)).height(maxHeight)}}}jQuery("div#tabs").not(".static").tabs({selected:0});if(jQuery("div#tabs.static").next().hasClass("documentText")){jQuery("div#tabs.static").next().css("padding-top","58px")}else{jQuery("div#tabs.static").next().css("margin-top","0px")}tag="";month="";year="";newsCategory="";newsUrl="";resizeFrame=function(){jQuery("#newsListFrame").height(jQuery("#newsListFrame").contents().find("body").height()+50);jQuery("#eventsListFrame").height(jQuery("#eventsListFrame").contents().find("body").height()+20)};resizeFrame();jQuery("select#ddlNewsCategory").val(getUrlVars()["item"]);jQuery("select#ddlNewsCategory").change(function(){newsCategory=jQuery(this).val();newsUrl="?category="+newsCategory;if(typeof tag!="undefined"){newsUrl+="&tag="+tag}if(typeof month!="undefined"){newsUrl+="&month="+month}if(typeof year!="undefined"){newsUrl+="&year="+year}if(pageUrl.toLowerCase().indexOf("newslist")!=-1){jQuery("#newsListFrame").attr("src","http://"+window.location.hostname+pageUrl+newsUrl)}else{window.location="http://"+window.location.hostname+pageUrl+newsUrl}jQuery("ul.leftMenu a").each(function(){if(jQuery(this).attr("href").indexOf("&category=")!=-1){jQuery(this).attr("href",jQuery(this).attr("href").split("&category=")[0]+"&category="+(newsCategory==""?"":newsCategory))}else{jQuery(this).attr("href",jQuery(this).attr("href")+"&category="+(newsCategory==""?"":newsCategory))}})});eventsUrl="";programTag="";countryTag="";eventsUrl="/EventList.aspx?program="+programTag+"&country="+countryTag;if(typeof typeTag!="undefined"){eventsUrl+="&type="+typeTag}if(typeof eventVar!="undefined"){eventsUrl+="&event="+eventVar}if(typeof month!="undefined"){eventsUrl+="&month="+month}if(typeof year!="undefined"){eventsUrl+="&year="+year}jQuery("a.loadEvents").attr("href",eventsUrl);if(typeof ancestorTag!="undefined"){jQuery('option[value="'+ancestorTag+'"]').attr("selected","true")}jQuery("#ddlProgramsEvents").change(function(){programTag=jQuery(this).val();eventsUrl="/EventList.aspx?program="+programTag+"&country="+countryTag;if(typeof typeTag!="undefined"){eventsUrl+="&type="+typeTag}if(typeof eventVar!="undefined"){eventsUrl+="&event="+eventVar}if(typeof month!="undefined"){eventsUrl+="&month="+month}if(typeof year!="undefined"){eventsUrl+="&year="+year}jQuery("a.loadEvents").attr("href",eventsUrl)});jQuery("#ddlCountries").change(function(){countryTag=jQuery(this).val();eventsUrl="/EventList.aspx?program="+programTag+"&country="+countryTag;if(typeof typeTag!="undefined"){eventsUrl+="&type="+typeTag}if(typeof eventVar!="undefined"){eventsUrl+="&event="+eventVar}if(typeof month!="undefined"){eventsUrl+="&month="+month}if(typeof year!="undefined"){eventsUrl+="&year="+year}jQuery("a.loadEvents").attr("href",eventsUrl)});nextTab=function(){if(jQuery("ul.menu li:last").hasClass("active")){jQuery("ul.menu li:first").trigger("mouseover",["keepInterval"])}else{jQuery("ul.menu li.active").next().trigger("mouseover",["keepInterval"])}};animationRunning=false;activateTab=function(k){var l=jQuery("div.mainCampaign div.slides").length;if(k==-1){k=l-1}if(k==l){k=0}if(jQuery(".mainCampaign").hasClass("news")){jQuery(".mainCampaign div.stage").animate({left:-(k*980).toString()+"px"});jQuery(".mainCampaign ul.menu li").removeClass("active");jQuery(jQuery(".mainCampaign ul.menu li").get(k)).addClass("active")}else{jQuery(".mainCampaign ul.menu li").removeClass("active");jQuery(jQuery(".mainCampaign ul.menu li").get(k)).addClass("active");jQuery("div.mainCampaign div.slides").removeClass("active");jQuery(jQuery("div.mainCampaign div.slides")[k]).addClass("active");if(!animationRunning){animationRunning=true;jQuery(jQuery("div.mainCampaign div.slides")[k]).stop().css("z-index","11").fadeIn(function(){jQuery("div.mainCampaign div.slides").not(jQuery(this)).hide();jQuery(this).css("z-index","10");animationRunning=false})}}};activateTab(0);jQuery("li#commentToolBarItem").append(jQuery(".fb_comments_count"));jQuery(".fbComment").click(function(i){i.preventDefault();jQuery(".addAComment").show();return false});if(jQuery(".mainCampaign ul.menu").length>0){if(!jQuery(".mainCampaign").hasClass("news")){}jQuery(".mainCampaign").height(jQuery(".mainCampaign div.slides:first img").attr("height"));jQuery(".mainCampaign ul.menu li").width(980/jQuery(".mainCampaign ul.menu li").length)}if(jQuery(".stageArticle").length>0){jQuery(".stageArticle").height(jQuery(".stageArticle img").height());jQuery(".stageArticle span.centerer").height(jQuery(".stageArticle img").height())}if(jQuery("div.landingPage").length>0){jQuery("div.topHeader").remove()}if((jQuery("div#tabs").length>0)){var d=jQuery("div#tabs ul.tabHead li").length;var g=parseInt(978/d,10);jQuery("div#tabs ul.tabHead li").css("width",g);jQuery("div#tabs ul.tabHead li a span").css("width",g);jQuery("div#tabs ul.tabHead li:last").css("width",g+(976-((g+1)*d)));if(jQuery("div#tabs.static").length==0){jQuery("ul.tabHead li a").click(function(){location.hash=jQuery(this).attr("href").split("-")[1];return false});if(location.hash!=""&&jQuery("div#tabs").length>0){jQuery('ul.tabHead li a[href="#tabs-'+location.hash.split("#")[1]+'"]').click()}}}jQuery("div.arrowLeft").bind("click",function(){var i=jQuery(".mainCampaign ul.menu li").index(jQuery(".mainCampaign ul.menu li.active"));activateTab(i-1)});jQuery("div.arrowRight").bind("click",function(){var i=jQuery(".mainCampaign ul.menu li").index(jQuery(".mainCampaign ul.menu li.active"));activateTab(i+1)});if(jQuery(".mainCampaign").hasClass("news")){jQuery(".mainCampaign ul.menu li").bind("click",function(k,m){var l=jQuery(".mainCampaign ul.menu li").index(jQuery(this));activateTab(l);if(m!="keepInterval"){}})}else{jQuery(".mainCampaign ul.menu li").bind("mouseover",function(k,m){var l=jQuery(".mainCampaign ul.menu li").index(jQuery(this));activateTab(l);if(m!="keepInterval"){}})}jQuery("ul.leftMenu > li").bind("click",function(i){if(jQuery(this).children("ul").children("li").length>0){if(jQuery(this).attr("class")!="leftMenuNoArrow"){jQuery("ul.leftMenu li.noArrow.active").removeClass("active");var k=i.pageX-this.offsetLeft;var l=i.pageY-this.offsetTop;if(k<25&&k>12&&l<25&&l>12){if(!jQuery(this).hasClass("open")){jQuery("ul.leftMenu li ul li").removeClass("last");jQuery("ul.leftMenu li ul li").removeClass("active");jQuery("ul.leftMenu > li").removeClass("open");jQuery("ul.leftMenu > li").removeClass("active");jQuery("ul.leftMenu > li").removeClass("opened");jQuery(this).addClass("open opened")}else{if(jQuery(this).hasClass("open opened")&&!jQuery(this).hasClass("active")){jQuery(this).removeClass("open");jQuery(this).addClass("opened active")}jQuery(this).removeClass("open")}}else{if(!jQuery(this).hasClass("open opened")){jQuery("ul.leftMenu li ul li").removeClass("last");jQuery("ul.leftMenu li ul li").removeClass("active");jQuery("ul.leftMenu > li").removeClass("open");jQuery("ul.leftMenu > li").removeClass("active");jQuery("ul.leftMenu > li").removeClass("opened");jQuery(this).addClass("open opened")}else{if(jQuery(this).find("ul li").hasClass("active last")){jQuery(this).find("ul li").removeClass("active last");jQuery("ul.leftMenu > li").removeClass("open opened");jQuery(this).addClass("opened active")}if(!jQuery(this).find("ul li").hasClass("active")){jQuery("ul.leftMenu > li").removeClass("open opened");jQuery(this).addClass("opened active")}else{jQuery(this).find("ul li.active").addClass("last")}}}}}else{jQuery("ul.leftMenu > li").removeClass("active");jQuery(this).parent().addClass("active")}});jQuery("ul.leftMenu li ul li").bind("click",function(){jQuery("ul.leftMenu li ul li").removeClass("active");jQuery(this).addClass("active");jQuery("ul.leftMenu li").removeClass("opened");jQuery(this).parent().parent().addClass("opened")});if(jQuery("#newsListFrame").length>0){jQuery("ul.leftMenu li.noArrow").bind("click",function(){jQuery(this).parent().children("li").removeClass("active");jQuery("ul.leftMenu li.open.opened").removeClass("opened");jQuery("ul.leftMenu li.open").removeClass("open");jQuery(this).addClass("active")})}jQuery("select.officeCity").change(function(i){n=jQuery(this).children("option:selected").attr("value");if(!isNaN(parseFloat(n))&&isFinite(n)){jQuery("div.office").hide();jQuery("div.office"+n.toString()).show()}});if(jQuery("ul.leftMenu > li.active.open > ul").length>0){jQuery("ul.leftMenu > li.active.open").removeClass("active").addClass("opened")}if(jQuery("ul.leftMenu > li > ul > li.selected").length>0){jQuery("ul.leftMenu > li > ul > li.selected").parent().parent().addClass("opened open");jQuery("ul.leftMenu > li > ul > li.selected").removeClass("selected").addClass("active")}slideIndex=0;if(jQuery("div.landingPage").length==0){if(jQuery(".tabRotator").hasClass("leapMethod")){jQuery(".tabRotator.leapMethod ul.slides").height(jQuery(jQuery("div.tabRotator.leapMethod ul.slides li")[slideIndex]).height()+30)}}jQuery("div.tabRotator ul.nav li a").bind("click",function(){tabRotator=jQuery(this).parent().parent().parent();slideIndex=tabRotator.find("ul.nav li").index(jQuery(this).parent());if(jQuery(this).parent().parent().parent().hasClass("leapMethod")){jQuery(this).parent().parent().parent().find("ul.slides").height(jQuery(tabRotator.find("ul.slides li")[slideIndex]).height()+30)}tabRotator.find("ul.nav li").removeClass("active");jQuery(this).parent().addClass("active");if(slideIndex==1){tabRotator.find("ul.nav li:first").removeClass("active")}scrollLimit=860*slideIndex;tabRotator.find("div.canvas ul.slides").animate({left:(-scrollLimit).toString()+"px"});tabRotator.find("div.navRight, div.navLeft").removeClass("inactive")});jQuery("div.tabRotator div.navLeft").click(function(){tabRotator=jQuery(this).parent();jQuery(this).removeClass("inactive");slideIndex-=1;if(slideIndex<0){slideIndex=tabRotator.find("ul.nav li").length-1}tabRotator.find("ul.nav li").removeClass("active");jQuery(tabRotator.find("ul.nav li")[slideIndex]).addClass("active");if(jQuery(this).parent().hasClass("leapMethod")){jQuery(this).parent().find("ul.slides").height(jQuery(tabRotator.find("ul.slides li")[slideIndex]).height()+30)}scrollLimit=860*(slideIndex);tabRotator.find("div.canvas ul.slides").animate({left:(-scrollLimit).toString()+"px"})});jQuery("div.tabRotator div.navRight").click(function(){tabRotator=jQuery(this).parent();jQuery(this).removeClass("inactive");slideIndex+=1;if(slideIndex==tabRotator.find("ul.nav li").length){slideIndex=0}if(slideIndex==1){tabRotator.find("ul.nav li:first").removeClass("active")}if(jQuery(this).parent().hasClass("leapMethod")){jQuery(this).parent().find("ul.slides").height(jQuery(tabRotator.find("ul.slides li")[slideIndex]).height()+30)}tabRotator.find("ul.nav li").removeClass("active");jQuery(tabRotator.find("ul.nav li")[slideIndex]).addClass("active");scrollLimit=860*(slideIndex);tabRotator.find("div.canvas ul.slides").animate({left:(-scrollLimit).toString()+"px"})})});function setUrlEncodedKeyAndNavigateToNewUrl(a,g){var d=window.location.search;var b=d+"&";var e=new RegExp("[?|&]"+a+"=.*?&");if(!e.test(b)){b+=a+"="+encodeURI(g)}else{b=b.replace(e,"&"+a+"="+encodeURIComponent(g)+"&")}b=ltrim(rtrim(b,"&"),"&");var c=(b.charAt(0)=="?"?b:b="?"+b);var f=window.location.toString();if(f.indexOf("?")>-1){f=f.substring(0,f.indexOf("?"))}window.location.href=f+c}function ltrim(b,a){a=a||"\\s";return b.replace(new RegExp("^["+a+"]+","g"),"")}function rtrim(b,a){a=a||"\\s";return b.replace(new RegExp("["+a+"]+$","g"),"")}function RedirectToChild(a){window.location.href=a}function equalHeight(a){tallest=0;a.each(function(){thisHeight=jQuery(this).height();if(thisHeight>tallest){tallest=thisHeight}});a.height(tallest)}function checkEnter(c,a){var b;if(c&&c.which||c.which==0){c=c;b=c.which}else{c=event;b=c.keyCode}if(b==13){document.getElementById(a).click();return false}else{return true}}function postSearch(b,a){if(a!=""){location.href="/search.aspx?q="+b+"&page=1&filter="+a}else{location.href="/search.aspx?q="+b+"&page=1"}}(function(c){var ai,av,ax,H,w,ad,C,ak,aF,a,ap=0,x={},am=[],ao=0,k={},ag=[],R=null,az=new Image,ae=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,aB=/[^\.]\.(swf)\s*$/i,af,ah=1,aD=0,at="",ar,ab,aa=false,g=c.extend(c("<div/>")[0],{prop:0}),aj=c.browser.msie&&c.browser.version<7&&!window.XMLHttpRequest,al=function(){av.hide();az.onerror=az.onload=null;R&&R.abort();ai.empty()},an=function(){if(false===x.onError(am,ap,x)){av.hide();aa=false}else{x.titleShow=false;x.width="auto";x.height="auto";ai.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');P()}},ac=function(){var b=am[ap],d,f,h,e,i,l;al();x=c.extend({},c.fn.fancybox.defaults,typeof c(b).data("fancybox")=="undefined"?x:c(b).data("fancybox"));l=x.onStart(am,ap,x);if(l===false){aa=false}else{if(typeof l=="object"){x=c.extend(x,l)}h=x.title||(b.nodeName?c(b).attr("title"):b.title)||"";if(b.nodeName&&!x.orig){x.orig=c(b).children("img:first").length?c(b).children("img:first"):c(b)}if(h===""&&x.orig&&x.titleFromAlt){h=x.orig.attr("alt")}d=x.href||(b.nodeName?c(b).attr("href"):b.href)||null;if(/^(?:javascript)/i.test(d)||d=="#"){d=null}if(x.type){f=x.type;if(!d){d=x.content}}else{if(x.content){f="html"}else{if(d){f=d.match(ae)?"image":d.match(aB)?"swf":c(b).hasClass("iframe")?"iframe":d.indexOf("#")===0?"inline":"ajax"}}}if(f){if(f=="inline"){b=d.substr(d.indexOf("#"));f=c(b).length>0?"inline":"ajax"}x.type=f;x.href=d;x.title=h;if(x.autoDimensions){if(x.type=="html"||x.type=="inline"||x.type=="ajax"){x.width="auto";x.height="auto"}else{x.autoDimensions=false}}if(x.modal){x.overlayShow=true;x.hideOnOverlayClick=false;x.hideOnContentClick=false;x.enableEscapeButton=false;x.showCloseButton=false}x.padding=parseInt(x.padding,10);x.margin=parseInt(x.margin,10);ai.css("padding",x.padding+x.margin);c(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){c(this).replaceWith(ad.children())});switch(f){case"html":ai.html(x.content);P();break;case"inline":if(c(b).parent().is("#fancybox-content")===true){aa=false;break}c('<div class="fancybox-inline-tmp" />').hide().insertBefore(c(b)).bind("fancybox-cleanup",function(){c(this).replaceWith(ad.children())}).bind("fancybox-cancel",function(){c(this).replaceWith(ai.children())});c(b).appendTo(ai);P();break;case"image":aa=false;c.fancybox.showActivity();az=new Image;az.onerror=function(){an()};az.onload=function(){aa=true;az.onerror=az.onload=null;x.width=az.width;x.height=az.height;c("<img />").attr({id:"fancybox-img",src:az.src,alt:x.title}).appendTo(ai);aq()};az.src=d;break;case"swf":x.scrolling="no";e='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+x.width+'" height="'+x.height+'"><param name="movie" value="'+d+'"></param>';i="";c.each(x.swf,function(o,m){e+='<param name="'+o+'" value="'+m+'"></param>';i+=" "+o+'="'+m+'"'});e+='<embed src="'+d+'" type="application/x-shockwave-flash" width="'+x.width+'" height="'+x.height+'"'+i+"></embed></object>";ai.html(e);P();break;case"ajax":aa=false;c.fancybox.showActivity();x.ajax.win=x.ajax.success;R=c.ajax(c.extend({},x.ajax,{url:d,data:x.ajax.data||{},error:function(m){m.status>0&&an()},success:function(p,m,o){if((typeof o=="object"?o:R).status==200){if(typeof x.ajax.win=="function"){l=x.ajax.win(d,p,m,o);if(l===false){av.hide();return}else{if(typeof l=="string"||typeof l=="object"){p=l}}}ai.html(p);P()}}}));break;case"iframe":aq()}}else{an()}}},P=function(){var b=x.width,d=x.height;b=b.toString().indexOf("%")>-1?parseInt((c(window).width()-x.margin*2)*parseFloat(b)/100,10)+"px":b=="auto"?"auto":b+"px";d=d.toString().indexOf("%")>-1?parseInt((c(window).height()-x.margin*2)*parseFloat(d)/100,10)+"px":d=="auto"?"auto":d+"px";ai.wrapInner('<div style="width:'+b+";height:"+d+";overflow: "+(x.scrolling=="auto"?"auto":x.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');x.width=ai.width();x.height=ai.height();aq()},aq=function(){var b,d;av.hide();if(H.is(":visible")&&false===k.onCleanup(ag,ao,k)){c.event.trigger("fancybox-cancel");aa=false}else{aa=true;c(ad.add(ax)).unbind();c(window).unbind("resize.fb scroll.fb");c(document).unbind("keydown.fb");H.is(":visible")&&k.titlePosition!=="outside"&&H.css("height",H.height());ag=am;ao=ap;k=x;if(k.overlayShow){ax.css({"background-color":k.overlayColor,opacity:k.overlayOpacity,cursor:k.hideOnOverlayClick?"pointer":"auto",height:c(document).height()});if(!ax.is(":visible")){aj&&c("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});ax.show()}}else{ax.hide()}ab=aC();at=k.title||"";aD=0;ak.empty().removeAttr("style").removeClass();if(k.titleShow!==false){if(c.isFunction(k.titleFormat)){b=k.titleFormat(at,ag,ao,k)}else{b=at&&at.length?k.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+at+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+k.titlePosition+'">'+at+"</div>":false}at=b;if(!(!at||at==="")){ak.addClass("fancybox-title-"+k.titlePosition).html(at).appendTo("body").show();switch(k.titlePosition){case"inside":ak.css({width:ab.width-k.padding*2,marginLeft:k.padding,marginRight:k.padding});aD=ak.outerHeight(true);ak.appendTo(w);ab.height+=aD;break;case"over":ak.css({marginLeft:k.padding,width:ab.width-k.padding*2,bottom:k.padding}).appendTo(w);break;case"float":ak.css("left",parseInt((ak.width()-ab.width-40)/2,10)*-1).appendTo(H);break;default:ak.css({width:ab.width-k.padding*2,paddingLeft:k.padding,paddingRight:k.padding}).appendTo(H)}}}ak.hide();if(H.is(":visible")){c(C.add(aF).add(a)).hide();b=H.position();ar={top:b.top,left:b.left,width:H.width(),height:H.height()};d=ar.width==ab.width&&ar.height==ab.height;ad.fadeTo(k.changeFade,0.3,function(){var e=function(){ad.html(ai.contents()).fadeTo(k.changeFade,1,au)};c.event.trigger("fancybox-change");ad.empty().removeAttr("filter").css({"border-width":k.padding,width:ab.width-k.padding*2,height:x.autoDimensions?"auto":ab.height-aD-k.padding*2});if(d){e()}else{g.prop=0;c(g).animate({prop:1},{duration:k.changeSpeed,easing:k.easingChange,step:aw,complete:e})}})}else{H.removeAttr("style");ad.css("border-width",k.padding);if(k.transitionIn=="elastic"){ar=aA();ad.html(ai.contents());H.show();if(k.opacity){ab.opacity=0}g.prop=0;c(g).animate({prop:1},{duration:k.speedIn,easing:k.easingIn,step:aw,complete:au})}else{k.titlePosition=="inside"&&aD>0&&ak.show();ad.css({width:ab.width-k.padding*2,height:x.autoDimensions?"auto":ab.height-aD-k.padding*2}).html(ai.contents());H.css(ab).fadeIn(k.transitionIn=="none"?0:k.speedIn,au)}}}},aE=function(){if(k.enableEscapeButton||k.enableKeyboardNav){c(document).bind("keydown.fb",function(b){if(b.keyCode==27&&k.enableEscapeButton){b.preventDefault();c.fancybox.close()}else{if((b.keyCode==37||b.keyCode==39)&&k.enableKeyboardNav&&b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&b.target.tagName!=="SELECT"){b.preventDefault();c.fancybox[b.keyCode==37?"prev":"next"]()}}})}if(k.showNavArrows){if(k.cyclic&&ag.length>1||ao!==0){aF.show()}if(k.cyclic&&ag.length>1||ao!=ag.length-1){a.show()}}else{aF.hide();a.hide()}},au=function(){if(!c.support.opacity){ad.get(0).style.removeAttribute("filter");H.get(0).style.removeAttribute("filter")}x.autoDimensions&&ad.css("height","auto");H.css("height","auto");at&&at.length&&ak.show();k.showCloseButton&&C.show();aE();k.hideOnContentClick&&ad.bind("click",c.fancybox.close);k.hideOnOverlayClick&&ax.bind("click",c.fancybox.close);c(window).bind("resize.fb",c.fancybox.resize);k.centerOnScroll&&c(window).bind("scroll.fb",c.fancybox.center);if(k.type=="iframe"){c('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(c.browser.msie?'allowtransparency="true""':"")+' scrolling="'+x.scrolling+'" src="'+k.href+'"></iframe>').appendTo(ad)}H.show();aa=false;c.fancybox.center();k.onComplete(ag,ao,k);var b,d;if(ag.length-1>ao){b=ag[ao+1].href;if(typeof b!=="undefined"&&b.match(ae)){d=new Image;d.src=b}}if(ao>0){b=ag[ao-1].href;if(typeof b!=="undefined"&&b.match(ae)){d=new Image;d.src=b}}},aw=function(b){var d={width:parseInt(ar.width+(ab.width-ar.width)*b,10),height:parseInt(ar.height+(ab.height-ar.height)*b,10),top:parseInt(ar.top+(ab.top-ar.top)*b,10),left:parseInt(ar.left+(ab.left-ar.left)*b,10)};if(typeof ab.opacity!=="undefined"){d.opacity=b<0.5?0.5:b}H.css(d);ad.css({width:d.width-k.padding*2,height:d.height-aD*b-k.padding*2})},ay=function(){return[c(window).width()-k.margin*2,c(window).height()-k.margin*2,c(document).scrollLeft()+k.margin,c(document).scrollTop()+k.margin]},aC=function(){var b=ay(),d={},e=k.autoScale,f=k.padding*2;d.width=k.width.toString().indexOf("%")>-1?parseInt(b[0]*parseFloat(k.width)/100,10):k.width+f;d.height=k.height.toString().indexOf("%")>-1?parseInt(b[1]*parseFloat(k.height)/100,10):k.height+f;if(e&&(d.width>b[0]||d.height>b[1])){if(x.type=="image"||x.type=="swf"){e=k.width/k.height;if(d.width>b[0]){d.width=b[0];d.height=parseInt((d.width-f)/e+f,10)}if(d.height>b[1]){d.height=b[1];d.width=parseInt((d.height-f)*e+f,10)}}else{d.width=Math.min(d.width,b[0]);d.height=Math.min(d.height,b[1])}}d.top=parseInt(Math.max(b[3]-20,b[3]+(b[1]-d.height-40)*0.5),10);d.left=parseInt(Math.max(b[2]-20,b[2]+(b[0]-d.width-40)*0.5),10);return d},aA=function(){var b=x.orig?c(x.orig):false,d={};if(b&&b.length){d=b.offset();d.top+=parseInt(b.css("paddingTop"),10)||0;d.left+=parseInt(b.css("paddingLeft"),10)||0;d.top+=parseInt(b.css("border-top-width"),10)||0;d.left+=parseInt(b.css("border-left-width"),10)||0;d.width=b.width();d.height=b.height();d={width:d.width+k.padding*2,height:d.height+k.padding*2,top:d.top-k.padding-20,left:d.left-k.padding-20}}else{b=ay();d={width:k.padding*2,height:k.padding*2,top:parseInt(b[3]+b[1]*0.5,10),left:parseInt(b[2]+b[0]*0.5,10)}}return d},aG=function(){if(av.is(":visible")){c("div",av).css("top",ah*-40+"px");ah=(ah+1)%12}else{clearInterval(af)}};c.fn.fancybox=function(b){if(!c(this).length){return this}c(this).data("fancybox",c.extend({},b,c.metadata?c(this).metadata():{})).unbind("click.fb").bind("click.fb",function(d){d.preventDefault();if(!aa){aa=true;c(this).blur();am=[];ap=0;d=c(this).attr("rel")||"";if(!d||d==""||d==="nofollow"){am.push(this)}else{am=c("a[rel="+d+"], area[rel="+d+"]");ap=am.index(this)}ac()}});return this};c.fancybox=function(b,d){var f;if(!aa){aa=true;f=typeof d!=="undefined"?d:{};am=[];ap=parseInt(f.index,10)||0;if(c.isArray(b)){for(var h=0,e=b.length;h<e;h++){if(typeof b[h]=="object"){c(b[h]).data("fancybox",c.extend({},f,b[h]))}else{b[h]=c({}).data("fancybox",c.extend({content:b[h]},f))}}am=jQuery.merge(am,b)}else{if(typeof b=="object"){c(b).data("fancybox",c.extend({},f,b))}else{b=c({}).data("fancybox",c.extend({content:b},f))}am.push(b)}if(ap>am.length||ap<0){ap=0}ac()}};c.fancybox.showActivity=function(){clearInterval(af);av.show();af=setInterval(aG,66)};c.fancybox.hideActivity=function(){av.hide()};c.fancybox.next=function(){return c.fancybox.pos(ao+1)};c.fancybox.prev=function(){return c.fancybox.pos(ao-1)};c.fancybox.pos=function(b){if(!aa){b=parseInt(b);am=ag;if(b>-1&&b<ag.length){ap=b;ac()}else{if(k.cyclic&&ag.length>1){ap=b>=ag.length?0:ag.length-1;ac()}}}};c.fancybox.cancel=function(){if(!aa){aa=true;c.event.trigger("fancybox-cancel");al();x.onCancel(am,ap,x);aa=false}};c.fancybox.close=function(){function b(){ax.fadeOut("fast");ak.empty().hide();H.hide();c.event.trigger("fancybox-cleanup");ad.empty();k.onClosed(ag,ao,k);ag=x=[];ao=ap=0;k=x={};aa=false}if(!(aa||H.is(":hidden"))){aa=true;if(k&&false===k.onCleanup(ag,ao,k)){aa=false}else{al();c(C.add(aF).add(a)).hide();c(ad.add(ax)).unbind();c(window).unbind("resize.fb scroll.fb");c(document).unbind("keydown.fb");ad.find("iframe").attr("src",aj&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");k.titlePosition!=="inside"&&ak.empty();H.stop();if(k.transitionOut=="elastic"){ar=aA();var d=H.position();ab={top:d.top,left:d.left,width:H.width(),height:H.height()};if(k.opacity){ab.opacity=1}ak.empty().hide();g.prop=1;c(g).animate({prop:0},{duration:k.speedOut,easing:k.easingOut,step:aw,complete:b})}else{H.fadeOut(k.transitionOut=="none"?0:k.speedOut,b)}}}};c.fancybox.resize=function(){ax.is(":visible")&&ax.css("height",c(document).height());c.fancybox.center(true)};c.fancybox.center=function(b){var d,e;if(!aa){e=b===true?1:0;d=ay();!e&&(H.width()>d[0]||H.height()>d[1])||H.stop().animate({top:parseInt(Math.max(d[3]-20,d[3]+(d[1]-ad.height()-40)*0.5-k.padding)),left:parseInt(Math.max(d[2]-20,d[2]+(d[0]-ad.width()-40)*0.5-k.padding))},typeof b=="number"?b:200)}};c.fancybox.init=function(){if(!c("#fancybox-wrap").length){c("body").append(ai=c('<div id="fancybox-tmp"></div>'),av=c('<div id="fancybox-loading"><div></div></div>'),ax=c('<div id="fancybox-overlay"></div>'),H=c('<div id="fancybox-wrap"></div>'));w=c('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(H);w.append(ad=c('<div id="fancybox-content"></div>'),C=c('<a id="fancybox-close"></a>'),ak=c('<div id="fancybox-title"></div>'),aF=c('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),a=c('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));C.click(c.fancybox.close);av.click(c.fancybox.cancel);aF.click(function(b){b.preventDefault();c.fancybox.prev()});a.click(function(b){b.preventDefault();c.fancybox.next()});c.fn.mousewheel&&H.bind("mousewheel.fb",function(b,d){if(aa){b.preventDefault()}else{if(c(b.target).get(0).clientHeight==0||c(b.target).get(0).scrollHeight===c(b.target).get(0).clientHeight){b.preventDefault();c.fancybox[d>0?"prev":"next"]()}}});c.support.opacity||H.addClass("fancybox-ie");if(aj){av.addClass("fancybox-ie6");H.addClass("fancybox-ie6");c('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(w)}}};c.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.8,overlayColor:"#000",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};c(document).ready(function(){c.fancybox.init()})})(jQuery);
