/*!
* jQuery JavaScript Library v1.7.1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Mon Nov 21 21:11:03 2011 -0500
*/
(function(n,h){var hb="scroll",Hb="position",rb="static",Gb="CSS1Compat",J="fxshow",A="toggle",gb=":hidden",z="hide",S="olddisplay",w="show",Fb="marginLeft",Eb="marginTop",Yb="application/x-www-form-urlencoded",F="display",Db="Width",qb="margin",bb="padding",ab="border",Cb="marginRight",wb="inline-block",Xb="cssFloat",Z="opacity",Wb="absolute",Vb="replaceWith",Kb="<$1></$2>",vb="nextSibling",u="script",Y="previousSibling",pb="parentNode",vc="focusout",Jb="\\.(?:.*\\.)?",E="checkbox",X="auto",R="height",B="width",v="button",W="set",fb="value",M="get",Q=".run",ob="inprogress",r="fx",I="mark",P="queue",eb="events",nb="relative",O="hidden",V="fixed",U="inline",k="undefined",t="none",q="px",mb="checked",x="radio",N="type",ub="form",D="on",C="href",db="tbody",m="input",tb="option",j="*",Bb="className",o="div",p="number",lb="parsererror",kb="false",y="function",L="once memory",l="object",K="boolean",e=false,s=".",g=" ",b=true,c=null,f="string",G="body",d="",i=n.document,vd=n.navigator,Ad=n.location,a=function(){var o="onreadystatechange",m="DOMContentLoaded",k="complete",a=function(b,c){return new a.fn.init(b,c,z)},V=n.jQuery,Y=n.$,z,P=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,A=/\S/,C=/^\s+/,B=/\s+$/,O=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,J=/^[\],:{}\s]*$/,H=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,I=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,F=/(?:^|:|,)(?:\s*\[)+/g,U=/(webkit)[ \/]([\w.]+)/,W=/(opera)(?:.*version)?[ \/]([\w.]+)/,X=/(msie) ([\w.]+)/,S=/(mozilla)(?:.*? rv:([\w.]+))?/,N=/-([a-z]|[0-9])/ig,Q=/^-ms-/,M=function(b,a){return(a+d).toUpperCase()},R=vd.userAgent,r,t,j,T=Object.prototype.toString,u=Object.prototype.hasOwnProperty,v=Array.prototype.push,q=Array.prototype.slice,E=String.prototype.trim,D=Array.prototype.indexOf,x={};a.fn=a.prototype={constructor:a,init:function(d,g,m){var e=this,j,l,k,n;if(!d)return e;if(d.nodeType){e.context=e[0]=d;e.length=1;return e}if(d===G&&!g&&i.body){e.context=i;e[0]=i.body;e.selector=d;e.length=1;return e}if(typeof d===f){if(d.charAt(0)==="<"&&d.charAt(d.length-1)===">"&&d.length>=3)j=[c,d,c];else j=P.exec(d);if(j&&(j[1]||!g))if(j[1]){g=g instanceof a?g[0]:g;n=g?g.ownerDocument||g:i;k=O.exec(d);if(k)if(a.isPlainObject(g)){d=[i.createElement(k[1])];a.fn.attr.call(d,g,b)}else d=[n.createElement(k[1])];else{k=a.buildFragment([j[1]],[n]);d=(k.cacheable?a.clone(k.fragment):k.fragment).childNodes}return a.merge(e,d)}else{l=i.getElementById(j[2]);if(l&&l.parentNode){if(l.id!==j[2])return m.find(d);e.length=1;e[0]=l}e.context=i;e.selector=d;return e}else return!g||g.jquery?(g||m).find(d):e.constructor(g).find(d)}else if(a.isFunction(d))return m.ready(d);if(d.selector!==h){e.selector=d.selector;e.context=d.context}return a.makeArray(d,e)},selector:d,jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return q.call(this,0)},"get":function(b){var a=this;return b==c?a.toArray():b<0?a[a.length+b]:a[b]},pushStack:function(e,f,h){var c=this,b=c.constructor();if(a.isArray(e))v.apply(b,e);else a.merge(b,e);b.prevObject=c;b.context=c.context;if(f==="find")b.selector=c.selector+(c.selector?g:d)+h;else if(f)b.selector=c.selector+s+f+"("+h+")";return b},each:function(b,c){return a.each(this,b,c)},ready:function(b){a.bindReady();t.add(b);return this},eq:function(a){a=+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(q.apply(this,arguments),"slice",q.call(arguments).join(","))},map:function(b){return this.pushStack(a.map(this,function(a,c){return b.call(a,c,a)}))},end:function(){return this.prevObject||this.constructor(c)},push:v,sort:[].sort,splice:[].splice};a.fn.init.prototype=a.fn;a.extend=a.fn.extend=function(){var k,i,f,d,j,m,b=arguments[0]||{},g=1,o=arguments.length,n=e;if(typeof b===K){n=b;b=arguments[1]||{};g=2}if(typeof b!==l&&!a.isFunction(b))b={};if(o===g){b=this;--g}for(;g<o;g++)if((k=arguments[g])!=c)for(i in k){f=b[i];d=k[i];if(b===d)continue;if(n&&d&&(a.isPlainObject(d)||(j=a.isArray(d)))){if(j){j=e;m=f&&a.isArray(f)?f:[]}else m=f&&a.isPlainObject(f)?f:{};b[i]=a.extend(n,m,d)}else if(d!==h)b[i]=d}return b};a.extend({noConflict:function(b){if(n.$===a)n.$=Y;if(b&&n.jQuery===a)n.jQuery=V;return a},isReady:e,readyWait:1,holdReady:function(c){if(c)a.readyWait++;else a.ready(b)},ready:function(c){if(c===b&&!--a.readyWait||c!==b&&!a.isReady){if(!i.body)return setTimeout(a.ready,1);a.isReady=b;if(c!==b&&--a.readyWait>0)return;t.fireWith(i,[a]);a.fn.trigger&&a(i).trigger("ready").off("ready")}},bindReady:function(){if(t)return;t=a.Callbacks(L);if(i.readyState===k)return setTimeout(a.ready,1);if(i.addEventListener){i.addEventListener(m,j,e);n.addEventListener("load",a.ready,e)}else if(i.attachEvent){i.attachEvent(o,j);n.attachEvent("onload",a.ready);var b=e;try{b=n.frameElement==c}catch(d){}i.documentElement.doScroll&&b&&w()}},isFunction:function(b){return a.type(b)===y},isArray:Array.isArray||function(b){return a.type(b)==="array"},isWindow:function(a){return a&&typeof a===l&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==c?String(a):x[T.call(a)]||l},isPlainObject:function(b){if(!b||a.type(b)!==l||b.nodeType||a.isWindow(b))return e;try{if(b.constructor&&!u.call(b,"constructor")&&!u.call(b.constructor.prototype,"isPrototypeOf"))return e}catch(d){return e}var c;for(c in b);return c===h||u.call(b,c)},isEmptyObject:function(a){for(var c in a)return e;return b},error:function(a){throw new Error(a);},parseJSON:function(b){if(typeof b!==f||!b)return c;b=a.trim(b);if(n.JSON&&n.JSON.parse)return n.JSON.parse(b);if(J.test(b.replace(H,"@").replace(I,"]").replace(F,d)))return new Function("return "+b)();a.error("Invalid JSON: "+b)},parseXML:function(c){var b,d;try{if(n.DOMParser){d=new DOMParser;b=d.parseFromString(c,"text/xml")}else{b=new ActiveXObject("Microsoft.XMLDOM");b.async=kb;b.loadXML(c)}}catch(e){b=h}(!b||!b.documentElement||b.getElementsByTagName(lb).length)&&a.error("Invalid XML: "+c);return b},noop:function(){},globalEval:function(a){a&&A.test(a)&&(n.execScript||function(a){n.eval.call(n,a)})(a)},camelCase:function(a){return a.replace(Q,"ms-").replace(N,M)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(b,f,i){var c,d=0,g=b.length,j=g===h||a.isFunction(b);if(i){if(j){for(c in b)if(f.apply(b[c],i)===e)break}else for(;d<g;)if(f.apply(b[d++],i)===e)break}else if(j){for(c in b)if(f.call(b[c],c,b[c])===e)break}else for(;d<g;)if(f.call(b[d],d,b[d++])===e)break;return b},trim:E?function(a){return a==c?d:E.call(a)}:function(a){return a==c?d:a.toString().replace(C,d).replace(B,d)},makeArray:function(b,g){var e=g||[];if(b!=c){var d=a.type(b);if(b.length==c||d===f||d===y||d==="regexp"||a.isWindow(b))v.call(e,b);else a.merge(e,b)}return e},inArray:function(d,b,a){var c;if(b){if(D)return D.call(b,d,a);c=b.length;a=a?a<0?Math.max(0,c+a):a:0;for(;a<c;a++)if(a in b&&b[a]===d)return a}return-1},merge:function(b,a){var d=b.length,c=0;if(typeof a.length===p)for(var e=a.length;c<e;c++)b[d++]=a[c];else while(a[c]!==h)b[d++]=a[c++];b.length=d;return b},grep:function(b,f,c){var e=[],d;c=!!c;for(var a=0,g=b.length;a<g;a++){d=!!f(b[a],a);c!==d&&e.push(b[a])}return e},map:function(b,j,k){var e,i,f=[],g=0,d=b.length,l=b instanceof a||d!==h&&typeof d===p&&(d>0&&b[0]&&b[d-1]||d===0||a.isArray(b));if(l)for(;g<d;g++){e=j(b[g],g,k);if(e!=c)f[f.length]=e}else for(i in b){e=j(b[i],i,k);if(e!=c)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(b,c){if(typeof c===f){var g=b[c];c=b;b=g}if(!a.isFunction(b))return h;var e=q.call(arguments,2),d=function(){return b.apply(c,e.concat(q.call(arguments)))};d.guid=b.guid=b.guid||d.guid||a.guid++;return d},access:function(b,c,e,f,g,j){var i=b.length;if(typeof c===l){for(var k in c)a.access(b,k,c[k],f,g,e);return b}if(e!==h){f=!j&&f&&a.isFunction(e);for(var d=0;d<i;d++)g(b[d],c,f?e.call(b[d],d,g(b[d],c)):e,j);return b}return i?g(b[0],c):h},now:function(){return+new Date},uaMatch:function(a){a=a.toLowerCase();var b=U.exec(a)||W.exec(a)||X.exec(a)||a.indexOf("compatible")<0&&S.exec(a)||[];return{browser:b[1]||d,version:b[2]||"0"}},sub:function(){var d=this;function c(a,b){return new c.fn.init(a,b)}a.extend(b,c,d);c.superclass=d;c.fn=c.prototype=d();c.fn.constructor=c;c.sub=d.sub;c.fn.init=function(d,b){if(b&&b instanceof a&&!(b instanceof c))b=c(b);return a.fn.init.call(this,d,b,e)};c.fn.init.prototype=c.fn;var e=c(i);return c},browser:{}});a.each("Boolean Number String Function Array Date RegExp Object".split(g),function(b,a){x["[object "+a+"]"]=a.toLowerCase()});r=a.uaMatch(R);if(r.browser){a.browser[r.browser]=b;a.browser.version=r.version}if(a.browser.webkit)a.browser.safari=b;if(A.test(" ")){C=/^[\s\xA0]+/;B=/[\s\xA0]+$/}z=a(i);if(i.addEventListener)j=function(){i.removeEventListener(m,j,e);a.ready()};else if(i.attachEvent)j=function(){if(i.readyState===k){i.detachEvent(o,j);a.ready()}};function w(){if(a.isReady)return;try{i.documentElement.doScroll("left")}catch(b){setTimeout(w,1);return}a.ready()}return a}(),Bc={};function jd(a){var e=Bc[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)e[a[c]]=b;return e}a.Callbacks=function(f){f=f?Bc[f]||jd(f):{};var c=[],g=[],d,l,m,k,i,o=function(h){var d,g,b,e,i;for(d=0,g=h.length;d<g;d++){b=h[d];e=a.type(b);if(e==="array")o(b);else if(e===y)(!f.unique||!j.has(b))&&c.push(b)}},n=function(h,a){a=a||[];d=!f.memory||[h,a];l=b;i=m||0;m=0;k=c.length;for(;c&&i<k;i++)if(c[i].apply(h,a)===e&&f.stopOnFalse){d=b;break}l=e;if(c)if(!f.once){if(g&&g.length){d=g.shift();j.fireWith(d[0],d[1])}}else if(d===b)j.disable();else c=[]},j={add:function(){if(c){var a=c.length;o(arguments);if(l)k=c.length;else if(d&&d!==b){m=a;n(d[0],d[1])}}return this},remove:function(){if(c)for(var d=arguments,b=0,e=d.length;b<e;b++)for(var a=0;a<c.length;a++)if(d[b]===c[a]){if(l)if(a<=k){k--;if(a<=i)i--}c.splice(a--,1);if(f.unique)break}return this},has:function(f){if(c)for(var a=0,d=c.length;a<d;a++)if(f===c[a])return b;return e},empty:function(){c=[];return this},disable:function(){c=g=d=h;return this},disabled:function(){return!c},lock:function(){g=h;(!d||d===b)&&j.disable();return this},locked:function(){return!g},fireWith:function(a,b){if(g)if(l)!f.once&&g.push([a,b]);else!(f.once&&d)&&n(a,b);return this},fire:function(){j.fireWith(this,arguments);return this},fired:function(){return!!d}};return j};var Ub=[].slice;a.extend({Deferred:function(k){var f=a.Callbacks(L),g=a.Callbacks(L),e=a.Callbacks("memory"),j="pending",i={resolve:f,reject:g,notify:e},h={done:f.add,fail:g.add,progress:e.add,state:function(){return j},isResolved:f.fired,isRejected:g.fired,then:function(c,d,a){b.done(c).fail(d).progress(a);return this},always:function(){b.done.apply(b,arguments).fail.apply(b,arguments);return this},pipe:function(d,e,c){return a.Deferred(function(f){a.each({done:[d,"resolve"],fail:[e,"reject"],progress:[c,"notify"]},function(d,g){var h=g[0],e=g[1],c;if(a.isFunction(h))b[d](function(){c=h.apply(this,arguments);if(c&&a.isFunction(c.promise))c.promise().then(f.resolve,f.reject,f.notify);else f[e+"With"](this===b?f:this,[c])});else b[d](f[e])})}).promise()},promise:function(a){if(a==c)a=h;else for(var b in h)a[b]=h[b];return a}},b=h.promise({}),d;for(d in i){b[d]=i[d].fire;b[d+"With"]=i[d].fireWith}b.done(function(){j="resolved"},g.disable,e.lock).fail(function(){j="rejected"},f.disable,e.lock);k&&k.call(b,b);return b},when:function(f){var c=Ub.call(arguments,0),d=0,e=c.length,i=new Array(e),g=e,l=e,b=e<=1&&f&&a.isFunction(f.promise)?f:a.Deferred(),h=b.promise();function k(a){return function(d){c[a]=arguments.length>1?Ub.call(arguments,0):d;!--g&&b.resolveWith(b,c)}}function j(a){return function(c){i[a]=arguments.length>1?Ub.call(arguments,0):c;b.notifyWith(h,i)}}if(e>1){for(;d<e;d++)if(c[d]&&c[d].promise&&a.isFunction(c[d].promise))c[d].promise().then(k(d),b.reject,j(d));else--g;!g&&b.resolveWith(b,c)}else b!==f&&b.resolveWith(b,e?[f]:[]);return h}});a.support=function(){var g,A,s,w,z,h,r,l,u,F,v,B,p,f=i.createElement(o),E=i.documentElement;f.setAttribute(Bb,"t");f.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";A=f.getElementsByTagName(j);s=f.getElementsByTagName("a")[0];if(!A||!A.length||!s)return{};w=i.createElement("select");z=w.appendChild(i.createElement(tb));h=f.getElementsByTagName(m)[0];g={leadingWhitespace:f.firstChild.nodeType===3,tbody:!f.getElementsByTagName(db).length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(s.getAttribute("style")),hrefNormalized:s.getAttribute(C)==="/a",opacity:/^0.55/.test(s.style.opacity),cssFloat:!!s.style.cssFloat,checkOn:h.value===D,optSelected:z.selected,getSetAttribute:f.className!=="t",enctype:!!i.createElement(ub).enctype,html5Clone:i.createElement("nav").cloneNode(b).outerHTML!=="<:nav></:nav>",submitBubbles:b,changeBubbles:b,focusinBubbles:e,deleteExpando:b,noCloneEvent:b,inlineBlockNeedsLayout:e,shrinkWrapBlocks:e,reliableMarginRight:b};h.checked=b;g.noCloneChecked=h.cloneNode(b).checked;w.disabled=b;g.optDisabled=!z.disabled;try{delete f.test}catch(H){g.deleteExpando=e}if(!f.addEventListener&&f.attachEvent&&f.fireEvent){f.attachEvent("onclick",function(){g.noCloneEvent=e});f.cloneNode(b).fireEvent("onclick")}h=i.createElement(m);h.value="t";h.setAttribute(N,x);g.radioValue=h.value==="t";h.setAttribute(mb,mb);f.appendChild(h);l=i.createDocumentFragment();l.appendChild(f.lastChild);g.checkClone=l.cloneNode(b).cloneNode(b).lastChild.checked;g.appendChecked=h.checked;l.removeChild(h);l.appendChild(f);f.innerHTML=d;if(n.getComputedStyle){r=i.createElement(o);r.style.width="0";r.style.marginRight="0";f.style.width="2px";f.appendChild(r);g.reliableMarginRight=(parseInt((n.getComputedStyle(r,c)||{marginRight:0}).marginRight,10)||0)===0}if(f.attachEvent)for(B in{submit:1,change:1,focusin:1}){v=D+B;p=v in f;if(!p){f.setAttribute(v,"return;");p=typeof f[v]===y}g[B+"Bubbles"]=p}l.removeChild(f);l=w=z=r=f=h=c;a(function(){var e,j,b,x,w,h,m,r,s,n,v,l=i.getElementsByTagName(G)[0];if(!l)return;m=1;r="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";s="visibility:hidden;border:0;";n="style='"+r+"border:5px solid #000;padding:0;'";v="<div "+n+"><div></div></div><table "+n+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";e=i.createElement(o);e.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+q;l.insertBefore(e,l.firstChild);f=i.createElement(o);e.appendChild(f);f.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";u=f.getElementsByTagName("td");p=u[0].offsetHeight===0;u[0].style.display=d;u[1].style.display=t;g.reliableHiddenOffsets=p&&u[0].offsetHeight===0;f.innerHTML=d;f.style.width=f.style.paddingLeft="1px";a.boxModel=g.boxModel=f.offsetWidth===2;if(typeof f.style.zoom!==k){f.style.display=U;f.style.zoom=1;g.inlineBlockNeedsLayout=f.offsetWidth===2;f.style.display=d;f.innerHTML="<div style='width:4px;'></div>";g.shrinkWrapBlocks=f.offsetWidth!==2}f.style.cssText=r+s;f.innerHTML=v;j=f.firstChild;b=j.firstChild;w=j.nextSibling.firstChild.firstChild;h={doesNotAddBorder:b.offsetTop!==5,doesAddBorderForTableAndCells:w.offsetTop===5};b.style.position=V;b.style.top="20px";h.fixedPosition=b.offsetTop===20||b.offsetTop===15;b.style.position=b.style.top=d;j.style.overflow=O;j.style.position=nb;h.subtractsBorderForOverflowNotVisible=b.offsetTop===-5;h.doesNotIncludeMarginInBodyOffset=l.offsetTop!==m;l.removeChild(e);f=e=c;a.extend(g,h)});return g}();var Md=/^(?:\{.*\}|\[.*\])$/,sd=/([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,d),noData:{embed:b,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:b},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return!!b&&!Sb(b)},data:function(i,g,n,o){if(!a.acceptData(i))return;var p,d,k,j=a.expando,q=typeof g===f,m=i.nodeType,e=m?a.cache:i,b=m?i[j]:i[j]&&j,r=g===eb;if((!b||!e[b]||!r&&!o&&!e[b].data)&&q&&n===h)return;if(!b)if(m)i[j]=b=++a.uuid;else b=j;if(!e[b]){e[b]={};if(!m)e[b].toJSON=a.noop}if(typeof g===l||typeof g===y)if(o)e[b]=a.extend(e[b],g);else e[b].data=a.extend(e[b].data,g);p=d=e[b];if(!o){if(!d.data)d.data={};d=d.data}if(n!==h)d[a.camelCase(g)]=n;if(r&&!d[g])return p.events;if(q){k=d[g];if(k==c)k=d[a.camelCase(g)]}else k=d;return k},removeData:function(e,b,l){if(!a.acceptData(e))return;var h,j,m,i=a.expando,k=e.nodeType,d=k?a.cache:e,f=k?e[i]:i;if(!d[f])return;if(b){h=l?d[f]:d[f].data;if(h){if(!a.isArray(b))if(b in h)b=[b];else{b=a.camelCase(b);if(b in h)b=[b];else b=b.split(g)}for(j=0,m=b.length;j<m;j++)delete h[b[j]];if(!(l?Sb:a.isEmptyObject)(h))return}}if(!l){delete d[f].data;if(!Sb(d[f]))return}if(a.support.deleteExpando||!d.setInterval)delete d[f];else d[f]=c;if(k)if(a.support.deleteExpando)delete e[i];else if(e.removeAttribute)e.removeAttribute(i);else e[i]=c},_data:function(d,e,c){return a.data(d,e,c,b)},acceptData:function(d){if(d.nodeName){var c=a.noData[d.nodeName.toLowerCase()];if(c)return!(c===b||d.getAttribute("classid")!==c)}return b}});a.fn.extend({data:function(i,n){var m="parsedAttrs",e=this,f,o,j,g=c;if(typeof i===k){if(e.length){g=a.data(e[0]);if(e[0].nodeType===1&&!a._data(e[0],m)){o=e[0].attributes;for(var p=0,q=o.length;p<q;p++){j=o[p].name;if(j.indexOf("data-")===0){j=a.camelCase(j.substring(5));Ic(e[0],j,g[j])}}a._data(e[0],m,b)}}return g}else if(typeof i===l)return e.each(function(){a.data(this,i)});f=i.split(s);f[1]=f[1]?s+f[1]:d;if(n===h){g=e.triggerHandler("getData"+f[1]+"!",[f[0]]);if(g===h&&e.length){g=a.data(e[0],i);g=Ic(e[0],i,g)}return g===h&&f[1]?e.data(f[0]):g}else return e.each(function(){var c=a(this),b=[f[0],n];c.triggerHandler("setData"+f[1]+"!",b);a.data(this,i,n);c.triggerHandler("changeData"+f[1]+"!",b)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}});function Ic(g,i,d){if(d===h&&g.nodeType===1){var j="data-"+i.replace(sd,"-$1").toLowerCase();d=g.getAttribute(j);if(typeof d===f){try{d=d==="true"?b:d===kb?e:d==="null"?c:a.isNumeric(d)?parseFloat(d):Md.test(d)?a.parseJSON(d):d}catch(k){}a.data(g,i,d)}else d=h}return d}function Sb(d){for(var c in d){if(c==="data"&&a.isEmptyObject(d[c]))continue;if(c!=="toJSON")return e}return b}function gc(c,d,i){var e=d+"defer",f=d+P,g=d+I,h=a._data(c,e);h&&(i===P||!a._data(c,f))&&(i===I||!a._data(c,g))&&setTimeout(function(){if(!a._data(c,f)&&!a._data(c,g)){a.removeData(c,e,b);h.fire()}},0)}a.extend({_mark:function(c,b){if(c){b=(b||r)+I;a._data(c,b,(a._data(c,b)||0)+1)}},_unmark:function(f,c,d){if(f!==b){d=c;c=f;f=e}if(c){d=d||r;var g=d+I,h=f?0:(a._data(c,g)||1)-1;if(h)a._data(c,g,h);else{a.removeData(c,g,b);gc(c,d,I)}}},queue:function(e,d,c){var b;if(e){d=(d||r)+P;b=a._data(e,d);if(c)if(!b||a.isArray(c))b=a._data(e,d,a.makeArray(c));else b.push(c);return b||[]}},dequeue:function(d,c){c=c||r;var e=a.queue(d,c),f=e.shift(),g={};if(f===ob)f=e.shift();if(f){c===r&&e.unshift(ob);a._data(d,c+Q,g);f.call(d,function(){a.dequeue(d,c)},g)}if(!e.length){a.removeData(d,c+"queue "+c+Q,b);gc(d,c,P)}}});a.fn.extend({queue:function(b,c){if(typeof b!==f){c=b;b=r}return c===h?a.queue(this[0],b):this.each(function(){var d=a.queue(this,b,c);b===r&&d[0]!==ob&&a.dequeue(this,b)})},dequeue:function(b){return this.each(function(){a.dequeue(this,b)})},delay:function(b,c){b=a.fx?a.fx.speeds[b]||b:b;c=c||r;return this.queue(c,function(d,c){var a=setTimeout(d,b);c.stop=function(){clearTimeout(a)}})},clearQueue:function(a){return this.queue(a||r,[])},promise:function(c,o){if(typeof c!==f){o=c;c=h}c=c||r;var k=a.Deferred(),d=this,e=d.length,j=1,g=c+"defer",m=c+P,n=c+I,l;function i(){!--j&&k.resolveWith(d,[d])}while(e--)if(l=a.data(d[e],g,h,b)||(a.data(d[e],m,h,b)||a.data(d[e],n,h,b))&&a.data(d[e],g,a.Callbacks(L),b)){j++;l.add(i)}i();return k.promise()}});var Nc=/[\n\t\r]/g,Ob=/\s+/,Kd=/\r/g,Vd=/^(?:button|input)$/i,qd=/^(?:button|input|object|select|textarea)$/i,pd=/^a(?:rea)?$/i,Jc=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,mc=a.support.getSetAttribute,cb,Hc,sc;a.fn.extend({attr:function(d,c){return a.access(this,d,c,b,a.attr)},removeAttr:function(b){return this.each(function(){a.removeAttr(this,b)})},prop:function(d,c){return a.access(this,d,c,b,a.prop)},removeProp:function(b){b=a.propFix[b]||b;return this.each(function(){try{this[b]=h;delete this[b]}catch(a){}})},addClass:function(b){var i=this,d,j,l,c,h,e,k;if(a.isFunction(b))return i.each(function(c){a(this).addClass(b.call(this,c,this.className))});if(b&&typeof b===f){d=b.split(Ob);for(j=0,l=i.length;j<l;j++){c=i[j];if(c.nodeType===1)if(!c.className&&d.length===1)c.className=b;else{h=g+c.className+g;for(e=0,k=d.length;e<k;e++)if(!~h.indexOf(g+d[e]+g))h+=d[e]+g;c.className=a.trim(h)}}}return i},removeClass:function(b){var i=this,l,k,n,c,e,j,m;if(a.isFunction(b))return i.each(function(c){a(this).removeClass(b.call(this,c,this.className))});if(b&&typeof b===f||b===h){l=(b||d).split(Ob);for(k=0,n=i.length;k<n;k++){c=i[k];if(c.nodeType===1&&c.className)if(b){e=(g+c.className+g).replace(Nc,g);for(j=0,m=l.length;j<m;j++)e=e.replace(g+l[j]+g,g);c.className=a.trim(e)}else c.className=d}}return i},toggleClass:function(b,c){var g=typeof b,h=typeof c===K;return a.isFunction(b)?this.each(function(d){a(this).toggleClass(b.call(this,d,this.className,c),c)}):this.each(function(){var j="__className__",i=this;if(g===f){var l,p=0,n=a(i),m=c,o=b.split(Ob);while(l=o[p++]){m=h?m:!n.hasClass(l);n[m?"addClass":"removeClass"](l)}}else if(g===k||g===K){i.className&&a._data(i,j,i.className);i.className=i.className||b===e?d:a._data(i,j)||d}})},hasClass:function(d){for(var c=g+d+g,a=0,f=this.length;a<f;a++)if(this[a].nodeType===1&&(g+this[a].className+g).replace(Nc,g).indexOf(c)>-1)return b;return e},val:function(i){var b,e,j,g=this[0];if(!arguments.length){if(g){b=a.valHooks[g.nodeName.toLowerCase()]||a.valHooks[g.type];if(b&&M in b&&(e=b.get(g,fb))!==h)return e;e=g.value;return typeof e===f?e.replace(Kd,d):e==c?d:e}return}j=a.isFunction(i);return this.each(function(k){var f=this,g=a(f),e;if(f.nodeType!==1)return;if(j)e=i.call(f,k,g.val());else e=i;if(e==c)e=d;else if(typeof e===p)e+=d;else if(a.isArray(e))e=a.map(e,function(a){return a==c?d:a+d});b=a.valHooks[f.nodeName.toLowerCase()]||a.valHooks[f.type];if(!b||!(W in b)||b.set(f,e,fb)===h)f.value=e})}});a.extend({valHooks:{option:{"get":function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{"get":function(j){var i,g,k,b,e=j.selectedIndex,h=[],d=j.options,f=j.type==="select-one";if(e<0)return c;g=f?e:0;k=f?e+1:d.length;for(;g<k;g++){b=d[g];if(b.selected&&(a.support.optDisabled?!b.disabled:b.getAttribute("disabled")===c)&&(!b.parentNode.disabled||!a.nodeName(b.parentNode,"optgroup"))){i=a(b).val();if(f)return i;h.push(i)}}return f&&!h.length&&d.length?a(d[e]).val():h},"set":function(c,d){var b=a.makeArray(d);a(c).find(tb).each(function(){this.selected=a.inArray(a(this).val(),b)>=0});if(!b.length)c.selectedIndex=-1;return b}}},attrFn:{val:b,css:b,html:b,text:b,data:b,width:b,height:b,offset:b},attr:function(e,b,g,m){var i,f,j,l=e.nodeType;if(!e||l===3||l===8||l===2)return;if(m&&b in a.attrFn)return a(e)[b](g);if(typeof e.getAttribute===k)return a.prop(e,b,g);j=l!==1||!a.isXMLDoc(e);if(j){b=b.toLowerCase();f=a.attrHooks[b]||(Jc.test(b)?Hc:cb)}if(g!==h)if(g===c){a.removeAttr(e,b);return}else if(f&&W in f&&j&&(i=f.set(e,g,b))!==h)return i;else{e.setAttribute(b,d+g);return g}else if(f&&M in f&&j&&(i=f.get(e,b))!==c)return i;else{i=e.getAttribute(b);return i===c?h:i}},removeAttr:function(c,i){var f,g,b,j,h=0;if(i&&c.nodeType===1){g=i.toLowerCase().split(Ob);j=g.length;for(;h<j;h++){b=g[h];if(b){f=a.propFix[b]||b;a.attr(c,b,d);c.removeAttribute(mc?b:f);if(Jc.test(b)&&f in c)c[f]=e}}}},attrHooks:{type:{"set":function(b,c){if(Vd.test(b.nodeName)&&b.parentNode)a.error("type property can't be changed");else if(!a.support.radioValue&&c===x&&a.nodeName(b,m)){var d=b.value;b.setAttribute(N,c);if(d)b.value=d;return c}}},value:{"get":function(b,d){return cb&&a.nodeName(b,v)?cb.get(b,d):d in b?b.value:c},"set":function(b,c,d){if(cb&&a.nodeName(b,v))return cb.set(b,c,d);b.value=c}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":Bb,maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,b,i){var g,d,j,f=e.nodeType;if(!e||f===3||f===8||f===2)return;j=f!==1||!a.isXMLDoc(e);if(j){b=a.propFix[b]||b;d=a.propHooks[b]}return i!==h?d&&W in d&&(g=d.set(e,i,b))!==h?g:e[b]=i:d&&M in d&&(g=d.get(e,b))!==c?g:e[b]},propHooks:{tabIndex:{"get":function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):qd.test(a.nodeName)||pd.test(a.nodeName)&&a.href?0:h}}}});a.attrHooks.tabindex=a.propHooks.tabIndex;Hc={"get":function(g,c){var d,f=a.prop(g,c);return f===b||typeof f!==K&&(d=g.getAttributeNode(c))&&d.nodeValue!==e?c.toLowerCase():h},"set":function(d,g,c){var f;if(g===e)a.removeAttr(d,c);else{f=a.propFix[c]||c;if(f in d)d[f]=b;d.setAttribute(c,c.toLowerCase())}return c}};if(!mc){sc={name:b,id:b};cb=a.valHooks.button={"get":function(c,b){var a;a=c.getAttributeNode(b);return a&&(sc[b]?a.nodeValue!==d:a.specified)?a.nodeValue:h},"set":function(b,e,c){var a=b.getAttributeNode(c);if(!a){a=i.createAttribute(c);b.setAttributeNode(a)}return a.nodeValue=e+d}};a.attrHooks.tabindex.set=cb.set;a.each([B,R],function(c,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{"set":function(c,a){if(a===d){c.setAttribute(b,X);return a}}})});a.attrHooks.contenteditable={"get":cb.get,"set":function(b,a,c){if(a===d)a=kb;cb.set(b,a,c)}}}!a.support.hrefNormalized&&a.each([C,"src",B,R],function(d,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{"get":function(d){var a=d.getAttribute(b,2);return a===c?h:a}})});if(!a.support.style)a.attrHooks.style={"get":function(a){return a.style.cssText.toLowerCase()||h},"set":function(b,a){return b.style.cssText=d+a}};if(!a.support.optSelected)a.propHooks.selected=a.extend(a.propHooks.selected,{"get":function(b){var a=b.parentNode;if(a){a.selectedIndex;if(a.parentNode)a.parentNode.selectedIndex}return c}});if(!a.support.enctype)a.propFix.enctype="encoding";!a.support.checkOn&&a.each([x,E],function(){a.valHooks[this]={"get":function(a){return a.getAttribute(fb)===c?D:a.value}}});a.each([x,E],function(){a.valHooks[this]=a.extend(a.valHooks[this],{"set":function(c,b){if(a.isArray(b))return c.checked=a.inArray(a(c).val(),b)>=0}})});var cc=/^(?:textarea|input|select)$/i,qc=/^([^\.]*)?(?:\.(.+))?$/,rd=/\bhover(\.\S+)?\b/,wd=/^key/,kd=/^(?:mouse|contextmenu)|click/,xc=/^(?:focusinfocus|focusoutblur)$/,Gd=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,od=function(b){var a=Gd.exec(b);if(a){a[1]=(a[1]||d).toLowerCase();a[3]=a[3]&&new RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")}return a},Id=function(c,a){var b=c.attributes||{};return(!a[1]||c.nodeName.toLowerCase()===a[1])&&(!a[2]||(b.id||{}).value===a[2])&&(!a[3]||a[3].test((b["class"]||{}).value))},Dc=function(b){return a.event.special.hover?b:b.replace(rd,"mouseenter$1 mouseleave$1")};a.event={add:function(f,r,j,y,t){var p,l,q,v,u,i,x,o,w,z,n,m;if(f.nodeType===3||f.nodeType===8||!r||!j||!(p=a._data(f)))return;if(j.handler){w=j;j=w.handler}if(!j.guid)j.guid=a.guid++;q=p.events;if(!q)p.events=q={};l=p.handle;if(!l){p.handle=l=function(b){return typeof a!==k&&(!b||a.event.triggered!==b.type)?a.event.dispatch.apply(l.elem,arguments):h};l.elem=f}r=a.trim(Dc(r)).split(g);for(v=0;v<r.length;v++){u=qc.exec(r[v])||[];i=u[1];x=(u[2]||d).split(s).sort();m=a.event.special[i]||{};i=(t?m.delegateType:m.bindType)||i;m=a.event.special[i]||{};o=a.extend({type:i,origType:u[1],data:y,handler:j,guid:j.guid,selector:t,quick:od(t),"namespace":x.join(s)},w);n=q[i];if(!n){n=q[i]=[];n.delegateCount=0;if(!m.setup||m.setup.call(f,y,x,l)===e)if(f.addEventListener)f.addEventListener(i,l,e);else f.attachEvent&&f.attachEvent(D+i,l)}if(m.add){m.add.call(f,o);if(!o.handler.guid)o.handler.guid=j.guid}if(t)n.splice(n.delegateCount++,0,o);else n.push(o);a.event.global[i]=b}f=c},global:{},remove:function(l,o,t,m,y){var r=a.hasData(l)&&a._data(l),q,v,f,x,j,w,p,n,k,u,h,i;if(!r||!(n=r.events))return;o=a.trim(Dc(o||d)).split(g);for(q=0;q<o.length;q++){v=qc.exec(o[q])||[];f=x=v[1];j=v[2];if(!f){for(f in n)a.event.remove(l,f+o[q],t,m,b);continue}k=a.event.special[f]||{};f=(m?k.delegateType:k.bindType)||f;h=n[f]||[];w=h.length;j=j?new RegExp("(^|\\.)"+j.split(s).sort().join(Jb)+"(\\.|$)"):c;for(p=0;p<h.length;p++){i=h[p];if((y||x===i.origType)&&(!t||t.guid===i.guid)&&(!j||j.test(i.namespace))&&(!m||m===i.selector||m==="**"&&i.selector)){h.splice(p--,1);if(i.selector)h.delegateCount--;k.remove&&k.remove.call(l,i)}}if(h.length===0&&w!==h.length){(!k.teardown||k.teardown.call(l,j)===e)&&a.removeEvent(l,f,r.handle);delete n[f]}}if(a.isEmptyObject(n)){u=r.handle;if(u)u.elem=c;a.removeData(l,[eb,"handle"],b)}},customEvent:{getData:b,setData:b,changeData:b},trigger:function(f,m,i,x){if(i&&(i.nodeType===3||i.nodeType===8))return;var g=f.type||f,u=[],v,y,o,j,k,q,p,t,r,w;if(xc.test(g+a.event.triggered))return;if(g.indexOf("!")>=0){g=g.slice(0,-1);y=b}if(g.indexOf(s)>=0){u=g.split(s);g=u.shift();u.sort()}if((!i||a.event.customEvent[g])&&!a.event.global[g])return;f=typeof f===l?f[a.expando]?f:new a.Event(g,f):new a.Event(g);f.type=g;f.isTrigger=b;f.exclusive=y;f.namespace=u.join(s);f.namespace_re=f.namespace?new RegExp("(^|\\.)"+u.join(Jb)+"(\\.|$)"):c;q=g.indexOf(":")<0?D+g:d;if(!i){v=a.cache;for(o in v)v[o].events&&v[o].events[g]&&a.event.trigger(f,m,v[o].handle.elem,b);return}f.result=h;if(!f.target)f.target=i;m=m!=c?a.makeArray(m):[];m.unshift(f);p=a.event.special[g]||{};if(p.trigger&&p.trigger.apply(i,m)===e)return;r=[[i,p.bindType||g]];if(!x&&!p.noBubble&&!a.isWindow(i)){w=p.delegateType||g;j=xc.test(w+g)?i:i.parentNode;k=c;for(;j;j=j.parentNode){r.push([j,w]);k=j}k&&k===i.ownerDocument&&r.push([k.defaultView||k.parentWindow||n,w])}for(o=0;o<r.length&&!f.isPropagationStopped();o++){j=r[o][0];f.type=r[o][1];t=(a._data(j,eb)||{})[f.type]&&a._data(j,"handle");t&&t.apply(j,m);t=q&&j[q];t&&a.acceptData(j)&&t.apply(j,m)===e&&f.preventDefault()}f.type=g;if(!x&&!f.isDefaultPrevented())if((!p._default||p._default.apply(i.ownerDocument,m)===e)&&!(g==="click"&&a.nodeName(i,"a"))&&a.acceptData(i))if(q&&i[g]&&(g!=="focus"&&g!=="blur"||f.target.offsetWidth!==0)&&!a.isWindow(i)){k=i[q];if(k)i[q]=c;a.event.triggered=g;i[g]();a.event.triggered=h;if(k)i[q]=k}return f.result},dispatch:function(b){var d=this;b=a.event.fix(b||n.event);var m=(a._data(d,eb)||{})[b.type]||[],k=m.delegateCount,t=[].slice.call(arguments,0),u=!b.exclusive&&!b.namespace,l=[],f,s,g,q,r,o,i,p,c,j,v;t[0]=b;b.delegateTarget=d;if(k&&!b.target.disabled&&!(b.button&&b.type==="click")){q=a(d);q.context=d.ownerDocument||d;for(g=b.target;g!=d;g=g.parentNode||d){o={};p=[];q[0]=g;for(f=0;f<k;f++){c=m[f];j=c.selector;if(o[j]===h)o[j]=c.quick?Id(g,c.quick):q.is(j);o[j]&&p.push(c)}p.length&&l.push({elem:g,matches:p})}}m.length>k&&l.push({elem:d,matches:m.slice(k)});for(f=0;f<l.length&&!b.isPropagationStopped();f++){i=l[f];b.currentTarget=i.elem;for(s=0;s<i.matches.length&&!b.isImmediatePropagationStopped();s++){c=i.matches[s];if(u||!b.namespace&&!c.namespace||b.namespace_re&&b.namespace_re.test(c.namespace)){b.data=c.data;b.handleObj=c;r=((a.event.special[c.origType]||{}).handle||c.handler).apply(i.elem,t);if(r!==h){b.result=r;if(r===e){b.preventDefault();b.stopPropagation()}}}}}return b.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(g),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(g),filter:function(b,a){if(b.which==c)b.which=a.charCode!=c?a.charCode:a.keyCode;return b}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(g),filter:function(a,e){var j,d,b,f=e.button,g=e.fromElement;if(a.pageX==c&&e.clientX!=c){j=a.target.ownerDocument||i;d=j.documentElement;b=j.body;a.pageX=e.clientX+(d&&d.scrollLeft||b&&b.scrollLeft||0)-(d&&d.clientLeft||b&&b.clientLeft||0);a.pageY=e.clientY+(d&&d.scrollTop||b&&b.scrollTop||0)-(d&&d.clientTop||b&&b.clientTop||0)}if(!a.relatedTarget&&g)a.relatedTarget=g===a.target?e.toElement:g;if(!a.which&&f!==h)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(b){if(b[a.expando])return b;var f,e,c=b,d=a.event.fixHooks[b.type]||{},g=d.props?this.props.concat(d.props):this.props;b=a.Event(c);for(f=g.length;f;){e=g[--f];b[e]=c[e]}if(!b.target)b.target=c.srcElement||i;if(b.target.nodeType===3)b.target=b.target.parentNode;if(b.metaKey===h)b.metaKey=b.ctrlKey;return d.filter?d.filter(b,c):b},special:{ready:{setup:a.bindReady},load:{noBubble:b},focus:{delegateType:"focusin"},blur:{delegateType:vc},beforeunload:{setup:function(d,c,b){if(a.isWindow(this))this.onbeforeunload=b},teardown:function(b,a){if(this.onbeforeunload===a)this.onbeforeunload=c}}},simulate:function(h,f,e,g){var d=a.extend(new a.Event,e,{type:h,isSimulated:b,originalEvent:{}});if(g)a.event.trigger(d,c,f);else a.event.dispatch.call(f,d);d.isDefaultPrevented()&&e.preventDefault()}};a.event.handle=a.event.dispatch;a.removeEvent=i.removeEventListener?function(a,c,b){a.removeEventListener&&a.removeEventListener(c,b,e)}:function(a,c,b){a.detachEvent&&a.detachEvent(D+c,b)};a.Event=function(c,f){var d=this;if(!(d instanceof a.Event))return new a.Event(c,f);if(c&&c.type){d.originalEvent=c;d.type=c.type;d.isDefaultPrevented=c.defaultPrevented||c.returnValue===e||c.getPreventDefault&&c.getPreventDefault()?Lb:xb}else d.type=c;f&&a.extend(d,f);d.timeStamp=c&&c.timeStamp||a.now();d[a.expando]=b};function xb(){return e}function Lb(){return b}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Lb;var a=this.originalEvent;if(!a)return;if(a.preventDefault)a.preventDefault();else a.returnValue=e},stopPropagation:function(){this.isPropagationStopped=Lb;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation();a.cancelBubble=b},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Lb;this.stopPropagation()},isDefaultPrevented:xb,isPropagationStopped:xb,isImmediatePropagationStopped:xb};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,b){a.event.special[c]={delegateType:b,bindType:b,handle:function(c){var f=this,e=c.relatedTarget,d=c.handleObj,h=d.selector,g;if(!e||e!==f&&!a.contains(f,e)){c.type=d.origType;g=d.handler.apply(this,arguments);c.type=b}return g}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(a.nodeName(this,ub))return e;a.event.add(this,"click._submit keypress._submit",function(e){var d=e.target,c=a.nodeName(d,m)||a.nodeName(d,v)?d.form:h;if(c&&!c._submit_attached){a.event.add(c,"submit._submit",function(c){this.parentNode&&!c.isTrigger&&a.event.simulate("submit",this.parentNode,c,b)});c._submit_attached=b}})},teardown:function(){if(a.nodeName(this,ub))return e;a.event.remove(this,"._submit")}};if(!a.support.changeBubbles)a.event.special.change={setup:function(){var c=this;if(cc.test(c.nodeName)){if(c.type===E||c.type===x){a.event.add(c,"propertychange._change",function(a){if(a.originalEvent.propertyName===mb)this._just_changed=b});a.event.add(c,"click._change",function(c){if(this._just_changed&&!c.isTrigger){this._just_changed=e;a.event.simulate("change",this,c,b)}})}return e}a.event.add(c,"beforeactivate._change",function(d){var c=d.target;if(cc.test(c.nodeName)&&!c._change_attached){a.event.add(c,"change._change",function(c){this.parentNode&&!c.isSimulated&&!c.isTrigger&&a.event.simulate("change",this.parentNode,c,b)});c._change_attached=b}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!==x&&b.type!==E)return a.handleObj.handler.apply(this,arguments)},teardown:function(){a.event.remove(this,"._change");return cc.test(this.nodeName)}};!a.support.focusinBubbles&&a.each({focus:"focusin",blur:vc},function(e,f){var c=0,d=function(c){a.event.simulate(f,c.target,a.event.fix(c),b)};a.event.special[f]={setup:function(){c++===0&&i.addEventListener(e,d,b)},teardown:function(){--c===0&&i.removeEventListener(e,d,b)}}});a.fn.extend({on:function(k,d,g,b,n){var j=this,i,m;if(typeof k===l){if(typeof d!==f){g=d;d=h}for(m in k)j.on(m,d,g,k[m],n);return j}if(g==c&&b==c){b=d;g=d=h}else if(b==c)if(typeof d===f){b=g;g=h}else{b=g;g=d;d=h}if(b===e)b=xb;else if(!b)return j;if(n===1){i=b;b=function(b){a().off(b);return i.apply(this,arguments)};b.guid=i.guid||(i.guid=a.guid++)}return j.each(function(){a.event.add(this,k,b,g,d)})},one:function(b,a,c,d){return this.on.call(this,b,a,c,d,1)},off:function(b,d,g){var f=this;if(b&&b.preventDefault&&b.handleObj){var c=b.handleObj;a(b.delegateTarget).off(c.namespace?c.type+s+c.namespace:c.type,c.selector,c.handler);return f}if(typeof b===l){for(var i in b)f.off(i,d,b[i]);return f}if(d===e||typeof d===y){g=d;d=h}if(g===e)g=xb;return f.each(function(){a.event.remove(this,b,g,d)})},bind:function(a,b,d){return this.on(a,c,b,d)},unbind:function(a,b){return this.off(a,c,b)},live:function(b,c,d){a(this.context).on(b,this.selector,c,d);return this},die:function(b,c){a(this.context).off(b,this.selector||"**",c);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(c,b){return this.each(function(){a.event.trigger(c,b,this)})},triggerHandler:function(d,c){if(this[0])return a.event.trigger(d,c,this[0],b)},toggle:function(c){var b=arguments,g=c.guid||a.guid++,d=0,f=function(h){var f="lastToggle",g=(a._data(this,f+c.guid)||0)%d;a._data(this,f+c.guid,g+1);h.preventDefault();return b[g].apply(this,arguments)||e};f.guid=g;while(d<b.length)b[d++].guid=g;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});a.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(g),function(e,d){a.fn[d]=function(a,b){if(b==c){b=a;a=c}return arguments.length>0?this.on(d,c,a,b):this.trigger(d)};if(a.attrFn)a.attrFn[d]=b;if(wd.test(d))a.event.fixHooks[d]=a.event.keyHooks;if(kd.test(d))a.event.fixHooks[d]=a.event.mouseHooks});
/*!
    * Sizzle CSS Selector Engine
    *  Copyright 2011, The Dojo Foundation
    *  Released under the MIT, BSD, and GPL Licenses.
    *  More information: http://sizzlejs.com/
    */
(function(){var r="id",w="[object Array]",I=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,z="sizcache"+(Math.random()+d).replace(s,d),K=0,R=Object.prototype.toString,B=e,L=b,y=/\\/g,U=/\r\n/g,F=/\W/;[0,0].sort(function(){L=e;return 0});var n=function(m,g,k,r){k=k||[];g=g||i;var A=g;if(g.nodeType!==1&&g.nodeType!==9)return[];if(!m||typeof m!==f)return k;var p,o,h,x,l,s,u,j,y=b,v=n.isXML(g),a=[],z=m;do{I.exec(d);p=I.exec(z);if(p){z=p[3];a.push(p[1]);if(p[2]){x=p[3];break}}}while(p);if(a.length>1&&T.exec(m))if(a.length===2&&q.relative[a[0]])o=P(a[0]+a[1],g,r);else{o=q.relative[a[0]]?[g]:n(a.shift(),g);while(a.length){m=a.shift();if(q.relative[m])m+=a.shift();o=P(m,o,r)}}else{if(!r&&a.length>1&&g.nodeType===9&&!v&&q.match.ID.test(a[0])&&!q.match.ID.test(a[a.length-1])){l=n.find(a.shift(),g,v);g=l.expr?n.filter(l.expr,l.set)[0]:l.set[0]}if(g){l=r?{expr:a.pop(),"set":t(r)}:n.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&g.parentNode?g.parentNode:g,v);o=l.expr?n.filter(l.expr,l.set):l.set;if(a.length>0)h=t(o);else y=e;while(a.length){s=a.pop();u=s;if(!q.relative[s])s=d;else u=a.pop();if(u==c)u=g;q.relative[s](h,u,v)}}else h=a=[]}if(!h)h=o;!h&&n.error(s||m);if(R.call(h)===w)if(!y)k.push.apply(k,h);else if(g&&g.nodeType===1)for(j=0;h[j]!=c;j++)h[j]&&(h[j]===b||h[j].nodeType===1&&n.contains(g,h[j]))&&k.push(o[j]);else for(j=0;h[j]!=c;j++)h[j]&&h[j].nodeType===1&&k.push(o[j]);else t(h,k);if(x){n(x,A,k,r);n.uniqueSort(k)}return k};n.uniqueSort=function(a){if(D){B=L;a.sort(D);if(B)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a};n.matches=function(a,b){return n(a,c,c,b)};n.matchesSelector=function(b,a){return n(a,c,c,[b]).length>0};n.find=function(b,h,m){var e,g,l,a,f,i;if(!b)return[];for(g=0,l=q.order.length;g<l;g++){f=q.order[g];if(a=q.leftMatch[f].exec(b)){i=a[1];a.splice(1,1);if(i.substr(i.length-1)!=="\\"){a[1]=(a[1]||d).replace(y,d);e=q.find[f](a,h,m);if(e!=c){b=b.replace(q.match[f],d);break}}}}if(!e)e=typeof h.getElementsByTagName!==k?h.getElementsByTagName(j):[];return{"set":e,expr:b}};n.filter=function(f,m,r,v){var a,i,j,l,p,u,s,o,t,w=f,k=[],g=m,x=m&&m[0]&&n.isXML(m[0]);while(f&&m.length){for(j in q.filter)if((a=q.leftMatch[j].exec(f))!=c&&a[2]){u=q.filter[j];s=a[1];i=e;a.splice(1,1);if(s.substr(s.length-1)==="\\")continue;if(g===k)k=[];if(q.preFilter[j]){a=q.preFilter[j](a,g,r,k,v,x);if(!a)i=l=b;else if(a===b)continue}if(a)for(o=0;(p=g[o])!=c;o++)if(p){l=u(p,a,o,g);t=v^l;if(r&&l!=c)if(t)i=b;else g[o]=e;else if(t){k.push(p);i=b}}if(l!==h){if(!r)g=k;f=f.replace(q.match[j],d);if(!i)return[];break}}if(f===w)if(i==c)n.error(f);else break;w=f}return g};n.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a);};var J=n.getText=function(a){var g,c,b=a.nodeType,e=d;if(b){if(b===1||b===9)if(typeof a.textContent===f)return a.textContent;else if(typeof a.innerText===f)return a.innerText.replace(U,d);else for(a=a.firstChild;a;a=a.nextSibling)e+=J(a);else if(b===3||b===4)return a.nodeValue}else for(g=0;c=a[g];g++)if(c.nodeType!==8)e+=J(c);return e},q=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":Bb,"for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute(C)},type:function(a){return a.getAttribute(N)}},relative:{"+":function(d,c){var i=typeof c===f,j=i&&!F.test(c),h=i&&!j;if(j)c=c.toLowerCase();for(var g=0,k=d.length,a;g<k;g++)if(a=d[g]){while((a=a.previousSibling)&&a.nodeType!==1);d[g]=h||a&&a.nodeName.toLowerCase()===c?a||e:a===c}h&&n.filter(c,d,b)},">":function(g,d){var c,h=typeof d===f,a=0,j=g.length;if(h&&!F.test(d)){d=d.toLowerCase();for(;a<j;a++){c=g[a];if(c){var i=c.parentNode;g[a]=i.nodeName.toLowerCase()===d?i:e}}}else{for(;a<j;a++){c=g[a];if(c)g[a]=h?c.parentNode:c.parentNode===d}h&&n.filter(d,g,b)}},"":function(d,a,g){var b,e=K++,c=Q;if(typeof a===f&&!F.test(a)){a=a.toLowerCase();b=a;c=M}c(pb,a,e,d,b,g)},"~":function(d,a,g){var b,e=K++,c=Q;if(typeof a===f&&!F.test(a)){a=a.toLowerCase();b=a;c=M}c(Y,a,e,d,b,g)}},find:{ID:function(d,b,c){if(typeof b.getElementById!==k&&!c){var a=b.getElementById(d[1]);return a&&a.parentNode?[a]:[]}},NAME:function(f,e){if(typeof e.getElementsByName!==k){for(var d=[],b=e.getElementsByName(f[1]),a=0,g=b.length;a<g;a++)b[a].getAttribute("name")===f[1]&&d.push(b[a]);return d.length===0?c:d}},TAG:function(b,a){if(typeof a.getElementsByTagName!==k)return a.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,h,i,j,l,k){b=g+b[1].replace(y,d)+g;if(k)return b;for(var f=0,a;(a=h[f])!=c;f++)if(a)if(l^(a.className&&(g+a.className+g).replace(/[\t\n\r]/g,g).indexOf(b)>=0))!i&&j.push(a);else if(i)h[f]=e;return e},ID:function(a){return a[1].replace(y,d)},TAG:function(a){return a[1].replace(y,d).toLowerCase()},CHILD:function(a){if(a[1]==="nth"){!a[2]&&n.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,d);var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&n.error(a[0]);a[0]=K++;return a},ATTR:function(a,e,f,h,i,c){var b=a[1]=a[1].replace(y,d);if(!c&&q.attrMap[b])a[1]=q.attrMap[b];a[4]=(a[4]||a[5]||d).replace(y,d);if(a[2]==="~=")a[4]=g+a[4]+g;return a},PSEUDO:function(a,f,g,h,i){if(a[1]==="not")if((I.exec(a[3])||d).length>1||/^\w/.test(a[3]))a[3]=n(a[3],c,c,f);else{var j=n.filter(a[3],f,g,b^i);!g&&h.push.apply(h,j);return e}else if(q.match.POS.test(a[0])||q.match.CHILD.test(a[0]))return b;return a},POS:function(a){a.unshift(b);return a}},filters:{enabled:function(a){return a.disabled===e&&a.type!==O},disabled:function(a){return a.disabled===b},checked:function(a){return a.checked===b},selected:function(a){if(a.parentNode)a.parentNode.selectedIndex;return a.selected===b},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(b,c,a){return!!n(a[3],b).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute(N),d=a.type;return a.nodeName.toLowerCase()===m&&"text"===d&&(b===d||b===c)},radio:function(a){return a.nodeName.toLowerCase()===m&&x===a.type},checkbox:function(a){return a.nodeName.toLowerCase()===m&&E===a.type},file:function(a){return a.nodeName.toLowerCase()===m&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()===m&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b===m||b===v)&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()===m&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b===m||b===v)&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b===m&&v===a.type||b===v},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(b,a){return a===0},last:function(d,b,c,a){return b===a.length-1},even:function(b,a){return a%2===0},odd:function(b,a){return a%2===1},lt:function(c,b,a){return b<a[3]-0},gt:function(c,b,a){return b>a[3]-0},nth:function(c,b,a){return a[3]-0===b},eq:function(c,b,a){return a[3]-0===b}},filter:{PSEUDO:function(a,c,k,j){var f=c[1],h=q.filters[f];if(h)return h(a,k,c,j);else if(f==="contains")return(a.textContent||a.innerText||J([a])||d).indexOf(c[3])>=0;else if(f==="not"){for(var i=c[3],g=0,l=i.length;g<l;g++)if(i[g]===a)return e;return b}else n.error(f)},CHILD:function(f,g){var d,j,i,c,m,k,h,l=g[1],a=f;switch(l){case"only":case"first":while(a=a.previousSibling)if(a.nodeType===1)return e;if(l==="first")return b;a=f;case"last":while(a=a.nextSibling)if(a.nodeType===1)return e;return b;case"nth":d=g[2];j=g[3];if(d===1&&j===0)return b;i=g[0];c=f.parentNode;if(c&&(c[z]!==i||!f.nodeIndex)){k=0;for(a=c.firstChild;a;a=a.nextSibling)if(a.nodeType===1)a.nodeIndex=++k;c[z]=i}h=f.nodeIndex-j;return d===0?h===0:h%d===0&&h/d>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute(r)===b},TAG:function(a,b){return b===j&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(g+(a.className||a.getAttribute("class"))+g).indexOf(b)>-1},ATTR:function(i,k){var h=k[1],j=n.attr?n.attr(i,h):q.attrHandle[h]?q.attrHandle[h](i):i[h]!=c?i[h]:i.getAttribute(h),b=j+d,f=k[2],a=k[4];return j==c?f==="!=":!f&&n.attr?j!=c:f==="="?b===a:f==="*="?b.indexOf(a)>=0:f==="~="?(g+b+g).indexOf(a)>=0:!a?b&&j!==e:f==="!="?b!==a:f==="^="?b.indexOf(a)===0:f==="$="?b.substr(b.length-a.length)===a:f==="|="?b===a||b.substr(0,a.length+1)===a+"-":e},POS:function(d,b,f,c){var e=b[2],a=q.setFilters[e];if(a)return a(d,f,b,c)}}},T=q.match.POS,S=function(b,a){return"\\"+(+a+1)};for(var H in q.match){q.match[H]=new RegExp(q.match[H].source+/(?![^\[]*\])(?![^\(]*\))/.source);q.leftMatch[H]=new RegExp(/(^(?:.|\r|\n)*?)/.source+q.match[H].source.replace(/\\(\d+)/g,S))}var t=function(b,a){b=Array.prototype.slice.call(b,0);if(a){a.push.apply(a,b);return a}return b};try{Array.prototype.slice.call(i.documentElement.childNodes,0)[0].nodeType}catch(V){t=function(a,d){var b=0,c=d||[];if(R.call(a)===w)Array.prototype.push.apply(c,a);else if(typeof a.length===p)for(var e=a.length;b<e;b++)c.push(a[b]);else for(;a[b];b++)c.push(a[b]);return c}}var D,A;if(i.documentElement.compareDocumentPosition)D=function(a,c){if(a===c){B=b;return 0}return!a.compareDocumentPosition||!c.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(c)&4?-1:1};else{D=function(d,e){if(d===e){B=b;return 0}else if(d.sourceIndex&&e.sourceIndex)return d.sourceIndex-e.sourceIndex;var j,k,f=[],g=[],h=d.parentNode,i=e.parentNode,c=h;if(h===i)return A(d,e);else if(!h)return-1;else if(!i)return 1;while(c){f.unshift(c);c=c.parentNode}c=i;while(c){g.unshift(c);c=c.parentNode}j=f.length;k=g.length;for(var a=0;a<j&&a<k;a++)if(f[a]!==g[a])return A(f[a],g[a]);return a===j?A(d,g[a],-1):A(f[a],e,1)};A=function(b,c,d){if(b===c)return d;var a=b.nextSibling;while(a){if(a===c)return-1;a=a.nextSibling}return 1}}(function(){var a=i.createElement(o),d=u+ +new Date,b=i.documentElement;a.innerHTML="<a name='"+d+"'/>";b.insertBefore(a,b.firstChild);if(i.getElementById(d)){q.find.ID=function(b,c,d){if(typeof c.getElementById!==k&&!d){var a=c.getElementById(b[1]);return a?a.id===b[1]||typeof a.getAttributeNode!==k&&a.getAttributeNode(r).nodeValue===b[1]?[a]:h:[]}};q.filter.ID=function(a,c){var b=typeof a.getAttributeNode!==k&&a.getAttributeNode(r);return a.nodeType===1&&b&&b.nodeValue===c}}b.removeChild(a);b=a=c})();(function(){var a=i.createElement(o);a.appendChild(i.createComment(d));if(a.getElementsByTagName(j).length>0)q.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]===j){for(var d=[],b=0;a[b];b++)a[b].nodeType===1&&d.push(a[b]);a=d}return a};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!==k&&a.firstChild.getAttribute(C)!=="#")q.attrHandle.href=function(a){return a.getAttribute(C,2)};a=c})();i.querySelectorAll&&(function(){var b=n,a=i.createElement(o),e="__sizzle__";a.innerHTML="<p class='TEST'></p>";if(a.querySelectorAll&&a.querySelectorAll(".TEST").length===0)return;n=function(f,a,c,o){a=a||i;if(!o&&!n.isXML(a)){var d=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(f);if(d&&(a.nodeType===1||a.nodeType===9))if(d[1])return t(a.getElementsByTagName(f),c);else if(d[2]&&q.find.CLASS&&a.getElementsByClassName)return t(a.getElementsByClassName(d[2]),c);if(a.nodeType===9){if(f===G&&a.body)return t([a.body],c);else if(d&&d[3]){var g=a.getElementById(d[3]);if(g&&g.parentNode){if(g.id===d[3])return t([g],c)}else return t([],c)}try{return t(a.querySelectorAll(f),c)}catch(u){}}else if(a.nodeType===1&&a.nodeName.toLowerCase()!==l){var p=a,j=a.getAttribute(r),h=j||e,m=a.parentNode,k=/^\s*[+~]/.test(f);if(!j)a.setAttribute(r,h);else h=h.replace(/'/g,"\\$&");if(k&&m)a=a.parentNode;try{if(!k||m)return t(a.querySelectorAll("[id='"+h+"'] "+f),c)}catch(s){}finally{!j&&p.removeAttribute(r)}}}return b(f,a,c,o)};for(var d in b)n[d]=b[d];a=c})();(function(){var d=i.documentElement,a=d.matchesSelector||d.mozMatchesSelector||d.webkitMatchesSelector||d.msMatchesSelector;if(a){var g=!a.call(i.createElement(o),o),f=e;try{a.call(i.documentElement,"[test!='']:sizzle")}catch(h){f=b}n.matchesSelector=function(d,b){b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!n.isXML(d))try{if(f||!q.match.PSEUDO.test(b)&&!/!=/.test(b)){var e=a.call(d,b);if(e||!g||d.document&&d.document.nodeType!==11)return e}}catch(h){}return n(b,c,c,[d]).length>0}}})();(function(){var a=i.createElement(o);a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!a.getElementsByClassName||a.getElementsByClassName("e").length===0)return;a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;q.order.splice(1,0,"CLASS");q.find.CLASS=function(c,a,b){if(typeof a.getElementsByClassName!==k&&!b)return a.getElementsByClassName(c[1])};a=c})();function M(g,i,f,c,k,h){for(var b=0,j=c.length;b<j;b++){var a=c[b];if(a){var d=e;a=a[g];while(a){if(a[z]===f){d=c[a.sizset];break}if(a.nodeType===1&&!h){a[z]=f;a.sizset=b}if(a.nodeName.toLowerCase()===i){d=a;break}a=a[g]}c[b]=d}}}function Q(j,h,i,d,m,k){for(var c=0,l=d.length;c<l;c++){var a=d[c];if(a){var g=e;a=a[j];while(a){if(a[z]===i){g=d[a.sizset];break}if(a.nodeType===1){if(!k){a[z]=i;a.sizset=c}if(typeof h!==f){if(a===h){g=b;break}}else if(n.filter(h,[a]).length>0){g=a;break}}a=a[j]}d[c]=g}}}if(i.documentElement.contains)n.contains=function(a,c){return a!==c&&(a.contains?a.contains(c):b)};else if(i.documentElement.compareDocumentPosition)n.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)};else n.contains=function(){return e};n.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":e};var P=function(a,b,i){var g,e=[],f=d,h=b.nodeType?[b]:b;while(g=q.match.PSEUDO.exec(a)){f+=g[0];a=a.replace(q.match.PSEUDO,d)}a=q.relative[a]?a+j:a;for(var c=0,k=h.length;c<k;c++)n(a,h[c],e,i);return n.filter(f,e)};n.attr=a.attr;n.selectors.attrMap={};a.find=n;a.expr=n.selectors;a.expr[":"]=a.expr.filters;a.unique=n.uniqueSort;a.text=n.getText;a.isXMLDoc=n.isXML;a.contains=n.contains})();var Rd=/Until$/,hd=/^(?:parents|prevUntil|prevAll)/,cd=/,/,zd=/^.[^:#\[\.,]*$/,Wd=Array.prototype.slice,Wc=a.expr.match.POS,Yc={children:b,contents:b,next:b,prev:b};a.fn.extend({find:function(h){var i=this,m=i,c,j;if(typeof h!==f)return a(h).filter(function(){for(c=0,j=m.length;c<j;c++)if(a.contains(m[c],this))return b});var e=i.pushStack(d,"find",h),l,g,k;for(c=0,j=i.length;c<j;c++){l=e.length;a.find(h,i[c],e);if(c>0)for(g=l;g<e.length;g++)for(k=0;k<l;k++)if(e[k]===e[g]){e.splice(g--,1);break}}return e},has:function(d){var c=a(d);return this.filter(function(){for(var d=0,e=c.length;d<e;d++)if(a.contains(this,c[d]))return b})},not:function(a){return this.pushStack(Qc(this,a,e),"not",a)},filter:function(a){return this.pushStack(Qc(this,a,b),"filter",a)},is:function(b){var c=this;return!!b&&(typeof b===f?Wc.test(b)?a(b,c.context).index(c[0])>=0:a.filter(b,c).length>0:c.filter(b).length>0)},closest:function(c,h){var g=this,e=[],d,k,b=g[0];if(a.isArray(c)){var i=1;while(b&&b.ownerDocument&&b!==h){for(d=0;d<c.length;d++)a(b).is(c[d])&&e.push({selector:c[d],elem:b,level:i});b=b.parentNode;i++}return e}var j=Wc.test(c)||typeof c!==f?a(c,h||g.context):0;for(d=0,k=g.length;d<k;d++){b=g[d];while(b)if(j?j.index(b)>-1:a.find.matchesSelector(b,c)){e.push(b);break}else{b=b.parentNode;if(!b||!b.ownerDocument||b===h||b.nodeType===11)break}}e=e.length>1?a.unique(e):e;return g.pushStack(e,"closest",c)},index:function(b){var c=this;return!b?c[0]&&c[0].parentNode?c.prevAll().length:-1:typeof b===f?a.inArray(c[0],a(b)):a.inArray(b.jquery?b[0]:b,c)},add:function(b,e){var d=typeof b===f?a(b,e):a.makeArray(b&&b.nodeType?[b]:b),c=a.merge(this.get(),d);return this.pushStack(pc(d[0])||pc(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}});function pc(a){return!a||!a.parentNode||a.parentNode.nodeType===11}a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:c},parents:function(b){return a.dir(b,pb)},parentsUntil:function(c,d,b){return a.dir(c,pb,b)},next:function(b){return a.nth(b,2,vb)},prev:function(b){return a.nth(b,2,Y)},nextAll:function(b){return a.dir(b,vb)},prevAll:function(b){return a.dir(b,Y)},nextUntil:function(c,d,b){return a.dir(c,vb,b)},prevUntil:function(c,d,b){return a.dir(c,Y,b)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(h,e){var g=this,d=a.map(g,c,h);if(!Rd.test(b))e=h;if(e&&typeof e===f)d=a.filter(e,d);d=g.length>1&&!Yc[b]?a.unique(d):d;if((g.length>1||cd.test(e))&&hd.test(b))d=d.reverse();return g.pushStack(d,b,Wd.call(arguments).join(","))}});a.extend({filter:function(c,b,d){if(d)c=":not("+c+")";return b.length===1?a.find.matchesSelector(b[0],c)?[b[0]]:[]:a.find.matches(c,b)},dir:function(f,e,d){var c=[],b=f[e];while(b&&b.nodeType!==9&&(d===h||b.nodeType!==1||!a(b).is(d))){b.nodeType===1&&c.push(b);b=b[e]}return c},nth:function(a,b,c){b=b||1;for(var d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});function Qc(c,b,d){b=b||0;if(a.isFunction(b))return a.grep(c,function(a,e){var c=!!b.call(a,e,a);return c===d});else if(b.nodeType)return a.grep(c,function(a){return a===b===d});else if(typeof b===f){var e=a.grep(c,function(a){return a.nodeType===1});if(zd.test(b))return a.filter(b,e,!d);else b=a.filter(b,e)}return a.grep(c,function(c){return a.inArray(c,b)>=0===d})}function ic(c){var b=Ec.split("|"),a=c.createDocumentFragment();if(a.createElement)while(b.length)a.createElement(b.pop());return a}var Ec="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",dd=/ jQuery\d+="(?:\d+|null)"/g,Rb=/^\s+/,Fc=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Lc=/<([\w:]+)/,Qd=/<tbody/i,Ud=/<|&#?\w+;/,gd=/<(?:script|style)/i,Ed=/<(?:script|object|embed|option|style)/i,tc=new RegExp("<(?:"+Ec+")","i"),Kc=/checked\s*(?:[^=]|=\s*.checked.)/i,ld=/\/(java|ecma)script/i,fd=/^\s*<!(?:\[CDATA\[|\-\-)/,H={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,d,d]},uc=ic(i);H.optgroup=H.option;H.tbody=H.tfoot=H.colgroup=H.caption=H.thead;H.th=H.td;if(!a.support.htmlSerialize)H._default=[1,"div<div>","</div>"];a.fn.extend({text:function(c){var b=this;return a.isFunction(c)?b.each(function(d){var b=a(this);b.text(c.call(this,d,b.text()))}):typeof c!==l&&c!==h?b.empty().append((b[0]&&b[0].ownerDocument||i).createTextNode(c)):a.text(b)},wrapAll:function(d){var c=this;if(a.isFunction(d))return c.each(function(b){a(this).wrapAll(d.call(this,b))});if(c[0]){var e=a(d,c[0].ownerDocument).eq(0).clone(b);c[0].parentNode&&e.insertBefore(c[0]);e.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(c)}return c},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var d=a(this),c=d.contents();if(c.length)c.wrapAll(b);else d.append(b)})},wrap:function(b){var c=a.isFunction(b);return this.each(function(d){a(this).wrapAll(c?b.call(this,d):b)})},unwrap:function(){return this.parent().each(function(){!a.nodeName(this,G)&&a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,b,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,b,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){var b=this;if(b[0]&&b[0].parentNode)return b.domManip(arguments,e,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var c=a.clean(arguments);c.push.apply(c,b.toArray());return b.pushStack(c,"before",arguments)}},after:function(){var b=this;if(b[0]&&b[0].parentNode)return b.domManip(arguments,e,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var c=b.pushStack(b,"after",arguments);c.push.apply(c,a.clean(arguments));return c}},remove:function(d,f){for(var e=0,b;(b=this[e])!=c;e++)if(!d||a.filter(d,[b]).length){if(!f&&b.nodeType===1){a.cleanData(b.getElementsByTagName(j));a.cleanData([b])}b.parentNode&&b.parentNode.removeChild(b)}return this},empty:function(){for(var d=0,b;(b=this[d])!=c;d++){b.nodeType===1&&a.cleanData(b.getElementsByTagName(j));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(b,d){b=b==c?e:b;d=d==c?b:d;return this.map(function(){return a.clone(this,b,d)})},html:function(b){var e=this;if(b===h)return e[0]&&e[0].nodeType===1?e[0].innerHTML.replace(dd,d):c;else if(typeof b===f&&!gd.test(b)&&(a.support.leadingWhitespace||!Rb.test(b))&&!H[(Lc.exec(b)||[d,d])[1].toLowerCase()]){b=b.replace(Fc,Kb);try{for(var g=0,i=e.length;g<i;g++)if(e[g].nodeType===1){a.cleanData(e[g].getElementsByTagName(j));e[g].innerHTML=b}}catch(k){e.empty().append(b)}}else if(a.isFunction(b))e.each(function(d){var c=a(this);c.html(b.call(this,d,c.html()))});else e.empty().append(b);return e},replaceWith:function(b){var c=this;if(c[0]&&c[0].parentNode){if(a.isFunction(b))return c.each(function(e){var c=a(this),d=c.html();c.replaceWith(b.call(this,e,d))});if(typeof b!==f)b=a(b).detach();return c.each(function(){var c=this.nextSibling,d=this.parentNode;a(this).remove();if(c)a(c).before(b);else a(d).append(b)})}else return c.length?c.pushStack(a(a.isFunction(b)?b():b),Vb,b):c},detach:function(a){return this.remove(a,b)},domManip:function(k,e,n){var c=this,m,j,d,i,g=k[0],o=[];if(!a.support.checkClone&&arguments.length===3&&typeof g===f&&Kc.test(g))return c.each(function(){a(this).domManip(k,e,n,b)});if(a.isFunction(g))return c.each(function(c){var b=a(this);k[0]=g.call(this,c,e?b.html():h);b.domManip(k,e,n)});if(c[0]){i=g&&g.parentNode;if(a.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===c.length)m={fragment:i};else m=a.buildFragment(k,c,o);d=m.fragment;if(d.childNodes.length===1)j=d=d.firstChild;else j=d.firstChild;if(j){e=e&&a.nodeName(j,"tr");for(var l=0,p=c.length,q=p-1;l<p;l++)n.call(e?Zd(c[l],j):c[l],m.cacheable||p>1&&l<q?a.clone(d,b,b):d)}o.length&&a.each(o,nd)}return c}});function Zd(b){return a.nodeName(b,"table")?b.getElementsByTagName(db)[0]||b.appendChild(b.ownerDocument.createElement(db)):b}function nc(i,g){if(g.nodeType!==1||!a.hasData(i))return;var c,e,j,h=a._data(i),f=a._data(g,h),b=h.events;if(b){delete f.handle;f.events={};for(c in b)for(e=0,j=b[c].length;e<j;e++)a.event.add(g,c+(b[c][e].namespace?s:d)+b[c][e].namespace,b[c][e],b[c][e].data)}if(f.data)f.data=a.extend({},f.data)}function hc(c,b){var d;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(c);d=b.nodeName.toLowerCase();if(d===l)b.outerHTML=c.outerHTML;else if(d===m&&(c.type===E||c.type===x)){if(c.checked)b.defaultChecked=b.checked=c.checked;if(b.value!==c.value)b.value=c.value}else if(d===tb)b.selected=c.defaultSelected;else if(d===m||d==="textarea")b.defaultValue=c.defaultValue;b.removeAttribute(a.expando)}a.buildFragment=function(k,h,l){var d,j,g,e,c=k[0];if(h&&h[0])e=h[0].ownerDocument||h[0];if(!e.createDocumentFragment)e=i;if(k.length===1&&typeof c===f&&c.length<512&&e===i&&c.charAt(0)==="<"&&!Ed.test(c)&&(a.support.checkClone||!Kc.test(c))&&(a.support.html5Clone||!tc.test(c))){j=b;g=a.fragments[c];if(g&&g!==1)d=g}if(!d){d=e.createDocumentFragment();a.clean(k,e,d,l)}if(j)a.fragments[c]=g?d:1;return{fragment:d,cacheable:j}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:Vb},function(d,c){a.fn[d]=function(k){var e=this,i=[],f=a(k),h=e.length===1&&e[0].parentNode;if(h&&h.nodeType===11&&h.childNodes.length===1&&f.length===1){f[c](e[0]);return e}else{for(var g=0,l=f.length;g<l;g++){var j=(g>0?e.clone(b):e).get();a(f[g])[c](j);i=i.concat(j)}return e.pushStack(i,d,f.selector)}}});function Nb(a){return typeof a.getElementsByTagName!==k?a.getElementsByTagName(j):typeof a.querySelectorAll!==k?a.querySelectorAll(j):[]}function kc(a){if(a.type===E||a.type===x)a.defaultChecked=a.checked}function Ac(b){var c=(b.nodeName||d).toLowerCase();if(c===m)kc(b);else c!==u&&typeof b.getElementsByTagName!==k&&a.grep(b.getElementsByTagName(m),kc)}function ed(b){var a=i.createElement(o);uc.appendChild(a);a.innerHTML=b.outerHTML;return a.firstChild}a.extend({clone:function(e,j,i){var f,g,d,h=a.support.html5Clone||!tc.test("<"+e.nodeName)?e.cloneNode(b):ed(e);if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!a.isXMLDoc(e)){hc(e,h);f=Nb(e);g=Nb(h);for(d=0;f[d];++d)g[d]&&hc(f[d],g[d])}if(j){nc(e,h);if(i){f=Nb(e);g=Nb(h);for(d=0;f[d];++d)nc(f[d],g[d])}}f=g=c;return h},clean:function(z,h,r,t){var q;h=h||i;if(typeof h.createElement===k)h=h.ownerDocument||h[0]&&h[0].ownerDocument||i;for(var e=[],l,g=0,b;(b=z[g])!=c;g++){if(typeof b===p)b+=d;if(!b)continue;if(typeof b===f)if(!Ud.test(b))b=h.createTextNode(b);else{b=b.replace(Fc,Kb);var w=(Lc.exec(b)||[d,d])[1].toLowerCase(),n=H[w]||H._default,y=n[0],j=h.createElement(o);if(h===i)uc.appendChild(j);else ic(h).appendChild(j);j.innerHTML=n[1]+b+n[2];while(y--)j=j.lastChild;if(!a.support.tbody){var s=Qd.test(b),m=w==="table"&&!s?j.firstChild&&j.firstChild.childNodes:n[1]==="<table>"&&!s?j.childNodes:[];for(l=m.length-1;l>=0;--l)a.nodeName(m[l],db)&&!m[l].childNodes.length&&m[l].parentNode.removeChild(m[l])}!a.support.leadingWhitespace&&Rb.test(b)&&j.insertBefore(h.createTextNode(Rb.exec(b)[0]),j.firstChild);b=j.childNodes}var v;if(!a.support.appendChecked)if(b[0]&&typeof(v=b.length)===p)for(l=0;l<v;l++)Ac(b[l]);else Ac(b);if(b.nodeType)e.push(b);else e=a.merge(e,b)}if(r){q=function(a){return!a.type||ld.test(a.type)};for(g=0;e[g];g++)if(t&&a.nodeName(e[g],u)&&(!e[g].type||e[g].type.toLowerCase()==="text/javascript"))t.push(e[g].parentNode?e[g].parentNode.removeChild(e[g]):e[g]);else{if(e[g].nodeType===1){var x=a.grep(e[g].getElementsByTagName(u),q);e.splice.apply(e,[g+1,0].concat(x))}r.appendChild(e[g])}}return e},cleanData:function(k){for(var d,e,g=a.cache,j=a.event.special,i=a.support.deleteExpando,h=0,b;(b=k[h])!=c;h++){if(b.nodeName&&a.noData[b.nodeName.toLowerCase()])continue;e=b[a.expando];if(e){d=g[e];if(d&&d.events){for(var f in d.events)if(j[f])a.event.remove(b,f);else a.removeEvent(b,f,d.handle);if(d.handle)d.handle.elem=c}if(i)delete b[a.expando];else b.removeAttribute&&b.removeAttribute(a.expando);delete g[e]}}}});function nd(c,b){if(b.src)a.ajax({url:b.src,async:e,dataType:u});else a.globalEval((b.text||b.textContent||b.innerHTML||d).replace(fd,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}var ec=/alpha\([^)]*\)/i,Fd=/opacity=([^)]*)/,Sd=/([A-Z]|^ms)/g,Oc=/^-?\d+(?:px)?$/i,Yd=/^-?\d/,Jd=/^([\-+])=([\-+.\de]+)/,Hd={position:Wb,visibility:O,display:"block"},yd=["Left","Right"],ud=["Top","Bottom"],zb,lc,rc;a.fn.css=function(d,c){return arguments.length===2&&c===h?this:a.access(this,d,c,b,function(c,d,b){return b!==h?a.style(c,d,b):a.css(c,d)})};a.extend({cssHooks:{opacity:{"get":function(a,c){if(c){var b=zb(a,Z,Z);return b===d?"1":b}else return a.style.opacity}}},cssNumber:{fillOpacity:b,fontWeight:b,lineHeight:b,opacity:b,orphans:b,widows:b,zIndex:b,zoom:b},cssProps:{"float":a.support.cssFloat?Xb:"styleFloat"},style:function(d,i,b,n){if(!d||d.nodeType===3||d.nodeType===8||!d.style)return;var k,j,l=a.camelCase(i),m=d.style,g=a.cssHooks[l];i=a.cssProps[l]||l;if(b!==h){j=typeof b;if(j===f&&(k=Jd.exec(b))){b=+(k[1]+1)*+k[2]+parseFloat(a.css(d,i));j=p}if(b==c||j===p&&isNaN(b))return;if(j===p&&!a.cssNumber[l])b+=q;if(!g||!(W in g)||(b=g.set(d,b))!==h)try{m[i]=b}catch(o){}}else return g&&M in g&&(k=g.get(d,e,n))!==h?k:m[i]},css:function(e,c,g){var f,d;c=a.camelCase(c);d=a.cssHooks[c];c=a.cssProps[c]||c;if(c===Xb)c="float";return d&&M in d&&(f=d.get(e,b,g))!==h?f:zb?zb(e,c):void 0},swap:function(b,c,e){var d={};for(var a in c){d[a]=b.style[a];b.style[a]=c[a]}e.call(b);for(a in c)b.style[a]=d[a]}});a.curCSS=a.css;a.each([R,B],function(c,b){a.cssHooks[b]={"get":function(c,f,d){var e;if(f){if(c.offsetWidth!==0)return Rc(c,b,d);else a.swap(c,Hd,function(){e=Rc(c,b,d)});return e}},"set":function(b,a){if(Oc.test(a)){a=parseFloat(a);if(a>=0)return a+q}else return a}}});if(!a.support.opacity)a.cssHooks.opacity={"get":function(a,b){return Fd.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||d)?parseFloat(RegExp.$1)/100+d:b?"1":d},"set":function(i,f){var e=i.style,b=i.currentStyle,h=a.isNumeric(f)?"alpha(opacity="+f*100+")":d,c=b&&b.filter||e.filter||d;e.zoom=1;if(f>=1&&a.trim(c.replace(ec,d))===d){e.removeAttribute("filter");if(b&&!b.filter)return}e.filter=ec.test(c)?c.replace(ec,h):c+g+h}};a(function(){if(!a.support.reliableMarginRight)a.cssHooks.marginRight={"get":function(b,d){var c;a.swap(b,{display:wb},function(){if(d)c=zb(b,"margin-right",Cb);else c=b.style.marginRight});return c}}});if(i.defaultView&&i.defaultView.getComputedStyle)lc=function(b,e){var f,h,g;e=e.replace(Sd,"-$1").toLowerCase();if((h=b.ownerDocument.defaultView)&&(g=h.getComputedStyle(b,c))){f=g.getPropertyValue(e);if(f===d&&!a.contains(b.ownerDocument.documentElement,b))f=a.style(b,e)}return f};if(i.documentElement.currentStyle)rc=function(a,g){var i,f,h,b=a.currentStyle&&a.currentStyle[g],e=a.style;if(b===c&&e&&(h=e[g]))b=h;if(!Oc.test(b)&&Yd.test(b)){i=e.left;f=a.runtimeStyle&&a.runtimeStyle.left;if(f)a.runtimeStyle.left=a.currentStyle.left;e.left=g==="fontSize"?"1em":b||0;b=e.pixelLeft+q;e.left=i;if(f)a.runtimeStyle.left=f}return b===d?X:b};zb=lc||rc;function Rc(d,h,f){var b=h===B?d.offsetWidth:d.offsetHeight,g=h===B?yd:ud,e=0,i=g.length;if(b>0){if(f!==ab)for(;e<i;e++){if(!f)b-=parseFloat(a.css(d,bb+g[e]))||0;if(f===qb)b+=parseFloat(a.css(d,f+g[e]))||0;else b-=parseFloat(a.css(d,ab+g[e]+Db))||0}return b+q}b=zb(d,h,h);if(b<0||b==c)b=d.style[h]||0;b=parseFloat(b)||0;if(f)for(;e<i;e++){b+=parseFloat(a.css(d,bb+g[e]))||0;if(f!==bb)b+=parseFloat(a.css(d,ab+g[e]+Db))||0;if(f===qb)b+=parseFloat(a.css(d,f+g[e]))||0}return b+q}if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(b){var d=b.offsetWidth,c=b.offsetHeight;return d===0&&c===0||!a.support.reliableHiddenOffsets&&(b.style&&b.style.display||a.css(b,F))===t};a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)}}var be=/%20/g,Bd=/\[\]$/,Sc=/\r?\n/g,Td=/#.*$/,Dd=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Od=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bd=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,td=/^(?:GET|HEAD)$/,xd=/^\/\//,Pc=/\?/,Ld=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ad=/^(?:select|textarea)/i,yc=/\s+/,ce=/([?&])_=[^&]*/,Vc=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Uc=a.fn.load,bc={},Cc={},ib,jb,Gc=["*/"]+[j];try{ib=Ad.href}catch(de){ib=i.createElement("a");ib.href=d;ib=ib.href}jb=Vc.exec(ib.toLowerCase())||[];function fc(b){return function(d,g){if(typeof d!==f){g=d;d=j}if(a.isFunction(g))for(var i=d.toLowerCase().split(yc),h=0,l=i.length,c,k,e;h<l;h++){c=i[h];e=/^\+/.test(c);if(e)c=c.substr(1)||j;k=b[c]=b[c]||[];k[e?"unshift":"push"](g)}}}function Ib(e,d,i,l,g,c){g=g||d.dataTypes[0];c=c||{};c[g]=b;for(var m=e[g],n=0,o=m?m.length:0,k=e===bc,a;n<o&&(k||!a);n++){a=m[n](d,i,l);if(typeof a===f)if(!k||c[a])a=h;else{d.dataTypes.unshift(a);a=Ib(e,d,i,l,a,c)}}if((k||!a)&&!c[j])a=Ib(e,d,i,l,j,c);return a}function zc(f,e){var c,d,g=a.ajaxSettings.flatOptions||{};for(c in e)if(e[c]!==h)(g[c]?f:d||(d={}))[c]=e[c];d&&a.extend(b,f,d)}a.fn.extend({load:function(c,b,i){var e=this;if(typeof c!==f&&Uc)return Uc.apply(e,arguments);else if(!e.length)return e;var j=c.indexOf(g);if(j>=0){var k=c.slice(j,c.length);c=c.slice(0,j)}var n="GET";if(b)if(a.isFunction(b)){i=b;b=h}else if(typeof b===l){b=a.param(b,a.ajaxSettings.traditional);n="POST"}var m=e;a.ajax({url:c,type:n,dataType:"html",data:b,complete:function(c,e,b){b=c.responseText;if(c.isResolved()){c.done(function(a){b=a});m.html(k?a("<div>").append(b.replace(Ld,d)).find(k):b)}i&&m.each(i,[b,e,c])}});return e},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){var a=this;return a.name&&!a.disabled&&(a.checked||ad.test(a.nodeName)||Od.test(a.type))}).map(function(e,d){var b=a(this).val();return b==c?c:a.isArray(b)?a.map(b,function(a){return{name:d.name,value:a.replace(Sc,"\r\n")}}):{name:d.name,value:b.replace(Sc,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(g),function(c,b){a.fn[b]=function(a){return this.on(b,a)}});a.each([M,"post"],function(c,b){a[b]=function(f,c,d,e){if(a.isFunction(c)){e=e||d;d=c;c=h}return a.ajax({type:b,url:f,data:c,success:d,dataType:e})}});a.extend({getScript:function(c,b){return a.get(c,h,b,u)},getJSON:function(d,c,b){return a.get(d,c,b,"json")},ajaxSetup:function(b,c){if(c)zc(b,a.ajaxSettings);else{c=b;b=a.ajaxSettings}zc(b,c);return b},ajaxSettings:{url:ib,isLocal:bd.test(jb[1]),global:b,type:"GET",contentType:Yb,processData:b,async:b,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Gc},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":b,"text json":a.parseJSON,"text xml":a.parseXML},flatOptions:{context:b,url:b}},ajaxPrefilter:fc(bc),ajaxTransport:fc(Cc),ajax:function(w,o){if(typeof w===l){o=w;w=h}o=o||{};var g=a.ajaxSetup({},o),n=g.context||g,y=n!==g&&(n.nodeType||n instanceof a)?a(n):a.event,A=a.Deferred(),C=a.Callbacks(L),u=g.statusCode||{},m,D={},B={},x,t,p,z,q,k=0,s,r,i={readyState:0,setRequestHeader:function(a,c){if(!k){var b=a.toLowerCase();a=B[b]=B[b]||a;D[a]=c}return this},getAllResponseHeaders:function(){return k===2?x:c},getResponseHeader:function(b){var a;if(k===2){if(!t){t={};while(a=Dd.exec(x))t[a[1].toLowerCase()]=a[2]}a=t[b.toLowerCase()]}return a===h?c:a},overrideMimeType:function(a){if(!k)g.mimeType=a;return this},abort:function(a){a=a||"abort";p&&p.abort(a);v(0,a);return this}};function v(e,o,r,w){if(k===2)return;k=2;z&&clearTimeout(z);p=h;x=w||d;i.readyState=e>0?4:0;var f,l,j,c=o,v=r?Xc(g,i,r):h,q,t;if(e>=200&&e<300||e===304){if(g.ifModified){if(q=i.getResponseHeader("Last-Modified"))a.lastModified[m]=q;if(t=i.getResponseHeader("Etag"))a.etag[m]=t}if(e===304){c="notmodified";f=b}else try{l=id(g,v);c="success";f=b}catch(B){c=lb;j=B}}else{j=c;if(!c||e){c="error";if(e<0)e=0}}i.status=e;i.statusText=d+(o||c);if(f)A.resolveWith(n,[l,c,i]);else A.rejectWith(n,[i,c,j]);i.statusCode(u);u=h;s&&y.trigger("ajax"+(f?"Success":"Error"),[i,g,f?l:j]);C.fireWith(n,[i,c]);if(s){y.trigger("ajaxComplete",[i,g]);!--a.active&&a.event.trigger("ajaxStop")}}A.promise(i);i.success=i.done;i.error=i.fail;i.complete=C.add;i.statusCode=function(b){if(b){var a;if(k<2)for(a in b)u[a]=[u[a],b[a]];else{a=b[i.status];i.then(a,a)}}return this};g.url=((w||g.url)+d).replace(Td,d).replace(xd,jb[1]+"//");g.dataTypes=a.trim(g.dataType||j).toLowerCase().split(yc);if(g.crossDomain==c){q=Vc.exec(g.url.toLowerCase());g.crossDomain=!!(q&&(q[1]!=jb[1]||q[2]!=jb[2]||(q[3]||(q[1]==="http:"?80:443))!=(jb[3]||(jb[1]==="http:"?80:443))))}if(g.data&&g.processData&&typeof g.data!==f)g.data=a.param(g.data,g.traditional);Ib(bc,g,o,i);if(k===2)return e;s=g.global;g.type=g.type.toUpperCase();g.hasContent=!td.test(g.type);s&&a.active++===0&&a.event.trigger("ajaxStart");if(!g.hasContent){if(g.data){g.url+=(Pc.test(g.url)?"&":"?")+g.data;delete g.data}m=g.url;if(g.cache===e){var F=a.now(),E=g.url.replace(ce,"$1_="+F);g.url=E+(E===g.url?(Pc.test(g.url)?"&":"?")+"_="+F:d)}}(g.data&&g.hasContent&&g.contentType!==e||o.contentType)&&i.setRequestHeader("Content-Type",g.contentType);if(g.ifModified){m=m||g.url;a.lastModified[m]&&i.setRequestHeader("If-Modified-Since",a.lastModified[m]);a.etag[m]&&i.setRequestHeader("If-None-Match",a.etag[m])}i.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+(g.dataTypes[0]!==j?", "+Gc+"; q=0.01":d):g.accepts[j]);for(r in g.headers)i.setRequestHeader(r,g.headers[r]);if(g.beforeSend&&(g.beforeSend.call(n,i,g)===e||k===2)){i.abort();return e}for(r in{success:1,error:1,complete:1})i[r](g[r]);p=Ib(Cc,g,o,i);if(!p)v(-1,"No Transport");else{i.readyState=1;s&&y.trigger("ajaxSend",[i,g]);if(g.async&&g.timeout>0)z=setTimeout(function(){i.abort("timeout")},g.timeout);try{k=1;p.send(D,v)}catch(G){if(k<2)v(-1,G);else throw G;}}return i},param:function(b,c){var d=[],f=function(c,b){b=a.isFunction(b)?b():b;d[d.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)};if(c===h)c=a.ajaxSettings.traditional;if(a.isArray(b)||b.jquery&&!a.isPlainObject(b))a.each(b,function(){f(this.name,this.value)});else for(var e in b)Zb(e,b[e],c,f);return d.join("&").replace(be,"+")}});function Zb(e,b,f,g){if(a.isArray(b))a.each(b,function(c,b){if(f||Bd.test(e))g(e,b);else Zb(e+"["+(typeof b===l||a.isArray(b)?c:d)+"]",b,f,g)});else if(!f&&b!=c&&typeof b===l)for(var h in b)Zb(e+"["+h+"]",b[h],f,g);else g(e,b)}a.extend({active:0,lastModified:{},etag:{}});function Xc(e,m,d){var k=e.contents,b=e.dataTypes,l=e.responseFields,f,a,c,i;for(a in l)if(a in d)m[l[a]]=d[a];while(b[0]===j){b.shift();if(f===h)f=e.mimeType||m.getResponseHeader("content-type")}if(f)for(a in k)if(k[a]&&k[a].test(f)){b.unshift(a);break}if(b[0]in d)c=b[0];else{for(a in d){if(!b[0]||e.converters[a+g+b[0]]){c=a;break}if(!i)i=a}c=c||i}if(c){c!==b[0]&&b.unshift(c);return d[c]}}function id(n,l){if(n.dataFilter)l=n.dataFilter(l,n.dataType);for(var s=n.dataTypes,k={},o,t=s.length,p,c=s[0],m,r,d,e,i,q=1;q<t;q++){if(q===1)for(o in n.converters)if(typeof o===f)k[o.toLowerCase()]=n.converters[o];m=c;c=s[q];if(c===j)c=m;else if(m!==j&&m!==c){r=m+g+c;d=k[r]||k["* "+c];if(!d){i=h;for(e in k){p=e.split(g);if(p[0]===m||p[0]===j){i=k[p[1]+g+c];if(i){e=k[e];if(e===b)d=i;else if(i===b)d=e;break}}}}!(d||i)&&a.error("No conversion from "+r.replace(g," to "));if(d!==b)l=d?d(l):i(e(l))}}return l}var ae=a.now(),Qb=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+ae++}});a.ajaxPrefilter("json jsonp",function(b,m,l){var i=b.contentType===Yb&&typeof b.data===f;if(b.dataTypes[0]==="jsonp"||b.jsonp!==e&&(Qb.test(b.url)||i&&Qb.test(b.data))){var g,c=b.jsonpCallback=a.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,j=n[c],d=b.url,h=b.data,k="$1"+c+"$2";if(b.jsonp!==e){d=d.replace(Qb,k);if(b.url===d){if(i)h=h.replace(Qb,k);if(b.data===h)d+=(/\?/.test(d)?"&":"?")+b.jsonp+"="+c}}b.url=d;b.data=h;n[c]=function(a){g=[a]};l.always(function(){n[c]=j;g&&a.isFunction(j)&&n[c](g[0])});b.converters["script json"]=function(){!g&&a.error(c+" was not called");return g[0]};b.dataTypes[0]="json";return u}});a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){a.globalEval(b);return b}}});a.ajaxPrefilter(u,function(a){if(a.cache===h)a.cache=e;if(a.crossDomain){a.type="GET";a.global=e}});a.ajaxTransport(u,function(d){if(d.crossDomain){var a,b=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(f,e){a=i.createElement(u);a.async="async";if(d.scriptCharset)a.charset=d.scriptCharset;a.src=d.url;a.onload=a.onreadystatechange=function(f,d){if(d||!a.readyState||/loaded|complete/.test(a.readyState)){a.onload=a.onreadystatechange=c;b&&a.parentNode&&b.removeChild(a);a=h;!d&&e(200,"success")}};b.insertBefore(a,b.firstChild)},abort:function(){if(a)a.onload(0,1)}}}});var Tb=n.ActiveXObject?function(){for(var a in sb)sb[a](0,1)}:e,Xd=0,sb;function jc(){try{return new n.XMLHttpRequest}catch(a){}}function Zc(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}a.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&jc()||Zc()}:jc;(function(b){a.extend(a.support,{ajax:!!b,cors:!!b&&"withCredentials"in b})})(a.ajaxSettings.xhr());a.support.ajax&&a.ajaxTransport(function(b){if(!b.crossDomain||a.support.cors){var e;return{send:function(j,l){var g="X-Requested-With",f=b.xhr(),k,i;if(b.username)f.open(b.type,b.url,b.async,b.username,b.password);else f.open(b.type,b.url,b.async);if(b.xhrFields)for(i in b.xhrFields)f[i]=b.xhrFields[i];b.mimeType&&f.overrideMimeType&&f.overrideMimeType(b.mimeType);if(!b.crossDomain&&!j[g])j[g]="XMLHttpRequest";try{for(i in j)f.setRequestHeader(i,j[i])}catch(m){}f.send(b.hasContent&&b.data||c);e=function(q,m){var g,j,n,c,i;try{if(e&&(m||f.readyState===4)){e=h;if(k){f.onreadystatechange=a.noop;if(Tb)delete sb[k]}if(m)f.readyState!==4&&f.abort();else{g=f.status;n=f.getAllResponseHeaders();c={};i=f.responseXML;if(i&&i.documentElement)c.xml=i;c.text=f.responseText;try{j=f.statusText}catch(p){j=d}if(!g&&b.isLocal&&!b.crossDomain)g=c.text?200:404;else if(g===1223)g=204}}}catch(o){!m&&l(-1,o)}c&&l(g,j,c,n)};if(!b.async||f.readyState===4)e();else{k=++Xd;if(Tb){if(!sb){sb={};a(n).unload(Tb)}sb[k]=e}f.onreadystatechange=e}},abort:function(){e&&e(0,1)}}}});var ac={},T,yb,Cd=/^(?:toggle|show|hide)$/,Nd=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Mb,Mc=[[R,Eb,"marginBottom","paddingTop","paddingBottom"],[B,Fb,Cb,"paddingLeft","paddingRight"],[Z]],Pb;a.fn.extend({show:function(g,j,i){var f=this,b,c;if(g||g===0)return f.animate(Ab(w,3),g,j,i);else{for(var e=0,h=f.length;e<h;e++){b=f[e];if(b.style){c=b.style.display;if(!a._data(b,S)&&c===t)c=b.style.display=d;c===d&&a.css(b,F)===t&&a._data(b,S,oc(b.nodeName))}}for(e=0;e<h;e++){b=f[e];if(b.style){c=b.style.display;if(c===d||c===t)b.style.display=a._data(b,S)||d}}return f}},hide:function(f,i,h){var c=this;if(f||f===0)return c.animate(Ab(z,3),f,i,h);else{for(var d,e,b=0,g=c.length;b<g;b++){d=c[b];if(d.style){e=a.css(d,F);e!==t&&!a._data(d,S)&&a._data(d,S,e)}}for(b=0;b<g;b++)if(c[b].style)c[b].style.display=t;return c}},_toggle:a.fn.toggle,toggle:function(d,f,g){var b=this,e=typeof d===K;if(a.isFunction(d)&&a.isFunction(f))b._toggle.apply(b,arguments);else if(d==c||e)b.each(function(){var b=e?d:a(this).is(gb);a(this)[b?w:z]()});else b.animate(Ab(A,3),d,f,g);return b},fadeTo:function(c,d,b,a){return this.filter(gb).css(Z,0).show().end().animate({opacity:d},c,b,a)},animate:function(f,k,j,i){var g=a.speed(k,j,i);if(a.isEmptyObject(f))return this.each(g.complete,[e]);f=a.extend({},f);function h(){var h=this;g.queue===e&&a._mark(h);var l=a.extend({},g),v=h.nodeType===1,u=v&&a(h).is(gb),k,i,j,n,o,m,p,r,s;l.animatedProperties={};for(j in f){k=a.camelCase(j);if(j!==k){f[k]=f[j];delete f[j]}i=f[k];if(a.isArray(i)){l.animatedProperties[k]=i[1];i=f[k]=i[0]}else l.animatedProperties[k]=l.specialEasing&&l.specialEasing[k]||l.easing||"swing";if(i===z&&u||i===w&&!u)return l.complete.call(h);if(v&&(k===R||k===B)){l.overflow=[h.style.overflow,h.style.overflowX,h.style.overflowY];if(a.css(h,F)===U&&a.css(h,"float")===t)if(!a.support.inlineBlockNeedsLayout||oc(h.nodeName)===U)h.style.display=wb;else h.style.zoom=1}}if(l.overflow!=c)h.style.overflow=O;for(j in f){n=new a.fx(h,l,j);i=f[j];if(Cd.test(i)){s=a._data(h,A+j)||(i===A?u?w:z:0);if(s){a._data(h,A+j,s===w?z:w);n[s]()}else n[i]()}else{o=Nd.exec(i);m=n.cur();if(o){p=parseFloat(o[2]);r=o[3]||(a.cssNumber[j]?d:q);if(r!==q){a.style(h,j,(p||1)+r);m=(p||1)/n.cur()*m;a.style(h,j,m+r)}if(o[1])p=(o[1]==="-="?-1:1)*p+m;n.custom(m,p,r)}else n.custom(m,i,d)}}return b}return g.queue===e?this.each(h):this.queue(g.queue,h)},stop:function(d,i,g){if(typeof d!==f){g=i;i=d;d=h}i&&d!==e&&this.queue(d||r,[]);return this.each(function(){var j=this,f,k=e,i=a.timers,h=a._data(j);!g&&a._unmark(b,j);function l(f,e,c){var d=e[c];a.removeData(f,c,b);d.stop(g)}if(d==c)for(f in h)h[f]&&h[f].stop&&f.indexOf(Q)===f.length-4&&l(j,h,f);else h[f=d+Q]&&h[f].stop&&l(j,h,f);for(f=i.length;f--;)if(i[f].elem===j&&(d==c||i[f].queue===d)){if(g)i[f](b);else i[f].saveState();k=b;i.splice(f,1)}!(g&&k)&&a.dequeue(j,d)})}});function wc(){setTimeout(md,0);return Pb=a.now()}function md(){Pb=h}function Ab(c,d){var b={};a.each(Mc.concat.apply([],Mc.slice(0,d)),function(){b[this]=c});return b}a.each({slideDown:Ab(w,1),slideUp:Ab(z,1),slideToggle:Ab(A,1),fadeIn:{opacity:w},fadeOut:{opacity:z},fadeToggle:{opacity:A}},function(c,b){a.fn[c]=function(d,c,a){return this.animate(b,d,c,a)}});a.extend({speed:function(f,g,h){var d=f&&typeof f===l?a.extend({},f):{complete:h||!h&&g||a.isFunction(f)&&f,duration:f,easing:h&&g||g&&!a.isFunction(g)&&g};d.duration=a.fx.off?0:typeof d.duration===p?d.duration:d.duration in a.fx.speeds?a.fx.speeds[d.duration]:a.fx.speeds._default;if(d.queue==c||d.queue===b)d.queue=r;d.old=d.complete;d.complete=function(b){a.isFunction(d.old)&&d.old.call(this);if(d.queue)a.dequeue(this,d.queue);else b!==e&&a._unmark(this)};return d},easing:{linear:function(c,d,a,b){return a+b*c},swing:function(c,d,a,b){return(-Math.cos(c*Math.PI)/2+.5)*b+a}},timers:[],fx:function(b,a,c){this.options=a;this.elem=b;this.prop=c;a.orig=a.orig||{}}});a.fx.prototype={update:function(){var b=this;b.options.step&&b.options.step.call(b.elem,b.now,b);(a.fx.step[b.prop]||a.fx.step._default)(b)},cur:function(){var b=this;if(b.elem[b.prop]!=c&&(!b.elem.style||b.elem.style[b.prop]==c))return b.elem[b.prop];var e,d=a.css(b.elem,b.prop);return isNaN(e=parseFloat(d))?!d||d===X?0:d:e},custom:function(g,j,i){var b=this,c=b,f=a.fx;b.startTime=Pb||wc();b.end=j;b.now=b.start=g;b.pos=b.state=0;b.unit=i||b.unit||(a.cssNumber[b.prop]?d:q);function e(a){return c.step(a)}e.queue=b.options.queue;e.elem=b.elem;e.saveState=function(){c.options.hide&&a._data(c.elem,J+c.prop)===h&&a._data(c.elem,J+c.prop,c.start)};if(e()&&a.timers.push(e)&&!Mb)Mb=setInterval(f.tick,f.interval)},show:function(){var c=this,d=a._data(c.elem,J+c.prop);c.options.orig[c.prop]=d||a.style(c.elem,c.prop);c.options.show=b;if(d!==h)c.custom(c.cur(),d);else c.custom(c.prop===B||c.prop===R?1:0,c.cur());a(c.elem).show()},hide:function(){var c=this;c.options.orig[c.prop]=a._data(c.elem,J+c.prop)||a.style(c.elem,c.prop);c.options.hide=b;c.custom(c.cur(),0)},step:function(n){var f=this,h,k,j,l=Pb||wc(),m=b,i=f.elem,g=f.options;if(n||l>=g.duration+f.startTime){f.now=f.end;f.pos=f.state=1;f.update();g.animatedProperties[f.prop]=b;for(h in g.animatedProperties)if(g.animatedProperties[h]!==b)m=e;if(m){g.overflow!=c&&!a.support.shrinkWrapBlocks&&a.each([d,"X","Y"],function(a,b){i.style["overflow"+b]=g.overflow[a]});g.hide&&a(i).hide();if(g.hide||g.show)for(h in g.animatedProperties){a.style(i,h,g.orig[h]);a.removeData(i,J+h,b);a.removeData(i,A+h,b)}j=g.complete;if(j){g.complete=e;j.call(i)}}return e}else{if(g.duration==Infinity)f.now=l;else{k=l-f.startTime;f.state=k/g.duration;f.pos=a.easing[g.animatedProperties[f.prop]](f.state,k,0,1,g.duration);f.now=f.start+(f.end-f.start)*f.pos}f.update()}return b}};a.extend(a.fx,{tick:function(){for(var d,b=a.timers,c=0;c<b.length;c++){d=b[c];!d()&&b[c]===d&&b.splice(c--,1)}!b.length&&a.fx.stop()},interval:13,stop:function(){clearInterval(Mb);Mb=c},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.style(b.elem,Z,b.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=c)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});a.each([B,R],function(c,b){a.fx.step[b]=function(c){a.style(c.elem,b,Math.max(0,c.now)+c.unit)}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length};function oc(b){if(!ac[b]){var f=i.body,c=a("<"+b+">").appendTo(f),e=c.css(F);c.remove();if(e===t||e===d){if(!T){T=i.createElement("iframe");T.frameBorder=T.width=T.height=0}f.appendChild(T);if(!yb||!T.createElement){yb=(T.contentWindow||T.contentDocument).document;yb.write((i.compatMode===Gb?"<!doctype html>":d)+"<html><body>");yb.close()}c=yb.createElement(b);yb.body.appendChild(c);e=a.css(c,F);f.removeChild(T)}ac[b]=e}return ac[b]}var Pd=/^t(?:able|d|h)$/i,Tc=/^(?:body|html)$/i;if("getBoundingClientRect"in i.documentElement)a.fn.offset=function(h){var b=this[0],d;if(h)return this.each(function(b){a.offset.setOffset(this,h,b)});if(!b||!b.ownerDocument)return c;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(p){}var g=b.ownerDocument,e=g.documentElement;if(!d||!a.contains(e,b))return d?{top:d.top,left:d.left}:{top:0,left:0};var f=g.body,i=dc(g),l=e.clientTop||f.clientTop||0,j=e.clientLeft||f.clientLeft||0,m=i.pageYOffset||a.support.boxModel&&e.scrollTop||f.scrollTop,k=i.pageXOffset||a.support.boxModel&&e.scrollLeft||f.scrollLeft,o=d.top+m-l,n=d.left+k-j;return{top:o,left:n}};else a.fn.offset=function(m){var b=this[0];if(m)return this.each(function(b){a.offset.setOffset(this,m,b)});if(!b||!b.ownerDocument)return c;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);var d,j=b.offsetParent,n=b,l=b.ownerDocument,k=l.documentElement,h=l.body,i=l.defaultView,g=i?i.getComputedStyle(b,c):b.currentStyle,f=b.offsetTop,e=b.offsetLeft;while((b=b.parentNode)&&b!==h&&b!==k){if(a.support.fixedPosition&&g.position===V)break;d=i?i.getComputedStyle(b,c):b.currentStyle;f-=b.scrollTop;e-=b.scrollLeft;if(b===j){f+=b.offsetTop;e+=b.offsetLeft;if(a.support.doesNotAddBorder&&!(a.support.doesAddBorderForTableAndCells&&Pd.test(b.nodeName))){f+=parseFloat(d.borderTopWidth)||0;e+=parseFloat(d.borderLeftWidth)||0}n=j;j=b.offsetParent}if(a.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){f+=parseFloat(d.borderTopWidth)||0;e+=parseFloat(d.borderLeftWidth)||0}g=d}if(g.position===nb||g.position===rb){f+=h.offsetTop;e+=h.offsetLeft}if(a.support.fixedPosition&&g.position===V){f+=Math.max(k.scrollTop,h.scrollTop);e+=Math.max(k.scrollLeft,h.scrollLeft)}return{top:f,left:e}};a.offset={bodyOffset:function(b){var d=b.offsetTop,c=b.offsetLeft;if(a.support.doesNotIncludeMarginInBodyOffset){d+=parseFloat(a.css(b,Eb))||0;c+=parseFloat(a.css(b,Fb))||0}return{top:d,left:c}},setOffset:function(d,b,o){var h=a.css(d,Hb);if(h===rb)d.style.position=nb;var i=a(d),g=i.offset(),m=a.css(d,"top"),l=a.css(d,"left"),n=(h===Wb||h===V)&&a.inArray(X,[m,l])>-1,e={},f={},k,j;if(n){f=i.position();k=f.top;j=f.left}else{k=parseFloat(m)||0;j=parseFloat(l)||0}if(a.isFunction(b))b=b.call(d,o,g);if(b.top!=c)e.top=b.top-g.top+k;if(b.left!=c)e.left=b.left-g.left+j;if("using"in b)b.using.call(d,e);else i.css(e)}};a.fn.extend({position:function(){var f=this;if(!f[0])return c;var g=f[0],b=f.offsetParent(),e=f.offset(),d=Tc.test(b[0].nodeName)?{top:0,left:0}:b.offset();e.top-=parseFloat(a.css(g,Eb))||0;e.left-=parseFloat(a.css(g,Fb))||0;d.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0;d.left+=parseFloat(a.css(b[0],"borderLeftWidth"))||0;return{top:e.top-d.top,left:e.left-d.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||i.body;while(b&&!Tc.test(b.nodeName)&&a.css(b,Hb)===rb)b=b.offsetParent;return b})}});a.each(["Left","Top"],function(d,e){var b=hb+e;a.fn[b]=function(i){var f="pageXOffset",g,e;if(i===h){g=this[0];if(!g)return c;e=dc(g);return e?f in e?e[d?"pageYOffset":f]:a.support.boxModel&&e.document.documentElement[b]||e.document.body[b]:g[b]}return this.each(function(){e=dc(this);if(e)e.scrollTo(!d?i:a(e).scrollLeft(),d?i:a(e).scrollTop());else this[b]=i})}});function dc(b){return a.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:e}a.each(["Height",Db],function(e,b){var d=b.toLowerCase();a.fn["inner"+b]=function(){var b=this[0];return b?b.style?parseFloat(a.css(b,d,bb)):this[d]():c};a.fn["outer"+b]=function(e){var b=this[0];return b?b.style?parseFloat(a.css(b,d,e?qb:ab)):this[d]():c};a.fn[d]=function(i){var g="client",j=this,e=j[0];if(!e)return i==c?c:j;if(a.isFunction(i))return j.each(function(c){var b=a(this);b[d](i.call(this,c,b[d]()))});if(a.isWindow(e)){var k=e.document.documentElement[g+b],l=e.document.body;return e.document.compatMode===Gb&&k||l&&l[g+b]||k}else if(e.nodeType===9)return Math.max(e.documentElement[g+b],e.body[hb+b],e.documentElement[hb+b],e.body["offset"+b],e.documentElement["offset"+b]);else if(i===h){var m=a.css(e,d),n=parseFloat(m);return a.isNumeric(n)?n:m}else return j.css(d,typeof i===f?i:i+q)}});n.jQuery=n.$=a;typeof define===y&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return a})})(window);if(!this.JSON)this.JSON={};(function(){var f="number",c="object",d="string",b="function";function g(a){return a<10?"0"+a:a}if(typeof Date.prototype.toJSON!==b){Date.prototype.toJSON=function(){var a=this;return isFinite(a.valueOf())?a.getUTCFullYear()+"-"+g(a.getUTCMonth()+1)+"-"+g(a.getUTCDate())+"T"+g(a.getUTCHours())+":"+g(a.getUTCMinutes())+":"+g(a.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var l=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,j=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a,h,m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},e;function k(a){j.lastIndex=0;return j.test(a)?'"'+a.replace(j,function(a){var b=m[a];return typeof b===d?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function i(r,s){var n="null",m,o,l,p,q=a,j,g=s[r];if(g&&typeof g===c&&typeof g.toJSON===b)g=g.toJSON(r);if(typeof e===b)g=e.call(s,r,g);switch(typeof g){case d:return k(g);case f:return isFinite(g)?String(g):n;case"boolean":case n:return String(g);case c:if(!g)return n;a+=h;j=[];if(Object.prototype.toString.apply(g)==="[object Array]"){p=g.length;for(m=0;m<p;m+=1)j[m]=i(m,g)||n;l=j.length===0?"[]":a?"[\n"+a+j.join(",\n"+a)+"\n"+q+"]":"["+j.join(",")+"]";a=q;return l}if(e&&typeof e===c){p=e.length;for(m=0;m<p;m+=1){o=e[m];if(typeof o===d){l=i(o,g);l&&j.push(k(o)+(a?": ":":")+l)}}}else for(o in g)if(Object.hasOwnProperty.call(g,o)){l=i(o,g);l&&j.push(k(o)+(a?": ":":")+l)}l=j.length===0?"{}":a?"{\n"+a+j.join(",\n"+a)+"\n"+q+"}":"{"+j.join(",")+"}";a=q;return l}}if(typeof JSON.stringify!==b)JSON.stringify=function(l,g,j){var k;a="";h="";if(typeof j===f)for(k=0;k<j;k+=1)h+=" ";else if(typeof j===d)h=j;e=g;if(g&&typeof g!==b&&(typeof g!==c||typeof g.length!==f))throw new Error("JSON.stringify");return i("",{"":l})};if(typeof JSON.parse!==b)JSON.parse=function(a,e){var d;function f(g,h){var b,d,a=g[h];if(a&&typeof a===c)for(b in a)if(Object.hasOwnProperty.call(a,b)){d=f(a,b);if(d!==undefined)a[b]=d;else delete a[b]}return e.call(g,h,a)}a=String(a);l.lastIndex=0;if(l.test(a))a=a.replace(l,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)});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,""))){d=eval("("+a+")");return typeof e===b?f({"":d},""):d}throw new SyntaxError("JSON.parse");}})();(function(c,K,ob){var E="none",R="LoadedContent",s="resize.",m="y",B="auto",Q="nofollow",t="on",l="x",f=true,b=false,lb={transition:"elastic",speed:300,width:b,initialWidth:"600",innerWidth:b,maxWidth:b,height:b,initialHeight:"450",innerHeight:b,maxHeight:b,scalePhotos:f,scrolling:f,inline:b,html:b,iframe:b,fastIframe:f,photo:b,href:b,title:b,rel:b,opacity:.9,preloading:f,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:b,returnFocus:f,loop:f,slideshow:b,slideshowAuto:f,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:b,onLoad:b,onComplete:b,onCleanup:b,onClosed:b,overlayClose:f,escKey:f,arrowKey:f,top:b,bottom:b,left:b,right:b,fixed:b,data:b},u="colorbox",k="cbox",F=k+"Element",kb=k+"_open",bb=k+"_load",W=k+"_complete",P=k+"_cleanup",hb=k+"_closed",S=k+"_purge",G=c.browser.msie&&!c.support.opacity,O=G&&c.browser.version<7,T=k+"_IE6",A,j,D,r,ab,Z,Y,X,g,p,n,I,H,gb,cb,J,M,N,fb,V,a,y,z,v,w,q,h,i,x,L,U,db,ib,d;function e(b,d,a){a=K.createElement("div");if(b)a.id=k+b;a.style.cssText=d||"";return c(a)}function o(a,b){return Math.round((/%/.test(a)?(b===l?p.width():p.height())/100:1)*parseInt(a,10))}function eb(b){return a.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(b)}function jb(b){a=c.extend({},c.data(q,u));for(b in a)if(c.isFunction(a[b])&&b.substring(0,2)!==t)a[b]=a[b].call(q);a.rel=a.rel||q.rel||Q;a.href=a.href||c(q).attr("href");a.title=a.title||q.title;if(typeof a.href==="string")a.href=c.trim(a.href)}function C(b,a){a&&a.call(q);c.event.trigger(b)}function nb(){var c,b=k+"Slideshow_",e="click."+k,f,i,l;if(a.slideshow&&g[1]){f=function(){J.text(a.slideshowStop).unbind(e).bind(W,function(){if(h<g.length-1||a.loop)c=setTimeout(d.next,a.slideshowSpeed)}).bind(bb,function(){clearTimeout(c)}).one(e+" "+P,i);j.removeClass(b+"off").addClass(b+t);c=setTimeout(d.next,a.slideshowSpeed)};i=function(){clearTimeout(c);J.text(a.slideshowStart).unbind([W,bb,P,e].join(" ")).one(e,f);j.removeClass(b+t).addClass(b+"off")};if(a.slideshowAuto)f();else i()}else j.removeClass(b+"off "+b+t)}function mb(b){if(!U){q=b;jb();g=c(q);h=0;if(a.rel!==Q){g=c("."+F).filter(function(){var b=c.data(this,u).rel||this.rel;return b===a.rel});h=g.index(q);if(h===-1){g=g.add(q);h=g.length-1}}if(!x){x=L=f;j.show();if(a.returnFocus)try{q.blur();c(q).one(hb,function(){try{this.focus()}catch(a){}})}catch(e){}A.css({opacity:+a.opacity,cursor:a.overlayClose?"pointer":B}).show();a.w=o(a.initialWidth,l);a.h=o(a.initialHeight,m);d.position();O&&p.bind(s+T+" scroll."+T,function(){A.css({width:p.width(),height:p.height(),top:p.scrollTop(),left:p.scrollLeft()})}).trigger(s+T);C(kb,a.onOpen);V.add(gb).hide();fb.html(a.close).show()}d.load(f)}}d=c.fn[u]=c[u]=function(a,d){var b=this;a=a||{};if(!b[0]){if(b.selector)return b;b=c("<a/>");a.open=f}if(d)a.onComplete=d;b.each(function(){c.data(this,u,c.extend({},c.data(this,u)||lb,a));c(this).addClass(F)});(c.isFunction(a.open)&&a.open.call(b)||a.open)&&mb(b[0]);return b};d.init=function(){var h="hover",i="clear:left";p=c(ob);j=e().attr({id:u,"class":G?k+(O?"IE6":"IE"):""});A=e("Overlay",O?"position:absolute":"").hide();D=e("Wrapper");r=e("Content").append(n=e(R,"width:0; height:0; overflow:hidden"),H=e("LoadingOverlay").add(e("LoadingGraphic")),gb=e("Title"),cb=e("Current"),M=e("Next"),N=e("Previous"),J=e("Slideshow").bind(kb,nb),fb=e("Close"));D.append(e().append(e("TopLeft"),ab=e("TopCenter"),e("TopRight")),e(b,i).append(Z=e("MiddleLeft"),r,Y=e("MiddleRight")),e(b,i).append(e("BottomLeft"),X=e("BottomCenter"),e("BottomRight"))).children().children().css({"float":"left"});I=e(b,"position:absolute; width:9999px; visibility:hidden; display:none");c("body").prepend(A,j.append(D,I));r.children().hover(function(){c(this).addClass(h)},function(){c(this).removeClass(h)}).addClass(h);y=ab.height()+X.height()+r.outerHeight(f)-r.height();z=Z.width()+Y.width()+r.outerWidth(f)-r.width();v=n.outerHeight(f);w=n.outerWidth(f);j.css({"padding-bottom":y,"padding-right":z}).hide();M.click(function(){d.next()});N.click(function(){d.prev()});fb.click(function(){d.close()});V=M.add(N).add(cb).add(J);r.children().removeClass(h);A.click(function(){a.overlayClose&&d.close()});c(K).bind("keydown."+k,function(b){var c=b.keyCode;if(x&&a.escKey&&c===27){b.preventDefault();d.close()}if(x&&a.arrowKey&&g[1])if(c===37){b.preventDefault();N.click()}else if(c===39){b.preventDefault();M.click()}})};d.remove=function(){j.add(A).remove();c("."+F).removeData(u).removeClass(F)};d.position=function(f,h){var e=0,c=0;p.unbind(s+k);j.hide();if(a.fixed&&!O)j.css({position:"fixed"});else{e=p.scrollTop();c=p.scrollLeft();j.css({position:"absolute"})}if(a.right!==b)c+=Math.max(p.width()-a.w-w-z-o(a.right,l),0);else if(a.left!==b)c+=o(a.left,l);else c+=Math.round(Math.max(p.width()-a.w-w-z,0)/2);if(a.bottom!==b)e+=Math.max(K.documentElement.clientHeight-a.h-v-y-o(a.bottom,m),0);else if(a.top!==b)e+=o(a.top,m);else e+=Math.round(Math.max(K.documentElement.clientHeight-a.h-v-y,0)/2);j.show();f=j.width()===a.w+w&&j.height()===a.h+v?0:f||0;D[0].style.width=D[0].style.height="9999px";function g(a){ab[0].style.width=X[0].style.width=r[0].style.width=a.style.width;H[0].style.height=H[1].style.height=r[0].style.height=Z[0].style.height=Y[0].style.height=a.style.height}j.dequeue().animate({width:a.w+w,height:a.h+v,top:e,left:c},{duration:f,complete:function(){g(this);L=b;D[0].style.width=a.w+w+z+"px";D[0].style.height=a.h+v+y+"px";h&&h();setTimeout(function(){p.bind(s+k,d.position)},1)},step:function(){g(this)}})};d.resize=function(b){if(x){b=b||{};if(b.width)a.w=o(b.width,l)-w-z;if(b.innerWidth)a.w=o(b.innerWidth,l);n.css({width:a.w});if(b.height)a.h=o(b.height,m)-v-y;if(b.innerHeight)a.h=o(b.innerHeight,m);if(!b.innerHeight&&!b.height){var c=n.wrapInner("<div style='overflow:auto'></div>").children();a.h=c.height();c.replaceWith(c.children())}n.css({height:a.h});d.position(a.transition===E?0:a.speed)}};d.prep=function(p){var b="hidden";if(!x)return;var f,l=a.transition===E?0:a.speed;n.remove();n=e(R).append(p);function o(){a.w=a.w||n.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}function m(){a.h=a.h||n.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}n.hide().appendTo(I.show()).css({width:o(),overflow:a.scrolling?B:b}).css({height:m()}).prependTo(r);I.hide();c(i).css({"float":E});if(O)c("select").not(j.find("select")).filter(function(){return this.style.visibility!==b}).css({visibility:b}).one(P,function(){this.style.visibility="inherit"});f=function(){var p,e,o,d,f=g.length,b,m;if(!x)return;function q(){G&&j[0].style.removeAttribute("filter")}m=function(){clearTimeout(ib);H.hide();C(W,a.onComplete)};if(G)i&&n.fadeIn(100);gb.html(a.title).add(n).show();if(f>1){typeof a.current==="string"&&cb.html(a.current.replace("{current}",h+1).replace("{total}",f)).show();M[a.loop||h<f-1?"show":"hide"]().html(a.next);N[a.loop||h?"show":"hide"]().html(a.previous);p=h?g[h-1]:g[f-1];o=h<f-1?g[h+1]:g[0];a.slideshow&&J.show();if(a.preloading){d=c.data(o,u).href||o.href;e=c.data(p,u).href||p.href;d=c.isFunction(d)?d.call(o):d;e=c.isFunction(e)?e.call(p):e;if(eb(d))c("<img/>")[0].src=d;if(eb(e))c("<img/>")[0].src=e}}else V.hide();if(a.iframe){b=c("<iframe/>").addClass(k+"Iframe")[0];if(a.fastIframe)m();else c(b).one("load",m);b.name=k+ +new Date;b.src=a.href;if(!a.scrolling)b.scrolling="no";if(G){b.frameBorder=0;b.allowTransparency="true"}c(b).appendTo(n).one(S,function(){b.src="//about:blank"})}else m();if(a.transition==="fade")j.fadeTo(l,1,q);else q()};if(a.transition==="fade")j.fadeTo(l,0,function(){d.position(0,f)});else d.position(l,f)};d.load=function(s){var j,r,p=d.prep;L=f;i=b;q=g[h];!s&&jb();C(S);C(bb,a.onLoad);a.h=a.height?o(a.height,m)-v-y:a.innerHeight&&o(a.innerHeight,m);a.w=a.width?o(a.width,l)-w-z:a.innerWidth&&o(a.innerWidth,l);a.mw=a.w;a.mh=a.h;if(a.maxWidth){a.mw=o(a.maxWidth,l)-w-z;a.mw=a.w&&a.w<a.mw?a.w:a.mw}if(a.maxHeight){a.mh=o(a.maxHeight,m)-v-y;a.mh=a.h&&a.h<a.mh?a.h:a.mh}j=a.href;ib=setTimeout(function(){H.show()},100);if(a.inline){e().hide().insertBefore(c(j)[0]).one(S,function(){c(this).replaceWith(n.children())});p(c(j))}else if(a.iframe)p(" ");else if(a.html)p(a.html);else if(eb(j)){c(i=new Image).addClass(k+"Photo").error(function(){a.title=b;p(e("Error").text("This image could not be loaded"))}).load(function(){var b;i.onload=null;if(a.scalePhotos){r=function(){i.height-=i.height*b;i.width-=i.width*b};if(a.mw&&i.width>a.mw){b=(i.width-a.mw)/i.width;r()}if(a.mh&&i.height>a.mh){b=(i.height-a.mh)/i.height;r()}}if(a.h)i.style.marginTop=Math.max(a.h-i.height,0)/2+"px";if(g[1]&&(h<g.length-1||a.loop)){i.style.cursor="pointer";i.onclick=function(){d.next()}}if(G)i.style.msInterpolationMode="bicubic";setTimeout(function(){p(i)},1)});setTimeout(function(){i.src=j},1)}else j&&I.load(j,a.data,function(d,a,b){p(a==="error"?e("Error").text("Request unsuccessful: "+b.statusText):c(this).contents())})};d.next=function(){if(!L&&g[1]&&(h<g.length-1||a.loop)){h=h<g.length-1?h+1:0;d.load()}};d.prev=function(){if(!L&&g[1]&&(h||a.loop)){h=h?h-1:g.length-1;d.load()}};d.close=function(){if(x&&!U){U=f;x=b;C(P,a.onCleanup);p.unbind("."+k+" ."+T);A.fadeTo(200,0);j.stop().fadeTo(300,0,function(){j.add(A).css({opacity:1,cursor:B}).hide();C(S);n.remove();setTimeout(function(){U=b;C(hb,a.onClosed)},1)})}};d.element=function(){return c(q)};d.settings=lb;db=function(a){if(!(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)){a.preventDefault();mb(this)}};if(c.fn.delegate)c(K).delegate("."+F,"click",db);else c("."+F).live("click",db);c(d.init)})(jQuery,document,this);(function(a,b){a.fn.lazyload=function(n){var m=false,f="original",i="scroll",e="src",o=!m,h=this,d={threshold:0,container:b,failurelimit:0,event:i,effect:"show","namespace":".lazyload"};n&&a.extend(d,n);var c=a(d.container),j=d.namespace,l=d.event+j,k="appear"+j,g=function(e){e=a(e);if(!e.length)return false;var f=d.threshold;if(c[0]===b)var k=c.height()+c.scrollTop(),m=c.scrollLeft(),l=c.width()+c.scrollLeft(),n=c.scrollTop();else var k=c.offset().top+c.height(),m=c.offset().left,l=c.offset().left+c.width(),n=c.offset().top;var g=e.offset().top+e.height(),i=e.offset().left,h=e.offset().left+e.width(),j=e.offset().top;return j+f<=k&&i+f<=l&&g-f>=n&&h-f>m};if(navigator.userAgent.match(/Android|iPad/))g=function(a){if(!a)return false;var d=0,c=0,f=a.offsetWidth,e=a.offsetHeight;do{a.offsetParent;d+=a.offsetTop;c+=a.offsetLeft}while(a=a.offsetParent);return d<b.pageYOffset+b.innerHeight&&c<b.pageXOffset+b.innerWidth&&d+e>b.pageYOffset&&c+f>b.pageXOffset};d.event===i&&c.bind(l,function(){var b=0;h.each(function(){if(g(this))a(this).trigger(k);else if(d.failurelimit&&b++>d.failurelimit)return m});h=a(a.grep(h,function(b){b.loaded&&a(b).removeData(f);return!b.loaded}));!h.length&&c.unbind(j)});this.each(function(){var b=this;!a(b).data(f)&&a(b).data(f,a(b).attr(e));if(g(a(b)))b.loaded=o;else if(d.event!==i||!a(b).attr(e)||d.placeholder===a(b).attr(e)||!g(a(b))){d.placeholder?a(b).attr(e,d.placeholder):a(b).removeAttr(e);b.loaded=m}a(b).one(k,function(){if(!this.loaded)a("<img />").bind("load",function(){a(b).hide().attr(e,a(b).data(f))[d.effect](d.effectspeed);b.loaded=o}).attr(e,a(b).data(f));else a(b).attr(e,a(b).data(f))});d.event!==i&&a(b).bind(l,function(){!b.loaded&&a(b).trigger(k)})});c.trigger(l);return this}})(jQuery,window);(function(a){a.fn.fcbkcomplete=function(b){return this.queue(function(){var r="jsoncache",p="first",j="auto-focus",w="li:visible:first",G='<li rel="',d=null,F='option[value="',o="rel",u="fast",A="deleted",t="li.bit-box.deleted",H="_annoninput",m="li",E="</option>",D='<option value="',z="locked",v=true,B="selected",e="cache",k="undefined",c=false,C="selectAll",s=".default",g="";function lb(){ib();db(0)}function ib(){x=a('<ul class="holder"></ul>').width(f.width);if(f.attachto)if(typeof f.attachto=="object")f.attachto.append(x);else a(f.attachto).append(x);else h.after(x);y=a('<div class="facebook-auto">').width(f.width);if(f.complete_text!=g){var b=f.complete_text;y.append('<div class="default">'+b+"</div>");f.select_all_text&&y.children(s).append(a('<a href="" class="select_all_items">'+f.select_all_text+"</a>").click(function(){a(h).trigger(C);return c}))}y.hover(function(){S=0},function(){S=1});l=a('<ul id="'+N+'_feed"></ul>').width(f.width);x.after(y.prepend(l));jb()}function jb(){name=h.attr("name");if(f.bricket)if(typeof name!=k&&name.indexOf("[]")==-1)name=name+"[]";var b=a("<"+h.get(0).tagName+' name="'+name+'" id="'+N+'" multiple="multiple" class="'+h.get(0).className+' hidden">').data(e,{});a.each(h.children("option"),function(f,c){c=a(c);b.data(e)[c.val()]=c.text();if(c.hasClass(B)){var d=I(c.text(),c.val(),v,c.hasClass(z));b.append(D+c.val()+'" selected="selected" id="opt_'+d+'"class="selected">'+c.text()+E)}});h.after(b);h.remove();h=b;a(h).bind("addItem",function(b,a){I(a.title,a.value,0,0,0)});a(h).bind("removeItem",function(c,b){var a=x.children("li[rel="+b.value+"]");a.length&&W(a)});a(h).bind("destroy",function(){x.remove();y.remove();h.show()});a(h).bind(C,function(){var b=a(h).val()||[];a.each(a(h).data(e),function(c,d){a.inArray(c,b)===-1&&I(d,c,0,0,0)});l.parent().hide()})}function I(e,i,k,o,l){if(!M())return c;var n="bit-box"+(o?" locked":g),b=kb(),p=document.createTextNode(J(e)),d=a('<a class="closebutton" href="#"></a>'),q=a('<li class="'+n+'" rel="'+i+'" id="pt_'+b+'"></li>').prepend(p).append(d);x.append(q);d.click(function(){W(a(this).parent(m));return c});if(!k){a("#"+N+H).remove();db(l);var j=a(D+J(i,1)+'" id="opt_'+b+'" class="selected" selected="selected">'+J(e)+E);h.append(j);f.onselect&&Z(f.onselect,j);h.change()}x.children(t).removeClass(A);O(1);return b}function W(b){if(!b.hasClass(z)){b.fadeOut(u);var c=b.attr("id");if(f.onremove){var d=c?a("#o"+c+g):h.children("option[value="+b.attr(o)+"]");Z(f.onremove,d)}if(c)a("#o"+c+g).remove();else h.children(F+b.attr(o)+'"]').remove();b.remove();h.change();X=0}}function db(d){var e=a('<li class="bit-input" id="'+N+'_annoninput">'),b=a('<input type="text" class="maininput" size="'+f.input_min_size+'" autocomplete="off">');f.input_tabindex>0&&b.attr("tabindex",f.input_tabindex);f.input_name!=g&&b.attr("name",f.input_name);x.append(e.append(b));b.focus(function(){Y=v;M()&&y.fadeIn(u)});b.blur(function(){Y=c;if(S)y.fadeOut(u);else b.focus()});x.click(function(){f.input_min_size<0&&l.length&&cb(L(b.val(),1));b.focus();if(l.length&&b.val().length>f.input_min_size)l.show();else{O(1);y.children(s).show()}});b.keypress(function(d){if(d.keyCode==q.enter)return c;var a=f.input_min_size>b.val().length?f.input_min_size:b.val().length+1;b.attr("size",a).width(parseInt(b.css("font-size"))*a)});b.keyup(function(e){var d="li.bit-box:last",g=L(b.val(),1);if(e.keyCode==q.backspace&&g.length==0){O(1);if(!x.children(d).hasClass(z))if(x.children(t).length==0){x.children(d).addClass(A);return c}else{if(X)return;X=1;x.children(t).fadeOut(u,function(){W(a(this));return c})}}if(e.keyCode!=q.downarrow&&e.keyCode!=q.uparrow&&e.keyCode!=q.leftarrow&&e.keyCode!=q.rightarrow&&g.length>f.input_min_size){cb(g);y.children(s).hide();l.show()}});f.oncreate&&Z(f.oncreate,b);d&&setTimeout(function(){b.focus();y.children(s).show()},1)}function U(c,b){l.html(g);!f.cache&&b!=d&&K.clear();hb(c);b!=d&&b.length&&a.each(b,function(b,a){K.set(L(a.key),L(a.value))});var i=f.maxshownitems<K.length()?f.maxshownitems:K.length(),e=g;a.each(K.search(c),function(b,a){if(i)if(!(f.filter_selected&&h.children(F+a.key+'"]').hasClass(B))){e+=G+a.key+'">'+J(fb(a.value,c))+"</li>";P++;i--}});l.append(e);if(f.firstselected){n=l.children(w);n.addClass(j)}if(P>f.height)l.css({height:f.height*24+"px",overflow:"auto"});else l.css("height","auto");M()&&y.is(":hidden")&&y.show()}function fb(b,a){var c=f.filter_begin?g:"(.*)",d=f.filter_begin?"<em>$1</em>$2":"$1<em>$2</em>$3",e=c+(f.filter_case?"("+a+")(.*)":"("+a.toLowerCase()+")(.*)");try{var h=new RegExp(e,f.filter_case?"g":"gi"),b=b.replace(h,d)}catch(i){}return b}function ab(){l.children(m).mouseover(function(){l.children(m).removeClass(j);n=a(this);n.addClass(j)});l.children(m).mouseout(function(){a(this).removeClass(j);n=d})}function gb(){l.unbind("mouseover").unbind("mouseout").mousemove(function(){ab();l.unbind("mousemove")})}function V(){var b=a("#"+N+H).children(".maininput");ab();l.children(m).unbind("mousedown").mousedown(function(){var b=a(this);I(b.text(),b.attr(o),0,0,1);O(1);y.hide()});b.unbind("keydown");b.keydown(function(b){b.keyCode!=q.backspace&&x.children(t).removeClass(A);if((b.keyCode==q.enter||b.keyCode==q.tab||b.keyCode==q.comma)&&bb()){var c=n;I(c.text(),c.attr(o),0,0,1);return R(b)}if((b.keyCode==q.enter||b.keyCode==q.tab||b.keyCode==q.comma)&&!bb()){if(f.newel){var d=L(a(this).val());I(d,d,0,0,1);return R(b)}if((f.addontab||f.addoncomma)&&f.newel){n=l.children(w);var c=n;I(c.text(),c.attr(o),0,0,1);return R(b)}}b.keyCode==q.downarrow&&eb(p);b.keyCode==q.uparrow&&eb("last")})}function eb(b){var a="li:visible";gb();if(n==d||n.length==0){n=l.children("li:visible:"+b);l.get(0).scrollTop=b==p?0:parseInt(n.get(0).scrollHeight,10)*(parseInt(l.children(a).length,10)-Math.round(f.height/2))}else{n.removeClass(j);n=b==p?n.nextAll(w):n.prevAll(w);var c=parseInt(n.prevAll(a).length,10),e=parseInt(n.nextAll(a).length,10);if(((b==p?c:e)>Math.round(f.height/2)||(b==p?c:e)<=Math.round(f.height/2))&&typeof n.get(0)!=k)l.get(0).scrollTop=parseInt(n.get(0).scrollHeight,10)*(c-Math.round(f.height/2))}l.children(m).removeClass(j);n.addClass(j)}function R(a){y.hide();a.preventDefault();n=d;return c}function M(){return f.maxitems!=0&&x.children("li.bit-box").length<f.maxitems}function hb(b){if(f.newel&&M()){l.children("li[fckb=1]").remove();if(b.length==0)return;var c=a(G+b+'" fckb="1">').html(J(b));l.prepend(c);P++}return}function Z(c,a){var b={};for(i=0;i<a.get(0).attributes.length;i++)if(a.get(0).attributes[i].nodeValue!=d)b["_"+a.get(0).attributes[i].nodeName]=a.get(0).attributes[i].nodeValue;return c.call(c,b)}function bb(){return n==d||n.length==0?c:v}function L(a,c){if(typeof c!=k){for(i=0;i<a.length;i++){var b=a.charCodeAt(i);if(q.exclamation<=b&&b<=q.slash||q.colon<=b&&b<=q.at||q.squarebricket_left<=b&&b<=q.apostrof)a=a.replace(a[i],escape(a[i]))}a=a.replace(/(\{|\}|\*)/i,"\\$1")}return a.replace(/script(.*)/g,g)}function J(a,b){a=a.toString();a=a.replace("\\",g);return typeof b!=k?a:unescape(a)}function O(a){l.children().remove();a&&l.hide()}function cb(b){P=0;if(f.json_url&&M())if(f.cache&&Q.get(b)){U(b);V()}else{T++;var c=T;setTimeout(function(){if(c!=T)return;a.getJSON(f.json_url,{tag:J(b)},function(a){if(!Y)return;U(b,a);Q.set(b,1);V()})},f.delay)}else{U(b);V()}}var f=a.extend({json_url:d,width:512,cache:c,height:"10",newel:c,addontab:c,addoncomma:c,firstselected:c,filter_case:c,filter_selected:c,filter_begin:c,complete_text:"Start to type...",select_all_text:d,maxshownitems:30,maxitems:10,oncreate:d,onselect:d,onremove:d,attachto:d,delay:350,input_tabindex:0,input_min_size:1,input_name:g,bricket:v},b),x=d,l=d,y=d,P=0,Y=c,n=d,X=0,S=1,h=a(this),N=h.attr("id"),T=0,Q={"set":function(c,b){var a=h.data(r);a[c]=b;h.data(r,a)},"get":function(a){return h.data(r)[a]!=k?h.data(r)[a]:d},init:function(){h.data(r,{})}},q={enter:13,tab:9,comma:188,backspace:8,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,exclamation:33,slash:47,colon:58,at:64,squarebricket_left:91,apostrof:96},kb=function(){for(var b="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",a=g,d=0;d<32;d++){var c=Math.floor(Math.random()*b.length);a+=b.substring(c,c+1)}return a},K={search:function(d){var b=[],c=new RegExp((f.filter_begin?"^":g)+d,f.filter_case?"g":"gi");a.each(h.data(e),function(d,a){if(typeof a.search==="function")a.search(c)!=-1&&b.push({key:d,value:a})});return b},"set":function(c,b){var a=h.data(e);a[c]=b;h.data(e,a)},"get":function(a){return h.data(e)[a]!=k?h.data(e)[a]:d},clear:function(){h.data(e,{})},length:function(){if(typeof h.data(e)=="object"){var a=0;for(i in h.data(e))a++;return a}else return h.data(e).length},init:function(){h.data(e)==k&&h.data(e,{})}};lb();Q.init();K.init();return this})}})(jQuery);(function(a){var c="html,body",b="object",d=a.scrollTo=function(b,d,c){a(window).scrollTo(b,d,c)};d.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1};d.window=function(){return a(window)._scrollable()};a.fn._scrollable=function(){return this.map(function(){var b=this,d=!b.nodeName||a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!d)return b;var c=(b.contentWindow||b).document||b.ownerDocument||b;return a.browser.safari||c.compatMode=="BackCompat"?c.body:c.documentElement})};a.fn.scrollTo=function(h,g,f){if(typeof g==b){f=g;g=0}if(typeof f=="function")f={onAfter:f};if(h=="max")h=9e9;f=a.extend({},d.defaults,f);g=g||f.speed||f.duration;f.queue=f.queue&&f.axis.length>1;if(f.queue)g/=2;f.offset=e(f.offset);f.over=e(f.over);return this._scrollable().each(function(){var k=this,l=a(k),i=h,m,j={},o=l.is(c);switch(typeof i){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(i)){i=e(i);break}i=a(i,this);case b:if(i.is||i.style)m=(i=a(i)).offset()}a.each(f.axis.split(""),function(q,g){var c=g=="x"?"Left":"Top",b=c.toLowerCase(),a="scroll"+c,h=k[a],p=d.max(k,g);if(m){j[a]=m[b]+(o?0:h-l.offset()[b]);if(f.margin){j[a]-=parseInt(i.css("margin"+c))||0;j[a]-=parseInt(i.css("border"+c+"Width"))||0}j[a]+=f.offset[b]||0;if(f.over[b])j[a]+=i[g=="x"?"width":"height"]()*f.over[b]}else{var e=i[b];j[a]=e.slice&&e.slice(-1)=="%"?parseFloat(e)/100*p:e}if(/^\d+$/.test(j[a]))j[a]=j[a]<=0?0:Math.min(j[a],p);if(!q&&f.queue){h!=j[a]&&n(f.onAfterFirst);delete j[a]}});n(f.onAfter);function n(a){l.animate(j,g,f.easing,a&&function(){a.call(this,h,f)})}}).end()};d.max=function(b,i){var d=i=="x"?"Width":"Height",e="scroll"+d;if(!a(b).is(c))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])};function e(a){return typeof a==b?a:{top:a,left:a}}})(jQuery);(function(a){a.fn.hoverIntent=function(l,m){var d="mouseenter",b="mousemove",c={sensitivity:7,interval:100,timeout:0};c=a.extend(c,m?{over:l,out:m}:l);var f,g,h,i,e=function(a){f=a.pageX;g=a.pageY},k=function(j,d){d.hoverIntent_t=clearTimeout(d.hoverIntent_t);if(Math.abs(h-f)+Math.abs(i-g)<c.sensitivity){a(d).unbind(b,e);d.hoverIntent_s=1;return c.over.apply(d,[j])}else{h=f;i=g;d.hoverIntent_t=setTimeout(function(){k(j,d)},c.interval)}},n=function(b,a){a.hoverIntent_t=clearTimeout(a.hoverIntent_t);a.hoverIntent_s=0;return c.out.apply(a,[b])},j=function(j){var g=jQuery.extend({},j),f=this;if(f.hoverIntent_t)f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if(j.type==d){h=g.pageX;i=g.pageY;a(f).bind(b,e);if(f.hoverIntent_s!=1)f.hoverIntent_t=setTimeout(function(){k(g,f)},c.interval)}else{a(f).unbind(b,e);if(f.hoverIntent_s==1)f.hoverIntent_t=setTimeout(function(){n(g,f)},c.timeout)}};return this.bind(d,j).bind("mouseleave",j)}})(jQuery);(function(a){$.fn.scrollbar=function(d){var l="middle",f="vertical",c=true,b=false,g="auto",e=300,i="scrollbar",p=i,V=e,o=g,M=7,N=b,u,C=c,Q=b,x,F=c,P=b,w,E=c,O=b,v,D=c,L=b,t,B=c,q=.4,y=10,k=c,j=c,m=10,H=g,R=g,h=0,z=5,U=c,S=f,W=13,n="#111111",J="#a1dc13",A="#E6E6E6",K="#CCCCCC",T=b,I=l,G=l,s=20,r=20;if(d.type!=a)p=d.type;if(d.height!=a)V=d.height;if(d.width!=a)o=d.width;if(d.scrollerEase!=a)M=d.scrollerEase;if(d.downBtn!=a){N=c;u=d.downBtn}if(d.upBtn!=a){Q=c;x=d.upBtn}if(d.topBtn!=a){P=c;w=d.topBtn}if(d.rightBtn!=a){L=c;t=d.rightBtn}if(d.leftBtn!=a){O=c;v=d.leftBtn}if(d.dragVertical!=a)k=d.dragVertical;if(d.dragHorizontal!=a)j=d.dragHorizontal;if(d.buttonsDisabledAlpha!=a)q=d.buttonsDisabledAlpha;if(d.buttonsScrollSpeed!=a)y=d.buttonsScrollSpeed;if(d.barWidth!=a)m=d.barWidth;if(d.draggerVerticalSize!=a)H=d.draggerVerticalSize;if(d.roundCorners!=a)h=d.roundCorners;if(d.distanceFromBar!=a)z=d.distanceFromBar;if(d.mouseWheel!=a)U=d.mouseWheel;if(d.mouseWheelOrientation!=a)S=d.mouseWheelOrientation;if(d.mouseWheelSpeed!=a)W=d.mouseWheelSpeed;if(d.draggerColor!=a)n=d.draggerColor;if(d.draggerOverColor!=a)J=d.draggerOverColor;if(d.barColor!=a)A=d.barColor;if(d.barOverColor!=a)K=d.barOverColor;if(d.lockToPosition!=a)T=d.lockToPosition;if(d.lockToAlignVertical!=a)I=d.lockToAlignVertical;if(d.lockToAlignHorizontal!=a)G=d.lockToAlignHorizontal;if(d.topAndBottomSpace!=a)s=d.topAndBottomSpace;if(d.leftAndRightSpace!=a)r=d.leftAndRightSpace;$(this).each(function(){var tb="grab",Z="mousemove",jb="horizontal",lb="left",xb=".scrollbar_dragger.horizontal",sb="border-radius",rb="-khtml-border-radius",qb="-webkit-border-radius",pb="-moz-border-radius",d="background-color",fb="top",ub=".content",W="width",a="px",X="height",ab=V,hb=$(this);hb.css(X,ab+a);var cb=hb.width(),mb=$(".scrollbar",hb);mb.css(W,cb);mb.css(X,ab);var gb=$(ub,hb),Eb=0,Y=0,Db=0,bb=0,nb=gb.height(),ob=gb.width();if(o!=g){gb.css(W,o+a);ob=o}var Xb,Gb,Yb,Nb=b,Fb=b,Rb=b,Cb=30,Ib=function(){var b="opacity";if(k)if(nb<ab){eb.css(b,0);ib.css(b,0)}else{if(H==g)zb=ab/(nb/ab);else zb=H;eb.css(X,zb+a);eb.css(b,1);ib.css(b,1)}if(j)if(ob<cb){db.css(b,0);kb.css(b,0)}else{if(R==g)Ab=cb/(ob/cb);else Ab=R;db.css(W,Ab+a);db.css(b,1);kb.css(b,1)}};if(p==i&&k){hb.append('<div class="scrollbar_dragger vertical"><div class="back"></div><div class="dragger"></div></div>');mb.css("margin-right",m+a);cb-=m+z;mb.css(W,cb+a);!j&&gb.css(W,cb+a);$(".scrollbar_dragger.vertical",hb).css(W,m+a);var zb,Jb=ab,eb=$(".scrollbar_dragger.vertical .dragger",hb),wb=0;eb.css(fb,0+a);eb.css(W,m+a);eb.css(d,n);if(h>0){eb.css(pb,h+a);eb.css(qb,h+a);eb.css(rb,h+a);eb.css(sb,h+a)}var ib=$(".scrollbar_dragger.vertical .back");ib.css(W,m+a);ib.css(X,ab+a);ib.css(d,A);if(h>0){ib.css(pb,h+a);ib.css(qb,h+a);ib.css(rb,h+a);ib.css(sb,h+a)}!j&&Ib()}if(p==i&&j){hb.append('<div class="scrollbar_dragger horizontal"><div class="back"></div><div class="dragger"></div></div>');mb.css("margin-bottom",m+a);ab-=m+z;k&&ib.css(X,ab+a);mb.css(X,ab+a);!k&&gb.css(X,ab+a);$(xb,hb).css(X,m+a);$(xb,hb).css(W,cb+m+z+a);$(xb,hb).css(fb,ab+z+a);var Kb=cb,Ab,db=$(".scrollbar_dragger.horizontal .dragger",hb),vb=0;db.css(X,m+a);db.css(W,cb+a);db.css(d,n);db.css(lb,0+a);if(h>0){db.css(pb,h+a);db.css(qb,h+a);db.css(rb,h+a);db.css(sb,h+a)}var kb=$(".scrollbar_dragger.horizontal .back");kb.css(X,m+a);kb.css(W,cb+a);kb.css(d,A);if(h>0){kb.css(pb,h+a);kb.css(qb,h+a);kb.css(rb,h+a);kb.css(sb,h+a)}Ib()}$(ub,hb).resize(function(){gb=$(ub,hb);nb=gb.height();ob=gb.width();if(o!=g){gb.css(W,o+a);ob=o}p==i&&Ib()});var Ub=function(){var d="disabled";if(P)if(Y>=0&&E){E=b;w.fadeTo(e,q);w.addClass(d)}else if(Y<0&&!E){E=c;w.fadeTo(e,1);w.removeClass(d)}if(Q)if(Y>=0&&F){F=b;x.fadeTo(e,q);x.addClass(d)}else if(Y<0&&!F){F=c;x.fadeTo(e,1);x.removeClass(d)}if(N)if(Y<=-(nb-ab)&&C){C=b;u.fadeTo(e,q);u.addClass(d)}else if(Y>-(nb-ab)&&!C){C=c;u.fadeTo(e,1);u.removeClass(d)}if(O)if(bb>=0&&D){D=b;v.fadeTo(e,q);v.addClass(d)}else if(bb<0&&!D){D=c;v.fadeTo(e,1);v.removeClass(d)}if(L)if(bb<=-(ob-cb)&&B){B=b;t.fadeTo(e,q);t.addClass(d)}else if(bb>-(ob-cb)&&!B){B=c;t.fadeTo(e,1);t.removeClass(d)}if(k){var f=Math.round((Y-Eb)/M);Eb+=f;gb.css(fb,Eb+a)}if(j){var f=Math.round((bb-Db)/M);Db+=f;gb.css(lb,Db+a)}Xb=setTimeout(Ub,Cb)};Xb=setTimeout(Ub,Cb);if(p==i){var Bb=function(c){$(".qtip").qtip("hide");if(c==f){if(wb<0)wb=0;if(wb>Jb-zb)wb=Jb-zb;var b=wb/(Jb-zb);Y=-(nb-ab)*b;eb.css(fb,wb+a)}else if(c==jb){if(vb<0)vb=0;if(vb>Kb-Ab)vb=Kb-Ab;var b=vb/(Kb-Ab);bb=-(ob-cb)*b;db.css(lb,vb+a)}},Hb=function(d){var a,c=f,b;if(Fb){a=d.pageY;b=a-Gb;wb=positionIni+b}else{a=d.pageX;c=jb;b=a-Gb;vb=positionIni+b}Bb(c)};if(k){eb.mouseover(function(){eb.css(d,J)});eb.mouseout(function(){!Fb&&eb.css(d,n)});ib.mouseover(function(){ib.css(d,K)});ib.mouseout(function(){ib.css(d,A)});eb.mousedown(function(a){if(nb>ab){Gb=a.pageY;positionIni=parseInt(eb.css(fb),10);Fb=c;$(document).bind(Z,Hb);$(document).mouseup(function(){$(document).unbind(Z);Fb=b;eb.css(d,n)})}return b});ib.click(function(c){var a=ib.offset();wb=c.pageY-a.top;Bb(f);return b})}if(j){db.mouseover(function(){db.css(d,J)});db.mouseout(function(){!Nb&&db.css(d,n)});kb.mouseover(function(){kb.css(d,K)});kb.mouseout(function(){kb.css(d,A)});db.mousedown(function(a){Gb=a.pageX;positionIni=parseInt(db.css(lb),10);Rb=c;$(document).bind(Z,Hb);$(document).mouseup(function(){$(document).unbind(Z);Rb=b;db.css(d,n)});return b});kb.click(function(c){var a=kb.offset();vb=c.pageX-a.left;Bb(jb);return b})}U&&hb.mousewheel(function(c,a){if(S==f){if(nb>ab){wb-=a*13;Bb(f)}}else{vb-=a*13;Bb(jb)}return b})}if(p=="mousePosition"){!k&&gb.css(X,ab+a);!j&&gb.css(W,cb+a);var Ob=mb.offset();mb.mousemove(function(d){Ob=mb.offset();if(nb>ab){if(k){var a=nb+s*2-ab,b=(d.pageY-Ob.top)/ab,c=s-a*b;Y=c}if(j){var a=ob+r*2-cb,b=(d.pageX-Ob.left)/cb,c=r-a*b;bb=c}}});T&&hb.mouseout(function(){if(k){var a=nb+s*2-ab;if(I==l)Y=s-a*.5;else if(I=="bottom")Y=s-a;else Y=0}if(j){var a=ob+r*2-cb;if(G==l)bb=r-a*.5;else if(G=="right")bb=r-a;else bb=0}})}if(jQuery.browser.msie)gb.get(0).onselectstart=function(){return b};else gb.get(0).onmousedown=function(a){a.preventDefault()};if(p=="dragAndDrop"){!k&&gb.css(X,ab+a);!j&&gb.css(W,cb+a);var Wb=0,Vb=0,Mb=0,Lb=0,Qb,Pb,Tb,Sb,Hb=function(c){if(k){var e=c.pageY,b=e-Tb;Y=Qb+b;Mb=b-Wb;Wb=b}if(j){var d=c.pageX,a=d-Sb;bb=Pb+a;Lb=a-Vb;Vb=a}};mb.addClass(tb);hb.mousemove(function(a){a.preventDefault()});mb.mousedown(function(d){var a="grabbing";mb.removeClass(tb);mb.addClass(a);if(d.preventDefault)d.preventDefault();else d.returnValue=b;if(k){Tb=d.pageY;Y=Eb;Qb=Y}if(j){Sb=d.pageX;bb=Db;Pb=bb}Nb=c;$(document).bind(Z,Hb);$(document).mouseup(function(){mb.addClass(tb);mb.removeClass(a);$(document).unbind(Z,Hb);Nb=b;if(k){var c=nb-ab;Y+=Mb*30;if(Y>0)Y=0;else if(Y<-c)Y=-c;Mb=0}if(j){var d=ob-cb;bb+=Lb*30;if(bb>0)bb=0;else if(bb<-d)bb=-d;Lb=0}return b});return b})}P&&w.click(function(){Y=0;return b});if(N){var yb;u.mousedown(function(){var a=function(){Y-=y;if(Y<-(nb-ab))Y=-(nb-ab)};yb=setInterval(a,30);$(document).mouseup(function(){clearInterval(yb)});return b})}if(Q){var yb;x.mousedown(function(){var a=function(){Y+=y;if(Y>0)Y=0};yb=setInterval(a,Cb);$(document).mouseup(function(){clearInterval(yb)});return b})}if(O){var yb;v.mousedown(function(){var a=function(){bb+=y;if(bb>0)bb=0};yb=setInterval(a,Cb);$(document).mouseup(function(){clearInterval(yb)});return b})}if(L){var yb;t.mousedown(function(){var a=function(){bb-=y;if(bb<-(ob-cb))bb=-(ob-cb)};yb=setInterval(a,Cb);$(document).mouseup(function(){clearInterval(yb)});return b})}})}})();(function(a){a.fn.ishare=function(y){var l=';"></div>',c="",f=true,x={activation:"click",keepAlive:false,width:"370px",height:"115px",edgeOffset:10,position:"top",delay:400,fadeIn:400,fadeOut:600,fadeOut_delay:500,iconsDir:"icons/",displayTitle:f,title:"Share &amp; Bookmark",sharetitle:c,shareurl:c,icons:"facebook,twitter,google,digg,delicious,stumbleupon,myspace,tumblr,linkedin,bebo,mixx,friendfeed",targetBlank:f,fbLikebox:f,fbAction:"like",fbcolorscheme:"light",tweets:f,tweetText:"Check out this URL",tweetVia:c,twitterRelated:"_DanielPaul",tweetButton:"Tweet",gplus:f,enter:function(){},exit:function(){}},b=a.extend(x,y),d={};d.digg="http://digg.com/submit?phase=2&url={URL}&title={TITLE}";d.linkedin="http://www.linkedin.com/shareArticle?mini=true&url={URL}&title={TITLE}&summary={DESCRIPTION}&source=";d.technorati="http://www.technorati.com/faves?add={URL}";d.delicious="http://del.icio.us/post?url={URL}&title={TITLE}";d.yahoo="http://myweb2.search.yahoo.com/myresults/bookmarklet?u={URL}&t={TITLE}";d.google="http://www.google.com/bookmarks/mark?op=edit&bkmk={URL}&title={TITLE}";d.newsvine="http://www.newsvine.com/_wine/save?u={URL}&h={TITLE}";d.reddit="http://reddit.com/submit?url={URL}&title={TITLE}";d.live="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url={URL}&title={TITLE}&top=1";d.facebook="http://www.facebook.com/share.php?u={URL}";d.twitter="http://twitter.com/?status={TITLE}%20-%20{URL}";d.stumbleupon="http://www.stumbleupon.com/submit?url={URL}&title={TITLE}";d.orkut="http://promote.orkut.com/preview?nt=orkut.com&tt={TITLE}&du={URL}&cn={DESCRIPTION}";d.bebo="http://www.bebo.com/c/share?Url={URL}&title={TITLE}";d.evernote="http://s.evernote.com/grclip?url={URL}&title={TITLE}";d.mixx="http://www.mixx.com/submit?page_url={URL}&title={TITLE}";d.myspace="http://www.myspace.com/Modules/PostTo/Pages/?u={URL}&title={TITLE}";d.netvibes="http://www.netvibes.com/share?title={TITLE}&url={URL}";d.tumblr="http://www.tumblr.com/share?v=3&u={URL}&t={TITLE}&s=";d.google_buzz="http://www.google.com/reader/link?url={URL}&title={TITLE}&srcURL={URL}";d.friendfeed="http://friendfeed.com/share/bookmarklet/frame#title={TITLE}&url={URL}";d.design_moo="http://www.designmoo.com/node/add/drigg/?url={URL}&title={TITLE}";d.designfloat="http://www.designfloat.com/submit.php?url={URL}&title={TITLE}";d.design_bump="http://www.designbump.com/node/add/drigg/?url={URL}&title={TITLE}";d.squidoo="http://www.squidoo.com/lensmaster/bookmark?{URL}";d.yahoo_buzz="http://buzz.yahoo.com/buzz?targetUrl={URL}&headline={TITLE}&summary={DESCRIPTION}";d.print='javascript:void(0);" onClick="print_page();" target="_self';d.favorites='javascript:void(0);" onClick="bookmark_us();" target="_self';d.email="mailto:?subject={TITLE}&body={URL}";b.activation=="hover"&&this.click(function(){return false});var e=a('<div id="ishare_holder" style="width:'+b.width+l);e.css({position:"absolute",zIndex:1e5});var D=c;if(b.displayTitle)var D=a('<div id="ishare_title">'+b.title+'<span id="ishare_close"><a href="javascript:void(0);" class="ishare_close">X</a></span></div>');var o=a('<div id="ishare_icons" style="height:'+b.height+l),u=c;if(b.fbLikebox)var u='<iframe src="http://www.facebook.com/plugins/like.php?href='+h(m())+"&amp;layout=button_count&amp;width=100&amp;action="+b.fbAction+"&amp;colorscheme="+b.fbcolorscheme+'&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>';if(b.tweetVia)var w="&amp;via="+b.tweetVia;else var w=c;var B=c;if(b.tweets)var B='<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url='+h(m())+"&amp;text="+h(b.tweetText)+"&amp;related="+h(b.twitterRelated)+w+'" style="width:100px; height:21px;"></iframe>';var C=c;if(b.gplus)var C='<iframe allowtransparency="true" frameborder="0" scrolling="no" src="https://plusone.google.com/u/0/_/+1/fastbutton?url='+h(m())+'&amp;size=medium" style="width:70px; height:21px;"></iframe>';var z=c;if(b.fbLikebox||b.tweets)var z=a('<div id="ishare_extras">'+C+B+u+"</div>");e.html(D);e.append(o,z);var p=b.icons.split(",");for(var E in p){var n=p[E],q=n.replace(/_/gi," "),g=d[n];if(b.targetBlank)var A="_blank";else var A="_self";if(g){g=g.replace("{TITLE}",h(t()));g=g.replace("{URL}",h(m()));g=g.replace("{KEYWORDS}",h(s()));g=g.replace("{DESCRIPTION}",h(r()));var v='<a href="'+g+'" target="'+A+'"><div class="ishare_icon"><img src="'+b.iconsDir+q+'.png"><span>'+q+"</span></div></a>";a(v).appendTo(o)}}return this.each(function(){var c="hidden";if(b.activation=="hover")var d="mouseenter click";else var d=b.activation;a(this).bind(d,function(){var f=this;e.stop();b.enter.call(f);var d=a.extend({},a(f).offset(),{width:f.offsetWidth,height:f.offsetHeight});e.get(0).className="ishare_ishare";e.remove().css({top:0,left:0,visibility:c,display:"block"}).appendTo(document.body);var h=e[0].offsetWidth,g=e[0].offsetHeight,i=typeof b.position=="function"?b.position.call(f):b.position;switch(i){case"bottom":e.css({top:d.top+d.height+b.edgeOffset,left:d.left+d.width/2-h/2}).addClass("ishare_bottom");break;case"top":e.css({top:d.top-g-b.edgeOffset,left:d.left+d.width/2-h/2}).addClass("ishare_top");break;case"left":e.css({top:d.top+d.height/2-g/2,left:d.left-h-b.edgeOffset}).addClass("ishare_right");break;case"right":e.css({top:d.top+d.height/2-g/2,left:d.left+d.width+b.edgeOffset}).addClass("ishare_left")}e.css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:1},b.fadeIn)});a(this).bind("mouseleave",function(){var f="none",h=this;if(!b.keepAlive)var g=setTimeout(function(){b.exit.call(this);e.animate({opacity:0},b.fadeOut,function(){e.css({display:f,visibility:c})})},b.fadeOut_delay);e.hover(function(){!b.keepAlive&&clearTimeout(g)},function(){var a=setTimeout(function(){b.exit.call(this);e.animate({opacity:0},b.fadeOut,function(){e.css({display:f,visibility:c})})},b.fadeOut_delay)});a("#ishare_close").click(function(){b.exit.call(this);e.animate({opacity:0},b.fadeOut,function(){e.css({display:f,visibility:c})})});a(this).bind(d,function(){!b.keepAlive&&clearTimeout(g)})})});function h(a){return!a?c:a.replace(/\s/g,"%20").replace("+","%2B").replace("/%20/g","+").replace("*","%2A").replace("/","%2F").replace("@","%40")}function t(){return b.sharetitle?b.sharetitle:document.title}function m(){return b.shareurl?b.shareurl:document.location.href}var k=c;function s(){if(k===c){metaCollection=document.getElementsByTagName("meta");for(i=0;i<metaCollection.length;i++){nameAttribute=metaCollection[i].name.search(/keywords/);if(nameAttribute!=-1){k=metaCollection[i].content;return k}}}else return k}var j=c;function r(){if(j===c){metaCollection=document.getElementsByTagName("meta");for(i=0;i<metaCollection.length;i++){nameAttribute=metaCollection[i].name.search(/description/);if(nameAttribute!=-1){j=metaCollection[i].content;return j}}}else return j}}})(jQuery);(function(a){var g="hover",e=false,h="function",b="tipsy",c="string",f="original-title",d="title";function i(a){(a.attr(d)||typeof a.attr(f)!=c)&&a.attr(f,a.attr(d)||"").removeAttr(d)}function j(c,d){var b=this;b.$element=a(c);b.options=d;b.enabled=true;i(b.$element)}j.prototype={show:function(){var d=this,l=d.getTitle();if(l&&d.enabled){var f=d.tip();f.find(".tipsy-inner").empty()[typeof l==c?d.options.html?"html":"text":"append"](l);f[0].className=b;f.remove().css({top:0,left:0,visibility:"hidden",display:"block"}).appendTo(document.body);var e=a.extend({},d.$element.offset(),{width:d.$element[0].offsetWidth,height:d.$element[0].offsetHeight}),i=f[0].offsetWidth,k=f[0].offsetHeight,j=typeof d.options.gravity==h?d.options.gravity.call(d.$element[0]):d.options.gravity,g;switch(j.charAt(0)){case"n":g={top:e.top+e.height+d.options.offset,left:e.left+e.width/2-i/2};break;case"s":g={top:e.top-k-d.options.offset,left:e.left+e.width/2-i/2};break;case"e":g={top:e.top+e.height/2-k/2,left:e.left-i-d.options.offset};break;case"w":g={top:e.top+e.height/2-k/2,left:e.left+e.width+d.options.offset}}if(j.length==2)if(j.charAt(1)=="w")g.left=e.left+e.width/2-15;else g.left=e.left+e.width/2-i+15;f.css(g).addClass("tipsy-"+j);if(d.options.fade)f.stop().css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:d.options.opacity});else f.css({visibility:"visible",opacity:d.options.opacity})}},hide:function(){if(this.options.fade)this.tip().stop().fadeOut(function(){a(this).remove()});else this.tip().remove()},getTitle:function(){var a,e=this.$element,b=this.options;i(e);var a,b=this.options;if(typeof b.title==c)a=e.attr(b.title==d?f:b.title);else if(typeof b.title==h)a=b.title.call(e[0]);if(typeof a==c)a=(""+a).replace(/(^\s*|\s*$)/,"");return a||b.fallback},tip:function(){if(!this.$tip)this.$tip=a('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"/></div>');return this.$tip},validate:function(){!this.$element[0].parentNode&&this.hide()},enable:function(){this.enabled=true},disable:function(){this.enabled=e},toggleEnabled:function(){this.enabled=!this.enabled}};a.fn.tipsy=function(d){var e=this;if(d===true)return e.data(b);else if(typeof d==c)return e.data(b)[d]();d=a.extend({},a.fn.tipsy.defaults,d);function f(e){var c=a.data(e,b);if(!c){c=new j(e,a.fn.tipsy.elementOptions(e,d));a.data(e,b,c)}return c}function l(){var a=f(this);a.hoverState="in";if(d.delayIn==0)a.show();else setTimeout(function(){a.hoverState=="in"&&a.show()},d.delayIn)}function m(){var a=f(this);a.hoverState="out";if(d.delayOut==0)a.hide();else setTimeout(function(){a.hoverState=="out"&&a.hide()},d.delayOut)}!d.live&&e.each(function(){f(this)});if(d.trigger!="manual"){var h=d.live?"live":"bind",k=d.trigger==g?"mouseenter":"focus",i=d.trigger==g?"mouseleave":"blur";e[h](k,l)[h](i,m)}return e};a.fn.tipsy.defaults={delayIn:0,delayOut:0,fade:e,fallback:"",gravity:"n",html:e,live:e,offset:0,opacity:.8,title:d,trigger:g};a.fn.tipsy.elementOptions=function(c,b){return a.metadata?a.extend({},b,a(c).metadata()):b};a.fn.tipsy.autoNS=function(){return a(this).offset().top>a(document).scrollTop()+a(window).height()/2?"s":"n"};a.fn.tipsy.autoWE=function(){return a(this).offset().left>a(document).scrollLeft()+a(window).width()/2?"e":"w"};a.fn.tipsy.autoBounds=function(b,c){return function(){var f=this,d={ns:c[0],ew:c.length>1?c[1]:e};bound_top=a(document).scrollTop()+b;bound_left=a(document).scrollLeft()+b;if(a(f).offset().top<bound_top)d.ns="n";if(a(f).offset().left<bound_left)d.ew="w";if(a(window).width()+a(document).scrollLeft()-a(f).offset().left<b)d.ew="e";if(a(window).height()+a(document).scrollTop()-a(f).offset().top<b)d.ns="s";return d.ns+(d.ew?d.ew:"")}}})(jQuery);(function(a){a.fn.gMap=function(c){if(!window.GBrowserIsCompatible||!GBrowserIsCompatible())return this;var b=a.extend({},a.fn.gMap.defaults,c);return this.each(function(){$gmap=new GMap2(this);$geocoder=new GClientGeocoder;if(b.address)$geocoder.getLatLng(b.address,function(a){$gmap.setCenter(a,b.zoom)});else if(b.latitude&&b.longitude)$gmap.setCenter(new GLatLng(b.latitude,b.longitude),b.zoom);else if(a.isArray(b.markers)&&b.markers.length>0)if(b.markers[0].address)$geocoder.getLatLng(b.markers[0].address,function(a){$gmap.setCenter(a,b.zoom)});else $gmap.setCenter(new GLatLng(b.markers[0].latitude,b.markers[0].longitude),b.zoom);else $gmap.setCenter(new GLatLng(34.885931,9.84375),b.zoom);$gmap.setMapType(b.maptype);if(b.controls.length==0)$gmap.setUIToDefault();else for(var c=0;c<b.controls.length;c++)eval("$gmap.addControl(new "+b.controls[c]+"());");b.scrollwheel==true&&b.controls.length!=0&&$gmap.enableScrollWheelZoom();for(var d=0;d<b.markers.length;d++){marker=b.markers[d];gicon=new GIcon;gicon.image=b.icon.image;gicon.shadow=b.icon.shadow;gicon.iconSize=a.isArray(b.icon.iconsize)?new GSize(b.icon.iconsize[0],b.icon.iconsize[1]):b.icon.iconsize;gicon.shadowSize=a.isArray(b.icon.shadowsize)?new GSize(b.icon.shadowsize[0],b.icon.shadowsize[1]):b.icon.shadowsize;gicon.iconAnchor=a.isArray(b.icon.iconanchor)?new GPoint(b.icon.iconanchor[0],b.icon.iconanchor[1]):b.icon.iconanchor;gicon.infoWindowAnchor=a.isArray(b.icon.infowindowanchor)?new GPoint(b.icon.infowindowanchor[0],b.icon.infowindowanchor[1]):b.icon.infowindowanchor;if(marker.icon){gicon.image=marker.icon.image;gicon.shadow=marker.icon.shadow;gicon.iconSize=a.isArray(marker.icon.iconsize)?new GSize(marker.icon.iconsize[0],marker.icon.iconsize[1]):marker.icon.iconsize;gicon.shadowSize=a.isArray(marker.icon.shadowsize)?new GSize(marker.icon.shadowsize[0],marker.icon.shadowsize[1]):marker.icon.shadowsize;gicon.iconAnchor=a.isArray(marker.icon.iconanchor)?new GPoint(marker.icon.iconanchor[0],marker.icon.iconanchor[1]):marker.icon.iconanchor;gicon.infoWindowAnchor=a.isArray(marker.icon.infowindowanchor)?new GPoint(marker.icon.infowindowanchor[0],marker.icon.infowindowanchor[1]):marker.icon.infowindowanchor}if(marker.address){if(marker.html=="_address")marker.html=marker.address;$geocoder.getLatLng(marker.address,function(c,a){return function(d){gmarker=new GMarker(d,c);a.html&&gmarker.bindInfoWindowHtml(b.html_prepend+a.html+b.html_append);a.html&&a.popup&&gmarker.openInfoWindowHtml(b.html_prepend+a.html+b.html_append);gmarker&&$gmap.addOverlay(gmarker)}}(gicon,marker))}else{if(marker.html=="_latlng")marker.html=marker.latitude+", "+marker.longitude;gmarker=new GMarker(new GPoint(marker.longitude,marker.latitude),gicon);marker.html&&gmarker.bindInfoWindowHtml(b.html_prepend+marker.html+b.html_append);marker.html&&marker.popup&&gmarker.openInfoWindowHtml(b.html_prepend+marker.html+b.html_append);gmarker&&$gmap.addOverlay(gmarker)}}})};var b="";try{a.fn.gMap.defaults={address:"",latitude:0,longitude:0,zoom:1,markers:[],controls:[],scrollwheel:true,maptype:b,html_prepend:'<div class="gmap_marker">',html_append:"</div>",icon:{image:"http://www.google.com/mapfiles/marker.png",shadow:"http://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],infowindowanchor:[9,2]}}}catch(c){}})(jQuery);
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (MIT_LICENSE.txt)
 * and GPL Version 2 (GPL_LICENSE.txt) licenses.
 *
 * Version: 1.1.1
 * Requires jQuery 1.3+
 * Docs: http://docs.jquery.com/Plugins/livequery
 */
(function(a){var b=false;a.extend(a.fn,{livequery:function(c,d,g){var f=this,h=f,e;if(a.isFunction(c))g=d,d=c,c=undefined;a.each(a.livequery.queries,function(f,a){if(h.selector==a.selector&&h.context==a.context&&c==a.type&&(!d||d.$lqguid==a.fn.$lqguid)&&(!g||g.$lqguid==a.fn2.$lqguid))return(e=a)&&b});e=e||new a.livequery(f.selector,f.context,c,d,g);e.stopped=b;e.run();return f},expire:function(b,c,d){var e=this;if(a.isFunction(b))d=c,c=b,b=undefined;a.each(a.livequery.queries,function(g,f){e.selector==f.selector&&e.context==f.context&&(!b||b==f.type)&&(!c||c.$lqguid==f.fn.$lqguid)&&(!d||d.$lqguid==f.fn2.$lqguid)&&!this.stopped&&a.livequery.stop(f.id)});return this}});a.livequery=function(f,g,h,e,d){var c=this;c.selector=f;c.context=g;c.type=h;c.fn=e;c.fn2=d;c.elements=[];c.stopped=b;c.id=a.livequery.queries.push(c)-1;e.$lqguid=e.$lqguid||a.livequery.guid++;if(d)d.$lqguid=d.$lqguid||a.livequery.guid++;return c};a.livequery.prototype={stop:function(){var a=this,b=a;if(a.type)a.elements.unbind(a.type,a.fn);else a.fn2&&a.elements.each(function(c,a){b.fn2.apply(a)});a.elements=[];a.stopped=true},run:function(){var b=this;if(b.stopped)return;var d=b,c=b.elements,e=a(b.selector,b.context),f=e.not(c);b.elements=e;if(b.type){f.bind(b.type,b.fn);c.length>0&&a.each(c,function(c,b){a.inArray(b,e)<0&&a.event.remove(b,d.type,d.fn)})}else{f.each(function(){d.fn.apply(this)});b.fn2&&c.length>0&&a.each(c,function(c,b){a.inArray(b,e)<0&&d.fn2.apply(b)})}}};a.extend(a.livequery,{guid:0,queries:[],queue:[],running:b,timeout:null,checkQueue:function(){if(a.livequery.running&&a.livequery.queue.length){var b=a.livequery.queue.length;while(b--)a.livequery.queries[a.livequery.queue.shift()].run()}},pause:function(){a.livequery.running=b},play:function(){a.livequery.running=true;a.livequery.run()},registerPlugin:function(){a.each(arguments,function(d,b){if(!a.fn[b])return;var c=a.fn[b];a.fn[b]=function(){var b=c.apply(this,arguments);a.livequery.run();return b}})},run:function(b){if(b!=undefined)a.inArray(b,a.livequery.queue)<0&&a.livequery.queue.push(b);else a.each(a.livequery.queries,function(b){a.inArray(b,a.livequery.queue)<0&&a.livequery.queue.push(b)});a.livequery.timeout&&clearTimeout(a.livequery.timeout);a.livequery.timeout=setTimeout(a.livequery.checkQueue,20)},stop:function(b){if(b!=undefined)a.livequery.queries[b].stop();else a.each(a.livequery.queries,function(b){a.livequery.queries[b].stop()})}});a.livequery.registerPlugin("append","prepend","after","before","wrap","attr","removeAttr","addClass","removeClass","toggleClass","empty","remove","html");a(function(){a.livequery.play()})})(jQuery);(function(a,E,V){var P="flip",kb="centercenter",Z=1e10,jb="tooltipshow",y="]",x="[",O="content.text",pb="undefined",N="inherit",db="boolean",t="width",w="height",m="bottom",e="top",j="y",d="center",o="x",l="right",g="left",s="shift",H="none",U="tooltipmove",ib="tooltipfocus",hb="overflow",gb=":animated",fb="dimensions",Y="render",u="qtip",G="tooltip",K="scroll",I="resize",r="mousemove",F="number",cb="mouseleave",T=" mouseleave",D="mouseenter",f=10,p=" ",n=":visible",M="block",C="<div />",b="",X=".qtip-",J="hide",W="show",L="position",A="title",v="string",h="object";"use strict";var i=true,c=false,q=null,z,k,S,qb={},B="ui-tooltip",rb="ui-widget",Q="ui-state-disabled",R="div.qtip."+B,sb=B+"-default",ab=B+"-focus",ub=B+"-hover",eb=B+"-fluid",Bb="-31000px",nb="_replacedByqTip",bb="oldtitle",ob;function lb(){lb.history=lb.history||[];lb.history.push(arguments);if(h===typeof console){var b=console[console.warn?"warn":"log"],a=Array.prototype.slice.call(arguments),c;if(typeof arguments[0]===v)a[0]="qTip2: "+a[0];c=b.apply?b.apply(console,a):b(a)}}function mb(b){var d;if(!b||h!==typeof b)return c;if(b.metadata===q||h!==typeof b.metadata)b.metadata={type:b.metadata};if("content"in b){if(b.content===q||h!==typeof b.content||b.content.jquery)b.content={text:b.content};d=b.content.text||c;if(!a.isFunction(d)&&(!d&&!d.attr||d.length<1||h===typeof d&&!d.jquery))b.content.text=c;if(A in b.content){if(b.content.title===q||h!==typeof b.content.title)b.content.title={text:b.content.title};d=b.content.title.text||c;if(!a.isFunction(d)&&(!d&&!d.attr||d.length<1||h===typeof d&&!d.jquery))b.content.title.text=c}}if(L in b)if(b.position===q||h!==typeof b.position)b.position={my:b.position,at:b.position};if(W in b)if(b.show===q||h!==typeof b.show)if(b.show.jquery)b.show={target:b.show};else b.show={event:b.show};if(J in b)if(b.hide===q||h!==typeof b.hide)if(b.hide.jquery)b.hide={target:b.hide};else b.hide={event:b.hide};if("style"in b)if(b.style===q||h!==typeof b.style)b.style={classes:b.style};a.each(k,function(){this.sanitize&&this.sanitize(b)});return b}function zb(nb,N,yb,Nb){var Ab="aria-describedby",zb=" qtip ui-helper-reset ",lb="-inactive",pb="qtip-",Z="mouse",xb="mouseover",tb="-title",kb="-content",x=this,Mb=document.body,Bb=B+"-"+yb,wb=0,vb=0,y=a(),jb=X+yb,O,P;x.id=yb;x.rendered=c;x.elements=O={target:nb};x.timers={img:{}};x.options=N;x.checks={};x.plugins={};x.cache=P={event:{},target:a(),disabled:c,attr:Nb,onTarget:c};function Gb(e){var d=0,c,b=N,a=e.split(".");while(b=b[a[d++]])if(d<a.length)c=b;return[c||N,a.pop()]}function Kb(){var a=N.style.widget;y.toggleClass(rb,a).toggleClass(sb,N.style["default"]&&!a);O.content.toggleClass(rb+kb,a);O.titlebar&&O.titlebar.toggleClass(rb+"-header",a);O.button&&O.button.toggleClass(B+"-icon",!a)}function Eb(a){if(O.title){O.titlebar.remove();O.titlebar=O.title=O.button=q;a!==c&&x.reposition()}}function Jb(){var d=N.content.title.button,f=typeof d===v,e=f?d:"Close tooltip";O.button&&O.button.remove();if(d.jquery)O.button=d;else O.button=a("<a />",{"class":"ui-state-default ui-tooltip-close "+(N.style.widget?b:B+"-icon"),title:e,"aria-label":e}).prepend(a("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"}));O.button.appendTo(O.titlebar).attr("role","button").click(function(a){!y.hasClass(Q)&&x.hide(a);return c});x.redraw()}function Db(){var c=".ui-tooltip-close",d=Bb+tb;O.titlebar&&Eb();O.titlebar=a(C,{"class":B+"-titlebar "+(N.style.widget?"ui-widget-header":b)}).append(O.title=a(C,{id:d,"class":B+tb,"aria-atomic":i})).insertBefore(O.content).delegate(c,"mousedown keydown mouseup keyup mouseout",function(b){a(this).toggleClass("ui-state-active ui-state-focus",b.type.substr(-4)==="down")}).delegate(c,"mouseover mouseout",function(b){a(this).toggleClass("ui-state-hover",b.type===xb)});if(N.content.title.button)Jb();else x.rendered&&x.redraw()}function Lb(a){var d=O.button,b=O.title;if(!x.rendered)return c;if(!a)d.remove();else{!b&&Db();Jb()}}function Fb(b,e){var d=O.title;if(!x.rendered||!b)return c;if(a.isFunction(b))b=b.call(nb,P.event,x);if(b===c)return Eb(c);else if(b.jquery&&b.length>0)d.empty().append(b.css({display:M}));else d.html(b);x.redraw();e!==c&&x.rendered&&y.is(n)&&x.reposition(P.event)}function Cb(d,g){var e=O.content;if(!x.rendered||!d)return c;if(a.isFunction(d))d=d.call(nb,P.event,x)||b;if(d.jquery&&d.length>0)e.empty().append(d.css({display:M}));else e.html(d);function f(h){var f,b={};function d(d){if(d){delete b[d.src];clearTimeout(x.timers.img[d.src]);a(d).unbind(jb)}if(a.isEmptyObject(b)){x.redraw();g!==c&&x.reposition(P.event);h()}}if((f=e.find("img:not([height]):not([width])")).length===0)return d();f.each(function(h,c){if(b[c.src]!==V)return;var e=0,f=3;(function g(){if(c.height||c.width||e>f)return d(c);e+=1;x.timers.img[c.src]=setTimeout(g,700)})();a(c).bind("error"+jb+" load"+jb,function(){d(this)});b[c.src]=c})}if(x.rendered<0)y.queue("fx",f);else{vb=0;f(a.noop)}return x}function Ib(){var e=N.position,d={show:N.show.target,hide:N.hide.target,viewport:a(e.viewport),document:a(document),body:a(document.body),window:a(E)},g={show:a.trim(b+N.show.event).split(p),hide:a.trim(b+N.hide.event).split(p)},m=a.browser.msie&&parseInt(a.browser.version,f)===6;function l(b){if(y.hasClass(Q))return c;clearTimeout(x.timers.show);clearTimeout(x.timers.hide);var a=function(){x.toggle(i,b)};if(N.show.delay>0)x.timers.show=setTimeout(a,N.show.delay);else a()}function k(b){if(y.hasClass(Q)||wb||vb)return c;var f=a(b.relatedTarget||b.target),g=f.closest(R)[0]===y[0],h=f[0]===d.show[0];clearTimeout(x.timers.show);clearTimeout(x.timers.hide);if(e.target===Z&&g||N.hide.fixed&&/mouse(out|leave|move)/.test(b.type)&&(g||h)){try{b.preventDefault();b.stopImmediatePropagation()}catch(i){}return}if(N.hide.delay>0)x.timers.hide=setTimeout(function(){x.hide(b)},N.hide.delay);else x.hide(b)}function j(a){if(y.hasClass(Q))return c;clearTimeout(x.timers.inactive);x.timers.inactive=setTimeout(function(){x.hide(a)},N.hide.inactive)}function h(a){y.is(n)&&x.reposition(a)}y.bind(D+jb+T+jb,function(a){var b=a.type===D;b&&x.focus(a);y.toggleClass(ub,b)});if(N.hide.fixed){d.hide=d.hide.add(y);y.bind(xb+jb,function(){!y.hasClass(Q)&&clearTimeout(x.timers.hide)})}if(/mouse(out|leave)/i.test(N.hide.event))N.hide.leave==="window"&&d.window.bind("mouseout"+jb+" blur"+jb,function(a){/select|option/.test(a.target)&&!a.relatedTarget&&x.hide(a)});else/mouse(over|enter)/i.test(N.show.event)&&d.hide.bind(cb+jb,function(){clearTimeout(x.timers.show)});(b+N.hide.event).indexOf("unfocus")>-1&&d.body.bind("mousedown"+jb,function(c){var b=a(c.target),d=!y.hasClass(Q)&&y.is(n);b[0]!==y[0]&&b.parents(R).length===0&&b.add(nb).length>1&&!b.attr("disabled")&&x.hide(c)});if(F===typeof N.hide.inactive){d.show.bind(pb+yb+lb,j);a.each(z.inactiveEvents,function(b,a){d.hide.add(O.tooltip).bind(a+jb+lb,j)})}a.each(g.hide,function(f,b){var e=a.inArray(b,g.show),c=a(d.hide);if(e>-1&&c.add(d.show).length===c.length||b==="unfocus"){d.show.bind(b+jb,function(a){if(y.is(n))k(a);else l(a)});delete g.show[e]}else d.hide.bind(b+jb,k)});a.each(g.show,function(b,a){d.show.bind(a+jb,l)});F===typeof N.hide.distance&&d.show.add(y).bind(r+jb,function(a){var b=P.origin||{},c=N.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&x.hide(a)});if(e.target===Z){d.show.bind(r+jb,function(a){S={pageX:a.pageX,pageY:a.pageY,type:r}});if(e.adjust.mouse){if(N.hide.event){y.bind(cb+jb,function(a){(a.relatedTarget||a.target)!==d.show[0]&&x.hide(a)});O.target.bind(D+jb+T+jb,function(a){P.onTarget=a.type===D})}d.document.bind(r+jb,function(a){P.onTarget&&!y.hasClass(Q)&&y.is(n)&&x.reposition(a||S)})}}(e.adjust.resize||d.viewport.length)&&(a.event.special.resize?d.viewport:d.window).bind(I+jb,h);(d.viewport.length||m&&y.css(L)==="fixed")&&d.viewport.bind(K+jb,h)}function Hb(){var b=[N.show.target[0],N.hide.target[0],x.rendered&&O.tooltip[0],N.position.container[0],N.position.viewport[0],E,document];if(x.rendered)a([]).pushStack(a.grep(b,function(a){return typeof a===h})).unbind(jb);else N.show.target.unbind(jb+"-create")}x.checks.builtin={"^id$":function(f,g,e){var d=e===i?z.nextid:e,b=B+"-"+d;if(d!==c&&d.length>0&&!a("#"+b).length){y[0].id=b;O.content[0].id=b+kb;O.title[0].id=b+tb}},"^content.text$":function(b,c,a){Cb(a)},"^content.title.text$":function(b,c,a){if(!a)return Eb();!O.title&&a&&Db();Fb(a)},"^content.title.button$":function(b,c,a){Lb(a)},"^position.(my|at)$":function(b,c,a){if(v===typeof a)b[c]=new k.Corner(a)},"^position.container$":function(b,c,a){x.rendered&&y.appendTo(a)},"^show.ready$":function(){if(!x.rendered)x.render(1);else x.toggle(i)},"^style.classes$":function(b,c,a){y.attr("class",B+zb+a)},"^style.widget|content.title":Kb,"^events.(render|show|move|hide|focus|blur)$":function(e,d,c){y[(a.isFunction(c)?b:"un")+"bind"](G+d,c)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var a=N.position;y.attr("tracking",a.target===Z&&a.adjust.mouse);Hb();Ib()}};a.extend(x,{render:function(h){if(x.rendered)return x;var g=N.content.text,d=N.content.title.text,e=N.position,f=a.Event("tooltiprender");a.attr(nb[0],Ab,Bb);y=O.tooltip=a("<div/>",{id:Bb,"class":B+zb+sb+p+N.style.classes+p+B+"-pos-"+N.position.my.abbrev(),width:N.style.width||b,height:N.style.height||b,tracking:e.target===Z&&e.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":c,"aria-describedby":Bb+kb,"aria-hidden":i}).toggleClass(Q,P.disabled).data(u,x).appendTo(N.position.container).append(O.content=a(C,{"class":B+kb,id:Bb+kb,"aria-atomic":i}));x.rendered=-1;vb=1;wb=1;if(d){Db();!a.isFunction(d)&&Fb(d,c)}!a.isFunction(g)&&Cb(g,c);x.rendered=i;Kb();a.each(N.events,function(c,b){a.isFunction(b)&&y.bind(c==="toggle"?"tooltipshow tooltiphide":G+c,b)});a.each(k,function(){this.initialize===Y&&this(x)});Ib();y.queue("fx",function(a){f.originalEvent=P.event;y.trigger(f,[x]);vb=0;wb=0;x.redraw();(N.show.ready||h)&&x.toggle(i,P.event,c);a()});return x},"get":function(c){var a,b;switch(c.toLowerCase()){case fb:a={height:y.outerHeight(),width:y.outerWidth()};break;case"offset":a=k.offset(y,N.position.container);break;default:b=Gb(c.toLowerCase());a=b[0][b[1]];a=a.precedance?a.string():a}return a},"set":function(b,m){var l=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,k=/^content\.(title|attr)|style/i,d=c,f=c,e=x.checks,g;function j(f,d){var a,b,c;for(a in e)for(b in e[a])if(c=new RegExp(b,"i").exec(f)){d.push(c);e[a][b].apply(x,d)}}if(v===typeof b){g=b;b={};b[g]=m}else b=a.extend(i,{},b);a.each(b,function(g,e){var c=Gb(g.toLowerCase()),i;i=c[0][c[1]];c[0][c[1]]=h===typeof e&&e.nodeType?a(e):e;b[g]=[c[0],c[1],e,i];d=l.test(g)||d;f=k.test(g)||f});mb(N);wb=vb=1;a.each(b,j);wb=vb=0;if(y.is(n)&&x.rendered){d&&x.reposition(N.position.target===Z?q:P.event);f&&x.redraw()}return x},toggle:function(e,d){var h="mousemove.qtip";if(!x.rendered)return e?x.render(1):x;var k=e?W:J,f=N[k],p=y.is(n),o=!d||N[k].target.length<2||P.target[0]===d.target,m=N.position,j=N.content,s,g;if((typeof e).search("boolean|number"))e=!p;if(!y.is(gb)&&p===e&&o)return x;if(d){if(/over|enter/.test(d.type)&&/out|leave/.test(P.event.type)&&d.target===N.show.target[0]&&y.has(d.relatedTarget).length)return x;P.event=a.extend({},d)}g=a.Event(G+k);g.originalEvent=d?P.event:q;y.trigger(g,[x,90]);if(g.isDefaultPrevented())return x;a.attr(y[0],"aria-hidden",!!!e);if(e){P.origin=a.extend({},S);x.focus(d);a.isFunction(j.text)&&Cb(j.text,c);a.isFunction(j.title.text)&&Fb(j.title.text,c);if(!ob&&m.target===Z&&m.adjust.mouse){a(document).bind(h,function(a){S={pageX:a.pageX,pageY:a.pageY,type:r}});ob=i}x.reposition(d,arguments[2]);(g.solo=!!f.solo)&&a(R,f.solo).not(y).qtip(J,g)}else{clearTimeout(x.timers.show);delete P.origin;if(ob&&!a(R+'[tracking="true"]:visible',f.solo).not(y).length){a(document).unbind(h);ob=c}x.blur(d)}function l(){if(e){a.browser.msie&&y[0].style.removeAttribute("filter");y.css(hb,b);v===typeof f.autofocus&&a(f.autofocus,y).focus();g=a.Event("tooltipvisible");g.originalEvent=d?P.event:q;y.trigger(g,[x]);f.target.trigger(pb+yb+lb)}else y.css({display:b,visibility:b,opacity:b,left:b,top:b})}o&&y.stop(0,1);if(f.effect===c){y[k]();l.call(y)}else if(a.isFunction(f.effect)){f.effect.call(y,x);y.queue("fx",function(a){l();a()})}else y.fadeTo(90,e?1:0,l);e&&f.target.trigger(pb+yb+lb);return x},show:function(a){return x.toggle(i,a)},hide:function(a){return x.toggle(c,a)},focus:function(h){if(!x.rendered)return x;var d=a(R),g=parseInt(y[0].style.zIndex,f),c=z.zindex+d.length,e=a.extend({},h),i,b;if(!y.hasClass(ab)){b=a.Event(ib);b.originalEvent=e;y.trigger(b,[x,c]);if(!b.isDefaultPrevented()){if(g!==c){d.each(function(){if(this.style.zIndex>g)this.style.zIndex=this.style.zIndex-1});d.filter("."+ab).qtip("blur",e)}y.addClass(ab)[0].style.zIndex=c}}return x},blur:function(d){var c=a.extend({},d),b;y.removeClass(ab);b=a.Event("tooltipblur");b.originalEvent=c;y.trigger(b,[x]);return x},reposition:function(q,V){if(!x.rendered||wb)return x;wb=1;var h=N.position.target,A=N.position,n=A.my,v=A.at,D=A.adjust,M=D.method.split(p),G=y.outerWidth(),F=y.outerHeight(),z=0,w=0,R=a.Event(U),Q=y.css(L)==="fixed",i=A.viewport,f={left:0,top:0},u=A.container,J=c,t=x.plugins.tip,C={horizontal:M[0],vertical:M[1]=M[1]||M[0],enabled:i.jquery&&h[0]!==E&&h[0]!==Mb&&D.method!==H,left:function(a){var q=C.horizontal===s,k=-u.offset.left+i.offset.left+i.scrollLeft,r=n.x===g?G:n.x===l?-G:-G/2,w=v.x===g?z:v.x===l?-z:-z/2,p=t&&t.size?t.size.width||0:0,e=t&&t.corner&&t.corner.precedance===o&&!q?p:0,h=k-a+e,c=a+G-i.width-k+e,b=r-(n.precedance===o||n.x===n.y?w:0),m=n.x===d;if(q){e=t&&t.corner&&t.corner.precedance===j?p:0;b=(n.x===g?1:-1)*r-e;f.left+=h>0?h:c>0?-c:0;f.left=Math.max(-u.offset.left+i.offset.left+(e&&t.corner.x===d?t.offset:0),a-b,Math.min(Math.max(-u.offset.left+i.offset.left+i.width,a+b),f.left))}else{if(h>0&&(n.x!==g||c>0))f.left-=b;else if(c>0&&(n.x!==l||h>0))f.left-=m?-b:b;if(f.left!==a&&m)f.left-=D.x;if(f.left<k&&-f.left>c)f.left=a}return f.left-a},top:function(a){var r=C.vertical===s,k=-u.offset.top+i.offset.top+i.scrollTop,q=n.y===e?F:n.y===m?-F:-F/2,x=v.y===e?w:v.y===m?-w:-w/2,l=t&&t.size?t.size.height||0:0,g=t&&t.corner&&t.corner.precedance===j&&!r?l:0,h=k-a+g,c=a+F-i.height-k+g,b=q-(n.precedance===j||n.x===n.y?x:0),p=n.y===d;if(r){g=t&&t.corner&&t.corner.precedance===o?l:0;b=(n.y===e?1:-1)*q-g;f.top+=h>0?h:c>0?-c:0;f.top=Math.max(-u.offset.top+i.offset.top+(g&&t.corner.x===d?t.offset:0),a-b,Math.min(Math.max(-u.offset.top+i.offset.top+i.height,a+b),f.top))}else{if(h>0&&(n.y!==e||c>0))f.top-=b;else if(c>0&&(n.y!==m||h>0))f.top-=p?-b:b;if(f.top!==a&&p)f.top-=D.y;if(f.top<0&&-f.top>c)f.top=a}return f.top-a}},T;if(a.isArray(h)&&h.length===2){v={x:g,y:e};f={left:h[0],top:h[1]}}else if(h===Z&&(q&&q.pageX||P.event.pageX)){v={x:g,y:e};q=(q&&(q.type===I||q.type===K)?P.event:q&&q.pageX&&q.type===r?q:S&&S.pageX&&(D.mouse||!q||!q.pageX)?{pageX:S.pageX,pageY:S.pageY}:!D.mouse&&P.origin&&P.origin.pageX?P.origin:q)||q||P.event||S||{};f={top:q.pageY,left:q.pageX}}else{if(h==="event")if(q&&q.target&&q.type!==K&&q.type!==I)h=P.target=a(q.target);else h=P.target;else h=P.target=a(h.nodeType?h:O.target);h=a(h).eq(0);if(h.length===0)return x;else if(h[0]===document||h[0]===E){z=k.iOS?E.innerWidth:h.width();w=k.iOS?E.innerHeight:h.height();if(h[0]===E)f={top:Q||k.iOS?(i||h).scrollTop():0,left:Q||k.iOS?(i||h).scrollLeft():0}}else if(h.is("area")&&k.imagemap)f=k.imagemap(h,v,C.enabled?M:c);else if(h[0].namespaceURI==="http://www.w3.org/2000/svg"&&k.svg)f=k.svg(h,v);else{z=h.outerWidth();w=h.outerHeight();f=k.offset(h,u)}if(f.offset){z=f.width;w=f.height;J=f.flipoffset;f=f.offset}if(k.iOS<4.1&&k.iOS>3.1||k.iOS==4.3||!k.iOS&&Q){T=a(E);f.left-=T.scrollLeft();f.top-=T.scrollTop()}f.left+=v.x===l?z:v.x===d?z/2:0;f.top+=v.y===m?w:v.y===d?w/2:0}f.left+=D.x+(n.x===l?-G:n.x===d?-G/2:0);f.top+=D.y+(n.y===m?-F:n.y===d?-F/2:0);if(C.enabled){i={elem:i,height:i[(i[0]===E?"h":"outerH")+"eight"](),width:i[(i[0]===E?"w":"outerW")+"idth"](),scrollLeft:Q?0:i.scrollLeft(),scrollTop:Q?0:i.scrollTop(),offset:i.offset()||{left:0,top:0}};u={elem:u,scrollLeft:u.scrollLeft(),scrollTop:u.scrollTop(),offset:u.offset()||{left:0,top:0}};f.adjusted={left:C.horizontal!==H?C.left(f.left):0,top:C.vertical!==H?C.top(f.top):0};f.adjusted.left+f.adjusted.top&&y.attr("class",y[0].className.replace(/ui-tooltip-pos-\w+/i,B+"-pos-"+n.abbrev()));if(J&&f.adjusted.left)f.left+=J.left;if(J&&f.adjusted.top)f.top+=J.top}else f.adjusted={left:0,top:0};R.originalEvent=a.extend({},q);y.trigger(R,[x,f,i.elem||i]);if(R.isDefaultPrevented())return x;delete f.adjusted;if(V===c||isNaN(f.left)||isNaN(f.top)||h===Z||!a.isFunction(A.effect))y.css(f);else if(a.isFunction(A.effect)){A.effect.call(y,x,a.extend({},f));y.queue(function(c){a(this).css({opacity:b,height:b});a.browser.msie&&this.style.removeAttribute("filter");c()})}wb=0;return x},redraw:function(){if(x.rendered<1||vb)return x;var g=N.position.container,e,d,a,c;vb=1;N.style.height&&y.css(w,N.style.height);if(N.style.width)y.css(t,N.style.width);else{y.css(t,b).addClass(eb);d=y.width()+1;a=y.css("max-width")||b;c=y.css("min-width")||b;e=(a+c).indexOf("%")>-1?g.width()/100:0;a=(a.indexOf("%")>-1?e:1)*parseInt(a,f)||d;c=(c.indexOf("%")>-1?e:1)*parseInt(c,f)||0;d=a+c?Math.min(Math.max(d,c),a):d;y.css(t,Math.round(d)).removeClass(eb)}vb=0;return x},disable:function(b){if(db!==typeof b)b=!(y.hasClass(Q)||P.disabled);if(x.rendered){y.toggleClass(Q,b);a.attr(y[0],"aria-disabled",b)}else P.disabled=!!b;return x},enable:function(){return x.disable(c)},destroy:function(){var b=nb[0],d=a.attr(b,bb),c=nb.data(u);if(x.rendered){y.remove();a.each(x.plugins,function(){this.destroy&&this.destroy()})}clearTimeout(x.timers.show);clearTimeout(x.timers.hide);Hb();if(!c||x===c){a.removeData(b,u);if(N.suppress&&d){a.attr(b,A,d);nb.removeAttr(bb)}nb.removeAttr(Ab)}nb.unbind(X+yb);delete qb[x.id];return nb}})}function yb(r,j){var g=this,m,d,l,b,s,e=a(g),p=a(document.body),n=g===document?p:e,o=e.metadata?e.metadata(j.metadata):q,t=j.metadata.type==="html5"&&o?o[j.metadata.name]:q,f=e.data(j.metadata.name||"qtipopts");try{f=typeof f===v?new Function("return "+f)():f}catch(w){lb("Unable to parse HTML5 attribute data: "+f)}b=a.extend(i,{},z.defaults,j,typeof f===h?mb(f):q,mb(t||o));d=b.position;b.id=r;if(db===typeof b.content.text){l=e.attr(b.content.attr);if(b.content.attr!==c&&l)b.content.text=l;else{lb("Unable to locate content for tooltip! Aborting render of tooltip on element: ",e);return c}}if(!d.container.length)d.container=p;if(d.target===c)d.target=n;if(b.show.target===c)b.show.target=n;if(b.show.solo===i)b.show.solo=p;if(b.hide.target===c)b.hide.target=n;if(b.position.viewport===i)b.position.viewport=d.container;d.at=new k.Corner(d.at);d.my=new k.Corner(d.my);if(a.data(g,u))if(b.overwrite)e.qtip("destroy");else if(b.overwrite===c)return c;b.suppress&&(s=a.attr(g,A))&&a(g).removeAttr(A).attr(bb,s);m=new zb(e,b,r,!!l);a.data(g,u,m);e.bind("remove.qtip-"+r,function(){m.destroy()});return m}z=a.fn.qtip=function(g,f,n){var e=this,d=(b+g).toLowerCase(),l=q,m=a.makeArray(arguments).slice(1),j=m[m.length-1],k=e[0]?a.data(e[0],u):q;if(!arguments.length&&k||d==="api")return k;else if(v===typeof g){e.each(function(){var b=a.data(this,u);if(!b)return i;if(j&&j.timeStamp)b.cache.event=j;if((d==="option"||d==="options")&&f)if(a.isPlainObject(f)||n!==V)b.set(f,n);else{l=b.get(f);return c}else b[d]&&b[d].apply(b[d],m)});return l!==q?l:e}else if(h===typeof g||!arguments.length){k=mb(a.extend(i,{},g));return z.bind.call(e,k,j)}};z.bind=function(d,e){return this.each(function(q){var g,n,m,l,f,j;j=a.isArray(d.id)?d.id[q]:d.id;j=!j||j===c||j.length<1||qb[j]?z.nextid++:qb[j]=j;l=X+j+"-create";f=yb.call(this,j,d);if(f===c)return i;g=f.options;a.each(k,function(){this.initialize==="initialize"&&this(f)});n={show:g.show.target,hide:g.hide.target};m={show:a.trim(b+g.show.event).replace(/ /g,l+p)+l,hide:a.trim(b+g.hide.event).replace(/ /g,l+p)+l};if(/mouse(over|enter)/i.test(m.show)&&!/mouse(out|leave)/i.test(m.hide))m.hide+=T+l;n.show.bind(r+l,function(a){S={pageX:a.pageX,pageY:a.pageY,type:r}});function o(b){function d(){f.render(typeof b===h||g.show.ready);n.show.add(n.hide).unbind(l)}if(f.cache.disabled)return c;f.cache.event=a.extend({},b);f.cache.target=b?a(b.target):[V];if(g.show.delay>0){clearTimeout(f.timers.show);f.timers.show=setTimeout(d,g.show.delay);m.show!==m.hide&&n.hide.bind(m.hide,function(){clearTimeout(f.timers.show)})}else d()}n.show.bind(m.show,o);(g.show.ready||g.prerender)&&o(e)})};k=z.plugins={Corner:function(a){var c=this;a=(b+a).replace(/([A-Z])/," $1").replace(/middle/gi,d).toLowerCase();c.x=(a.match(/left|right/i)||a.match(/center/)||[N])[0].toLowerCase();c.y=(a.match(/top|bottom|center/i)||[N])[0].toLowerCase();var e=a.charAt(0);c.precedance=e==="t"||e==="b"?j:o;c.string=function(){var a=this;return a.precedance===j?a.y+a.x:a.x+a.y};c.abbrev=function(){var a=this.x.substr(0,1),b=this.y.substr(0,1);return a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b};c.clone=function(){var a=this;return{x:a.x,y:a.y,precedance:a.precedance,string:a.string,abbrev:a.abbrev,clone:a.clone}}},offset:function(l,c){var b=l.offset(),a=c,j=0,i=document.body,h,d;function k(a,c){b.left+=c*a.scrollLeft();b.top+=c*a.scrollTop()}if(a){do{if(a.css(L)!=="static"){h=a[0]===i?{left:parseInt(a.css(g),f)||0,top:parseInt(a.css(e),f)||0}:a.position();b.left-=h.left+(parseInt(a.css("borderLeftWidth"),f)||0)+(parseInt(a.css("marginLeft"),f)||0);b.top-=h.top+(parseInt(a.css("borderTopWidth"),f)||0);d=a.css(hb);if(d===K||d==="auto")j++}if(a[0]===i)break}while(a=a.offsetParent());c[0]!==i&&j&&k(c,1)}return b},iOS:parseFloat((b+(/CPU.*OS ([0-9_]{1,3})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,b])[1]).replace(pb,"3_2").replace("_","."))||c,fn:{attr:function(g,f){var c=this;if(c.length){var e=c[0],d=A,b=a.data(e,u);if(g===d&&b&&h===typeof b&&b.options.suppress)if(arguments.length<2)return a.attr(e,bb);else{b&&b.options.content.attr===d&&b.cache.attr&&b.set(O,f);return c.attr(bb,f)}}return a.fn["attr"+nb].apply(c,arguments)},clone:function(c){var d=a([]),e=A,b=a.fn["clone"+nb].apply(this,arguments);!c&&b.filter(x+bb+y).attr(A,function(){return a.attr(this,bb)}).removeAttr(bb);return b},remove:a.ui?q:function(b,c){if(a.ui)return;a(this).each(function(){if(!c)(!b||a.filter(b,[this]).length)&&a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}};a.each(k.fn,function(b,c){if(!c||a.fn[b+nb])return i;var d=a.fn[b+nb]=a.fn[b];a.fn[b]=function(){return c.apply(this,arguments)||d.apply(this,arguments)}});z.version="2.0.0pre";z.nextid=0;z.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(p);z.zindex=15e3;z.defaults={prerender:c,id:c,overwrite:i,suppress:i,content:{text:i,attr:A,title:{text:c,button:c}},position:{my:"top left",at:"bottom right",target:c,container:c,viewport:c,adjust:{x:0,y:0,mouse:i,resize:i,method:"flip flip"},effect:function(e,b){a(this).animate(b,{duration:200,queue:c})}},show:{target:c,event:D,effect:i,delay:90,solo:c,ready:c,autofocus:c},hide:{target:c,event:cb,effect:i,delay:0,fixed:c,inactive:c,leave:"window",distance:c},style:{classes:b,widget:c,width:c,height:c,"default":i},events:{render:q,move:q,show:q,hide:q,toggle:q,visible:q,focus:q,blur:q}};function xb(f){var e=this,h=f.elements.tooltip,d=f.options.content.ajax,g=".qtip-ajax",j=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,k=i;f.checks.ajax={"^content.ajax":function(c,a,b){if(a==="ajax")d=b;if(a==="once")e.init();else if(d&&d.url)e.load();else h.unbind(g)}};a.extend(e,{init:function(){d&&d.url&&h.unbind(g)[d.once?"one":"bind"](jb+g,e.load);return e},load:function(g,m){var i=d.url.indexOf(p),h=d.url,k,l=d.once&&!d.loading&&m;if(l)try{g.preventDefault()}catch(r){}else if(g&&g.isDefaultPrevented())return e;if(i>-1){k=h.substr(i);h=h.substr(0,i)}function q(){if(l){f.show(g.originalEvent);m=c}a.isFunction(d.complete)&&d.complete.apply(this,arguments)}function n(c){if(k)c=a("<div/>").append(c.replace(j,b)).find(k);f.set(O,c)}function o(c,a,b){if(c.status===0)return;f.set(O,a+": "+b)}a.ajax(a.extend({success:n,error:o,context:f},d,{url:h,complete:q}))}});e.init()}k.ajax=function(a){var b=a.plugins.ajax;return h===typeof b?b:a.plugins.ajax=new xb(a)};k.ajax.initialize=Y;k.ajax.sanitize=function(c){var b=c.content,a;if(b&&"ajax"in b){a=b.ajax;if(typeof a!==h)a=c.content.ajax={url:a};if(db!==typeof a.once&&a.once)a.once=!!a.once}};a.extend(i,z.defaults,{content:{ajax:{loading:i,once:i}}});function vb(d){var h=this,b=d.elements,c=b.tooltip,i=".bgiframe-"+d.id;a.extend(h,{init:function(){b.bgiframe=a('<iframe class="ui-tooltip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';"  style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>');b.bgiframe.appendTo(c);c.bind(U+i,h.adjust)},adjust:function(){var k=d.get(fb),i=d.plugins.tip,j=b.tip,h,a;a=parseInt(c.css("border-left-width"),f)||0;a={left:-a,top:-a};if(i&&j){h=i.corner.precedance===o?[t,g]:[w,e];a[h[1]]-=j[h[0]]()}b.bgiframe.css(a).css(k)},destroy:function(){b.bgiframe.remove();c.unbind(i)}});h.init()}k.bgiframe=function(d){var e=a.browser,f=d.plugins.bgiframe;return a("select, object").length<1||!(e.msie&&(b+e.version).charAt(0)==="6")?c:h===typeof f?f:d.plugins.bgiframe=new vb(d)};k.bgiframe.initialize=Y;k.imagemap=function(i,j,q){if(!i.jquery)i=a(i);var s=(i[0].shape||i.attr("shape")).toLowerCase(),o=(i[0].coords||i.attr("coords")).split(","),c=[],k=a('img[usemap="#'+i.parent("map").attr("name")+'"]'),n=k.offset(),b={width:0,height:0,offset:{top:Z,right:0,bottom:0,left:Z}},p=0,h=0,t;function r(f,h,a){var o=0,b=1,c=1,k=0,n=0,j=f.width,i=f.height;while(j>0&&i>0&&b>0&&c>0){j=Math.floor(j/2);i=Math.floor(i/2);if(a.x===g)b=j;else if(a.x===l)b=f.width-j;else b+=Math.floor(j/2);if(a.y===e)c=i;else if(a.y===m)c=f.height-i;else c+=Math.floor(i/2);o=h.length;while(o--){if(h.length<2)break;k=h[o][0]-f.offset.left;n=h[o][1]-f.offset.top;(a.x===g&&k>=b||a.x===l&&k<=b||a.x===d&&(k<b||k>f.width-b)||a.y===e&&n>=c||a.y===m&&n<=c||a.y===d&&(n<c||n>f.height-c))&&h.splice(o,1)}}return{left:h[0][0],top:h[0][1]}}n.left+=Math.ceil((k.outerWidth()-k.width())/2);n.top+=Math.ceil((k.outerHeight()-k.height())/2);if(s==="poly"){p=o.length;while(p--){h=[parseInt(o[--p],f),parseInt(o[p+1],f)];if(h[0]>b.offset.right)b.offset.right=h[0];if(h[0]<b.offset.left)b.offset.left=h[0];if(h[1]>b.offset.bottom)b.offset.bottom=h[1];if(h[1]<b.offset.top)b.offset.top=h[1];c.push(h)}}else c=a.map(o,function(a){return parseInt(a,f)});switch(s){case"rect":b={width:Math.abs(c[2]-c[0]),height:Math.abs(c[3]-c[1]),offset:{left:Math.min(c[0],c[2]),top:Math.min(c[1],c[3])}};break;case"circle":b={width:c[2]+2,height:c[2]+2,offset:{left:c[0],top:c[1]}};break;case"poly":a.extend(b,{width:Math.abs(b.offset.right-b.offset.left),height:Math.abs(b.offset.bottom-b.offset.top)});if(j.string()===kb)b.offset={left:b.offset.left+b.width/2,top:b.offset.top+b.height/2};else{b.offset=r(b,c.slice(),j);if(q&&(q[0]===P||q[1]===P)){b.flipoffset=r(b,c.slice(),{x:j.x===g?l:j.x===l?g:d,y:j.y===e?m:j.y===m?e:d});b.flipoffset.left-=b.offset.left;b.flipoffset.top-=b.offset.top}}b.width=b.height=0}b.offset.left+=n.left;b.offset.top+=n.top;return b};function wb(p){var j="focusin",g=this,q=p.options.show.modal,m=p.elements,e=m.tooltip,s="#qtip-overlay",h=".qtipmodal",l=h+p.id,o="is-modal-qtip",r=a(document.body),d;p.checks.modal={"^show.modal.(on|blur)$":function(){g.init();m.overlay.toggle(e.is(n))}};a.extend(g,{init:function(){var c="tooltiphide";if(!q.on)return g;d=g.create();e.attr(o,i).css("z-index",k.modal.zindex+a(R+x+o+y).length).unbind(h).unbind(l).bind(jb+h+" tooltiphide"+h,function(f,i,h){var e=f.originalEvent;if(e&&f.type===c&&/mouse(leave|enter)/.test(e.type)&&a(e.relatedTarget).closest(d[0]).length)try{f.preventDefault()}catch(j){}else(!e||e&&!e.solo)&&g[f.type.replace(G,b)](f,h)}).bind(ib+h,function(b){if(b.isDefaultPrevented())return;var c=a(R).filter(x+o+y),g=k.modal.zindex+c.length,h=parseInt(e[0].style.zIndex,f);d[0].style.zIndex=g-1;c.each(function(){if(this.style.zIndex>h)this.style.zIndex-=1});c.end().filter("."+ab).qtip("blur",b.originalEvent);e.addClass(ab)[0].style.zIndex=g;try{b.preventDefault()}catch(i){}}).bind(c+h,function(b){a(x+o+y).filter(n).not(e).last().qtip("focus",b)});q.escape&&a(E).unbind(l).bind("keydown"+l,function(a){a.keyCode===27&&e.hasClass(ab)&&p.hide(a)});q.blur&&m.overlay.unbind(l).bind("click"+l,function(a){e.hasClass(ab)&&p.hide(a)});return g},create:function(){var e=a(s);if(e.length)return m.overlay=e.insertAfter(a(R).last());d=m.overlay=a(C,{id:s.substr(1),html:"<div></div>",mousedown:function(){return c}}).insertAfter(a(R).last());function b(){d.css({height:a(E).height(),width:a(E).width()})}a(E).unbind(h).bind(I+h,b);b();return d},toggle:function(m,h,p){if(m&&m.isDefaultPrevented())return g;var k=q.effect,u=h?W:J,s=d.is(n),t=a(x+o+y).filter(n).not(e),v;if(!d)d=g.create();if(d.is(gb)&&s===h||!h&&t.length)return g;if(h){d.css({left:0,top:0});d.toggleClass("blurs",q.blur);r.bind(j+l,function(d){var h=a(d.target),b=h.closest(".qtip"),g=b.length<1?c:parseInt(b[0].style.zIndex,f)>parseInt(e[0].style.zIndex,f);!g&&a(d.target).closest(R)[0]!==e[0]&&e.find("input:visible").filter(":first").focus()})}else r.undelegate("*",j+l);d.stop(i,c);if(a.isFunction(k))k.call(d,h);else if(k===c)d[u]();else d.fadeTo(parseInt(p,f)||90,h?1:0,function(){!h&&a(this).hide()});!h&&d.queue(function(a){d.css({left:b,top:b});a()});return g},show:function(b,a){return g.toggle(b,i,a)},hide:function(b,a){return g.toggle(b,c,a)},destroy:function(){var b=d;if(b){b=a(x+o+y).not(e).length<1;if(b){m.overlay.remove();a(E).unbind(h)}else m.overlay.unbind(h+p.id);r.undelegate("*",j+l)}return e.removeAttr(o).unbind(h)}});g.init()}k.modal=function(a){var b=a.plugins.modal;return h===typeof b?b:a.plugins.modal=new wb(a)};k.modal.initialize=Y;k.modal.sanitize=function(a){if(a.show)if(typeof a.show.modal!==h)a.show.modal={on:!!a.show.modal};else if(typeof a.show.modal.on===pb)a.show.modal.on=i};k.modal.zindex=z.zindex+1e3;a.extend(i,z.defaults,{show:{modal:{on:c,effect:i,blur:i,escape:i}}});k.svg=function(j){var i=a(document),e=j[0],b={width:0,height:0,offset:{top:Z,left:Z}},f,h,g,c,d;if(e.getBBox&&e.parentNode){f=e.getBBox();h=e.getScreenCTM();g=e.farthestViewportElement||e;if(!g.createSVGPoint)return b;c=g.createSVGPoint();c.x=f.x;c.y=f.y;d=c.matrixTransform(h);b.offset.left=d.x;b.offset.top=d.y;c.x+=f.width;c.y+=f.height;d=c.matrixTransform(h);b.width=d.x-b.offset.left;b.height=d.y-b.offset.top;b.offset.left+=i.scrollLeft();b.offset.top+=i.scrollTop()}return b};function tb(f,b,a){var e=Math.ceil(b/2),d=Math.ceil(a/2),c={bottomright:[[0,0],[b,a],[b,0]],bottomleft:[[0,0],[b,0],[0,a]],topright:[[0,a],[b,0],[b,a]],topleft:[[0,0],[0,a],[b,a]],topcenter:[[0,a],[e,0],[b,a]],bottomcenter:[[0,0],[b,0],[e,a]],rightcenter:[[0,0],[b,d],[0,a]],leftcenter:[[b,0],[b,a],[0,d]]};c.lefttop=c.bottomright;c.righttop=c.bottomleft;c.leftbottom=c.topright;c.rightbottom=c.topleft;return c[f.string()]}function Ab(B){var D="transparent",y="border-",E="<canvas />",h=this,v=B.options.style.tip,n=B.elements,x=n.tooltip,A={top:0,left:0},z={width:v.width,height:v.height},u={},r=v.border||0,I=".qtip-tip",G=!!(a(E)[0]||{}).getContext;h.corner=q;h.mimic=q;h.border=r;h.offset=v.offset;h.size=z;B.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){!h.init()&&h.destroy();B.reposition()},"^style.tip.(height|width)$":function(){z={width:v.width,height:v.height};h.create();h.update();B.reposition()},"^content.title.text|style.(classes|widget)$":function(){n.tip&&h.update()}};function L(D,E,w){var t="margin-top",r="margin-left";if(!n.tip)return;var b=h.corner.clone(),f=w.adjusted,z=B.options.position.adjust.method.split(p),x=z[0],y=z[1]||z[0],k={left:c,top:c,x:0,y:0},a,u={},q;if(h.corner.fixed!==i){if(x===s&&b.precedance===o&&f.left&&b.y!==d)b.precedance=b.precedance===o?j:o;else if(x===P&&f.left)b.x=b.x===d?f.left>0?g:l:b.x===g?l:g;if(y===s&&b.precedance===j&&f.top&&b.x!==d)b.precedance=b.precedance===j?o:j;else if(y===P&&f.top)b.y=b.y===d?f.top>0?e:m:b.y===e?m:e;b.string()!==A.corner.string()&&(A.top!==f.top||A.left!==f.left)&&h.update(b,c)}a=h.position(b,f);if(a.right!==V)a.left=-a.right;if(a.bottom!==V)a.top=-a.bottom;a.user=Math.max(0,v.offset);if(k.left=x===s&&!!f.left)if(b.x===d)u[r]=k.x=a[r]-f.left;else{q=a.right!==V?[f.left,-a.left]:[-f.left,a.left];if((k.x=Math.max(q[0],q[1]))>q[0]){w.left-=f.left;k.left=c}u[a.right!==V?l:g]=k.x}if(k.top=y===s&&!!f.top)if(b.y===d)u[t]=k.y=a[t]-f.top;else{q=a.bottom!==V?[f.top,-a.top]:[-f.top,a.top];if((k.y=Math.max(q[0],q[1]))>q[0]){w.top-=f.top;k.top=c}u[a.bottom!==V?m:e]=k.y}n.tip.css(u).toggle(!(k.x&&k.y||b.x===d&&k.y||b.y===d&&k.x));w.left-=a.left.charAt?a.user:x!==s||k.top||!k.left&&!k.top?a.left:0;w.top-=a.top.charAt?a.user:y!==s||k.left||!k.left&&!k.top?a.top:0;A.left=f.left;A.top=f.top;A.corner=b.clone()}function F(c,b,i){b=!b?c[c.precedance]:b;var h=x.hasClass(eb),g=n.titlebar&&c.y===e,j=g?n.titlebar:n.content,d=y+b+"-width",a;x.addClass(eb);a=parseInt(j.css(d),f);a=(i?a||parseInt(x.css(d),f):a)||0;x.toggleClass(eb,h);return a}function K(c){var i=n.titlebar&&c.y===e,k=i?n.titlebar:n.content,d=a.browser.mozilla,j=d?"-moz-":a.browser.webkit?"-webkit-":b,g=c.y+(d?b:"-")+c.x,h=j+(d?"border-radius-"+g:y+g+"-radius");return parseInt(k.css(h),f)||parseInt(x.css(h),f)||0}function J(l){var e=l.precedance===j,n=z[e?t:w],f=z[e?w:t],i=l.string().indexOf(d)>-1,o=n*(i?.5:1),b=Math.pow,m=Math.round,k,h,g,c=Math.sqrt(b(o,2)+b(f,2)),a=[r/o*c,r/f*c];a[2]=Math.sqrt(b(a[0],2)-b(r,2));a[3]=Math.sqrt(b(a[1],2)-b(r,2));k=c+a[2]+a[3]+(i?0:a[0]);h=k/c;g=[m(h*f),m(h*n)];return{height:g[e?0:1],width:g[e?1:0]}}a.extend(h,{init:function(){var b=h.detectCorner()&&(G||a.browser.msie);if(b){h.create();h.update();x.unbind(I).bind(U+I,L)}return b},detectCorner:function(){var b=v.corner,a=B.options.position,e=a.at,d=a.my.string?a.my.string():a.my;if(b===c||d===c&&e===c)return c;else if(b===i)h.corner=new k.Corner(d);else if(!b.string){h.corner=new k.Corner(b);h.corner.fixed=i}A.corner=new k.Corner(h.corner.string());return h.corner.string()!==kb},detectColours:function(w){var C,k,f,c=n.tip.css("cssText",b),j=w||h.corner,o=j[j.precedance],m=y+o+"-color",r="border"+o.charAt(0)+o.substr(1)+"Color",i=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,g="background-color",l=D,q=" !important",s=a(document.body).css("color"),A=B.elements.content.css("color"),t=n.titlebar&&(j.y===e||j.y===d&&c.position().top+z.height/2+v.offset<n.titlebar.outerHeight(1)),p=t?n.titlebar:n.content;x.addClass(eb);u.fill=k=c.css(g);u.border=f=c[0].style[r]||c.css(m)||x.css(m);if(!k||i.test(k)){u.fill=p.css(g)||l;if(i.test(u.fill))u.fill=x.css(g)||k}if(!f||i.test(f)||f===s){u.border=p.css(m)||l;if(i.test(u.border))u.border=f}a("*",c).add(c).css("cssText",g+":"+l+q+";border:0"+q+";");x.removeClass(eb)},create:function(){var d=z.width,c=z.height,b;n.tip&&n.tip.remove();n.tip=a(C,{"class":"ui-tooltip-tip"}).css({width:d,height:c}).prependTo(x);if(G)a(E).appendTo(n.tip)[0].getContext("2d").save();else{b='<vml:shape coordorigin="0,0" style="display:inline-block; position:absolute; behavior:url(#default#VML);"></vml:shape>';n.tip.html(b+b);a("*",n.tip).bind("click mousedown",function(a){a.stopPropagation()})}},update:function(x,P){var O=n.tip,L=O.children(),E=z.width,C=z.height,R="px solid ",Q="px dashed transparent",s=v.mimic,I=Math.round,K,t,w,y,B;if(!x)x=A.corner||h.corner;if(s===c)s=x;else{s=new k.Corner(s);s.precedance=x.precedance;if(s.x===N)s.x=x.x;else if(s.y===N)s.y=x.y;else if(s.x===s.y)s[x.precedance]=x[x.precedance]}K=s.precedance;h.detectColours(x);if(u.border!==D&&u.border!=="#123456"){r=F(x,q,i);if(v.border===0&&r>0)u.fill=u.border;h.border=r=v.border!==i?v.border:r}else h.border=r=0;w=tb(s,E,C);h.size=B=J(x);O.css(B);if(x.precedance===j)y=[I(s.x===g?r:s.x===l?B.width-E-r:(B.width-E)/2),I(s.y===e?B.height-C:0)];else y=[I(s.x===g?B.width-E:0),I(s.y===e?r:s.y===m?B.height-C-r:(B.height-C)/2)];if(G){L.attr(B);t=L[0].getContext("2d");t.restore();t.save();t.clearRect(0,0,3e3,3e3);t.translate(y[0],y[1]);t.beginPath();t.moveTo(w[0][0],w[0][1]);t.lineTo(w[1][0],w[1][1]);t.lineTo(w[2][0],w[2][1]);t.closePath();t.fillStyle=u.fill;t.strokeStyle=u.border;t.lineWidth=r*2;t.lineJoin="miter";t.miterLimit=100;r&&t.stroke();t.fill()}else{w="m"+w[0][0]+","+w[0][1]+" l"+w[1][0]+","+w[1][1]+p+w[2][0]+","+w[2][1]+" xe";y[2]=r&&/^(r|b)/i.test(x.string())?parseFloat(a.browser.version,f)===8?2:1:0;L.css({antialias:b+(s.string().indexOf(d)>-1),left:y[0]-y[2]*Number(K===o),top:y[1]-y[2]*Number(K===j),width:E+r,height:C+r}).each(function(d){var c=a(this);c[c.prop?"prop":"attr"]({coordsize:E+r+p+(C+r),path:w,fillcolor:u.fill,filled:!!d,stroked:!!!d}).css({display:r||d?M:H});!d&&c.html()===b&&c.html('<vml:stroke weight="'+r*2+'px" color="'+u.border+'" miterlimit="1000" joinstyle="miter"  style="behavior:url(#default#VML); display:inline-block;" />')})}P!==c&&h.position(x)},position:function(f){var s=n.tip,l={},q=Math.max(0,v.offset),k,m,p;if(v.corner===c||!s)return c;f=f||h.corner;k=f.precedance;m=J(f);p=[f.x,f.y];k===o&&p.reverse();a.each(p,function(h,b){var a,c;if(b===d){a=k===j?g:e;l[a]="50%";l["margin-"+a]=-Math.round(m[k===j?t:w]/2)+q}else{a=F(f,b,i);c=K(f);l[b]=h?r?F(f,b):0:q+(c>a?c:0)}});l[f[k]]-=m[k===o?t:w];s.css({top:b,bottom:b,left:b,right:b,margin:b}).css(l);return l},destroy:function(){n.tip&&n.tip.remove();x.unbind(I)}});h.init()}k.tip=function(a){var b=a.plugins.tip;return h===typeof b?b:a.plugins.tip=new Ab(a)};k.tip.initialize=Y;k.tip.sanitize=function(b){var c=b.style,a;if(c&&"tip"in c){a=b.style.tip;if(typeof a!==h)b.style.tip={corner:a};if(!/string|boolean/i.test(typeof a.corner))a.corner=i;if(typeof a.width!==F)delete a.width;if(typeof a.height!==F)delete a.height;if(typeof a.border!==F&&a.border!==i)delete a.border;if(typeof a.offset!==F)delete a.offset}};a.extend(i,z.defaults,{style:{tip:{corner:i,mimic:c,width:6,height:6,border:i,offset:0}}})})(jQuery,window);
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and deltaY
*
* Version: 3.0.6
*
* Requires: 1.2.2+
*/
(function(b){var a="mousewheel",c=["DOMMouseScroll",a];if(b.event.fixHooks)for(var e=c.length;e;)b.event.fixHooks[c[--e]]=b.event.mouseHooks;b.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],d,false);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],d,false);else this.onmousewheel=null}};b.fn.extend({mousewheel:function(b){return b?this.bind(a,b):this.trigger(a)},unmousewheel:function(b){return this.unbind(a,b)}});function d(f){var c=f||window.event,h=[].slice.call(arguments,1),d=0,i=true,g=0,e=0;f=b.event.fix(c);f.type=a;if(c.wheelDelta)d=c.wheelDelta/120;if(c.detail)d=-c.detail/3;e=d;if(c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS){e=0;g=-1*d}if(c.wheelDeltaY!==undefined)e=c.wheelDeltaY/120;if(c.wheelDeltaX!==undefined)g=c.wheelDeltaX/-120;h.unshift(f,d,g,e);return(b.event.dispatch||b.event.handle).apply(this,h)}})(jQuery);var myuserid=0;String.prototype.lessThen=function(b){var a=this;return a==undefined||a==null||!a||/^\s*$/.test(a)||a.length<b};String.prototype.bool=function(){return/^true$/i.test(this.toLowerCase())};String.prototype.endsWith=function(a){return this.match(a+"$")==a};String.prototype.startsWith=function(a){return this.match("^"+a)==a};String.prototype.format=function(){var a=arguments;return this.replace(/\{\{|\}\}|\{(\d+)\}/g,function(b,c){return b=="{{"?"{":b=="}}"?"}":a[c]})};JSON.stringify=JSON.stringify||function(a){var c=typeof a;if(c!="object"||a===null){if(c=="string")a='"'+a+'"';return String(a)}else{var e,b,f=[],d=a&&a.constructor==Array;for(e in a){b=a[e];c=typeof b;if(c=="string")b='"'+b+'"';else if(c=="object"&&b!==null)b=JSON.stringify(b);f.push((d?"":'"'+e+'":')+String(b))}return(d?"[":"{")+String(f)+(d?"]":"}")}};$(document).ready(function(){var p="ui-tooltip-wiki ui-tooltip-light ui-tooltip-shadow",o="mouseover",n="top center",m="bottom center",j="#E6E6E6",f="#C0C0C0",l="vertical",e="auto",i="scrollbar",c=false,k="#productlist",d="id",a=true,b=null,g="focushint";$.fn.textboxhelp=function(c){var b={help:"",focuscls:g},a=$.extend(b,c);$(this).val(a.help);$(this).focus(function(){$(this).addClass(a.focuscls);var b=$(this).val();b.length>0&&b==a.help&&$(this).val("")}).blur(function(){var b=$(this).val();""==b&&$(this).removeClass(a.focuscls).val(a.help)})};$.fn.extend({val:function(d){var a="value",c=this;if(d==b)return $(c).hasClass("hinthelp")&&$(c).attr(a)==$(c).attr("title")&&!$(c).hasClass(g)?b:$(c).attr(a);$(c).attr(a,d);return $(c).attr(a)}});$(".cbfacebookcomment").colorbox({iframe:a,width:600,height:600});$("a[rel='gallery']").colorbox({width:"600",height:"750"});$("a[rel='archivegallery']").colorbox({width:"800",height:"800"});$(".cbproductImage").colorbox({width:"600",height:"750"});$(".aboutMette").colorbox({iframe:a,width:600,height:"80%"});setTimeout("$('#facebook').show();",1e3);setTimeout("$('#facebookpage').show();",1e3);$(".registerclick").click(function(){PostServerData("/WebEvents/GetData.aspx/GetSelectedProduct",{productkey:$(this).attr(d)})});$("#shopmap1").click(function(){h(1)});$("#shopmap2").click(function(){h(2)});$("#shopmap3").click(function(){h(3)});$(".searchoptionslist, #onlydiscount").change(function(){PostServerData("/WebEvents/GetData.aspx/RegisterSearch",{state:$(this).val(),type:$(this).attr(d)})});$("#buttonbuy").click(function(){PostServerData("/WebEvents/GetData.aspx/AddToBasket")});$("#buttonwishlist").click(function(){PostServerData("/WebEvents/GetWebWishlist.aspx/AddToWishList")});$(".accessarchive").live("click",function(){PostServerData("/WebEvents/GetWebAction.aspx/AccessArchive",{data:b})});if(jQuery.browser.msie&&$(k).length>0)$(k).get(0).onselectstart=function(){return c};setupfb();window.fbApiInit=c;window.maploaded=c;$(".helpsystem").tipsy({html:a,delayIn:1500,gravity:$.fn.tipsy.autoBounds(150,"nw"),title:function(){var a=$("<span>Loading...</span>");PostServerData("/WebEvents/GetWebHelp.aspx/GetInfo",{id:$(this).attr(d)},function(b){a.html(b.Data.tooltip)});return a}});$(".hinthelp").livequery(function(){var a=this;($(a).val()==b||$(a).val().lessThen())&&$(a).textboxhelp({help:$(a).attr("title")})});$("#webhelp").click(function(){PostServerData("/WebEvents/GetWebHelp.aspx/GetHelpByPage",{url:window.location.href})});$(".submitonenter").live("keyup",function(a){var b=a.which||a.keyCode||a.keyChar;b==13&&$("[id*=_submit]").click()});function h(d){var c="/WebEvents/GetWebAction.aspx/GetMapLocation";if(!window.location.hostname.endsWith(".no")){PostServerData(c,{data:b,locationid:d});return}if(window.maploaded)PostServerData(c,{data:b,locationid:d});else $.getScript("http://maps.google.com/maps?file=api&v=2&async=2&sensor=false&key=ABQIAAAAU9-zG7eNNd7wCApII-j8GRRYDfvCxLfd50g0WAo3eRC-zJg6lRTZi8WY69h1LJS58vsSjtXoeLskJA&hl=no",function(){window.maploaded=a;setTimeout(function(){PostServerData(c,{data:b,locationid:d})},300)})}$("#productdescription").scrollbar({type:i,height:100,scrollerEase:7,dragVertical:a,dragHorizontal:c,barWidth:10,draggerVerticalSize:e,draggerHorizontalSize:e,roundCorners:5,distanceFromBar:5,mouseWheel:a,mouseWheelOrientation:l,mouseWheelSpeed:13,draggerOverColor:f,barColor:j,barOverColor:f});$("#productimagesscroll").scrollbar({type:i,height:220,width:e,scrollerEase:7,dragVertical:c,dragHorizontal:a,barWidth:10,draggerVerticalSize:e,draggerHorizontalSize:e,roundCorners:5,distanceFromBar:5,mouseWheel:a,mouseWheelOrientation:"horizontal",mouseWheelSpeed:13,draggerOverColor:f,barColor:j,barOverColor:f});$("#productsscroll").scrollbar({type:i,height:670,width:720,scrollerEase:7,dragVertical:a,dragHorizontal:c,barWidth:10,draggerVerticalSize:e,draggerHorizontalSize:e,roundCorners:5,distanceFromBar:5,mouseWheel:a,mouseWheelOrientation:l,mouseWheelSpeed:13,draggerOverColor:f,barColor:j,barOverColor:f});$("#share").ishare({activation:"click",displayTitle:a,title:"Mette Møller - share with friends and family",position:"left",width:"500px",height:"90px",icons:"facebook,twitter,google,linkedin,yahoo,live,email,print,favorites",targetBlank:a,iconsDir:"/icons/",sharetitle:"www.mettemoller.no - "+$("#ctl00_head_fbtitle").attr("content"),shareurl:$("#ctl00_head_fburl").attr("content"),keepAlive:a,fbLikebox:a,fbAction:"like",fbcolorscheme:"light",tweets:a,tweetText:"http://www.mettemoller.no - ",tweetVia:"mette_moller"});$(".product_preview").qtip({content:{text:function(){var a=$('<span style="width:580px">Loading...</span>');PostServerData("/WebEvents/GetProductData.aspx/GetProductPreview",{pid:$(this).attr(d)},function(b){a.html(b.Data.data)});return a},title:{text:"",button:a}},position:{at:m,my:n,viewport:$(window),effect:c},show:{event:o,delay:300,ready:c,solo:a},hide:{event:"unfocus",delay:300,fixed:a},style:{classes:p}});$(".tipmenu").qtip({content:{text:function(){var a=$('<span style="width:500px">Loading...</span>');PostServerData("/WebEvents/GetData.aspx/GetMenu",{menutype:$(this).attr(d),href:$(this).attr("href"),title:$(this).html()},function(b){a.html(b.Data.data)});return a},title:{text:"",button:a}},position:{at:m,my:n,viewport:$(window),effect:c},show:{event:o,delay:300,ready:c,solo:a},hide:{event:"unfocus",delay:300,fixed:a},style:{classes:p}})});function GetUserDataResult(a){if(a.Data.evalcode!=null)eval(a.Data.evalcode)}$(document).bind("cbox_complete",function(){var a="#sendproductmessage";if($(a).length==0)return;var b='<span id="facebookimage"><fb:like href="http://www.mettemoller.no/ProductDetail.aspx?ProductId='+$(a).attr("class").replace("product_","")+'" layout="button_count" show_faces="false" width="90px" action="like" /></span>';$(b).insertBefore(".cboxPhoto");eval("FB.XFBML.parse(document.getElementById('facebookimage'));")});function remove(a){PostServerData("/WebEvents/FCBKComplete.aspx/RemoveSearch",{data:a._value},function(){})}function added(a){PostServerData("/WebEvents/FCBKComplete.aspx/AddSearch",{data:a._value},function(){})}function submitform(b,a){document.body.innerHTML+='<form id="submitform" action="'+b+'" method="post">'+a+"</form>";document.getElementById("submitform").submit()}function PostServerData(a){PostServerData(a,{},null)}function PostServerData(b,a){PostServerData(b,a,null)}function PostServerData(c,b,a){$(".tipsy").remove();$.ajax({type:"POST",url:c,data:JSON.stringify(b),contentType:"application/json; charset=utf-8",dataType:"json",success:function(e){var d="md_webrequest",b=null,c=JSON.parse(e.d);if(c.Data.preevalcode!=b)eval(c.Data.preevalcode);if(c.SystemMessage!=b)if(c.Data.messagetype==b)AddSystemMessage(c.SystemMessage,d);else AddSystemMessage(c.SystemMessage,c.Data.messagetype);c.Data!=b&&$.each(c.Data,function(a,b){(a.startsWith(".")||a.startsWith("#"))&&$(a).html(b)});c.SystemMessages!=b&&$.each(c.SystemMessages,function(e,a){if(c.Data.messagetype==b)AddSystemMessage(a,d);else AddSystemMessage(a,c.Data.messagetype)});if(c.Data.evalcode!=b)eval(c.Data.evalcode);if(c.Data.redirect!=b)window.location.href=c.Data.redirect;a!=b&&a(c)},error:function(){AddSystemMessage("Feil i henting av data. Prøv igjen.","md_error")}})}function setupfb(){var a=true;try{window.fbAsyncInit=function(){window.FB.init({appId:null,status:a,cookie:a,xfbml:a});window.fbApiInit=a};var b=document.createElement("script");b.async=a;b.src=document.location.protocol+"//connect.facebook.net/en_US/all.js";document.getElementById("fb-root").appendChild(b)}catch(c){}}function fbEnsureInit(a){if(!window.fbApiInit)setTimeout(function(){fbEnsureInit(a)},100);else a&&a()}function AddSystemMessageWebAction(a,b){AddSystemMessage('<table><tr valign="top"><td><img src="'+a+'"></td><td>'+b+"</td></tr></table>","md_webrequest")}function AddSystemMessage(b,c){var a='<div class="md_notification"><div class="{0}">{1}</div><a class="md_close"><img src="http://monsterdebate.com/messageImages/close.gif" alt="close" /></a></div>';$("#md_notificationContainer").append(a.format(c,b));$(".md_close").click(function(){$(".tipsy").remove();$(this).parent().fadeTo(400,0,function(){$(this).slideUp(400,0,function(){$(this).remove()})});return false})}function getfbuserstatus(){}function print_page(){window.print()}function bookmark_us(){alert("Press ctrl + D to bookmark")}function WGshowImage(h,g,e,d){var a=null;if($("#navcontainer").length>0)return;var c=document.getElementById(e),b=document.getElementById(e+"Popup");if(c!=a){var f=document.getElementById("detailtitle");if(f!=a){f.innerHTML=d;c.title=d;if(b!=a)b.title=d}c.src=h;if(b!=a)b.href=g}}
