(function(g,l){function t(a){var b=Ja[a]={},d,e;a=a.split(/\s+/);d=0;for(e=a.length;d<e;d++)b[a[d]]=true;return b}function n(a,b,d){if(d===l&&a.nodeType===1){d="data-"+b.replace(Ca,"-$1").toLowerCase();d=a.getAttribute(d);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:c.isNumeric(d)?parseFloat(d):ab.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=l}return d}function j(a){for(var b in a)if(!(b==="data"&&c.isEmptyObject(a[b])))if(b!=="toJSON")return false;return true}
function k(a,b,d){var e=b+"defer",f=b+"queue",h=b+"mark",m=c._data(a,e);if(m&&(d==="queue"||!c._data(a,f))&&(d==="mark"||!c._data(a,h)))setTimeout(function(){if(!c._data(a,f)&&!c._data(a,h)){c.removeData(a,e,true);m.fire()}},0)}function p(){return false}function z(){return true}function K(a,b,d){b=b||0;if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===
1});if(Gb.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function F(a){var b=nb.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function N(a,b){if(!(b.nodeType!==1||!c.hasData(a))){var d,e,f;e=c._data(a);var h=c._data(b,e),m=e.events;if(m){delete h.handle;h.events={};for(d in m){e=0;for(f=m[d].length;e<f;e++)c.event.add(b,d+(m[d][e].namespace?".":"")+m[d][e].namespace,m[d][e],
m[d][e].data)}}if(h.data)h.data=c.extend({},h.data)}}function ca(a,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=a.outerHTML;else if(d==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(d==="option")b.selected=a.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue;
b.removeAttribute(c.expando)}}function S(a){return typeof a.getElementsByTagName!=="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!=="undefined"?a.querySelectorAll("*"):[]}function X(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function da(a){var b=(a.nodeName||"").toLowerCase();if(b==="input")X(a);else b!=="script"&&typeof a.getElementsByTagName!=="undefined"&&c.grep(a.getElementsByTagName("input"),X)}function la(a,b){b.src?c.ajax({url:b.src,async:false,
dataType:"script"}):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Hb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function ha(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=b==="width"?Ib:Jb,h=0,m=f.length;if(e>0){if(d!=="border")for(;h<m;h++){d||(e-=parseFloat(c.css(a,"padding"+f[h]))||0);if(d==="margin")e+=parseFloat(c.css(a,d+f[h]))||0;else e-=parseFloat(c.css(a,"border"+f[h]+"Width"))||0}return e+"px"}e=Ra(a,b,b);if(e<0||e==null)e=a.style[b]||0;e=parseFloat(e)||
0;if(d)for(;h<m;h++){e+=parseFloat(c.css(a,"padding"+f[h]))||0;if(d!=="padding")e+=parseFloat(c.css(a,"border"+f[h]+"Width"))||0;if(d==="margin")e+=parseFloat(c.css(a,d+f[h]))||0}return e+"px"}function va(a){return function(b,d){if(typeof b!=="string"){d=b;b="*"}if(c.isFunction(d))for(var e=b.toLowerCase().split(ob),f=0,h=e.length,m,r;f<h;f++){m=e[f];if(r=/^\+/.test(m))m=m.substr(1)||"*";m=a[m]=a[m]||[];m[r?"unshift":"push"](d)}}}function ga(a,b,d,e,f,h){f=f||b.dataTypes[0];h=h||{};h[f]=true;f=a[f];
for(var m=0,r=f?f.length:0,s=a===hb,y;m<r&&(s||!y);m++){y=f[m](b,d,e);if(typeof y==="string")if(!s||h[y])y=l;else{b.dataTypes.unshift(y);y=ga(a,b,d,e,y,h)}}if((s||!y)&&!h["*"])y=ga(a,b,d,e,"*",h);return y}function sa(a,b){var d,e,f=c.ajaxSettings.flatOptions||{};for(d in b)if(b[d]!==l)(f[d]?a:e||(e={}))[d]=b[d];e&&c.extend(true,a,e)}function Q(a,b,d,e){if(c.isArray(b))c.each(b,function(h,m){d||Kb.test(a)?e(a,m):Q(a+"["+(typeof m==="object"||c.isArray(m)?h:"")+"]",m,d,e)});else if(!d&&b!=null&&typeof b===
"object")for(var f in b)Q(a+"["+f+"]",b[f],d,e);else e(a,b)}function na(){try{return new g.XMLHttpRequest}catch(a){}}function ka(){setTimeout(V,0);return bb=c.now()}function V(){bb=l}function ma(a,b){var d={};c.each(pb.concat.apply([],pb.slice(0,b)),function(){d[this]=a});return d}function ta(a){if(!ib[a]){var b=L.body,d=c("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){if(!Ba){Ba=L.createElement("iframe");Ba.frameBorder=Ba.width=Ba.height=0}b.appendChild(Ba);if(!Sa||!Ba.createElement){Sa=
(Ba.contentWindow||Ba.contentDocument).document;Sa.write((L.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");Sa.close()}d=Sa.createElement(a);Sa.body.appendChild(d);e=c.css(d,"display");b.removeChild(Ba)}ib[a]=e}return ib[a]}function Da(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var L=g.document,Ta=g.navigator,Ea=g.location,c=function(){function a(){if(!b.isReady){try{L.documentElement.doScroll("left")}catch(q){setTimeout(a,1);return}b.ready()}}var b=
function(q,D){return new b.fn.init(q,D,f)},d=g.jQuery,e=g.$,f,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,m=/\S/,r=/^\s+/,s=/\s+$/,y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,J=/^[\],:{}\s]*$/,B=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,O=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,G=/(?:^|:|,)(?:\s*\[)+/g,Z=/(webkit)[ \/]([\w.]+)/,fa=/(opera)(?:.*version)?[ \/]([\w.]+)/,oa=/(msie) ([\w.]+)/,ia=/(mozilla)(?:.*? rv:([\w.]+))?/,Fa=/-([a-z]|[0-9])/ig,wa=/^-ms-/,$=function(q,D){return(D+"").toUpperCase()},
ya=Ta.userAgent,i,o,u=Object.prototype.toString,v=Object.prototype.hasOwnProperty,x=Array.prototype.push,A=Array.prototype.slice,P=String.prototype.trim,H=Array.prototype.indexOf,ba={};b.fn=b.prototype={constructor:b,init:function(q,D,I){var E;if(!q)return this;if(q.nodeType){this.context=this[0]=q;this.length=1;return this}if(q==="body"&&!D&&L.body){this.context=L;this[0]=L.body;this.selector=q;this.length=1;return this}if(typeof q==="string")if((E=q.charAt(0)==="<"&&q.charAt(q.length-1)===">"&&
q.length>=3?[null,q,null]:h.exec(q))&&(E[1]||!D))if(E[1]){I=(D=D instanceof b?D[0]:D)?D.ownerDocument||D:L;if(q=y.exec(q))if(b.isPlainObject(D)){q=[L.createElement(q[1])];b.fn.attr.call(q,D,true)}else q=[I.createElement(q[1])];else{q=b.buildFragment([E[1]],[I]);q=(q.cacheable?b.clone(q.fragment):q.fragment).childNodes}return b.merge(this,q)}else{if((D=L.getElementById(E[2]))&&D.parentNode){if(D.id!==E[2])return I.find(q);this.length=1;this[0]=D}this.context=L;this.selector=q;return this}else return!D||
D.jquery?(D||I).find(q):this.constructor(D).find(q);else if(b.isFunction(q))return I.ready(q);if(q.selector!==l){this.selector=q.selector;this.context=q.context}return b.makeArray(q,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return A.call(this,0)},get:function(q){return q==null?this.toArray():q<0?this[this.length+q]:this[q]},pushStack:function(q,D,I){var E=this.constructor();b.isArray(q)?x.apply(E,q):b.merge(E,q);E.prevObject=this;E.context=this.context;
if(D==="find")E.selector=this.selector+(this.selector?" ":"")+I;else if(D)E.selector=this.selector+"."+D+"("+I+")";return E},each:function(q,D){return b.each(this,q,D)},ready:function(q){b.bindReady();i.add(q);return this},eq:function(q){q=+q;return q===-1?this.slice(q):this.slice(q,q+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(A.apply(this,arguments),"slice",A.call(arguments).join(","))},map:function(q){return this.pushStack(b.map(this,
function(D,I){return q.call(D,I,D)}))},end:function(){return this.prevObject||this.constructor(null)},push:x,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var q,D,I,E,Y,T=arguments[0]||{},ja=1,qa=arguments.length,Ka=false;if(typeof T==="boolean"){Ka=T;T=arguments[1]||{};ja=2}if(typeof T!=="object"&&!b.isFunction(T))T={};if(qa===ja){T=this;--ja}for(;ja<qa;ja++)if((q=arguments[ja])!=null)for(D in q){I=T[D];E=q[D];if(T!==E)if(Ka&&E&&(b.isPlainObject(E)||(Y=b.isArray(E)))){if(Y){Y=
false;I=I&&b.isArray(I)?I:[]}else I=I&&b.isPlainObject(I)?I:{};T[D]=b.extend(Ka,I,E)}else if(E!==l)T[D]=E}return T};b.extend({noConflict:function(q){if(g.$===b)g.$=e;if(q&&g.jQuery===b)g.jQuery=d;return b},isReady:false,readyWait:1,holdReady:function(q){if(q)b.readyWait++;else b.ready(true)},ready:function(q){if(q===true&&!--b.readyWait||q!==true&&!b.isReady){if(!L.body)return setTimeout(b.ready,1);b.isReady=true;if(!(q!==true&&--b.readyWait>0)){i.fireWith(L,[b]);b.fn.trigger&&b(L).trigger("ready").off("ready")}}},
bindReady:function(){if(!i){i=b.Callbacks("once memory");if(L.readyState==="complete")return setTimeout(b.ready,1);if(L.addEventListener){L.addEventListener("DOMContentLoaded",o,false);g.addEventListener("load",b.ready,false)}else if(L.attachEvent){L.attachEvent("onreadystatechange",o);g.attachEvent("onload",b.ready);var q=false;try{q=g.frameElement==null}catch(D){}L.documentElement.doScroll&&q&&a()}}},isFunction:function(q){return b.type(q)==="function"},isArray:Array.isArray||function(q){return b.type(q)===
"array"},isWindow:function(q){return q&&typeof q==="object"&&"setInterval"in q},isNumeric:function(q){return!isNaN(parseFloat(q))&&isFinite(q)},type:function(q){return q==null?String(q):ba[u.call(q)]||"object"},isPlainObject:function(q){if(!q||b.type(q)!=="object"||q.nodeType||b.isWindow(q))return false;try{if(q.constructor&&!v.call(q,"constructor")&&!v.call(q.constructor.prototype,"isPrototypeOf"))return false}catch(D){return false}for(var I in q);return I===l||v.call(q,I)},isEmptyObject:function(q){for(var D in q)return false;
return true},error:function(q){throw Error(q);},parseJSON:function(q){if(typeof q!=="string"||!q)return null;q=b.trim(q);if(g.JSON&&g.JSON.parse)return g.JSON.parse(q);if(J.test(q.replace(B,"@").replace(O,"]").replace(G,"")))return(new Function("return "+q))();b.error("Invalid JSON: "+q)},parseXML:function(q){var D,I;try{if(g.DOMParser){I=new DOMParser;D=I.parseFromString(q,"text/xml")}else{D=new ActiveXObject("Microsoft.XMLDOM");D.async="false";D.loadXML(q)}}catch(E){D=l}if(!D||!D.documentElement||
D.getElementsByTagName("parsererror").length)b.error("Invalid XML: "+q);return D},noop:function(){},globalEval:function(q){if(q&&m.test(q))(g.execScript||function(D){g.eval.call(g,D)})(q)},camelCase:function(q){return q.replace(wa,"ms-").replace(Fa,$)},nodeName:function(q,D){return q.nodeName&&q.nodeName.toUpperCase()===D.toUpperCase()},each:function(q,D,I){var E,Y=0,T=q.length,ja=T===l||b.isFunction(q);if(I)if(ja)for(E in q){if(D.apply(q[E],I)===false)break}else for(;Y<T;){if(D.apply(q[Y++],I)===
false)break}else if(ja)for(E in q){if(D.call(q[E],E,q[E])===false)break}else for(;Y<T;)if(D.call(q[Y],Y,q[Y++])===false)break;return q},trim:P?function(q){return q==null?"":P.call(q)}:function(q){return q==null?"":q.toString().replace(r,"").replace(s,"")},makeArray:function(q,D){var I=D||[];if(q!=null){var E=b.type(q);q.length==null||E==="string"||E==="function"||E==="regexp"||b.isWindow(q)?x.call(I,q):b.merge(I,q)}return I},inArray:function(q,D,I){var E;if(D){if(H)return H.call(D,q,I);E=D.length;
for(I=I?I<0?Math.max(0,E+I):I:0;I<E;I++)if(I in D&&D[I]===q)return I}return-1},merge:function(q,D){var I=q.length,E=0;if(typeof D.length==="number")for(var Y=D.length;E<Y;E++)q[I++]=D[E];else for(;D[E]!==l;)q[I++]=D[E++];q.length=I;return q},grep:function(q,D,I){var E=[],Y;I=!!I;for(var T=0,ja=q.length;T<ja;T++){Y=!!D(q[T],T);I!==Y&&E.push(q[T])}return E},map:function(q,D,I){var E,Y,T=[],ja=0,qa=q.length;if(q instanceof b||qa!==l&&typeof qa==="number"&&(qa>0&&q[0]&&q[qa-1]||qa===0||b.isArray(q)))for(;ja<
qa;ja++){E=D(q[ja],ja,I);if(E!=null)T[T.length]=E}else for(Y in q){E=D(q[Y],Y,I);if(E!=null)T[T.length]=E}return T.concat.apply([],T)},guid:1,proxy:function(q,D){if(typeof D==="string"){var I=q[D];D=q;q=I}if(!b.isFunction(q))return l;var E=A.call(arguments,2);I=function(){return q.apply(D,E.concat(A.call(arguments)))};I.guid=q.guid=q.guid||I.guid||b.guid++;return I},access:function(q,D,I,E,Y,T){var ja=q.length;if(typeof D==="object"){for(var qa in D)b.access(q,qa,D[qa],E,Y,I);return q}if(I!==l){E=
!T&&E&&b.isFunction(I);for(qa=0;qa<ja;qa++)Y(q[qa],D,E?I.call(q[qa],qa,Y(q[qa],D)):I,T);return q}return ja?Y(q[0],D):l},now:function(){return(new Date).getTime()},uaMatch:function(q){q=q.toLowerCase();q=Z.exec(q)||fa.exec(q)||oa.exec(q)||q.indexOf("compatible")<0&&ia.exec(q)||[];return{browser:q[1]||"",version:q[2]||"0"}},sub:function(){function q(I,E){return new q.fn.init(I,E)}b.extend(true,q,this);q.superclass=this;q.fn=q.prototype=this();q.fn.constructor=q;q.sub=this.sub;q.fn.init=function(I,E){if(E&&
E instanceof b&&!(E instanceof q))E=q(E);return b.fn.init.call(this,I,E,D)};q.fn.init.prototype=q.fn;var D=q(L);return q},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(q,D){ba["[object "+D+"]"]=D.toLowerCase()});ya=b.uaMatch(ya);if(ya.browser){b.browser[ya.browser]=true;b.browser.version=ya.version}if(b.browser.webkit)b.browser.safari=true;if(m.test(" ")){r=/^[\s\xA0]+/;s=/[\s\xA0]+$/}f=b(L);if(L.addEventListener)o=function(){L.removeEventListener("DOMContentLoaded",
o,false);b.ready()};else if(L.attachEvent)o=function(){if(L.readyState==="complete"){L.detachEvent("onreadystatechange",o);b.ready()}};return b}(),Ja={};c.Callbacks=function(a){a=a?Ja[a]||t(a):{};var b=[],d=[],e,f,h,m,r,s=function(B){var O,G,Z,fa;O=0;for(G=B.length;O<G;O++){Z=B[O];fa=c.type(Z);if(fa==="array")s(Z);else if(fa==="function")if(!a.unique||!J.has(Z))b.push(Z)}},y=function(B,O){O=O||[];e=!a.memory||[B,O];f=true;r=h||0;h=0;for(m=b.length;b&&r<m;r++)if(b[r].apply(B,O)===false&&a.stopOnFalse){e=
true;break}f=false;if(b)if(a.once)if(e===true)J.disable();else b=[];else if(d&&d.length){e=d.shift();J.fireWith(e[0],e[1])}},J={add:function(){if(b){var B=b.length;s(arguments);if(f)m=b.length;else if(e&&e!==true){h=B;y(e[0],e[1])}}return this},remove:function(){if(b)for(var B=arguments,O=0,G=B.length;O<G;O++)for(var Z=0;Z<b.length;Z++)if(B[O]===b[Z]){if(f)if(Z<=m){m--;Z<=r&&r--}b.splice(Z--,1);if(a.unique)break}return this},has:function(B){if(b)for(var O=0,G=b.length;O<G;O++)if(B===b[O])return true;
return false},empty:function(){b=[];return this},disable:function(){b=d=e=l;return this},disabled:function(){return!b},lock:function(){d=l;if(!e||e===true)J.disable();return this},locked:function(){return!d},fireWith:function(B,O){if(d)if(f)a.once||d.push([B,O]);else a.once&&e||y(B,O);return this},fire:function(){J.fireWith(this,arguments);return this},fired:function(){return!!e}};return J};var La=[].slice;c.extend({Deferred:function(a){var b=c.Callbacks("once memory"),d=c.Callbacks("once memory"),
e=c.Callbacks("memory"),f="pending",h={resolve:b,reject:d,notify:e},m={done:b.add,fail:d.add,progress:e.add,state:function(){return f},isResolved:b.fired,isRejected:d.fired,then:function(y,J,B){r.done(y).fail(J).progress(B);return this},always:function(){r.done.apply(r,arguments).fail.apply(r,arguments);return this},pipe:function(y,J,B){return c.Deferred(function(O){c.each({done:[y,"resolve"],fail:[J,"reject"],progress:[B,"notify"]},function(G,Z){var fa=Z[0],oa=Z[1],ia;if(c.isFunction(fa))r[G](function(){if((ia=
fa.apply(this,arguments))&&c.isFunction(ia.promise))ia.promise().then(O.resolve,O.reject,O.notify);else O[oa+"With"](this===r?O:this,[ia])});else r[G](O[oa])})}).promise()},promise:function(y){if(y==null)y=m;else for(var J in m)y[J]=m[J];return y}},r=m.promise({}),s;for(s in h){r[s]=h[s].fire;r[s+"With"]=h[s].fireWith}r.done(function(){f="resolved"},d.disable,e.lock).fail(function(){f="rejected"},b.disable,e.lock);a&&a.call(r,r);return r},when:function(a){function b(J){return function(B){e[J]=arguments.length>
1?La.call(arguments,0):B;--r||s.resolveWith(s,e)}}function d(J){return function(B){m[J]=arguments.length>1?La.call(arguments,0):B;s.notifyWith(y,m)}}var e=La.call(arguments,0),f=0,h=e.length,m=Array(h),r=h,s=h<=1&&a&&c.isFunction(a.promise)?a:c.Deferred(),y=s.promise();if(h>1){for(;f<h;f++)if(e[f]&&e[f].promise&&c.isFunction(e[f].promise))e[f].promise().then(b(f),s.reject,d(f));else--r;r||s.resolveWith(s,e)}else if(s!==a)s.resolveWith(s,h?[a]:[]);return y}});c.support=function(){var a,b,d,e,f,h,m,
r,s=L.createElement("div");s.setAttribute("className","t");s.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";b=s.getElementsByTagName("*");d=s.getElementsByTagName("a")[0];if(!b||!b.length||!d)return{};e=L.createElement("select");f=e.appendChild(L.createElement("option"));b=s.getElementsByTagName("input")[0];a={leadingWhitespace:s.firstChild.nodeType===3,tbody:!s.getElementsByTagName("tbody").length,htmlSerialize:!!s.getElementsByTagName("link").length,
style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:b.value==="on",optSelected:f.selected,getSetAttribute:s.className!=="t",enctype:!!L.createElement("form").enctype,html5Clone:L.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,
reliableMarginRight:true};b.checked=true;a.noCloneChecked=b.cloneNode(true).checked;e.disabled=true;a.optDisabled=!f.disabled;try{delete s.test}catch(y){a.deleteExpando=false}if(!s.addEventListener&&s.attachEvent&&s.fireEvent){s.attachEvent("onclick",function(){a.noCloneEvent=false});s.cloneNode(true).fireEvent("onclick")}b=L.createElement("input");b.value="t";b.setAttribute("type","radio");a.radioValue=b.value==="t";b.setAttribute("checked","checked");s.appendChild(b);d=L.createDocumentFragment();
d.appendChild(s.lastChild);a.checkClone=d.cloneNode(true).cloneNode(true).lastChild.checked;a.appendChecked=b.checked;d.removeChild(b);d.appendChild(s);s.innerHTML="";if(g.getComputedStyle){b=L.createElement("div");b.style.width="0";b.style.marginRight="0";s.style.width="2px";s.appendChild(b);a.reliableMarginRight=(parseInt((g.getComputedStyle(b,null)||{marginRight:0}).marginRight,10)||0)===0}if(s.attachEvent)for(m in{submit:1,change:1,focusin:1}){b="on"+m;r=b in s;if(!r){s.setAttribute(b,"return;");
r=typeof s[b]==="function"}a[m+"Bubbles"]=r}d.removeChild(s);d=e=f=b=s=b=null;c(function(){var J,B,O,G,Z=L.getElementsByTagName("body")[0];if(Z){J=L.createElement("div");J.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";Z.insertBefore(J,Z.firstChild);s=L.createElement("div");J.appendChild(s);s.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";h=s.getElementsByTagName("td");r=h[0].offsetHeight===0;h[0].style.display=
"";h[1].style.display="none";a.reliableHiddenOffsets=r&&h[0].offsetHeight===0;s.innerHTML="";s.style.width=s.style.paddingLeft="1px";c.boxModel=a.boxModel=s.offsetWidth===2;if(typeof s.style.zoom!=="undefined"){s.style.display="inline";s.style.zoom=1;a.inlineBlockNeedsLayout=s.offsetWidth===2;s.style.display="";s.innerHTML="<div style='width:4px;'></div>";a.shrinkWrapBlocks=s.offsetWidth!==2}s.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;";
s.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";B=s.firstChild;O=B.firstChild;G={doesNotAddBorder:O.offsetTop!==5,doesAddBorderForTableAndCells:B.nextSibling.firstChild.firstChild.offsetTop===5};O.style.position="fixed";O.style.top="20px";G.fixedPosition=
O.offsetTop===20||O.offsetTop===15;O.style.position=O.style.top="";B.style.overflow="hidden";B.style.position="relative";G.subtractsBorderForOverflowNotVisible=O.offsetTop===-5;G.doesNotIncludeMarginInBodyOffset=Z.offsetTop!==1;Z.removeChild(J);s=null;c.extend(a,G)}});return a}();var ab=/^(?:\{.*\}|\[.*\])$/,Ca=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=
a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!j(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f;f=c.expando;var h=typeof b==="string",m=a.nodeType,r=m?c.cache:a,s=m?a[f]:a[f]&&f,y=b==="events";if(!((!s||!r[s]||!y&&!e&&!r[s].data)&&h&&d===l)){if(!s)if(m)a[f]=s=++c.uuid;else s=f;if(!r[s]){r[s]={};if(!m)r[s].toJSON=c.noop}if(typeof b==="object"||typeof b==="function")if(e)r[s]=c.extend(r[s],b);else r[s].data=c.extend(r[s].data,b);f=a=r[s];if(!e){if(!a.data)a.data={};a=a.data}if(d!==
l)a[c.camelCase(b)]=d;if(y&&!a[b])return f.events;if(h){d=a[b];if(d==null)d=a[c.camelCase(b)]}else d=a;return d}}},removeData:function(a,b,d){if(c.acceptData(a)){var e,f,h,m=c.expando,r=a.nodeType,s=r?c.cache:a,y=r?a[m]:m;if(s[y]){if(b)if(e=d?s[y]:s[y].data){if(!c.isArray(b))if(b in e)b=[b];else{b=c.camelCase(b);b=b in e?[b]:b.split(" ")}f=0;for(h=b.length;f<h;f++)delete e[b[f]];if(!(d?j:c.isEmptyObject)(e))return}if(!d){delete s[y].data;if(!j(s[y]))return}if(c.support.deleteExpando||!s.setInterval)delete s[y];
else s[y]=null;if(r)if(c.support.deleteExpando)delete a[m];else if(a.removeAttribute)a.removeAttribute(m);else a[m]=null}}},_data:function(a,b,d){return c.data(a,b,d,true)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d,e,f,h=null;if(typeof a==="undefined"){if(this.length){h=c.data(this[0]);if(this[0].nodeType===1&&!c._data(this[0],"parsedAttrs")){e=this[0].attributes;
for(var m=0,r=e.length;m<r;m++){f=e[m].name;if(f.indexOf("data-")===0){f=c.camelCase(f.substring(5));n(this[0],f,h[f])}}c._data(this[0],"parsedAttrs",true)}}return h}else if(typeof a==="object")return this.each(function(){c.data(this,a)});d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===l){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(h===l&&this.length){h=c.data(this[0],a);h=n(this[0],a,h)}return h===l&&d[1]?this.data(d[0]):h}else return this.each(function(){var s=c(this),y=[d[0],b];s.triggerHandler("setData"+
d[1]+"!",y);c.data(this,a,b);s.triggerHandler("changeData"+d[1]+"!",y)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){if(a){b=(b||"fx")+"mark";c._data(a,b,(c._data(a,b)||0)+1)}},_unmark:function(a,b,d){if(a!==true){d=b;b=a;a=false}if(b){d=d||"fx";var e=d+"mark";if(a=a?0:(c._data(b,e)||1)-1)c._data(b,e,a);else{c.removeData(b,e,true);k(b,d,"mark")}}},queue:function(a,b,d){var e;if(a){b=(b||"fx")+"queue";e=c._data(a,b);if(d)if(!e||c.isArray(d))e=
c._data(a,b,c.makeArray(d));else e.push(d);return e||[]}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift(),f={};if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");c._data(a,b+".run",f);e.call(a,function(){c.dequeue(a,b)},f)}if(!d.length){c.removeData(a,b+"queue "+b+".run",true);k(a,b,"queue")}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===l)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!==
"inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;return this.queue(b||"fx",function(d,e){var f=setTimeout(d,a);e.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function b(){--h||d.resolveWith(e,[e])}if(typeof a!=="string")a=l;a=a||"fx";var d=c.Deferred(),e=this,f=e.length,h=1,m=a+"defer",r=a+"queue";a+="mark";for(var s;f--;)if(s=c.data(e[f],
m,l,true)||(c.data(e[f],r,l,true)||c.data(e[f],a,l,true))&&c.data(e[f],m,c.Callbacks("once memory"),true)){h++;s.add(b)}b();return d.promise()}});var Ma=/[\n\t\r]/g,ua=/\s+/,Za=/\r/g,cb=/^(?:button|input)$/i,W=/^(?:button|input|object|select|textarea)$/i,w=/^a(?:rea)?$/i,C=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,M=c.support.getSetAttribute,R,U,ea;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},
removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,true,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=l;delete this[a]}catch(b){}})},addClass:function(a){var b,d,e,f,h,m,r;if(c.isFunction(a))return this.each(function(s){c(this).addClass(a.call(this,s,this.className))});if(a&&typeof a==="string"){b=a.split(ua);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1)if(!f.className&&b.length===
1)f.className=a;else{h=" "+f.className+" ";m=0;for(r=b.length;m<r;m++)~h.indexOf(" "+b[m]+" ")||(h+=b[m]+" ");f.className=c.trim(h)}}}return this},removeClass:function(a){var b,d,e,f,h,m,r;if(c.isFunction(a))return this.each(function(s){c(this).removeClass(a.call(this,s,this.className))});if(a&&typeof a==="string"||a===l){b=(a||"").split(ua);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1&&f.className)if(a){h=(" "+f.className+" ").replace(Ma," ");m=0;for(r=b.length;m<r;m++)h=h.replace(" "+
b[m]+" "," ");f.className=c.trim(h)}else f.className=""}}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){c(this).toggleClass(a.call(this,f,this.className,b),b)});return this.each(function(){if(d==="string")for(var f,h=0,m=c(this),r=b,s=a.split(ua);f=s[h++];){r=e?r:!m.hasClass(f);m[r?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c._data(this,"__className__",this.className);this.className=
this.className||a===false?"":c._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(Ma," ").indexOf(a)>-1)return true;return false},val:function(a){var b,d,e,f=this[0];if(arguments.length){e=c.isFunction(a);return this.each(function(h){var m=c(this);if(this.nodeType===1){h=e?a.call(this,h,m.val()):a;if(h==null)h="";else if(typeof h==="number")h+="";else if(c.isArray(h))h=c.map(h,function(r){return r==
null?"":r+""});b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type];if(!b||!("set"in b)||b.set(this,h,"value")===l)this.value=h}})}else if(f){if((b=c.valHooks[f.nodeName.toLowerCase()]||c.valHooks[f.type])&&"get"in b&&(d=b.get(f,"value"))!==l)return d;d=f.value;return typeof d==="string"?d.replace(Za,""):d==null?"":d}}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,d,e=a.selectedIndex,f=[],h=a.options,
m=a.type==="select-one";if(e<0)return null;a=m?e:0;for(d=m?e+1:h.length;a<d;a++){b=h[a];if(b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(m)return b;f.push(b)}}if(m&&!f.length&&h.length)return c(h[e]).val();return f},set:function(a,b){var d=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),d)>=0});if(!d.length)a.selectedIndex=-1;return d}}},attrFn:{val:true,
css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){var f,h,m=a.nodeType;if(!(!a||m===3||m===8||m===2)){if(e&&b in c.attrFn)return c(a)[b](d);if(typeof a.getAttribute==="undefined")return c.prop(a,b,d);if(e=m!==1||!c.isXMLDoc(a)){b=b.toLowerCase();h=c.attrHooks[b]||(C.test(b)?U:R)}if(d!==l)if(d===null)c.removeAttr(a,b);else if(h&&"set"in h&&e&&(f=h.set(a,d,b))!==l)return f;else{a.setAttribute(b,""+d);return d}else if(h&&"get"in h&&e&&(f=h.get(a,b))!==
null)return f;else{f=a.getAttribute(b);return f===null?l:f}}},removeAttr:function(a,b){var d,e,f,h,m=0;if(b&&a.nodeType===1){e=b.toLowerCase().split(ua);for(h=e.length;m<h;m++)if(f=e[m]){d=c.propFix[f]||f;c.attr(a,f,"");a.removeAttribute(M?f:d);if(C.test(f)&&d in a)a[d]=false}}},attrHooks:{type:{set:function(a,b){if(cb.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");else if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);if(d)a.value=
d;return b}}},value:{get:function(a,b){if(R&&c.nodeName(a,"button"))return R.get(a,b);return b in a?a.value:null},set:function(a,b,d){if(R&&c.nodeName(a,"button"))return R.set(a,b,d);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,d){var e,f,h=a.nodeType;
if(!(!a||h===3||h===8||h===2)){if(h!==1||!c.isXMLDoc(a)){b=c.propFix[b]||b;f=c.propHooks[b]}return d!==l?f&&"set"in f&&(e=f.set(a,d,b))!==l?e:a[b]=d:f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):W.test(a.nodeName)||w.test(a.nodeName)&&a.href?0:l}}}});c.attrHooks.tabindex=c.propHooks.tabIndex;U={get:function(a,b){var d,e=c.prop(a,b);return e===true||typeof e!=="boolean"&&(d=a.getAttributeNode(b))&&
d.nodeValue!==false?b.toLowerCase():l},set:function(a,b,d){if(b===false)c.removeAttr(a,d);else{b=c.propFix[d]||d;if(b in a)a[b]=true;a.setAttribute(d,d.toLowerCase())}return d}};if(!M){ea={name:true,id:true};R=c.valHooks.button={get:function(a,b){var d;return(d=a.getAttributeNode(b))&&(ea[b]?d.nodeValue!=="":d.specified)?d.nodeValue:l},set:function(a,b,d){var e=a.getAttributeNode(d);if(!e){e=L.createAttribute(d);a.setAttributeNode(e)}return e.nodeValue=b+""}};c.attrHooks.tabindex.set=R.set;c.each(["width",
"height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(d,e){if(e===""){d.setAttribute(b,"auto");return e}}})});c.attrHooks.contenteditable={get:R.get,set:function(a,b,d){if(b==="")b="false";R.set(a,b,d)}}}c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(d){d=d.getAttribute(b,2);return d===null?l:d}})});if(!c.support.style)c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||
l},set:function(a,b){return a.style.cssText=""+b}};if(!c.support.optSelected)c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){return null}});if(!c.support.enctype)c.propFix.enctype="encoding";c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return a.checked=c.inArray(c(a).val(),
b)>=0}})});var aa=/^(?:textarea|input|select)$/i,pa=/^([^\.]*)?(?:\.(.+))?$/,ra=/\bhover(\.\S+)?\b/,Ga=/^key/,Ua=/^(?:mouse|contextmenu)|click/,za=/^(?:focusinfocus|focusoutblur)$/,Aa=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Va=function(a){if(a=Aa.exec(a)){a[1]=(a[1]||"").toLowerCase();a[3]=a[3]&&RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")}return a},Na=function(a){return c.event.special.hover?a:a.replace(ra,"mouseenter$1 mouseleave$1")};c.event={add:function(a,b,d,e,f){var h,m,r,s,y,J,B,O,G;if(!(a.nodeType===
3||a.nodeType===8||!b||!d||!(h=c._data(a)))){if(d.handler){B=d;d=B.handler}if(!d.guid)d.guid=c.guid++;r=h.events;if(!r)h.events=r={};m=h.handle;if(!m){h.handle=m=function(Z){return typeof c!=="undefined"&&(!Z||c.event.triggered!==Z.type)?c.event.dispatch.apply(m.elem,arguments):l};m.elem=a}b=c.trim(Na(b)).split(" ");for(h=0;h<b.length;h++){s=pa.exec(b[h])||[];y=s[1];J=(s[2]||"").split(".").sort();G=c.event.special[y]||{};y=(f?G.delegateType:G.bindType)||y;G=c.event.special[y]||{};s=c.extend({type:y,
origType:s[1],data:e,handler:d,guid:d.guid,selector:f,quick:Va(f),namespace:J.join(".")},B);O=r[y];if(!O){O=r[y]=[];O.delegateCount=0;if(!G.setup||G.setup.call(a,e,J,m)===false)if(a.addEventListener)a.addEventListener(y,m,false);else a.attachEvent&&a.attachEvent("on"+y,m)}if(G.add){G.add.call(a,s);if(!s.handler.guid)s.handler.guid=d.guid}f?O.splice(O.delegateCount++,0,s):O.push(s);c.event.global[y]=true}a=null}},global:{},remove:function(a,b,d,e,f){var h=c.hasData(a)&&c._data(a),m,r,s,y,J,B,O,G,Z,
fa;if(h&&(O=h.events)){b=c.trim(Na(b||"")).split(" ");for(m=0;m<b.length;m++){r=pa.exec(b[m])||[];s=y=r[1];r=r[2];if(s){G=c.event.special[s]||{};s=(e?G.delegateType:G.bindType)||s;Z=O[s]||[];J=Z.length;r=r?RegExp("(^|\\.)"+r.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(B=0;B<Z.length;B++){fa=Z[B];if((f||y===fa.origType)&&(!d||d.guid===fa.guid)&&(!r||r.test(fa.namespace))&&(!e||e===fa.selector||e==="**"&&fa.selector)){Z.splice(B--,1);fa.selector&&Z.delegateCount--;G.remove&&G.remove.call(a,
fa)}}if(Z.length===0&&J!==Z.length){if(!G.teardown||G.teardown.call(a,r)===false)c.removeEvent(a,s,h.handle);delete O[s]}}else for(s in O)c.event.remove(a,s+b[m],d,e,true)}if(c.isEmptyObject(O)){if(b=h.handle)b.elem=null;c.removeData(a,["events","handle"],true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(a,b,d,e){if(!(d&&(d.nodeType===3||d.nodeType===8))){var f=a.type||a,h=[],m,r,s,y,J;if(!za.test(f+c.event.triggered)){if(f.indexOf("!")>=0){f=f.slice(0,-1);m=true}if(f.indexOf(".")>=
0){h=f.split(".");f=h.shift();h.sort()}if(!((!d||c.event.customEvent[f])&&!c.event.global[f])){a=typeof a==="object"?a[c.expando]?a:new c.Event(f,a):new c.Event(f);a.type=f;a.isTrigger=true;a.exclusive=m;a.namespace=h.join(".");a.namespace_re=a.namespace?RegExp("(^|\\.)"+h.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;m=f.indexOf(":")<0?"on"+f:"";if(d){a.result=l;if(!a.target)a.target=d;b=b!=null?c.makeArray(b):[];b.unshift(a);s=c.event.special[f]||{};if(!(s.trigger&&s.trigger.apply(d,b)===false)){J=[[d,
s.bindType||f]];if(!e&&!s.noBubble&&!c.isWindow(d)){y=s.delegateType||f;h=za.test(y+f)?d:d.parentNode;for(r=null;h;h=h.parentNode){J.push([h,y]);r=h}if(r&&r===d.ownerDocument)J.push([r.defaultView||r.parentWindow||g,y])}for(r=0;r<J.length&&!a.isPropagationStopped();r++){h=J[r][0];a.type=J[r][1];(y=(c._data(h,"events")||{})[a.type]&&c._data(h,"handle"))&&y.apply(h,b);(y=m&&h[m])&&c.acceptData(h)&&y.apply(h,b)===false&&a.preventDefault()}a.type=f;if(!e&&!a.isDefaultPrevented())if((!s._default||s._default.apply(d.ownerDocument,
b)===false)&&!(f==="click"&&c.nodeName(d,"a"))&&c.acceptData(d))if(m&&d[f]&&(f!=="focus"&&f!=="blur"||a.target.offsetWidth!==0)&&!c.isWindow(d)){if(r=d[m])d[m]=null;c.event.triggered=f;d[f]();c.event.triggered=l;if(r)d[m]=r}return a.result}}else{d=c.cache;for(r in d)d[r].events&&d[r].events[f]&&c.event.trigger(a,b,d[r].handle.elem,true)}}}}},dispatch:function(a){a=c.event.fix(a||g.event);var b=(c._data(this,"events")||{})[a.type]||[],d=b.delegateCount,e=[].slice.call(arguments,0),f=!a.exclusive&&
!a.namespace,h=[],m,r,s,y,J,B,O;e[0]=a;a.delegateTarget=this;if(d&&!a.target.disabled&&!(a.button&&a.type==="click")){s=c(this);s.context=this.ownerDocument||this;for(r=a.target;r!=this;r=r.parentNode||this){J={};B=[];s[0]=r;for(m=0;m<d;m++){y=b[m];O=y.selector;if(J[O]===l){var G=J,Z=O,fa;if(y.quick){fa=y.quick;var oa=r.attributes||{};fa=(!fa[1]||r.nodeName.toLowerCase()===fa[1])&&(!fa[2]||(oa.id||{}).value===fa[2])&&(!fa[3]||fa[3].test((oa["class"]||{}).value))}else fa=s.is(O);G[Z]=fa}J[O]&&B.push(y)}B.length&&
h.push({elem:r,matches:B})}}b.length>d&&h.push({elem:this,matches:b.slice(d)});for(m=0;m<h.length&&!a.isPropagationStopped();m++){d=h[m];a.currentTarget=d.elem;for(b=0;b<d.matches.length&&!a.isImmediatePropagationStopped();b++){y=d.matches[b];if(f||!a.namespace&&!y.namespace||a.namespace_re&&a.namespace_re.test(y.namespace)){a.data=y.data;a.handleObj=y;y=((c.event.special[y.origType]||{}).handle||y.handler).apply(d.elem,e);if(y!==l){a.result=y;if(y===false){a.preventDefault();a.stopPropagation()}}}}}return a.result},
props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){if(a.which==null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var d,e,f=
b.button,h=b.fromElement;if(a.pageX==null&&b.clientX!=null){d=a.target.ownerDocument||L;e=d.documentElement;d=d.body;a.pageX=b.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e&&e.clientLeft||d&&d.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||d&&d.scrollTop||0)-(e&&e.clientTop||d&&d.clientTop||0)}if(!a.relatedTarget&&h)a.relatedTarget=h===a.target?b.toElement:h;if(!a.which&&f!==l)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(a){if(a[c.expando])return a;var b,d,e=a,f=c.event.fixHooks[a.type]||
{},h=f.props?this.props.concat(f.props):this.props;a=c.Event(e);for(b=h.length;b;){d=h[--b];a[d]=e[d]}if(!a.target)a.target=e.srcElement||L;if(a.target.nodeType===3)a.target=a.target.parentNode;if(a.metaKey===l)a.metaKey=a.ctrlKey;return f.filter?f.filter(a,e):a},special:{ready:{setup:c.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===
b)this.onbeforeunload=null}}},simulate:function(a,b,d,e){a=c.extend(new c.Event,d,{type:a,isSimulated:true,originalEvent:{}});e?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.event.handle=c.event.dispatch;c.removeEvent=L.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a,b){if(!(this instanceof c.Event))return new c.Event(a,b);if(a&&
a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?z:p}else this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=z;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=z;var a=this.originalEvent;
if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=z;this.stopPropagation()},isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(d){var e=d.relatedTarget,f=d.handleObj,h;if(!e||e!==this&&!c.contains(this,e)){d.type=f.origType;h=f.handler.apply(this,arguments);
d.type=b}return h}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:l)&&!a._submit_attached){c.event.add(a,"submit._submit",function(b){this.parentNode&&!b.isTrigger&&c.event.simulate("submit",this.parentNode,b,true)});a._submit_attached=true}})},teardown:function(){if(c.nodeName(this,"form"))return false;
c.event.remove(this,"._submit")}};if(!c.support.changeBubbles)c.event.special.change={setup:function(){if(aa.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){c.event.add(this,"propertychange._change",function(a){if(a.originalEvent.propertyName==="checked")this._just_changed=true});c.event.add(this,"click._change",function(a){if(this._just_changed&&!a.isTrigger){this._just_changed=false;c.event.simulate("change",this,a,true)}})}return false}c.event.add(this,"beforeactivate._change",
function(a){a=a.target;if(aa.test(a.nodeName)&&!a._change_attached){c.event.add(a,"change._change",function(b){this.parentNode&&!b.isSimulated&&!b.isTrigger&&c.event.simulate("change",this.parentNode,b,true)});a._change_attached=true}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"._change");return aa.test(this.nodeName)}};c.support.focusinBubbles||
c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(f){c.event.simulate(b,f.target,c.event.fix(f),true)};c.event.special[b]={setup:function(){d++===0&&L.addEventListener(a,e,true)},teardown:function(){--d===0&&L.removeEventListener(a,e,true)}}});c.fn.extend({on:function(a,b,d,e,f){var h,m;if(typeof a==="object"){if(typeof b!=="string"){d=b;b=l}for(m in a)this.on(m,b,d,a[m],f);return this}if(d==null&&e==null){e=b;d=b=l}else if(e==null)if(typeof b==="string"){e=d;d=l}else{e=d;
d=b;b=l}if(e===false)e=p;else if(!e)return this;if(f===1){h=e;e=function(r){c().off(r);return h.apply(this,arguments)};e.guid=h.guid||(h.guid=c.guid++)}return this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,d,e){return this.on.call(this,a,b,d,e,1)},off:function(a,b,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;c(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===
false||typeof b==="function"){d=b;b=l}if(d===false)d=p;return this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,d){c(this.context).on(a,this.selector,b,d);return this},die:function(a,b){c(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,d,e){return this.on(b,a,d,e)},undelegate:function(a,b,d){return arguments.length==1?this.off(a,"**"):this.off(b,a,d)},trigger:function(a,
b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,d=a.guid||c.guid++,e=0,f=function(h){var m=(c._data(this,"lastToggle"+a.guid)||0)%e;c._data(this,"lastToggle"+a.guid,m+1);h.preventDefault();return b[m].apply(this,arguments)||false};for(f.guid=d;e<b.length;)b[e++].guid=d;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.on(b,null,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true;if(Ga.test(b))c.event.fixHooks[b]=c.event.keyHooks;if(Ua.test(b))c.event.fixHooks[b]=c.event.mouseHooks});(function(){function a(i,o,u,v,x,A){x=0;for(var P=v.length;x<P;x++){var H=v[x];if(H){var ba=false;for(H=H[i];H;){if(H[e]===u){ba=v[H.sizset];break}if(H.nodeType===1&&!A){H[e]=u;H.sizset=x}if(H.nodeName.toLowerCase()===o){ba=H;break}H=H[i]}v[x]=
ba}}}function b(i,o,u,v,x,A){x=0;for(var P=v.length;x<P;x++){var H=v[x];if(H){var ba=false;for(H=H[i];H;){if(H[e]===u){ba=v[H.sizset];break}if(H.nodeType===1){if(!A){H[e]=u;H.sizset=x}if(typeof o!=="string"){if(H===o){ba=true;break}}else if(B.filter(o,[H]).length>0){ba=H;break}}H=H[i]}v[x]=ba}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e="sizcache"+(Math.random()+"").replace(".",""),f=0,h=Object.prototype.toString,
m=false,r=true,s=/\\/g,y=/\r\n/g,J=/\W/;[0,0].sort(function(){r=false;return 0});var B=function(i,o,u,v){u=u||[];var x=o=o||L;if(o.nodeType!==1&&o.nodeType!==9)return[];if(!i||typeof i!=="string")return u;var A,P,H,ba,q,D=true,I=B.isXML(o),E=[],Y=i;do{d.exec("");if(A=d.exec(Y)){Y=A[3];E.push(A[1]);if(A[2]){ba=A[3];break}}}while(A);if(E.length>1&&Z.exec(i))if(E.length===2&&G.relative[E[0]])P=ya(E[0]+E[1],o,v);else for(P=G.relative[E[0]]?[o]:B(E.shift(),o);E.length;){i=E.shift();if(G.relative[i])i+=
E.shift();P=ya(i,P,v)}else{if(!v&&E.length>1&&o.nodeType===9&&!I&&G.match.ID.test(E[0])&&!G.match.ID.test(E[E.length-1])){A=B.find(E.shift(),o,I);o=A.expr?B.filter(A.expr,A.set)[0]:A.set[0]}if(o){A=v?{expr:E.pop(),set:ia(v)}:B.find(E.pop(),E.length===1&&(E[0]==="~"||E[0]==="+")&&o.parentNode?o.parentNode:o,I);P=A.expr?B.filter(A.expr,A.set):A.set;if(E.length>0)H=ia(P);else D=false;for(;E.length;){A=q=E.pop();if(G.relative[q])A=E.pop();else q="";if(A==null)A=o;G.relative[q](H,A,I)}}else H=[]}H||(H=
P);H||B.error(q||i);if(h.call(H)==="[object Array]")if(D)if(o&&o.nodeType===1)for(i=0;H[i]!=null;i++){if(H[i]&&(H[i]===true||H[i].nodeType===1&&B.contains(o,H[i])))u.push(P[i])}else for(i=0;H[i]!=null;i++)H[i]&&H[i].nodeType===1&&u.push(P[i]);else u.push.apply(u,H);else ia(H,u);if(ba){B(ba,x,u,v);B.uniqueSort(u)}return u};B.uniqueSort=function(i){if(wa){m=r;i.sort(wa);if(m)for(var o=1;o<i.length;o++)i[o]===i[o-1]&&i.splice(o--,1)}return i};B.matches=function(i,o){return B(i,null,null,o)};B.matchesSelector=
function(i,o){return B(o,null,null,[i]).length>0};B.find=function(i,o,u){var v,x,A,P,H,ba;if(!i)return[];x=0;for(A=G.order.length;x<A;x++){H=G.order[x];if(P=G.leftMatch[H].exec(i)){ba=P[1];P.splice(1,1);if(ba.substr(ba.length-1)!=="\\"){P[1]=(P[1]||"").replace(s,"");v=G.find[H](P,o,u);if(v!=null){i=i.replace(G.match[H],"");break}}}}v||(v=typeof o.getElementsByTagName!=="undefined"?o.getElementsByTagName("*"):[]);return{set:v,expr:i}};B.filter=function(i,o,u,v){for(var x,A,P,H,ba,q,D,I,E=i,Y=[],T=
o,ja=o&&o[0]&&B.isXML(o[0]);i&&o.length;){for(P in G.filter)if((x=G.leftMatch[P].exec(i))!=null&&x[2]){q=G.filter[P];ba=x[1];A=false;x.splice(1,1);if(ba.substr(ba.length-1)!=="\\"){if(T===Y)Y=[];if(G.preFilter[P])if(x=G.preFilter[P](x,T,u,Y,v,ja)){if(x===true)continue}else A=H=true;if(x)for(D=0;(ba=T[D])!=null;D++)if(ba){H=q(ba,x,D,T);I=v^H;if(u&&H!=null)if(I)A=true;else T[D]=false;else if(I){Y.push(ba);A=true}}if(H!==l){u||(T=Y);i=i.replace(G.match[P],"");if(!A)return[];break}}}if(i===E)if(A==null)B.error(i);
else break;E=i}return T};B.error=function(i){throw Error("Syntax error, unrecognized expression: "+i);};var O=B.getText=function(i){var o,u;o=i.nodeType;var v="";if(o)if(o===1||o===9)if(typeof i.textContent==="string")return i.textContent;else if(typeof i.innerText==="string")return i.innerText.replace(y,"");else for(i=i.firstChild;i;i=i.nextSibling)v+=O(i);else{if(o===3||o===4)return i.nodeValue}else for(o=0;u=i[o];o++)if(u.nodeType!==8)v+=O(u);return v},G=B.selectors={order:["ID","NAME","TAG"],
match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(i){return i.getAttribute("href")},type:function(i){return i.getAttribute("type")}},relative:{"+":function(i,o){var u=typeof o==="string",v=u&&!J.test(o);u=u&&!v;if(v)o=o.toLowerCase();v=0;for(var x=i.length,A;v<x;v++)if(A=i[v]){for(;(A=A.previousSibling)&&A.nodeType!==1;);i[v]=u||A&&A.nodeName.toLowerCase()===o?A||false:A===o}u&&B.filter(o,i,true)},">":function(i,o){var u,v=typeof o==="string",x=0,A=i.length;if(v&&
!J.test(o))for(o=o.toLowerCase();x<A;x++){if(u=i[x]){u=u.parentNode;i[x]=u.nodeName.toLowerCase()===o?u:false}}else{for(;x<A;x++)if(u=i[x])i[x]=v?u.parentNode:u.parentNode===o;v&&B.filter(o,i,true)}},"":function(i,o,u){var v,x=f++,A=b;if(typeof o==="string"&&!J.test(o)){v=o=o.toLowerCase();A=a}A("parentNode",o,x,i,v,u)},"~":function(i,o,u){var v,x=f++,A=b;if(typeof o==="string"&&!J.test(o)){v=o=o.toLowerCase();A=a}A("previousSibling",o,x,i,v,u)}},find:{ID:function(i,o,u){if(typeof o.getElementById!==
"undefined"&&!u)return(i=o.getElementById(i[1]))&&i.parentNode?[i]:[]},NAME:function(i,o){if(typeof o.getElementsByName!=="undefined"){for(var u=[],v=o.getElementsByName(i[1]),x=0,A=v.length;x<A;x++)v[x].getAttribute("name")===i[1]&&u.push(v[x]);return u.length===0?null:u}},TAG:function(i,o){if(typeof o.getElementsByTagName!=="undefined")return o.getElementsByTagName(i[1])}},preFilter:{CLASS:function(i,o,u,v,x,A){i=" "+i[1].replace(s,"")+" ";if(A)return i;A=0;for(var P;(P=o[A])!=null;A++)if(P)if(x^
(P.className&&(" "+P.className+" ").replace(/[\t\n\r]/g," ").indexOf(i)>=0))u||v.push(P);else if(u)o[A]=false;return false},ID:function(i){return i[1].replace(s,"")},TAG:function(i){return i[1].replace(s,"").toLowerCase()},CHILD:function(i){if(i[1]==="nth"){i[2]||B.error(i[0]);i[2]=i[2].replace(/^\+|\s*/g,"");var o=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&"0n+"+i[2]||i[2]);i[2]=o[1]+(o[2]||1)-0;i[3]=o[3]-0}else i[2]&&B.error(i[0]);i[0]=f++;return i},
ATTR:function(i,o,u,v,x,A){o=i[1]=i[1].replace(s,"");if(!A&&G.attrMap[o])i[1]=G.attrMap[o];i[4]=(i[4]||i[5]||"").replace(s,"");if(i[2]==="~=")i[4]=" "+i[4]+" ";return i},PSEUDO:function(i,o,u,v,x){if(i[1]==="not")if((d.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=B(i[3],null,null,o);else{i=B.filter(i[3],o,u,true^x);u||v.push.apply(v,i);return false}else if(G.match.POS.test(i[0])||G.match.CHILD.test(i[0]))return true;return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===
false&&i.type!=="hidden"},disabled:function(i){return i.disabled===true},checked:function(i){return i.checked===true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},empty:function(i){return!i.firstChild},has:function(i,o,u){return!!B(u[3],i).length},header:function(i){return/h\d/i.test(i.nodeName)},text:function(i){var o=i.getAttribute("type"),u=i.type;return i.nodeName.toLowerCase()==="input"&&"text"===u&&(o===u||o===null)},radio:function(i){return i.nodeName.toLowerCase()===
"input"&&"radio"===i.type},checkbox:function(i){return i.nodeName.toLowerCase()==="input"&&"checkbox"===i.type},file:function(i){return i.nodeName.toLowerCase()==="input"&&"file"===i.type},password:function(i){return i.nodeName.toLowerCase()==="input"&&"password"===i.type},submit:function(i){var o=i.nodeName.toLowerCase();return(o==="input"||o==="button")&&"submit"===i.type},image:function(i){return i.nodeName.toLowerCase()==="input"&&"image"===i.type},reset:function(i){var o=i.nodeName.toLowerCase();
return(o==="input"||o==="button")&&"reset"===i.type},button:function(i){var o=i.nodeName.toLowerCase();return o==="input"&&"button"===i.type||o==="button"},input:function(i){return/input|select|textarea|button/i.test(i.nodeName)},focus:function(i){return i===i.ownerDocument.activeElement}},setFilters:{first:function(i,o){return o===0},last:function(i,o,u,v){return o===v.length-1},even:function(i,o){return o%2===0},odd:function(i,o){return o%2===1},lt:function(i,o,u){return o<u[3]-0},gt:function(i,
o,u){return o>u[3]-0},nth:function(i,o,u){return u[3]-0===o},eq:function(i,o,u){return u[3]-0===o}},filter:{PSEUDO:function(i,o,u,v){var x=o[1],A=G.filters[x];if(A)return A(i,u,o,v);else if(x==="contains")return(i.textContent||i.innerText||O([i])||"").indexOf(o[3])>=0;else if(x==="not"){o=o[3];u=0;for(v=o.length;u<v;u++)if(o[u]===i)return false;return true}else B.error(x)},CHILD:function(i,o){var u,v,x,A,P,H;u=o[1];H=i;switch(u){case "only":case "first":for(;H=H.previousSibling;)if(H.nodeType===1)return false;
if(u==="first")return true;H=i;case "last":for(;H=H.nextSibling;)if(H.nodeType===1)return false;return true;case "nth":u=o[2];v=o[3];if(u===1&&v===0)return true;x=o[0];if((A=i.parentNode)&&(A[e]!==x||!i.nodeIndex)){P=0;for(H=A.firstChild;H;H=H.nextSibling)if(H.nodeType===1)H.nodeIndex=++P;A[e]=x}H=i.nodeIndex-v;return u===0?H===0:H%u===0&&H/u>=0}},ID:function(i,o){return i.nodeType===1&&i.getAttribute("id")===o},TAG:function(i,o){return o==="*"&&i.nodeType===1||!!i.nodeName&&i.nodeName.toLowerCase()===
o},CLASS:function(i,o){return(" "+(i.className||i.getAttribute("class"))+" ").indexOf(o)>-1},ATTR:function(i,o){var u=o[1];u=B.attr?B.attr(i,u):G.attrHandle[u]?G.attrHandle[u](i):i[u]!=null?i[u]:i.getAttribute(u);var v=u+"",x=o[2],A=o[4];return u==null?x==="!=":!x&&B.attr?u!=null:x==="="?v===A:x==="*="?v.indexOf(A)>=0:x==="~="?(" "+v+" ").indexOf(A)>=0:!A?v&&u!==false:x==="!="?v!==A:x==="^="?v.indexOf(A)===0:x==="$="?v.substr(v.length-A.length)===A:x==="|="?v===A||v.substr(0,A.length+1)===A+"-":false},
POS:function(i,o,u,v){var x=G.setFilters[o[2]];if(x)return x(i,u,o,v)}}},Z=G.match.POS,fa=function(i,o){return"\\"+(o-0+1)},oa;for(oa in G.match){G.match[oa]=RegExp(G.match[oa].source+/(?![^\[]*\])(?![^\(]*\))/.source);G.leftMatch[oa]=RegExp(/(^(?:.|\r|\n)*?)/.source+G.match[oa].source.replace(/\\(\d+)/g,fa))}var ia=function(i,o){i=Array.prototype.slice.call(i,0);if(o){o.push.apply(o,i);return o}return i};try{Array.prototype.slice.call(L.documentElement.childNodes,0)}catch(Fa){ia=function(i,o){var u=
0,v=o||[];if(h.call(i)==="[object Array]")Array.prototype.push.apply(v,i);else if(typeof i.length==="number")for(var x=i.length;u<x;u++)v.push(i[u]);else for(;i[u];u++)v.push(i[u]);return v}}var wa,$;if(L.documentElement.compareDocumentPosition)wa=function(i,o){if(i===o){m=true;return 0}if(!i.compareDocumentPosition||!o.compareDocumentPosition)return i.compareDocumentPosition?-1:1;return i.compareDocumentPosition(o)&4?-1:1};else{wa=function(i,o){if(i===o){m=true;return 0}else if(i.sourceIndex&&o.sourceIndex)return i.sourceIndex-
o.sourceIndex;var u,v,x=[],A=[];u=i.parentNode;v=o.parentNode;var P=u;if(u===v)return $(i,o);else if(u){if(!v)return 1}else return-1;for(;P;){x.unshift(P);P=P.parentNode}for(P=v;P;){A.unshift(P);P=P.parentNode}u=x.length;v=A.length;for(P=0;P<u&&P<v;P++)if(x[P]!==A[P])return $(x[P],A[P]);return P===u?$(i,A[P],-1):$(x[P],o,1)};$=function(i,o,u){if(i===o)return u;for(i=i.nextSibling;i;){if(i===o)return-1;i=i.nextSibling}return 1}}(function(){var i=L.createElement("div"),o="script"+(new Date).getTime(),
u=L.documentElement;i.innerHTML="<a name='"+o+"'/>";u.insertBefore(i,u.firstChild);if(L.getElementById(o)){G.find.ID=function(v,x,A){if(typeof x.getElementById!=="undefined"&&!A)return(x=x.getElementById(v[1]))?x.id===v[1]||typeof x.getAttributeNode!=="undefined"&&x.getAttributeNode("id").nodeValue===v[1]?[x]:l:[]};G.filter.ID=function(v,x){var A=typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id");return v.nodeType===1&&A&&A.nodeValue===x}}u.removeChild(i);u=i=null})();(function(){var i=
L.createElement("div");i.appendChild(L.createComment(""));if(i.getElementsByTagName("*").length>0)G.find.TAG=function(o,u){var v=u.getElementsByTagName(o[1]);if(o[1]==="*"){for(var x=[],A=0;v[A];A++)v[A].nodeType===1&&x.push(v[A]);v=x}return v};i.innerHTML="<a href='#'></a>";if(i.firstChild&&typeof i.firstChild.getAttribute!=="undefined"&&i.firstChild.getAttribute("href")!=="#")G.attrHandle.href=function(o){return o.getAttribute("href",2)};i=null})();L.querySelectorAll&&function(){var i=B,o=L.createElement("div");
o.innerHTML="<p class='TEST'></p>";if(!(o.querySelectorAll&&o.querySelectorAll(".TEST").length===0)){B=function(v,x,A,P){x=x||L;if(!P&&!B.isXML(x)){var H=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(v);if(H&&(x.nodeType===1||x.nodeType===9))if(H[1])return ia(x.getElementsByTagName(v),A);else if(H[2]&&G.find.CLASS&&x.getElementsByClassName)return ia(x.getElementsByClassName(H[2]),A);if(x.nodeType===9){if(v==="body"&&x.body)return ia([x.body],A);else if(H&&H[3]){var ba=x.getElementById(H[3]);if(ba&&ba.parentNode){if(ba.id===
H[3])return ia([ba],A)}else return ia([],A)}try{return ia(x.querySelectorAll(v),A)}catch(q){}}else if(x.nodeType===1&&x.nodeName.toLowerCase()!=="object"){H=x;var D=(ba=x.getAttribute("id"))||"__sizzle__",I=x.parentNode,E=/^\s*[+~]/.test(v);if(ba)D=D.replace(/'/g,"\\$&");else x.setAttribute("id",D);if(E&&I)x=x.parentNode;try{if(!E||I)return ia(x.querySelectorAll("[id='"+D+"'] "+v),A)}catch(Y){}finally{ba||H.removeAttribute("id")}}}return i(v,x,A,P)};for(var u in i)B[u]=i[u];o=null}}();(function(){var i=
L.documentElement,o=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.msMatchesSelector;if(o){var u=!o.call(L.createElement("div"),"div"),v=false;try{o.call(L.documentElement,"[test!='']:sizzle")}catch(x){v=true}B.matchesSelector=function(A,P){P=P.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!B.isXML(A))try{if(v||!G.match.PSEUDO.test(P)&&!/!=/.test(P)){var H=o.call(A,P);if(H||!u||A.document&&A.document.nodeType!==11)return H}}catch(ba){}return B(P,null,null,[A]).length>0}}})();(function(){var i=
L.createElement("div");i.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!i.getElementsByClassName||i.getElementsByClassName("e").length===0)){i.lastChild.className="e";if(i.getElementsByClassName("e").length!==1){G.order.splice(1,0,"CLASS");G.find.CLASS=function(o,u,v){if(typeof u.getElementsByClassName!=="undefined"&&!v)return u.getElementsByClassName(o[1])};i=null}}})();B.contains=L.documentElement.contains?function(i,o){return i!==o&&(i.contains?i.contains(o):true)}:L.documentElement.compareDocumentPosition?
function(i,o){return!!(i.compareDocumentPosition(o)&16)}:function(){return false};B.isXML=function(i){return(i=(i?i.ownerDocument||i:0).documentElement)?i.nodeName!=="HTML":false};var ya=function(i,o,u){var v,x=[],A="";for(o=o.nodeType?[o]:o;v=G.match.PSEUDO.exec(i);){A+=v[0];i=i.replace(G.match.PSEUDO,"")}i=G.relative[i]?i+"*":i;v=0;for(var P=o.length;v<P;v++)B(i,o[v],x,u);return B.filter(A,x)};B.attr=c.attr;B.selectors.attrMap={};c.find=B;c.expr=B.selectors;c.expr[":"]=c.expr.filters;c.unique=B.uniqueSort;
c.text=B.getText;c.isXMLDoc=B.isXML;c.contains=B.contains})();var Lb=/Until$/,Mb=/^(?:parents|prevUntil|prevAll)/,Nb=/,/,Gb=/^.[^:#\[\.,]*$/,Ob=Array.prototype.slice,qb=c.expr.match.POS,Pb={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){var b=this,d,e;if(typeof a!=="string")return c(a).filter(function(){d=0;for(e=b.length;d<e;d++)if(c.contains(b[d],this))return true});var f=this.pushStack("","find",a),h,m,r;d=0;for(e=this.length;d<e;d++){h=f.length;c.find(a,this[d],
f);if(d>0)for(m=h;m<f.length;m++)for(r=0;r<h;r++)if(f[r]===f[m]){f.splice(m--,1);break}}return f},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(K(this,a,false),"not",a)},filter:function(a){return this.pushStack(K(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?qb.test(a)?c(a,this.context).index(this[0])>=0:c.filter(a,this).length>0:this.filter(a).length>
0)},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){for(f=1;h&&h.ownerDocument&&h!==b;){for(e=0;e<a.length;e++)c(h).is(a[e])&&d.push({selector:a[e],elem:h,level:f});h=h.parentNode;f++}return d}var m=qb.test(a)||typeof a!=="string"?c(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(m?m.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b||h.nodeType===11)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,
"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a==="string")return c.inArray(this[0],c(a));return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});
c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",
d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Lb.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1&&!Pb[a]?c.unique(f):f;if((this.length>1||Nb.test(e))&&Mb.test(a))f=f.reverse();return this.pushStack(f,a,Ob.call(arguments).join(","))}});
c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===l||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var nb="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
Qb=/ jQuery\d+="(?:\d+|null)"/g,jb=/^\s+/,rb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,sb=/<([\w:]+)/,Rb=/<tbody/i,Sb=/<|&#?\w+;/,Tb=/<(?:script|style)/i,Ub=/<(?:script|object|embed|option|style)/i,tb=RegExp("<(?:"+nb+")","i"),ub=/checked\s*(?:[^=]|=\s*.checked.)/i,Vb=/\/(java|ecma)script/i,Hb=/^\s*<!(?:\[CDATA\[|\-\-)/,xa={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,"",""]},vb=F(L);xa.optgroup=xa.option;xa.tbody=xa.tfoot=xa.colgroup=xa.caption=xa.thead;xa.th=xa.td;if(!c.support.htmlSerialize)xa._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==l)return this.empty().append((this[0]&&
this[0].ownerDocument||L).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});
return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===
1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,
"after",arguments);a.push.apply(a,c.clean(arguments));return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==
null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===l)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Qb,""):null;else if(typeof a==="string"&&!Tb.test(a)&&(c.support.leadingWhitespace||!jb.test(a))&&!xa[(sb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(rb,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",
a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,m=a[0],r=[];if(!c.support.checkClone&&arguments.length===3&&typeof m==="string"&&ub.test(m))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(m))return this.each(function(J){var B=c(this);a[0]=m.call(this,J,b?B.html():l);B.domManip(a,b,d)});if(this[0]){e=m&&m.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,
r);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var s=this.length,y=s-1;f<s;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],e.cacheable||s>1&&f<y?c.clone(h,true,true):h)}r.length&&c.each(r,la)}return this}});c.buildFragment=function(a,b,d){var e,f,h,m,r=a[0];if(b&&b[0])m=b[0].ownerDocument||b[0];m.createDocumentFragment||(m=
L);if(a.length===1&&typeof r==="string"&&r.length<512&&m===L&&r.charAt(0)==="<"&&!Ub.test(r)&&(c.support.checkClone||!ub.test(r))&&(c.support.html5Clone||!tb.test(r))){f=true;if((h=c.fragments[r])&&h!==1)e=h}if(!e){e=m.createDocumentFragment();c.clean(a,m,e,d)}if(f)c.fragments[r]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=
this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var m=(f>0?this.clone(true):this).get();c(d[f])[b](m);e=e.concat(m)}return this.pushStack(e,a,d.selector)}}});c.extend({clone:function(a,b,d){var e,f,h;if(c.support.html5Clone||!tb.test("<"+a.nodeName))e=a.cloneNode(true);else{e=L.createElement("div");vb.appendChild(e);e.innerHTML=a.outerHTML;e=e.firstChild}var m=e;if((!c.support.noCloneEvent||
!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){ca(a,m);e=S(a);f=S(m);for(h=0;e[h];++h)f[h]&&ca(e[h],f[h])}if(b){N(a,m);if(d){e=S(a);f=S(m);for(h=0;e[h];++h)N(e[h],f[h])}}return m},clean:function(a,b,d,e){b=b||L;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||L;for(var f=[],h,m=0,r;(r=a[m])!=null;m++){if(typeof r==="number")r+="";if(r){if(typeof r==="string")if(Sb.test(r)){r=r.replace(rb,"<$1></$2>");h=(sb.exec(r)||["",""])[1].toLowerCase();
var s=xa[h]||xa._default,y=s[0],J=b.createElement("div");b===L?vb.appendChild(J):F(b).appendChild(J);for(J.innerHTML=s[1]+r+s[2];y--;)J=J.lastChild;if(!c.support.tbody){y=Rb.test(r);s=h==="table"&&!y?J.firstChild&&J.firstChild.childNodes:s[1]==="<table>"&&!y?J.childNodes:[];for(h=s.length-1;h>=0;--h)c.nodeName(s[h],"tbody")&&!s[h].childNodes.length&&s[h].parentNode.removeChild(s[h])}!c.support.leadingWhitespace&&jb.test(r)&&J.insertBefore(b.createTextNode(jb.exec(r)[0]),J.firstChild);r=J.childNodes}else r=
b.createTextNode(r);var B;if(!c.support.appendChecked)if(r[0]&&typeof(B=r.length)==="number")for(h=0;h<B;h++)da(r[h]);else da(r);if(r.nodeType)f.push(r);else f=c.merge(f,r)}}if(d){a=function(O){return!O.type||Vb.test(O.type)};for(m=0;f[m];m++)if(e&&c.nodeName(f[m],"script")&&(!f[m].type||f[m].type.toLowerCase()==="text/javascript"))e.push(f[m].parentNode?f[m].parentNode.removeChild(f[m]):f[m]);else{if(f[m].nodeType===1){b=c.grep(f[m].getElementsByTagName("script"),a);f.splice.apply(f,[m+1,0].concat(b))}d.appendChild(f[m])}}return f},
cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,m=0,r;(r=a[m])!=null;m++)if(!(r.nodeName&&c.noData[r.nodeName.toLowerCase()]))if(d=r[c.expando]){if((b=e[d])&&b.events){for(var s in b.events)f[s]?c.event.remove(r,s):c.removeEvent(r,s,b.handle);if(b.handle)b.handle.elem=null}if(h)delete r[c.expando];else r.removeAttribute&&r.removeAttribute(c.expando);delete e[d]}}});var kb=/alpha\([^)]*\)/i,Wb=/opacity=([^)]*)/,Xb=/([A-Z]|^ms)/g,wb=/^-?\d+(?:px)?$/i,Yb=/^-?\d/,
Zb=/^([\-+])=([\-+.\de]+)/,$b={position:"absolute",visibility:"hidden",display:"block"},Ib=["Left","Right"],Jb=["Top","Bottom"],Ra,xb,yb;c.fn.css=function(a,b){if(arguments.length===2&&b===l)return this;return c.access(this,a,b,true,function(d,e,f){return f!==l?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=Ra(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,
widows:true,zIndex:true,zoom:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),m=a.style,r=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==l){e=typeof d;if(e==="string"&&(f=Zb.exec(d))){d=+(f[1]+1)*+f[2]+parseFloat(c.css(a,b));e="number"}if(!(d==null||e==="number"&&isNaN(d))){if(e==="number"&&!c.cssNumber[h])d+="px";if(!r||!("set"in r)||(d=r.set(a,d))!==l)try{m[b]=d}catch(s){}}}else{if(r&&
"get"in r&&(f=r.get(a,false,e))!==l)return f;return m[b]}}},css:function(a,b,d){var e,f;b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;if(b==="cssFloat")b="float";if(f&&"get"in f&&(e=f.get(a,true,d))!==l)return e;else if(Ra)return Ra(a,b)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)return ha(d,b,f);
else c.swap(d,$b,function(){h=ha(d,b,f)});return h}},set:function(d,e){if(wb.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return Wb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style,e=a.currentStyle,f=c.isNumeric(b)?"alpha(opacity="+b*100+")":"",h=e&&e.filter||d.filter||"";d.zoom=1;if(b>=1&&c.trim(h.replace(kb,""))===""){d.removeAttribute("filter");
if(e&&!e.filter)return}d.filter=kb.test(h)?h.replace(kb,f):h+" "+f}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},function(){d=b?Ra(a,"margin-right","marginRight"):a.style.marginRight});return d}}});if(L.defaultView&&L.defaultView.getComputedStyle)xb=function(a,b){var d,e,f;b=b.replace(Xb,"-$1").toLowerCase();if((e=a.ownerDocument.defaultView)&&(f=e.getComputedStyle(a,null))){d=f.getPropertyValue(b);if(d===""&&!c.contains(a.ownerDocument.documentElement,
a))d=c.style(a,b)}return d};if(L.documentElement.currentStyle)yb=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(f===null&&h&&(d=h[b]))f=d;if(!wb.test(f)&&Yb.test(f)){d=h.left;if(e=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;if(e)a.runtimeStyle.left=e}return f===""?"auto":f};Ra=xb||yb;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===
0&&b===0||!c.support.reliableHiddenOffsets&&(a.style&&a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var ac=/%20/g,Kb=/\[\]$/,zb=/\r?\n/g,bc=/#.*$/,cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dc=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ec=/^(?:GET|HEAD)$/,fc=/^\/\//,Ab=/\?/,gc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,hc=/^(?:select|textarea)/i,ob=/\s+/,
ic=/([?&])_=[^&]*/,Bb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Cb=c.fn.load,hb={},Db={},Oa,Pa,Eb=["*/"]+["*"];try{Oa=Ea.href}catch(qc){Oa=L.createElement("a");Oa.href="";Oa=Oa.href}Pa=Bb.exec(Oa.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Cb)return Cb.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=l}else if(typeof b==="object"){b=c.param(b,
c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(m,r,s){s=m.responseText;if(m.isResolved()){m.done(function(y){s=y});h.html(f?c("<div>").append(s.replace(gc,"")).find(f):s)}d&&h.each(d,[s,r,m])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||
hc.test(this.nodeName)||dc.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e.replace(zb,"\r\n")}}):{name:b.name,value:d.replace(zb,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.on(b,d)}});c.each(["get","post"],function(a,b){c[b]=function(d,e,f,h){if(c.isFunction(e)){h=h||f;f=e;e=l}return c.ajax({type:b,url:d,data:e,
success:f,dataType:h})}});c.extend({getScript:function(a,b){return c.get(a,l,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){if(b)sa(a,c.ajaxSettings);else{b=a;a=c.ajaxSettings}sa(a,b);return a},ajaxSettings:{url:Oa,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(Pa[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",
json:"application/json, text/javascript","*":Eb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":g.String,"text html":true,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:va(hb),ajaxTransport:va(Db),ajax:function(a,b){function d(o,u,v,x){if(ia!==2){ia=2;fa&&clearTimeout(fa);Z=l;O=x||"";$.readyState=o>0?4:0;var A,P,H;x=u;if(v){var ba=e,q=$,D=ba.contents,I=ba.dataTypes,E=ba.responseFields,
Y,T,ja,qa;for(T in E)if(T in v)q[E[T]]=v[T];for(;I[0]==="*";){I.shift();if(Y===l)Y=ba.mimeType||q.getResponseHeader("content-type")}if(Y)for(T in D)if(D[T]&&D[T].test(Y)){I.unshift(T);break}if(I[0]in v)ja=I[0];else{for(T in v){if(!I[0]||ba.converters[T+" "+I[0]]){ja=T;break}qa||(qa=T)}ja=ja||qa}if(ja){ja!==I[0]&&I.unshift(ja);v=v[ja]}else v=void 0}else v=l;if(o>=200&&o<300||o===304){if(e.ifModified){if(Y=$.getResponseHeader("Last-Modified"))c.lastModified[y]=Y;if(Y=$.getResponseHeader("Etag"))c.etag[y]=
Y}if(o===304){x="notmodified";A=true}else try{Y=e;if(Y.dataFilter)v=Y.dataFilter(v,Y.dataType);var Ka=Y.dataTypes;T={};var $a,db,jc=Ka.length,eb,Ha=Ka[0],Wa,lb,Ia,Qa,Xa;for($a=1;$a<jc;$a++){if($a===1)for(db in Y.converters)if(typeof db==="string")T[db.toLowerCase()]=Y.converters[db];Wa=Ha;Ha=Ka[$a];if(Ha==="*")Ha=Wa;else if(Wa!=="*"&&Wa!==Ha){lb=Wa+" "+Ha;Ia=T[lb]||T["* "+Ha];if(!Ia){Xa=l;for(Qa in T){eb=Qa.split(" ");if(eb[0]===Wa||eb[0]==="*")if(Xa=T[eb[1]+" "+Ha]){Qa=T[Qa];if(Qa===true)Ia=Xa;else if(Xa===
true)Ia=Qa;break}}}Ia||Xa||c.error("No conversion from "+lb.replace(" "," to "));if(Ia!==true)v=Ia?Ia(v):Xa(Qa(v))}}P=v;x="success";A=true}catch(kc){x="parsererror";H=kc}}else{H=x;if(!x||o){x="error";if(o<0)o=0}}$.status=o;$.statusText=""+(u||x);A?m.resolveWith(f,[P,x,$]):m.rejectWith(f,[$,x,H]);$.statusCode(s);s=l;if(Fa)h.trigger("ajax"+(A?"Success":"Error"),[$,e,A?P:H]);r.fireWith(f,[$,x]);if(Fa){h.trigger("ajaxComplete",[$,e]);--c.active||c.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=
a;a=l}b=b||{};var e=c.ajaxSetup({},b),f=e.context||e,h=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,m=c.Deferred(),r=c.Callbacks("once memory"),s=e.statusCode||{},y,J={},B={},O,G,Z,fa,oa,ia=0,Fa,wa,$={readyState:0,setRequestHeader:function(o,u){if(!ia){var v=o.toLowerCase();o=B[v]=B[v]||o;J[o]=u}return this},getAllResponseHeaders:function(){return ia===2?O:null},getResponseHeader:function(o){var u;if(ia===2){if(!G)for(G={};u=cc.exec(O);)G[u[1].toLowerCase()]=u[2];u=G[o.toLowerCase()]}return u===
l?null:u},overrideMimeType:function(o){if(!ia)e.mimeType=o;return this},abort:function(o){o=o||"abort";Z&&Z.abort(o);d(0,o);return this}};m.promise($);$.success=$.done;$.error=$.fail;$.complete=r.add;$.statusCode=function(o){if(o){var u;if(ia<2)for(u in o)s[u]=[s[u],o[u]];else{u=o[$.status];$.then(u,u)}}return this};e.url=((a||e.url)+"").replace(bc,"").replace(fc,Pa[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(ob);if(e.crossDomain==null){oa=Bb.exec(e.url.toLowerCase());e.crossDomain=
!!(oa&&(oa[1]!=Pa[1]||oa[2]!=Pa[2]||(oa[3]||(oa[1]==="http:"?80:443))!=(Pa[3]||(Pa[1]==="http:"?80:443))))}if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);ga(hb,e,b,$);if(ia===2)return false;Fa=e.global;e.type=e.type.toUpperCase();e.hasContent=!ec.test(e.type);Fa&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent){if(e.data){e.url+=(Ab.test(e.url)?"&":"?")+e.data;delete e.data}y=e.url;if(e.cache===false){oa=c.now();var ya=e.url.replace(ic,"$1_="+
oa);e.url=ya+(ya===e.url?(Ab.test(e.url)?"&":"?")+"_="+oa:"")}}if(e.data&&e.hasContent&&e.contentType!==false||b.contentType)$.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){y=y||e.url;c.lastModified[y]&&$.setRequestHeader("If-Modified-Since",c.lastModified[y]);c.etag[y]&&$.setRequestHeader("If-None-Match",c.etag[y])}$.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", "+Eb+"; q=0.01":""):e.accepts["*"]);for(wa in e.headers)$.setRequestHeader(wa,
e.headers[wa]);if(e.beforeSend&&(e.beforeSend.call(f,$,e)===false||ia===2)){$.abort();return false}for(wa in{success:1,error:1,complete:1})$[wa](e[wa]);if(Z=ga(Db,e,b,$)){$.readyState=1;Fa&&h.trigger("ajaxSend",[$,e]);if(e.async&&e.timeout>0)fa=setTimeout(function(){$.abort("timeout")},e.timeout);try{ia=1;Z.send(J,d)}catch(i){if(ia<2)d(-1,i);else throw i;}}else d(-1,"No Transport");return $},param:function(a,b){var d=[],e=function(h,m){m=c.isFunction(m)?m():m;d[d.length]=encodeURIComponent(h)+"="+
encodeURIComponent(m)};if(b===l)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});else for(var f in a)Q(f,a[f],b,e);return d.join("&").replace(ac,"+")}});c.extend({active:0,lastModified:{},etag:{}});var lc=c.now(),fb=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+lc++}});c.ajaxPrefilter("json jsonp",function(a,b,d){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data===
"string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==false&&(fb.test(a.url)||b&&fb.test(a.data))){var e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,h=g[f],m=a.url,r=a.data,s="$1"+f+"$2";if(a.jsonp!==false){m=m.replace(fb,s);if(a.url===m){if(b)r=r.replace(fb,s);if(a.data===r)m+=(/\?/.test(m)?"&":"?")+a.jsonp+"="+f}}a.url=m;a.data=r;g[f]=function(y){e=[y]};d.always(function(){g[f]=h;if(e&&c.isFunction(h))g[f](e[0])});a.converters["script json"]=function(){e||c.error(f+
" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===l)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=L.head||L.getElementsByTagName("head")[0]||
L.documentElement;return{send:function(e,f){b=L.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(h,m){if(m||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;d&&b.parentNode&&d.removeChild(b);b=l;m||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){if(b)b.onload(0,1)}}}});var mb=g.ActiveXObject?function(){for(var a in Ya)Ya[a](0,1)}:false,mc=0,Ya;c.ajaxSettings.xhr=
g.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&na()))a:{try{a=new g.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:na;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),h,m;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(m in a.xhrFields)f[m]=
a.xhrFields[m];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);if(!a.crossDomain&&!d["X-Requested-With"])d["X-Requested-With"]="XMLHttpRequest";try{for(m in d)f.setRequestHeader(m,d[m])}catch(r){}f.send(a.hasContent&&a.data||null);b=function(s,y){var J,B,O,G,Z;try{if(b&&(y||f.readyState===4)){b=l;if(h){f.onreadystatechange=c.noop;mb&&delete Ya[h]}if(y)f.readyState!==4&&f.abort();else{J=f.status;O=f.getAllResponseHeaders();G={};if((Z=f.responseXML)&&Z.documentElement)G.xml=Z;G.text=
f.responseText;try{B=f.statusText}catch(fa){B=""}if(!J&&a.isLocal&&!a.crossDomain)J=G.text?200:404;else if(J===1223)J=204}}}catch(oa){y||e(-1,oa)}G&&e(J,B,G,O)};if(!a.async||f.readyState===4)b();else{h=++mc;if(mb){if(!Ya){Ya={};c(g).unload(mb)}Ya[h]=b}f.onreadystatechange=b}},abort:function(){b&&b(0,1)}}}});var ib={},Ba,Sa,nc=/^(?:toggle|show|hide)$/,oc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,gb,pb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight",
"paddingLeft","paddingRight"],["opacity"]],bb;c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(ma("show",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",ta(a.nodeName))}}for(d=0;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(b===""||b==="none")a.style.display=c._data(a,"olddisplay")||""}}return this}},hide:function(a,
b,d){if(a||a===0)return this.animate(ma("hide",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=c.css(a,"display");b!=="none"&&!c._data(a,"olddisplay")&&c._data(a,"olddisplay",b)}}for(d=0;d<e;d++)if(this[d].style)this[d].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?
"show":"hide"]()}):this.animate(ma("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){function f(){h.queue===false&&c._mark(this);var m=c.extend({},h),r=this.nodeType===1,s=r&&c(this).is(":hidden"),y,J,B,O,G;m.animatedProperties={};for(B in a){y=c.camelCase(B);if(B!==y){a[y]=a[B];delete a[B]}J=a[y];if(c.isArray(J)){m.animatedProperties[y]=J[1];J=a[y]=J[0]}else m.animatedProperties[y]=
m.specialEasing&&m.specialEasing[y]||m.easing||"swing";if(J==="hide"&&s||J==="show"&&!s)return m.complete.call(this);if(r&&(y==="height"||y==="width")){m.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(!c.support.inlineBlockNeedsLayout||ta(this.nodeName)==="inline")this.style.display="inline-block";else this.style.zoom=1}}if(m.overflow!=null)this.style.overflow="hidden";for(B in a){r=new c.fx(this,m,B);J=
a[B];if(nc.test(J))if(y=c._data(this,"toggle"+B)||(J==="toggle"?s?"show":"hide":0)){c._data(this,"toggle"+B,y==="show"?"hide":"show");r[y]()}else r[J]();else{y=oc.exec(J);O=r.cur();if(y){J=parseFloat(y[2]);G=y[3]||(c.cssNumber[B]?"":"px");if(G!=="px"){c.style(this,B,(J||1)+G);O*=(J||1)/r.cur();c.style(this,B,O+G)}if(y[1])J=(y[1]==="-="?-1:1)*J+O;r.custom(O,J,G)}else r.custom(O,J,"")}}return true}var h=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(h.complete,[false]);a=c.extend({},a);return h.queue===
false?this.each(f):this.queue(h.queue,f)},stop:function(a,b,d){if(typeof a!=="string"){d=b;b=a;a=l}if(b&&a!==false)this.queue(a||"fx",[]);return this.each(function(){function e(s,y,J){y=y[J];c.removeData(s,J,true);y.stop(d)}var f,h=false,m=c.timers,r=c._data(this);d||c._unmark(true,this);if(a==null)for(f in r)r[f]&&r[f].stop&&f.indexOf(".run")===f.length-4&&e(this,r,f);else if(r[f=a+".run"]&&r[f].stop)e(this,r,f);for(f=m.length;f--;)if(m[f].elem===this&&(a==null||m[f].queue===a)){if(d)m[f](true);
else m[f].saveState();h=true;m.splice(f,1)}d&&h||c.dequeue(this,a)})}});c.each({slideDown:ma("show",1),slideUp:ma("hide",1),slideToggle:ma("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration===
"number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(f){c.isFunction(e.old)&&e.old.call(this);if(e.queue)c.dequeue(this,e.queue);else f!==false&&c._unmark(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});c.fx.prototype=
{update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(m){return f.step(m)}var f=this,h=c.fx;this.startTime=bb||ka();this.end=b;this.now=this.start=a;this.pos=this.state=0;
this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");e.queue=this.options.queue;e.elem=this.elem;e.saveState=function(){f.options.hide&&c._data(f.elem,"fxshow"+f.prop)===l&&c._data(f.elem,"fxshow"+f.prop,f.start)};if(e()&&c.timers.push(e)&&!gb)gb=setInterval(h.tick,h.interval)},show:function(){var a=c._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||c.style(this.elem,this.prop);this.options.show=true;a!==l?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop===
"height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c._data(this.elem,"fxshow"+this.prop)||c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b,d=bb||ka(),e=true,f=this.elem,h=this.options;if(a||d>=h.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();h.animatedProperties[this.prop]=true;for(b in h.animatedProperties)if(h.animatedProperties[b]!==true)e=false;if(e){h.overflow!=null&&!c.support.shrinkWrapBlocks&&
c.each(["","X","Y"],function(m,r){f.style["overflow"+r]=h.overflow[m]});h.hide&&c(f).hide();if(h.hide||h.show)for(b in h.animatedProperties){c.style(f,b,h.orig[b]);c.removeData(f,"fxshow"+b,true);c.removeData(f,"toggle"+b,true)}if(a=h.complete){h.complete=false;a.call(f)}}return false}else{if(h.duration==Infinity)this.now=d;else{a=d-this.startTime;this.state=a/h.duration;this.pos=c.easing[h.animatedProperties[this.prop]](this.state,a,0,1,h.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};
c.extend(c.fx,{tick:function(){for(var a,b=c.timers,d=0;d<b.length;d++){a=b[d];!a()&&b[d]===a&&b.splice(d--,1)}b.length||c.fx.stop()},interval:13,stop:function(){clearInterval(gb);gb=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});c.each(["width","height"],function(a,b){c.fx.step[b]=function(d){c.style(d.elem,b,Math.max(0,
d.now)+d.unit)}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var pc=/^t(?:able|d|h)$/i,Fb=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in L.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(m){c.offset.setOffset(this,a,m)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;
if(!d||!c.contains(h,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=Da(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(y){c.offset.setOffset(this,a,y)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d,e=
b.offsetParent,f=b.ownerDocument,h=f.documentElement,m=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var r=b.offsetTop,s=b.offsetLeft;(b=b.parentNode)&&b!==m&&b!==h;){if(c.support.fixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;r-=b.scrollTop;s-=b.scrollLeft;if(b===e){r+=b.offsetTop;s+=b.offsetLeft;if(c.support.doesNotAddBorder&&!(c.support.doesAddBorderForTableAndCells&&pc.test(b.nodeName))){r+=parseFloat(d.borderTopWidth)||0;s+=
parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){r+=parseFloat(d.borderTopWidth)||0;s+=parseFloat(d.borderLeftWidth)||0}}if(d.position==="relative"||d.position==="static"){r+=m.offsetTop;s+=m.offsetLeft}if(c.support.fixedPosition&&d.position==="fixed"){r+=Math.max(h.scrollTop,m.scrollTop);s+=Math.max(h.scrollLeft,m.scrollLeft)}return{top:r,left:s}};c.offset={bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;if(c.support.doesNotIncludeMarginInBodyOffset){b+=
parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),m=c.css(a,"top"),r=c.css(a,"left"),s={},y={};if((e==="absolute"||e==="fixed")&&c.inArray("auto",[m,r])>-1){y=f.position();e=y.top;r=y.left}else{e=parseFloat(m)||0;r=parseFloat(r)||0}if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)s.top=b.top-h.top+e;if(b.left!=null)s.left=b.left-h.left+
r;"using"in b?b.using.call(a,s):f.css(s)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Fb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||
L.body;a&&!Fb.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f,h;if(e===l){f=this[0];if(!f)return null;return(h=Da(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}return this.each(function(){if(h=Da(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e})}});c.each(["Height","Width"],function(a,
b){var d=b.toLowerCase();c.fn["inner"+b]=function(){var e=this[0];return e?e.style?parseFloat(c.css(e,d,"padding")):this[d]():null};c.fn["outer"+b]=function(e){var f=this[0];return f?f.style?parseFloat(c.css(f,d,e?"margin":"border")):this[d]():null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(r){var s=c(this);s[d](e.call(this,r,s[d]()))});if(c.isWindow(f)){var h=f.document.documentElement["client"+b],m=f.document.body;return f.document.compatMode===
"CSS1Compat"&&h||m&&m["client"+b]||h}else if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===l){f=c.css(f,d);h=parseFloat(f);return c.isNumeric(h)?h:f}else return this.css(d,typeof e==="string"?e:e+"px")}});g.jQuery=g.$=c;typeof define==="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window);(function(g){if(g.browser.msie){var l=g.browser.version.charAt(0);g.browser.majorVersion=Number(l);g.browser.msie6=6==l;g.browser.msie7=7==l;g.browser.msie8=8==l}var t=g.ajax;g.ajax=function(n){var j=null,k=true,p={success:function(z){if((j=z)&&z.stat)if("fail"==z.stat)switch(z.errno){case "frontend.invalid.actiontoken":location.reload(true);return;case "persona.soap.invalid.credentials":case "frontend.session.expired":case "frontend.auth.required":location.href="/login?next="+escape(location.pathname);
return}else if("redir"==z.stat){k=false;location.href=z.url;return false}if(n.success)n.context?n.success.apply(n.context,[j]):n.success(z)}};if(n.complete)p.complete=function(z,K){if(k){if("success"!=K&&this.dataType=="json")j={stat:"fail",errno:z.status,errmsg:z.responseText};n.context?n.complete.apply(n.context,[z,K,j]):n.complete(z,K,j)}};p=g.extend({},n,p);return t.apply(this,[p])};g.ajaxSetup({async:true,cache:false,type:"POST",dataType:"json"});g.decodeFixedArray=function(n){var j=n.h,k=j.length;
return g.map(n.i,function(p){for(var z={},K=k;K--;)z[j[K]]=p[K];return z})};g.fn.extend({others:function(){return this.end().not(this)},doif:function(n){return this.pushStack(n?this:[])},muiResize:function(n){return this.each(function(){var j=g(this).data("muiResize");g.isFunction(j)&&j.apply(this,[n])})},outerHTML:function(n){if(n)return this.replaceWith(n);if(this[0].outerHTML)return this[0].outerHTML;n=this[0].parentNode;var j=document.createElement(n.tagName);j.appendChild(this[0]);j=j.innerHTML;
n.appendChild(this[0]);return j},jwplayer:function(n){var j=[].slice.call(arguments,1);return this.each(function(){if(typeof n=="string"){var k=jwplayer(this);try{k[n].apply(k,j)}catch(p){}}else{jwplayer(this.id).remove();var z=this.id,K=g("<div />",{id:z}),F=g.extend({flashplayer:"/flash/player.swf?1.2",autostart:true,bufferlength:5,id:z,backcolor:"#f0f0f0",frontcolor:"#333333",stretching:"exactfit"},n),N;g(this).replaceWith(K);k=jwplayer(z);if(F.events){N=F.events;delete F.events}for(var ca in F)if(ca!=
"flashplayer")F[ca]=escape(F[ca]).replace("+","%2B");swfobject.embedSWF(F.flashplayer,z,F.width,F.height,"9.0.115","/flash/expressInstall.swf?1.2",F,{allowScriptAccess:"always",allowFullScreen:"true",scale:"noscale",bgcolor:"#F0F0F0",wmode:"transparent"},null,function(S){if(S.success)if(N)for(var X in N)k[X](N[X])})}})},mdialog:function(n,j){if("undefined"==typeof n)return this.data("history",[0]).children().filter(":gt(0)").hide().others().show().end().end();else switch(n){case "show":var k=this.data("history"),
p=k[k.length-1],z=this.children();p=z["string"==typeof p?"filter":"eq"](p);c2=z["string"==typeof j?"filter":"eq"](j);if(p.length&&c2.length&&p.get(0)!==c2.get(0)){p.hide();c2.show();k.push(j);this.data("history",k)}break;case "current":return this.children(":visible");case "back":k=this.data("history");p=k.length-1;if(p<=0)return;this.mdialog("show",k[p-1]);this.data("history",k.slice(0,p))}return this}});mvLayer={show:function(n){var j=_swGetWindowSize(),k=Math.max(0,j.height-100>>1),p=Math.max(0,
j.width-300>>1);n=g("<div />",{"class":"mv-overlay-title",text:n});var z=g("<div />",{"class":"mv-overlay-msg",text:"Please wait"});k=g("<div />",{css:{"z-index":101,width:"300px",height:"100px",top:k+"px",left:p+"px"},"class":"mv-overlay-win rounded-5"}).append(n).append(z);this.holder=g("<div />",{"class":"ui-widget-overlay",css:{"z-index":100,top:0,left:0,width:j.width+"px",height:j.height+"px",position:"absolute"}}).add(k).appendTo(document.body)},hide:function(){if("undefined"!==typeof this.holder){this.holder.remove();
delete this.holder}}}})(jQuery);(function(g){function l(t,n,j,k){if(typeof n==="string")n=t[n];return function(){var p=[].slice.call(arguments,0);return n.apply(t,k?j.concat(p):p.concat(j))}}g.delegate=function(t,n){if(arguments.length===2)return g.proxy(t,n);return l(t,n,[].slice.call(arguments,2),false)};g.delegateP=function(t,n){return l(t,n,[].slice.call(arguments,2),true)}})(jQuery);(function(g,l){function t(n){return!g(n).parents().andSelf().filter(function(){return g.curCSS(this,"visibility")==="hidden"||g.expr.filters.hidden(this)}).length}g.ui=g.ui||{};if(!g.ui.version){g.extend(g.ui,{version:"@VERSION",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}});g.fn.extend({_focus:g.fn.focus,focus:function(n,j){return typeof n==="number"?this.each(function(){var k=this;setTimeout(function(){g(k).focus();j&&j.call(k)},n)}):this._focus.apply(this,arguments)},scrollParent:function(){var n;n=g.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(g.curCSS(this,
"position",1))&&/(auto|scroll)/.test(g.curCSS(this,"overflow",1)+g.curCSS(this,"overflow-y",1)+g.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(g.curCSS(this,"overflow",1)+g.curCSS(this,"overflow-y",1)+g.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!n.length?g(document):n},zIndex:function(n){if(n!==l)return this.css("zIndex",n);if(this.length){n=g(this[0]);for(var j;n.length&&n[0]!==document;){j=n.css("position");
if(j==="absolute"||j==="relative"||j==="fixed"){j=parseInt(n.css("zIndex"),10);if(!isNaN(j)&&j!==0)return j}n=n.parent()}}return 0},disableSelection:function(){return this.bind((g.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(n){n.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});g.each(["Width","Height"],function(n,j){function k(F,N,ca,S){g.each(p,function(){N-=parseFloat(g.curCSS(F,"padding"+this,true))||0;if(ca)N-=parseFloat(g.curCSS(F,
"border"+this+"Width",true))||0;if(S)N-=parseFloat(g.curCSS(F,"margin"+this,true))||0});return N}var p=j==="Width"?["Left","Right"]:["Top","Bottom"],z=j.toLowerCase(),K={innerWidth:g.fn.innerWidth,innerHeight:g.fn.innerHeight,outerWidth:g.fn.outerWidth,outerHeight:g.fn.outerHeight};g.fn["inner"+j]=function(F){if(F===l)return K["inner"+j].call(this);return this.each(function(){g(this).css(z,k(this,F)+"px")})};g.fn["outer"+j]=function(F,N){if(typeof F!=="number")return K["outer"+j].call(this,F);return this.each(function(){g(this).css(z,
k(this,F,true,N)+"px")})}});g.extend(g.expr[":"],{data:function(n,j,k){return!!g.data(n,k[3])},focusable:function(n){var j=n.nodeName.toLowerCase(),k=g.attr(n,"tabindex");if("area"===j){j=n.parentNode;k=j.name;if(!n.href||!k||j.nodeName.toLowerCase()!=="map")return false;n=g("img[usemap=#"+k+"]")[0];return!!n&&t(n)}return(/input|select|textarea|button|object/.test(j)?!n.disabled:"a"==j?n.href||!isNaN(k):!isNaN(k))&&t(n)},tabbable:function(n){var j=g.attr(n,"tabindex");return(isNaN(j)||j>=0)&&g(n).is(":focusable")}});
g(function(){var n=document.body,j=n.appendChild(j=document.createElement("div"));g.extend(j.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});g.support.minHeight=j.offsetHeight===100;g.support.selectstart="onselectstart"in j;n.removeChild(j).style.display="none"});g.extend(g.ui,{plugin:{add:function(n,j,k){n=g.ui[n].prototype;for(var p in k){n.plugins[p]=n.plugins[p]||[];n.plugins[p].push([j,k[p]])}},call:function(n,j,k){if((j=n.plugins[j])&&n.element[0].parentNode)for(var p=0;p<j.length;p++)n.options[j[p][0]]&&
j[p][1].apply(n.element,k)}},contains:function(n,j){return document.compareDocumentPosition?n.compareDocumentPosition(j)&16:n!==j&&n.contains(j)},hasScroll:function(n,j){if(g(n).css("overflow")==="hidden")return false;var k=j&&j==="left"?"scrollLeft":"scrollTop",p=false;if(n[k]>0)return true;n[k]=1;p=n[k]>0;n[k]=0;return p},isOverAxis:function(n,j,k){return n>j&&n<j+k},isOver:function(n,j,k,p,z,K){return g.ui.isOverAxis(n,k,z)&&g.ui.isOverAxis(j,p,K)}})}})(jQuery);(function(g,l){if(g.cleanData){var t=g.cleanData;g.cleanData=function(j){for(var k=0,p;(p=j[k])!=null;k++)g(p).triggerHandler("remove");t(j)}}else{var n=g.fn.remove;g.fn.remove=function(j,k){return this.each(function(){if(!k)if(!j||g.filter(j,[this]).length)g("*",this).add([this]).each(function(){g(this).triggerHandler("remove")});return n.call(g(this),j,k)})}}g.widget=function(j,k,p){var z=j.split(".")[0],K;j=j.split(".")[1];K=z+"-"+j;if(!p){p=k;k=g.Widget}g.expr[":"][K]=function(F){return!!g.data(F,
j)};g[z]=g[z]||{};g[z][j]=function(F,N){arguments.length&&this._createWidget(F,N)};k=new k;k.options=g.extend(true,{},k.options);g[z][j].prototype=g.extend(true,k,{namespace:z,widgetName:j,widgetEventPrefix:g[z][j].prototype.widgetEventPrefix||j,widgetBaseClass:K},p);g.widget.bridge(j,g[z][j])};g.widget.bridge=function(j,k){g.fn[j]=function(p){var z=typeof p==="string",K=Array.prototype.slice.call(arguments,1),F=this;p=!z&&K.length?g.extend.apply(null,[true,p].concat(K)):p;if(z&&p.charAt(0)==="_")return F;
z?this.each(function(){var N=g.data(this,j),ca=N&&g.isFunction(N[p])?N[p].apply(N,K):N;if(ca!==N&&ca!==l){F=ca;return false}}):this.each(function(){var N=g.data(this,j);N?N.option(p||{})._init():g.data(this,j,new k(p,this))});return F}};g.Widget=function(j,k){arguments.length&&this._createWidget(j,k)};g.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(j,k){g.data(k,this.widgetName,this);this.element=g(k);this.options=g.extend(true,{},this.options,
this._getCreateOptions(),j);var p=this;this.element.bind("remove."+this.widgetName,function(){p.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return g.metadata&&g.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(j,k){var p=j;if(arguments.length===0)return g.extend({},this.options);if(typeof j==="string"){if(k===l)return this.options[j];p={};p[j]=k}this._setOptions(p);return this},_setOptions:function(j){var k=this;g.each(j,function(p,z){k._setOption(p,z)});return this},_setOption:function(j,k){this.options[j]=k;if(j==="disabled")this.widget()[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",k);return this},
enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(j,k,p){var z=this.options[j];k=g.Event(k);k.type=(j===this.widgetEventPrefix?j:this.widgetEventPrefix+j).toLowerCase();p=p||{};if(k.originalEvent){j=g.event.props.length;for(var K;j;){K=g.event.props[--j];k[K]=k.originalEvent[K]}}this.element.trigger(k,p);return!(g.isFunction(z)&&z.call(this.element[0],k,p)===false||k.isDefaultPrevented())}}})(jQuery);(function(g){g.ui=g.ui||{};var l=/left|center|right/,t=/top|center|bottom/,n=g.fn.position,j=g.fn.offset;g.fn.position=function(k){if(!k||!k.of)return n.apply(this,arguments);k=g.extend({},k);var p=g(k.of),z=p[0],K=(k.collision||"flip").split(" "),F=k.offset?k.offset.split(" "):[0,0],N,ca,S;if(z.nodeType===9){N=p.width();ca=p.height();S={top:0,left:0}}else if(z.setTimeout){N=p.width();ca=p.height();S={top:p.scrollTop(),left:p.scrollLeft()}}else if(z.preventDefault){k.at="left top";N=ca=0;S={top:k.of.pageY,
left:k.of.pageX}}else{N=p.outerWidth();ca=p.outerHeight();S=p.offset()}g.each(["my","at"],function(){var X=(k[this]||"").split(" ");if(X.length===1)X=l.test(X[0])?X.concat(["center"]):t.test(X[0])?["center"].concat(X):["center","center"];X[0]=l.test(X[0])?X[0]:"center";X[1]=t.test(X[1])?X[1]:"center";k[this]=X});if(K.length===1)K[1]=K[0];F[0]=parseInt(F[0],10)||0;if(F.length===1)F[1]=F[0];F[1]=parseInt(F[1],10)||0;if(k.at[0]==="right")S.left+=N;else if(k.at[0]==="center")S.left+=N/2;if(k.at[1]===
"bottom")S.top+=ca;else if(k.at[1]==="center")S.top+=ca/2;S.left+=F[0];S.top+=F[1];return this.each(function(){var X=g(this),da=X.outerWidth(),la=X.outerHeight(),ha=parseInt(g.curCSS(this,"marginLeft",true))||0,va=parseInt(g.curCSS(this,"marginTop",true))||0,ga=da+ha+parseInt(g.curCSS(this,"marginRight",true))||0,sa=la+va+parseInt(g.curCSS(this,"marginBottom",true))||0,Q=g.extend({},S),na;if(k.my[0]==="right")Q.left-=da;else if(k.my[0]==="center")Q.left-=da/2;if(k.my[1]==="bottom")Q.top-=la;else if(k.my[1]===
"center")Q.top-=la/2;Q.left=Math.round(Q.left);Q.top=Math.round(Q.top);na={left:Q.left-ha,top:Q.top-va};g.each(["left","top"],function(ka,V){if(g.ui.position[K[ka]])g.ui.position[K[ka]][V](Q,{targetWidth:N,targetHeight:ca,elemWidth:da,elemHeight:la,collisionPosition:na,collisionWidth:ga,collisionHeight:sa,offset:F,my:k.my,at:k.at})});g.fn.bgiframe&&X.bgiframe();X.offset(g.extend(Q,{using:k.using}))})};g.ui.position={fit:{left:function(k,p){var z=g(window);z=p.collisionPosition.left+p.collisionWidth-
z.width()-z.scrollLeft();k.left=z>0?k.left-z:Math.max(k.left-p.collisionPosition.left,k.left)},top:function(k,p){var z=g(window);z=p.collisionPosition.top+p.collisionHeight-z.height()-z.scrollTop();k.top=z>0?k.top-z:Math.max(k.top-p.collisionPosition.top,k.top)}},flip:{left:function(k,p){if(p.at[0]!=="center"){var z=g(window);z=p.collisionPosition.left+p.collisionWidth-z.width()-z.scrollLeft();var K=p.my[0]==="left"?-p.elemWidth:p.my[0]==="right"?p.elemWidth:0,F=p.at[0]==="left"?p.targetWidth:-p.targetWidth,
N=-2*p.offset[0];k.left+=p.collisionPosition.left<0?K+F+N:z>0?K+F+N:0}},top:function(k,p){if(p.at[1]!=="center"){var z=g(window);z=p.collisionPosition.top+p.collisionHeight-z.height()-z.scrollTop();var K=p.my[1]==="top"?-p.elemHeight:p.my[1]==="bottom"?p.elemHeight:0,F=p.at[1]==="top"?p.targetHeight:-p.targetHeight,N=-2*p.offset[1];k.top+=p.collisionPosition.top<0?K+F+N:z>0?K+F+N:0}}}};if(!g.offset.setOffset){g.offset.setOffset=function(k,p){if(/static/.test(g.curCSS(k,"position")))k.style.position=
"relative";var z=g(k),K=z.offset(),F=parseInt(g.curCSS(k,"top",true),10)||0,N=parseInt(g.curCSS(k,"left",true),10)||0;K={top:p.top-K.top+F,left:p.left-K.left+N};"using"in p?p.using.call(k,K):z.css(K)};g.fn.offset=function(k){var p=this[0];if(!p||!p.ownerDocument)return null;if(k)return this.each(function(){g.offset.setOffset(this,k)});return j.call(this)}}})(jQuery);(function(g,l){var t={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},n={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};g.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(j){var k=g(this).css(j).offset().top;k<0&&
g(this).css("top",j.top-k)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var j=this,k=j.options,p=k.title||"&#160;",z=g.ui.dialog.getTitleId(j.element),K=(j.uiDialog=g("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+k.dialogClass).css({zIndex:k.zIndex}).attr("tabIndex",
-1).css("outline",0).keydown(function(ca){if(k.closeOnEscape&&ca.keyCode&&ca.keyCode===g.ui.keyCode.ESCAPE){j.close(ca);ca.preventDefault()}}).attr({role:"dialog","aria-labelledby":z}).mousedown(function(ca){j.moveToTop(false,ca)});j.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(K);var F=(j.uiDialogTitlebar=g("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(K),N=g('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role",
"button").hover(function(){N.addClass("ui-state-hover")},function(){N.removeClass("ui-state-hover")}).focus(function(){N.addClass("ui-state-focus")}).blur(function(){N.removeClass("ui-state-focus")}).click(function(ca){j.close(ca);return false}).appendTo(F);(j.uiDialogTitlebarCloseText=g("<span></span>")).addClass("ui-icon ui-icon-closethick").text(k.closeText).appendTo(N);g("<span></span>").addClass("ui-dialog-title").attr("id",z).html(p).prependTo(F);if(g.isFunction(k.beforeclose)&&!g.isFunction(k.beforeClose))k.beforeClose=
k.beforeclose;F.find("*").add(F).disableSelection();k.draggable&&g.fn.draggable&&j._makeDraggable();k.resizable&&g.fn.resizable&&j._makeResizable();j._createButtons(k.buttons);j._isOpen=false;g.fn.bgiframe&&K.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){this.overlay&&this.overlay.destroy();this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");this.uiDialog.remove();
this.originalTitle&&this.element.attr("title",this.originalTitle);return this},widget:function(){return this.uiDialog},close:function(j){var k=this,p,z;if(false!==k._trigger("beforeClose",j)){k.overlay&&k.overlay.destroy();k.uiDialog.unbind("keypress.ui-dialog");k._isOpen=false;if(k.options.hide)k.uiDialog.hide(k.options.hide,function(){k._trigger("close",j)});else{k.uiDialog.hide();k._trigger("close",j)}g.ui.dialog.overlay.resize();if(k.options.modal){p=0;g(".ui-dialog").each(function(){if(this!==
k.uiDialog[0]){z=g(this).css("z-index");isNaN(z)||(p=Math.max(p,z))}});g.ui.dialog.maxZ=p}return k}},isOpen:function(){return this._isOpen},moveToTop:function(j,k){var p=this.options;if(p.modal&&!j||!p.stack&&!p.modal)return this._trigger("focus",k);if(p.zIndex>g.ui.dialog.maxZ)g.ui.dialog.maxZ=p.zIndex;if(this.overlay){g.ui.dialog.maxZ+=1;this.overlay.$el.css("z-index",g.ui.dialog.overlay.maxZ=g.ui.dialog.maxZ)}p={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};
g.ui.dialog.maxZ+=1;this.uiDialog.css("z-index",g.ui.dialog.maxZ);this.element.attr(p);this._trigger("focus",k);return this},open:function(){if(!this._isOpen){var j=this.options,k=this.uiDialog;this.overlay=j.modal?new g.ui.dialog.overlay(this):null;this._size();this._position(j.position);k.show(j.show);this.moveToTop(true);j.modal&&k.bind("keypress.ui-dialog",function(p){if(p.keyCode===g.ui.keyCode.TAB){var z=g(":tabbable",this),K=z.filter(":first");z=z.filter(":last");if(p.target===z[0]&&!p.shiftKey){K.focus(1);
return false}else if(p.target===K[0]&&p.shiftKey){z.focus(1);return false}}});g(this.element.find(":tabbable").get().concat(k.find(".ui-dialog-buttonpane :tabbable").get().concat(k.get()))).eq(0).focus();this._isOpen=true;this._trigger("open");return this}},_createButtons:function(j){var k=this,p=false,z=g("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),K=g("<div></div>").addClass("ui-dialog-buttonset").appendTo(z);k.uiDialog.find(".ui-dialog-buttonpane").remove();
typeof j==="object"&&j!==null&&g.each(j,function(){return!(p=true)});if(p){g.each(j,function(F,N){N=g.isFunction(N)?{click:N,text:F}:N;var ca=g('<button type="button"></button>').attr(N,true).unbind("click").click(function(){N.click.apply(k.element[0],arguments)}).appendTo(K);g.fn.button&&ca.button()});z.appendTo(k.uiDialog)}},_makeDraggable:function(){function j(F){return{position:F.position,offset:F.offset}}var k=this,p=k.options,z=g(document),K;k.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",
handle:".ui-dialog-titlebar",containment:"document",start:function(F,N){K=p.height==="auto"?"auto":g(this).height();g(this).height(g(this).height()).addClass("ui-dialog-dragging");k._trigger("dragStart",F,j(N))},drag:function(F,N){k._trigger("drag",F,j(N))},stop:function(F,N){p.position=[N.position.left-z.scrollLeft(),N.position.top-z.scrollTop()];g(this).removeClass("ui-dialog-dragging").height(K);k._trigger("dragStop",F,j(N));g.ui.dialog.overlay.resize()}})},_makeResizable:function(j){function k(F){return{originalPosition:F.originalPosition,
originalSize:F.originalSize,position:F.position,size:F.size}}j=j===l?this.options.resizable:j;var p=this,z=p.options,K=p.uiDialog.css("position");j=typeof j==="string"?j:"n,e,s,w,se,sw,ne,nw";p.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:p.element,maxWidth:z.maxWidth,maxHeight:z.maxHeight,minWidth:z.minWidth,minHeight:p._minHeight(),handles:j,start:function(F,N){g(this).addClass("ui-dialog-resizing");p._trigger("resizeStart",F,k(N))},resize:function(F,N){p._trigger("resize",
F,k(N))},stop:function(F,N){g(this).removeClass("ui-dialog-resizing");z.height=g(this).height();z.width=g(this).width();p._trigger("resizeStop",F,k(N));g.ui.dialog.overlay.resize()}}).css("position",K).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var j=this.options;return j.height==="auto"?j.minHeight:Math.min(j.minHeight,j.height)},_position:function(j){var k=[],p=[0,0],z;if(j){if(typeof j==="string"||typeof j==="object"&&"0"in j){k=j.split?j.split(" "):
[j[0],j[1]];if(k.length===1)k[1]=k[0];g.each(["left","top"],function(K,F){if(+k[K]===k[K]){p[K]=k[K];k[K]=F}});j={my:k.join(" "),at:k.join(" "),offset:p.join(" ")}}j=g.extend({},g.ui.dialog.prototype.options.position,j)}else j=g.ui.dialog.prototype.options.position;(z=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(g.extend({of:window},j));z||this.uiDialog.hide()},_setOptions:function(j){var k=this,p={},z=false;g.each(j,function(K,F){k._setOption(K,F);
if(K in t)z=true;if(K in n)p[K]=F});z&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",p)},_setOption:function(j,k){var p=this.uiDialog;switch(j){case "beforeclose":j="beforeClose";break;case "buttons":this._createButtons(k);break;case "closeText":this.uiDialogTitlebarCloseText.text(""+k);break;case "dialogClass":p.removeClass(this.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+k);break;case "disabled":k?p.addClass("ui-dialog-disabled"):
p.removeClass("ui-dialog-disabled");break;case "draggable":var z=p.is(":data(draggable)");z&&!k&&p.draggable("destroy");!z&&k&&this._makeDraggable();break;case "position":this._position(k);break;case "resizable":(z=p.is(":data(resizable)"))&&!k&&p.resizable("destroy");z&&typeof k==="string"&&p.resizable("option","handles",k);!z&&k!==false&&this._makeResizable(k);break;case "title":g(".ui-dialog-title",this.uiDialogTitlebar).html(""+(k||"&#160;"))}g.Widget.prototype._setOption.apply(this,arguments)},
_size:function(){var j=this.options,k,p,z=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(j.minWidth>j.width)j.width=j.minWidth;k=this.uiDialog.css({height:"auto",width:j.width}).height();p=Math.max(0,j.minHeight-k);if(j.height==="auto")if(g.support.minHeight)this.element.css({minHeight:p,height:"auto"});else{this.uiDialog.show();j=this.element.css("height","auto").height();z||this.uiDialog.hide();this.element.height(Math.max(j,p))}else this.element.height(Math.max(j.height-
k,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});g.extend(g.ui.dialog,{version:"@VERSION",uuid:0,maxZ:0,getTitleId:function(j){j=j.attr("id");if(!j){this.uuid+=1;j=this.uuid}return"ui-dialog-title-"+j},overlay:function(j){this.$el=g.ui.dialog.overlay.create(j)}});g.extend(g.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:g.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(j){return j+".dialog-overlay"}).join(" "),
create:function(j){if(this.instances.length===0){setTimeout(function(){g.ui.dialog.overlay.instances.length&&g(document).bind(g.ui.dialog.overlay.events,function(p){if(g(p.target).zIndex()<g.ui.dialog.overlay.maxZ)return false})},1);g(document).bind("keydown.dialog-overlay",function(p){if(j.options.closeOnEscape&&p.keyCode&&p.keyCode===g.ui.keyCode.ESCAPE){j.close(p);p.preventDefault()}});g(window).bind("resize.dialog-overlay",g.ui.dialog.overlay.resize)}var k=(this.oldInstances.pop()||g("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),
height:this.height()});g.fn.bgiframe&&k.bgiframe();this.instances.push(k);return k},destroy:function(j){var k=g.inArray(j,this.instances);k!=-1&&this.oldInstances.push(this.instances.splice(k,1)[0]);this.instances.length===0&&g([document,window]).unbind(".dialog-overlay");j.remove();var p=0;g.each(this.instances,function(){p=Math.max(p,this.css("z-index"))});this.maxZ=p},height:function(){var j,k;if(g.browser.msie&&g.browser.version<7){j=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
k=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return j<k?g(window).height()+"px":j+"px"}else return g(document).height()+"px"},width:function(){var j,k;if(g.browser.msie&&g.browser.version<7){j=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);k=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return j<k?g(window).width()+"px":j+"px"}else return g(document).width()+"px"},resize:function(){var j=g([]);g.each(g.ui.dialog.overlay.instances,
function(){j=j.add(this)});j.css({width:0,height:0}).css({width:g.ui.dialog.overlay.width(),height:g.ui.dialog.overlay.height()})}});g.extend(g.ui.dialog.overlay.prototype,{destroy:function(){g.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);(function(g){g.widget("ui.mpopup",{options:{width:0,height:0,close:null},_init:function(){this.dialogized=false},open:function(){var l=this;this.element.dialog("destroy").dialog({autoOpen:true,modal:true,resizable:false,draggable:false,title:this.options.title,dialogClass:"mui-dialog",width:this.dimensions?this.dimensions.width:this.options.width||"auto",height:this.options.height||"auto",close:function(n){n.stopPropagation();try{ug2.allowKeyboardShortcuts(true)}catch(j){}try{l.options.close()}catch(k){}}}).find("> div:first").muiResize({width:this.element.width(),
height:this.element.height()}).end().find(".mpclose").unbind("click.mpopup").bind("click.mpopup",function(n){n.preventDefault();l.close()});this.dialogized=true;try{ug2.allowKeyboardShortcuts(false)}catch(t){}},destroy:function(){this.element.dialog("destroy").find(".pop_close").remove()},close:function(){return this.element.dialog("close")},resize:function(l){this.dimensions=g.extend({},this.dimensions,l);this.dialogized&&this.element.dialog("isOpen")&&this.open()}});g.ui.mpopup.getter="";mDialog=
{_dialog:null,_clear:function(){if(this._dialog){this._dialog.mpopup("destroy").remove();this._dialog=null}},_create:function(){this._dialog=g('<div id="mui-dialog"><div class="dialog-msg"/><table class="dialogbuttons"><tr><td><a href="javascript:void(0);">action</a></td></tr></table></div>').appendTo("body").hide();this._dialog.find("table").css("margin-top","15px")},_setButtons:function(l,t){if(!l||!l.join)l=["OK"];if(!t||!t.join)t=[null];this._dialog.find(".dialogbuttons").find("a:first").addClass("mpclose").text(l.shift()).mbutton({click:t.shift()}).end().find("td:gt(0)").remove();
for(var n=this._dialog.find(".dialogbuttons tr"),j=0;j<l.length;j++){var k=g("<a/>").addClass("mpclose").attr("href","javascript:void(0)").text(l[j]);g.isFunction(t[j])&&k.click(t[j]);n.append('<td class="separator">&nbsp;|&nbsp;</td>').append(g("<td/>").append(k))}},close:function(){this._clear()},message:function(l,t,n,j){this._clear();this._create();this._dialog.find(".dialog-msg").html(l).end();this._setButtons(t,n);this._dialog.mpopup({width:350,close:j}).mpopup("open")},prompt:function(l,t,
n,j,k){this._clear();this._create();l=this._dialog.find(".dialog-msg").html(l).css("float","left");var p=g('<div class="dialog-prompt" style="padding: 5px 0; clear:left;"><input type="text" class="dialog-entry default" /><div class="error" style="padding-top:5px;">&nbsp;</div></div>').insertAfter(l);p.find("input").val(t).bind("keydown keypress",function(F){F.stopPropagation()}).mtextfield().mtextfield("resize",{width:l.width()-2});if(!n||!n.join)n=["OK"];if(!j||!j.join)j=[null];var z=j.shift();this._dialog.find(".dialogbuttons").find("a:first").addClass("mpclose").text(n.shift()).mbutton({click:function(F){z(F,
p.find("input").val());p.find("input").select().focus()}}).end().find("td:gt(0)").remove();t=this._dialog.find(".dialogbuttons tr");for(l=0;l<n.length;l++){var K=g("<a/>").addClass("mpclose").attr("href","javascript:void(0)").text(n[l]);g.isFunction(j[l])&&K.click(j[l]);t.append('<td class="separator">&nbsp;|&nbsp;</td>').append(g("<td/>").append(K))}this._dialog.mpopup({close:k}).mpopup("open");p.find("input").select().focus()},setError:function(l){this._dialog&&this._dialog.find(".error").text(l)}}})(jQuery);(function(g){var l={small:"mui-button-small",big:"mui-button-big"};g.widget("ui.mbutton",{options:{size:"small"},_init:function(){this.element.addClass("mui-button").addClass(l[this.options.size]);if(this.options.click){var t=this.options.click;this.element.unbind("click").bind("click",function(n){if(!g(this).is(".ui-mbutton-disabled"))return t.apply(this,[n])})}},progress:function(t){"on"==t?this.element.addClass("ui-mbutton-disabled").prepend('<img src="http://frontend.shwup.s3.amazonaws.com/images/mbutton/spinner_6d7881-1.2.gif" class="mui-button-spinner" />'):
this.element.removeClass("ui-mbutton-disabled").find("img").remove()}});g.ui.mbutton.getter=""})(jQuery);(function(g){g.widget("ui.dpanel",{options:{classPrefix:"dp_",className:"dpanel",sizeTo:"inner",panelType:"topbottom"},_init:function(){this.dimensions=null;var l=this.options.classPrefix;if("topbottom"!=this.options.panelType){var t=this.element.wrap("<div></div>").parent().addClass(l+"main");this.supernode=t.wrap("<div></div>").parent().addClass(this.options.className)}else{t=this.element.addClass(this.options.className).css("position","relative");var n=g("> *",t);this.topbar=n.eq(0).addClass(l+
"top");this.bottombar=n.slice(1).wrapAll("<div></div>").parent().addClass(l+"bottom");this.bottomChildCount=n.length-1;this.supernode=t}this.supernode.data("muiResize",g.delegate(this,"resize"));this.border={crn_tl:g('<div class="'+l+'crn_tl"></div>').appendTo(t),crn_tr:g('<div class="'+l+'crn_tr"></div>').appendTo(t),crn_bl:g('<div class="'+l+'crn_bl"></div>').appendTo(t),crn_br:g('<div class="'+l+'crn_br"></div>').appendTo(t)}},resize:function(l){this.dimensions=l;var t=l.width,n;n=l.height?l.height-
10:this.supernode.height();if("topbottom"!=this.options.panelType){l.width&&this.supernode.width(l.width);l=this.element;l.width(t-=8)}else{n-=this.topbar.height();this.bottombar.height(n);if(1!=this.bottomChildCount)return;l=this.bottombar.children().eq(0)}l.height(n).muiResize({width:t,height:n})},size:function(){return this.dimensions}});g.ui.dpanel.getter="size"})(jQuery);(function(g){g.widget("ui.mpanel",{options:{class_prefix:"p_",sizeTo:"inner",width:-1,height:-1,padding:0},_init:function(){this.dimensions=null;var l=this.options.class_prefix,t=this.element.data("muiResize",g.delegate(this,"resize")).css("position","relative").addClass("panel").wrapInner('<div class="'+l+'content" style="position:static;"></div>').wrapInner('<div class="'+l+'padded_content" style="position:static;"></div>');this.paddedContentDiv=t.find("> ."+l+"padded_content");this.contentDiv=
this.paddedContentDiv.find("> ."+l+"content");this.border={side_top:g('<div class="'+l+"side_top "+l+'border"></div>').appendTo(t),side_right:g('<div class="'+l+"side_right "+l+'border"></div>').appendTo(t),side_bottom:g('<div class="'+l+"side_bottom "+l+'border"></div>').appendTo(t),side_left:g('<div class="'+l+"side_left "+l+'border"></div>').appendTo(t),crn_tl:g('<div class="'+l+"crn_tl "+l+'border"></div>').appendTo(t),crn_tr:g('<div class="'+l+"crn_tr "+l+'border"></div>').appendTo(t),crn_bl:g('<div class="'+
l+"crn_bl "+l+'border"></div>').appendTo(t),crn_br:g('<div class="'+l+"crn_br "+l+'border"></div>').appendTo(t)};this.resize()},resize:function(l){var t=this.element,n=this.border;if(this.options.sizeTo=="outer")this.dimensions={width:t.width(),height:t.height()};else{this.contentDiv.removeAttr("style");this.dimensions={width:this.contentDiv.innerWidth()+2*this.options.padding+n.side_left.width()+n.side_right.width(),height:this.contentDiv.innerHeight()+2*this.options.padding+n.side_top.height()+
n.side_bottom.height()}}this.dimensions=l=g.extend({},this.dimensions,l);t.width(l.width);t.height(l.height);t=n.side_top.height()|0;var j=n.side_left.width()|0,k=l.width-j-n.side_right.width();if(k<0)k=0;var p=l.height-t-n.side_bottom.height();if(p<0)p=0;if(l.width>0){n.side_top.css({left:n.crn_tl.width()+"px",width:Math.max(0,l.width-n.crn_tl.width()-n.crn_tr.width())+"px"});n.side_bottom.css({left:n.crn_bl.width()+"px",width:Math.max(0,l.width-n.crn_bl.width()-n.crn_br.width())+"px"})}if(l.height>
0){n.side_left.css({top:n.crn_tl.height()+"px",height:Math.max(0,l.height-n.crn_tl.height()-n.crn_bl.height())+"px"});n.side_right.css({top:n.crn_tr.height()+"px",height:Math.max(0,l.height-n.crn_tr.height()-n.crn_br.height())+"px"})}this.paddedContentDiv.css({position:"absolute",top:t+"px",left:j+"px",width:k+"px",height:p+"px"});this.contentDiv.css({position:"absolute",top:this.options.padding+"px",left:this.options.padding+"px",width:k-2*this.options.padding+"px",height:p-2*this.options.padding+
"px"}).find("> :first").muiResize({width:k-2*this.options.padding,height:p-2*this.options.padding})},size:function(){return this.dimensions},updatePrefix:function(l){var t=this.options.class_prefix;this.contentDiv.removeClass(t+"content").addClass(l+"content");this.paddedContentDiv.removeClass(t+"padded_content").addClass(l+"padded_content");for(var n in this.border)this.border[n].removeClass(t+n).addClass(l+n);this.options.class_prefix=l;this.resize()}});g.ui.mpanel.getter="size"})(jQuery);(function(g){g.widget("ui.mtextfield",{options:{resizeOnInit:false,leftWidth:8,rightWidth:8},_init:function(){var l=this.element;l.css("margin",0).wrap('<div class="mui-component mui-textfield"></div>').parent().prepend('<div class="side side_left" />').append('<div class="side side_right" />').find(".side").click(function(){l.get(0).focus()});this.wrapper=l.parent();l.add(this.wrapper).data("muiResize",g.delegate(this,"resize"));this.options.resizeOnInit&&this.resize({width:l.width(),height:l.height()})},
resize:function(l){var t=this.wrapper.find(".side_left"),n=this.wrapper.find(".side_right"),j=l.width-this.options.leftWidth-this.options.rightWidth;this.wrapper.width(l.width);this.element.css({width:j+"px",left:this.options.leftWidth+"px"});t.css("left",0);n.css("left",this.options.leftWidth+j+"px")},disable:function(){this.element.attr("disabled",true)},enable:function(){this.element.removeAttr("disabled")},autoComplete:function(l,t){function n(){g("li",j).hover(function(){ha.element.val(g(this).addClass(z).attr("rel"));
l.overSuggestion&&l.overSuggestion.apply(k,[g(this).data("suggestion")])},function(){g(this).removeClass(z);ha.element.val(F);l.outSuggestion&&l.outSuggestion.apply(k,[g(this).data("suggestion")])}).click(function(){var Q=g(this).data("suggestion");j.empty().hide();l.selectSuggestion&&l.selectSuggestion.apply(k,[Q])});g(document).unbind("click.muitextfield").one("click.muitextfield",function(){j.empty().hide()})}if(typeof l=="string"&&this.element.data("suggestionList")){if("zupdate"==l)this.element.data("suggestionList").css("z-index",
t);else if("hide"==l)this.element.data("suggestionList").hide();else"destroy"==l?this.element.data("suggestionList").remove():this.element.unbind(".autocomplete");return false}this.element.attr("autocomplete","off").addClass("mui-textfield-auto-complete-enabled");var j=g('<ul style="position:absolute;margin:0;" class="mui-textfield-auto-complete"></ul>');this.element.data("suggestionList",j);"undefined"!==typeof l.zIndex?j.css({top:0,left:0,"z-index":l.zIndex}).appendTo("body"):j.css({top:"21px",
left:0}).appendTo(this.wrapper);var k=this.element.get(0),p=-1,z="mui-textfield-auto-complete-selected",K="",F="",N=null,ca=null,S=l.formatSuggestion||function(Q){return Q.toString()},X=l.filter||null,da=l.cachePrefix===false?false:true,la=null,ha=this;this.element.bind("keyup.autocomplete",function(Q){var na=Q.keyCode;if(na>48&&na<90||8==na||46==na){Q.stopPropagation();p=-1;K=F;F=ha.element.val();if(l.delay){la&&clearTimeout(la);la=setTimeout(sa,l.delay)}else sa()}}).bind("keydown.autocomplete",
function(Q){var na=Q.keyCode;if(37==na||39==na||9==na){Q.stopPropagation();p=-1;j.empty().hide()}else if(27==na){Q.stopPropagation();if(p>=0)Q=g("li",j).eq(p).mouseout();p=-1;j.empty().hide();ha.element.val(F);K=F=""}else if(38==na){Q.stopPropagation();if(p>0){Q=g("li",j).eq(p--).removeClass(z).mouseout().end().eq(p).addClass(z).mouseover();(Q=Q.attr("rel"))&&ha.element.val(Q)}}else if(40==na){Q.stopPropagation();if(p<g("li",j).length-1){Q=g("li",j).eq(p++).removeClass(z).mouseout().end().eq(p).addClass(z).mouseover();
(Q=Q.attr("rel"))&&ha.element.val(Q)}}else if(13==na){Q.stopPropagation();if(p>=0){Q=g("li",j).eq(p).data("suggestion");j.empty().hide();l.selectSuggestion.apply(k,[Q])}}}).bind("click.autocomplete",function(){g(this).focus();return false});var va=function(Q,na){ca=Q;var ka=ha.wrapper.offset(),V=ka.top+21,ma=_swGetWindowSize().height-V-5;j.css({top:V+"px",left:ka.left+"px",visibility:"visible",overflow:"auto",width:ha.element.parent().width()+"px",height:"auto"});j.empty();for(var ta in Q)g("<li />").attr("rel",
"string"==typeof Q[ta]?Q[ta]:Q[ta][l.valueField]).data("suggestion",Q[ta]).append(S.apply(k,[Q[ta],na])).appendTo(j);j.height()>ma&&j.height(ma);if(Q.length){j.show();n()}else j.hide()},ga=function(Q,na){for(var ka=l.filterFields,V=[],ma=0;ma<Q.length;ma++)if("string"==typeof Q[ma]){if(Q[ma].toLowerCase().indexOf(na)>=0)X&&!X.apply(k,[Q[ma]])||V.push(Q[ma])}else for(var ta=0;ta<ka.length;ta++)try{if(Q[ma][ka[ta]].toLowerCase().indexOf(na)>=0){if(X&&!X.apply(k,[Q[ma]]))break;V.push(Q[ma]);break}}catch(Da){}return V},
sa=function(){var Q=F;if(N)try{N.abort()}catch(na){}j.empty().height(0).width(0);j.hide();if(g.trim(Q)=="")return false;if(da)if(ca&&K!=""&&Q.indexOf(K)==0){var ka=ga(ca,Q.toLowerCase());ka.length>0&&va(ka,Q);return false}if("function"==typeof l.source)l.source(Q,va);else if("string"==typeof l.source)N=g.ajax({url:l.source,type:"GET",async:true,data:{search:Q},success:function(V){if("ok"!=V.stat)return false;if(V.suggestions.length<=0)return false;va(V.suggestions,Q)},complete:function(){N=null}});
else{ka=ga(l.source,Q.toLowerCase());ka.length>0&&va(ka,Q)}}}});g.ui.mtextfield.getter=""})(jQuery);var swfobject=function(){function g(){if(!Ca){try{var w=V.getElementsByTagName("body")[0].appendChild(V.createElement("span"));w.parentNode.removeChild(w)}catch(C){return}Ca=true;w=Da.length;for(var M=0;M<w;M++)Da[M]()}}function l(w){if(Ca)w();else Da[Da.length]=w}function t(w){if(typeof ka.addEventListener!=ga)ka.addEventListener("load",w,false);else if(typeof V.addEventListener!=ga)V.addEventListener("load",w,false);else if(typeof ka.attachEvent!=ga)X(ka,"onload",w);else if(typeof ka.onload=="function"){var C=
ka.onload;ka.onload=function(){C();w()}}else ka.onload=w}function n(){var w=V.getElementsByTagName("body")[0],C=V.createElement(sa);C.setAttribute("type",Q);var M=w.appendChild(C);if(M){var R=0;(function(){if(typeof M.GetVariable!=ga)try{var U=M.GetVariable("$version");if(U){U=U.split(" ")[1].split(",");W.pv=[parseInt(U[0],10),parseInt(U[1],10),parseInt(U[2],10)]}}catch(ea){}else if(R<10){R++;setTimeout(arguments.callee,10);return}w.removeChild(C);M=null;j()})()}else j()}function j(){var w=L.length;
if(w>0)for(var C=0;C<w;C++){var M=L[C].id,R=L[C].callbackFn,U={success:false,id:M};if(W.pv[0]>0){var ea=S(M);if(ea)if(da(L[C].swfVersion)&&!(W.wk&&W.wk<312)){ha(M,true);if(R){U.success=true;U.ref=k(M);R(U)}}else if(L[C].expressInstall&&p()){U={};U.data=L[C].expressInstall;U.width=ea.getAttribute("width")||"0";U.height=ea.getAttribute("height")||"0";if(ea.getAttribute("class"))U.styleclass=ea.getAttribute("class");if(ea.getAttribute("align"))U.align=ea.getAttribute("align");var aa={};ea=ea.getElementsByTagName("param");
for(var pa=ea.length,ra=0;ra<pa;ra++)if(ea[ra].getAttribute("name").toLowerCase()!="movie")aa[ea[ra].getAttribute("name")]=ea[ra].getAttribute("value");z(U,aa,M,R)}else{K(ea);R&&R(U)}}else{ha(M,true);if(R){if((M=k(M))&&typeof M.SetVariable!=ga){U.success=true;U.ref=M}R(U)}}}}function k(w){var C=null;if((w=S(w))&&w.nodeName=="OBJECT")if(typeof w.SetVariable!=ga)C=w;else if(w=w.getElementsByTagName(sa)[0])C=w;return C}function p(){return!Ma&&da("6.0.65")&&(W.win||W.mac)&&!(W.wk&&W.wk<312)}function z(w,
C,M,R){Ma=true;La=R||null;ab={success:false,id:M};var U=S(M);if(U){if(U.nodeName=="OBJECT"){c=F(U);Ja=null}else{c=U;Ja=M}w.id=na;if(typeof w.width==ga||!/%$/.test(w.width)&&parseInt(w.width,10)<310)w.width="310";if(typeof w.height==ga||!/%$/.test(w.height)&&parseInt(w.height,10)<137)w.height="137";V.title=V.title.slice(0,47)+" - Flash Player Installation";R=W.ie&&W.win?"ActiveX":"PlugIn";R="MMredirectURL="+ka.location.toString().replace(/&/g,"%26")+"&MMplayerType="+R+"&MMdoctitle="+V.title;if(typeof C.flashvars!=
ga)C.flashvars+="&"+R;else C.flashvars=R;if(W.ie&&W.win&&U.readyState!=4){R=V.createElement("div");M+="SWFObjectNew";R.setAttribute("id",M);U.parentNode.insertBefore(R,U);U.style.display="none";(function(){U.readyState==4?U.parentNode.removeChild(U):setTimeout(arguments.callee,10)})()}N(w,C,M)}}function K(w){if(W.ie&&W.win&&w.readyState!=4){var C=V.createElement("div");w.parentNode.insertBefore(C,w);C.parentNode.replaceChild(F(w),C);w.style.display="none";(function(){w.readyState==4?w.parentNode.removeChild(w):
setTimeout(arguments.callee,10)})()}else w.parentNode.replaceChild(F(w),w)}function F(w){var C=V.createElement("div");if(W.win&&W.ie)C.innerHTML=w.innerHTML;else if(w=w.getElementsByTagName(sa)[0])if(w=w.childNodes)for(var M=w.length,R=0;R<M;R++)!(w[R].nodeType==1&&w[R].nodeName=="PARAM")&&w[R].nodeType!=8&&C.appendChild(w[R].cloneNode(true));return C}function N(w,C,M){var R,U=S(M);if(W.wk&&W.wk<312)return R;if(U){if(typeof w.id==ga)w.id=M;if(W.ie&&W.win){var ea="",aa;for(aa in w)if(w[aa]!=Object.prototype[aa])if(aa.toLowerCase()==
"data")C.movie=w[aa];else if(aa.toLowerCase()=="styleclass")ea+=' class="'+w[aa]+'"';else if(aa.toLowerCase()!="classid")ea+=" "+aa+'="'+w[aa]+'"';aa="";for(var pa in C)if(C[pa]!=Object.prototype[pa])aa+='<param name="'+pa+'" value="'+C[pa]+'" />';U.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ea+">"+aa+"</object>";Ta[Ta.length]=w.id;R=S(w.id)}else{pa=V.createElement(sa);pa.setAttribute("type",Q);for(var ra in w)if(w[ra]!=Object.prototype[ra])if(ra.toLowerCase()=="styleclass")pa.setAttribute("class",
w[ra]);else ra.toLowerCase()!="classid"&&pa.setAttribute(ra,w[ra]);for(ea in C)if(C[ea]!=Object.prototype[ea]&&ea.toLowerCase()!="movie"){w=pa;aa=ea;ra=C[ea];M=V.createElement("param");M.setAttribute("name",aa);M.setAttribute("value",ra);w.appendChild(M)}U.parentNode.replaceChild(pa,U);R=pa}}return R}function ca(w){var C=S(w);if(C&&C.nodeName=="OBJECT")if(W.ie&&W.win){C.style.display="none";(function(){if(C.readyState==4){var M=S(w);if(M){for(var R in M)if(typeof M[R]=="function")M[R]=null;M.parentNode.removeChild(M)}}else setTimeout(arguments.callee,
10)})()}else C.parentNode.removeChild(C)}function S(w){var C=null;try{C=V.getElementById(w)}catch(M){}return C}function X(w,C,M){w.attachEvent(C,M);Ea[Ea.length]=[w,C,M]}function da(w){var C=W.pv;w=w.split(".");w[0]=parseInt(w[0],10);w[1]=parseInt(w[1],10)||0;w[2]=parseInt(w[2],10)||0;return C[0]>w[0]||C[0]==w[0]&&C[1]>w[1]||C[0]==w[0]&&C[1]==w[1]&&C[2]>=w[2]?true:false}function la(w,C,M,R){if(!(W.ie&&W.mac)){var U=V.getElementsByTagName("head")[0];if(U){M=M&&typeof M=="string"?M:"screen";if(R)Za=
ua=null;if(!ua||Za!=M){R=V.createElement("style");R.setAttribute("type","text/css");R.setAttribute("media",M);ua=U.appendChild(R);if(W.ie&&W.win&&typeof V.styleSheets!=ga&&V.styleSheets.length>0)ua=V.styleSheets[V.styleSheets.length-1];Za=M}if(W.ie&&W.win)ua&&typeof ua.addRule==sa&&ua.addRule(w,C);else ua&&typeof V.createTextNode!=ga&&ua.appendChild(V.createTextNode(w+" {"+C+"}"))}}}function ha(w,C){if(cb){var M=C?"visible":"hidden";if(Ca&&S(w))S(w).style.visibility=M;else la("#"+w,"visibility:"+
M)}}function va(w){return/[\\\"<>\.;]/.exec(w)!=null&&typeof encodeURIComponent!=ga?encodeURIComponent(w):w}var ga="undefined",sa="object",Q="application/x-shockwave-flash",na="SWFObjectExprInst",ka=window,V=document,ma=navigator,ta=false,Da=[function(){ta?n():j()}],L=[],Ta=[],Ea=[],c,Ja,La,ab,Ca=false,Ma=false,ua,Za,cb=true,W=function(){var w=typeof V.getElementById!=ga&&typeof V.getElementsByTagName!=ga&&typeof V.createElement!=ga,C=ma.userAgent.toLowerCase(),M=ma.platform.toLowerCase(),R=M?/win/.test(M):
/win/.test(C);M=M?/mac/.test(M):/mac/.test(C);C=/webkit/.test(C)?parseFloat(C.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var U=!+"1",ea=[0,0,0],aa=null;if(typeof ma.plugins!=ga&&typeof ma.plugins["Shockwave Flash"]==sa){if((aa=ma.plugins["Shockwave Flash"].description)&&!(typeof ma.mimeTypes!=ga&&ma.mimeTypes[Q]&&!ma.mimeTypes[Q].enabledPlugin)){ta=true;U=false;aa=aa.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ea[0]=parseInt(aa.replace(/^(.*)\..*$/,"$1"),10);ea[1]=parseInt(aa.replace(/^.*\.(.*)\s.*$/,
"$1"),10);ea[2]=/[a-zA-Z]/.test(aa)?parseInt(aa.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof ka.ActiveXObject!=ga)try{var pa=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(pa){try{aa=pa.GetVariable("$version")}catch(ra){}if(aa){U=true;aa=aa.split(" ")[1].split(",");ea=[parseInt(aa[0],10),parseInt(aa[1],10),parseInt(aa[2],10)]}}}catch(Ga){}return{w3:w,pv:ea,wk:C,ie:U,win:R,mac:M}}();(function(){if(W.w3){if(typeof V.readyState!=ga&&V.readyState=="complete"||typeof V.readyState==ga&&
(V.getElementsByTagName("body")[0]||V.body))g();if(!Ca){typeof V.addEventListener!=ga&&V.addEventListener("DOMContentLoaded",g,false);if(W.ie&&W.win){V.attachEvent("onreadystatechange",function(){if(V.readyState=="complete"){V.detachEvent("onreadystatechange",arguments.callee);g()}});ka==top&&function(){if(!Ca){try{V.documentElement.doScroll("left")}catch(w){setTimeout(arguments.callee,0);return}g()}}()}W.wk&&function(){Ca||(/loaded|complete/.test(V.readyState)?g():setTimeout(arguments.callee,0))}();
t(g)}}})();(function(){W.ie&&W.win&&window.attachEvent("onunload",function(){for(var w=Ea.length,C=0;C<w;C++)Ea[C][0].detachEvent(Ea[C][1],Ea[C][2]);w=Ta.length;for(C=0;C<w;C++)ca(Ta[C]);for(var M in W)W[M]=null;W=null;for(var R in swfobject)swfobject[R]=null;swfobject=null})})();return{registerObject:function(w,C,M,R){if(W.w3&&w&&C){var U={};U.id=w;U.swfVersion=C;U.expressInstall=M;U.callbackFn=R;L[L.length]=U;ha(w,false)}else R&&R({success:false,id:w})},getObjectById:function(w){if(W.w3)return k(w)},
embedSWF:function(w,C,M,R,U,ea,aa,pa,ra,Ga){var Ua={success:false,id:C};if(W.w3&&!(W.wk&&W.wk<312)&&w&&C&&M&&R&&U){ha(C,false);l(function(){M+="";R+="";var za={};if(ra&&typeof ra===sa)for(var Aa in ra)za[Aa]=ra[Aa];za.data=w;za.width=M;za.height=R;Aa={};if(pa&&typeof pa===sa)for(var Va in pa)Aa[Va]=pa[Va];if(aa&&typeof aa===sa)for(var Na in aa)if(typeof Aa.flashvars!=ga)Aa.flashvars+="&"+Na+"="+aa[Na];else Aa.flashvars=Na+"="+aa[Na];if(da(U)){Va=N(za,Aa,C);za.id==C&&ha(C,true);Ua.success=true;Ua.ref=
Va}else if(ea&&p()){za.data=ea;z(za,Aa,C,Ga);return}else ha(C,true);Ga&&Ga(Ua)})}else Ga&&Ga(Ua)},switchOffAutoHideShow:function(){cb=false},ua:W,getFlashPlayerVersion:function(){return{major:W.pv[0],minor:W.pv[1],release:W.pv[2]}},hasFlashPlayerVersion:da,createSWF:function(w,C,M){if(W.w3)return N(w,C,M)},showExpressInstall:function(w,C,M,R){W.w3&&p()&&z(w,C,M,R)},removeSWF:function(w){W.w3&&ca(w)},createCSS:function(w,C,M,R){W.w3&&la(w,C,M,R)},addDomLoadEvent:l,addLoadEvent:t,getQueryParamValue:function(w){var C=
V.location.search||V.location.hash;if(C){if(/\?/.test(C))C=C.split("?")[1];if(w==null)return va(C);C=C.split("&");for(var M=0;M<C.length;M++)if(C[M].substring(0,C[M].indexOf("="))==w)return va(C[M].substring(C[M].indexOf("=")+1))}return""},expressInstallCallback:function(){if(Ma){var w=S(na);if(w&&c){w.parentNode.replaceChild(c,w);if(Ja){ha(Ja,true);if(W.ie&&W.win)c.style.display="block"}La&&La(ab)}Ma=false}}}}();var jwplayer=function(g){return jwplayer.constructor(g)};jwplayer.constructor=function(){};var $jw=jwplayer;jwplayer.version="5.4.1530";(function(g,l){g.utils={extend:l.extend,getOuterHTML:function(t){return l(t).outerHTML()},setOuterHTML:function(t,n){l(t).outerHTML(n)}}})(jwplayer,jQuery);
(function(g){var l=[];g.constructor=function(t){return g.api.selectPlayer(t)};g.api=function(){};g.api.events={API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",
JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem"};g.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"};g.api.PlayerAPI=function(t){function n(S){return function(X){var da=X.newstate;X=X.oldstate;if(da==S){var la=
k[da];if(la)for(var ha=0;ha<la.length;ha++)typeof la[ha]=="function"&&la[ha].call(this,{oldstate:X,newstate:da})}}}this.container=t;this.id=t.id;var j={},k={},p=undefined,z=false,K=[],F=g.utils.getOuterHTML(t),N={},ca=0;this.setPlayer=function(S){p=S};this.stateListener=function(S,X){if(!k[S]){k[S]=[];this.eventListener(g.api.events.JWPLAYER_PLAYER_STATE,n(S))}k[S].push(X);return this};this.addInternalListener=function(S,X){S.jwAddEventListener(X,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+
X+'", dat); }')};this.eventListener=function(S,X){if(!j[S]){j[S]=[];p&&z&&this.addInternalListener(p,S)}j[S].push(X);return this};this.dispatchEvent=function(S,X){if(j[S]){var da;da=g.utils.extend({},X);if(S==g.api.events.JWPLAYER_FULLSCREEN&&!da.fullscreen){da.fullscreen=da.message=="true"?true:false;delete da.message}else if(typeof da.data=="object"){da=g.utils.extend(da,da.data);delete da.data}var la=["position","duration","offset"],ha;for(ha in la)if(da[la[ha]])da[la[ha]]=Math.round(da[la[ha]]*
1E3)/1E3;for(la=0;la<j[S].length;la++)typeof j[S][la]=="function"&&j[S][la].call(this,da)}};this.callInternal=function(S,X){if(z){if(typeof p!="undefined"&&typeof p[S]=="function")return X!==undefined?p[S](X):p[S]();return null}else K.push({method:S,parameters:X})};this.playerReady=function(S){z=true;p||this.setPlayer(document.getElementById(S.id));this.container=document.getElementById(this.id);for(var X in j)this.addInternalListener(p,X);this.eventListener(g.api.events.JWPLAYER_PLAYLIST_ITEM,function(da){if(da.index!==
undefined)ca=da.index;N={}});this.eventListener(g.api.events.JWPLAYER_MEDIA_META,function(da){g.utils.extend(N,da.metadata)});for(this.dispatchEvent(g.api.events.API_READY);K.length>0;){S=K.shift();this.callInternal(S.method,S.parameters)}};this.getItemMeta=function(){return N};this.getCurrentItem=function(){return ca};this.destroy=function(){j={};K=[];g.utils.getOuterHTML(this.container)!=F&&g.api.destroyPlayer(this.id,F)}};g.api.PlayerAPI.prototype={container:undefined,options:undefined,id:undefined,
getBuffer:function(){return this.callInternal("jwGetBuffer")},getDuration:function(){return this.callInternal("jwGetDuration")},getFullscreen:function(){return this.callInternal("jwGetFullscreen")},getHeight:function(){return this.callInternal("jwGetHeight")},getLockState:function(){return this.callInternal("jwGetLockState")},getMeta:function(){return this.getItemMeta()},getMute:function(){return this.callInternal("jwGetMute")},getPlaylist:function(){for(var t=this.callInternal("jwGetPlaylist"),n=
0;n<t.length;n++)if(t[n].index===undefined)t[n].index=n;return t},getPlaylistItem:function(t){if(t===undefined)t=this.getCurrentItem();return this.getPlaylist()[t]},getPosition:function(){return this.callInternal("jwGetPosition")},getState:function(){return this.callInternal("jwGetState")},getVolume:function(){return this.callInternal("jwGetVolume")},getWidth:function(){return this.callInternal("jwGetWidth")},setFullscreen:function(t){t===undefined?this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen")):
this.callInternal("jwSetFullscreen",t);return this},setMute:function(t){t===undefined?this.callInternal("jwSetMute",!this.callInternal("jwGetMute")):this.callInternal("jwSetMute",t);return this},lock:function(){return this},unlock:function(){return this},load:function(t){this.callInternal("jwLoad",t);return this},playlistItem:function(t){this.callInternal("jwPlaylistItem",t);return this},playlistPrev:function(){this.callInternal("jwPlaylistPrev");return this},playlistNext:function(){this.callInternal("jwPlaylistNext");
return this},resize:function(t,n){this.container.width=t;this.container.height=n;return this},play:function(t){if(typeof t=="undefined"){t=this.getState();t==g.api.events.state.PLAYING||t==g.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")}else this.callInternal("jwPlay",t);return this},pause:function(t){if(typeof t=="undefined"){t=this.getState();t==g.api.events.state.PLAYING||t==g.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")}else this.callInternal("jwPause",
t);return this},stop:function(){this.callInternal("jwStop");return this},seek:function(t){this.callInternal("jwSeek",t);return this},setVolume:function(t){this.callInternal("jwSetVolume",t);return this},onBufferChange:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_BUFFER,t)},onBufferFull:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_BUFFER_FULL,t)},onError:function(t){return this.eventListener(g.api.events.JWPLAYER_ERROR,t)},onFullscreen:function(t){return this.eventListener(g.api.events.JWPLAYER_FULLSCREEN,
t)},onMeta:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_META,t)},onMute:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_MUTE,t)},onPlaylist:function(t){return this.eventListener(g.api.events.JWPLAYER_PLAYLIST_LOADED,t)},onPlaylistItem:function(t){return this.eventListener(g.api.events.JWPLAYER_PLAYLIST_ITEM,t)},onReady:function(t){return this.eventListener(g.api.events.API_READY,t)},onResize:function(t){return this.eventListener(g.api.events.JWPLAYER_RESIZE,
t)},onComplete:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_COMPLETE,t)},onTime:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_TIME,t)},onVolume:function(t){return this.eventListener(g.api.events.JWPLAYER_MEDIA_VOLUME,t)},onBuffer:function(t){return this.stateListener(g.api.events.state.BUFFERING,t)},onPause:function(t){return this.stateListener(g.api.events.state.PAUSED,t)},onPlay:function(t){return this.stateListener(g.api.events.state.PLAYING,t)},onIdle:function(t){return this.stateListener(g.api.events.state.IDLE,
t)},setup:function(){return this},remove:function(){this.destroy()},initializePlugin:function(){return this}};g.api.selectPlayer=function(t){var n;if(t===undefined)t=0;if(t.nodeType)n=t;else if(typeof t=="string")n=document.getElementById(t);if(n)return(t=g.api.playerById(n.id))?t:g.api.addPlayer(new g.api.PlayerAPI(n));else if(typeof t=="number")return g.getPlayers()[t];return null};g.api.playerById=function(t){for(var n=0;n<l.length;n++)if(l[n].id==t)return l[n];return null};g.api.addPlayer=function(t){for(var n=
0;n<l.length;n++)if(l[n]==t)return t;l.push(t);return t};g.api.destroyPlayer=function(t,n){for(var j=-1,k=0;k<l.length;k++)if(l[k].id==t)j=k;if(j>=0){if(k=document.getElementById(l[j].id))if(n)g.utils.setOuterHTML(k,n);else{var p=document.createElement("div");p.setAttribute("id",k.id);k.parentNode.replaceChild(p,k)}l.splice(j,1)}return null};g.getPlayers=function(){return l.slice(0)}})(jwplayer);var _userPlayerReady=typeof playerReady=="function"?playerReady:undefined;
playerReady=function(g){var l=jwplayer.api.playerById(g.id);l&&l.playerReady(g);_userPlayerReady&&_userPlayerReady.call(this,g)};var _swGetWindowSize=function(){var g=document.documentElement;return{width:window.innerWidth||self.innerWidth||g&&g.clientWidth||document.body.clientWidth||0,height:window.innerHeight||self.innerHeight||g&&g.clientHeight||document.body.clientHeight||0}};
(function(g){g.widget("ui.swPage",{options:{hasTopTabs:true,hasBottomTabs:true,hasHeader:true,hasFooter:true,minWidth:-1,minHeight:-1,fitWindow:false,columns:null,firstResize:null,resize:null},_init:function(){this.resizeToId=-1;this.resizeDelegate=g.delegate(this,"_resize");this.firstResize=true;var l=this.options,t=this.element,n=t.find("#siteheader");if(n.length<=0||n.is(":empty")||!l.hasHeader){n.remove();l.hasHeader=false}n=t.find("#sitefooter");if(n.length<=0||n.is(":empty")||!l.hasFooter){n.remove();
l.hasFooter=false}n=t.find("#tabstop");if(n.length<=0||n.is(":empty")||!l.hasTopTabs){n.remove();l.hasTopTabs=false}n=t.find("#tabsbottom");if(n.length<=0||n.is(":empty")||!l.hasBottomTabs){n.remove();l.hasBottomTabs=false}else t.find("#bottom td.crn_tl").remove();g(window).bind("resize.ug",this.resizeDelegate);if(g.browser.msie6)g(window).one("load.ug",this.resizeDelegate);else g(window).trigger("resize.ug")},_resize:function(){var l=this.options,t=this.element;clearTimeout(this.resizeToId);this.resizeToId=
-1;g(window).unbind("resize.ug");var n=t.find("#framecenter .div_frame_content");l.fitWindow&&n.removeAttr("style").hide();t.removeAttr("style");t.find("#framecenter td.frame_content").removeAttr("style");var j=_swGetWindowSize();if(l.fitWindow){j=j.height-39-11-11-10-2;if(l.hasHeader)j-=66;else{g("#sitecontainer").css("padding-top","16px");j-=16}j-=l.hasFooter?42:16;if(l.minHeight>-1&&j<l.minHeight)j=l.minHeight;t.find("#framecenter").find("> td.frame_content, .div_frame_content").height(j);j=_swGetWindowSize()}var k=
Math.min(j.width-32,t.find("#frame").width());if(l.minWidth>-1&&k-18<l.minWidth){k=l.minWidth+18;t.width(k)}t.find("#framecenter .div_frame_content").width(k-18);n.show();t={width:k-18,height:t.find("#framecenter td.frame_content").height()};n=n.find("> *");n.length==1&&n.muiResize(g.extend({},t));g.isFunction(l.resize)&&l.resize(g.extend({},t));if(this.firstResize){this.firstResize=false;g.isFunction(l.firstResize)&&l.firstResize(g.extend({},t))}else _gaq.push(["_trackEvent","size","resize",j.width+
"x"+j.height]);g(window).bind("resize.ug",this.resizeDelegate)},updateMinWidth:function(l){this.options.minWidth=l}});g.ui.swPage.getter=""})(jQuery);(function(g){var l=/^[ \t\r\n]*$/,t=/^[a-z0-9][.a-z0-9_+-]*@([a-z0-9_-]+\.)+[a-z0-9_-]{2,4}$/i,n=null;ContactUs={open:function(){null==n?this.load():this.show()},load:function(){g("#contact_us_container").load("/feedback",g.delegate(this,"setup"))},setup:function(){n=g("#contact_us_container").children().eq(0).mpopup({title:"Contact Us",width:550});g(".submit",n).mbutton().click(g.delegate(this,"submit"));g("#contactus-email").mtextfield().mtextfield("resize",{width:235});g("#contactus-album").mtextfield().mtextfield("resize",
{width:300});this.show()},show:function(){g(".page",n).hide().filter("#contactus-page-1").show();g(".status",n).html("&nbsp;");g("#contactus-message").val("").focus();n.mpopup("open")},close:function(){n.mpopup("close")},submit:function(j){var k=this;j.preventDefault();g(".contactus-status",n).removeClass("success error warning").html("&nbsp;");var p={page:location.href};g(":input",n).each(function(){p[this.name]=g.trim(this.value)});try{if(p.email.match(l))p.email="";else if(!p.email.match(t))throw"Your email address should be in a form like 'user@example.com'.";
if(p.message.match(l))throw"You left the message field blank";}catch(z){g(".status",n).addClass("error").text(z);return}g(".submit",n).mbutton("progress","on");g.ajax({url:"/feedback",async:true,type:"POST",dataType:"json",data:p,complete:function(K,F,N){g(".submit",n).mbutton("progress","off");if("fail"==N.stat)g(".status",n).addClass("error").text("A server error occurred, please try again later.");else{p.email.length&&g(".confirmation",n).find(".email").text(p.email).end().show();g(".page",n).toggle();
setTimeout(g.delegate(k,"close"),5E3)}N.actiontoken&&g("input[name=actiontoken]",n).val(N.actiontoken)}})}}})(jQuery);

