(function(){(function(n,J){function da(){if(!c.isReady){try{g.documentElement.doScroll("left")}catch(a){setTimeout(da,1);return}c.ready()}}function aa(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,k){var l=a.length;if(typeof b==="object"){for(var t in b)S(a,t,b[t],e,f,d);return a}if(d!==J){e=!k&&e&&c.isFunction(d);for(t=0;t<l;t++)f(a[t],b,e?d.call(a[t],t,f(a[t],b)):d,
k);return a}return l?f(a[0],b):J}function y(){return(new Date).getTime()}function Y(){return false}function v(){return true}function r(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function w(a){var b,d=[],e=[],f=arguments,k,l,t,p,u,C;l=c.data(this,"events");if(!(a.liveFired===this||!l||!l.live||a.button&&a.type==="click")){a.liveFired=this;var P=l.live.slice(0);for(p=0;p<P.length;p++){l=P[p];l.origType.replace(oa,"")===a.type?e.push(l.selector):P.splice(p--,1)}k=c(a.target).closest(e,a.currentTarget);
u=0;for(C=k.length;u<C;u++)for(p=0;p<P.length;p++){l=P[p];if(k[u].selector===l.selector){t=k[u].elem;e=null;if(l.preType==="mouseenter"||l.preType==="mouseleave")e=c(a.relatedTarget).closest(l.selector)[0];if(!e||e!==t)d.push({elem:t,handleObj:l})}}u=0;for(C=d.length;u<C;u++){k=d[u];a.currentTarget=k.elem;a.data=k.handleObj.data;a.handleObj=k.handleObj;if(k.handleObj.origHandler.apply(k.elem,f)===false){b=false;break}}return b}}function x(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function H(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 k in e)for(var l in e[k])c.event.add(this,k,e[k][l],e[k][l].data)}}})}function E(a,b,d){var e,f,k;b=b&&b[0]?b[0].ownerDocument||b[0]:g;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===g&&!Ea.test(a[0])&&(c.support.checkClone||!Fa.test(a[0]))){f=true;if(k=c.fragments[a[0]])if(k!==1)e=k}if(!e){e=b.createDocumentFragment();
c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=k?e:1;return{fragment:e,cacheable:f}}function L(a,b){var d={};c.each(Ga.concat.apply([],Ga.slice(0,b)),function(){d[this]=a});return d}function M(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,q=n.$,g=n.document,i,m=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,D=/^.[^:#\[\.,]*$/,B=/\S/,O=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,V=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,K=navigator.userAgent,
F=false,Z=[],R,$=Object.prototype.toString,ca=Object.prototype.hasOwnProperty,ba=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=g;this[0]=g.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=m.exec(a))&&(d[1]||!b))if(d[1]){e=b?b.ownerDocument||b:g;if(a=V.exec(a))if(c.isPlainObject(b)){a=
[g.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[e.createElement(a[1])];else{a=E([d[1]],[e]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=g.getElementById(d[2])){if(b.id!==d[2])return i.find(a);this.length=1;this[0]=b}this.context=g;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=g;a=g.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||i).find(a):c(b).find(a);else if(c.isFunction(a))return i.ready(a);
if(a.selector!==J){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)?ba.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(g,c);else Z&&Z.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:ba,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,k,l,t;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(k in f){l=a[k];t=f[k];if(a!==t)if(e&&t&&(c.isPlainObject(t)||c.isArray(t))){l=l&&(c.isPlainObject(l)||c.isArray(l))?l:c.isArray(t)?[]:{};a[k]=c.extend(e,l,t)}else if(t!==J)a[k]=
t}return a};c.extend({noConflict:function(a){n.$=q;if(a)n.jQuery=ha;return c},isReady:false,ready:function(){if(!c.isReady){if(!g.body)return setTimeout(c.ready,13);c.isReady=true;if(Z){for(var a,b=0;a=Z[b++];)a.call(g,c);Z=null}c.fn.triggerHandler&&c(g).triggerHandler("ready")}},bindReady:function(){if(!F){F=true;if(g.readyState==="complete")return c.ready();if(g.addEventListener){g.addEventListener("DOMContentLoaded",R,false);n.addEventListener("load",c.ready,false)}else if(g.attachEvent){g.attachEvent("onreadystatechange",
R);n.attachEvent("onload",c.ready);var a=false;try{a=n.frameElement==null}catch(b){}g.documentElement.doScroll&&a&&da()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.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===J||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&&B.test(a)){var b=g.getElementsByTagName("head")[0]||
g.documentElement,d=g.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(g.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,k=a.length,l=k===J||c.isFunction(a);if(d)if(l)for(e in a){if(b.apply(a[e],d)===false)break}else for(;f<k;){if(b.apply(a[f++],d)===false)break}else if(l)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=
a[0];f<k&&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?ba.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]!==
J;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var e=[],f=0,k=a.length;f<k;f++)!d!==!b(a[f],f)&&e.push(a[f]);return e},map:function(a,b,d){for(var e=[],f,k=0,l=a.length;k<l;k++){f=b(a[k],k,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=J}else if(b&&!c.isFunction(b)){d=b;b=J}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:{}});K=c.uaMatch(K);if(K.browser){c.browser[K.browser]=true;c.browser.version=K.version}if(c.browser.webkit)c.browser.safari=true;if(pa)c.inArray=function(a,b){return pa.call(b,a)};i=c(g);if(g.addEventListener)R=function(){g.removeEventListener("DOMContentLoaded",
R,false);c.ready()};else if(g.attachEvent)R=function(){if(g.readyState==="complete"){g.detachEvent("onreadystatechange",R);c.ready()}};(function(){c.support={};var a=g.documentElement,b=g.createElement("script"),d=g.createElement("div"),e="script"+y();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("*"),k=d.getElementsByTagName("a")[0];if(!(!f||!f.length||!k)){c.support=
{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:/^0.55$/.test(k.style.opacity),cssFloat:!!k.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:g.createElement("select").appendChild(g.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(g.createElement("div"))).parentNode===
null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(g.createTextNode("window."+e+"=1;"))}catch(l){}a.insertBefore(b,a.firstChild);if(n[e]){c.support.scriptEval=true;delete n[e]}try{delete b.test}catch(t){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=g.createElement("div");
d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=g.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var p=g.createElement("div");p.style.width=p.style.paddingLeft="1px";g.body.appendChild(p);c.boxModel=c.support.boxModel=p.offsetWidth===2;g.body.removeChild(p).style.display="none"});a=function(p){var u=g.createElement("div");p="on"+p;var C=p in u;if(!C){u.setAttribute(p,"return;");C=typeof u[p]===
"function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=k=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"+y(),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===J)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!==J)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===J){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===J&&this.length)e=c.data(this[0],a);return e===J&&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===J)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(u){var C=c(this);C.addClass(a.call(this,u,C.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 k=" "+f.className+" ",l=f.className,t=0,p=b.length;t<p;t++)if(k.indexOf(" "+b[t]+" ")<
0)l+=" "+b[t];f.className=c.trim(l)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(p){var u=c(this);u.removeClass(a.call(this,p,u.attr("class")))});if(a&&typeof a==="string"||a===J)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 k=(" "+f.className+" ").replace(Ia," "),l=0,t=b.length;l<t;l++)k=k.replace(" "+b[l]+" "," ");f.className=c.trim(k)}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 k=c(this);k.toggleClass(a.call(this,f,k.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,k=0,l=c(this),t=b,p=a.split(ua);f=p[k++];){t=e?t:!l.hasClass(f);l[t?"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===J){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 k=b?d:0;for(d=b?d+1:f.length;k<d;k++){var l=f[k];if(l.selected){a=c(l).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 J}var t=c.isFunction(a);return this.each(function(p){var u=c(this),C=a;if(this.nodeType===1){if(t)C=a.call(this,p,u.val());if(typeof C==="number")C+="";if(c.isArray(C)&&Ja.test(this.type))this.checked=c.inArray(u.val(),C)>=0;else if(c.nodeName(this,"select")){var P=c.makeArray(C);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),P)>=0});if(!P.length)this.selectedIndex=
-1}else this.value=C}})}});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 J;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==J;b=e&&c.props[b]||b;if(a.nodeType===1){var k=$a.test(b);if(b in a&&e&&!k){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:J;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&&k?a.getAttribute(b,2):a.getAttribute(b);return a===null?J: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,k;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(k=c.data(a)){var l=k.events=k.events||{},t=k.handle;if(!t)k.handle=t=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(t.elem,arguments):J};t.elem=a;b=b.split(" ");for(var p,u=0,C;p=b[u++];){k=f?c.extend({},f):{handler:d,data:e};if(p.indexOf(".")>-1){C=p.split(".");p=C.shift();k.namespace=C.slice(0).sort().join(".")}else{C=[];k.namespace=
""}k.type=p;k.guid=d.guid;var P=l[p],U=c.event.special[p]||{};if(!P){P=l[p]=[];if(!U.setup||U.setup.call(a,e,C,t)===false)if(a.addEventListener)a.addEventListener(p,t,false);else a.attachEvent&&a.attachEvent("on"+p,t)}if(U.add){U.add.call(a,k);if(!k.handler.guid)k.handler.guid=d.guid}P.push(k);c.event.global[p]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){var f,k=0,l,t,p,u,C,P,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[k++];){u=f;l=f.indexOf(".")<0;t=[];if(!l){t=f.split(".");f=t.shift();p=RegExp("(^|\\.)"+c.map(t.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(C=X[f])if(d){u=c.event.special[f]||{};for(W=e||0;W<C.length;W++){P=C[W];if(d.guid===P.guid){if(l||p.test(P.namespace)){e==null&&C.splice(W--,1);u.remove&&u.remove.call(a,P)}if(e!=null)break}}if(C.length===0||e!=null&&C.length===1){if(!u.teardown||u.teardown.call(a,
t)===false)Ka(a,f,U.handle);delete X[f]}}else for(var W=0;W<C.length;W++){P=C[W];if(l||p.test(P.namespace)){c.event.remove(a,u,P.handler,W);C.splice(W--,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 J;a.result=J;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(k){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){e=
a.target;var l,t=c.nodeName(e,"a")&&f==="click",p=c.event.special[f]||{};if((!p._default||p._default.call(d,a)===false)&&!t&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[f]){if(l=e["on"+f])e["on"+f]=null;c.event.triggered=true;e[f]()}}catch(u){}if(l)e["on"+f]=l;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 k=d.length;f<k;f++){var l=d[f];if(b||e.test(l.namespace)){a.handler=l.handler;a.data=l.data;a.handleObj=l;l=l.handler.apply(this,arguments);if(l!==J){a.result=l;if(l===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||g;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=g.documentElement;d=g.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!==J)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:w}))},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,w)}},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=g.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=y();this[ja]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=v;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=v;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=v;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,
isImmediatePropagationStopped:Y};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 r("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 r("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===J||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}g.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 k in d)this[b](k,e,d[k],f);return this}if(c.isFunction(e)){f=e;e=J}var l=b==="one"?c.proxy(f,function(p){c(this).unbind(p,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{k=0;for(var t=this.length;k<t;k++)c.event.add(this[k],d,l,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,k){var l,t=0,p,u,C=k||this.selector,P=k?this:c(this.context);if(c.isFunction(e)){f=e;e=J}for(d=
(d||"").split(" ");(l=d[t++])!=null;){k=oa.exec(l);p="";if(k){p=k[0];l=l.replace(oa,"")}if(l==="hover")d.push("mouseenter"+p,"mouseleave"+p);else{u=l;if(l==="focus"||l==="blur"){d.push(Oa[l]+p);l+=p}else l=(Oa[l]||l)+p;b==="live"?P.each(function(){c.event.add(this,x(l,C),{data:e,selector:C,handler:f,origType:l,origHandler:f,preType:u})}):P.unbind(x(l,C),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(h){for(var j="",o,s=0;h[s];s++){o=h[s];if(o.nodeType===3||o.nodeType===4)j+=o.nodeValue;else if(o.nodeType!==8)j+=a(o.childNodes)}return j}function b(h,j,o,s,A,z){A=0;for(var N=s.length;A<N;A++){var I=s[A];
if(I){I=I[h];for(var T=false;I;){if(I.sizcache===o){T=s[I.sizset];break}if(I.nodeType===1&&!z){I.sizcache=o;I.sizset=A}if(I.nodeName.toLowerCase()===j){T=I;break}I=I[h]}s[A]=T}}}function d(h,j,o,s,A,z){A=0;for(var N=s.length;A<N;A++){var I=s[A];if(I){I=I[h];for(var T=false;I;){if(I.sizcache===o){T=s[I.sizset];break}if(I.nodeType===1){if(!z){I.sizcache=o;I.sizset=A}if(typeof j!=="string"){if(I===j){T=true;break}}else if(p.filter(j,[I]).length>0){T=I;break}}I=I[h]}s[A]=T}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,k=Object.prototype.toString,l=false,t=true;[0,0].sort(function(){t=false;return 0});var p=function(h,j,o,s){o=o||[];var A=j=j||g;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!h||typeof h!=="string")return o;for(var z=[],N,I,T,qa,ka=true,ma=Q(j),la=h;(e.exec(""),N=e.exec(la))!==null;){la=N[3];z.push(N[1]);if(N[2]){qa=N[3];break}}if(z.length>1&&C.exec(h))if(z.length===2&&u.relative[z[0]])I=ya(z[0]+z[1],j);else for(I=u.relative[z[0]]?[j]:p(z.shift(),j);z.length;){h=z.shift();if(u.relative[h])h+=
z.shift();I=ya(h,I)}else{if(!s&&z.length>1&&j.nodeType===9&&!ma&&u.match.ID.test(z[0])&&!u.match.ID.test(z[z.length-1])){N=p.find(z.shift(),j,ma);j=N.expr?p.filter(N.expr,N.set)[0]:N.set[0]}if(j){N=s?{expr:z.pop(),set:U(s)}:p.find(z.pop(),z.length===1&&(z[0]==="~"||z[0]==="+")&&j.parentNode?j.parentNode:j,ma);I=N.expr?p.filter(N.expr,N.set):N.set;if(z.length>0)T=U(I);else ka=false;for(;z.length;){var ea=z.pop();N=ea;if(u.relative[ea])N=z.pop();else ea="";if(N==null)N=j;u.relative[ea](T,N,ma)}}else T=
[]}T||(T=I);T||p.error(ea||h);if(k.call(T)==="[object Array]")if(ka)if(j&&j.nodeType===1)for(h=0;T[h]!=null;h++){if(T[h]&&(T[h]===true||T[h].nodeType===1&&fa(j,T[h])))o.push(I[h])}else for(h=0;T[h]!=null;h++)T[h]&&T[h].nodeType===1&&o.push(I[h]);else o.push.apply(o,T);else U(T,o);if(qa){p(qa,A,o,s);p.uniqueSort(o)}return o};p.uniqueSort=function(h){if(W){l=t;h.sort(W);if(l)for(var j=1;j<h.length;j++)h[j]===h[j-1]&&h.splice(j--,1)}return h};p.matches=function(h,j){return p(h,null,null,j)};p.find=function(h,
j,o){var s,A;if(!h)return[];for(var z=0,N=u.order.length;z<N;z++){var I=u.order[z];if(A=u.leftMatch[I].exec(h)){var T=A[1];A.splice(1,1);if(T.substr(T.length-1)!=="\\"){A[1]=(A[1]||"").replace(/\\/g,"");s=u.find[I](A,j,o);if(s!=null){h=h.replace(u.match[I],"");break}}}}s||(s=j.getElementsByTagName("*"));return{set:s,expr:h}};p.filter=function(h,j,o,s){for(var A=h,z=[],N=j,I,T,qa=j&&j[0]&&Q(j[0]);h&&j.length;){for(var ka in u.filter)if((I=u.leftMatch[ka].exec(h))!=null&&I[2]){var ma=u.filter[ka],la,
ea;ea=I[1];T=false;I.splice(1,1);if(ea.substr(ea.length-1)!=="\\"){if(N===z)z=[];if(u.preFilter[ka])if(I=u.preFilter[ka](I,N,o,z,s,qa)){if(I===true)continue}else T=la=true;if(I)for(var ra=0;(ea=N[ra])!=null;ra++)if(ea){la=ma(ea,I,ra,N);var Pa=s^!!la;if(o&&la!=null)if(Pa)T=true;else N[ra]=false;else if(Pa){z.push(ea);T=true}}if(la!==J){o||(N=z);h=h.replace(u.match[ka],"");if(!T)return[];break}}}if(h===A)if(T==null)p.error(h);else break;A=h}return N};p.error=function(h){throw"Syntax error, unrecognized expression: "+
h;};var u=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(h){return h.getAttribute("href")}},relative:{"+":function(h,j){var o=typeof j==="string",s=o&&!/\W/.test(j);o=o&&!s;if(s)j=j.toLowerCase();s=0;for(var A=h.length,z;s<A;s++)if(z=h[s]){for(;(z=z.previousSibling)&&z.nodeType!==1;);h[s]=o||z&&z.nodeName.toLowerCase()===j?z||false:z===j}o&&p.filter(j,h,true)},">":function(h,j){var o=typeof j==="string";if(o&&!/\W/.test(j)){j=j.toLowerCase();for(var s=0,A=h.length;s<A;s++){var z=
h[s];if(z){o=z.parentNode;h[s]=o.nodeName.toLowerCase()===j?o:false}}}else{s=0;for(A=h.length;s<A;s++)if(z=h[s])h[s]=o?z.parentNode:z.parentNode===j;o&&p.filter(j,h,true)}},"":function(h,j,o){var s=f++,A=d;if(typeof j==="string"&&!/\W/.test(j)){var z=j=j.toLowerCase();A=b}A("parentNode",j,s,h,z,o)},"~":function(h,j,o){var s=f++,A=d;if(typeof j==="string"&&!/\W/.test(j)){var z=j=j.toLowerCase();A=b}A("previousSibling",j,s,h,z,o)}},find:{ID:function(h,j,o){if(typeof j.getElementById!=="undefined"&&
!o)return(h=j.getElementById(h[1]))?[h]:[]},NAME:function(h,j){if(typeof j.getElementsByName!=="undefined"){var o=[];j=j.getElementsByName(h[1]);for(var s=0,A=j.length;s<A;s++)j[s].getAttribute("name")===h[1]&&o.push(j[s]);return o.length===0?null:o}},TAG:function(h,j){return j.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,j,o,s,A,z){h=" "+h[1].replace(/\\/g,"")+" ";if(z)return h;z=0;for(var N;(N=j[z])!=null;z++)if(N)if(A^(N.className&&(" "+N.className+" ").replace(/[\t\n]/g," ").indexOf(h)>=
0))o||s.push(N);else if(o)j[z]=false;return false},ID:function(h){return h[1].replace(/\\/g,"")},TAG:function(h){return h[1].toLowerCase()},CHILD:function(h){if(h[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=j[1]+(j[2]||1)-0;h[3]=j[3]-0}h[0]=f++;return h},ATTR:function(h,j,o,s,A,z){j=h[1].replace(/\\/g,"");if(!z&&u.attrMap[j])h[1]=u.attrMap[j];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,j,o,s,
A){if(h[1]==="not")if((e.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=p(h[3],null,null,j);else{h=p.filter(h[3],j,o,true^A);o||s.push.apply(s,h);return false}else if(u.match.POS.test(h[0])||u.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},
empty:function(h){return!h.firstChild},has:function(h,j,o){return!!p(o[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},text:function(h){return"text"===h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===
h.type||h.nodeName.toLowerCase()==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)}},setFilters:{first:function(h,j){return j===0},last:function(h,j,o,s){return j===s.length-1},even:function(h,j){return j%2===0},odd:function(h,j){return j%2===1},lt:function(h,j,o){return j<o[3]-0},gt:function(h,j,o){return j>o[3]-0},nth:function(h,j,o){return o[3]-0===j},eq:function(h,j,o){return o[3]-0===j}},filter:{PSEUDO:function(h,j,o,s){var A=j[1],z=u.filters[A];if(z)return z(h,
o,j,s);else if(A==="contains")return(h.textContent||h.innerText||a([h])||"").indexOf(j[3])>=0;else if(A==="not"){j=j[3];o=0;for(s=j.length;o<s;o++)if(j[o]===h)return false;return true}else p.error("Syntax error, unrecognized expression: "+A)},CHILD:function(h,j){var o=j[1],s=h;switch(o){case "only":case "first":for(;s=s.previousSibling;)if(s.nodeType===1)return false;if(o==="first")return true;s=h;case "last":for(;s=s.nextSibling;)if(s.nodeType===1)return false;return true;case "nth":o=j[2];var A=
j[3];if(o===1&&A===0)return true;j=j[0];var z=h.parentNode;if(z&&(z.sizcache!==j||!h.nodeIndex)){var N=0;for(s=z.firstChild;s;s=s.nextSibling)if(s.nodeType===1)s.nodeIndex=++N;z.sizcache=j}h=h.nodeIndex-A;return o===0?h===0:h%o===0&&h/o>=0}},ID:function(h,j){return h.nodeType===1&&h.getAttribute("id")===j},TAG:function(h,j){return j==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===j},CLASS:function(h,j){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(h,j){var o=
j[1];h=u.attrHandle[o]?u.attrHandle[o](h):h[o]!=null?h[o]:h.getAttribute(o);o=h+"";var s=j[2];j=j[4];return h==null?s==="!=":s==="="?o===j:s==="*="?o.indexOf(j)>=0:s==="~="?(" "+o+" ").indexOf(j)>=0:!j?o&&h!==false:s==="!="?o!==j:s==="^="?o.indexOf(j)===0:s==="$="?o.substr(o.length-j.length)===j:s==="|="?o===j||o.substr(0,j.length+1)===j+"-":false},POS:function(h,j,o,s){var A=u.setFilters[j[2]];if(A)return A(h,o,j,s)}}},C=u.match.POS;for(var P in u.match){u.match[P]=RegExp(u.match[P].source+/(?![^\[]*\])(?![^\(]*\))/.source);
u.leftMatch[P]=RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[P].source.replace(/\\(\d+)/g,function(h,j){return"\\"+(j-0+1)}))}var U=function(h,j){h=Array.prototype.slice.call(h,0);if(j){j.push.apply(j,h);return j}return h};try{Array.prototype.slice.call(g.documentElement.childNodes,0)}catch(X){U=function(h,j){j=j||[];if(k.call(h)==="[object Array]")Array.prototype.push.apply(j,h);else if(typeof h.length==="number")for(var o=0,s=h.length;o<s;o++)j.push(h[o]);else for(o=0;h[o];o++)j.push(h[o]);return j}}var W;
if(g.documentElement.compareDocumentPosition)W=function(h,j){if(!h.compareDocumentPosition||!j.compareDocumentPosition){if(h==j)l=true;return h.compareDocumentPosition?-1:1}h=h.compareDocumentPosition(j)&4?-1:h===j?0:1;if(h===0)l=true;return h};else if("sourceIndex"in g.documentElement)W=function(h,j){if(!h.sourceIndex||!j.sourceIndex){if(h==j)l=true;return h.sourceIndex?-1:1}h=h.sourceIndex-j.sourceIndex;if(h===0)l=true;return h};else if(g.createRange)W=function(h,j){if(!h.ownerDocument||!j.ownerDocument){if(h==
j)l=true;return h.ownerDocument?-1:1}var o=h.ownerDocument.createRange(),s=j.ownerDocument.createRange();o.setStart(h,0);o.setEnd(h,0);s.setStart(j,0);s.setEnd(j,0);h=o.compareBoundaryPoints(Range.START_TO_END,s);if(h===0)l=true;return h};(function(){var h=g.createElement("div"),j="script"+(new Date).getTime();h.innerHTML="<a name='"+j+"'/>";var o=g.documentElement;o.insertBefore(h,o.firstChild);if(g.getElementById(j)){u.find.ID=function(s,A,z){if(typeof A.getElementById!=="undefined"&&!z)return(A=
A.getElementById(s[1]))?A.id===s[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===s[1]?[A]:J:[]};u.filter.ID=function(s,A){var z=typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id");return s.nodeType===1&&z&&z.nodeValue===A}}o.removeChild(h);o=h=null})();(function(){var h=g.createElement("div");h.appendChild(g.createComment(""));if(h.getElementsByTagName("*").length>0)u.find.TAG=function(j,o){o=o.getElementsByTagName(j[1]);if(j[1]==="*"){j=[];for(var s=
0;o[s];s++)o[s].nodeType===1&&j.push(o[s]);o=j}return o};h.innerHTML="<a href='#'></a>";if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")u.attrHandle.href=function(j){return j.getAttribute("href",2)};h=null})();g.querySelectorAll&&function(){var h=p,j=g.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){p=function(s,A,z,N){A=A||g;if(!N&&A.nodeType===9&&!Q(A))try{return U(A.querySelectorAll(s),
z)}catch(I){}return h(s,A,z,N)};for(var o in h)p[o]=h[o];j=null}}();(function(){var h=g.createElement("div");h.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){u.order.splice(1,0,"CLASS");u.find.CLASS=function(j,o,s){if(typeof o.getElementsByClassName!=="undefined"&&!s)return o.getElementsByClassName(j[1])};h=null}}})();var fa=g.compareDocumentPosition?
function(h,j){return!!(h.compareDocumentPosition(j)&16)}:function(h,j){return h!==j&&(h.contains?h.contains(j):true)},Q=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false},ya=function(h,j){var o=[],s="",A;for(j=j.nodeType?[j]:j;A=u.match.PSEUDO.exec(h);){s+=A[0];h=h.replace(u.match.PSEUDO,"")}h=u.relative[h]?h+"*":h;A=0;for(var z=j.length;A<z;A++)p(h,j[A],o);return p.filter(s,o)};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.text=
a;c.isXMLDoc=Q;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,k){return!!b.call(f,k,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(D.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 k=d;k<b.length;k++)for(var l=0;l<d;l++)if(b[l]===b[k]){b.splice(k--,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,k={},l;if(e&&a.length){f=0;for(var t=a.length;f<t;f++){l=a[f];k[l]||(k[l]=c.expr.match.POS.test(l)?c(l,b||this.context):l)}for(;e&&e.ownerDocument&&e!==b;){for(l in k){f=k[l];if(f.jquery?f.index(e)>-1:c(e).is(f)){d.push({selector:l,elem:e});delete k[l]}}e=e.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(u,C){for(;C&&C.ownerDocument&&C!==b;){if(p?p.index(C)>-1:c(C).is(a))return C;
C=C.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===J||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!==J)return this.empty().append((this[0]&&this[0].ownerDocument||g).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){H(this,b);H(this.find("*"),b.find("*"))}return b},html:function(a){if(a===J)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 k=c(this),l=k.html();k.empty().append(function(){return a.call(this,f,l)})}):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,k=a[0],l=[],t;if(!c.support.checkClone&&arguments.length===3&&typeof k==="string"&&Fa.test(k))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(k))return this.each(function(u){var C=c(this);a[0]=k.call(this,u,b?C.html():J);C.domManip(a,b,d)});if(this[0]){e=k&&k.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:E(a,this,
l);t=e.fragment;if(f=t.childNodes.length===1?t=t.firstChild:t.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?t.cloneNode(true):t)}l.length&&c.each(l,aa)}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 k=d.length;f<k;f++){var l=(f>0?this.clone(true):this).get();c.fn[b].apply(c(d[f]),l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||g;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||g;for(var f=[],k=0,l;(l=a[k])!=null;k++){if(typeof l===
"number")l+="";if(l){if(typeof l==="string"&&!jb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Sa,Ua);var t=(Ta.exec(l)||["",""])[1].toLowerCase(),p=ga[t]||ga._default,u=p[0],C=b.createElement("div");for(C.innerHTML=p[1]+l+p[2];u--;)C=C.lastChild;if(!c.support.tbody){u=ib.test(l);t=t==="table"&&!u?C.firstChild&&C.firstChild.childNodes:p[1]==="<table>"&&!u?C.childNodes:[];for(p=t.length-1;p>=0;--p)c.nodeName(t[p],"tbody")&&!t[p].childNodes.length&&t[p].parentNode.removeChild(t[p])}!c.support.leadingWhitespace&&
sa.test(l)&&C.insertBefore(b.createTextNode(sa.exec(l)[0]),C.firstChild);l=C.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(k=0;f[k];k++)if(e&&c.nodeName(f[k],"script")&&(!f[k].type||f[k].type.toLowerCase()==="text/javascript"))e.push(f[k].parentNode?f[k].parentNode.removeChild(f[k]):f[k]);else{f[k].nodeType===1&&f.splice.apply(f,[k+1,0].concat(c.makeArray(f[k].getElementsByTagName("script"))));d.appendChild(f[k])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,
k=c.support.deleteExpando,l=0,t;(t=a[l])!=null;l++)if(d=t[c.expando]){b=e[d];if(b.events)for(var p in b.events)f[p]?c.event.remove(t,p):Ka(t,p,b.handle);if(k)delete t[c.expando];else t.removeAttribute&&t.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=g.defaultView&&g.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===J)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 J;if((b==="width"||b==="height")&&parseFloat(d)<0)d=J;var e=a.style||a,f=d!==J;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,k=b==="width"?pb:qb;d=function(){f=b==="width"?a.offsetWidth:a.offsetHeight;e!=="border"&&c.each(k,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 k=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=k}}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=y(),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 k=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,t){if(t==="success"||t==="notmodified")k.html(f?
c("<div />").append(l.responseText.replace(tb,"")).find(f):l.responseText);d&&k.each(d,[l.responseText,t,l])}});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,t,l,Q);f.global&&e("ajaxSuccess",[Q,f])}function d(){f.complete&&f.complete.call(p,Q,l);f.global&&e("ajaxComplete",[Q,f]);f.global&&!--c.active&&c.event.trigger("ajaxStop")}function e(A,z){(f.context?c(f.context):c.event).trigger(A,z)}var f=c.extend(true,{},c.ajaxSettings,a),k,l,t,p=a&&a.context||f,u=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(u==="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))){k=f.jsonpCallback||"jsonp"+sb++;if(f.data)f.data=(f.data+"").replace(na,"="+k+"$1");f.url=f.url.replace(na,"="+k+"$1");f.dataType="script";n[k]=n[k]||
function(A){t=A;b();d();n[k]=J;try{delete n[k]}catch(z){}U&&U.removeChild(X)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===false&&u==="GET"){var C=y(),P=f.url.replace(wb,"$1_="+C+"$2");f.url=P+(P===f.url?(Ca.test(f.url)?"&":"?")+"_="+C:"")}if(f.data&&u==="GET")f.url+=(Ca.test(f.url)?"&":"?")+f.data;f.global&&!c.active++&&c.event.trigger("ajaxStart");C=(C=xb.exec(f.url))&&(C[1]&&C[1]!==location.protocol||C[2]!==location.host);if(f.dataType==="script"&&u==="GET"&&C){var U=g.getElementsByTagName("head")[0]||
g.documentElement,X=g.createElement("script");X.src=f.url;if(f.scriptCharset)X.charset=f.scriptCharset;if(!k){var W=false;X.onload=X.onreadystatechange=function(){if(!W&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){W=true;b();d();X.onload=X.onreadystatechange=null;U&&X.parentNode&&U.removeChild(X)}}}U.insertBefore(X,U.firstChild);return J}var fa=false,Q=f.xhr();if(Q){f.username?Q.open(u,f.url,f.async,f.username,f.password):Q.open(u,f.url,f.async);try{if(f.data||a&&
a.contentType)Q.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){c.lastModified[f.url]&&Q.setRequestHeader("If-Modified-Since",c.lastModified[f.url]);c.etag[f.url]&&Q.setRequestHeader("If-None-Match",c.etag[f.url])}C||Q.setRequestHeader("X-Requested-With","XMLHttpRequest");Q.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":f.accepts._default)}catch(ya){}if(f.beforeSend&&f.beforeSend.call(p,Q,f)===false){f.global&&!--c.active&&c.event.trigger("ajaxStop");
Q.abort();return false}f.global&&e("ajaxSend",[Q,f]);var h=Q.onreadystatechange=function(A){if(!Q||Q.readyState===0||A==="abort"){fa||d();fa=true;if(Q)Q.onreadystatechange=c.noop}else if(!fa&&Q&&(Q.readyState===4||A==="timeout")){fa=true;Q.onreadystatechange=c.noop;l=A==="timeout"?"timeout":!c.httpSuccess(Q)?"error":f.ifModified&&c.httpNotModified(Q,f.url)?"notmodified":"success";var z;if(l==="success")try{t=c.httpData(Q,f.dataType,f)}catch(N){l="parsererror";z=N}if(l==="success"||l==="notmodified")k||
b();else c.handleError(f,Q,l,z);d();A==="timeout"&&Q.abort();if(f.async)Q=null}};try{var j=Q.abort;Q.abort=function(){Q&&j.call(Q);h("abort")}}catch(o){}f.async&&f.timeout>0&&setTimeout(function(){Q&&!fa&&h("timeout")},f.timeout);try{Q.send(u==="POST"||u==="PUT"||u==="DELETE"?f.data:null)}catch(s){c.handleError(f,Q,null,s);d()}f.async||h();return Q}},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(l,t){if(c.isArray(t))c.each(t,function(p,u){b||/\[\]$/.test(l)?e(l,u):d(l+"["+(typeof u==="object"||c.isArray(u)?p:"")+"]",u)});else!b&&t!=null&&typeof t==="object"?c.each(t,function(p,u){d(l+"["+p+"]",
u)}):e(l,t)}function e(l,t){t=c.isFunction(t)?t():t;f[f.length]=encodeURIComponent(l)+"="+encodeURIComponent(t)}var f=[];if(b===J)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var k in a)d(k,a[k]);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(L("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(L("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(L("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 k=c.extend({},f),l,t=this.nodeType===1&&c(this).is(":hidden"),p=this;for(l in a){var u=l.replace(Aa,Ba);if(l!==u){a[u]=a[l];delete a[l];l=u}if(a[l]==="hide"&&t||a[l]==="show"&&!t)return k.complete.call(this);
if((l==="height"||l==="width")&&this.style){k.display=c.css(this,"display");k.overflow=this.style.overflow}if(c.isArray(a[l])){(k.specialEasing=k.specialEasing||{})[l]=a[l][1];a[l]=a[l][0]}}if(k.overflow!=null)this.style.overflow="hidden";k.curAnim=c.extend({},a);c.each(a,function(C,P){var U=new c.fx(p,k,C);if(Ab.test(P))U[P==="toggle"?t?"show":"hide":P](a);else{var X=Bb.exec(P),W=U.cur(true)||0;if(X){P=parseFloat(X[2]);var fa=X[3]||"px";if(fa!=="px"){p.style[C]=(P||1)+fa;W=(P||1)/U.cur(true)*W;p.style[C]=
W+fa}if(X[1])P=(X[1]==="-="?-1:1)*P+W;U.custom(W,P,fa)}else U.custom(W,P,"")}});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:L("show",1),slideUp:L("hide",1),slideToggle:L("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(k){return f.step(k)}this.startTime=y();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=y(),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 g.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(C){c.offset.setOffset(this,a,C)});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,k,l=f.documentElement,t=f.body;e=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;
for(var p=b.offsetTop,u=b.offsetLeft;(b=b.parentNode)&&b!==t&&b!==l;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;k=f?f.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;u-=b.scrollLeft;if(b===d){p+=b.offsetTop;u+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(k.borderTopWidth)||0;u+=parseFloat(k.borderLeftWidth)||0}e=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&k.overflow!==
"visible"){p+=parseFloat(k.borderTopWidth)||0;u+=parseFloat(k.borderLeftWidth)||0}e=k}if(e.position==="relative"||e.position==="static"){p+=t.offsetTop;u+=t.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){p+=Math.max(l.scrollTop,t.scrollTop);u+=Math.max(l.scrollLeft,t.scrollLeft)}return{top:p,left:u}};c.offset={initialize:function(){var a=g.body,b=g.createElement("div"),d,e,f,k=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!==k;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(),k=parseInt(c.curCSS(a,"top",true),10)||0,l=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,f);d={top:b.top-f.top+k,left:b.left-f.left+l};"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||g.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],k;if(!f)return null;return e!==J?this.each(function(){if(k=M(this))k.scrollTo(!a?e:c(k).scrollLeft(),a?e:c(k).scrollTop());else this[d]=e}):(k=M(f))?"pageXOffset"in k?k[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&k.document.documentElement[d]||k.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(k){var l=c(this);l[d](e.call(this,k,l[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===J?c.css(f,d):this.css(d,typeof e==="string"?e:e+"px")}});n.jQuery=n.$=c})(window);(function(n){function J(r){if(!r)return y;try{if("metadata"in r&&"object"!==typeof r.metadata)r.metadata={type:r.metadata};if("content"in r){if("object"!==typeof r.content||r.content.jquery)r.content={text:r.content};var w=r.content.text||y;if(w.length<1||!w&&!w.attr||w.jquery&&w.is(":empty"))r.content.text=y;if("title"in r.content&&"object"!==typeof r.content.title)r.content.title=
{text:r.content.title}}if("position"in r){if("object"!==typeof r.position)r.position={my:r.position,at:r.position};if("object"!==typeof r.position.adjust)r.position.adjust={};if(String(r.position.adjust.screen).replace("true","flip").search(/flip|fit/)<0)r.position.adjust.screen=y}if("show"in r){if("object"!==typeof r.show)r.show={event:r.show};if("object"!==typeof r.show)r.show=r.show.jquery?{target:r.show}:{event:r.show}}if("hide"in r)if("object"!==typeof r.hide)r.hide=r.hide.jquery?{target:r.hide}:
{event:r.hide};if("style"in r&&"object"!==typeof r.style)r.style={classes:r.style}}catch(x){}n.each(n.fn.qtip.plugins,function(){this.sanitize&&this.sanitize(r)})}function da(r,w,x){function H(g){var i,m;g=g.split(".");i=w[g[0]];for(m=1;m<g.length;m+=1)if(typeof i[g[m]]==="object"&&!i[g[m]].jquery)i=i[g[m]];else break;return[i,g[m]]}function E(g){var i=!q.elements.tooltip.is(":visible")?S:y,m=y;if(!q.rendered)return y;i&&q.elements.tooltip.addClass("ui-tooltip-accessible");switch(g){case "dimensions":m=
{height:q.elements.tooltip.outerHeight(),width:q.elements.tooltip.outerWidth()};break;case "position":m=q.elements.tooltip.offset();break}i&&q.elements.tooltip.removeClass("ui-tooltip-accessible");return m}function L(){var g=q.elements,i=w.content.title.button;g.title&&g.title.remove();g.tooltip.attr("aria-labelledby","ui-tooltip-title-"+x);g.titlebar=n("<div />").addClass("ui-tooltip-titlebar ui-widget-header").prependTo(g.wrapper);g.title=n("<div />").attr("id","ui-tooltip-"+x+"-title").addClass("ui-tooltip-title").html(w.content.title.text).appendTo(g.titlebar);
if(i){g.button=i.jquery?i:"string"===typeof i?n("<a />").html(i):n("<a />").addClass("ui-state-default").append(n("<span />").addClass("ui-icon ui-icon-close"));g.button.prependTo(g.titlebar).attr("role","button").addClass("ui-tooltip-"+(i===S?"close":"button")).hover(function(m){n(this).toggleClass("ui-state-hover",m.type==="mouseenter")}).click(function(){g.tooltip.hasClass("ui-state-disabled")||q.hide();return y}).bind("mousedown keydown mouseup keyup mouseout",function(m){n(this).toggleClass("ui-state-active ui-state-focus",
/down$/i.test(m.type))})}else g.button&&g.button.remove()}function M(g){if(!q.rendered||!g)return y;if(g.jquery&&g.length>0)w.content.clone?q.elements.content.html(g.clone(S).removeAttr("id").css({display:"block"})):q.elements.content.append(g.css({display:"block"}));else q.elements.content.html(g);g=void 0;if(q.rendered&&n.browser.msie){var i=q.elements.tooltip,m,D;i.css({width:"auto",maxWidth:"none"});g=E("dimensions").width;i.css({maxWidth:""});m=parseInt(i.css("max-width"),10)||0;D=parseInt(i.css("min-width"),
10)||0;g=Math.min(Math.max(g,D),m);if(g%2)g+=1;i.width(g)}q.reposition(q.cache.event);if(q.rendered<0){if(w.show.ready||q.rendered===-2)q.show(q.cache.event);q.rendered=S}return q}function c(g,i,m,D){function B(R){if(F.tooltip.hasClass("ui-state-disabled"))return y;F.show.trigger("qtip-"+x+"-inactive");clearTimeout(q.timers.show);clearTimeout(q.timers.hide);q.timers.show=setTimeout(function(){q.show(R)},w.show.delay)}function O(R){if(F.tooltip.hasClass("ui-state-disabled"))return y;clearTimeout(q.timers.show);
clearTimeout(q.timers.hide);if(w.hide.fixed&&/mouse(out|leave)/.test(R.type)&&n(R.relatedTarget).parents(".qtip.ui-tooltip").length||w.position.target==="mouse"&&w.position.adjust.mouse===S&&n(R.relatedTarget).parents(".qtip.ui-tooltip").length){R.stopPropagation();R.preventDefault();return y}F.tooltip.stop(S,S);q.timers.hide=setTimeout(function(){q.hide(R)},w.hide.delay)}function V(R){if(F.tooltip.hasClass("ui-state-disabled"))return y;clearTimeout(q.timers.inactive);q.timers.inactive=setTimeout(function(){q.hide(R)},
w.hide.inactive)}var K=".qtip-"+x,F={show:w.show.target,hide:w.hide.target,tooltip:q.elements.tooltip},Z={show:String(w.show.event).split(" "),hide:String(w.hide.event).split(" ")};if(m&&w.hide.fixed){F.hide=F.hide.add(F.tooltip);F.tooltip.bind("mouseover"+K,function(){F.tooltip.hasClass("ui-state-disabled")||clearTimeout(q.timers.hide)})}if(i){if("number"===typeof w.hide.inactive){F.show.bind("qtip-"+x+"-inactive",V);n.each(n.fn.qtip.inactiveEvents,function(R,$){F.hide.add(q.elements.tooltip).bind($+
K+"-inactive",V)})}n.each(Z.hide,function(R,$){var ca=n.inArray($,Z.show);if(ca>-1&&n(F.hide).add(F.show).length===n(F.hide).length||$==="unfocus"){F.show.bind($+K,function(ba){F.tooltip.is(":visible")?O(ba):B(ba)});delete Z.show[ca]}else F.hide.bind($+K,O)})}if(g){n.each(Z.show,function(R,$){F.show.bind($+K,B)});w.position.target==="mouse"&&F.show.bind("mousemove"+K,function(R){w.position.adjust.mouse&&!F.tooltip.hasClass("ui-state-disabled")&&F.tooltip.is(":visible")&&q.reposition(R)});F.tooltip.bind("mouseover"+
K,function(){q.focus()})}if(D){if(w.position.adjust.scroll&&(n(w.position.target)[0]===window||n(w.position.target)[0]===document))n(window).bind("scroll"+K,function(R){var $=q.get("dimensions");if(q.elements.tooltip.is(":visible")&&!($.height>n(window).height()||$.width>n(window).width()))q.reposition(R)});w.position.adjust.resize&&n(window).bind("resize"+K,function(R){q.elements.tooltip.is(":visible")&&q.reposition(R)});/unfocus/i.test(w.hide.event)&&n(document).bind("mousedown"+K,function(R){var $=
q.elements.tooltip;n(R.target).parents(".qtip.ui-tooltip").length===0&&n(R.target).add(r).length>1&&$.is(":visible")&&!$.hasClass("ui-state-disabled")&&q.hide()})}}function ha(g,i,m,D){D=parseInt(D,10)!==0;var B=".qtip-"+x,O={show:g?w.show.target:n("<div/>"),hide:i?w.hide.target:n("<div/>"),tooltip:m?q.elements.tooltip:n("<div/>")};i={show:String(w.show.event).split(" "),hide:String(w.hide.event).split(" ")};if(q.rendered){n.each(i.show,function(V,K){O.show.unbind(K+B)});O.show.unbind("mousemove"+
B).unbind("mouseout"+B).unbind("qtip-"+x+"-inactive");n.each(i.hide,function(V,K){O.hide.add(O.tooltip).unbind(K+B)});n.each(n.fn.qtip.inactiveEvents,function(V,K){O.hide.add(m?q.elements.content:Y).unbind(K+B+"-inactive")});O.hide.unbind("mouseout"+B);O.tooltip.unbind("mouseover"+B);if(D){n(window).unbind("resize"+B+" scroll"+B);n(document).unbind("mousedown"+B)}}else g&&O.show.unbind(i.show+B+"-create")}var q=this;q.id=x;q.rendered=y;q.elements={target:r};q.cache={title:"",event:{},disabled:y};
q.timers={};q.options=w;q.plugins={};n.extend(q,{render:function(g){var i=q.elements;if(q.rendered)return y;q.rendered=g?-2:-1;i.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 "+w.style.classes).addClass(q.cache.disabled?"ui-state-disabled":"").css("z-index",n.fn.qtip.zindex+n("div.qtip.ui-tooltip").length).data("qtip",q).appendTo(w.position.container);i.wrapper=n("<div />").addClass("ui-tooltip-wrapper").appendTo(i.tooltip);
i.content=n("<div />").addClass("ui-tooltip-content").attr("id","ui-tooltip-"+x+"-content").addClass("ui-tooltip-content ui-widget-content").appendTo(i.wrapper);w.content.title.text&&L();n.each(n.fn.qtip.plugins,function(){this.initialize==="render"&&this(q)});c(1,1,1,1);n.each(w.events,function(m,D){i.tooltip.bind("tooltip"+m,D)});M(w.content.text);i.tooltip.trigger("tooltiprender",[q.hash()]);return q},get:function(g){switch(g.toLowerCase()){case "offset":g=E("position");break;case "dimensions":g=
E("dimensions");break;default:g=H(g.toLowerCase());g=g[0].precedance?g[0].string():g[0].jquery?g[0]:g[0][g[1]];break}return g},set:function(g,i){var m=H(g.toLowerCase()),D={show:w.show.target,hide:w.hide.target},B,O,V={builtin:{"^content.text":function(){M(i)},"^content.title.text":function(){if(q.rendered)if(!q.elements.title&&i){L();q.reposition()}else if(i)q.elements.title.html(i);else{var K=q.elements;if(K.title){K.titlebar.remove();K.titlebar=K.title=K.button=Y;K.tooltip.removeAttr("aria-labelledby")}}},
"^position.container$":function(){q.rendered&&q.elements.tooltip.appendTo(i)},"^position.(corner|adjust|target)":function(){q.rendered&&q.reposition()},"^position.(my|at)$":function(){var K=g.search(/my$/i)>-1?"my":"at";if("string"===typeof i)w.position[K]=new n.fn.qtip.plugins.Corner(i)},"^(show|hide).(event|target|fixed)":function(){var K=g.search(/fixed/i)>-1?[0,[0,1,1,1]]:g.search(/hide/i)<0?["show",[1,0,0,0]]:["hide",[0,1,0,0]];if(K[0])w[K[0]].target=D[K[0]];ha.apply(q,K[1]);if(K[0])w[K[0]].target=
i;c.apply(q,K[1])}}};n.each(q.plugins,function(K){if("object"===typeof this.checks)V[K]=this.checks});m[0][m[1]]=i;J(w);for(B in V)for(O in V[B])RegExp(O,"i").test(g)&&V[B][O].call(q,m[0],m[1],i);return q},toggle:function(g,i){function m(){n(this).css({opacity:"",height:""});g&&n.browser.msie&&n(this).get(0).style&&n(this).get(0).style.removeAttribute("filter")}if(!q.rendered)return y;var D=g?"show":"hide",B=q.elements.tooltip,O=w[D],V=B.is(":visible");if((typeof g).search("boolean|number"))g=!B.is(":visible");
if(V&&g||!V&&!g||B.is(":animated"))return q;if(i){if(q.cache.event&&/over|enter/.test(i.type)&&/out|leave/.test(q.cache.event.type)&&n(i.target).add(w.show.target).length<2&&n(i.relatedTarget).parents(".qtip.ui-tooltip").length>0)return q;q.cache.event=n.extend({},i)}V=n.Event("tooltip"+D);B.trigger(V,[q.hash(),90]);if(V.isDefaultPrevented())return q;if(g){q.cache.title=r.attr("title");r.removeAttr("title");if(q.rendered===S){q.focus();q.reposition(i)}O.solo&&n(":not(.qtip.ui-tooltip)").qtip("hide")}else{q.cache.title&&
r.attr("title",q.cache.title);clearTimeout(q.timers.show);B.css({opacity:""})}B.attr("aria-hidden",Boolean(!g));B.stop(S,y);if(n.isFunction(O.effect)){O.effect.call(B);B.queue(function(){m();n(this).dequeue()})}else if(O.effect===y){B[D]();m()}else B["fade"+(g?"In":"Out")](90,m);g&&O.target.trigger("qtip-"+x+"-inactive");return q},show:function(g){q.toggle(S,g)},hide:function(g){q.toggle(y,g)},focus:function(){if(!q.rendered)return y;var g=q.elements.tooltip,i=parseInt(g.css("z-index"),10),m=n.fn.qtip.zindex+
n(".qtip.ui-tooltip").length;if(!g.hasClass("ui-tooltip-focus")&&i!==m){n(":not(.qtip.ui-tooltip)").each(function(){var D=n(this).qtip(),B,O;if(!D||!D.rendered)return S;B=D.elements.tooltip;O=parseInt(B.css("z-index"),10);isNaN(O)||B.css({zIndex:O-1});B.removeClass("ui-tooltip-focus");B.trigger("tooltipblur",[D,m])});i=n.Event("tooltipfocus");g.trigger(i,[q.hash(),m]);i.isDefaultPrevented()||g.css({zIndex:m}).addClass("ui-tooltip-focus")}return q},reposition:function(g){if(q.rendered===false)return y;
var i=w.position.target==="event"&&g?n(g.target):w.position.target,m=q.elements.tooltip,D=w.position,B,O,V=q.elements.tooltip.width(),K=q.elements.tooltip.height(),F,Z,R,$={fit:{left:function(){var ca=parseInt(F.left,10),ba=F.left+V-n(window).width()-n(window).scrollLeft();F.left=ba>0?F.left-ba:Math.max(0,F.left);return Math.ceil(ca-F.left)},top:function(){var ca=parseInt(F.top,10),ba=F.top+K-n(window).height()-n(window).scrollTop();F.top=ba>0?F.top-ba:Math.max(0,F.top);return Math.ceil(ca-F.top)}},
flip:{left:function(){var ca=F.left+V-n(window).width()-n(window).scrollLeft(),ba=Z.x==="left"?-V:Z.x==="right"?V:0,ia=-2*D.adjust.x;F.left+=F.left<0?ba+B+ia:ca>0?ba-B+ia:0;return Math.round(ca)},top:function(){var ca=F.top+K-n(window).height()-n(window).scrollTop(),ba=Z.y==="top"?-K:Z.y==="bottom"?K:0,ia=R.y==="top"?O:R.y==="bottom"?-O:0,pa=-2*D.adjust.y;F.top+=F.top<0?ba+O+pa:ca>0?ba+ia+pa:0;return Math.round(ca)}}};if(D.at.left&&D.at.top){F=n.extend({},w.position.corner);Z=R={x:"left",y:"top"}}else{Z=
D.my;R=D.at;if(D.target==="mouse"){R={x:"left",y:"top"};B=O=0;if(!g)g=q.cache.event;F={top:g.pageY,left:g.pageX}}else{if(i[0]===document){B=i.width();O=i.height();F={top:0,left:0}}else if(i[0]===window){B=i.width();O=i.height();F={top:i.scrollTop(),left:i.scrollLeft()}}else if(i.is("area")&&n.fn.qtip.plugins.areaDetails){F=n.fn.qtip.plugins.areaDetails(i,w.at);B=F.width;O=F.height;F=F.offset}else{B=i.outerWidth();O=i.outerHeight();F=i.offset()}F.left+=R.x==="right"?B:R.x==="center"?B/2:0;F.top+=R.y===
"bottom"?O:R.y==="center"?O/2:0}F.left+=D.adjust.x+(Z.x==="right"?-V:Z.x==="center"?-V/2:0);F.top+=D.adjust.y+(Z.y==="bottom"?-K:Z.y==="center"?-K/2:0)}F.adjust=D.adjust.screen?{left:$[D.adjust.screen].left(),top:$[D.adjust.screen].top()}:{left:0,top:0};g=n.Event("tooltipmove");m.trigger(g,[q.hash(),F]);if(g.isDefaultPrevented())return q;delete F.adjust;if(m.is(":visible")&&n.isFunction(D.adjust.effect)){D.adjust.effect.call(m,F);m.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 m.css(F);return q},disable:function(g){var i=q.elements.tooltip;if(q.rendered)i.toggleClass("ui-state-disabled",g);else q.cache.disabled=S;return q},destroy:function(){q.rendered&&n.each(q.plugins,function(){this.initialize==="render"&&this.destroy()});ha(1,1,1,1);r.removeData("qtip");q.rendered&&q.elements.tooltip.remove();q.cache.title&&r.attr("title",q.cache.title);return r},hash:function(){var g=n.extend({},
q);delete g.cache;delete g.timers;delete g.options;delete g.plugins;delete g.render;delete g.hash;return g}})}function aa(r,w){var x;x=n(this).metadata?n(this).metadata(w.metadata):{};x=n.extend(S,{},w,x);var H=n(this)[0]===document?n(document.body):n(this);if("boolean"===typeof x.content.text)if(x.content.attr!==y&&n(this).attr(x.content.attr))x.content.text=n(this).attr(x.content.attr);else return y;if(x.position.container===y)x.position.container=n(document.body);if(x.position.target===y)x.position.target=
H;if(x.show.target===y)x.show.target=H;if(x.hide.target===y)x.hide.target=H;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===y)return y;x=new da(n(this),x,r);n(this).data("qtip",x);return x}var S=true,y=false,Y=null,v=function(){};n.fn.qtip=function(r,w,x){var H=String(r).toLowerCase(),E=y,L=H==="disable"?[S]:H==="enable"?[y]:n.makeArray(arguments).splice(1),
M;if(!r&&n(this).data("qtip")||H==="api")return(M=n(this).eq(0).data("qtip"))?M.hash():undefined;else if("string"===typeof r){n(this).each(function(){var c=n(this).data("qtip");if(!c)return S;if(/option|set/.test(H)&&w)if(x!==undefined)c.set(w,x);else E=c.get(w);else{if(H==="show"||H==="toggle"&&!c.rendered&&!c.elements.tooltip.is(":visible"))c.render();c[H]&&c[H].apply(c[H],L)}});return E!==y?E:n(this)}else if("object"===typeof r){J(r);M=n.extend(S,{},n.fn.qtip.defaults,r);return n.fn.qtip.bind.call(this,
M)}};n.fn.qtip.bind=function(r){return n(this).each(function(){function w(ha){function q(){H.render(typeof ha==="object"||E.show.ready);L.show.unbind(M.show);L.hide.unbind(M.hide)}H.cache.event=n.extend({},ha);if(E.show.delay>0){H.timers.show=setTimeout(q,E.show.delay);M.show!==M.hide&&L.hide.bind(M.hide,function(){clearTimeout(H.timers.show)})}else q()}var x,H,E,L,M,c;x=r.id===y||r.id.length<1||n("#ui-tooltip-"+r.id).length?n.fn.qtip.nextid++:r.id;c=".qtip-"+x+"-create";H=aa.call(n(this),x,r);if(H===
y)return S;E=H.options;n.each(n.fn.qtip.plugins,function(){this.initialize==="initialize"&&this(H)});L={show:E.show.target,hide:E.hide.target};M={show:String(E.show.event).replace(" ",c+" ")+c,hide:(String(E.hide.event)+" mouseleave").replace(" ",c+" ")+c};E.show.ready||E.prerender||E.show.event===y?w():L.show.bind(M.show,w)})};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(r){this.x=
String(r).replace(/middle/i,"center").match(/left|right|center/i)[0].toLowerCase();this.y=String(r).replace(/middle/i,"center").match(/top|bottom|center/i)[0].toLowerCase();this.offset={left:0,top:0};this.precedance=r.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:y,id:y,overwrite:S,metadata:{type:"class"},content:{text:S,attr:"title",clone:S,title:{text:y,button:y}},position:{my:"top left",at:"bottom right",
target:y,container:y,adjust:{x:0,y:0,mouse:S,screen:y,scroll:S,resize:S,effect:S}},show:{target:y,event:"mouseenter",effect:S,delay:140,solo:y,ready:y},hide:{target:y,event:"mouseleave",effect:S,delay:0,fixed:y,inactive:y},style:{classes:""},events:{render:v,move:v,show:v,hide:v,focus:v,blur:v}}})(jQuery);(function(n){function J(y){function Y(r,w,x){if(!v.corner.adjust)return aa;r=n.extend({},v.corner);var H=n.extend(da,{},x),E=r.precedance==="y"?["y","x","top","height"]:["x","y","left","width"],
L=H.adjust,M=w.get("position.adjust.screen");r.offset={left:0,top:0};H[E[2]]+=(r[E[0]]===E[2]?1:-1)*v.size[E[3]];n.extend(x,H);if(function(){var c=v.cache.overflow.left,ha=v.cache.overflow.top,q=L.left>0,g=L.top>0;return M==="fit"?da:!(!c&&q||c&&!q||ha&&!g||!ha&&g)}()!==da){if(r.x!=="center"&&L.left>-1)r.x=r.x==="left"?"right":"left";if(r.y!=="center"&&L.top>-1)r.y=r.y==="top"?"bottom":"top";v.cache.overflow={left:v.corner.x!==r.x,top:v.corner.y!==r.y};v.corner.string()!==r.string()&&v.create();v.update(r)}}
var v=this;v.qTip=y;v.tip=S;v.corner=S;v.type=S;v.size={width:y.options.style.tip.width,height:y.options.style.tip.height};v.method="css";v.cache={overflow:{left:aa,top:aa}};v.checks={"^position.my$":function(){this.get("style.tip.corner")===da&&v.checks["^style.tip.(corner|type)"].call(this)},"^style.tip.(corner|type)":function(){v.determine();v.update();this.get("position.target")!=="mouse"&&this.reposition()},"^style.tip.(height|width)":function(){v.size={width:y.options.style.tip.width,height:y.options.style.tip.height};
v.create();v.update();y.reposition()}};n.extend(v,{init:function(){if(v.determine()===aa)return aa;y.elements.tooltip.bind("tooltipmove.tip",Y);v.create();v.update();return v},determine:function(){var r=y.options.style.tip.corner,w=y.options.style.tip.type||r,x=y.options.position.at,H=y.options.position.my;if(H.string)H=H.string();if(r===aa||H===aa&&x===aa)return aa;else{if(r===da){v.corner=new n.fn.qtip.plugins.Corner(H);v.corner.adjust=da}else if(!r.string)v.corner=new n.fn.qtip.plugins.Corner(r);
if(w===da){v.type=new n.fn.qtip.plugins.Corner(H);v.type.adjust=da}else if(!w.string)v.type=new n.fn.qtip.plugins.Corner(w)}return v.corner.string()!=="centercenter"},create:function(){v.tip&&v.tip.remove();v.tip=n('<div class="ui-tooltip-tip ui-widget-content"></div>').prependTo(y.elements.tooltip);v.method=y.options.style.tip.antialias!==aa?n("<canvas/>").get(0).getContext?"canvas":n.browser.msie?"vml":"css":"css";switch(v.method){case "canvas":v.tip.append('<canvas height="'+v.size.height+'" width="'+
v.size.width+'"></canvas>');break;case "vml":v.tip.html('<vml:shape coordorigin="0 0" coordsize="'+v.size.width+" "+v.size.height+'" stroked="FALSE"  style="behavior:url(#default#VML); display:inline-block; antialias:TRUE; width:'+v.size.width+"px; height:"+v.size.height+"px; vertical-align:"+v.corner.y+';"></vml:shape>');break;case "css":v.tip.addClass("ui-tooltip-tip-"+v.corner.string()).append('<div class="ui-tooltip-tip-inner"></div>');break}return v},update:function(r){var w,x,H,E;x=v.tip.children(":first");
H="px solid ";var L=r;if(!r){r=v.corner;L=v.type}if(v.method!=="css"){w=L.string();E=v.size.width;var M=v.size.height;E={bottomright:[[0,0],[E,M],[E,0]],bottomleft:[[0,0],[E,0],[0,M]],topright:[[0,M],[E,0],[E,M]],topleft:[[0,0],[0,M],[E,M]],topcenter:[[0,M],[E/2,0],[E,M]],bottomcenter:[[0,0],[E,0],[E/2,M]],rightcenter:[[0,0],[E,M/2],[0,M]],leftcenter:[[E,0],[E,M],[0,M/2]]};E.lefttop=E.bottomright;E.righttop=E.bottomleft;E.leftbottom=E.topright;E.rightbottom=E.topleft;E=E[w]}w=v.tip.css("background-color",
"").css("background-color");w=w==="transparent"||w==="rgba(0, 0, 0, 0)"?y.elements.wrapper.css("border-top-color"):w;v.tip.css("background-color","transparent");H+=w;switch(v.method){case "canvas":x=x.get(0).getContext("2d");x.fillStyle=w;x.miterLimit=0;x.clearRect(0,0,3E3,3E3);x.beginPath();x.moveTo(E[0][0],E[0][1]);x.lineTo(E[1][0],E[1][1]);x.lineTo(E[2][0],E[2][1]);x.closePath();x.fill();break;case "vml":H="m"+E[0][0]+","+E[0][1]+" l"+E[1][0]+","+E[1][1]+" "+E[2][0]+","+E[2][1]+" xe";x.attr({path:H,
fillcolor:w});break;case "css":x.removeAttr("style");w={x:L.precedance==="x"?L.x==="left"?"right":"left":L.x,y:L.precedance==="y"?L.y==="top"?"bottom":"top":L.y};if(L.x==="center")x.css({borderLeft:v.size.width/2+"px solid transparent",borderRight:v.size.width/2+"px solid transparent"}).css("border-"+w.y,v.size.height+H);else L.y==="center"?x.css({borderTop:v.size.height/2+"px solid transparent",borderBottom:v.size.height/2+"px solid transparent"}).css("border-"+w.x,v.size.width+H):x.css("border-width",
v.size.height/2+"px "+v.size.width/2+"px").css("border-"+w.x,v.size.width/2+H).css("border-"+w.y,v.size.height/2+H);break}r=r;x=["left","right"];H=y.options.style;L=0;w=r.y+r.x.substr(0,1).toUpperCase()+r.x.substr(1);E={left:0,right:0,top:0,bottom:0};r=r||v.corner;if(!(y.options.style.tip.corner===aa||!v.tip)){v.tip.css({top:"",bottom:"",left:"",right:"",margin:""});x[r.precedance==="y"?"push":"unshift"]("top","bottom");try{w=H.radius||H[w].radius}catch(c){w=0}if(n.browser.msie&&v.method!=="css")E=
{left:1,top:1,right:r.precedance==="y"?1:2,bottom:r.precedance==="x"?1:2};switch(r[r.precedance==="y"?"x":"y"]){case "center":v.tip.css(x[0],"50%").css("margin-"+x[0],-(v.size[r.precedance==="y"?"width":"height"]/2));break;case x[0]:v.tip.css(x[0],r.offset.left-E[x[0]]-L+w);break;case x[1]:v.tip.css(x[1],r.offset.left+E[x[1]]-L+w);break}L+=v.size[r.precedance==="x"?"width":"height"];r[r.precedance]===x[2]?v.tip.css(x[2],r.offset[x[2]]-E[x[2]]-L):v.tip.css(x[3],r.offset[x[2]]+E[x[3]]-L)}return v},
destroy:function(){v.tip&&v.tip.add(v.elements.qTip).removeData("qtip").remove();y.elements.tooltip.unbind("tooltipmove.tip")}})}var da=true,aa=false,S=null;if(!n.fn.qtip){window.console&&window.console.error("This plugin requires the qTip library.","");return aa}n.fn.qtip.plugins.tip=function(y){var Y=y.plugins.tip;if(y.options.style.tip)if(Y)return Y;else{y.plugins.tip=new J(y);if(y.plugins.tip.determine())y.plugins.tip.init();else delete y.plugins.tip;return y.plugins.tip}};n.fn.qtip.plugins.tip.initialize=
"render";n.fn.qtip.plugins.tip.sanitize=function(y){if(y.style!==undefined&&y.style.tip!==undefined){if(typeof y.style.tip!=="object")y.style.tip={corner:y.style.tip};if(typeof y.style.tip.width!=="number")y.style.tip.width=14;if(typeof y.style.tip.height!=="number")y.style.tip.height=14}}})(jQuery);var G=jQuery.noConflict(true);G.browser.msie&&G.browser.version<7||G.browser.safari&&G.browser.version<"525"||G(document).ready(function(){function n(g){return g.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/,
function(i){return i.link(i)})}function J(g,i){if(g.length<i)return g;return g.substring(0,i-3)+"..."}function da(g){return g.replace(/\S+/g,function(i){return i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()})}function aa(g){if(g.length!=10)return g;return"("+g.substring(0,3)+") "+g.substring(3,6)+"-"+g.substring(6,10)}function S(g){g=g.replace(/,/g,"");g=g.split(" ");g=g[0]+" "+g[2]+" "+g[1]+" "+g[4]+" "+g[5]+" "+g[3];return y(g)}function y(g){var i=g.split(" ");g=i[1]+" "+i[2]+", "+i[5]+" "+
i[3];var m=Date.parse(g);i=arguments.length>1?arguments[1]:new Date;m=parseInt((i.getTime()-m)/1E3);m+=i.getTimezoneOffset()*60;i="";return i=m<60?"a minute ago":m<120?"couple of minutes ago":m<2700?parseInt(m/60).toString()+" minutes ago":m<5400?"an hour ago":m<86400?""+parseInt(m/3600).toString()+" hours ago":m<172800?"1 day ago":parseInt(m/86400).toString()+" days ago"}function Y(g){this.loaded=false;this.name=g.name;this.description=g.description||r(g.name);this.displayWhenFinishedLoading=this.showErrors=
true}function v(g){L!=null&&L.deactivate(L!=g&&g&&g.loaded);L=L==g?null:g;L!=null&&L.activate()}function r(g){if(g===undefined||typeof g!="string")return"";return G.map(g.split("_"),function(i){return i.substring(0,1).toUpperCase()+i.substring(1)}).join(" ")}function w(g){this.base=Y;this.base(g);this.src=g.src;this.scrollable=g.scrollable||false}function x(g){this.base=Y;this.base(g);this.url=g.url;this.display=g.display}function H(g,i,m){var D=new Date;D.setDate(D.getDate()+m);document.cookie=g+
"="+escape(i)+(m==null?"":";expires="+D.toGMTString())}function E(){var g;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;g=unescape(document.cookie.substring(c_start,c_end));break a}}g=""}if(g!=null&&g!=""){if(g=="false")return false;return true}H("turnsocial_visible",true);return true}if(!(G("#ts").length>0))if(G.support.boxModel){G("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');
G("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");
Y.prototype.display_div=function(){return G("#ts_"+this.name)};Y.prototype.link=function(){return G("#ts_"+this.name+"_link")};var L=null;Y.prototype.activate=function(){var g=this;c.track("app opened",{name:g.name,key:"4da7a0feba7c1f91192126e714a2e19c"});if(g.loaded)g.show_display_div();else{this.displayWhenFinishedLoading=this.showErrors=true;G(".ts_loading").fadeIn();timeout_callback=function(){g.displayWhenFinishedLoading=false;if(g.showErrors){v(null);G(".ts_error").fadeIn();setTimeout(function(){G(".ts_error").fadeOut()},
3E3)}};var i=setTimeout(timeout_callback,1E4);g.load_content(function(){g.loaded=true;clearTimeout(i);if(g.displayWhenFinishedLoading){G(".ts_loading").hide();g.show_display_div()}})}};Y.prototype.deactivate=function(g){if(this.loaded){g||G("#ts_shadow").hide();this.display_div().fadeOut(200)}else{this.showErrors=this.displayWhenFinishedLoading=false;G(".ts_loading").fadeOut()}};Y.prototype.show_display_div=function(){var g=this,i=G("#ts_shadow");if(!i.is(":visible")){i.css("opacity",0);i.show()}i.fadeTo(200,
0.3,function(){g.display_div().fadeIn(200);g.display_div().css("top",null);g.display_div().position().top<16&&g.display_div().css("top",16)})};w.prototype=new Y({});w.prototype.load_content=function(g){var i='<iframe src="'+this.src+'" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" frameborder="0" scrolling="no"></iframe>';this.display_div().html(i);this.display_div().find("iframe").load(g)};w.prototype.type="iframe_app";x.prototype=new Y({});x.prototype.load_content=
function(g){var i=this;G.getJSON(this.url,function(m){m=i.display(m);i.display_div().html(m);g()})};x.prototype.type="json_app";var M=[];M.push(new w({name:"share",description:"Share This Page",src:"http://turnsocial.com/apps/share?url="+encodeURIComponent(window.location)+"&title="+encodeURIComponent(document.title)}));M.push(new w({name:"facebook_fan",description:"Facebook Fan Page",src:"http://www.facebook.com/plugins/likebox.php?id=141144370456&amp;width=500&amp;height=550&amp;stream=true&header=false&amp;connections=22",
scrollable:true}));M.push(new x({name:"twitter_search",description:"Twitter search for Alexan Solmar",url:"http://search.twitter.com/search.json?q=Alexan%20Solmar&show_user=true&rpp=6&callback=?",display:function(g){var i=g.results;return function(){var m=[];m.push('<div class="ts_header">\n  <img class="ts_logo" src="http://assets0.twitter.com/images/twitter.png" />\n  <h2>Search: Alexan Solmar</h2>\n</div>\n\n');G.each(i,function(D,B){m.push('\n  <div class="ts_tweet">\n    <a href="http://twitter.com/');
m.push(B.from_user);m.push('">\n      <img src="');m.push(B.profile_image_url);m.push('" />\n      @');m.push(B.from_user);m.push("\n    </a>\n    ");m.push(n(B.text));m.push('\n    <span class="ts_created_at">\n      ');m.push(S(B.created_at));m.push("\n    </span>\n  </div>\n")});m.push("\n");return m.join("")}()}}));M.push(new x({name:"twitter_user",description:"Twitter user @alexansolmarapt",url:"http://twitter.com/status/user_timeline/alexansolmarapt.json?count=8&callback=?",display:function(g){var i=
g[0].user;return function(){var m=[];m.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/');m.push(i.screen_name);m.push('">\n      <img src="');m.push(i.profile_image_url);m.push('" />\n    </a>\n  </div>\n  <div class="ts_user_deets">\n    <a href="http://twitter.com/');m.push(i.screen_name);m.push('">\n      @');m.push(i.screen_name);m.push("\n    </a>\n    <div>\n      ");m.push(i.followers_count);
m.push(" Followers\n    </div>\n  </div>\n</div>\n\n");G.each(g,function(D,B){m.push('\n  <div class="ts_tweet">\n    ');m.push(n(B.text));m.push('\n    <span class="ts_created_at">\n      ');m.push(y(B.created_at));m.push("\n      via \n      ");m.push(B.source);m.push("\n    </span>\n  </div>\n")});m.push("\n");return m.join("")}()}}));M.push(new w({name:"youtube",src:"http://turnsocial.com/apps/youtube/4da7a0feba7c1f91192126e714a2e19c"}));M.push(new x({name:"rentwiki",url:"http://turnsocial.com/apps/rentwiki/4da7a0feba7c1f91192126e714a2e19c?callback=?",
display:function(g){return function(){var i=[];i.push("");console.log(g);i.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');G.each(["pros","cons"],function(){i.push("\n  ");if(g[this]=="")return true;i.push("\n  <h2>");i.push(da(this));i.push('</h2>\n  <ul class="ts_section">\n    ');G.each(g[this],
function(){i.push("\n      <li>");i.push(this);i.push("</li>\n    ")});i.push("\n  </ul>\n")});i.push("\n\n");if(g.description){i.push('\n  <h2>Description</h2>\n  <div class="ts_section">');i.push(g.description);i.push("</div>\n")}i.push('\n\n<h2>Reviews</h2>\n<div class="ts_reviews">\n  ');if(g.reviews.length>0){i.push("\n    ");G.each(g.reviews,function(m,D){i.push('\n      <div class="ts_section">\n        Review by \n        <a href="');i.push(D.user_url);i.push('">');i.push(D.user_name);i.push("</a>:\n        ");
i.push(D.description);i.push("\n      </div>\n    ")});i.push("\n  ")}else i.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  ');i.push("\n</div>\n");return i.join("")}()}}));M.push(new w({name:"walkscore",src:"http://www.walkscore.com/serve-tile.php?height=275&list_limit=10&street=408%20NE%206th%20St%2C%20Fort%20Lauderdale%2C%20FL%2033301%2C%20USA&width=600&wsid=ed254c0d69186ca9a5394bc17690ff93"}));
M.push(new x({name:"outside",url:"http://turnsocial.com/apps/outside/4da7a0feba7c1f91192126e714a2e19c?callback=?",description:"Outside.in",display:function(g){return function(){var i=[];i.push('<div class="ts_header">\n  <h1>Recent Local Stories & News</h1>\n  <a href="http://outside.in">\n    <img src="http://assets0.outside.in/images/oi_logo_interim.png" class="ts_logo" />\n  </a>\n</div>\n\n');G.each(g,function(m,D){i.push('\n  <div class="ts_story">\n    <h2><a href="');i.push(D.url);i.push('">');
i.push(D.title);i.push("</a></h2>\n    ");i.push('\n    <div class="ts_about">\n      <a href="');i.push(D.url);i.push('">');i.push(D.author);i.push("</a> - ");i.push(D.published_at);i.push("\n    </div>\n\n    ");if(D.body!=undefined){i.push("\n      ");i.push('\n      <div class="ts_body">');i.push(J(D.body.replace(/<\/?[^>]+>/gi,""),400));i.push("</div>\n    ")}i.push("\n\n    ");if(D.places!=undefined){i.push('\n      <div class="ts_places">\n        Where:\n        ');G.each(D.places,function(B,
O){i.push('\n          <a class="ts_place" href="');i.push(O.url);i.push('">');i.push(O.name);i.push("</a>\n          ");B+1<D.places.length-1&&i.push("\n            &ndash;\n          ");i.push("\n        ")});i.push(" \n      </div>\n    ")}i.push("\n  </div>\n\n  ");i.push("\n  ");return m<3});i.push("\n");return i.join("")}()}}));M.push(new x({name:"yelp_search",url:"http://api.yelp.com/business_review_search?term=restaurants%20and%20bars&num_biz_requested=6&lat=26.129645&long=-80.139332&ywsid=gNRknj9RkN7Xa0zfrl5EuQ&callback=?",
display:function(g){var i=g.businesses;return function(){var m=[];m.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');G.each(i,function(D,B){m.push('\n  <div class="ts_business">\n    <a href="');m.push(B.url);m.push('">\n      <img class="ts_photo" src="');m.push(B.photo_url);m.push('" />\n    </a>\n\n    <div class="ts_rightbox">\n      <img src="');m.push(B.rating_img_url);m.push('" />\n      <a class="ts_review_count" href="');
m.push(B.url);m.push('">\n        ');m.push(B.review_count);m.push(" Reviews\n      </a><br />\n\n      <address>\n        ");m.push(B.address1);m.push("<br />\n        ");m.push(B.city);m.push(", ");m.push(B.state_code);m.push(" ");m.push(B.zip);m.push("\n      </address>\n\n      <div>\n        ");m.push(aa(B.phone));m.push('\n      </div>\n    </div>\n\n    <div class="ts_title">\n      <a href="');m.push(B.url);m.push('">\n        ');m.push((D+1).toString());m.push(". ");m.push(B.name);m.push('\n      </a>\n    </div>\n\n    <div class="ts_distance">\n      <span class="ts_detail">Distance: </span>\n      ');
m.push(Math.round(B.distance*10)/10);m.push(" miles\n    </div>\n\n    ");if(B.categories.length>0){m.push('\n      <div class="ts_categories">\n        <span class="ts_detail">\n          ');m.push(B.categories.length>1?"Categories":"Category");m.push(":\n        </span>\n        ");G.each(B.categories,function(O,V){m.push("");m.push(O==0?"":",");m.push("\n          ");m.push(V.name);m.push("")});m.push("\n      </div>\n    ")}m.push("\n\n    ");if(B.neighborhoods.length>0){m.push('\n      <div class="ts_neighborhoods">\n        <span class="ts_detail">\n          ');
m.push(B.neighborhoods.length>1?"Neighborhoods":"Neighborhood");m.push(":\n        </span>\n        ");G.each(B.neighborhoods,function(O,V){m.push("");m.push(O==0?"":",");m.push("\n          ");m.push(V.name);m.push("")});m.push("\n      </div>\n    ")}m.push('\n\n    <div class="ts_review">\n      <a href="');m.push(B.reviews[0].user_url);m.push('">\n        <img src="');m.push(B.reviews[0].user_photo_url_small);m.push('" />\n      </a>\n      ');m.push(B.reviews[0].text_excerpt);m.push('\n      <a href="');
m.push(B.reviews[0].url);m.push('">more</a>\n    </div>\n  </div>\n')});m.push("\n");return m.join("")}()}}));M.push(new x({name:"foursquare",url:"http://turnsocial.com/apps/foursquare/4da7a0feba7c1f91192126e714a2e19c?callback=?",display:function(g){G(function(){var i=G("#ts_foursquare .ts_info"),m=G("#ts_foursquare .ts_mayor"),D=Math.max(i.height(),m.height());i.height(D);m.height(D)});return function(){var i=[];i.push('<div class="ts_header">\n  <a href="http://foursquare.com">\n    <img src="http://turnsocial.com/images/foursquare_logo.png" />\n  </a>\n</div>\n\n<div class="ts_top">\n  <div class="ts_info">\n    <h2>');
i.push(g.venue.name);i.push("</h2>\n\n    <address>\n      ");i.push(g.venue.address);i.push("<br />\n      ");i.push(g.venue.crossstreet);i.push("<br />\n      ");i.push(g.venue.city);i.push("\n    </address>\n\n    <div>");i.push(g.venue.phone);i.push('</div>\n\n    <div class="ts_checkins">\n      Total Checkins: ');i.push(g.venue.stats.checkins);i.push('\n    </div>\n  </div>\n\n  <div class="ts_mayor">\n    <div class="ts_mayor_title">Current Mayor:</div>\n    ');if(g.venue.stats.mayor){i.push('\n      <img src="');
i.push(g.venue.stats.mayor.user.photo);i.push('" class="ts_user_photo" />\n      <div>\n        ');i.push(g.venue.stats.mayor.user.firstname);i.push("\n        ");i.push(g.venue.stats.mayor.user.lastname);i.push("\n      </div>\n      <div>\n        ");i.push(g.venue.stats.mayor.count);i.push(" checkins\n      </div>\n    ")}else i.push('\n      <img src="http://foursquare.com/img/icon_mayor.png" class="ts_user_photo" />\n      <div>No mayor yet!</div>\n    ');i.push("\n  </div>\n</div>\n\n");if(g.venue.tips){i.push('\n  <div class="ts_tips">\n    <h2>Tips</h2>\n    ');
G.each(g.venue.tips,function(m,D){i.push('\n      <div class="ts_tip">\n        <img src="');i.push(D.user.photo);i.push('" class="ts_user_photo" />\n        <div>\n          ');i.push(D.user.firstname);i.push("\n          ");i.push(D.user.lastname);i.push("\n        </div>\n        <div>");i.push(D.created);i.push("</div>\n        <div>");i.push(D.text);i.push("</div>\n        ");if(D.url){i.push("\n          <div>");i.push(D.url);i.push("</div>\n        ")}i.push("\n      </div>\n    ")});i.push("\n  </div>\n")}i.push("\n");
return i.join("")}()}}));if(!E()){G("#ts_full_bar").removeClass("ts_initial_bar");G("#ts_hidden_bar").addClass("ts_initial_bar");G("#ts_toolbar_arrow").hide()}var c={track:function(g,i){var m=[];for(var D in i)m.push(encodeURIComponent(D)+"="+encodeURIComponent(i[D]));m.push("t="+(new Date).getTime().toString());m="http://turnsocial.com/track/"+encodeURIComponent(g)+"?"+m.join("&");G("#ts_analytics").remove();D=G('<iframe id="ts_analytics" style="display: none !important;" width="0" height="0"></iframe>');
D.attr("src",m);G("#ts").append(D)}};G.each(M,function(g,i){var m='<a href="#" id="ts_'+i.name+'_link" class="ts_app_link" onclick="return false;"><img class="ts_app_image" src="http://turnsocial.com/images/icons/'+i.name+'.png" alt="'+i.description+'" /></a>';G("#ts_app_links").append(G(m));G("#ts").append(G('<div id="ts_'+i.name+'" class="ts_widget ts_'+i.type+'"></div>'))});var ha={tip:{corner:true,adjust:true},radius:8};G(".ts_bar img").each(function(){var g=G(this);g.qtip({content:g.attr("alt"),
position:{at:"top left",my:"bottom left",container:G("#ts")},style:ha,show:{delay:50,effect:function(){this.fadeIn(200)}},hide:{delay:0,effect:function(){this.fadeOut(200)}}})});G("#ts_shadow").bind("click",function(){v(null);return false});G(".ts_widget a").live("click",function(g){g.stopPropagation();window.open(this.href);return false});G(".ts_show_hide").click(function(){v(null);G(".ts_bar").slideToggle();var g=!E();H("turnsocial_visible",g);G("#ts_toolbar_arrow").animate({opacity:"toggle"})});
G.each(M,function(){var g=this;g.link().click(function(){v(g)})});G("#ts_myspace_link").click(function(){window.open("http://myspace.com/");c.track("app opened",{name:"myspace",key:"4da7a0feba7c1f91192126e714a2e19c"})});G(".ts_initial_bar").hide();var q=setInterval(function(){var g=true;G(".ts_initial_bar img").each(function(){g=g&&this.complete});if(g){G(".ts_initial_bar").slideDown();clearInterval(q);c.track("toolbar",{site:location.href,key:"4da7a0feba7c1f91192126e714a2e19c"})}},200)}})})();
