(function(){(function(n,H){function da(){if(!c.isReady){try{h.documentElement.doScroll("left")}catch(a){setTimeout(da,1);return}c.ready()}}function $(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,d,e,f,l){var m=a.length;if(typeof b==="object"){for(var s in b)S(a,s,b[s],e,f,d);return a}if(d!==H){e=!l&&e&&c.isFunction(d);for(s=0;s<m;s++)f(a[s],b,e?d.call(a[s],s,f(a[s],b)):d,l);
return a}return m?f(a[0],b):H}function u(){return(new Date).getTime()}function ba(){return false}function w(){return true}function q(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function v(a){var b,d=[],e=[],f=arguments,l,m,s,p,t,A;m=c.data(this,"events");if(!(a.liveFired===this||!m||!m.live||a.button&&a.type==="click")){a.liveFired=this;var N=m.live.slice(0);for(p=0;p<N.length;p++){m=N[p];m.origType.replace(oa,"")===a.type?e.push(m.selector):N.splice(p--,1)}l=c(a.target).closest(e,a.currentTarget);
t=0;for(A=l.length;t<A;t++)for(p=0;p<N.length;p++){m=N[p];if(l[t].selector===m.selector){s=l[t].elem;e=null;if(m.preType==="mouseenter"||m.preType==="mouseleave")e=c(a.relatedTarget).closest(m.selector)[0];if(!e||e!==s)d.push({elem:s,handleObj:m})}}t=0;for(A=d.length;t<A;t++){l=d[t];a.currentTarget=l.elem;a.data=l.handleObj.data;a.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,f)===false){b=false;break}}return b}}function x(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function F(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,e);if(e=e&&e.events){delete f.handle;f.events={};for(var l in e)for(var m in e[l])c.event.add(this,l,e[l][m],e[l][m].data)}}})}function B(a,b,d){var e,f,l;b=b&&b[0]?b[0].ownerDocument||b[0]:h;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===h&&!Ea.test(a[0])&&(c.support.checkClone||!Fa.test(a[0]))){f=true;if(l=c.fragments[a[0]])if(l!==1)e=l}if(!e){e=b.createDocumentFragment();
c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=l?e:1;return{fragment:e,cacheable:f}}function K(a,b){var d={};c.each(Ga.concat.apply([],Ga.slice(0,b)),function(){d[this]=a});return d}function R(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},ha=n.jQuery,i=n.$,h=n.document,k,D=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,C=/^.[^:#\[\.,]*$/,I=/\S/,O=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,W=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,L=navigator.userAgent,
E=false,Y=[],Q,Z=Object.prototype.toString,ca=Object.prototype.hasOwnProperty,aa=Array.prototype.push,ia=Array.prototype.slice,pa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,e;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=h;this[0]=h.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=D.exec(a))&&(d[1]||!b))if(d[1]){e=b?b.ownerDocument||b:h;if(a=W.exec(a))if(c.isPlainObject(b)){a=
[h.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[e.createElement(a[1])];else{a=B([d[1]],[e]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=h.getElementById(d[2])){if(b.id!==d[2])return k.find(a);this.length=1;this[0]=b}this.context=h;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=h;a=h.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||k).find(a):c(b).find(a);else if(c.isFunction(a))return k.ready(a);
if(a.selector!==H){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return ia.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var e=c();c.isArray(a)?aa.apply(e,a):c.merge(e,a);e.prevObject=this;e.context=this.context;if(b==="find")e.selector=this.selector+(this.selector?" ":"")+d;else if(b)e.selector=this.selector+
"."+b+"("+d+")";return e},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(h,c);else Y&&Y.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ia.apply(this,arguments),"slice",ia.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||
c(null)},push:aa,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,f,l,m,s;if(typeof a==="boolean"){e=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((f=arguments[b])!=null)for(l in f){m=a[l];s=f[l];if(a!==s)if(e&&s&&(c.isPlainObject(s)||c.isArray(s))){m=m&&(c.isPlainObject(m)||c.isArray(m))?m:c.isArray(s)?[]:{};a[l]=c.extend(e,m,s)}else if(s!==H)a[l]=
s}return a};c.extend({noConflict:function(a){n.$=i;if(a)n.jQuery=ha;return c},isReady:false,ready:function(){if(!c.isReady){if(!h.body)return setTimeout(c.ready,13);c.isReady=true;if(Y){for(var a,b=0;a=Y[b++];)a.call(h,c);Y=null}c.fn.triggerHandler&&c(h).triggerHandler("ready")}},bindReady:function(){if(!E){E=true;if(h.readyState==="complete")return c.ready();if(h.addEventListener){h.addEventListener("DOMContentLoaded",Q,false);n.addEventListener("load",c.ready,false)}else if(h.attachEvent){h.attachEvent("onreadystatechange",
Q);n.attachEvent("onload",c.ready);var a=false;try{a=n.frameElement==null}catch(b){}h.documentElement.doScroll&&a&&da()}}},isFunction:function(a){return Z.call(a)==="[object Function]"},isArray:function(a){return Z.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||Z.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ca.call(a,"constructor")&&!ca.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===H||ca.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return n.JSON&&n.JSON.parse?n.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&I.test(a)){var b=h.getElementsByTagName("head")[0]||
h.documentElement,d=h.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(h.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var e,f=0,l=a.length,m=l===H||c.isFunction(a);if(d)if(m)for(e in a){if(b.apply(a[e],d)===false)break}else for(;f<l;){if(b.apply(a[f++],d)===false)break}else if(m)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=
a[0];f<l&&b.call(d,f,d)!==false;d=a[++f]);return a},trim:function(a){return(a||"").replace(O,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?aa.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,e=0;if(typeof b.length==="number")for(var f=b.length;e<f;e++)a[d++]=b[e];else for(;b[e]!==
H;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var e=[],f=0,l=a.length;f<l;f++)!d!==!b(a[f],f)&&e.push(a[f]);return e},map:function(a,b,d){for(var e=[],f,l=0,m=a.length;l<m;l++){f=b(a[l],l,d);if(f!=null)e[e.length]=f}return e.concat.apply([],e)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=H}else if(b&&!c.isFunction(b)){d=b;b=H}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},
uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});L=c.uaMatch(L);if(L.browser){c.browser[L.browser]=true;c.browser.version=L.version}if(c.browser.webkit)c.browser.safari=true;if(pa)c.inArray=function(a,b){return pa.call(b,a)};k=c(h);if(h.addEventListener)Q=function(){h.removeEventListener("DOMContentLoaded",
Q,false);c.ready()};else if(h.attachEvent)Q=function(){if(h.readyState==="complete"){h.detachEvent("onreadystatechange",Q);c.ready()}};(function(){c.support={};var a=h.documentElement,b=h.createElement("script"),d=h.createElement("div"),e="script"+u();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),l=d.getElementsByTagName("a")[0];if(!(!f||!f.length||!l)){c.support=
{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:h.createElement("select").appendChild(h.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(h.createElement("div"))).parentNode===
null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(h.createTextNode("window."+e+"=1;"))}catch(m){}a.insertBefore(b,a.firstChild);if(n[e]){c.support.scriptEval=true;delete n[e]}try{delete b.test}catch(s){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function p(){c.support.noCloneEvent=false;d.detachEvent("onclick",p)});d.cloneNode(true).fireEvent("onclick")}d=h.createElement("div");
d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=h.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var p=h.createElement("div");p.style.width=p.style.paddingLeft="1px";h.body.appendChild(p);c.boxModel=c.support.boxModel=p.offsetWidth===2;h.body.removeChild(p).style.display="none"});a=function(p){var t=h.createElement("div");p="on"+p;var A=p in t;if(!A){t.setAttribute(p,"return;");A=typeof t[p]===
"function"}return A};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=l=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ja="jQuery"+u(),Ya=0,Ha={};c.extend({cache:{},expando:ja,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==n?Ha:a;var e=a[ja],f=c.cache;if(!e&&typeof b==="string"&&d===H)return null;e||(e=++Ya);if(typeof b==="object"){a[ja]=e;f[e]=c.extend(true,{},b)}else if(!f[e]){a[ja]=e;f[e]={}}a=f[e];if(d!==H)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==n?Ha:a;var d=a[ja],e=c.cache,f=e[d];if(b){if(f){delete f[b];c.isEmptyObject(f)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);
delete e[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===H){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===H&&this.length)e=c.data(this[0],a);return e===H&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!d)return e||[];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();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===H)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;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Ia=/[\n\t]/g,ua=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,cb=/^(a|area)$/i,Ja=/radio|checkbox/;c.fn.extend({attr:function(a,
b){return S(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(t){var A=c(this);A.addClass(a.call(this,t,A.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ua),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var l=" "+f.className+" ",m=f.className,s=0,p=b.length;s<p;s++)if(l.indexOf(" "+b[s]+" ")<
0)m+=" "+b[s];f.className=c.trim(m)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(p){var t=c(this);t.removeClass(a.call(this,p,t.attr("class")))});if(a&&typeof a==="string"||a===H)for(var b=(a||"").split(ua),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var l=(" "+f.className+" ").replace(Ia," "),m=0,s=b.length;m<s;m++)l=l.replace(" "+b[m]+" "," ");f.className=c.trim(l)}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){var l=c(this);l.toggleClass(a.call(this,f,l.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,l=0,m=c(this),s=b,p=a.split(ua);f=p[l++];){s=e?s:!m.hasClass(f);m[s?"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].className+" ").replace(Ia," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===H){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,e=[],f=b.options;b=b.type==="select-one";if(d<0)return null;var l=b?d:0;for(d=b?d+1:f.length;l<d;l++){var m=f[l];if(m.selected){a=c(m).val();if(b)return a;e.push(a)}}return e}if(Ja.test(b.type)&&
!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return H}var s=c.isFunction(a);return this.each(function(p){var t=c(this),A=a;if(this.nodeType===1){if(s)A=a.call(this,p,t.val());if(typeof A==="number")A+="";if(c.isArray(A)&&Ja.test(this.type))this.checked=c.inArray(t.val(),A)>=0;else if(c.nodeName(this,"select")){var N=c.makeArray(A);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),N)>=0});if(!N.length)this.selectedIndex=
-1}else this.value=A}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return H;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==H;b=e&&c.props[b]||b;if(a.nodeType===1){var l=$a.test(b);if(b in a&&e&&!l){if(f){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;
if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:H;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&e&&l?a.getAttribute(b,2):a.getAttribute(b);return a===null?H:a}return c.style(a,b,d)}});var oa=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,e){if(!(a.nodeType===
3||a.nodeType===8)){if(a.setInterval&&a!==n&&!a.frameElement)a=n;var f,l;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(l=c.data(a)){var m=l.events=l.events||{},s=l.handle;if(!s)l.handle=s=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(s.elem,arguments):H};s.elem=a;b=b.split(" ");for(var p,t=0,A;p=b[t++];){l=f?c.extend({},f):{handler:d,data:e};if(p.indexOf(".")>-1){A=p.split(".");p=A.shift();l.namespace=A.slice(0).sort().join(".")}else{A=[];l.namespace=
""}l.type=p;l.guid=d.guid;var N=m[p],U=c.event.special[p]||{};if(!N){N=m[p]=[];if(!U.setup||U.setup.call(a,e,A,s)===false)if(a.addEventListener)a.addEventListener(p,s,false);else a.attachEvent&&a.attachEvent("on"+p,s)}if(U.add){U.add.call(a,l);if(!l.handler.guid)l.handler.guid=d.guid}N.push(l);c.event.global[p]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){var f,l=0,m,s,p,t,A,N,U=c.data(a),X=U&&U.events;if(U&&X){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b===
"string"&&b.charAt(0)==="."){b=b||"";for(f in X)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){t=f;m=f.indexOf(".")<0;s=[];if(!m){s=f.split(".");f=s.shift();p=RegExp("(^|\\.)"+c.map(s.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=X[f])if(d){t=c.event.special[f]||{};for(V=e||0;V<A.length;V++){N=A[V];if(d.guid===N.guid){if(m||p.test(N.namespace)){e==null&&A.splice(V--,1);t.remove&&t.remove.call(a,N)}if(e!=null)break}}if(A.length===0||e!=null&&A.length===1){if(!t.teardown||t.teardown.call(a,
s)===false)Ka(a,f,U.handle);delete X[f]}}else for(var V=0;V<A.length;V++){N=A[V];if(m||p.test(N.namespace)){c.event.remove(a,t,N.handler,V);A.splice(V--,1)}}}if(c.isEmptyObject(X)){if(b=U.handle)b.elem=null;delete U.events;delete U.handle;c.isEmptyObject(U)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[ja]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&
c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return H;a.result=H;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=c.data(d,"handle"))&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false)a.result=false}catch(l){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){e=
a.target;var m,s=c.nodeName(e,"a")&&f==="click",p=c.event.special[f]||{};if((!p._default||p._default.call(d,a)===false)&&!s&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[f]){if(m=e["on"+f])e["on"+f]=null;c.event.triggered=true;e[f]()}}catch(t){}if(m)e["on"+f]=m;c.event.triggered=false}}},handle:function(a){var b,d,e,f;a=arguments[0]=c.event.fix(a||n.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();e=RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+
"(\\.|$)")}f=c.data(this,"events");d=f[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f<l;f++){var m=d[f];if(b||e.test(m.namespace)){a.handler=m.handler;a.data=m.data;a.handleObj=m;m=m.handler.apply(this,arguments);if(m!==H){a.result=m;if(m===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[ja])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||h;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=h.documentElement;d=h.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==H)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:v}))},remove:function(a){var b=true,d=a.origType.replace(oa,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(oa,""))return b=false});b&&c.event.remove(this,a.origType,v)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ka=h.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
a;this.type=a.type}else this.type=a;this.timeStamp=u();this[ja]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w;this.stopPropagation()},isDefaultPrevented:ba,isPropagationStopped:ba,
isImmediatePropagationStopped:ba};var La=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ma=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ma:La,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ma:La)}}});if(!c.support.submitBubbles)c.event.special.submit=
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return q("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return q("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var va=
/textarea|input|select/i,wa,Na=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},xa=function(a,b){var d=a.target,e,f;if(!(!va.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=Na(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===H||f===e))if(e!=null||
f){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:xa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return xa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return xa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Na(a))}},setup:function(){if(this.type===
"file")return false;for(var a in wa)c.event.add(this,a+".specialChange",wa[a]);return va.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return va.test(this.nodeName)}};wa=c.event.special.change.filters}h.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,
d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var l in d)this[b](l,e,d[l],f);return this}if(c.isFunction(e)){f=e;e=H}var m=b==="one"?c.proxy(f,function(p){c(this).unbind(p,m);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{l=0;for(var s=this.length;l<s;l++)c.event.add(this[l],d,m,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=
0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,
b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Oa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,l){var m,s=0,p,t,A=l||this.selector,N=l?this:c(this.context);if(c.isFunction(e)){f=e;e=H}for(d=
(d||"").split(" ");(m=d[s++])!=null;){l=oa.exec(m);p="";if(l){p=l[0];m=m.replace(oa,"")}if(m==="hover")d.push("mouseenter"+p,"mouseleave"+p);else{t=m;if(m==="focus"||m==="blur"){d.push(Oa[m]+p);m+=p}else m=(Oa[m]||m)+p;b==="live"?N.each(function(){c.event.add(this,x(m,A),{data:e,selector:A,handler:f,origType:m,origHandler:f,preType:t})}):N.unbind(x(m,A),f)}}return this}});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".split(" "),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});n.attachEvent&&!n.addEventListener&&n.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var j="",o,r=0;g[r];r++){o=g[r];if(o.nodeType===3||o.nodeType===4)j+=o.nodeValue;else if(o.nodeType!==8)j+=a(o.childNodes)}return j}function b(g,j,o,r,z,y){z=0;for(var M=r.length;z<M;z++){var G=r[z];
if(G){G=G[g];for(var T=false;G;){if(G.sizcache===o){T=r[G.sizset];break}if(G.nodeType===1&&!y){G.sizcache=o;G.sizset=z}if(G.nodeName.toLowerCase()===j){T=G;break}G=G[g]}r[z]=T}}}function d(g,j,o,r,z,y){z=0;for(var M=r.length;z<M;z++){var G=r[z];if(G){G=G[g];for(var T=false;G;){if(G.sizcache===o){T=r[G.sizset];break}if(G.nodeType===1){if(!y){G.sizcache=o;G.sizset=z}if(typeof j!=="string"){if(G===j){T=true;break}}else if(p.filter(j,[G]).length>0){T=G;break}}G=G[g]}r[z]=T}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,l=Object.prototype.toString,m=false,s=true;[0,0].sort(function(){s=false;return 0});var p=function(g,j,o,r){o=o||[];var z=j=j||h;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return o;for(var y=[],M,G,T,qa,ka=true,ma=P(j),la=g;(e.exec(""),M=e.exec(la))!==null;){la=M[3];y.push(M[1]);if(M[2]){qa=M[3];break}}if(y.length>1&&A.exec(g))if(y.length===2&&t.relative[y[0]])G=ya(y[0]+y[1],j);else for(G=t.relative[y[0]]?[j]:p(y.shift(),j);y.length;){g=y.shift();if(t.relative[g])g+=
y.shift();G=ya(g,G)}else{if(!r&&y.length>1&&j.nodeType===9&&!ma&&t.match.ID.test(y[0])&&!t.match.ID.test(y[y.length-1])){M=p.find(y.shift(),j,ma);j=M.expr?p.filter(M.expr,M.set)[0]:M.set[0]}if(j){M=r?{expr:y.pop(),set:U(r)}:p.find(y.pop(),y.length===1&&(y[0]==="~"||y[0]==="+")&&j.parentNode?j.parentNode:j,ma);G=M.expr?p.filter(M.expr,M.set):M.set;if(y.length>0)T=U(G);else ka=false;for(;y.length;){var ea=y.pop();M=ea;if(t.relative[ea])M=y.pop();else ea="";if(M==null)M=j;t.relative[ea](T,M,ma)}}else T=
[]}T||(T=G);T||p.error(ea||g);if(l.call(T)==="[object Array]")if(ka)if(j&&j.nodeType===1)for(g=0;T[g]!=null;g++){if(T[g]&&(T[g]===true||T[g].nodeType===1&&fa(j,T[g])))o.push(G[g])}else for(g=0;T[g]!=null;g++)T[g]&&T[g].nodeType===1&&o.push(G[g]);else o.push.apply(o,T);else U(T,o);if(qa){p(qa,z,o,r);p.uniqueSort(o)}return o};p.uniqueSort=function(g){if(V){m=s;g.sort(V);if(m)for(var j=1;j<g.length;j++)g[j]===g[j-1]&&g.splice(j--,1)}return g};p.matches=function(g,j){return p(g,null,null,j)};p.find=function(g,
j,o){var r,z;if(!g)return[];for(var y=0,M=t.order.length;y<M;y++){var G=t.order[y];if(z=t.leftMatch[G].exec(g)){var T=z[1];z.splice(1,1);if(T.substr(T.length-1)!=="\\"){z[1]=(z[1]||"").replace(/\\/g,"");r=t.find[G](z,j,o);if(r!=null){g=g.replace(t.match[G],"");break}}}}r||(r=j.getElementsByTagName("*"));return{set:r,expr:g}};p.filter=function(g,j,o,r){for(var z=g,y=[],M=j,G,T,qa=j&&j[0]&&P(j[0]);g&&j.length;){for(var ka in t.filter)if((G=t.leftMatch[ka].exec(g))!=null&&G[2]){var ma=t.filter[ka],la,
ea;ea=G[1];T=false;G.splice(1,1);if(ea.substr(ea.length-1)!=="\\"){if(M===y)y=[];if(t.preFilter[ka])if(G=t.preFilter[ka](G,M,o,y,r,qa)){if(G===true)continue}else T=la=true;if(G)for(var ra=0;(ea=M[ra])!=null;ra++)if(ea){la=ma(ea,G,ra,M);var Pa=r^!!la;if(o&&la!=null)if(Pa)T=true;else M[ra]=false;else if(Pa){y.push(ea);T=true}}if(la!==H){o||(M=y);g=g.replace(t.match[ka],"");if(!T)return[];break}}}if(g===z)if(T==null)p.error(g);else break;z=g}return M};p.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var t=p.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,j){var o=typeof j==="string",r=o&&!/\W/.test(j);o=o&&!r;if(r)j=j.toLowerCase();r=0;for(var z=g.length,y;r<z;r++)if(y=g[r]){for(;(y=y.previousSibling)&&y.nodeType!==1;);g[r]=o||y&&y.nodeName.toLowerCase()===j?y||false:y===j}o&&p.filter(j,g,true)},">":function(g,j){var o=typeof j==="string";if(o&&!/\W/.test(j)){j=j.toLowerCase();for(var r=0,z=g.length;r<z;r++){var y=
g[r];if(y){o=y.parentNode;g[r]=o.nodeName.toLowerCase()===j?o:false}}}else{r=0;for(z=g.length;r<z;r++)if(y=g[r])g[r]=o?y.parentNode:y.parentNode===j;o&&p.filter(j,g,true)}},"":function(g,j,o){var r=f++,z=d;if(typeof j==="string"&&!/\W/.test(j)){var y=j=j.toLowerCase();z=b}z("parentNode",j,r,g,y,o)},"~":function(g,j,o){var r=f++,z=d;if(typeof j==="string"&&!/\W/.test(j)){var y=j=j.toLowerCase();z=b}z("previousSibling",j,r,g,y,o)}},find:{ID:function(g,j,o){if(typeof j.getElementById!=="undefined"&&
!o)return(g=j.getElementById(g[1]))?[g]:[]},NAME:function(g,j){if(typeof j.getElementsByName!=="undefined"){var o=[];j=j.getElementsByName(g[1]);for(var r=0,z=j.length;r<z;r++)j[r].getAttribute("name")===g[1]&&o.push(j[r]);return o.length===0?null:o}},TAG:function(g,j){return j.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,j,o,r,z,y){g=" "+g[1].replace(/\\/g,"")+" ";if(y)return g;y=0;for(var M;(M=j[y])!=null;y++)if(M)if(z^(M.className&&(" "+M.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=
0))o||r.push(M);else if(o)j[y]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=f++;return g},ATTR:function(g,j,o,r,z,y){j=g[1].replace(/\\/g,"");if(!y&&t.attrMap[j])g[1]=t.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,o,r,
z){if(g[1]==="not")if((e.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=p(g[3],null,null,j);else{g=p.filter(g[3],j,o,true^z);o||r.push.apply(r,g);return false}else if(t.match.POS.test(g[0])||t.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},
empty:function(g){return!g.firstChild},has:function(g,j,o){return!!p(o[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===
g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,j){return j===0},last:function(g,j,o,r){return j===r.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,o){return j<o[3]-0},gt:function(g,j,o){return j>o[3]-0},nth:function(g,j,o){return o[3]-0===j},eq:function(g,j,o){return o[3]-0===j}},filter:{PSEUDO:function(g,j,o,r){var z=j[1],y=t.filters[z];if(y)return y(g,
o,j,r);else if(z==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(j[3])>=0;else if(z==="not"){j=j[3];o=0;for(r=j.length;o<r;o++)if(j[o]===g)return false;return true}else p.error("Syntax error, unrecognized expression: "+z)},CHILD:function(g,j){var o=j[1],r=g;switch(o){case "only":case "first":for(;r=r.previousSibling;)if(r.nodeType===1)return false;if(o==="first")return true;r=g;case "last":for(;r=r.nextSibling;)if(r.nodeType===1)return false;return true;case "nth":o=j[2];var z=
j[3];if(o===1&&z===0)return true;j=j[0];var y=g.parentNode;if(y&&(y.sizcache!==j||!g.nodeIndex)){var M=0;for(r=y.firstChild;r;r=r.nextSibling)if(r.nodeType===1)r.nodeIndex=++M;y.sizcache=j}g=g.nodeIndex-z;return o===0?g===0:g%o===0&&g/o>=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var o=
j[1];g=t.attrHandle[o]?t.attrHandle[o](g):g[o]!=null?g[o]:g.getAttribute(o);o=g+"";var r=j[2];j=j[4];return g==null?r==="!=":r==="="?o===j:r==="*="?o.indexOf(j)>=0:r==="~="?(" "+o+" ").indexOf(j)>=0:!j?o&&g!==false:r==="!="?o!==j:r==="^="?o.indexOf(j)===0:r==="$="?o.substr(o.length-j.length)===j:r==="|="?o===j||o.substr(0,j.length+1)===j+"-":false},POS:function(g,j,o,r){var z=t.setFilters[j[2]];if(z)return z(g,o,j,r)}}},A=t.match.POS;for(var N in t.match){t.match[N]=RegExp(t.match[N].source+/(?![^\[]*\])(?![^\(]*\))/.source);
t.leftMatch[N]=RegExp(/(^(?:.|\r|\n)*?)/.source+t.match[N].source.replace(/\\(\d+)/g,function(g,j){return"\\"+(j-0+1)}))}var U=function(g,j){g=Array.prototype.slice.call(g,0);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(h.documentElement.childNodes,0)}catch(X){U=function(g,j){j=j||[];if(l.call(g)==="[object Array]")Array.prototype.push.apply(j,g);else if(typeof g.length==="number")for(var o=0,r=g.length;o<r;o++)j.push(g[o]);else for(o=0;g[o];o++)j.push(g[o]);return j}}var V;
if(h.documentElement.compareDocumentPosition)V=function(g,j){if(!g.compareDocumentPosition||!j.compareDocumentPosition){if(g==j)m=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(j)&4?-1:g===j?0:1;if(g===0)m=true;return g};else if("sourceIndex"in h.documentElement)V=function(g,j){if(!g.sourceIndex||!j.sourceIndex){if(g==j)m=true;return g.sourceIndex?-1:1}g=g.sourceIndex-j.sourceIndex;if(g===0)m=true;return g};else if(h.createRange)V=function(g,j){if(!g.ownerDocument||!j.ownerDocument){if(g==
j)m=true;return g.ownerDocument?-1:1}var o=g.ownerDocument.createRange(),r=j.ownerDocument.createRange();o.setStart(g,0);o.setEnd(g,0);r.setStart(j,0);r.setEnd(j,0);g=o.compareBoundaryPoints(Range.START_TO_END,r);if(g===0)m=true;return g};(function(){var g=h.createElement("div"),j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var o=h.documentElement;o.insertBefore(g,o.firstChild);if(h.getElementById(j)){t.find.ID=function(r,z,y){if(typeof z.getElementById!=="undefined"&&!y)return(z=
z.getElementById(r[1]))?z.id===r[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===r[1]?[z]:H:[]};t.filter.ID=function(r,z){var y=typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id");return r.nodeType===1&&y&&y.nodeValue===z}}o.removeChild(g);o=g=null})();(function(){var g=h.createElement("div");g.appendChild(h.createComment(""));if(g.getElementsByTagName("*").length>0)t.find.TAG=function(j,o){o=o.getElementsByTagName(j[1]);if(j[1]==="*"){j=[];for(var r=
0;o[r];r++)o[r].nodeType===1&&j.push(o[r]);o=j}return o};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")t.attrHandle.href=function(j){return j.getAttribute("href",2)};g=null})();h.querySelectorAll&&function(){var g=p,j=h.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){p=function(r,z,y,M){z=z||h;if(!M&&z.nodeType===9&&!P(z))try{return U(z.querySelectorAll(r),
y)}catch(G){}return g(r,z,y,M)};for(var o in g)p[o]=g[o];j=null}}();(function(){var g=h.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){t.order.splice(1,0,"CLASS");t.find.CLASS=function(j,o,r){if(typeof o.getElementsByClassName!=="undefined"&&!r)return o.getElementsByClassName(j[1])};g=null}}})();var fa=h.compareDocumentPosition?
function(g,j){return!!(g.compareDocumentPosition(j)&16)}:function(g,j){return g!==j&&(g.contains?g.contains(j):true)},P=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ya=function(g,j){var o=[],r="",z;for(j=j.nodeType?[j]:j;z=t.match.PSEUDO.exec(g);){r+=z[0];g=g.replace(t.match.PSEUDO,"")}g=t.relative[g]?g+"*":g;z=0;for(var y=j.length;z<y;z++)p(g,j[z],o);return p.filter(r,o)};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.text=
a;c.isXMLDoc=P;c.contains=fa})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,gb=/,/;ia=Array.prototype.slice;var Qa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,l){return!!b.call(f,l,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(C.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})};c.fn.extend({find:function(a){for(var b=
this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var l=d;l<b.length;l++)for(var m=0;m<d;m++)if(b[m]===b[l]){b.splice(l--,1);break}}return b},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(Qa(this,a,false),"not",a)},filter:function(a){return this.pushStack(Qa(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>
0},closest:function(a,b){if(c.isArray(a)){var d=[],e=this[0],f,l={},m;if(e&&a.length){f=0;for(var s=a.length;f<s;f++){m=a[f];l[m]||(l[m]=c.expr.match.POS.test(m)?c(m,b||this.context):m)}for(;e&&e.ownerDocument&&e!==b;){for(m in l){f=l[m];if(f.jquery?f.index(e)>-1:c(e).is(f)){d.push({selector:m,elem:e});delete l[m]}}e=e.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(t,A){for(;A&&A.ownerDocument&&A!==b;){if(p?p.index(A)>-1:c(A).is(a))return A;
A=A.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(!a[0]||!a[0].parentNode||a[0].parentNode.nodeType===11||!b[0]||!b[0].parentNode||b[0].parentNode.nodeType===11?b:c.unique(b))},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);eb.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||gb.test(e))&&fb.test(a))f=f.reverse();return this.pushStack(f,a,ia.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,
b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===H||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 Ra=/ jQuery\d+="(?:\d+|null)"/g,sa=/^\s+/,Sa=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ta=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,
Ea=/<script|<object|<embed|<option|<style/i,Fa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ua=function(a,b,d){return hb.test(d)?a:b+"></"+d+">"},ga={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,"",""]};ga.optgroup=ga.option;ga.tbody=
ga.tfoot=ga.colgroup=ga.caption=ga.thead;ga.th=ga.td;if(!c.support.htmlSerialize)ga._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!==H)return this.empty().append((this[0]&&this[0].ownerDocument||h).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){return this.each(function(){c(this).wrapAll(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(arguments[0]);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(arguments[0]).toArray());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){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ra,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(sa,
"")],e)[0]}else return this.cloneNode(true)});if(a===true){F(this,b);F(this.find("*"),b.find("*"))}return b},html:function(a){if(a===H)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ra,""):null;else if(typeof a==="string"&&!Ea.test(a)&&(c.support.leadingWhitespace||!sa.test(a))&&!ga[(Ta.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Sa,Ua);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 l=c(this),m=l.html();l.empty().append(function(){return a.call(this,f,m)})}):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.pushStack(c(c.isFunction(a)?
a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,l=a[0],m=[],s;if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&Fa.test(l))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(l))return this.each(function(t){var A=c(this);a[0]=l.call(this,t,b?A.html():H);A.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:B(a,this,
m);s=e.fragment;if(f=s.childNodes.length===1?s=s.firstChild:s.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var p=this.length;f<p;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],f>0||e.cacheable||this.length>1?s.cloneNode(true):s)}m.length&&c.each(m,$)}return this}});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 l=d.length;f<l;f++){var m=(f>0?this.clone(true):this).get();c.fn[b].apply(c(d[f]),m);e=e.concat(m)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||h;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||h;for(var f=[],l=0,m;(m=a[l])!=null;l++){if(typeof m===
"number")m+="";if(m){if(typeof m==="string"&&!jb.test(m))m=b.createTextNode(m);else if(typeof m==="string"){m=m.replace(Sa,Ua);var s=(Ta.exec(m)||["",""])[1].toLowerCase(),p=ga[s]||ga._default,t=p[0],A=b.createElement("div");for(A.innerHTML=p[1]+m+p[2];t--;)A=A.lastChild;if(!c.support.tbody){t=ib.test(m);s=s==="table"&&!t?A.firstChild&&A.firstChild.childNodes:p[1]==="<table>"&&!t?A.childNodes:[];for(p=s.length-1;p>=0;--p)c.nodeName(s[p],"tbody")&&!s[p].childNodes.length&&s[p].parentNode.removeChild(s[p])}!c.support.leadingWhitespace&&
sa.test(m)&&A.insertBefore(b.createTextNode(sa.exec(m)[0]),A.firstChild);m=A.childNodes}if(m.nodeType)f.push(m);else f=c.merge(f,m)}}if(d)for(l=0;f[l];l++)if(e&&c.nodeName(f[l],"script")&&(!f[l].type||f[l].type.toLowerCase()==="text/javascript"))e.push(f[l].parentNode?f[l].parentNode.removeChild(f[l]):f[l]);else{f[l].nodeType===1&&f.splice.apply(f,[l+1,0].concat(c.makeArray(f[l].getElementsByTagName("script"))));d.appendChild(f[l])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,
l=c.support.deleteExpando,m=0,s;(s=a[m])!=null;m++)if(d=s[c.expando]){b=e[d];if(b.events)for(var p in b.events)f[p]?c.event.remove(s,p):Ka(s,p,b.handle);if(l)delete s[c.expando];else s.removeAttribute&&s.removeAttribute(c.expando);delete e[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Va=/alpha\([^)]*\)/,Wa=/opacity=([^)]*)/,za=/float/i,Aa=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],
qb=["Top","Bottom"],rb=h.defaultView&&h.defaultView.getComputedStyle,Xa=c.support.cssFloat?"cssFloat":"styleFloat",Ba=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return S(this,a,b,true,function(d,e,f){if(f===H)return c.curCSS(d,e);if(typeof f==="number"&&!kb.test(e))f+="px";c.style(d,e,f)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return H;if((b==="width"||b==="height")&&parseFloat(d)<0)d=H;var e=a.style||a,f=d!==H;if(!c.support.opacity&&b==="opacity"){if(f){e.zoom=
1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=e.filter||c.curCSS(a,"filter")||"";e.filter=Va.test(a)?a.replace(Va,b):b}return e.filter&&e.filter.indexOf("opacity=")>=0?parseFloat(Wa.exec(e.filter)[1])/100+"":""}if(za.test(b))b=Xa;b=b.replace(Aa,Ba);if(f)e[b]=d;return e[b]},css:function(a,b,d,e){if(b==="width"||b==="height"){var f,l=b==="width"?pb:qb;d=function(){f=b==="width"?a.offsetWidth:a.offsetHeight;e!=="border"&&c.each(l,function(){e||(f-=parseFloat(c.curCSS(a,"padding"+this,
true))||0);if(e==="margin")f+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else f-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,ob,d);return Math.max(0,Math.round(f))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var e,f=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){e=Wa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return e===""?"1":e}if(za.test(b))b=Xa;if(!d&&f&&f[b])e=f[b];else if(rb){if(za.test(b))b="float";b=b.replace(lb,
"-$1").toLowerCase();f=a.ownerDocument.defaultView;if(!f)return null;if(a=f.getComputedStyle(a,null))e=a.getPropertyValue(b);if(b==="opacity"&&e==="")e="1"}else if(a.currentStyle){d=b.replace(Aa,Ba);e=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(e)&&nb.test(e)){b=f.left;var l=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=d==="fontSize"?"1em":e||0;e=f.pixelLeft+"px";f.left=b;a.runtimeStyle.left=l}}return e},swap:function(a,b,d){var e={};for(var 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]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,e=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!e?true:b>0&&d>0&&!e?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=u(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,na=/=\?(&|$)/,
Ca=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return zb.call(this,a);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=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var l=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(m,s){if(s==="success"||s==="notmodified")l.html(f?
c("<div />").append(m.responseText.replace(tb,"")).find(f):m.responseText);d&&l.each(d,[m.responseText,s,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||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,
value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",
url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:n.XMLHttpRequest&&(n.location.protocol!=="file:"||!n.ActiveXObject)?function(){return new n.XMLHttpRequest}:function(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",
json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){f.success&&f.success.call(p,s,m,P);f.global&&e("ajaxSuccess",[P,f])}function d(){f.complete&&f.complete.call(p,P,m);f.global&&e("ajaxComplete",[P,f]);f.global&&!--c.active&&c.event.trigger("ajaxStop")}function e(z,y){(f.context?c(f.context):c.event).trigger(z,y)}var f=c.extend(true,{},c.ajaxSettings,a),l,m,s,p=a&&a.context||f,t=f.type.toUpperCase();if(f.data&&f.processData&&
typeof f.data!=="string")f.data=c.param(f.data,f.traditional);if(f.dataType==="jsonp"){if(t==="GET")na.test(f.url)||(f.url+=(Ca.test(f.url)?"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!na.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&na.test(f.data)||na.test(f.url))){l=f.jsonpCallback||"jsonp"+sb++;if(f.data)f.data=(f.data+"").replace(na,"="+l+"$1");f.url=f.url.replace(na,"="+l+"$1");f.dataType="script";n[l]=n[l]||
function(z){s=z;b();d();n[l]=H;try{delete n[l]}catch(y){}U&&U.removeChild(X)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===false&&t==="GET"){var A=u(),N=f.url.replace(wb,"$1_="+A+"$2");f.url=N+(N===f.url?(Ca.test(f.url)?"&":"?")+"_="+A:"")}if(f.data&&t==="GET")f.url+=(Ca.test(f.url)?"&":"?")+f.data;f.global&&!c.active++&&c.event.trigger("ajaxStart");A=(A=xb.exec(f.url))&&(A[1]&&A[1]!==location.protocol||A[2]!==location.host);if(f.dataType==="script"&&t==="GET"&&A){var U=h.getElementsByTagName("head")[0]||
h.documentElement,X=h.createElement("script");X.src=f.url;if(f.scriptCharset)X.charset=f.scriptCharset;if(!l){var V=false;X.onload=X.onreadystatechange=function(){if(!V&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){V=true;b();d();X.onload=X.onreadystatechange=null;U&&X.parentNode&&U.removeChild(X)}}}U.insertBefore(X,U.firstChild);return H}var fa=false,P=f.xhr();if(P){f.username?P.open(t,f.url,f.async,f.username,f.password):P.open(t,f.url,f.async);try{if(f.data||a&&
a.contentType)P.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){c.lastModified[f.url]&&P.setRequestHeader("If-Modified-Since",c.lastModified[f.url]);c.etag[f.url]&&P.setRequestHeader("If-None-Match",c.etag[f.url])}A||P.setRequestHeader("X-Requested-With","XMLHttpRequest");P.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":f.accepts._default)}catch(ya){}if(f.beforeSend&&f.beforeSend.call(p,P,f)===false){f.global&&!--c.active&&c.event.trigger("ajaxStop");
P.abort();return false}f.global&&e("ajaxSend",[P,f]);var g=P.onreadystatechange=function(z){if(!P||P.readyState===0||z==="abort"){fa||d();fa=true;if(P)P.onreadystatechange=c.noop}else if(!fa&&P&&(P.readyState===4||z==="timeout")){fa=true;P.onreadystatechange=c.noop;m=z==="timeout"?"timeout":!c.httpSuccess(P)?"error":f.ifModified&&c.httpNotModified(P,f.url)?"notmodified":"success";var y;if(m==="success")try{s=c.httpData(P,f.dataType,f)}catch(M){m="parsererror";y=M}if(m==="success"||m==="notmodified")l||
b();else c.handleError(f,P,m,y);d();z==="timeout"&&P.abort();if(f.async)P=null}};try{var j=P.abort;P.abort=function(){P&&j.call(P);g("abort")}}catch(o){}f.async&&f.timeout>0&&setTimeout(function(){P&&!fa&&g("timeout")},f.timeout);try{P.send(t==="POST"||t==="PUT"||t==="DELETE"?f.data:null)}catch(r){c.handleError(f,P,null,r);d()}f.async||g();return P}},handleError:function(a,b,d,e){if(a.error)a.error.call(a.context||a,b,d,e);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,e])},
active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304||a.status===0},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;
f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(m,s){if(c.isArray(s))c.each(s,function(p,t){b||/\[\]$/.test(m)?e(m,t):d(m+"["+(typeof t==="object"||c.isArray(t)?p:"")+"]",t)});else!b&&s!=null&&typeof s==="object"?c.each(s,function(p,t){d(m+"["+p+"]",
t)}):e(m,s)}function e(m,s){s=c.isFunction(s)?s():s;f[f.length]=encodeURIComponent(m)+"="+encodeURIComponent(s)}var f=[];if(b===H)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var l in a)d(l,a[l]);return f.join("&").replace(yb,"+")}});var Da={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,ta,Ga=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],
["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var e;if(Da[d])e=Da[d];else{var f=c("<"+d+" />").appendTo("body");e=f.css("display");if(e==="none")e="block";f.remove();Da[d]=e}c.data(this[a],"olddisplay",e)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},
hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var e=d?a:c(this).is(":hidden");c(this)[e?"show":
"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var l=c.extend({},f),m,s=this.nodeType===1&&c(this).is(":hidden"),p=this;for(m in a){var t=m.replace(Aa,Ba);if(m!==t){a[t]=a[m];delete a[m];m=t}if(a[m]==="hide"&&s||a[m]==="show"&&!s)return l.complete.call(this);
if((m==="height"||m==="width")&&this.style){l.display=c.css(this,"display");l.overflow=this.style.overflow}if(c.isArray(a[m])){(l.specialEasing=l.specialEasing||{})[m]=a[m][1];a[m]=a[m][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=c.extend({},a);c.each(a,function(A,N){var U=new c.fx(p,l,A);if(Ab.test(N))U[N==="toggle"?s?"show":"hide":N](a);else{var X=Bb.exec(N),V=U.cur(true)||0;if(X){N=parseFloat(X[2]);var fa=X[3]||"px";if(fa!=="px"){p.style[A]=(N||1)+fa;V=(N||1)/U.cur(true)*V;p.style[A]=
V+fa}if(X[1])N=(X[1]==="-="?-1:1)*N+V;U.custom(V,N,fa)}else U.custom(V,N,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e){return this.animate(b,d,e)}});c.extend({speed:function(a,
b,d){var e=a&&typeof a==="object"?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:c.fx.speeds[e.duration]||c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(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;if(!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);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,
this.prop))||0},custom:function(a,b,d){function e(l){return f.step(l)}this.startTime=u();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ta)ta=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=
c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=u(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,
"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)c.style(this.elem,f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{f=b-this.startTime;this.state=f/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,f,0,1,this.options.duration);
this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(ta);ta=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.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=
a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in h.documentElement?function(a){var b=this[0];if(a)return this.each(function(f){c.offset.setOffset(this,a,f)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),e=b.ownerDocument;b=e.body;e=e.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&
e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(A){c.offset.setOffset(this,a,A)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,e=b,f=b.ownerDocument,l,m=f.documentElement,s=f.body;e=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;
for(var p=b.offsetTop,t=b.offsetLeft;(b=b.parentNode)&&b!==s&&b!==m;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;l=f?f.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;t-=b.scrollLeft;if(b===d){p+=b.offsetTop;t+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(l.borderTopWidth)||0;t+=parseFloat(l.borderLeftWidth)||0}e=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&l.overflow!==
"visible"){p+=parseFloat(l.borderTopWidth)||0;t+=parseFloat(l.borderLeftWidth)||0}e=l}if(e.position==="relative"||e.position==="static"){p+=s.offsetTop;t+=s.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){p+=Math.max(m.scrollTop,s.scrollTop);t+=Math.max(m.scrollLeft,s.scrollLeft)}return{top:p,left:t}};c.offset={initialize:function(){var a=h.body,b=h.createElement("div"),d,e,f,l=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,
border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=
f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==l;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,
"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var e=c(a),f=e.offset(),l=parseInt(c.curCSS(a,"top",true),10)||0,m=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,f);d={top:b.top-f.top+l,left:b.left-f.left+m};"using"in b?b.using.call(a,d):e.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),
d=this.offset(),e=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;e.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;e.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||h.body;a&&!/^body|html$/i.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=this[0],l;if(!f)return null;return e!==H?this.each(function(){if(l=R(this))l.scrollTo(!a?e:c(l).scrollLeft(),a?e:c(l).scrollTop());else this[d]=e}):(l=R(f))?"pageXOffset"in l?l[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&l.document.documentElement[d]||l.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],
d,false,"padding"):null};c.fn["outer"+b]=function(e){return this[0]?c.css(this[0],d,false,e?"margin":"border"):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(l){var m=c(this);m[d](e.call(this,l,m[d]()))});return"scrollTo"in f&&f.document?f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b]:f.nodeType===9?Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+
b],f.body["offset"+b],f.documentElement["offset"+b]):e===H?c.css(f,d):this.css(d,typeof e==="string"?e:e+"px")}});n.jQuery=n.$=c})(window);(function(n){function H(q){if(!q)return u;try{if("metadata"in q&&"object"!==typeof q.metadata)q.metadata={type:q.metadata};if("content"in q){if("object"!==typeof q.content||q.content.jquery)q.content={text:q.content};var v=q.content.text||u;if(v.length<1||!v&&!v.attr||v.jquery&&v.is(":empty"))q.content.text=u;if("title"in q.content&&"object"!==typeof q.content.title)q.content.title=
{text:q.content.title}}if("position"in q){if("object"!==typeof q.position)q.position={my:q.position,at:q.position};if("object"!==typeof q.position.adjust)q.position.adjust={};if(String(q.position.adjust.screen).replace("true","flip").search(/flip|fit/)<0)q.position.adjust.screen=u}if("show"in q){if("object"!==typeof q.show)q.show={event:q.show};if("object"!==typeof q.show)q.show=q.show.jquery?{target:q.show}:{event:q.show}}if("hide"in q)if("object"!==typeof q.hide)q.hide=q.hide.jquery?{target:q.hide}:
{event:q.hide};if("style"in q&&"object"!==typeof q.style)q.style={classes:q.style}}catch(x){}n.each(n.fn.qtip.plugins,function(){this.sanitize&&this.sanitize(q)})}function da(q,v,x){function F(h){var k,D;h=h.split(".");k=v[h[0]];for(D=1;D<h.length;D+=1)if(typeof k[h[D]]==="object"&&!k[h[D]].jquery)k=k[h[D]];else break;return[k,h[D]]}function B(h){var k=!i.elements.tooltip.is(":visible")?S:u,D=u;if(!i.rendered)return u;k&&i.elements.tooltip.addClass("ui-tooltip-accessible");switch(h){case "dimensions":D=
{height:i.elements.tooltip.outerHeight(),width:i.elements.tooltip.outerWidth()};break;case "position":D=i.elements.tooltip.offset();break}k&&i.elements.tooltip.removeClass("ui-tooltip-accessible");return D}function K(){var h=i.elements,k=v.content.title.button;h.title&&h.title.remove();h.tooltip.attr("aria-labelledby","ui-tooltip-title-"+x);h.titlebar=n("<div />").addClass("ui-tooltip-titlebar ui-widget-header").prependTo(h.wrapper);h.title=n("<div />").attr("id","ui-tooltip-"+x+"-title").addClass("ui-tooltip-title").html(v.content.title.text).appendTo(h.titlebar);
if(k){h.button=k.jquery?k:"string"===typeof k?n("<a />").html(k):n("<a />").addClass("ui-state-default").append(n("<span />").addClass("ui-icon ui-icon-close"));h.button.prependTo(h.titlebar).attr("role","button").addClass("ui-tooltip-"+(k===S?"close":"button")).hover(function(D){n(this).toggleClass("ui-state-hover",D.type==="mouseenter")}).click(function(){h.tooltip.hasClass("ui-state-disabled")||i.hide();return u}).bind("mousedown keydown mouseup keyup mouseout",function(D){n(this).toggleClass("ui-state-active ui-state-focus",
/down$/i.test(D.type))})}else h.button&&h.button.remove()}function R(h){if(!i.rendered||!h)return u;if(h.jquery&&h.length>0)v.content.clone?i.elements.content.html(h.clone(S).removeAttr("id").css({display:"block"})):i.elements.content.append(h.css({display:"block"}));else i.elements.content.html(h);h=void 0;if(i.rendered&&n.browser.msie){var k=i.elements.tooltip,D,C;k.css({width:"auto",maxWidth:"none"});h=B("dimensions").width;k.css({maxWidth:""});D=parseInt(k.css("max-width"),10)||0;C=parseInt(k.css("min-width"),
10)||0;h=Math.min(Math.max(h,C),D);if(h%2)h+=1;k.width(h)}i.reposition(i.cache.event);if(i.rendered<0){if(v.show.ready||i.rendered===-2)i.show(i.cache.event);i.rendered=S}return i}function c(h,k,D,C){function I(Q){if(E.tooltip.hasClass("ui-state-disabled"))return u;E.show.trigger("qtip-"+x+"-inactive");clearTimeout(i.timers.show);clearTimeout(i.timers.hide);i.timers.show=setTimeout(function(){i.show(Q)},v.show.delay)}function O(Q){if(E.tooltip.hasClass("ui-state-disabled"))return u;clearTimeout(i.timers.show);
clearTimeout(i.timers.hide);if(v.hide.fixed&&/mouse(out|leave)/.test(Q.type)&&n(Q.relatedTarget).parents(".qtip.ui-tooltip").length||v.position.target==="mouse"&&v.position.adjust.mouse===S&&n(Q.relatedTarget).parents(".qtip.ui-tooltip").length){Q.stopPropagation();Q.preventDefault();return u}E.tooltip.stop(S,S);i.timers.hide=setTimeout(function(){i.hide(Q)},v.hide.delay)}function W(Q){if(E.tooltip.hasClass("ui-state-disabled"))return u;clearTimeout(i.timers.inactive);i.timers.inactive=setTimeout(function(){i.hide(Q)},
v.hide.inactive)}var L=".qtip-"+x,E={show:v.show.target,hide:v.hide.target,tooltip:i.elements.tooltip},Y={show:String(v.show.event).split(" "),hide:String(v.hide.event).split(" ")};if(D&&v.hide.fixed){E.hide=E.hide.add(E.tooltip);E.tooltip.bind("mouseover"+L,function(){E.tooltip.hasClass("ui-state-disabled")||clearTimeout(i.timers.hide)})}if(k){if("number"===typeof v.hide.inactive){E.show.bind("qtip-"+x+"-inactive",W);n.each(n.fn.qtip.inactiveEvents,function(Q,Z){E.hide.add(i.elements.tooltip).bind(Z+
L+"-inactive",W)})}n.each(Y.hide,function(Q,Z){var ca=n.inArray(Z,Y.show);if(ca>-1&&n(E.hide).add(E.show).length===n(E.hide).length||Z==="unfocus"){E.show.bind(Z+L,function(aa){E.tooltip.is(":visible")?O(aa):I(aa)});delete Y.show[ca]}else E.hide.bind(Z+L,O)})}if(h){n.each(Y.show,function(Q,Z){E.show.bind(Z+L,I)});v.position.target==="mouse"&&E.show.bind("mousemove"+L,function(Q){v.position.adjust.mouse&&!E.tooltip.hasClass("ui-state-disabled")&&E.tooltip.is(":visible")&&i.reposition(Q)});E.tooltip.bind("mouseover"+
L,function(){i.focus()})}if(C){if(v.position.adjust.scroll&&(n(v.position.target)[0]===window||n(v.position.target)[0]===document))n(window).bind("scroll"+L,function(Q){var Z=i.get("dimensions");if(i.elements.tooltip.is(":visible")&&!(Z.height>n(window).height()||Z.width>n(window).width()))i.reposition(Q)});v.position.adjust.resize&&n(window).bind("resize"+L,function(Q){i.elements.tooltip.is(":visible")&&i.reposition(Q)});/unfocus/i.test(v.hide.event)&&n(document).bind("mousedown"+L,function(Q){var Z=
i.elements.tooltip;n(Q.target).parents(".qtip.ui-tooltip").length===0&&n(Q.target).add(q).length>1&&Z.is(":visible")&&!Z.hasClass("ui-state-disabled")&&i.hide()})}}function ha(h,k,D,C){C=parseInt(C,10)!==0;var I=".qtip-"+x,O={show:h?v.show.target:n("<div/>"),hide:k?v.hide.target:n("<div/>"),tooltip:D?i.elements.tooltip:n("<div/>")};k={show:String(v.show.event).split(" "),hide:String(v.hide.event).split(" ")};if(i.rendered){n.each(k.show,function(W,L){O.show.unbind(L+I)});O.show.unbind("mousemove"+
I).unbind("mouseout"+I).unbind("qtip-"+x+"-inactive");n.each(k.hide,function(W,L){O.hide.add(O.tooltip).unbind(L+I)});n.each(n.fn.qtip.inactiveEvents,function(W,L){O.hide.add(D?i.elements.content:ba).unbind(L+I+"-inactive")});O.hide.unbind("mouseout"+I);O.tooltip.unbind("mouseover"+I);if(C){n(window).unbind("resize"+I+" scroll"+I);n(document).unbind("mousedown"+I)}}else h&&O.show.unbind(k.show+I+"-create")}var i=this;i.id=x;i.rendered=u;i.elements={target:q};i.cache={title:"",event:{},disabled:u};
i.timers={};i.options=v;i.plugins={};n.extend(i,{render:function(h){var k=i.elements;if(i.rendered)return u;i.rendered=h?-2:-1;k.tooltip=n("<div/>").attr({id:"ui-tooltip-"+x,role:"tooltip","aria-describedby":"ui-tooltip-"+x+"-content"}).addClass("qtip ui-tooltip ui-widget ui-helper-reset "+v.style.classes).addClass(i.cache.disabled?"ui-state-disabled":"").css("z-index",n.fn.qtip.zindex+n("div.qtip.ui-tooltip").length).data("qtip",i).appendTo(v.position.container);k.wrapper=n("<div />").addClass("ui-tooltip-wrapper").appendTo(k.tooltip);
k.content=n("<div />").addClass("ui-tooltip-content").attr("id","ui-tooltip-"+x+"-content").addClass("ui-tooltip-content ui-widget-content").appendTo(k.wrapper);v.content.title.text&&K();n.each(n.fn.qtip.plugins,function(){this.initialize==="render"&&this(i)});c(1,1,1,1);n.each(v.events,function(D,C){k.tooltip.bind("tooltip"+D,C)});R(v.content.text);k.tooltip.trigger("tooltiprender",[i.hash()]);return i},get:function(h){switch(h.toLowerCase()){case "offset":h=B("position");break;case "dimensions":h=
B("dimensions");break;default:h=F(h.toLowerCase());h=h[0].precedance?h[0].string():h[0].jquery?h[0]:h[0][h[1]];break}return h},set:function(h,k){var D=F(h.toLowerCase()),C={show:v.show.target,hide:v.hide.target},I,O,W={builtin:{"^content.text":function(){R(k)},"^content.title.text":function(){if(i.rendered)if(!i.elements.title&&k){K();i.reposition()}else if(k)i.elements.title.html(k);else{var L=i.elements;if(L.title){L.titlebar.remove();L.titlebar=L.title=L.button=ba;L.tooltip.removeAttr("aria-labelledby")}}},
"^position.container$":function(){i.rendered&&i.elements.tooltip.appendTo(k)},"^position.(corner|adjust|target)":function(){i.rendered&&i.reposition()},"^position.(my|at)$":function(){var L=h.search(/my$/i)>-1?"my":"at";if("string"===typeof k)v.position[L]=new n.fn.qtip.plugins.Corner(k)},"^(show|hide).(event|target|fixed)":function(){var L=h.search(/fixed/i)>-1?[0,[0,1,1,1]]:h.search(/hide/i)<0?["show",[1,0,0,0]]:["hide",[0,1,0,0]];if(L[0])v[L[0]].target=C[L[0]];ha.apply(i,L[1]);if(L[0])v[L[0]].target=
k;c.apply(i,L[1])}}};n.each(i.plugins,function(L){if("object"===typeof this.checks)W[L]=this.checks});D[0][D[1]]=k;H(v);for(I in W)for(O in W[I])RegExp(O,"i").test(h)&&W[I][O].call(i,D[0],D[1],k);return i},toggle:function(h,k){function D(){n(this).css({opacity:"",height:""});h&&n.browser.msie&&n(this).get(0).style&&n(this).get(0).style.removeAttribute("filter")}if(!i.rendered)return u;var C=h?"show":"hide",I=i.elements.tooltip,O=v[C],W=I.is(":visible");if((typeof h).search("boolean|number"))h=!I.is(":visible");
if(W&&h||!W&&!h||I.is(":animated"))return i;if(k){if(i.cache.event&&/over|enter/.test(k.type)&&/out|leave/.test(i.cache.event.type)&&n(k.target).add(v.show.target).length<2&&n(k.relatedTarget).parents(".qtip.ui-tooltip").length>0)return i;i.cache.event=n.extend({},k)}W=n.Event("tooltip"+C);I.trigger(W,[i.hash(),90]);if(W.isDefaultPrevented())return i;if(h){i.cache.title=q.attr("title");q.removeAttr("title");if(i.rendered===S){i.focus();i.reposition(k)}O.solo&&n(":not(.qtip.ui-tooltip)").qtip("hide")}else{i.cache.title&&
q.attr("title",i.cache.title);clearTimeout(i.timers.show);I.css({opacity:""})}I.attr("aria-hidden",Boolean(!h));I.stop(S,u);if(n.isFunction(O.effect)){O.effect.call(I);I.queue(function(){D();n(this).dequeue()})}else if(O.effect===u){I[C]();D()}else I["fade"+(h?"In":"Out")](90,D);h&&O.target.trigger("qtip-"+x+"-inactive");return i},show:function(h){i.toggle(S,h)},hide:function(h){i.toggle(u,h)},focus:function(){if(!i.rendered)return u;var h=i.elements.tooltip,k=parseInt(h.css("z-index"),10),D=n.fn.qtip.zindex+
n(".qtip.ui-tooltip").length;if(!h.hasClass("ui-tooltip-focus")&&k!==D){n(":not(.qtip.ui-tooltip)").each(function(){var C=n(this).qtip(),I,O;if(!C||!C.rendered)return S;I=C.elements.tooltip;O=parseInt(I.css("z-index"),10);isNaN(O)||I.css({zIndex:O-1});I.removeClass("ui-tooltip-focus");I.trigger("tooltipblur",[C,D])});k=n.Event("tooltipfocus");h.trigger(k,[i.hash(),D]);k.isDefaultPrevented()||h.css({zIndex:D}).addClass("ui-tooltip-focus")}return i},reposition:function(h){if(i.rendered===false)return u;
var k=v.position.target==="event"&&h?n(h.target):v.position.target,D=i.elements.tooltip,C=v.position,I,O,W=i.elements.tooltip.width(),L=i.elements.tooltip.height(),E,Y,Q,Z={fit:{left:function(){var ca=parseInt(E.left,10),aa=E.left+W-n(window).width()-n(window).scrollLeft();E.left=aa>0?E.left-aa:Math.max(0,E.left);return Math.ceil(ca-E.left)},top:function(){var ca=parseInt(E.top,10),aa=E.top+L-n(window).height()-n(window).scrollTop();E.top=aa>0?E.top-aa:Math.max(0,E.top);return Math.ceil(ca-E.top)}},
flip:{left:function(){var ca=E.left+W-n(window).width()-n(window).scrollLeft(),aa=Y.x==="left"?-W:Y.x==="right"?W:0,ia=-2*C.adjust.x;E.left+=E.left<0?aa+I+ia:ca>0?aa-I+ia:0;return Math.round(ca)},top:function(){var ca=E.top+L-n(window).height()-n(window).scrollTop(),aa=Y.y==="top"?-L:Y.y==="bottom"?L:0,ia=Q.y==="top"?O:Q.y==="bottom"?-O:0,pa=-2*C.adjust.y;E.top+=E.top<0?aa+O+pa:ca>0?aa+ia+pa:0;return Math.round(ca)}}};if(C.at.left&&C.at.top){E=n.extend({},v.position.corner);Y=Q={x:"left",y:"top"}}else{Y=
C.my;Q=C.at;if(C.target==="mouse"){Q={x:"left",y:"top"};I=O=0;if(!h)h=i.cache.event;E={top:h.pageY,left:h.pageX}}else{if(k[0]===document){I=k.width();O=k.height();E={top:0,left:0}}else if(k[0]===window){I=k.width();O=k.height();E={top:k.scrollTop(),left:k.scrollLeft()}}else if(k.is("area")&&n.fn.qtip.plugins.areaDetails){E=n.fn.qtip.plugins.areaDetails(k,v.at);I=E.width;O=E.height;E=E.offset}else{I=k.outerWidth();O=k.outerHeight();E=k.offset()}E.left+=Q.x==="right"?I:Q.x==="center"?I/2:0;E.top+=Q.y===
"bottom"?O:Q.y==="center"?O/2:0}E.left+=C.adjust.x+(Y.x==="right"?-W:Y.x==="center"?-W/2:0);E.top+=C.adjust.y+(Y.y==="bottom"?-L:Y.y==="center"?-L/2:0)}E.adjust=C.adjust.screen?{left:Z[C.adjust.screen].left(),top:Z[C.adjust.screen].top()}:{left:0,top:0};h=n.Event("tooltipmove");D.trigger(h,[i.hash(),E]);if(h.isDefaultPrevented())return i;delete E.adjust;if(D.is(":visible")&&n.isFunction(C.adjust.effect)){C.adjust.effect.call(D,E);D.queue(function(){n(this).css({opacity:"",height:""});n.browser.msie&&
n(this).get(0).style&&n(this).get(0).style.removeAttribute("filter");n(this).dequeue()})}else D.css(E);return i},disable:function(h){var k=i.elements.tooltip;if(i.rendered)k.toggleClass("ui-state-disabled",h);else i.cache.disabled=S;return i},destroy:function(){i.rendered&&n.each(i.plugins,function(){this.initialize==="render"&&this.destroy()});ha(1,1,1,1);q.removeData("qtip");i.rendered&&i.elements.tooltip.remove();i.cache.title&&q.attr("title",i.cache.title);return q},hash:function(){var h=n.extend({},
i);delete h.cache;delete h.timers;delete h.options;delete h.plugins;delete h.render;delete h.hash;return h}})}function $(q,v){var x;x=n(this).metadata?n(this).metadata(v.metadata):{};x=n.extend(S,{},v,x);var F=n(this)[0]===document?n(document.body):n(this);if("boolean"===typeof x.content.text)if(x.content.attr!==u&&n(this).attr(x.content.attr))x.content.text=n(this).attr(x.content.attr);else return u;if(x.position.container===u)x.position.container=n(document.body);if(x.position.target===u)x.position.target=
F;if(x.show.target===u)x.show.target=F;if(x.hide.target===u)x.hide.target=F;x.position.at=new n.fn.qtip.plugins.Corner(x.position.at);x.position.my=new n.fn.qtip.plugins.Corner(x.position.my);if(n(this).data("qtip"))if(x.overwrite)n(this).qtip("destroy");else if(x.overwrite===u)return u;x=new da(n(this),x,q);n(this).data("qtip",x);return x}var S=true,u=false,ba=null,w=function(){};n.fn.qtip=function(q,v,x){var F=String(q).toLowerCase(),B=u,K=F==="disable"?[S]:F==="enable"?[u]:n.makeArray(arguments).splice(1),
R;if(!q&&n(this).data("qtip")||F==="api")return(R=n(this).eq(0).data("qtip"))?R.hash():undefined;else if("string"===typeof q){n(this).each(function(){var c=n(this).data("qtip");if(!c)return S;if(/option|set/.test(F)&&v)if(x!==undefined)c.set(v,x);else B=c.get(v);else{if(F==="show"||F==="toggle"&&!c.rendered&&!c.elements.tooltip.is(":visible"))c.render();c[F]&&c[F].apply(c[F],K)}});return B!==u?B:n(this)}else if("object"===typeof q){H(q);R=n.extend(S,{},n.fn.qtip.defaults,q);return n.fn.qtip.bind.call(this,
R)}};n.fn.qtip.bind=function(q){return n(this).each(function(){function v(ha){function i(){F.render(typeof ha==="object"||B.show.ready);K.show.unbind(R.show);K.hide.unbind(R.hide)}F.cache.event=n.extend({},ha);if(B.show.delay>0){F.timers.show=setTimeout(i,B.show.delay);R.show!==R.hide&&K.hide.bind(R.hide,function(){clearTimeout(F.timers.show)})}else i()}var x,F,B,K,R,c;x=q.id===u||q.id.length<1||n("#ui-tooltip-"+q.id).length?n.fn.qtip.nextid++:q.id;c=".qtip-"+x+"-create";F=$.call(n(this),x,q);if(F===
u)return S;B=F.options;n.each(n.fn.qtip.plugins,function(){this.initialize==="initialize"&&this(F)});K={show:B.show.target,hide:B.hide.target};R={show:String(B.show.event).replace(" ",c+" ")+c,hide:(String(B.hide.event)+" mouseleave").replace(" ",c+" ")+c};B.show.ready||B.prerender||B.show.event===u?v():K.show.bind(R.show,v)})};n.fn.qtip.nextid=0;n.fn.qtip.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" ");n.fn.qtip.zindex=15E3;n.fn.qtip.plugins={Corner:function(q){this.x=
String(q).replace(/middle/i,"center").match(/left|right|center/i)[0].toLowerCase();this.y=String(q).replace(/middle/i,"center").match(/top|bottom|center/i)[0].toLowerCase();this.offset={left:0,top:0};this.precedance=q.charAt(0).search(/^(t|b)/)>-1?"y":"x";this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y}}};n.fn.qtip.defaults={prerender:u,id:u,overwrite:S,metadata:{type:"class"},content:{text:S,attr:"title",clone:S,title:{text:u,button:u}},position:{my:"top left",at:"bottom right",
target:u,container:u,adjust:{x:0,y:0,mouse:S,screen:u,scroll:S,resize:S,effect:S}},show:{target:u,event:"mouseenter",effect:S,delay:140,solo:u,ready:u},hide:{target:u,event:"mouseleave",effect:S,delay:0,fixed:u,inactive:u},style:{classes:""},events:{render:w,move:w,show:w,hide:w,focus:w,blur:w}}})(jQuery);(function(n){function H(u){function ba(q,v,x){if(!w.corner.adjust)return $;q=n.extend({},w.corner);var F=n.extend(da,{},x),B=q.precedance==="y"?["y","x","top","height"]:["x","y","left","width"],
K=F.adjust,R=v.get("position.adjust.screen");q.offset={left:0,top:0};F[B[2]]+=(q[B[0]]===B[2]?1:-1)*w.size[B[3]];n.extend(x,F);if(function(){var c=w.cache.overflow.left,ha=w.cache.overflow.top,i=K.left>0,h=K.top>0;return R==="fit"?da:!(!c&&i||c&&!i||ha&&!h||!ha&&h)}()!==da){if(q.x!=="center"&&K.left>-1)q.x=q.x==="left"?"right":"left";if(q.y!=="center"&&K.top>-1)q.y=q.y==="top"?"bottom":"top";w.cache.overflow={left:w.corner.x!==q.x,top:w.corner.y!==q.y};w.corner.string()!==q.string()&&w.create();w.update(q)}}
var w=this;w.qTip=u;w.tip=S;w.corner=S;w.type=S;w.size={width:u.options.style.tip.width,height:u.options.style.tip.height};w.method="css";w.cache={overflow:{left:$,top:$}};w.checks={"^position.my$":function(){this.get("style.tip.corner")===da&&w.checks["^style.tip.(corner|type)"].call(this)},"^style.tip.(corner|type)":function(){w.determine();w.update();this.get("position.target")!=="mouse"&&this.reposition()},"^style.tip.(height|width)":function(){w.size={width:u.options.style.tip.width,height:u.options.style.tip.height};
w.create();w.update();u.reposition()}};n.extend(w,{init:function(){if(w.determine()===$)return $;u.elements.tooltip.bind("tooltipmove.tip",ba);w.create();w.update();return w},determine:function(){var q=u.options.style.tip.corner,v=u.options.style.tip.type||q,x=u.options.position.at,F=u.options.position.my;if(F.string)F=F.string();if(q===$||F===$&&x===$)return $;else{if(q===da){w.corner=new n.fn.qtip.plugins.Corner(F);w.corner.adjust=da}else if(!q.string)w.corner=new n.fn.qtip.plugins.Corner(q);if(v===
da){w.type=new n.fn.qtip.plugins.Corner(F);w.type.adjust=da}else if(!v.string)w.type=new n.fn.qtip.plugins.Corner(v)}return w.corner.string()!=="centercenter"},create:function(){w.tip&&w.tip.remove();w.tip=n('<div class="ui-tooltip-tip ui-widget-content"></div>').prependTo(u.elements.tooltip);w.method=u.options.style.tip.antialias!==$?n("<canvas/>").get(0).getContext?"canvas":n.browser.msie?"vml":"css":"css";switch(w.method){case "canvas":w.tip.append('<canvas height="'+w.size.height+'" width="'+
w.size.width+'"></canvas>');break;case "vml":w.tip.html('<vml:shape coordorigin="0 0" coordsize="'+w.size.width+" "+w.size.height+'" stroked="FALSE"  style="behavior:url(#default#VML); display:inline-block; antialias:TRUE; width:'+w.size.width+"px; height:"+w.size.height+"px; vertical-align:"+w.corner.y+';"></vml:shape>');break;case "css":w.tip.addClass("ui-tooltip-tip-"+w.corner.string()).append('<div class="ui-tooltip-tip-inner"></div>');break}return w},update:function(q){var v,x,F,B;x=w.tip.children(":first");
F="px solid ";var K=q;if(!q){q=w.corner;K=w.type}if(w.method!=="css"){v=K.string();B=w.size.width;var R=w.size.height;B={bottomright:[[0,0],[B,R],[B,0]],bottomleft:[[0,0],[B,0],[0,R]],topright:[[0,R],[B,0],[B,R]],topleft:[[0,0],[0,R],[B,R]],topcenter:[[0,R],[B/2,0],[B,R]],bottomcenter:[[0,0],[B,0],[B/2,R]],rightcenter:[[0,0],[B,R/2],[0,R]],leftcenter:[[B,0],[B,R],[0,R/2]]};B.lefttop=B.bottomright;B.righttop=B.bottomleft;B.leftbottom=B.topright;B.rightbottom=B.topleft;B=B[v]}v=w.tip.css("background-color",
"").css("background-color");v=v==="transparent"||v==="rgba(0, 0, 0, 0)"?u.elements.wrapper.css("border-top-color"):v;w.tip.css("background-color","transparent");F+=v;switch(w.method){case "canvas":x=x.get(0).getContext("2d");x.fillStyle=v;x.miterLimit=0;x.clearRect(0,0,3E3,3E3);x.beginPath();x.moveTo(B[0][0],B[0][1]);x.lineTo(B[1][0],B[1][1]);x.lineTo(B[2][0],B[2][1]);x.closePath();x.fill();break;case "vml":F="m"+B[0][0]+","+B[0][1]+" l"+B[1][0]+","+B[1][1]+" "+B[2][0]+","+B[2][1]+" xe";x.attr({path:F,
fillcolor:v});break;case "css":x.removeAttr("style");v={x:K.precedance==="x"?K.x==="left"?"right":"left":K.x,y:K.precedance==="y"?K.y==="top"?"bottom":"top":K.y};if(K.x==="center")x.css({borderLeft:w.size.width/2+"px solid transparent",borderRight:w.size.width/2+"px solid transparent"}).css("border-"+v.y,w.size.height+F);else K.y==="center"?x.css({borderTop:w.size.height/2+"px solid transparent",borderBottom:w.size.height/2+"px solid transparent"}).css("border-"+v.x,w.size.width+F):x.css("border-width",
w.size.height/2+"px "+w.size.width/2+"px").css("border-"+v.x,w.size.width/2+F).css("border-"+v.y,w.size.height/2+F);break}q=q;x=["left","right"];F=u.options.style;K=0;v=q.y+q.x.substr(0,1).toUpperCase()+q.x.substr(1);B={left:0,right:0,top:0,bottom:0};q=q||w.corner;if(!(u.options.style.tip.corner===$||!w.tip)){w.tip.css({top:"",bottom:"",left:"",right:"",margin:""});x[q.precedance==="y"?"push":"unshift"]("top","bottom");try{v=F.radius||F[v].radius}catch(c){v=0}if(n.browser.msie&&w.method!=="css")B=
{left:1,top:1,right:q.precedance==="y"?1:2,bottom:q.precedance==="x"?1:2};switch(q[q.precedance==="y"?"x":"y"]){case "center":w.tip.css(x[0],"50%").css("margin-"+x[0],-(w.size[q.precedance==="y"?"width":"height"]/2));break;case x[0]:w.tip.css(x[0],q.offset.left-B[x[0]]-K+v);break;case x[1]:w.tip.css(x[1],q.offset.left+B[x[1]]-K+v);break}K+=w.size[q.precedance==="x"?"width":"height"];q[q.precedance]===x[2]?w.tip.css(x[2],q.offset[x[2]]-B[x[2]]-K):w.tip.css(x[3],q.offset[x[2]]+B[x[3]]-K)}return w},
destroy:function(){w.tip&&w.tip.add(w.elements.qTip).removeData("qtip").remove();u.elements.tooltip.unbind("tooltipmove.tip")}})}var da=true,$=false,S=null;if(!n.fn.qtip){window.console&&window.console.error("This plugin requires the qTip library.","");return $}n.fn.qtip.plugins.tip=function(u){var ba=u.plugins.tip;if(u.options.style.tip)if(ba)return ba;else{u.plugins.tip=new H(u);if(u.plugins.tip.determine())u.plugins.tip.init();else delete u.plugins.tip;return u.plugins.tip}};n.fn.qtip.plugins.tip.initialize=
"render";n.fn.qtip.plugins.tip.sanitize=function(u){if(u.style!==undefined&&u.style.tip!==undefined){if(typeof u.style.tip!=="object")u.style.tip={corner:u.style.tip};if(typeof u.style.tip.width!=="number")u.style.tip.width=14;if(typeof u.style.tip.height!=="number")u.style.tip.height=14}}})(jQuery);var J=jQuery.noConflict(true);J.browser.msie&&J.browser.version<7||J.browser.safari&&J.browser.version<"525"||J(document).ready(function(){function n(i){return i.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/,
function(h){return h.link(h)})}function H(i){return i.replace(/\S+/g,function(h){return h.charAt(0).toUpperCase()+h.slice(1).toLowerCase()})}function da(i){if(i.length!=10)return i;return"("+i.substring(0,3)+") "+i.substring(3,6)+"-"+i.substring(6,10)}function $(i){i=i.replace(/,/g,"");i=i.split(" ");i=i[0]+" "+i[2]+" "+i[1]+" "+i[4]+" "+i[5]+" "+i[3];return S(i)}function S(i){var h=i.split(" ");i=h[1]+" "+h[2]+", "+h[5]+" "+h[3];var k=Date.parse(i);h=arguments.length>1?arguments[1]:new Date;k=parseInt((h.getTime()-
k)/1E3);k+=h.getTimezoneOffset()*60;h="";return h=k<60?"a minute ago":k<120?"couple of minutes ago":k<2700?parseInt(k/60).toString()+" minutes ago":k<5400?"an hour ago":k<86400?""+parseInt(k/3600).toString()+" hours ago":k<172800?"1 day ago":parseInt(k/86400).toString()+" days ago"}function u(i){this.loaded=false;this.name=i.name;this.description=i.description||w(i.name);this.displayWhenFinishedLoading=this.showErrors=true}function ba(i){B!=null&&B.deactivate(B!=i&&i&&i.loaded);B=B==i?null:i;B!=null&&
B.activate()}function w(i){if(i===undefined||typeof i!="string")return"";return J.map(i.split("_"),function(h){return h.substring(0,1).toUpperCase()+h.substring(1)}).join(" ")}function q(i){this.base=u;this.base(i);this.src=i.src;this.scrollable=i.scrollable||false}function v(i){this.base=u;this.base(i);this.url=i.url;this.display=i.display}function x(i,h,k){var D=new Date;D.setDate(D.getDate()+k);document.cookie=i+"="+escape(h)+(k==null?"":";expires="+D.toGMTString())}function F(){var i;a:{if(document.cookie.length>
0){c_start=document.cookie.indexOf("turnsocial_visible=");if(c_start!=-1){c_start=c_start+18+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;i=unescape(document.cookie.substring(c_start,c_end));break a}}i=""}if(i!=null&&i!=""){if(i=="false")return false;return true}x("turnsocial_visible",true);return true}if(!(J("#ts").length>0))if(J.support.boxModel){J("body").append('<div id="ts" class="ts">\n  <div class="ts_bar ts_initial_bar" id="ts_full_bar">\n    <div class="ts_bar_left">&nbsp;</div>\n    <div class="ts_bar_middle">\n      <div id="ts_app_links"></div>\n\n      <a href="#" class="ts_show_hide" onclick="return false;">\n        <img src="http://turnsocial.com/images/hide.png" alt="Hide the Toolbar" />\n      </a>\n\n      <a href="http://turnsocial.com" target="_blank">\n        <img src="http://turnsocial.com/images/icons/turnsocial.png" class="ts_bar_logo" alt="turnsocial Toolbar" />\n      </a>\n    </div>\n    <div class="ts_bar_right">&nbsp;</div>\n  </div>\n\n  <div class="ts_bar" id="ts_hidden_bar">\n    <div class="ts_bar_left">&nbsp;</div>\n    <div class="ts_bar_middle">\n      <a href="#" class="ts_show_hide" onclick="return false;">\n        <img src="http://turnsocial.com/images/unhide.png" alt="Show the Toolbar" />\n      </a>\n      \n      <a href="http://turnsocial.com" target="_blank">\n        <img src="http://turnsocial.com/images/icons/turnsocial.png" class="ts_bar_logo" alt="turnsocial Toolbar" />\n      </a>\n    </div>\n    <div class="ts_bar_right">&nbsp;</div>\n  </div>\n\n\n  <div class="ts_loading"><img src="http://turnsocial.com/images/dots.gif" /></div>\n  <div class="ts_error">\n    The application timed out. Please refresh the page and try again.\n  </div>\n\n  <div id="ts_shadow"></div>\n</div>\n');
J("head").append("<style type=\"text/css\">\n  /* Reset common CSS elements to stop the toolbar from inheriting any styles \n     Have to use the ts class because if I use the ts id, it overrides sub styles\n   */\n  .ts { font-size: 100% !important; color: black !important; }\n  .ts div,.ts ul,.ts ol,.ts li,.ts h1,.ts h2,.ts h3,.ts h4,.ts h5,.ts h6,.ts pre,.ts code,.ts form,.ts fieldset,.ts legend,.ts input,.ts button,.ts textarea,.ts p,.ts blockquote{margin:0;padding:0;}\n  .ts fieldset,.ts img{border:0;}\n  .ts img { display: inline; }\n  .ts address,.ts caption,.ts cite,.ts code,.ts dfn,.ts em,.ts strong,.ts th,.ts var{font-style:inherit;font-weight:inherit;}\n  .ts del,.ts ins{text-decoration:none;}\n  .ts li{list-style:none;}\n  .ts caption,.ts th{text-align:left;}\n  .ts h1,.ts h2,.ts h3,.ts h4,.ts h5,.ts h6{font-size:100%;font-weight:normal;letter-spacing:0 ! important;text-transform:none !important;}\n  .ts abbr,.ts acronym{border:0;font-variant:normal;}\n  .ts sup{vertical-align:baseline;}\n  .ts sub{vertical-align:baseline;}\n  .ts legend{color:#000;}\n  .ts input,.ts button,.ts textarea,.ts select,.ts optgroup,.ts option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}\n  .ts input,.ts button,.ts textarea,.ts select{*font-size:100%;}\n  \n  #ts ul { font-size: 13px; list-style-position: inside; margin-left: 10px; }\n\n  #ts { text-align:left; font-family:sans-serif; }\n  #ts div, #ts span {color: black !important;}\n\n  #ts .ts_bar { \n    position: fixed; bottom: 0; left: 0;\n    height: 37px; padding: 0 40px 0 13px; z-index: 10000; display: none; \n  }\n  #ts .ts_bar img { border: none; width: 23px; height: 23px; margin: 11px 0 0 0; padding: 0; vertical-align: middle; }\n  #ts .ts_initial_bar { display: block; }\n \n  #ts .ts_bar_left {\n    background: url('http://turnsocial.com/images/background_toolbar_left.png') no-repeat top left; \n    width: 13px; height: 37px; margin: 0; padding: 0; float: left;\n  }\n  #ts .ts_bar_middle {\n    background: url('http://turnsocial.com/images/background_toolbar_middle.png') repeat-x top center; \n    height: 37px; margin: 0; padding: 0; float: left;\n  }\n  #ts .ts_bar_right {\n    background: url('http://turnsocial.com/images/background_toolbar_right.png') no-repeat top right; \n    width: 13px; height: 37px; margin: 0; padding: 0; float: left; \n  }\n\n  #ts .ts_bar a:hover { text-decoration: none; } /* IE loves to underline... */\n  #ts .ts_bar a { text-decoration: none; outline: none; } /* remove focus dotted lines */\n  #ts #ts_app_links { display: inline; margin-right: 5px; }\n  #ts #ts_app_links img { margin-right: 5px; }\n\n  #ts .ts_error {\n    position: fixed; bottom: 0; left: 100px; right: 100px; color: #88a3d7; \n    display: none; text-align: center; z-index: 10000;\n    background-color: #fdd; color: #b00; font-weight: bold; padding: 10px; \n  }\n  #ts .ts_loading {\n    position: fixed; bottom: 2px; width: 125px; height: 25px; margin: auto; left: 50%; margin-left: -90px; display: none;\n    padding: 0; text-align: center; text-transform: uppercase;\n    z-index: 10000;\n  }\n\n  #ts #ts_shadow { \n    background-color: black; \n    position: fixed; left:0%; top:0%; width:100%; height: 100%; z-index:1001; display: none;\n    /* let jquery do the opacity, because it's a cross-browser nightmare */\n  }\n  \n  #ts .ts_widget { \n    font-family: Arial, sans-serif; display: none; background-color: white; position: fixed; \n    border: 2px solid #88a3d7; z-index: 10000; bottom: 43px; left: 16px;\n    font-size: 13px;\n  }\n  #ts .ts_json_app { overflow: auto; padding: 10px; }\n  #ts .ts_iframe_app { overflow: hidden; padding: 0; }\n  #ts .ts_iframe_app iframe { width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; }\n  \n  #ts .ts_widget a { color: #7D99CC; text-decoration: none; }\n  #ts .ts_widget a:hover { text-decoration: underline; }\n  #ts .ts_widget h1 { font-size: 28px; font-weight: bold; }\n  #ts .ts_widget h2 { font-size: 18px; font-weight: bold; }\n\n  /* ie8 and max height are a nightmare. don't bother with max height, and do it with javascript */\n  #ts #ts_facebook_comments { width: 600px; height: 500px; }\n  #ts #ts_facebook_fan { width: 500px; height: 550px; }\n  #ts #ts_facebook_fan iframe { height: 550px; }\n  #ts #ts_walkscore { width: 600px; height: 280px; }\n  /* walkscore's iframe content is actually much bigger than the viewable stuff. disable all scrolling */\n  #ts #ts_walkscore iframe { overflow: hidden; }\n  #ts #ts_share { width: 205px; height: 185px; }\n  /* firefox has issues with scrolling for some reason */\n  #ts #ts_share iframe { overflow: hidden; } \n  #ts #ts_youtube { width: 460px; height: 500px; }\n\n  #ts_twitter_user, #ts_twitter_search { width: 450px; }\n  #ts_twitter_user .ts_header, #ts_twitter_search .ts_header { padding: 10px; overflow: auto; }\n  #ts_twitter_user .ts_logo, #ts_twitter_search .ts_logo  { float: left; }\n  #ts_twitter_user .ts_header .ts_user, #ts_twitter_search .ts_header .ts_user  { text-align: right; font-size: 16px; }\n  #ts_twitter_user .ts_header .ts_user img, #ts_twitter_search .ts_header .ts_user img  { float: right; border: 0; padding-left: 10px; vertical-align: middle; width: 48px; height: 48px; }\n  #ts_twitter_user .ts_header h2, #ts_twitter_search .ts_header h2  { float: right; color: #F7941D; font-size: 16px; }\n  #ts_twitter_user .ts_tweet, #ts_twitter_search .ts_tweet  { clear: both; margin: 5px 0; border: 1px #e6e6e6 solid; overflow: auto; padding: 7px; }\n  #ts_twitter_user .ts_tweet img, #ts_twitter_search .ts_tweet img  { float: left; border: none; width: 48px; height: 48px; padding-right: 10px; }\n  #ts_twitter_user .ts_tweet .ts_created_at, #ts_twitter_search .ts_tweet .ts_created_at  { color: #888; }\n\n  #ts_twitter_user .ts_user_deets { text-align: right; } \n\n  #ts_outside { width: 600px; }\n  #ts_outside .ts_header { border-bottom: 1px solid #888; overflow: auto; margin-bottom: 10px; padding-bottom: 10px; }\n  #ts_outside .ts_header h1 { color: #F7941D; float: left; padding: 0; margin: 0; }\n  #ts_outside .ts_header .ts_logo { float: right; width: 131px; height: 27px; border: none; padding-top: 3px; }\n  #ts_outside .ts_story { margin: 10px 0; border: 1px #e6e6e6 solid; padding: 7px; }\n  #ts_outside .ts_story .about { color: #dad9dc; font-weight: bold; font-size: 12px; }\n  #ts_outside .ts_story h2 { padding: 0; margin: 0; font-size: 15px; }\n  #ts_outside .ts_story h2 a { color: #047; }\n  \n  #ts_rentwiki { width: 600px; }\n  #ts_rentwiki .ts_header { border-bottom: 1px solid #888; overflow: auto; margin-bottom: 10px; padding-bottom: 10px; }\n  #ts_rentwiki .ts_header h1 { color: #F7941D; float: left; padding: 0; margin: 0; }\n  #ts_rentwiki .ts_header .ts_logo { color: #888; text-align: right; line-height: 28px; }\n  #ts_rentwiki .ts_header .ts_logo img { float: right; width: 113px; height: 32px; border: none; padding: 0 10px; }\n  #ts_rentwiki h2 { padding: 2px 0; margin: 0; font-size: 20px; color: #047; }\n  #ts_rentwiki .ts_section { margin: 10px 0; border: 1px #e6e6e6 solid; padding: 7px; }\n\n  #ts_yelp_search { width: 610px; padding: 10px; }\n  #ts_yelp_search .ts_header { overflow: auto; padding: 0 5px; }\n  #ts_yelp_search .ts_header h1 { color: #F7941D; float: left; font-size: 28px; padding-top: 5px; }\n  #ts_yelp_search .ts_header img { float: right; width: 78px; height: 35px; border: none; }\n  #ts_yelp_search .ts_business { clear: both; margin: 5px 0; border: 1px #e6e6e6 solid; overflow: auto; padding: 7px; }\n  #ts_yelp_search .ts_title { font-size: 15px; margin-bottom: 3px; }\n  #ts_yelp_search .ts_photo { float: left; width: 100px; height: 100px; margin-right: 10px; }\n  #ts_yelp_search .ts_rightbox { float: right; width: 160px; font-size: 12px; }\n  #ts_yelp_search .ts_rightbox .ts_review_count { font-size: 10px; font-style: italic; vertical-align: top; line-height: 16px; }\n  #ts_yelp_search .ts_detail { font-weight: bold; }\n  #ts_yelp_search .ts_review { clear: right; font-size: 10px; padding-top: 4px; }\n  #ts_yelp_search .ts_review img { float: left; width: 20px; height: 20px; padding: 1px; border: solid #999 1px; margin-right: 8px; }\n  #ts_yelp_search .ts_neighborhoods, #ts_yelp_search .ts_categories, #ts_yelp_search .ts_distance { font-size: 11px; }\n\n  #ts_yelp_venue { width: 500px; padding: 10px; }\n  #ts_yelp_venue .ts_header { overflow: auto; border-bottom: 1px solid #999; padding-bottom: 10px; margin-bottom: 10px; }\n  #ts_yelp_venue .ts_header h1 { color: #F7941D; float: left; font-size: 28px; padding-top: 5px; }\n  #ts_yelp_venue .ts_header img { float: right; width: 78px; height: 35px; border: none; }\n  #ts_yelp_venue .ts_title { font-size: 15px; margin-bottom: 3px; }\n  #ts_yelp_venue .ts_photo { float: right; width: 100px; height: 100px; margin-right: 10px; }\n  #ts_yelp_venue .ts_review_count { font-size: 10px; font-style: italic; vertical-align: top; line-height: 16px; }\n  #ts_yelp_venue .ts_detail { font-weight: bold; }\n  #ts_yelp_venue .ts_reviews { border-top: 1px #aaa solid; margin-top: 10px; }\n  #ts_yelp_venue .ts_review { clear: both; font-size: 11px; padding-top: 10px; }\n  #ts_yelp_venue .ts_review_photo { float: left; width: 70px; height: 70px; padding: 1px; border: solid #999 1px; margin-right: 8px; }\n  #ts_yelp_venue .ts_neighborhoods, #ts_yelp_venue .ts_categories, #ts_yelp_venue .ts_distance { font-size: 11px; }\n\n  #ts_foursquare { width: 510px; padding: 10px; }\n  #ts_foursquare .ts_header { overflow: auto;  padding-bottom: 10px; margin-bottom: 10px; }\n  #ts_foursquare .ts_header img { width: 200px; height: 57px; border: none; }\n  #ts_foursquare h2 { font-size: 15px; margin-bottom: 3px; }\n  #ts_foursquare .ts_top { overflow: auto; }\n  #ts_foursquare .ts_info { float: left; border: 1px solid #eee; padding: 10px; width: 350px; height: 100%;  }\n  #ts_foursquare .ts_mayor { float: right; border: 1px solid #eee; padding: 10px; width: 95px; text-align: center; height: 100%; }\n  #ts_foursquare .ts_mayor .ts_mayor_title { font-size: 12px; font-weight: bold; }\n  #ts_foursquare .ts_mayor img { width: 50px; height: 50px; padding: 1px; border: solid #999 1px; }\n  #ts_foursquare .ts_tips { clear: both; margin-top: 10px; padding: 10px; border: 1px solid #eee; overflow: auto; }\n  #ts_foursquare .ts_tip { clear: both; padding-top: 10px; }\n  #ts_foursquare .ts_tip img { float: left; width: 60px; height: 60px; padding: 1px; border: solid #999 1px; margin-right: 8px; }\n  \n  #ts_flickr { width: 683px; padding: 10px; }\n  #ts_flickr .ts_header { overflow: auto; padding: 0 5px; }\n  #ts_flickr .ts_header h1 { color: #F7941D; float: left; font-size: 28px; padding-top: 5px; }\n  #ts_flickr .ts_header img { float: right; width: 78px; height: 35px; border: none; }\n  #ts_flickr .ts_current_photo { \n    float: left; width: 400px; height: 400px; padding: 2px; margin: 2px; border: solid 1px #ddd; \n    background: url('http://turnsocial.com/images/spinner.gif') no-repeat center center;\n    text-align: center;\n  }\n  #ts_flickr #ts_thumbs { float: left; width: 260px; height: 400px; overflow: auto; }\n  #ts_flickr #ts_thumbs img { float: right; padding: 3px; width: 75px; height: 75px; cursor: pointer; }\n  #ts_filcker .ts_selected_thumb { border: 2px solid black; }\n\n\n  /* qtip styles */\n  #ts div.ui-tooltip, #ts div.qtip{ \n    position: absolute; display: none; max-width: 600px; min-width: 50px; \n  }\n\n  #ts div.ui-tooltip .ui-tooltip-wrapper{\n    position: relative; overflow: hidden; border-width: 3px; border-style: solid;\n    border-color: #303030; background-color: #505050; \n    -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; \n  }\n\n  #ts div.ui-tooltip .ui-tooltip-content{\n    position: relative; padding: 5px 9px; overflow: hidden; text-align: center; \n    letter-spacing: 0.05em; white-space: nowrap; font-size: 12px;\n    font-family: sans-serif; color: #f3f3f3 !important;\n  }\n\n  #ts div.ui-tooltip-tip{\n    position: absolute; margin: 0 auto;\n    line-height: 0.1px; font-size: 1px;\n    background: transparent !important;\n    border: 0px !important;\n  }\n\n  #ts div.ui-tooltip-tip *{\n    line-height: 0.1px; font-size: 0.1px;\n  }\n\n  #ts div.ui-tooltip-tip div.ui-tooltip-tip-inner{\n    background: transparent !important;\n    border: 0px solid transparent;\n  }\n</style>\n");
u.prototype.display_div=function(){return J("#ts_"+this.name)};u.prototype.link=function(){return J("#ts_"+this.name+"_link")};var B=null;u.prototype.activate=function(){var i=this;R.track("app opened",{name:i.name,key:"a9bbab871099fc3a10780822f073661c"});if(i.loaded)i.show_display_div();else{this.displayWhenFinishedLoading=this.showErrors=true;J(".ts_loading").fadeIn();timeout_callback=function(){i.displayWhenFinishedLoading=false;if(i.showErrors){ba(null);J(".ts_error").fadeIn();setTimeout(function(){J(".ts_error").fadeOut()},
3E3)}};var h=setTimeout(timeout_callback,1E4);i.load_content(function(){i.loaded=true;clearTimeout(h);if(i.displayWhenFinishedLoading){J(".ts_loading").hide();i.show_display_div()}})}};u.prototype.deactivate=function(i){if(this.loaded){i||J("#ts_shadow").hide();this.display_div().fadeOut(200)}else{this.showErrors=this.displayWhenFinishedLoading=false;J(".ts_loading").fadeOut()}};u.prototype.show_display_div=function(){var i=this,h=J("#ts_shadow");if(!h.is(":visible")){h.css("opacity",0);h.show()}h.fadeTo(200,
0.3,function(){i.display_div().fadeIn(200);i.display_div().css("top",null);i.display_div().position().top<16&&i.display_div().css("top",16)})};q.prototype=new u({});q.prototype.load_content=function(i){var h='<iframe src="'+this.src+'" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" frameborder="0" scrolling="no"></iframe>';this.display_div().html(h);this.display_div().find("iframe").load(i)};q.prototype.type="iframe_app";v.prototype=new u({});v.prototype.load_content=
function(i){var h=this;J.getJSON(this.url,function(k){k=h.display(k);h.display_div().html(k);i()})};v.prototype.type="json_app";var K=[];K.push(new q({name:"share",description:"Share This Page",src:"http://turnsocial.com/apps/share?url="+encodeURIComponent(window.location)+"&title="+encodeURIComponent(document.title)}));K.push(new q({name:"facebook_fan",description:"Facebook Fan Page",src:"http://www.facebook.com/plugins/likebox.php?id=107483192490&amp;width=500&amp;height=550&amp;stream=true&header=false&amp;connections=22",
scrollable:true}));K.push(new v({name:"twitter_search",description:"Twitter search for @HighlandMgmt",url:"http://search.twitter.com/search.json?q=%40HighlandMgmt&show_user=true&rpp=6&callback=?",display:function(i){var h=i.results;return function(){var k=[];k.push('<div class="ts_header">\n  <img class="ts_logo" src="http://assets0.twitter.com/images/twitter.png" />\n  <h2>Search: @HighlandMgmt</h2>\n</div>\n\n');J.each(h,function(D,C){k.push('\n  <div class="ts_tweet">\n    <a href="http://twitter.com/');
k.push(C.from_user);k.push('">\n      <img src="');k.push(C.profile_image_url);k.push('" />\n      @');k.push(C.from_user);k.push("\n    </a>\n    ");k.push(n(C.text));k.push('\n    <span class="ts_created_at">\n      ');k.push($(C.created_at));k.push("\n    </span>\n  </div>\n")});k.push("\n");return k.join("")}()}}));K.push(new v({name:"twitter_user",description:"Twitter user @HighlandMgmt",url:"http://twitter.com/status/user_timeline/HighlandMgmt.json?count=8&callback=?",display:function(i){var h=
i[0].user;return function(){var k=[];k.push('<div class="ts_header">\n  <img class="ts_logo" src="http://assets0.twitter.com/images/twitter.png" />\n  <div class="ts_user">\n    <a href="http://twitter.com/');k.push(h.screen_name);k.push('">\n      <img src="');k.push(h.profile_image_url);k.push('" />\n    </a>\n  </div>\n  <div class="ts_user_deets">\n    <a href="http://twitter.com/');k.push(h.screen_name);k.push('">\n      @');k.push(h.screen_name);k.push("\n    </a>\n    <div>\n      ");k.push(h.followers_count);
k.push(" Followers\n    </div>\n  </div>\n</div>\n\n");J.each(i,function(D,C){k.push('\n  <div class="ts_tweet">\n    ');k.push(n(C.text));k.push('\n    <span class="ts_created_at">\n      ');k.push(S(C.created_at));k.push("\n      via \n      ");k.push(C.source);k.push("\n    </span>\n  </div>\n")});k.push("\n");return k.join("")}()}}));K.push(new v({name:"rentwiki",url:"http://turnsocial.com/apps/rentwiki/a9bbab871099fc3a10780822f073661c?callback=?",display:function(i){return function(){var h=[];
h.push("");console.log(i);h.push('\n<div class="ts_header">\n  <h1>Neighborhood Reviews</h1>\n  <div class="ts_logo">\n    <a href="http://rentwiki.com">\n      <img src="http://www.rentwiki.com/images/graphics/cliff_april_images/logo-rentwiki.gif" />\n    </a>\n  </div>\n</div>\n\n');J.each(["pros","cons"],function(){h.push("\n  ");if(i[this]=="")return true;h.push("\n  <h2>");h.push(H(this));h.push('</h2>\n  <ul class="ts_section">\n    ');J.each(i[this],function(){h.push("\n      <li>");h.push(this);
h.push("</li>\n    ")});h.push("\n  </ul>\n")});h.push("\n\n");if(i.description){h.push('\n  <h2>Description</h2>\n  <div class="ts_section">');h.push(i.description);h.push("</div>\n")}h.push('\n\n<h2>Reviews</h2>\n<div class="ts_reviews">\n  ');if(i.reviews.length>0){h.push("\n    ");J.each(i.reviews,function(k,D){h.push('\n      <div class="ts_section">\n        Review by \n        <a href="');h.push(D.user_url);h.push('">');h.push(D.user_name);h.push("</a>:\n        ");h.push(D.description);h.push("\n      </div>\n    ")});
h.push("\n  ")}else h.push('\n    <div class="ts_section">\n      No reviews yet - \n      <a href="http://www.rentwiki.com">be the first to add one!</a>\n    </div>\n  ');h.push("\n</div>\n");return h.join("")}()}}));K.push(new q({name:"walkscore",src:"http://www.walkscore.com/serve-tile.php?height=275&list_limit=10&street=1245%20Shakopee%20Ave%2C%20Shakopee%2C%20MN%2055379%2C%20USA&width=600&wsid=ed254c0d69186ca9a5394bc17690ff93"}));K.push(new v({name:"yelp_search",url:"http://api.yelp.com/business_review_search?term=restaurants%20and%20bars&num_biz_requested=6&lat=44.7896943&long=-93.5419764&ywsid=gNRknj9RkN7Xa0zfrl5EuQ&callback=?",
display:function(i){var h=i.businesses;return function(){var k=[];k.push('<div class="ts_header">\n  <h1>Nearby Attractions</h1>\n  <a href="http://yelp.com">\n    <img src="http://turnsocial.com/images/yelp.png" />\n  </a>\n</div>\n\n');J.each(h,function(D,C){k.push('\n  <div class="ts_business">\n    <a href="');k.push(C.url);k.push('">\n      <img class="ts_photo" src="');k.push(C.photo_url);k.push('" />\n    </a>\n\n    <div class="ts_rightbox">\n      <img src="');k.push(C.rating_img_url);k.push('" />\n      <a class="ts_review_count" href="');
k.push(C.url);k.push('">\n        ');k.push(C.review_count);k.push(" Reviews\n      </a><br />\n\n      <address>\n        ");k.push(C.address1);k.push("<br />\n        ");k.push(C.city);k.push(", ");k.push(C.state_code);k.push(" ");k.push(C.zip);k.push("\n      </address>\n\n      <div>\n        ");k.push(da(C.phone));k.push('\n      </div>\n    </div>\n\n    <div class="ts_title">\n      <a href="');k.push(C.url);k.push('">\n        ');k.push((D+1).toString());k.push(". ");k.push(C.name);k.push('\n      </a>\n    </div>\n\n    <div class="ts_distance">\n      <span class="ts_detail">Distance: </span>\n      ');
k.push(Math.round(C.distance*10)/10);k.push(" miles\n    </div>\n\n    ");if(C.categories.length>0){k.push('\n      <div class="ts_categories">\n        <span class="ts_detail">\n          ');k.push(C.categories.length>1?"Categories":"Category");k.push(":\n        </span>\n        ");J.each(C.categories,function(I,O){k.push("");k.push(I==0?"":",");k.push("\n          ");k.push(O.name);k.push("")});k.push("\n      </div>\n    ")}k.push("\n\n    ");if(C.neighborhoods.length>0){k.push('\n      <div class="ts_neighborhoods">\n        <span class="ts_detail">\n          ');
k.push(C.neighborhoods.length>1?"Neighborhoods":"Neighborhood");k.push(":\n        </span>\n        ");J.each(C.neighborhoods,function(I,O){k.push("");k.push(I==0?"":",");k.push("\n          ");k.push(O.name);k.push("")});k.push("\n      </div>\n    ")}k.push('\n\n    <div class="ts_review">\n      <a href="');k.push(C.reviews[0].user_url);k.push('">\n        <img src="');k.push(C.reviews[0].user_photo_url_small);k.push('" />\n      </a>\n      ');k.push(C.reviews[0].text_excerpt);k.push('\n      <a href="');
k.push(C.reviews[0].url);k.push('">more</a>\n    </div>\n  </div>\n')});k.push("\n");return k.join("")}()}}));if(!F()){J("#ts_full_bar").removeClass("ts_initial_bar");J("#ts_hidden_bar").addClass("ts_initial_bar");J("#ts_toolbar_arrow").hide()}var R={track:function(i,h){var k=[];for(var D in h)k.push(encodeURIComponent(D)+"="+encodeURIComponent(h[D]));k.push("t="+(new Date).getTime().toString());k="http://turnsocial.com/track/"+encodeURIComponent(i)+"?"+k.join("&");J("#ts_analytics").remove();D=J('<iframe id="ts_analytics" style="display: none !important;" width="0" height="0"></iframe>');
D.attr("src",k);J("#ts").append(D)}};J.each(K,function(i,h){var k='<a href="#" id="ts_'+h.name+'_link" class="ts_app_link" onclick="return false;"><img class="ts_app_image" src="http://turnsocial.com/images/icons/'+h.name+'.png" alt="'+h.description+'" /></a>';J("#ts_app_links").append(J(k));J("#ts").append(J('<div id="ts_'+h.name+'" class="ts_widget ts_'+h.type+'"></div>'))});var c={tip:{corner:true,adjust:true},radius:8};J(".ts_bar img").each(function(){var i=J(this);i.qtip({content:i.attr("alt"),
position:{at:"top left",my:"bottom left",container:J("#ts")},style:c,show:{delay:50,effect:function(){this.fadeIn(200)}},hide:{delay:0,effect:function(){this.fadeOut(200)}}})});J("#ts_shadow").bind("click",function(){ba(null);return false});J(".ts_widget a").live("click",function(i){i.stopPropagation();window.open(this.href);return false});J(".ts_show_hide").click(function(){ba(null);J(".ts_bar").slideToggle();var i=!F();x("turnsocial_visible",i);J("#ts_toolbar_arrow").animate({opacity:"toggle"})});
J.each(K,function(){var i=this;i.link().click(function(){ba(i)})});J("#ts_myspace_link").click(function(){window.open("http://myspace.com/");R.track("app opened",{name:"myspace",key:"a9bbab871099fc3a10780822f073661c"})});J(".ts_initial_bar").hide();var ha=setInterval(function(){var i=true;J(".ts_initial_bar img").each(function(){i=i&&this.complete});if(i){J(".ts_initial_bar").slideDown();clearInterval(ha);R.track("toolbar",{site:location.href,key:"a9bbab871099fc3a10780822f073661c"})}},200)}})})();
