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