function createDropDown(){var i=$("div#country-select form"),n,r,t;i.hide(),n=$("#country-options"),n.removeAttr("autocomplete"),r=n.find("option:selected"),t=$("option",n),$("#country-select").append('<dl id="target" class="dropdown"></dl>'),$("#target").append(""),$("#target").append("<dd><ul></ul></dd>"),t.each(function(){$("#target dd ul").append('<li class="'+$(this).val()+'"><a href="'+$(this).attr("title")+'"><span class="flag"></span><em>'+$(this).text()+"</em></a></li>")})}function Shareable(n){var i={},t,r,u;return i.facebook="450",i.twitter="684",i.yahoo="500",i.linkedin="600",t={},t.facebook="300",t.twitter="718",t.yahoo="460",t.linkedin="433",this.idx=-1,this.url=null,this.title=null,this.image=null,this.element=null,this.service=null,this.message=null,this.screen="home",this.summary=null,this.content=null,this.buttonText=null,this.frag=null,this.onhover=!0,this.type=null,r=this,u=!1,this.attachButton=function(t){this.element=t,this.onhover!=!0&&this.onhover!="true"||stlib.browser.mobile.isMobile()||switchTo5x&&(!switchTo5x||n.service!="sharethis"&&n.service!="email"&&n.service!="wordpress")||(t.onmouseover=this.mouseOn,t.onmouseout=this.mouseOut),t.onclick=function(){r.decideFastShare()}},this.init=function(){stWidget.merge(this,n),stWidget.shareables.push(this),n.element!==null&&this.attachButton(n.element)},this}function shareLog(n){typeof pageTracker!="undefined"&&pageTracker!==null?pageTracker._trackEvent("ShareThis",n):typeof _gaq!="undefined"&&_gaq!==null?_gaq.push(["_trackEvent","ShareThis",n]):stButtons.publisherTracker!==null?stButtons.publisherTracker._trackEvent("ShareThis",n):typeof _gat!="undefined"&&_gat!==null&&typeof stWidget.options.publisherGA!="undefined"&&stWidget.options.publisherGA!=null&&(stButtons.publisherTracker=_gat._getTracker(stWidget.options.publisherGA),stButtons.publisherTracker._trackEvent("ShareThis",n))}function checkResponsive(){Modernizr.mq("screen and (max-width:767px)")?($(".catNav > ul").css("display","none"),$("nav ul.navigation-mob").css("display","none")):($(".catNav > ul").css("display","block"),$("nav ul.navigation-mob").css("display","block"))}var stlib,stRecentServices,useFastShare,stButtons,stWidget,__stPubGA;(function(n,t){function ku(n){var t=dt[n]={};return i.each(n.split(c),function(n,i){t[i]=!0}),t}function dr(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(su,"-$1").toLowerCase();if(u=n.getAttribute(f),typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:+u+""===u?+u:fu.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function ii(n){var t;for(t in n)if((t!=="data"||!i.isEmptyObject(n[t]))&&t!=="toJSON")return!1;return!0}function y(){return!1}function ct(){return!0}function d(n){return!n||!n.parentNode||n.parentNode.nodeType===11}function kr(n,t){do n=n[t];while(n&&n.nodeType!==1);return n}function yr(n,t,r){if(t=t||0,i.isFunction(t))return i.grep(n,function(n,i){var u=!!t.call(n,i,n);return u===r});if(t.nodeType)return i.grep(n,function(n){return n===t===r});if(typeof t=="string"){var u=i.grep(n,function(n){return n.nodeType===1});if(yo.test(t))return i.filter(t,u,!r);t=i.filter(t,u)}return i.grep(n,function(n){return i.inArray(n,t)>=0===r})}function br(n){var i=si.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function uf(n,t){return n.getElementsByTagName(t)[0]||n.appendChild(n.ownerDocument.createElement(t))}function wr(n,t){if(t.nodeType===1&&i.hasData(n)){var e,f,o,s=i._data(n),r=i._data(t,s),u=s.events;if(u){delete r.handle,r.events={};for(e in u)for(f=0,o=u[e].length;f<o;f++)i.event.add(t,e,u[e][f])}r.data&&(r.data=i.extend({},r.data))}}function vi(n,t){var r;t.nodeType===1&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(n),r=t.nodeName.toLowerCase(),r==="object"?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):r==="input"&&nu.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):r==="option"?t.selected=n.defaultSelected:r==="input"||r==="textarea"?t.defaultValue=n.defaultValue:r==="script"&&t.text!==n.text&&(t.text=n.text),t.removeAttribute(i.expando))}function ht(n){return typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName("*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll("*"):[]}function oi(n){nu.test(n.type)&&(n.defaultChecked=n.checked)}function hi(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=lr.length;i--;)if(t=lr[i]+r,t in n)return t;return u}function lt(n,t){return n=t||n,i.css(n,"display")==="none"||!i.contains(n.ownerDocument,n)}function cr(n,t){for(var r,o,e=[],f=0,s=n.length;f<s;f++)(r=n[f],r.style)&&(e[f]=i._data(r,"olddisplay"),t?(!e[f]&&r.style.display==="none"&&(r.style.display=""),r.style.display===""&&lt(r)&&(e[f]=i._data(r,"olddisplay",tr(r.nodeName)))):(o=u(r,"display"),!e[f]&&o!=="none"&&i._data(r,"olddisplay",o)));for(f=0;f<s;f++)(r=n[f],r.style)&&(t&&r.style.display!=="none"&&r.style.display!==""||(r.style.display=t?e[f]||"":"none"));return n}function rr(n,t,i){var r=to.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function wi(n,t,r,f){for(var e=r===(f?"border":"content")?4:t==="width"?1:0,o=0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+h[e],!0)),f?(r==="content"&&(o-=parseFloat(u(n,"padding"+h[e]))||0),r!=="margin"&&(o-=parseFloat(u(n,"border"+h[e]+"Width"))||0)):(o+=parseFloat(u(n,"padding"+h[e]))||0,r!=="padding"&&(o+=parseFloat(u(n,"border"+h[e]+"Width"))||0));return o}function ur(n,t,r){var f=t==="width"?n.offsetWidth:n.offsetHeight,o=!0,e=i.support.boxSizing&&i.css(n,"boxSizing")==="border-box";if(f<=0||f==null){if(f=u(n,t),(f<0||f==null)&&(f=n.style[t]),et.test(f))return f;o=e&&(i.support.boxSizingReliable||f===n.style[t]),f=parseFloat(f)||0}return f+wi(n,t,r||(e?"border":"content"),o)+"px"}function tr(n){if(ti[n])return ti[n];var f=i("<"+n+">").appendTo(r.body),t=f.css("display");return f.remove(),(t==="none"||t==="")&&(v=r.body.appendChild(v||i.extend(r.createElement("iframe"),{frameBorder:0,width:0,height:0})),p&&v.createElement||(p=(v.contentWindow||v.contentDocument).document,p.write("<!doctype html><html><body>"),p.close()),f=p.body.appendChild(p.createElement(n)),t=u(f,"display"),r.body.removeChild(v)),ti[n]=t,t}function ri(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||hf.test(n)?u(n,i):ri(n+"["+(typeof i=="object"?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)ri(n+"["+f+"]",t[f],r,u)}function di(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,s,f,o=t.toLowerCase().split(c),e=0,h=o.length;if(i.isFunction(r))for(;e<h;e++)u=o[e],f=/^\+/.test(u),f&&(u=u.substr(1)||"*"),s=n[u]=n[u]||[],s[f?"unshift":"push"](r)}}function ut(n,i,r,u,f,e){f=f||i.dataTypes[0],e=e||{},e[f]=!0;for(var o,c=n[f],h=0,l=c?c.length:0,s=n===gt;h<l&&(s||!o);h++)o=c[h](i,r,u),typeof o=="string"&&(!s||e[o]?o=t:(i.dataTypes.unshift(o),o=ut(n,i,r,u,o,e)));return(s||!o)&&!e["*"]&&(o=ut(n,i,r,u,"*",e)),o}function gi(n,r){var u,f,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);f&&i.extend(!0,n,f)}function ro(n,i,r){var o,u,e,h,s=n.contents,f=n.dataTypes,c=n.responseFields;for(u in c)u in r&&(i[c[u]]=r[u]);while(f[0]==="*")f.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("content-type"));if(o)for(u in s)if(s[u]&&s[u].test(o)){f.unshift(u);break}if(f[0]in r)e=f[0];else{for(u in r){if(!f[0]||n.converters[u+" "+f[0]]){e=u;break}h||(h=u)}e=e||h}if(e)return e!==f[0]&&f.unshift(e),r[e]}function ge(n,t){var i,o,r,e,s=n.dataTypes.slice(),f=s[0],u={},h=0;if(n.dataFilter&&(t=n.dataFilter(t,n.dataType)),s[1])for(i in n.converters)u[i.toLowerCase()]=n.converters[i];for(;r=s[++h];)if(r!=="*"){if(f!=="*"&&f!==r){if(i=u[f+" "+r]||u["* "+r],!i)for(o in u)if(e=o.split(" "),e[1]===r&&(i=u[f+" "+e[0]]||u["* "+e[0]],i)){i===!0?i=u[o]:u[o]!==!0&&(r=e[0],s.splice(h--,0,r));break}if(i!==!0)if(i&&n.throws)t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+f+" to "+r}}}f=r}return{state:"success",data:t}}function ki(){try{return new n.XMLHttpRequest}catch(t){}}function pe(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function uu(){return setTimeout(function(){w=t},0),w=i.now()}function ie(n,t){i.each(t,function(t,i){for(var u=(k[t]||[]).concat(k["*"]),r=0,f=u.length;r<f;r++)if(u[r].call(n,t,i))return})}function au(n,t,r){var o,s=0,l=0,c=tt.length,f=i.Deferred().always(function(){delete h.elem}),h=function(){for(var o=w||uu(),i=Math.max(0,u.startTime+u.duration-o),s=i/u.duration||0,t=1-s,r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(t);return f.notifyWith(n,[u,t,i]),t<1&&e?i:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:w||uu(),duration:r.duration,tweens:[],createTween:function(t,r){var e=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(e),e},stop:function(t){for(var i=0,r=t?u.tweens.length:0;i<r;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),e=u.props;for(ye(e,u.opts.specialEasing);s<c;s++)if(o=tt[s].call(u,n,e,u.opts),o)return o;return ie(u,e),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(h,{anim:u,queue:u.opts.queue,elem:n})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function ye(n,t){var r,f,o,u,e;for(r in n)if(f=i.camelCase(r),o=t[f],u=n[r],i.isArray(u)&&(o=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),e=i.cssHooks[f],e&&"expand"in e){u=e.expand(u),delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=o)}else t[f]=o}function ee(n,t,r){var s,u,a,w,o,v,l,e,b,h=this,f=n.style,p={},y=[],c=n.nodeType&&lt(n);r.queue||(e=i._queueHooks(n,"fx"),e.unqueued==null&&(e.unqueued=0,b=e.empty.fire,e.empty.fire=function(){e.unqueued||b()}),e.unqueued++,h.always(function(){h.always(function(){e.unqueued--,i.queue(n,"fx").length||e.empty.fire()})})),n.nodeType===1&&("height"in t||"width"in t)&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],i.css(n,"display")==="inline"&&i.css(n,"float")==="none"&&(!i.support.inlineBlockNeedsLayout||tr(n.nodeName)==="inline"?f.display="inline-block":f.zoom=1)),r.overflow&&(f.overflow="hidden",i.support.shrinkWrapBlocks||h.done(function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.overflow[2]}));for(s in t)if(a=t[s],wu.exec(a)){if(delete t[s],v=v||a==="toggle",a===(c?"hide":"show"))continue;y.push(s)}if(w=y.length,w)for(o=i._data(n,"fxshow")||i._data(n,"fxshow",{}),("hidden"in o)&&(c=o.hidden),v&&(o.hidden=!c),c?i(n).show():h.done(function(){i(n).hide()}),h.done(function(){var t;i.removeData(n,"fxshow",!0);for(t in p)i.style(n,t,p[t])}),s=0;s<w;s++)u=y[s],l=h.createTween(u,c?o[u]:0),p[u]=o[u]||i.style(n,u),u in o||(o[u]=l.start,c&&(l.end=l.start,l.start=u==="width"||u==="height"?1:0))}function f(n,t,i,r,u){return new f.prototype.init(n,t,i,r,u)}function nt(n,t){var u,i={height:n},r=0;for(t=t?1:0;r<4;r+=2-t)u=h[r],i["margin"+u]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function tu(n){return i.isWindow(n)?n:n.nodeType===9?n.defaultView||n.parentWindow:!1}var iu,g,r=n.document,fe=n.location,he=n.navigator,ke=n.jQuery,se=n.$,gr=Array.prototype.push,o=Array.prototype.slice,ru=Array.prototype.indexOf,oe=Object.prototype.toString,yt=Object.prototype.hasOwnProperty,pt=String.prototype.trim,i=function(n,t){return new i.fn.init(n,t,iu)},it=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ve=/\S/,c=/\s+/,ae=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ce=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,ar=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,le=/^[\],:{}\s]*$/,ue=/(?:^|:|,)(?:\s*\[)+/g,kf=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,df=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,bf=/^-ms-/,pf=/-([\da-z])/gi,wf=function(n,t){return(t+"").toUpperCase()},rt=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",rt,!1),i.ready()):r.readyState==="complete"&&(r.detachEvent("onreadystatechange",rt),i.ready())},hu={},dt,fu,su,b,ot,vr,at;i.fn=i.prototype={constructor:i,init:function(n,u,f){var e,o,h,s;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if(typeof n=="string"){if(e=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:ce.exec(n),e&&(e[1]||!u)){if(e[1])return u=u instanceof i?u[0]:u,s=u&&u.nodeType?u.ownerDocument||u:r,n=i.parseHTML(e[1],s,!0),ar.test(e[1])&&i.isPlainObject(u)&&this.attr.call(n,u,!0),i.merge(this,n);if(o=r.getElementById(e[2]),o&&o.parentNode){if(o.id!==e[2])return f.find(n);this.length=1,this[0]=o}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return o.call(this)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=i.merge(this.constructor(),n);return u.prevObject=this,u.context=this.context,t==="find"?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},eq:function(n){return n=+n,n===-1?this.slice(n):this.slice(n,n+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(o.apply(this,arguments),"slice",o.call(arguments).join(","))},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:gr,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var s,e,u,r,h,c,n=arguments[0]||{},f=1,l=arguments.length,o=!1;for(typeof n=="boolean"&&(o=n,n=arguments[1]||{},f=2),typeof n!="object"&&!i.isFunction(n)&&(n={}),l===f&&(n=this,--f);f<l;f++)if((s=arguments[f])!=null)for(e in s)(u=n[e],r=s[e],n!==r)&&(o&&r&&(i.isPlainObject(r)||(h=i.isArray(r)))?(h?(h=!1,c=u&&i.isArray(u)?u:[]):c=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(o,c,r)):r!==t&&(n[e]=r));return n},i.extend({noConflict:function(t){return n.$===i&&(n.$=se),t&&n.jQuery===i&&(n.jQuery=ke),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!r.body)return setTimeout(i.ready,1);(i.isReady=!0,n!==!0&&--i.readyWait>0)||(g.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready"))}},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n!=null&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return n==null?String(n):hu[oe.call(n)]||"object"},isPlainObject:function(n){if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!yt.call(n,"constructor")&&!yt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}var r;for(r in n);return r===t||yt.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw new Error(n);},parseHTML:function(n,t,u){var f;return!n||typeof n!="string"?null:(typeof t=="boolean"&&(u=t,t=0),t=t||r,(f=ar.exec(n))?[t.createElement(f[1])]:(f=i.buildFragment([n],t,u?null:[]),i.merge([],(f.cacheable?i.clone(f.fragment):f.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;if(t=i.trim(t),n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(le.test(t.replace(kf,"@").replace(df,"]").replace(ue,"")))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(r){var u,f;if(!r||typeof r!="string")return null;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return(!u||!u.documentElement||u.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&ve.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(bf,"ms-").replace(pf,wf)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,r,u){var e,f=0,o=n.length,s=o===t||i.isFunction(n);if(u){if(s){for(e in n)if(r.apply(n[e],u)===!1)break}else for(;f<o;)if(r.apply(n[f++],u)===!1)break}else if(s){for(e in n)if(r.call(n[e],e,n[e])===!1)break}else for(;f<o;)if(r.call(n[f],f,n[f++])===!1)break;return n},trim:pt&&!pt.call("﻿ ")?function(n){return n==null?"":pt.call(n)}:function(n){return n==null?"":(n+"").replace(ae,"")},makeArray:function(n,t){var r,u=t||[];return n!=null&&(r=i.type(n),n.length==null||r==="string"||r==="function"||r==="regexp"||i.isWindow(n)?gr.call(u,n):i.merge(u,n)),u},inArray:function(n,t,i){var r;if(t){if(ru)return ru.call(t,n,i);for(r=t.length,i=i?i<0?Math.max(0,r+i):i:0;i<r;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var f=i.length,u=n.length,r=0;if(typeof f=="number")for(;r<f;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var f,u=[],r=0,e=n.length;for(i=!!i;r<e;r++)f=!!t(n[r],r),i!==f&&u.push(n[r]);return u},map:function(n,r,u){var o,h,f=[],s=0,e=n.length,c=n instanceof i||e!==t&&typeof e=="number"&&(e>0&&n[0]&&n[e-1]||e===0||i.isArray(n));if(c)for(;s<e;s++)o=r(n[s],s,u),o!=null&&(f[f.length]=o);else for(h in n)o=r(n[h],h,u),o!=null&&(f[f.length]=o);return f.concat.apply([],f)},guid:1,proxy:function(n,r){var f,e,u;return typeof r=="string"&&(f=n[r],r=n,n=f),i.isFunction(n)?(e=o.call(arguments,2),u=function(){return n.apply(r,e.concat(o.call(arguments)))},u.guid=n.guid=n.guid||i.guid++,u):t},access:function(n,r,u,f,e,o,s){var c,a=u==null,h=0,l=n.length;if(u&&typeof u=="object"){for(h in u)i.access(n,r,h,u[h],1,o,f);e=1}else if(f!==t){if(c=s===t&&i.isFunction(f),a&&(c?(c=r,r=function(n,t,r){return c.call(i(n),r)}):(r.call(n,f),r=null)),r)for(;h<l;h++)r(n[h],u,c?f.call(n[h],h,r(n[h],u)):f,s);e=1}return e?n:a?r.call(n):l?r(n[0],u):o},now:function(){return+new Date}}),i.ready.promise=function(t){if(!g)if(g=i.Deferred(),r.readyState==="complete")setTimeout(i.ready,1);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",rt,!1),n.addEventListener("load",i.ready,!1);else{r.attachEvent("onreadystatechange",rt),n.attachEvent("onload",i.ready);var u=!1;try{u=n.frameElement==null&&r.documentElement}catch(e){}u&&u.doScroll&&function f(){if(!i.isReady){try{u.doScroll("left")}catch(n){return setTimeout(f,50)}i.ready()}}()}return g.promise(t)},i.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(n,t){hu["[object "+t+"]"]=t.toLowerCase()}),iu=i(r),dt={},i.Callbacks=function(n){n=typeof n=="string"?dt[n]||ku(n):i.extend({},n);var f,c,s,a,h,e,r=[],u=!n.once&&[],l=function(t){for(f=n.memory&&t,c=!0,e=a||0,a=0,h=r.length,s=!0;r&&e<h;e++)if(r[e].apply(t[0],t[1])===!1&&n.stopOnFalse){f=!1;break}s=!1,r&&(u?u.length&&l(u.shift()):f?r=[]:o.disable())},o={add:function(){if(r){var u=r.length;(function t(u){i.each(u,function(u,f){var e=i.type(f);e==="function"?(!n.unique||!o.has(f))&&r.push(f):f&&f.length&&e!=="string"&&t(f)})})(arguments),s?h=r.length:f&&(a=u,l(f))}return this},remove:function(){return r&&i.each(arguments,function(n,t){for(var u;(u=i.inArray(t,r,u))>-1;)r.splice(u,1),s&&(u<=h&&h--,u<=e&&e--)}),this},has:function(n){return i.inArray(n,r)>-1},empty:function(){return r=[],this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||o.disable(),this},locked:function(){return!u},fireWith:function(n,t){return t=t||[],t=[n,t.slice?t.slice():t],r&&(!c||u)&&(s?u.push(t):l(t)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!c}};return o},i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(r){i.each(u,function(u,f){var o=f[0],e=n[u];t[f[1]](i.isFunction(e)?function(){var n=e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[o+"With"](this===t?r:this,[n])}:r[o])}),n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add,o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock),t[i[0]]=e.fire,t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var r=0,u=o.call(arguments),t=u.length,e=t!==1||n&&i.isFunction(n.promise)?t:0,f=e===1?n:i.Deferred(),c=function(n,t,i){return function(r){t[n]=this,i[n]=arguments.length>1?o.call(arguments):r,i===h?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},h,l,s;if(t>1)for(h=new Array(t),l=new Array(t),s=new Array(t);r<t;r++)u[r]&&i.isFunction(u[r].promise)?u[r].promise().done(c(r,s,u)).fail(f.reject).progress(c(r,l,h)):--e;return e||f.resolveWith(s,u),f.promise()}}),i.support=function(){var u,h,e,l,c,f,o,a,v,s,y,t=r.createElement("div");if(t.setAttribute("className","t"),t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",h=t.getElementsByTagName("*"),e=t.getElementsByTagName("a")[0],!h||!e||!h.length)return{};l=r.createElement("select"),c=l.appendChild(r.createElement("option")),f=t.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",u={leadingWhitespace:t.firstChild.nodeType===3,tbody:!t.getElementsByTagName("tbody").length,htmlSerialize:!!t.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.5/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:f.value==="on",optSelected:c.selected,getSetAttribute:t.className!=="t",enctype:!!r.createElement("form").enctype,html5Clone:r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:r.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},f.checked=!0,u.noCloneChecked=f.cloneNode(!0).checked,l.disabled=!0,u.optDisabled=!c.disabled;try{delete t.test}catch(p){u.deleteExpando=!1}if(!t.addEventListener&&t.attachEvent&&t.fireEvent&&(t.attachEvent("onclick",y=function(){u.noCloneEvent=!1}),t.cloneNode(!0).fireEvent("onclick"),t.detachEvent("onclick",y)),f=r.createElement("input"),f.value="t",f.setAttribute("type","radio"),u.radioValue=f.value==="t",f.setAttribute("checked","checked"),f.setAttribute("name","t"),t.appendChild(f),o=r.createDocumentFragment(),o.appendChild(t.lastChild),u.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,u.appendChecked=f.checked,o.removeChild(f),o.appendChild(t),t.attachEvent)for(v in{submit:!0,change:!0,focusin:!0})a="on"+v,s=a in t,s||(t.setAttribute(a,"return;"),s=typeof t[a]=="function"),u[v+"Bubbles"]=s;return i(function(){var e,t,f,i,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",o=r.getElementsByTagName("body")[0];o&&(e=r.createElement("div"),e.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",o.insertBefore(e,o.firstChild),t=r.createElement("div"),e.appendChild(t),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=t.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",s=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",u.reliableHiddenOffsets=s&&f[0].offsetHeight===0,t.innerHTML="",t.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",u.boxSizing=t.offsetWidth===4,u.doesNotIncludeMarginInBodyOffset=o.offsetTop!==1,n.getComputedStyle&&(u.pixelPosition=(n.getComputedStyle(t,null)||{}).top!=="1%",u.boxSizingReliable=(n.getComputedStyle(t,null)||{width:"4px"}).width==="4px",i=r.createElement("div"),i.style.cssText=t.style.cssText=h,i.style.marginRight=i.style.width="0",t.style.width="1px",t.appendChild(i),u.reliableMarginRight=!parseFloat((n.getComputedStyle(i,null)||{}).marginRight)),typeof t.style.zoom!="undefined"&&(t.innerHTML="",t.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",u.inlineBlockNeedsLayout=t.offsetWidth===3,t.style.display="block",t.style.overflow="visible",t.innerHTML="<div></div>",t.firstChild.style.width="5px",u.shrinkWrapBlocks=t.offsetWidth!==3,e.style.zoom=1),o.removeChild(e),e=t=f=i=null)}),o.removeChild(t),h=e=l=c=f=o=t=null,u}(),fu=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,su=/([A-Z])/g,i.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ii(n)},data:function(n,r,u,f){if(i.acceptData(n)){var s,h,c=i.expando,a=typeof r=="string",l=n.nodeType,o=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&o[e]&&(f||o[e].data)||!a||u!==t)return e||(l?n[c]=e=i.deletedIds.pop()||i.guid++:e=c),o[e]||(o[e]={},l||(o[e].toJSON=i.noop)),(typeof r=="object"||typeof r=="function")&&(f?o[e]=i.extend(o[e],r):o[e].data=i.extend(o[e].data,r)),s=o[e],f||(s.data||(s.data={}),s=s.data),u!==t&&(s[i.camelCase(r)]=u),a?(h=s[r],h==null&&(h=s[i.camelCase(r)])):h=s,h}},removeData:function(n,t,r){if(i.acceptData(n)){var e,o,h,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(u[f]){if(t&&(e=r?u[f]:u[f].data,e)){for(i.isArray(t)||(t in e?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" "))),o=0,h=t.length;o<h;o++)delete e[t[o]];if(!(r?ii:i.isEmptyObject)(e))return}(r||(delete u[f].data,ii(u[f])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[f]:u[f]=null)}}},_data:function(n,t,r){return i.data(n,t,r,!0)},acceptData:function(n){var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}}),i.fn.extend({data:function(n,r){var u,s,c,o,l,e=this[0],h=0,f=null;if(n===t){if(this.length&&(f=i.data(e),e.nodeType===1&&!i._data(e,"parsedAttrs"))){for(c=e.attributes,l=c.length;h<l;h++)o=c[h].name,o.indexOf("data-")||(o=i.camelCase(o.substring(5)),dr(e,o,f[o]));i._data(e,"parsedAttrs",!0)}return f}return typeof n=="object"?this.each(function(){i.data(this,n)}):(u=n.split(".",2),u[1]=u[1]?"."+u[1]:"",s=u[1]+"!",i.access(this,function(r){if(r===t)return f=this.triggerHandler("getData"+s,[u[0]]),f===t&&e&&(f=i.data(e,n),f=dr(e,n,f)),f===t&&u[1]?this.data(u[0]):f;u[1]=r,this.each(function(){var t=i(this);t.triggerHandler("setData"+s,u),i.data(this,n,r),t.triggerHandler("changeData"+s,u)})},null,r,arguments.length>1,null,!1))},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var f=i.queue(n,t),e=f.length,r=f.shift(),u=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};r==="inprogress"&&(r=f.shift(),e--),r&&(t==="fx"&&f.unshift("inprogress"),delete u.stop,r.call(n,o,u)),!e&&u&&u.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i.removeData(n,t+"queue",!0),i.removeData(n,r,!0)})})}}),i.fn.extend({queue:function(n,r){var u=2;return typeof n!="string"&&(r=n,n="fx",u--),arguments.length<u?i.queue(this[0],n):r===t?this:this.each(function(){var t=i.queue(this,n,r);i._queueHooks(this,n),n==="fx"&&t[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){var u,s=1,h=i.Deferred(),f=this,o=this.length,e=function(){--s||h.resolveWith(f,[f])};for(typeof n!="string"&&(r=n,n=t),n=n||"fx";o--;)u=i._data(f[o],n+"queueHooks"),u&&u.empty&&(s++,u.empty.add(e));return e(),h.promise(r)}});var s,cu,eu,lu=/[\t\r\n]/g,re=/\r/g,te=/^(?:button|input)$/i,gf=/^(?:button|input|object|select|textarea)$/i,ne=/^a(?:rea|)$/i,yi=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,bi=i.support.getSetAttribute;i.fn.extend({attr:function(n,t){return i.access(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t,delete this[n]}catch(i){}})},addClass:function(n){var u,e,s,t,f,r,o;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(n&&typeof n=="string")for(u=n.split(c),e=0,s=this.length;e<s;e++)if(t=this[e],t.nodeType===1)if(t.className||u.length!==1){for(f=" "+t.className+" ",r=0,o=u.length;r<o;r++)f.indexOf(" "+u[r]+" ")<0&&(f+=u[r]+" ");t.className=i.trim(f)}else t.className=n;return this},removeClass:function(n){var o,f,r,u,h,e,s;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(n&&typeof n=="string"||n===t)for(o=(n||"").split(c),e=0,s=this.length;e<s;e++)if(r=this[e],r.nodeType===1&&r.className){for(f=(" "+r.className+" ").replace(lu," "),u=0,h=o.length;u<h;u++)while(f.indexOf(" "+o[u]+" ")>=0)f=f.replace(" "+o[u]+" "," ");r.className=n?i.trim(f):""}return this},toggleClass:function(n,t){var r=typeof n,u=typeof t=="boolean";return i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var e,h=0,o=i(this),f=t,s=n.split(c);e=s[h++];)f=u?f:!o.hasClass(e),o[f?"addClass":"removeClass"](e);else(r==="undefined"||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var r=" "+n+" ",t=0,i=this.length;t<i;t++)if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(lu," ").indexOf(r)>=0)return!0;return!1},val:function(n){var r,u,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f,o=i(this);this.nodeType===1&&(f=e?n.call(this,u,o.val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t?u:(u=f.value,typeof u=="string"?u.replace(re,""):u==null?"":u)):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,f=n.type==="select-one"||r<0,h=f?null:[],s=f?r+1:o.length,u=r<0?s:f?r:0;u<s;u++)if(t=o[u],(t.selected||u===r)&&(i.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;h.push(e)}return h},set:function(n,t){var r=i.makeArray(t);return i(n).find("option").each(function(){this.selected=i.inArray(i(this).val(),r)>=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{},attr:function(n,r,u,f){var o,e,c,h=n.nodeType;if(n&&h!==3&&h!==8&&h!==2){if(f&&i.isFunction(i.fn[r]))return i(n)[r](u);if(typeof n.getAttribute=="undefined")return i.prop(n,r,u);if(c=h!==1||!i.isXMLDoc(n),c&&(r=r.toLowerCase(),e=i.attrHooks[r]||(yi.test(r)?cu:s)),u!==t){if(u===null){i.removeAttr(n,r);return}return e&&"set"in e&&c&&(o=e.set(n,u,r))!==t?o:(n.setAttribute(r,u+""),u)}return e&&"get"in e&&c&&(o=e.get(n,r))!==null?o:(o=n.getAttribute(r),o===null?t:o)}},removeAttr:function(n,t){var u,o,r,e,f=0;if(t&&n.nodeType===1)for(o=t.split(c);f<o.length;f++)r=o[f],r&&(u=i.propFix[r]||r,e=yi.test(r),e||i.attr(n,r,""),n.removeAttribute(bi?r:u),e&&u in n&&(n[u]=!1))},attrHooks:{type:{set:function(n,t){if(te.test(n.nodeName)&&n.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}},value:{get:function(n,t){return s&&i.nodeName(n,"button")?s.get(n,t):t in n?n.value:null},set:function(n,t,r){if(s&&i.nodeName(n,"button"))return s.set(n,t,r);n.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(n,r,u){var o,f,s,e=n.nodeType;if(n&&e!==3&&e!==8&&e!==2)return s=e!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(o=f.set(n,u,r))!==t?o:n[r]=u:f&&"get"in f&&(o=f.get(n,r))!==null?o:n[r]},propHooks:{tabIndex:{get:function(n){var i=n.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):gf.test(n.nodeName)||ne.test(n.nodeName)&&n.href?0:t}}}}),cu={get:function(n,r){var f,u=i.prop(n,r);return u===!0||typeof u!="boolean"&&(f=n.getAttributeNode(r))&&f.nodeValue!==!1?r.toLowerCase():t},set:function(n,t,r){var u;return t===!1?i.removeAttr(n,r):(u=i.propFix[r]||r,u in n&&(n[u]=!0),n.setAttribute(r,r.toLowerCase())),r}},bi||(eu={name:!0,id:!0,coords:!0},s=i.valHooks.button={get:function(n,i){var r;return r=n.getAttributeNode(i),r&&(eu[i]?r.value!=="":r.specified)?r.value:t},set:function(n,t,i){var u=n.getAttributeNode(i);return u||(u=r.createAttribute(i),n.setAttributeNode(u)),u.value=t+""}},i.each(["width","height"],function(n,t){i.attrHooks[t]=i.extend(i.attrHooks[t],{set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}})}),i.attrHooks.contenteditable={get:s.get,set:function(n,t,i){t===""&&(t="false"),s.set(n,t,i)}}),i.support.hrefNormalized||i.each(["href","src","width","height"],function(n,r){i.attrHooks[r]=i.extend(i.attrHooks[r],{get:function(n){var i=n.getAttribute(r,2);return i===null?t:i}})}),i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText.toLowerCase()||t},set:function(n,t){return n.style.cssText=t+""}}),i.support.optSelected||(i.propHooks.selected=i.extend(i.propHooks.selected,{get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),i.support.enctype||(i.propFix.enctype="encoding"),i.support.checkOn||i.each(["radio","checkbox"],function(){i.valHooks[this]={get:function(n){return n.getAttribute("value")===null?"on":n.value}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]=i.extend(i.valHooks[this],{set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}})});var wt=/^(?:textarea|input|select)$/i,pi=/^([^\.]*|)(?:\.(.+)|)$/,ho=/(?:^|\s)hover(\.\S+|)\b/,co=/^key/,so=/^(?:mouse|contextmenu)|click/,ui=/^(?:focusinfocus|focusoutblur)$/,fi=function(n){return i.event.special.hover?n:n.replace(ho,"mouseenter$1 mouseleave$1")};i.event={add:function(n,r,u,f,e){var v,h,a,y,w,o,b,l,p,c,s;if(n.nodeType!==3&&n.nodeType!==8&&r&&u&&(v=i._data(n))){for(u.handler&&(p=u,u=p.handler,e=p.selector),u.guid||(u.guid=i.guid++),a=v.events,a||(v.events=a={}),h=v.handle,h||(v.handle=h=function(n){return typeof i=="undefined"||!!n&&i.event.triggered===n.type?t:i.event.dispatch.apply(h.elem,arguments)},h.elem=n),r=i.trim(fi(r)).split(" "),y=0;y<r.length;y++)w=pi.exec(r[y])||[],o=w[1],b=(w[2]||"").split(".").sort(),s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},l=i.extend({type:o,origType:w[1],data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.join(".")},p),c=a[o],c||(c=a[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,b,h)!==!1||(n.addEventListener?n.addEventListener(o,h,!1):n.attachEvent&&n.attachEvent("on"+o,h))),s.add&&(s.add.call(n,l),l.handler.guid||(l.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,l):c.push(l),i.event.global[o]=!0;n=null}},global:{},remove:function(n,t,r,u,f){var v,p,e,w,h,b,a,l,c,o,s,y=i.hasData(n)&&i._data(n);if(y&&(l=y.events)){for(t=i.trim(fi(t||"")).split(" "),v=0;v<t.length;v++){if(p=pi.exec(t[v])||[],e=w=p[1],h=p[2],!e){for(e in l)i.event.remove(n,e+t[v],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,o=l[e]||[],b=o.length,h=h?new RegExp("(^|\\.)"+h.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a=0;a<o.length;a++)s=o[a],(f||w===s.origType)&&(!r||r.guid===s.guid)&&(!h||h.test(s.namespace))&&(!u||u===s.selector||u==="**"&&s.selector)&&(o.splice(a--,1),s.selector&&o.delegateCount--,c.remove&&c.remove.call(n,s));o.length===0&&b!==o.length&&((!c.teardown||c.teardown.call(n,h,y.handle)===!1)&&i.removeEvent(n,e,y.handle),delete l[e])}i.isEmptyObject(l)&&(delete y.handle,i.removeData(n,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(u,f,e,o){if(!e||e.nodeType!==3&&e.nodeType!==8){var w,d,l,h,c,y,a,v,p,k,s=u.type||u,b=[];if(ui.test(s+i.event.triggered))return;if(s.indexOf("!")>=0&&(s=s.slice(0,-1),d=!0),s.indexOf(".")>=0&&(b=s.split("."),s=b.shift(),b.sort()),(!e||i.event.customEvent[s])&&!i.event.global[s])return;if(u=typeof u=="object"?u[i.expando]?u:new i.Event(s,u):new i.Event(s),u.type=s,u.isTrigger=!0,u.exclusive=d,u.namespace=b.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,y=s.indexOf(":")<0?"on"+s:"",!e){w=i.cache;for(l in w)w[l].events&&w[l].events[s]&&i.event.trigger(u,f,w[l].handle.elem,!0);return}if(u.result=t,u.target||(u.target=e),f=f!=null?i.makeArray(f):[],f.unshift(u),a=i.event.special[s]||{},a.trigger&&a.trigger.apply(e,f)===!1)return;if(p=[[e,a.bindType||s]],!o&&!a.noBubble&&!i.isWindow(e)){for(k=a.delegateType||s,h=ui.test(k+s)?e:e.parentNode,c=e;h;h=h.parentNode)p.push([h,k]),c=h;c===(e.ownerDocument||r)&&p.push([c.defaultView||c.parentWindow||n,k])}for(l=0;l<p.length&&!u.isPropagationStopped();l++)h=p[l][0],u.type=p[l][1],v=(i._data(h,"events")||{})[u.type]&&i._data(h,"handle"),v&&v.apply(h,f),v=y&&h[y],v&&i.acceptData(h)&&v.apply&&v.apply(h,f)===!1&&u.preventDefault();return u.type=s,!o&&!u.isDefaultPrevented()&&(!a._default||a._default.apply(e.ownerDocument,f)===!1)&&(s!=="click"||!i.nodeName(e,"a"))&&i.acceptData(e)&&y&&e[s]&&(s!=="focus"&&s!=="blur"||u.target.offsetWidth!==0)&&!i.isWindow(e)&&(c=e[y],c&&(e[y]=null),i.event.triggered=s,e[s](),i.event.triggered=t,c&&(e[y]=c)),u.result}return},dispatch:function(r){r=i.event.fix(r||n.event);var f,b,e,w,p,h,y,u,s,g,c=(i._data(this,"events")||{})[r.type]||[],l=c.delegateCount,k=o.call(arguments),d=!r.exclusive&&!r.namespace,v=i.event.special[r.type]||{},a=[];if(k[0]=r,r.delegateTarget=this,!v.preDispatch||v.preDispatch.call(this,r)!==!1){if(l&&(!r.button||r.type!=="click"))for(e=r.target;e!=this;e=e.parentNode||this)if(e.disabled!==!0||r.type!=="click"){for(p={},y=[],f=0;f<l;f++)u=c[f],s=u.selector,p[s]===t&&(p[s]=u.needsContext?i(s,this).index(e)>=0:i.find(s,this,null,[e]).length),p[s]&&y.push(u);y.length&&a.push({elem:e,matches:y})}for(c.length>l&&a.push({elem:this,matches:c.slice(l)}),f=0;f<a.length&&!r.isPropagationStopped();f++)for(h=a[f],r.currentTarget=h.elem,b=0;b<h.matches.length&&!r.isImmediatePropagationStopped();b++)u=h.matches[b],(d||!r.namespace&&!u.namespace||r.namespace_re&&r.namespace_re.test(u.namespace))&&(r.data=u.data,r.handleObj=u,w=((i.event.special[u.origType]||{}).handle||u.handler).apply(h.elem,k),w!==t&&(r.result=w,w===!1&&(r.preventDefault(),r.stopPropagation())));return v.postDispatch&&v.postDispatch.call(this,r),r.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return n.which==null&&(n.which=t.charCode!=null?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var s,f,u,e=i.button,o=i.fromElement;return n.pageX==null&&i.clientX!=null&&(s=n.target.ownerDocument||r,f=s.documentElement,u=s.body,n.pageX=i.clientX+(f&&f.scrollLeft||u&&u.scrollLeft||0)-(f&&f.clientLeft||u&&u.clientLeft||0),n.pageY=i.clientY+(f&&f.scrollTop||u&&u.scrollTop||0)-(f&&f.clientTop||u&&u.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?i.toElement:o),!n.which&&e!==t&&(n.which=e&1?1:e&2?3:e&4?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,t=n,u=i.event.fixHooks[n.type]||{},o=u.props?this.props.concat(u.props):this.props;for(n=i.Event(t),f=o.length;f;)e=o[--f],n[e]=t[e];return n.target||(n.target=t.srcElement||r),n.target.nodeType===3&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,u.filter?u.filter(n,t):n},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(n,t,r){i.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(n,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f),f.isDefaultPrevented()&&r.preventDefault()}},i.event.handle=i.event.dispatch,i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]=="undefined"&&(n[r]=null),n.detachEvent(r,i))},i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?ct:y):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),this[i.expando]=!0},i.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ct;var n=this.originalEvent;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=ct;var n=this.originalEvent;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ct,this.stopPropagation()},isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y},i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var f,e=this,r=n.relatedTarget,u=n.handleObj,o=u.selector;return r&&(r===e||i.contains(e,r))||(n.type=u.origType,f=u.handler.apply(this,arguments),n.type=t),f}}}),i.support.submitBubbles||(i.event.special.submit={setup:function(){if(i.nodeName(this,"form"))return!1;i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!i._data(r,"_submit_attached")&&(i.event.add(r,"submit._submit",function(n){n._submit_bubble=!0}),i._data(r,"_submit_attached",!0))})},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){if(i.nodeName(this,"form"))return!1;i.event.remove(this,"._submit")}}),i.support.changeBubbles||(i.event.special.change={setup:function(){if(wt.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(i.event.add(this,"propertychange._change",function(n){n.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1),i.event.simulate("change",this,n,!0)})),!1;i.event.add(this,"beforeactivate._change",function(n){var t=n.target;wt.test(t.nodeName)&&!i._data(t,"_change_attached")&&(i.event.add(t,"change._change",function(n){this.parentNode&&!n.isSimulated&&!n.isTrigger&&i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"_change_attached",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!wt.test(this.nodeName)}}),i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var f=0,u=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){f++==0&&r.addEventListener(n,u,!0)},teardown:function(){--f==0&&r.removeEventListener(n,u,!0)}}}),i.fn.extend({on:function(n,r,u,f,e){var o,s;if(typeof n=="object"){typeof r!="string"&&(u=u||r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(u==null&&f==null?(f=r,u=r=t):f==null&&(typeof r=="string"?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=y;else if(!f)return this;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if(typeof n=="object"){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||typeof r=="function")&&(u=r,r=t),u===!1&&(u=y),this.each(function(){i.event.remove(this,n,u,r)})},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},live:function(n,t,r){return i(this.context).on(n,this.selector,t,r),this},die:function(n,t){return i(this.context).off(n,this.selector||"**",t),this},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){if(this[0])return i.event.trigger(n,t,this[0],!0)},toggle:function(n){var r=arguments,f=n.guid||i.guid++,t=0,u=function(u){var f=(i._data(this,"lastToggle"+n.guid)||0)%t;return i._data(this,"lastToggle"+n.guid,f+1),u.preventDefault(),r[f].apply(this,arguments)||!1};for(u.guid=f;t<r.length;)r[t++].guid=f;return this.click(u)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return i==null&&(i=n,n=null),arguments.length>0?this.on(t,null,n,i):this.trigger(t)},co.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks),so.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)}),function(n,t){function r(n,t,i,r){i=i||[],t=t||h;var e,u,s,f,o=t.nodeType;if(!n||typeof n!="string")return i;if(o!==1&&o!==9)return[];if(s=et(t),!s&&!r&&(e=tr.exec(n)))if(f=e[1]){if(o===9){if(u=t.getElementById(f),!u||!u.parentNode)return i;if(u.id===f)return i.push(u),i}else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ti(t,u)&&u.id===f)return i.push(u),i}else{if(e[2])return w.apply(i,p.call(t.getElementsByTagName(n),0)),i;if((f=e[3])&&gt&&t.getElementsByClassName)return w.apply(i,p.call(t.getElementsByClassName(f),0)),i}return ct(n.replace(tt,"$1"),t,i,r,s)}function k(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function oi(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function y(n){return s(function(t){return t=+t,s(function(i,r){for(var u,e=n([],i.length,t),f=e.length;f--;)i[u=e[f]]&&(i[u]=!(r[u]=i[u]))})})}function rt(n,t,i){if(n===t)return i;for(var r=n.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}function d(n,t){var o,f,l,s,i,c,h,a=fi[e][n+" "];if(a)return t?0:a.slice(0);for(i=n,c=[],h=u.preFilter;i;){(!o||(f=nr.exec(i)))&&(f&&(i=i.slice(f[0].length)||i),c.push(l=[])),o=!1,(f=rr.exec(i))&&(l.push(o=new si(f.shift())),i=i.slice(o.length),o.type=f[0].replace(tt," "));for(s in u.filter)(f=g[s].exec(i))&&(!h[s]||(f=h[s](f)))&&(l.push(o=new si(f.shift())),i=i.slice(o.length),o.type=s,o.matches=f);if(!o)break}return t?i.length:i?r.error(n):fi(n,c).slice(0)}function bt(n,t,i){var u=t.dir,r=i&&t.dir==="parentNode",f=gi++;return t.first?function(t,i,f){while(t=t[u])if(r||t.nodeType===1)return n(t,i,f)}:function(t,i,o){if(o){while(t=t[u])if((r||t.nodeType===1)&&n(t,i,o))return t}else for(var s,c=it+" "+f+" ",h=c+ot;t=t[u];)if(r||t.nodeType===1){if((s=t[e])===h)return t.sizset;if(typeof s=="string"&&s.indexOf(c)===0){if(t.sizset)return t}else{if(t[e]=h,n(t,i,o))return t.sizset=!0,t;t.sizset=!1}}}}function wt(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function ft(n,t,i,r,u){for(var e,o=[],f=0,h=n.length,s=t!=null;f<h;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),s&&t.push(f));return o}function at(n,t,i,r,u,f){return r&&!r[e]&&(r=at(r)),u&&!u[e]&&(u=at(u,f)),s(function(f,e,o,s){var l,c,a,p=[],y=[],b=e.length,k=f||di(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?ft(k,p,n,o,s):k,h=i?u||(f?n:b||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=ft(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?ht.call(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=ft(h===e?h.splice(b,h.length):h),u?u(null,e,h,s):w.apply(e,h)})}function lt(n){for(var h,r,i,o=n.length,s=u.relative[n[0].type],c=s||u.relative[" "],t=s?1:0,l=bt(function(n){return n===h},c,!0),a=bt(function(n){return ht.call(h,n)>-1},c,!0),f=[function(n,t,i){return!s&&(i||t!==nt)||((h=t).nodeType?l(n,t,i):a(n,t,i))}];t<o;t++)if(r=u.relative[n[t].type])f=[bt(wt(f),r)];else{if(r=u.filter[n[t].type].apply(null,n[t].matches),r[e]){for(i=++t;i<o;i++)if(u.relative[n[i].type])break;return at(t>1&&wt(f),t>1&&n.slice(0,t-1).join("").replace(tt,"$1"),r,t<i&&lt(n.slice(t,i)),i<o&&lt(n=n.slice(i)),i<o&&n.join(""))}f.push(r)}return wt(f)}function bi(n,t){var f=t.length>0,e=n.length>0,i=function(o,s,c,l,a){var p,b,d,y=[],k=0,v="0",tt=o&&[],g=a!=null,ut=nt,et=o||e&&u.find.TAG("*",a&&s.parentNode||s),rt=it+=ut==null?1:Math.E;for(g&&(nt=s!==h&&s,ot=i.el);(p=et[v])!=null;v++){if(e&&p){for(b=0;d=n[b];b++)if(d(p,s,c)){l.push(p);break}g&&(it=rt,ot=++i.el)}f&&((p=!d&&p)&&k--,o&&tt.push(p))}if(k+=v,f&&v!==k){for(b=0;d=t[b];b++)d(tt,y,s,c);if(o){if(k>0)while(v--)!tt[v]&&!y[v]&&(y[v]=ki.call(l));y=ft(y)}w.apply(l,y),g&&!o&&y.length>0&&k+t.length>1&&r.uniqueSort(l)}return g&&(it=rt,nt=ut),tt};return i.el=0,f?s(i):i}function di(n,t,i){for(var u=0,f=t.length;u<f;u++)r(n,t[u],i);return i}function ct(n,t,i,r,f){var h,e,s,l,c,o=d(n),a=o.length;if(!r&&o.length===1){if(e=o[0]=o[0].slice(0),e.length>2&&(s=e[0]).type==="ID"&&t.nodeType===9&&!f&&u.relative[e[1].type]){if(t=u.find.ID(s.matches[0].replace(v,""),t,f)[0],!t)return i;n=n.slice(e.shift().length)}for(h=g.POS.test(n)?-1:e.length-1;h>=0;h--){if(s=e[h],u.relative[l=s.type])break;if((c=u.find[l])&&(r=c(s.matches[0].replace(v,""),vt.test(e[0].type)&&t.parentNode||t,f))){if(e.splice(h,1),n=r.length&&e.join(""),!n)return w.apply(i,p.call(r,0)),i;break}}}return kt(n,o)(r,t,f,i,vt.test(n)),i}function ei(){}var ot,pt,u,ut,et,ti,kt,dt,b,nt,ii=!0,c="undefined",e=("sizcache"+Math.random()).replace(".",""),si=String,h=n.document,o=h.documentElement,it=0,gi=0,ki=[].pop,w=[].push,p=[].slice,ht=[].indexOf||function(n){for(var t=0,i=this.length;t<i;t++)if(this[t]===n)return t;return-1},s=function(n,t){return n[e]=t==null||t,n},st=function(){var n={},t=[];return s(function(i,r){return t.push(i)>u.cacheLength&&delete n[t.shift()],n[i+" "]=r},n)},ui=st(),fi=st(),hi=st(),f="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",wi=a.replace("w","w#"),ir="([*^$|!~]?=)",ni="\\["+f+"*("+a+")"+f+"*(?:"+ir+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+wi+")|)|)"+f+"*\\]",yt=":("+a+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+ni+")|[^:]|\\\\.)*|.*))\\)|)",ri=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)",tt=new RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),nr=new RegExp("^"+f+"*,"+f+"*"),rr=new RegExp("^"+f+"*([\\x20\\t\\r\\n\\f>+~])"+f+"*"),ur=new RegExp(yt),tr=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,or=/^:not/,vt=/[\x20\t\r\n\f]*[+~]/,er=/:not\($/,ai=/h\d/i,ci=/input|select|textarea|button/i,v=/\\(?!\\)/g,g={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),NAME:new RegExp("^\\[name=['\"]?("+a+")['\"]?\\]"),TAG:new RegExp("^("+a.replace("w","w*")+")"),ATTR:new RegExp("^"+ni),PSEUDO:new RegExp("^"+yt),POS:new RegExp(ri,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),needsContext:new RegExp("^"+f+"*[>+~]|"+ri,"i")},l=function(n){var t=h.createElement("div");try{return n(t)}catch(i){return!1}finally{t=null}},yi=l(function(n){return n.appendChild(h.createComment("")),!n.getElementsByTagName("*").length}),li=l(function(n){return n.innerHTML="<a href='#'></a>",n.firstChild&&typeof n.firstChild.getAttribute!==c&&n.firstChild.getAttribute("href")==="#"}),pi=l(function(n){n.innerHTML="<select></select>";var t=typeof n.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),gt=l(function(n){return n.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!n.getElementsByClassName||!n.getElementsByClassName("e").length?!1:(n.lastChild.className="e",n.getElementsByClassName("e").length===2)}),vi=l(function(n){n.id=e+0,n.innerHTML="<a name='"+e+"'></a><div name='"+e+"'></div>",o.insertBefore(n,o.firstChild);var t=h.getElementsByName&&h.getElementsByName(e).length===2+h.getElementsByName(e+0).length;return pt=!h.getElementById(e),o.removeChild(n),t});try{p.call(o.childNodes,0)[0].nodeType}catch(fr){p=function(n){for(var i,t=[];i=this[n];n++)t.push(i);return t}}r.matches=function(n,t){return r(n,null,null,t)},r.matchesSelector=function(n,t){return r(t,null,null,[n]).length>0},ut=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=ut(n)}else if(t===3||t===4)return n.nodeValue}else for(;r=n[u];u++)i+=ut(r);return i},et=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1},ti=r.contains=o.contains?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&r.contains&&r.contains(i))}:o.compareDocumentPosition?function(n,t){return t&&!!(n.compareDocumentPosition(t)&16)}:function(n,t){while(t=t.parentNode)if(t===n)return!0;return!1},r.attr=function(n,t){var i,r=et(n);return r||(t=t.toLowerCase()),(i=u.attrHandle[t])?i(n):r||pi?n.getAttribute(t):(i=n.getAttributeNode(t),i?typeof n[t]=="boolean"?n[t]?t:null:i.specified?i.value:null:null)},u=r.selectors={cacheLength:50,createPseudo:s,match:g,attrHandle:li?{}:{href:function(n){return n.getAttribute("href",2)},type:function(n){return n.getAttribute("type")}},find:{ID:pt?function(n,t,i){if(typeof t.getElementById!==c&&!i){var r=t.getElementById(n);return r&&r.parentNode?[r]:[]}}:function(n,i,r){if(typeof i.getElementById!==c&&!r){var u=i.getElementById(n);return u?u.id===n||typeof u.getAttributeNode!==c&&u.getAttributeNode("id").value===n?[u]:t:[]}},TAG:yi?function(n,t){if(typeof t.getElementsByTagName!==c)return t.getElementsByTagName(n)}:function(n,t){var f=t.getElementsByTagName(n),r,i,u;if(n==="*"){for(i=[],u=0;r=f[u];u++)r.nodeType===1&&i.push(r);return i}return f},NAME:vi&&function(n,t){if(typeof t.getElementsByName!==c)return t.getElementsByName(name)},CLASS:gt&&function(n,t,i){if(typeof t.getElementsByClassName!==c&&!i)return t.getElementsByClassName(n)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(v,""),n[3]=(n[4]||n[5]||"").replace(v,""),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1]==="nth"?(n[2]||r.error(n[0]),n[3]=+(n[3]?n[4]+(n[5]||1):2*(n[2]==="even"||n[2]==="odd")),n[4]=+(n[6]+n[7]||n[2]==="odd")):n[2]&&r.error(n[0]),n},PSEUDO:function(n){var t,i;return g.CHILD.test(n[0])?null:(n[3]?n[2]=n[3]:(t=n[4])&&(ur.test(t)&&(i=d(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(t=t.slice(0,i),n[0]=n[0].slice(0,i)),n[2]=t),n.slice(0,3))}},filter:{ID:pt?function(n){return n=n.replace(v,""),function(t){return t.getAttribute("id")===n}}:function(n){return n=n.replace(v,""),function(t){var i=typeof t.getAttributeNode!==c&&t.getAttributeNode("id");return i&&i.value===n}},TAG:function(n){return n==="*"?function(){return!0}:(n=n.replace(v,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===n})},CLASS:function(n){var t=ui[e][n+" "];return t||(t=new RegExp("(^|"+f+")"+n+"("+f+"|$)"))&&ui(n,function(n){return t.test(n.className||typeof n.getAttribute!==c&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(u){var e=r.attr(u,n);return e==null?t==="!=":t?(e+="",t==="="?e===i:t==="!="?e!==i:t==="^="?i&&e.indexOf(i)===0:t==="*="?i&&e.indexOf(i)>-1:t==="$="?i&&e.substr(e.length-i.length)===i:t==="~="?(" "+e+" ").indexOf(i)>-1:t==="|="?e===i||e.substr(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r){return n==="nth"?function(n){var u,t,f=n.parentNode;if(i===1&&r===0)return!0;if(f)for(t=0,u=f.firstChild;u;u=u.nextSibling)if(u.nodeType===1&&(t++,n===u))break;return t-=r,t===i||t%i==0&&t/i>=0}:function(t){var i=t;switch(n){case"only":case"first":while(i=i.previousSibling)if(i.nodeType===1)return!1;if(n==="first")return!0;i=t;case"last":while(i=i.nextSibling)if(i.nodeType===1)return!1;return!0}}},PSEUDO:function(n,t){var f,i=u.pseudos[n]||u.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return i[e]?i(t):i.length>1?(f=[n,n,"",t],u.setFilters.hasOwnProperty(n.toLowerCase())?s(function(n,r){for(var e,f=i(n,t),u=f.length;u--;)e=ht.call(n,f[u]),n[e]=!(r[e]=f[u])}):function(n){return i(n,0,f)}):i}},pseudos:{not:s(function(n){var i=[],r=[],t=kt(n.replace(tt,"$1"));return t[e]?s(function(n,i,r,u){for(var e,o=t(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),!r.pop()}}),has:s(function(n){return function(t){return r(n,t).length>0}}),contains:s(function(n){return function(t){return(t.textContent||t.innerText||ut(t)).indexOf(n)>-1}}),enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},parent:function(n){return!u.pseudos.empty(n)},empty:function(n){var t;for(n=n.firstChild;n;){if(n.nodeName>"@"||(t=n.nodeType)===3||t===4)return!1;n=n.nextSibling}return!0},header:function(n){return ai.test(n.nodeName)},text:function(n){var i,t;return n.nodeName.toLowerCase()==="input"&&(i=n.type)==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()===i)},radio:k("radio"),checkbox:k("checkbox"),file:k("file"),password:k("password"),image:k("image"),submit:oi("submit"),reset:oi("reset"),button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},input:function(n){return ci.test(n.nodeName)},focus:function(n){var t=n.ownerDocument;return n===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},active:function(n){return n===n.ownerDocument.activeElement},first:y(function(){return[0]}),last:y(function(n,t){return[t-1]}),eq:y(function(n,t,i){return[i<0?i+t:i]}),even:y(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:y(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:y(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:y(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}},dt=o.compareDocumentPosition?function(n,t){return n===t?(b=!0,0):(!n.compareDocumentPosition||!t.compareDocumentPosition?n.compareDocumentPosition:n.compareDocumentPosition(t)&4)?-1:1}:function(n,t){var i;if(n===t)return b=!0,0;if(n.sourceIndex&&t.sourceIndex)return n.sourceIndex-t.sourceIndex;var o,h,f=[],u=[],s=n.parentNode,e=t.parentNode,r=s;if(s===e)return rt(n,t);if(!s)return-1;if(!e)return 1;while(r)f.unshift(r),r=r.parentNode;for(r=e;r;)u.unshift(r),r=r.parentNode;for(o=f.length,h=u.length,i=0;i<o&&i<h;i++)if(f[i]!==u[i])return rt(f[i],u[i]);return i===o?rt(n,u[i],-1):rt(f[i],t,1)},[0,0].sort(dt),ii=!b,r.uniqueSort=function(n){var u,r=[],t=1,i=0;if(b=ii,n.sort(dt),b){for(;u=n[t];t++)u===n[t-1]&&(i=r.push(t));while(i--)n.splice(r[i],1)}return n},r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},kt=r.compile=function(n,t){var r,u=[],f=[],i=hi[e][n+" "];if(!i){for(t||(t=d(n)),r=t.length;r--;)i=lt(t[r]),i[e]?u.push(i):f.push(i);i=hi(n,bi(f,u))}return i},h.querySelectorAll&&function(){var u,h=ct,c=/'|\\/g,s=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,n=[":focus"],i=[":active"],t=o.matchesSelector||o.mozMatchesSelector||o.webkitMatchesSelector||o.oMatchesSelector||o.msMatchesSelector;l(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||n.push("\\["+f+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||n.push(":checked")}),l(function(t){t.innerHTML="<p test=''></p>",t.querySelectorAll("[test^='']").length&&n.push("[*^$]="+f+"*(?:\"\"|'')"),t.innerHTML="<input type='hidden'/>",t.querySelectorAll(":enabled").length||n.push(":enabled",":disabled")}),n=new RegExp(n.join("|")),ct=function(t,i,r,u,f){if(!u&&!f&&!n.test(t)){var s,l,v=!0,o=e,y=i,a=i.nodeType===9&&t;if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){for(s=d(t),(v=i.getAttribute("id"))?o=v.replace(c,"\\$&"):i.setAttribute("id",o),o="[id='"+o+"'] ",l=s.length;l--;)s[l]=o+s[l].join("");y=vt.test(t)&&i.parentNode||i,a=s.join(",")}if(a)try{return w.apply(r,p.call(y.querySelectorAll(a),0)),r}catch(b){}finally{v||i.removeAttribute("id")}}return h(t,i,r,u,f)},t&&(l(function(n){u=t.call(n,"div");try{t.call(n,"[test!='']:sizzle"),i.push("!=",yt)}catch(r){}}),i=new RegExp(i.join("|")),r.matchesSelector=function(f,e){if(e=e.replace(s,"='$1']"),!et(f)&&!i.test(e)&&!n.test(e))try{var o=t.call(f,e);if(o||u||f.document&&f.document.nodeType!==11)return o}catch(h){}return r(e,null,null,[f]).length>0})}(),u.pseudos.nth=u.pseudos.eq,u.filters=ei.prototype=u.pseudos,u.setFilters=new ei,r.attr=i.attr,i.find=r,i.expr=r.selectors,i.expr[":"]=i.expr.pseudos,i.unique=r.uniqueSort,i.text=r.getText,i.isXMLDoc=r.isXML,i.contains=r.contains}(n);var eo=/Until$/,oo=/^(?:parents|prev(?:Until|All))/,yo=/^.[^:#\[\.,]*$/,ci=i.expr.match.needsContext,po={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,e,o,u,f,r,s=this;if(typeof n!="string")return i(n).filter(function(){for(t=0,e=s.length;t<e;t++)if(i.contains(s[t],this))return!0});for(r=this.pushStack("","find",n),t=0,e=this.length;t<e;t++)if(o=r.length,i.find(n,this[t],r),t>0)for(u=o;u<r.length;u++)for(f=0;f<o;f++)if(r[f]===r[u]){r.splice(u--,1);break}return r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t<u;t++)if(i.contains(this,r[t]))return!0})},not:function(n){return this.pushStack(yr(this,n,!1),"not",n)},filter:function(n){return this.pushStack(yr(this,n,!0),"filter",n)},is:function(n){return!!n&&(typeof n=="string"?ci.test(n)?i(n,this.context).index(this[0])>=0:i.filter(n,this).length>0:this.filter(n).length>0)},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=ci.test(n)||typeof n!="string"?i(n,t||this.context):0;f<o;f++)for(r=this[f];r&&r.ownerDocument&&r!==t&&r.nodeType!==11;){if(e?e.index(r)>-1:i.find.matchesSelector(r,n)){u.push(r);break}r=r.parentNode}return u=u.length>1?i.unique(u):u,this.pushStack(u,"closest",n)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(n,t){var u=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(d(u[0])||d(r[0])?r:i.unique(r))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}}),i.fn.andSelf=i.fn.addBack,i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return kr(n,"nextSibling")},prev:function(n){return kr(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return eo.test(n)||(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),f=this.length>1&&!po[n]?i.unique(f):f,this.length>1&&oo.test(n)&&(f=f.reverse()),this.pushStack(f,n,o.call(arguments).join(","))}}),i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),t.length===1?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var si="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vo=/ jQuery\d+="(?:null|\d+)"/g,bt=/^\s+/,or=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,er=/<([\w:]+)/,lo=/<tbody/i,ao=/<|&#?\w+;/,fo=/<(?:script|style|link)/i,de=/<(?:script|object|embed|option|style)/i,kt=new RegExp("<(?:"+si+")[\\s/>]","i"),nu=/^(?:checkbox|radio)$/,sr=/checked\s*(?:[^=]|=\s*.checked.)/i,we=/\/(java|ecma)script/i,be=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,e={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,"",""]},nr=br(r),ni=nr.appendChild(r.createElement("div"));e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,i.support.htmlSerialize||(e._default=[1,"X<div>","</div>"]),i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var r=i(this),t=r.contents();t.length?t.wrapAll(n):r.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(n,this.firstChild)})},before:function(){if(!d(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(n,this),"before",this.selector)}},after:function(){if(!d(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(this,n),"after",this.selector)}},remove:function(n,t){for(var r,u=0;(r=this[u])!=null;u++)(!n||i.filter(n,[r]).length)&&(!t&&r.nodeType===1&&(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)for(n.nodeType===1&&i.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},u=0,f=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(vo,""):t;if(typeof n=="string"&&!fo.test(n)&&(i.support.htmlSerialize||!kt.test(n))&&(i.support.leadingWhitespace||!bt.test(n))&&!e[(er.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(or,"<$1></$2>");try{for(;u<f;u++)r=this[u]||{},r.nodeType===1&&(i.cleanData(r.getElementsByTagName("*")),r.innerHTML=n);r=0}catch(o){}}r&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(n){return d(this[0])?this.length?this.pushStack(i(i.isFunction(n)?n():n),"replaceWith",n):this:i.isFunction(n)?this.each(function(t){var r=i(this),u=r.html();r.replaceWith(n.call(this,t,u))}):(typeof n!="string"&&(n=i(n).detach()),this.each(function(){var t=this.nextSibling,r=this.parentNode;i(this).remove(),t?i(t).before(n):i(r).append(n)}))},detach:function(n){return this.remove(n,!0)},domManip:function(n,r,u){n=[].concat.apply([],n);var l,o,f,a,e=0,s=n[0],h=[],c=this.length;if(!i.support.checkClone&&c>1&&typeof s=="string"&&sr.test(s))return this.each(function(){i(this).domManip(n,r,u)});if(i.isFunction(s))return this.each(function(f){var e=i(this);n[0]=s.call(this,f,r?e.html():t),e.domManip(n,r,u)});if(this[0]){if(l=i.buildFragment(n,this,h),f=l.fragment,o=f.firstChild,f.childNodes.length===1&&(f=o),o)for(r=r&&i.nodeName(o,"tr"),a=l.cacheable||c-1;e<c;e++)u.call(r&&i.nodeName(this[e],"table")?uf(this[e],"tbody"):this[e],e===a?f:i.clone(f,!0,!0));f=o=null,h.length&&i.each(h,function(n,t){t.src?i.ajax?i.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):i.error("no ajax"):i.globalEval((t.text||t.textContent||t.innerHTML||"").replace(be,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),i.buildFragment=function(n,u,f){var o,s,h,e=n[0];return u=u||r,u=!u.nodeType&&u[0]||u,u=u.ownerDocument||u,n.length===1&&typeof e=="string"&&e.length<512&&u===r&&e.charAt(0)==="<"&&!de.test(e)&&(i.support.checkClone||!sr.test(e))&&(i.support.html5Clone||!kt.test(e))&&(s=!0,o=i.fragments[e],h=o!==t),o||(o=u.createDocumentFragment(),i.clean(n,u,o,f),s&&(i.fragments[e]=h&&o)),{fragment:o,cacheable:s}},i.fragments={},i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(r){var s,e=0,o=[],f=i(r),h=f.length,u=this.length===1&&this[0].parentNode;if((u==null||u&&u.nodeType===11&&u.childNodes.length===1)&&h===1)return f[t](this[0]),this;for(;e<h;e++)s=(e>0?this.clone(!0):this).get(),i(f[e])[t](s),o=o.concat(s);return this.pushStack(o,n,f.selector)}}),i.extend({clone:function(n,t,r){var e,o,u,f;if(i.support.html5Clone||i.isXMLDoc(n)||!kt.test("<"+n.nodeName+">")?f=n.cloneNode(!0):(ni.innerHTML=n.outerHTML,ni.removeChild(f=ni.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(vi(n,f),e=ht(n),o=ht(f),u=0;e[u];++u)o[u]&&vi(e[u],o[u]);if(t&&(wr(n,f),r))for(e=ht(n),o=ht(f),u=0;e[u];++u)wr(e[u],o[u]);return e=o=null,f},clean:function(n,t,u,f){var h,l,o,w,v,d,s,k,a,g,b,p,y=t===r&&nr,c=[];for(t&&typeof t.createDocumentFragment!="undefined"||(t=r),h=0;(o=n[h])!=null;h++)if(typeof o=="number"&&(o+=""),o){if(typeof o=="string")if(ao.test(o)){for(y=y||br(t),s=t.createElement("div"),y.appendChild(s),o=o.replace(or,"<$1></$2>"),w=(er.exec(o)||["",""])[1].toLowerCase(),v=e[w]||e._default,d=v[0],s.innerHTML=v[1]+o+v[2];d--;)s=s.lastChild;if(!i.support.tbody)for(k=lo.test(o),a=w==="table"&&!k?s.firstChild&&s.firstChild.childNodes:v[1]==="<table>"&&!k?s.childNodes:[],l=a.length-1;l>=0;--l)i.nodeName(a[l],"tbody")&&!a[l].childNodes.length&&a[l].parentNode.removeChild(a[l]);!i.support.leadingWhitespace&&bt.test(o)&&s.insertBefore(t.createTextNode(bt.exec(o)[0]),s.firstChild),o=s.childNodes,s.parentNode.removeChild(s)}else o=t.createTextNode(o);o.nodeType?c.push(o):i.merge(c,o)}if(s&&(o=s=y=null),!i.support.appendChecked)for(h=0;(o=c[h])!=null;h++)i.nodeName(o,"input")?oi(o):typeof o.getElementsByTagName!="undefined"&&i.grep(o.getElementsByTagName("input"),oi);if(u)for(b=function(n){if(!n.type||we.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},h=0;(o=c[h])!=null;h++)i.nodeName(o,"script")&&b(o)||(u.appendChild(o),typeof o.getElementsByTagName!="undefined"&&(p=i.grep(i.merge([],o.getElementsByTagName("script")),b),c.splice.apply(c,[h+1,0].concat(p)),h+=p.length));return c},cleanData:function(n,t){for(var f,u,r,o,h=0,e=i.expando,s=i.cache,l=i.support.deleteExpando,c=i.event.special;(r=n[h])!=null;h++)if((t||i.acceptData(r))&&(u=r[e],f=u&&s[u],f)){if(f.events)for(o in f.events)c[o]?i.event.remove(r,o):i.removeEvent(r,o,f.handle);s[u]&&(delete s[u],l?delete r[e]:r.removeAttribute?r.removeAttribute(e):r[e]=null,i.deletedIds.push(u))}}}),function(){var t,n;i.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},t=i.uaMatch(he.userAgent),n={},t.browser&&(n[t.browser]=!0,n.version=t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),i.browser=n,i.sub=function(){function n(t,i){return new n.fn.init(t,i)}i.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),n.fn.constructor=n,n.sub=this.sub,n.fn.init=function(r,u){return u&&u instanceof i&&!(u instanceof n)&&(u=n(u)),i.fn.init.call(this,r,u,t)},n.fn.init.prototype=n.fn;var t=n(r);return n}}();var u,v,p,vt=/alpha\([^)]*\)/i,uo=/opacity=([^)]*)/,io=/^(top|right|bottom|left)$/,no=/^(none|table(?!-c[ea]).+)/,ir=/^margin/,to=new RegExp("^("+it+")(.*)$","i"),et=new RegExp("^("+it+")(?!px)[a-z%]+$","i"),gu=new RegExp("^([-+])=("+it+")","i"),ti={BODY:"block"},nf={position:"absolute",visibility:"hidden",display:"block"},hr={letterSpacing:0,fontWeight:400},h=["Top","Right","Bottom","Left"],lr=["Webkit","O","Moz","ms"],lf=i.fn.toggle;i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return cr(this,!0)},hide:function(){return cr(this)},toggle:function(n,t){var r=typeof n=="boolean";return i.isFunction(n)&&i.isFunction(t)?lf.apply(this,arguments):this.each(function(){(r?n:lt(this))?i(this).show():i(this).hide()})}}),i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=u(n,"opacity");return i===""?"1":i}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var s,h,e,o=i.camelCase(r),c=n.style;if(r=i.cssProps[o]||(i.cssProps[o]=hi(c,o)),e=i.cssHooks[r]||i.cssHooks[o],u===t)return e&&"get"in e&&(s=e.get(n,!1,f))!==t?s:c[r];if((h=typeof u,h==="string"&&(s=gu.exec(u))&&(u=(s[1]+1)*s[2]+parseFloat(i.css(n,r)),h="number"),u!=null&&(h!=="number"||!isNaN(u)))&&(h==="number"&&!i.cssNumber[o]&&(u+="px"),!e||!("set"in e)||(u=e.set(n,u,f))!==t))try{c[r]=u}catch(l){}}},css:function(n,r,f,e){var o,c,s,h=i.camelCase(r);return r=i.cssProps[h]||(i.cssProps[h]=hi(n.style,h)),s=i.cssHooks[r]||i.cssHooks[h],s&&"get"in s&&(o=s.get(n,!0,e)),o===t&&(o=u(n,r)),o==="normal"&&r in hr&&(o=hr[r]),f||e!==t?(c=parseFloat(o),f||i.isNumeric(c)?c||0:o):o},swap:function(n,t,i){var f,r,u={};for(r in t)u[r]=n.style[r],n.style[r]=t[r];f=i.call(n);for(r in t)n.style[r]=u[r];return f}}),n.getComputedStyle?u=function(t,r){var f,o,s,h,e=n.getComputedStyle(t,null),u=t.style;return e&&(f=e.getPropertyValue(r)||e[r],f===""&&!i.contains(t.ownerDocument,t)&&(f=i.style(t,r)),et.test(f)&&ir.test(r)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=e.width,u.width=o,u.minWidth=s,u.maxWidth=h)),f}:r.documentElement.currentStyle&&(u=function(n,t){var f,u,i=n.currentStyle&&n.currentStyle[t],r=n.style;return i==null&&r&&r[t]&&(i=r[t]),et.test(i)&&!io.test(t)&&(f=r.left,u=n.runtimeStyle&&n.runtimeStyle.left,u&&(n.runtimeStyle.left=n.currentStyle.left),r.left=t==="fontSize"?"1em":i,i=r.pixelLeft+"px",r.left=f,u&&(n.runtimeStyle.left=u)),i===""?"auto":i}),i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,f){if(r)return n.offsetWidth===0&&no.test(u(n,"display"))?i.swap(n,nf,function(){return ur(n,t,f)}):ur(n,t,f)},set:function(n,r,u){return rr(n,r,u?wi(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing")==="border-box"):0)}}}),i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return uo.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,f=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",u=f&&f.filter||r.filter||"";(r.zoom=1,t>=1&&i.trim(u.replace(vt,""))===""&&r.removeAttribute&&(r.removeAttribute("filter"),f&&!f.filter))||(r.filter=vt.test(u)?u.replace(vt,e):u+" "+e)}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){return i.swap(n,{display:"inline-block"},function(){if(t)return u(n,"marginRight")})}}),!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r){var f=u(n,t);return et.test(f)?i(n).position()[t]+"px":f}}}})}),i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth===0&&n.offsetHeight===0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||u(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)}),i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var u=typeof i=="string"?i.split(" "):[i],f={},r=0;r<4;r++)f[n+h[r]+t]=u[r]||u[r-2]||u[0];return f}},ir.test(n)||(i.cssHooks[n+t].set=rr)});var cf=/%20/g,hf=/\[\]$/,fr=/\r?\n/g,yf=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vf=/^(?:select|textarea)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vf.test(this.nodeName)||yf.test(this.type))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(fr,"\r\n")}}):{name:t.name,value:r.replace(fr,"\r\n")}}).get()}}),i.param=function(n,r){var f,u=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t,u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(f in n)ri(f,n[f],r,e);return u.join("&").replace(cf,"+")};var a,l,of=/#.*$/,ef=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ff=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,sf=/^(?:GET|HEAD)$/,af=/^\/\//,ei=/\?/,yu=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bu=/([?&])_=[^&]*/,li=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ai=i.fn.load,gt={},ou={},vu=["*/"]+["*"];try{l=fe.href}catch(wo){l=r.createElement("a"),l.href="",l=l.href}a=li.exec(l.toLowerCase())||[],i.fn.load=function(n,r,u){if(typeof n!="string"&&ai)return ai.apply(this,arguments);if(!this.length)return this;var e,o,h,s=this,f=n.indexOf(" ");return f>=0&&(e=n.slice(f,n.length),n=n.slice(0,f)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(o="POST"),i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t){u&&s.each(u,h||[n.responseText,t,n])}}).done(function(n){h=arguments,s.html(e?i("<div>").append(n.replace(yu,"")).find(e):n)}),this},i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}}),i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){return t?gi(n,i.ajaxSettings):(t=n,n=i.ajaxSettings),gi(n,t),n},ajaxSettings:{url:l,isLocal:ff.test(a[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":vu},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:di(gt),ajaxTransport:di(ou),ajax:function(n,r){function p(n,r,h,c){var a,d,w,tt,p,l=r;e!==2&&(e=2,nt&&clearTimeout(nt),v=t,k=c||"",f.readyState=n>0?4:0,h&&(tt=ro(u,f,h)),n>=200&&n<300||n===304?(u.ifModified&&(p=f.getResponseHeader("Last-Modified"),p&&(i.lastModified[o]=p),p=f.getResponseHeader("Etag"),p&&(i.etag[o]=p)),n===304?(l="notmodified",a=!0):(a=ge(u,tt),l=a.state,d=a.data,w=a.error,a=!w)):(w=l,(!l||n)&&(l="error",n<0&&(n=0))),f.status=n,f.statusText=(r||l)+"",a?it.resolveWith(s,[d,l,f]):it.rejectWith(s,[f,l,w]),f.statusCode(b),b=t,y&&g.trigger("ajax"+(a?"Success":"Error"),[f,u,a?d:w]),ft.fireWith(s,[f,l]),y&&(g.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}var d,tt;typeof n=="object"&&(r=n,n=t),r=r||{};var o,k,w,v,nt,l,y,h,u=i.ajaxSetup({},r),s=u.context||u,g=s!==u&&(s.nodeType||s instanceof i)?i(s):i.event,it=i.Deferred(),ft=i.Callbacks("once memory"),b=u.statusCode||{},et={},ot={},e=0,rt="canceled",f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=ot[i]=ot[i]||n,et[n]=t}return this},getAllResponseHeaders:function(){return e===2?k:null},getResponseHeader:function(n){var i;if(e===2){if(!w)for(w={};i=ef.exec(k);)w[i[1].toLowerCase()]=i[2];i=w[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||rt,v&&v.abort(n),p(0,n),this}};if(it.promise(f),f.success=f.done,f.error=f.fail,f.complete=ft.add,f.statusCode=function(n){if(n){var t;if(e<2)for(t in n)b[t]=[b[t],n[t]];else t=n[f.status],f.always(t)}return this},u.url=((n||u.url)+"").replace(of,"").replace(af,a[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(c),u.crossDomain==null&&(l=li.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]===a[1]&&l[2]===a[2]&&(l[3]||(l[1]==="http:"?80:443))==(a[3]||(a[1]==="http:"?80:443)))),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),ut(gt,u,r,f),e===2)return f;y=u.global,u.type=u.type.toUpperCase(),u.hasContent=!sf.test(u.type),y&&i.active++==0&&i.event.trigger("ajaxStart"),u.hasContent||(u.data&&(u.url+=(ei.test(u.url)?"&":"?")+u.data,delete u.data),o=u.url,u.cache===!1&&(d=i.now(),tt=u.url.replace(bu,"$1_="+d),u.url=tt+(tt===u.url?(ei.test(u.url)?"&":"?")+"_="+d:""))),(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(o=o||u.url,i.lastModified[o]&&f.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&f.setRequestHeader("If-None-Match",i.etag[o])),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+vu+"; q=0.01":""):u.accepts["*"]);for(h in u.headers)f.setRequestHeader(h,u.headers[h]);if(!u.beforeSend||u.beforeSend.call(s,f,u)!==!1&&e!==2){rt="abort";for(h in{success:1,error:1,complete:1})f[h](u[h]);if(v=ut(ou,u,r,f),v){f.readyState=1,y&&g.trigger("ajaxSend",[f,u]),u.async&&u.timeout>0&&(nt=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1,v.send(et,p)}catch(st){if(!(e<2))throw st;p(-1,st)}}else p(-1,"No Transport");return f}return f.abort()},active:0,lastModified:{},etag:{}});var pr=[],tf=/\?/,st=/(=)\?(?=&|$)|\?\?/,rf=i.now();i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=pr.pop()||i.expando+"_"+rf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,l=r.data,a=r.url,h=r.jsonp!==!1,c=h&&st.test(a),v=h&&!c&&typeof l=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&st.test(l);if(r.dataTypes[0]==="jsonp"||c||v)return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,s=n[e],c?r.url=a.replace(st,"$1"+e):v?r.data=l.replace(st,"$1"+e):h&&(r.url+=(tf.test(a)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",n[e]=function(){o=arguments},f.always(function(){n[e]=s,r[e]&&(r.jsonpCallback=u.jsonpCallback,pr.push(e)),o&&i.isFunction(s)&&s(o[0]),o=s=t}),"script"}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1),n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){i=r.createElement("script"),i.async="async",n.scriptCharset&&(i.charset=n.scriptCharset),i.src=n.url,i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))},u.insertBefore(i,u.firstChild)},abort:function(){i&&i.onload(0,1)}}}}),ot=n.ActiveXObject?function(){for(var n in b)b[n](0,1)}:!1,vr=0,i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&ki()||pe()}:ki,function(n){i.extend(i.support,{ajax:!!n,cors:!!n&&"withCredentials"in n})}(i.ajaxSettings.xhr()),i.support.ajax&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType),!r.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null),u=function(n,f){var c,a,v,s,l;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,ot&&delete b[h]),f)o.readyState!==4&&o.abort();else{c=o.status,v=o.getAllResponseHeaders(),s={},l=o.responseXML,l&&l.documentElement&&(s.xml=l);try{s.text=o.responseText}catch(p){}try{a=o.statusText}catch(p){a=""}!c&&r.isLocal&&!r.crossDomain?c=s.text?200:404:c===1223&&(c=204)}}catch(y){f||e(-1,y)}s&&e(c,a,s,v)},r.async?o.readyState===4?setTimeout(u,0):(h=++vr,ot&&(b||(b={},i(n).unload(ot)),b[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(0,1)}}}});var w,ft,wu=/^(?:toggle|show|hide)$/,pu=new RegExp("^(?:([-+])=|)("+it+")([a-z%]*)$","i"),du=/queueHooks$/,tt=[ee],k={"*":[function(n,t){var s,o,r=this.createTween(n,t),e=pu.exec(t),h=r.cur(),f=+h||0,u=1,c=20;if(e){if(s=+e[2],o=e[3]||(i.cssNumber[n]?"":"px"),o!=="px"&&f){f=i.css(r.elem,n,!0)||s||1;do u=u||".5",f/=u,i.style(r.elem,n,f+o);while(u!==(u=r.cur()/h)&&u!==1&&--c)}r.unit=o,r.start=f,r.end=e[1]?f+(e[1]+1)*s:s}return r}]};i.Animation=i.extend(au,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u<f;u++)r=n[u],k[r]=k[r]||[],k[r].unshift(t)},prefilter:function(n,t){t?tt.unshift(n):tt.push(n)}}),i.Tween=f,f.prototype={constructor:f,init:function(n,t,r,u,f,e){this.elem=n,this.prop=r,this.easing=f||"swing",this.options=t,this.start=this.now=this.cur(),this.end=u,this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=f.propHooks[this.prop];return n&&n.get?n.get(this):f.propHooks._default.get(this)},run:function(n){var r,t=f.propHooks[this.prop];return this.pos=this.options.duration?r=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):r=n,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):f.propHooks._default.set(this),this}},f.prototype.init.prototype=f.prototype,f.propHooks={_default:{get:function(n){var t;return n.elem[n.prop]==null||!!n.elem.style&&n.elem.style[n.prop]!=null?(t=i.css(n.elem,n.prop,!1,""),!t||t==="auto"?0:t):n.elem[n.prop]},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},f.propHooks.scrollTop=f.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(u,f,e){return u==null||typeof u=="boolean"||!n&&i.isFunction(u)&&i.isFunction(f)?r.apply(this,arguments):this.animate(nt(t,!0),u,f,e)}}),i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(lt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),f=i.speed(t,r,u),e=function(){var t=au(this,i.extend({},n),f);o&&t.stop(!0)};return o||f.queue===!1?this.each(e):this.queue(f.queue,e)},stop:function(n,r,u){var f=function(n){var t=n.stop;delete n.stop,t(u)};return typeof n!="string"&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=n!=null&&n+"queueHooks",e=i.timers,r=i._data(this);if(t)r[t]&&r[t].stop&&f(r[t]);else for(t in r)r[t]&&r[t].stop&&du.test(t)&&f(r[t]);for(t=e.length;t--;)e[t].elem===this&&(n==null||e[t].queue===n)&&(e[t].anim.stop(u),o=!1,e.splice(t,1));(o||!u)&&i.dequeue(this,n)})}}),i.each({slideDown:nt("show"),slideUp:nt("hide"),slideToggle:nt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}}),i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:typeof u.duration=="number"?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this),u.queue&&i.dequeue(this,u.queue)},u},i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}},i.timers=[],i.fx=f.prototype.init,i.fx.tick=function(){var u,r=i.timers,n=0;for(w=i.now();n<r.length;n++)u=r[n],!u()&&r[n]===u&&r.splice(n--,1);r.length||i.fx.stop(),w=t},i.fx.timer=function(n){n()&&i.timers.push(n)&&!ft&&(ft=setInterval(i.fx.tick,i.fx.interval))},i.fx.interval=13,i.fx.stop=function(){clearInterval(ft),ft=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fx.step={},i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length}),at=/^(?:body|html)$/i,i.fn.offset=function(n){if(arguments.length)return n===t?this:this.each(function(t){i.offset.setOffset(this,n,t)});var u,s,o,c,h,l,a,e={top:0,left:0},r=this[0],f=r&&r.ownerDocument;if(f)return(s=f.body)===r?i.offset.bodyOffset(r):(u=f.documentElement,i.contains(u,r)?(typeof r.getBoundingClientRect!="undefined"&&(e=r.getBoundingClientRect()),o=tu(f),c=u.clientTop||s.clientTop||0,h=u.clientLeft||s.clientLeft||0,l=o.pageYOffset||u.scrollTop,a=o.pageXOffset||u.scrollLeft,{top:e.top+l-c,left:e.left+a-h}):e)},i.offset={bodyOffset:function(n){var r=n.offsetTop,t=n.offsetLeft;return i.support.doesNotIncludeMarginInBodyOffset&&(r+=parseFloat(i.css(n,"marginTop"))||0,t+=parseFloat(i.css(n,"marginLeft"))||0),{top:r,left:t}},setOffset:function(n,t,r){var s=i.css(n,"position");s==="static"&&(n.style.position="relative");var h=i(n),c=h.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=(s==="absolute"||s==="fixed")&&i.inArray("auto",[l,a])>-1,u={},e={},f,o;v?(e=h.position(),f=e.top,o=e.left):(f=parseFloat(l)||0,o=parseFloat(a)||0),i.isFunction(t)&&(t=t.call(n,r,c)),t.top!=null&&(u.top=t.top-c.top+f),t.left!=null&&(u.left=t.left-c.left+o),"using"in t?t.using.call(n,u):h.css(u)}},i.fn.extend({position:function(){if(this[0]){var u=this[0],r=this.offsetParent(),n=this.offset(),t=at.test(r[0].nodeName)?{top:0,left:0}:r.offset();return n.top-=parseFloat(i.css(u,"marginTop"))||0,n.left-=parseFloat(i.css(u,"marginLeft"))||0,t.top+=parseFloat(i.css(r[0],"borderTopWidth"))||0,t.left+=parseFloat(i.css(r[0],"borderLeftWidth"))||0,{top:n.top-t.top,left:n.left-t.left}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||r.body;n&&!at.test(n.nodeName)&&i.css(n,"position")==="static";)n=n.offsetParent;return n||r.body})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=tu(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}}),i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var s=arguments.length&&(u||typeof f!="boolean"),o=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,f,o):i.style(r,u,f,o)},r,s?f:t,s,null)}})}),n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return i})})(window),window.Modernizr=function(n,t,i){function a(n){c.cssText=n}function yt(n,t){return a(w.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function st(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function vt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ht.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?st(u,t):(u=(n+" "+ct.join(r+" ")+r).split(" "),vt(u,t,i))}function at(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)p[i[r]]=i[r]in e;return p.list&&(p.list=!!t.createElement("datalist")&&!!n.HTMLDataListElement),p}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),u.inputtypes=function(n){for(var f=0,r,u,o,h=n.length;f<h;f++)e.setAttribute("type",u=n[f]),r=e.type!=="text",r&&(e.value=it,e.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(u)&&e.style.WebkitAppearance!==i?(s.appendChild(e),o=t.defaultView,r=o.getComputedStyle&&o.getComputedStyle(e,null).WebkitAppearance!=="textfield"&&e.offsetHeight!==0,s.removeChild(e)):/^(search|tel)$/.test(u)||(r=/^(url|email)$/.test(u)?e.checkValidity&&e.checkValidity()===!1:e.value!=it)),ft[n[f]]=!!r;return ft}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var wt="2.6.2",u={},g=!0,s=t.documentElement,o="modernizr",ot=t.createElement(o),c=ot.style,e=t.createElement("input"),it=":)",et={}.toString,w=" -webkit- -moz- -o- -ms- ".split(" "),lt="Webkit Moz O ms",ht=lt.split(" "),ct=lt.toLowerCase().split(" "),d={svg:"http://www.w3.org/2000/svg"},r={},ft={},p={},nt=[],rt=nt.slice,y,l=function(n,i,r,u){var v,l,c,a,f=t.createElement("div"),h=t.body,e=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:o+(r+1),f.appendChild(c);return v=["&#173;",'<style id="s',o,'">',n,"</style>"].join(""),f.id=o,(h?f:e).innerHTML+=v,e.appendChild(f),h||(e.style.background="",e.style.overflow="hidden",a=s.style.overflow,s.style.overflow="hidden",s.appendChild(e)),l=i(f,n),h?f.parentNode.removeChild(f):(e.parentNode.removeChild(e),s.style.overflow=a),!!l},pt=function(t){var r=n.matchMedia||n.msMatchMedia,i;return r?r(t).matches:(l("@media "+t+" { #"+o+" { position: absolute; } }",function(t){i=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),i)},ut=function(){function r(r,u){u=u||t.createElement(n[r]||"div"),r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=h(u[r],"function"),h(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),tt={}.hasOwnProperty,b,k;b=!h(tt,"undefined")&&!h(tt.call,"undefined")?function(n,t){return tt.call(n,t)}:function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,r,i;if(typeof t!="function")throw new TypeError;return r=rt.call(arguments,1),i=function(){var f,e,u;return this instanceof i?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,r.concat(rt.call(arguments))),Object(u)===u?u:e):t.apply(n,r.concat(rt.call(arguments)))},i}),r.flexbox=function(){return f("flexWrap")},r.canvas=function(){var n=t.createElement("canvas");return!!n.getContext&&!!n.getContext("2d")},r.canvastext=function(){return!!u.canvas&&!!h(t.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!n.WebGLRenderingContext},r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:l(["@media (",w.join("touch-enabled),("),o,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i},r.geolocation=function(){return"geolocation"in navigator},r.postmessage=function(){return!!n.postMessage},r.websqldatabase=function(){return!!n.openDatabase},r.indexedDB=function(){return!!f("indexedDB",n)},r.hashchange=function(){return ut("hashchange",n)&&(t.documentMode===i||t.documentMode>7)},r.history=function(){return!!n.history&&!!history.pushState},r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n},r.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n},r.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")},r.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(c.backgroundColor,"hsla")},r.multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)},r.backgroundsize=function(){return f("backgroundSize")},r.borderimage=function(){return f("borderImage")},r.borderradius=function(){return f("borderRadius")},r.boxshadow=function(){return f("boxShadow")},r.textshadow=function(){return t.createElement("div").style.textShadow===""},r.opacity=function(){return yt("opacity:.55"),/^0.55$/.test(c.opacity)},r.cssanimations=function(){return f("animationName")},r.csscolumns=function(){return f("columnCount")},r.cssgradients=function(){var n="background-image:",i="gradient(linear,left top,right bottom,from(#9f9),to(white));",t="linear-gradient(left top,#9f9, white);";return a((n+"-webkit- ".split(" ").join(i+n)+w.join(t+n)).slice(0,-n.length)),v(c.backgroundImage,"gradient")},r.cssreflections=function(){return f("boxReflect")},r.csstransforms=function(){return!!f("transform")},r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n},r.csstransitions=function(){return f("transition")},r.fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var e=t.getElementById("smodernizr"),u=e.sheet||e.styleSheet,f=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(f)&&f.indexOf(r.split(" ")[0])===0}),n},r.generatedcontent=function(){var n;return l(["#",o,"{font:0/0 a}#",o,':after{content:"',it,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n},r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},r.localstorage=function(){try{return localStorage.setItem(o,o),localStorage.removeItem(o),!0}catch(n){return!1}},r.sessionstorage=function(){try{return sessionStorage.setItem(o,o),sessionStorage.removeItem(o),!0}catch(n){return!1}},r.webworkers=function(){return!!n.Worker},r.applicationcache=function(){return!!n.applicationCache},r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(d.svg,"svg").createSVGRect},r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==d.svg},r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(et.call(t.createElementNS(d.svg,"animate")))},r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(et.call(t.createElementNS(d.svg,"clipPath")))};for(k in r)b(r,k)&&(y=k.toLowerCase(),u[y]=r[k](),nt.push((u[y]?"":"no-")+y));return u.input||at(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)b(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t,typeof g!="undefined"&&g&&(s.className+=" "+(t?"":"no-")+n),u[n]=t}return u},a(""),ot=e=null,function(n,t){function y(n,t){var r=n.createElement("p"),i=n.getElementsByTagName("head")[0]||n.documentElement;return r.innerHTML="x<style>"+t+"</style>",i.insertBefore(r.lastChild,i.firstChild)}function a(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function o(n){var t=h[n[s]];return t||(t={},e++,n[s]=e,h[e]=t),t}function l(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=o(i));var f;return f=u.cache[n]?u.cache[n].cloneNode():p.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),f.canHaveChildren&&!v.test(n)?u.frag.appendChild(f):f}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||o(n);for(var e=i.frag.cloneNode(),u=0,f=a(),s=f.length;u<s;u++)e.createElement(f[u]);return e}function w(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag()),n.createElement=function(r){return i.shivMethods?l(r,n,t):t.createElem(r)},n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+a().join().replace(/\w+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function c(n){n||(n=t);var f=o(n);return i.shivCSS&&!u&&!f.hasCSS&&(f.hasCSS=!!y(n,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),r||w(n,f),n}var f=n.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,u,s="_html5shiv",e=0,h={},r,i;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz></xyz>",u="hidden"in n,r=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(i){u=!0,r=!0}})(),i={elements:f.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:f.shivCSS!==!1,supportsUnknownElements:r,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:c,createElement:l,createDocumentFragment:b},n.html5=i,c(t)}(this,t),u._version=wt,u._prefixes=w,u._domPrefixes=ct,u._cssomPrefixes=ht,u.mq=pt,u.hasEvent=ut,u.testProp=function(n){return st([n])},u.testAllProps=f,u.testStyles=l,u.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" js "+nt.join(" "):""),u}(this,this.document),function(n,t,i){function c(n){return"[object Function]"==p.call(n)}function v(n){return"string"==typeof n}function h(){}function k(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function f(){var n=a.shift();l=1,n?n.t?s(function(){("c"==n.t?r.injectCss:r.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),f()):l=0}function et(n,i,o,h,c,v,y){function d(t){if(!g&&k(p.readyState)&&(b.r=g=1,!l&&f(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){rt.removeChild(p)},50);for(var r in u[i])u[i].hasOwnProperty(r)&&u[i][r].onload()}}var y=y||r.errorTimeout,p=t.createElement(n),g=0,w=0,b={t:o,s:i,e:c,a:v,x:y};1===u[i]&&(w=1,u[i]=[]),"object"==n?p.data=i:(p.src=i,p.type=n),p.width=p.height="0",p.onerror=p.onload=p.onreadystatechange=function(){d.call(this,w)},a.splice(h,0,b),"img"!=n&&(w||2===u[i]?(rt.insertBefore(p,nt?null:e),s(d,y)):u[i].push(p))}function ft(n,t,i,r,u){return l=0,t=t||"j",v(n)?et("c"==t?ut:g,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&f()),this}function it(){var n=r;return n.loader={load:ft,i:0},n}var o=t.documentElement,s=n.setTimeout,e=t.getElementsByTagName("script")[0],p={}.toString,a=[],l=0,tt="MozAppearance"in o.style,nt=tt&&!!t.createRange().compareNode,rt=nt?o:e.parentNode,o=n.opera&&"[object Opera]"==p.call(n.opera),o=!!t.attachEvent&&!o,g=tt?"object":o?"script":"img",ut=o?"script":g,w=Array.isArray||function(n){return"[object Array]"==p.call(n)},y=[],u={},b={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},d,r;r=function(n){function l(n){for(var n=n.split("!"),e=y.length,i=n.pop(),f=n.length,i={url:i,origUrl:i,prefixes:n},u,r,t=0;t<f;t++)r=n[t].split("="),(u=b[r.shift()])&&(i=u(i,r));for(t=0;t<e;t++)i=y[t](i);return i}function o(n,t,r,f,e){var o=l(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift(),o.bypass||(t&&(t=c(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,r,f,e):(u[o.url]?o.noexec=!0:u[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(c(t)||c(s))&&r.load(function(){it(),t&&t(o.origUrl,e,f),s&&s(o.origUrl,e,f),u[o.url]=2})))}function s(n,t){function l(n,f){if(n){if(v(n))f||(i=function(){var n=[].slice.call(arguments);e.apply(this,n),u()}),o(n,i,t,0,s);else if(Object(n)===n)for(r in a=function(){var i=0,t;for(t in n)n.hasOwnProperty(t)&&i++;return i}(),n)n.hasOwnProperty(r)&&(!f&&!--a&&(c(i)?i=function(){var n=[].slice.call(arguments);e.apply(this,n),u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t),u()}}(e[r])),o(n[r],i,t,r,s))}else!f&&u()}var s=!!n.test,f=n.load||n.both,i=n.callback||h,e=i,u=n.complete||h,a,r;l(s?n.yep:n.nope,!!f),f&&l(f)}var f,t,e=this.yepnope.loader;if(v(n))o(n,0,e,0);else if(w(n))for(f=0;f<n.length;f++)t=n[f],v(t)?o(t,0,e,0):w(t)?r(t):Object(t)===t&&s(t,e);else Object(n)===n&&s(n,e)},r.addPrefix=function(n,t){b[n]=t},r.addFilter=function(n){y.push(n)},r.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",d=function(){t.removeEventListener("DOMContentLoaded",d,0),t.readyState="complete"},0)),n.yepnope=it(),n.yepnope.executeStack=f,n.yepnope.injectJs=function(n,i,u,o,c,l){var a=t.createElement("script"),v,y,o=o||r.errorTimeout;a.src=n;for(y in u)a.setAttribute(y,u[y]);i=l?f:i||h,a.onreadystatechange=a.onload=function(){!v&&k(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)},s(function(){v||(v=1,i(1))},o),c?a.onload():e.parentNode.insertBefore(a,e)},n.yepnope.injectCss=function(n,i,r,u,o,c){var u=t.createElement("link"),l,i=c?f:i||h;u.href=n,u.rel="stylesheet",u.type="text/css";for(l in r)u.setAttribute(l,r[l]);o||(e.parentNode.insertBefore(u,e),s(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(n){var s,w,b,r,it,e,tt,h,g,nt,a=0,i={},c=[],l=0,t={},o=[],ft=null,p=new Image,lt=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,dt=/[^\.]\.(swf)\s*$/i,at,vt=1,k=0,y="",v,f,u=!1,d=n.extend(n("<div/>")[0],{prop:0}),pt=n.browser.msie&&n.browser.version<7&&!window.XMLHttpRequest,yt=function(){w.hide(),p.onerror=p.onload=null,ft&&ft.abort(),s.empty()},ct=function(){!1===i.onError(c,a,i)?(w.hide(),u=!1):(i.titleShow=!1,i.width="auto",i.height="auto",s.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>'),rt())},ut=function(){var r=c[a],t,o,h,l,v,f;if(yt(),i=n.extend({},n.fn.fancybox.defaults,typeof n(r).data("fancybox")=="undefined"?i:n(r).data("fancybox")),f=i.onStart(c,a,i),f===!1)u=!1;else if(typeof f=="object"&&(i=n.extend(i,f)),h=i.title||(r.nodeName?n(r).attr("title"):r.title)||"",r.nodeName&&!i.orig&&(i.orig=n(r).children("img:first").length?n(r).children("img:first"):n(r)),h===""&&i.orig&&i.titleFromAlt&&(h=i.orig.attr("alt")),t=i.href||(r.nodeName?n(r).attr("href"):r.href)||null,(/^(?:javascript)/i.test(t)||t=="#")&&(t=null),i.type?(o=i.type,t||(t=i.content)):i.content?o="html":t&&(o=t.match(lt)?"image":t.match(dt)?"swf":n(r).hasClass("iframe")?"iframe":t.indexOf("#")===0?"inline":"ajax"),o){o=="inline"&&(r=t.substr(t.indexOf("#")),o=n(r).length>0?"inline":"ajax"),i.type=o,i.href=t,i.title=h,i.autoDimensions&&(i.type=="html"||i.type=="inline"||i.type=="ajax"?(i.width="auto",i.height="auto"):i.autoDimensions=!1),i.modal&&(i.overlayShow=!0,i.hideOnOverlayClick=!1,i.hideOnContentClick=!1,i.enableEscapeButton=!1,i.showCloseButton=!1),i.padding=parseInt(i.padding,10),i.margin=parseInt(i.margin,10),s.css("padding",i.padding+i.margin),n(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){n(this).replaceWith(e.children())});switch(o){case"html":s.html(i.content),rt();break;case"inline":if(n(r).parent().is("#fancybox-content")===!0){u=!1;break}n('<div class="fancybox-inline-tmp" />').hide().insertBefore(n(r)).bind("fancybox-cleanup",function(){n(this).replaceWith(e.children())}).bind("fancybox-cancel",function(){n(this).replaceWith(s.children())}),n(r).appendTo(s),rt();break;case"image":u=!1,n.fancybox.showActivity(),p=new Image,p.onerror=function(){ct()},p.onload=function(){u=!0,p.onerror=p.onload=null,i.width=p.width,i.height=p.height,n("<img />").attr({id:"fancybox-img",src:p.src,alt:i.title}).appendTo(s),st()},p.src=t;break;case"swf":i.scrolling="no",l='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+i.width+'" height="'+i.height+'"><param name="movie" value="'+t+'"></param>',v="",n.each(i.swf,function(n,t){l+='<param name="'+n+'" value="'+t+'"></param>',v+=" "+n+'="'+t+'"'}),l+='<embed src="'+t+'" type="application/x-shockwave-flash" width="'+i.width+'" height="'+i.height+'"'+v+"></embed></object>",s.html(l),rt();break;case"ajax":u=!1,n.fancybox.showActivity(),i.ajax.win=i.ajax.success,ft=n.ajax(n.extend({},i.ajax,{url:t,data:i.ajax.data||{},error:function(n){n.status>0&&ct()},success:function(n,r,u){if((typeof u=="object"?u:ft).status==200){if(typeof i.ajax.win=="function"){if(f=i.ajax.win(t,n,r,u),f===!1){w.hide();return}(typeof f=="string"||typeof f=="object")&&(n=f)}s.html(n),rt()}}}));break;case"iframe":st()}}else ct()},rt=function(){var r=i.width,t=i.height;r=r.toString().indexOf("%")>-1?parseInt((n(window).width()-i.margin*2)*parseFloat(r)/100,10)+"px":r=="auto"?"auto":r+"px",t=t.toString().indexOf("%")>-1?parseInt((n(window).height()-i.margin*2)*parseFloat(t)/100,10)+"px":t=="auto"?"auto":t+"px",s.wrapInner('<div style="width:'+r+";height:"+t+";overflow: "+(i.scrolling=="auto"?"auto":i.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>'),i.width=s.width(),i.height=s.height(),st()},st=function(){var p,rt;if(w.hide(),r.is(":visible")&&!1===t.onCleanup(o,l,t))n.event.trigger("fancybox-cancel"),u=!1;else{if(u=!0,n(e.add(b)).unbind(),n(window).unbind("resize.fb scroll.fb"),n(document).unbind("keydown.fb"),r.is(":visible")&&t.titlePosition!=="outside"&&r.css("height",r.height()),o=c,l=a,t=i,t.overlayShow?(b.css({"background-color":t.overlayColor,opacity:t.overlayOpacity,cursor:t.hideOnOverlayClick?"pointer":"auto",height:n(document).height()}),b.is(":visible")||(pt&&n("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"}),b.show())):b.hide(),f=kt(),y=t.title||"",k=0,h.empty().removeAttr("style").removeClass(),t.titleShow!==!1&&(p=n.isFunction(t.titleFormat)?t.titleFormat(y,o,l,t):y&&y.length?t.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+y+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+t.titlePosition+'">'+y+"</div>":!1,y=p,!(!y||y===""))){h.addClass("fancybox-title-"+t.titlePosition).html(y).appendTo("body").show();switch(t.titlePosition){case"inside":h.css({width:f.width-t.padding*2,marginLeft:t.padding,marginRight:t.padding}),k=h.outerHeight(!0),h.appendTo(it),f.height+=k;break;case"over":h.css({marginLeft:t.padding,width:f.width-t.padding*2,bottom:t.padding}).appendTo(it);break;case"float":h.css("left",parseInt((h.width()-f.width-40)/2,10)*-1).appendTo(r);break;default:h.css({width:f.width-t.padding*2,paddingLeft:t.padding,paddingRight:t.padding}).appendTo(r)}}h.hide(),r.is(":visible")?(n(tt.add(g).add(nt)).hide(),p=r.position(),v={top:p.top,left:p.left,width:r.width(),height:r.height()},rt=v.width==f.width&&v.height==f.height,e.fadeTo(t.changeFade,.3,function(){var r=function(){e.html(s.contents()).fadeTo(t.changeFade,1,ht)};n.event.trigger("fancybox-change"),e.empty().removeAttr("filter").css({"border-width":t.padding,width:f.width-t.padding*2,height:i.autoDimensions?"auto":f.height-k-t.padding*2}),rt?r():(d.prop=0,n(d).animate({prop:1},{duration:t.changeSpeed,easing:t.easingChange,step:et,complete:r}))})):(r.removeAttr("style"),e.css("border-width",t.padding),t.transitionIn=="elastic"?(v=wt(),e.html(s.contents()),r.show(),t.opacity&&(f.opacity=0),d.prop=0,n(d).animate({prop:1},{duration:t.speedIn,easing:t.easingIn,step:et,complete:ht})):(t.titlePosition=="inside"&&k>0&&h.show(),e.css({width:f.width-t.padding*2,height:i.autoDimensions?"auto":f.height-k-t.padding*2}).html(s.contents()),r.css(f).fadeIn(t.transitionIn=="none"?0:t.speedIn,ht)))}},gt=function(){(t.enableEscapeButton||t.enableKeyboardNav)&&n(document).bind("keydown.fb",function(i){i.keyCode==27&&t.enableEscapeButton?(i.preventDefault(),n.fancybox.close()):(i.keyCode==37||i.keyCode==39)&&t.enableKeyboardNav&&i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&i.target.tagName!=="SELECT"&&(i.preventDefault(),n.fancybox[i.keyCode==37?"prev":"next"]())}),t.showNavArrows?((t.cyclic&&o.length>1||l!==0)&&g.show(),(t.cyclic&&o.length>1||l!=o.length-1)&&nt.show()):(g.hide(),nt.hide())},ht=function(){n.support.opacity||(e.get(0).style.removeAttribute("filter"),r.get(0).style.removeAttribute("filter")),i.autoDimensions&&e.css("height","auto"),r.css("height","auto"),y&&y.length&&h.show(),t.showCloseButton&&tt.show(),gt(),t.hideOnContentClick&&e.bind("click",n.fancybox.close),t.hideOnOverlayClick&&b.bind("click",n.fancybox.close),n(window).bind("resize.fb",n.fancybox.resize),t.centerOnScroll&&n(window).bind("scroll.fb",n.fancybox.center),t.type=="iframe"&&n('<iframe id="fancybox-frame" name="fancybox-frame'+ +new Date+'" frameborder="0" hspace="0" '+(n.browser.msie?'allowtransparency="true""':"")+' scrolling="'+i.scrolling+'" src="'+t.href+'"></iframe>').appendTo(e),r.show(),u=!1,n.fancybox.center();t.onComplete(o,l,t);var f,s;o.length-1>l&&(f=o[l+1].href,typeof f!="undefined"&&f.match(lt)&&(s=new Image,s.src=f)),l>0&&(f=o[l-1].href,typeof f!="undefined"&&f.match(lt)&&(s=new Image,s.src=f))},et=function(n){var i={width:parseInt(v.width+(f.width-v.width)*n,10),height:parseInt(v.height+(f.height-v.height)*n,10),top:parseInt(v.top+(f.top-v.top)*n,10),left:parseInt(v.left+(f.left-v.left)*n,10)};typeof f.opacity!="undefined"&&(i.opacity=n<.5?.5:n),r.css(i),e.css({width:i.width-t.padding*2,height:i.height-k*n-t.padding*2})},ot=function(){return[n(window).width()-t.margin*2,n(window).height()-t.margin*2,n(document).scrollLeft()+t.margin,n(document).scrollTop()+t.margin]},kt=function(){var r=ot(),n={},f=t.autoScale,u=t.padding*2;return n.width=t.width.toString().indexOf("%")>-1?parseInt(r[0]*parseFloat(t.width)/100,10):t.width+u,n.height=t.height.toString().indexOf("%")>-1?parseInt(r[1]*parseFloat(t.height)/100,10):t.height+u,f&&(n.width>r[0]||n.height>r[1])&&(i.type=="image"||i.type=="swf"?(f=t.width/t.height,n.width>r[0]&&(n.width=r[0],n.height=parseInt((n.width-u)/f+u,10)),n.height>r[1]&&(n.height=r[1],n.width=parseInt((n.height-u)*f+u,10))):(n.width=Math.min(n.width,r[0]),n.height=Math.min(n.height,r[1]))),n.top=parseInt(Math.max(r[3]-20,r[3]+(r[1]-n.height-40)*.5),10),n.left=parseInt(Math.max(r[2]-20,r[2]+(r[0]-n.width-40)*.5),10),n},wt=function(){var u=i.orig?n(i.orig):!1,r={};return u&&u.length?(r=u.offset(),r.top+=parseInt(u.css("paddingTop"),10)||0,r.left+=parseInt(u.css("paddingLeft"),10)||0,r.top+=parseInt(u.css("border-top-width"),10)||0,r.left+=parseInt(u.css("border-left-width"),10)||0,r.width=u.width(),r.height=u.height(),r={width:r.width+t.padding*2,height:r.height+t.padding*2,top:r.top-t.padding-20,left:r.left-t.padding-20}):(u=ot(),r={width:t.padding*2,height:t.padding*2,top:parseInt(u[3]+u[1]*.5,10),left:parseInt(u[2]+u[0]*.5,10)}),r},bt=function(){w.is(":visible")?(n("div",w).css("top",vt*-40+"px"),vt=(vt+1)%12):clearInterval(at)};n.fn.fancybox=function(t){return n(this).length?(n(this).data("fancybox",n.extend({},t,n.metadata?n(this).metadata():{})).unbind("click.fb").bind("click.fb",function(t){t.preventDefault(),u||(u=!0,n(this).blur(),c=[],a=0,t=n(this).attr("rel")||"",t&&t!=""&&t!=="nofollow"?(c=n("a[rel="+t+"], area[rel="+t+"]"),a=c.index(this)):c.push(this),ut())}),this):this},n.fancybox=function(t,i){var f,r,e;if(!u){if(u=!0,f=typeof i!="undefined"?i:{},c=[],a=parseInt(f.index,10)||0,n.isArray(t)){for(r=0,e=t.length;r<e;r++)typeof t[r]=="object"?n(t[r]).data("fancybox",n.extend({},f,t[r])):t[r]=n({}).data("fancybox",n.extend({content:t[r]},f));c=jQuery.merge(c,t)}else typeof t=="object"?n(t).data("fancybox",n.extend({},f,t)):t=n({}).data("fancybox",n.extend({content:t},f)),c.push(t);(a>c.length||a<0)&&(a=0),ut()}},n.fancybox.showActivity=function(){clearInterval(at),w.show(),at=setInterval(bt,66)},n.fancybox.hideActivity=function(){w.hide()},n.fancybox.next=function(){return n.fancybox.pos(l+1)},n.fancybox.prev=function(){return n.fancybox.pos(l-1)},n.fancybox.pos=function(n){u||(n=parseInt(n),c=o,n>-1&&n<o.length?(a=n,ut()):t.cyclic&&o.length>1&&(a=n>=o.length?0:o.length-1,ut()))},n.fancybox.cancel=function(){if(!u){u=!0,n.event.trigger("fancybox-cancel"),yt();i.onCancel(c,a,i);u=!1}},n.fancybox.close=function(){function c(){b.fadeOut("fast"),h.empty().hide(),r.hide(),n.event.trigger("fancybox-cleanup"),e.empty();t.onClosed(o,l,t);o=i=[],l=a=0,t=i={},u=!1}if(!(u||r.is(":hidden")))if(u=!0,t&&!1===t.onCleanup(o,l,t))u=!1;else if(yt(),n(tt.add(g).add(nt)).hide(),n(e.add(b)).unbind(),n(window).unbind("resize.fb scroll.fb"),n(document).unbind("keydown.fb"),e.find("iframe").attr("src",pt&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank"),t.titlePosition!=="inside"&&h.empty(),r.stop(),t.transitionOut=="elastic"){v=wt();var s=r.position();f={top:s.top,left:s.left,width:r.width(),height:r.height()},t.opacity&&(f.opacity=1),h.empty().hide(),d.prop=1,n(d).animate({prop:0},{duration:t.speedOut,easing:t.easingOut,step:et,complete:c})}else r.fadeOut(t.transitionOut=="none"?0:t.speedOut,c)},n.fancybox.resize=function(){b.is(":visible")&&b.css("height",n(document).height()),n.fancybox.center(!0)},n.fancybox.center=function(n){var i,f;u||(f=n===!0?1:0,i=ot(),!f&&(r.width()>i[0]||r.height()>i[1])||r.stop().animate({top:parseInt(Math.max(i[3]-20,i[3]+(i[1]-e.height()-40)*.5-t.padding)),left:parseInt(Math.max(i[2]-20,i[2]+(i[0]-e.width()-40)*.5-t.padding))},typeof n=="number"?n:200))},n.fancybox.init=function(){n("#fancybox-wrap").length||(n("body").append(s=n('<div id="fancybox-tmp"></div>'),w=n('<div id="fancybox-loading"><div></div></div>'),b=n('<div id="fancybox-overlay"></div>'),r=n('<div id="fancybox-wrap"></div>')),it=n('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(r),it.append(e=n('<div id="fancybox-content"></div>'),tt=n('<a id="fancybox-close"></a>'),h=n('<div id="fancybox-title"></div>'),g=n('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),nt=n('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')),tt.click(n.fancybox.close),w.click(n.fancybox.cancel),g.click(function(t){t.preventDefault(),n.fancybox.prev()}),nt.click(function(t){t.preventDefault(),n.fancybox.next()}),n.fn.mousewheel&&r.bind("mousewheel.fb",function(t,i){u?t.preventDefault():(n(t.target).get(0).clientHeight==0||n(t.target).get(0).scrollHeight===n(t.target).get(0).clientHeight)&&(t.preventDefault(),n.fancybox[i>0?"prev":"next"]())}),n.support.opacity||r.addClass("fancybox-ie"),pt&&(w.addClass("fancybox-ie6"),r.addClass("fancybox-ie6"),n('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(it)))},n.fn.fancybox.defaults={padding:10,margin:40,opacity:!1,modal:!1,cyclic:!1,scrolling:"auto",width:560,height:340,autoScale:!0,autoDimensions:!0,centerOnScroll:!1,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayShow:!0,overlayOpacity:.7,overlayColor:"#777",titleShow:!0,titlePosition:"float",titleFormat:null,titleFromAlt:!1,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:!0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}},n(document).ready(function(){n.fancybox.init()})}(jQuery),function(n,t){"use strict";function i(t){n.fn.cycle.debug&&log(t)}function u(t,i,r){var u=n(t).data("cycle.opts"),f;u&&(f=!!t.cyclePause,f&&u.paused?u.paused(t,u,i,r):!f&&u.resumed&&u.resumed(t,u,i,r))}function c(i,f,e){function h(t,i,u){if(!t&&i===!0){var f=n(u).data("cycle.opts");if(!f)return!1;u.cycleTimeout&&(clearTimeout(u.cycleTimeout),u.cycleTimeout=0),r(f.elements,f,1,!f.backwards)}}var o,s;if(i.cycleStop===t&&(i.cycleStop=0),(f===t||f===null)&&(f={}),f.constructor==String){switch(f){case"destroy":case"stop":return(o=n(i).data("cycle.opts"),!o)?!1:(i.cycleStop++,i.cycleTimeout&&clearTimeout(i.cycleTimeout),i.cycleTimeout=0,o.elements&&n(o.elements).stop(),n(i).removeData("cycle.opts"),f=="destroy"&&p(i,o),!1);case"toggle":return i.cyclePause=i.cyclePause===1?0:1,h(i.cyclePause,e,i),u(i),!1;case"pause":return i.cyclePause=1,u(i),!1;case"resume":return i.cyclePause=0,h(!1,e,i),u(i),!1;case"prev":case"next":return(o=n(i).data("cycle.opts"),!o)?!1:(n.fn.cycle[f](o),!1);default:f={fx:f}}return f}return f.constructor==Number?(s=f,f=n(i).data("cycle.opts"),!f)?!1:s<0||s>=f.elements.length?!1:(f.nextSlide=s,i.cycleTimeout&&(clearTimeout(i.cycleTimeout),i.cycleTimeout=0),typeof e=="string"&&(f.oneTimeFx=e),r(f.elements,f,1,s>=f.currSlide),!1):f}function s(t,i){if(!n.support.opacity&&i.cleartype&&t.style.filter)try{t.style.removeAttribute("filter")}catch(r){}}function p(t,i){i.next&&n(i.next).unbind(i.prevNextEvent),i.prev&&n(i.prev).unbind(i.prevNextEvent),(i.pager||i.pagerAnchorBuilder)&&n.each(i.pagerAnchors||[],function(){this.unbind().remove()}),i.pagerAnchors=null,n(t).unbind("mouseenter.cycle mouseleave.cycle"),i.destroy&&i.destroy(i)}function l(i,o,h,c,l){var lt,p=n.extend({},n.fn.cycle.defaults,c||{},n.metadata?i.metadata():n.meta?i.data():{}),vt=n.isFunction(i.data)?i.data(p.metaAttr):null,et,it,tt,b,at,g,k,ot,ct,ht,yt,st,d;if(vt&&(p=n.extend(p,vt)),p.autostop&&(p.countdown=p.autostopCount||h.length),et=i[0],i.data("cycle.opts",p),p.$cont=i,p.stopCount=et.cycleStop,p.elements=h,p.before=p.before?[p.before]:[],p.after=p.after?[p.after]:[],!n.support.opacity&&p.cleartype&&p.after.push(function(){s(this,p)}),p.continuous&&p.after.push(function(){r(h,p,0,!p.backwards)}),y(p),n.support.opacity||!p.cleartype||p.cleartypeNoBg||e(o),i.css("position")=="static"&&i.css("position","relative"),p.width&&i.width(p.width),p.height&&p.height!="auto"&&i.height(p.height),p.startingSlide!==t?(p.startingSlide=parseInt(p.startingSlide,10),p.startingSlide>=h.length||p.startSlide<0?p.startingSlide=0:lt=!0):p.startingSlide=p.backwards?h.length-1:0,p.random){for(p.randomMap=[],it=0;it<h.length;it++)p.randomMap.push(it);if(p.randomMap.sort(function(){return Math.random()-.5}),lt)for(tt=0;tt<h.length;tt++)p.startingSlide==p.randomMap[tt]&&(p.randomIndex=tt);else p.randomIndex=1,p.startingSlide=p.randomMap[1]}else p.startingSlide>=h.length&&(p.startingSlide=0);if(p.currSlide=p.startingSlide||0,b=p.startingSlide,o.css({position:"absolute",top:0,left:0}).hide().each(function(t){var i;i=p.backwards?b?t<=b?h.length+(t-b):b-t:h.length-t:b?t>=b?h.length-(t-b):b-t:h.length-t,n(this).css("z-index",i)}),n(h[b]).css("opacity",1).show(),s(h[b],p),p.fit&&(p.aspect?o.each(function(){var t=n(this),i=p.aspect===!0?t.width()/t.height():p.aspect;p.width&&t.width()!=p.width&&(t.width(p.width),t.height(p.width/i)),p.height&&t.height()<p.height&&(t.height(p.height),t.width(p.height*i))}):(p.width&&o.width(p.width),p.height&&p.height!="auto"&&o.height(p.height))),p.center&&(!p.fit||p.aspect)&&o.each(function(){var t=n(this);t.css({"margin-left":p.width?(p.width-t.width())/2+"px":0,"margin-top":p.height?(p.height-t.height())/2+"px":0})}),!p.center||p.fit||p.slideResize||o.each(function(){var t=n(this);t.css({"margin-left":p.width?(p.width-t.width())/2+"px":0,"margin-top":p.height?(p.height-t.height())/2+"px":0})}),at=(p.containerResize||p.containerResizeHeight)&&!i.innerHeight(),at){for(g=0,k=0,ot=0;ot<h.length;ot++){var nt=n(h[ot]),rt=nt[0],ft=nt.outerWidth(),ut=nt.outerHeight();ft||(ft=rt.offsetWidth||rt.width||nt.attr("width")),ut||(ut=rt.offsetHeight||rt.height||nt.attr("height")),g=ft>g?ft:g,k=ut>k?ut:k}p.containerResize&&g>0&&k>0&&i.css({width:g+"px",height:k+"px"}),p.containerResizeHeight&&k>0&&i.css({height:k+"px"})}if((ct=!1,p.pause&&i.bind("mouseenter.cycle",function(){ct=!0,this.cyclePause++,u(et,!0)}).bind("mouseleave.cycle",function(){ct&&this.cyclePause--,u(et,!0)}),v(p)===!1)||(ht=!1,c.requeueAttempts=c.requeueAttempts||0,o.each(function(){var t=n(this),i;return(this.cycleH=p.fit&&p.height?p.height:t.height()||this.offsetHeight||this.height||t.attr("height")||0,this.cycleW=p.fit&&p.width?p.width:t.width()||this.offsetWidth||this.width||t.attr("width")||0,t.is("img")&&(i=this.cycleH===0&&this.cycleW===0&&!this.complete,i&&l.s&&p.requeueOnImageNotLoaded&&++c.requeueAttempts<100))?(setTimeout(function(){n(l.s,l.c).cycle(c)},p.requeueTimeout),ht=!0,!1):!0}),ht))return!1;if(p.cssBefore=p.cssBefore||{},p.cssAfter=p.cssAfter||{},p.cssFirst=p.cssFirst||{},p.animIn=p.animIn||{},p.animOut=p.animOut||{},o.not(":eq("+b+")").css(p.cssBefore),n(o[b]).css(p.cssFirst),p.timeout)for(p.timeout=parseInt(p.timeout,10),p.speed.constructor==String&&(p.speed=n.fx.speeds[p.speed]||parseInt(p.speed,10)),p.sync||(p.speed=p.speed/2),yt=p.fx=="none"?0:p.fx=="shuffle"?500:250;p.timeout-p.speed<yt;)p.timeout+=p.speed;if(p.easing&&(p.easeIn=p.easeOut=p.easing),p.speedIn||(p.speedIn=p.speed),p.speedOut||(p.speedOut=p.speed),p.slideCount=h.length,p.currSlide=p.lastSlide=b,p.random?(++p.randomIndex==h.length&&(p.randomIndex=0),p.nextSlide=p.randomMap[p.randomIndex]):p.nextSlide=p.backwards?p.startingSlide===0?h.length-1:p.startingSlide-1:p.startingSlide>=h.length-1?0:p.startingSlide+1,!p.multiFx)if(st=n.fn.cycle.transitions[p.fx],n.isFunction(st))st(i,o,p);else if(p.fx!="custom"&&!p.multiFx)return!1;return d=o[b],p.skipInitializationCallbacks||(p.before.length&&p.before[0].apply(d,[d,d,p,!0]),p.after.length&&p.after[0].apply(d,[d,d,p,!0])),p.next&&n(p.next).bind(p.prevNextEvent,function(){return f(p,1)}),p.prev&&n(p.prev).bind(p.prevNextEvent,function(){return f(p,0)}),(p.pager||p.pagerAnchorBuilder)&&a(h,p),w(p,h),p}function y(t){t.original={before:[],after:[]},t.original.cssBefore=n.extend({},t.cssBefore),t.original.cssAfter=n.extend({},t.cssAfter),t.original.animIn=n.extend({},t.animIn),t.original.animOut=n.extend({},t.animOut),n.each(t.before,function(){t.original.before.push(this)}),n.each(t.after,function(){t.original.after.push(this)})}function v(t){var r,e,u=n.fn.cycle.transitions,o,f,h,s;if(t.fx.indexOf(",")>0){for(t.multiFx=!0,t.fxs=t.fx.replace(/\s*/g,"").split(","),r=0;r<t.fxs.length;r++)o=t.fxs[r],e=u[o],e&&u.hasOwnProperty(o)&&n.isFunction(e)||(t.fxs.splice(r,1),r--);if(!t.fxs.length)return!1}else if(t.fx=="all"){t.multiFx=!0,t.fxs=[];for(f in u)u.hasOwnProperty(f)&&(e=u[f],u.hasOwnProperty(f)&&n.isFunction(e)&&t.fxs.push(f))}if(t.multiFx&&t.randomizeEffects){for(h=Math.floor(Math.random()*20)+30,r=0;r<h;r++)s=Math.floor(Math.random()*t.fxs.length),t.fxs.push(t.fxs.splice(s,1)[0]);i("randomized fx sequence: ",t.fxs)}return!0}function w(t,i){t.addSlide=function(r,u){var f=n(r),o=f[0];if(t.autostopCount||t.countdown++,i[u?"unshift":"push"](o),t.els&&t.els[u?"unshift":"push"](o),t.slideCount=i.length,t.random&&(t.randomMap.push(t.slideCount-1),t.randomMap.sort(function(){return Math.random()-.5})),f.css("position","absolute"),f[u?"prependTo":"appendTo"](t.$cont),u&&(t.currSlide++,t.nextSlide++),n.support.opacity||!t.cleartype||t.cleartypeNoBg||e(f),t.fit&&t.width&&f.width(t.width),t.fit&&t.height&&t.height!="auto"&&f.height(t.height),o.cycleH=t.fit&&t.height?t.height:f.height(),o.cycleW=t.fit&&t.width?t.width:f.width(),f.css(t.cssBefore),(t.pager||t.pagerAnchorBuilder)&&n.fn.cycle.createPagerAnchor(i.length-1,o,n(t.pager),i,t),n.isFunction(t.onAddSlide))t.onAddSlide(f);else f.hide()}}function r(u,f,e,s){function w(){var n=0,t=f.timeout;f.timeout&&!f.continuous?(n=o(u[f.currSlide],u[f.nextSlide],f,s),f.fx=="shuffle"&&(n-=f.speedOut)):f.continuous&&l.cyclePause&&(n=10),n>0&&(l.cycleTimeout=setTimeout(function(){r(u,f,0,!f.backwards)},n))}var l=f.$cont[0],c=u[f.currSlide],h=u[f.nextSlide],y,v,p,a;if(e&&f.busy&&f.manualTrump&&(i("manualTrump in go(), stopping active transition"),n(u).stop(!0,!0),f.busy=0,clearTimeout(l.cycleTimeout)),f.busy){i("transition active, ignoring new tx request");return}if(l.cycleStop==f.stopCount&&(l.cycleTimeout!==0||e)){if(!e&&!l.cyclePause&&!f.bounce&&(f.autostop&&--f.countdown<=0||f.nowrap&&!f.random&&f.nextSlide<f.currSlide)){f.end&&f.end(f);return}y=!1,(e||!l.cyclePause)&&f.nextSlide!=f.currSlide?(y=!0,v=f.fx,c.cycleH=c.cycleH||n(c).height(),c.cycleW=c.cycleW||n(c).width(),h.cycleH=h.cycleH||n(h).height(),h.cycleW=h.cycleW||n(h).width(),f.multiFx&&(s&&(f.lastFx===t||++f.lastFx>=f.fxs.length)?f.lastFx=0:!s&&(f.lastFx===t||--f.lastFx<0)&&(f.lastFx=f.fxs.length-1),v=f.fxs[f.lastFx]),f.oneTimeFx&&(v=f.oneTimeFx,f.oneTimeFx=null),n.fn.cycle.resetState(f,v),f.before.length&&n.each(f.before,function(n,t){l.cycleStop==f.stopCount&&t.apply(h,[c,h,f,s])}),p=function(){f.busy=0,n.each(f.after,function(n,t){l.cycleStop==f.stopCount&&t.apply(h,[c,h,f,s])}),l.cycleStop||w()},i("tx firing("+v+"); currSlide: "+f.currSlide+"; nextSlide: "+f.nextSlide),f.busy=1,f.fxFn?f.fxFn(c,h,f,p,s,e&&f.fastOnEvent):n.isFunction(n.fn.cycle[f.fx])?n.fn.cycle[f.fx](c,h,f,p,s,e&&f.fastOnEvent):n.fn.cycle.custom(c,h,f,p,s,e&&f.fastOnEvent)):w(),(y||f.nextSlide==f.currSlide)&&(f.lastSlide=f.currSlide,f.random?(f.currSlide=f.nextSlide,++f.randomIndex==u.length&&(f.randomIndex=0,f.randomMap.sort(function(){return Math.random()-.5})),f.nextSlide=f.randomMap[f.randomIndex],f.nextSlide==f.currSlide&&(f.nextSlide=f.currSlide==f.slideCount-1?0:f.currSlide+1)):f.backwards?(a=f.nextSlide-1<0,a&&f.bounce?(f.backwards=!f.backwards,f.nextSlide=1,f.currSlide=0):(f.nextSlide=a?u.length-1:f.nextSlide-1,f.currSlide=a?0:f.nextSlide+1)):(a=f.nextSlide+1==u.length,a&&f.bounce?(f.backwards=!f.backwards,f.nextSlide=u.length-2,f.currSlide=u.length-1):(f.nextSlide=a?0:f.nextSlide+1,f.currSlide=a?u.length-1:f.nextSlide-1))),y&&f.pager&&f.updateActivePagerLink(f.pager,f.currSlide,f.activePagerClass)}}function o(n,t,r,u){if(r.timeoutFn){for(var f=r.timeoutFn.call(n,n,t,r,u);r.fx!="none"&&f-r.speed<250;)f+=r.speed;if(i("calculated timeout: "+f+"; speed: "+r.speed),f!==!1)return f}return r.timeout}function f(t,i){var e=i?1:-1,u=t.elements,o=t.$cont[0],s=o.cycleTimeout,f;if(s&&(clearTimeout(s),o.cycleTimeout=0),t.random&&e<0)t.randomIndex--,--t.randomIndex==-2?t.randomIndex=u.length-2:t.randomIndex==-1&&(t.randomIndex=u.length-1),t.nextSlide=t.randomMap[t.randomIndex];else if(t.random)t.nextSlide=t.randomMap[t.randomIndex];else if(t.nextSlide=t.currSlide+e,t.nextSlide<0){if(t.nowrap)return!1;t.nextSlide=u.length-1}else if(t.nextSlide>=u.length){if(t.nowrap)return!1;t.nextSlide=0}return f=t.onPrevNextEvent||t.prevNextClick,n.isFunction(f)&&f(e>0,t.nextSlide,u[t.nextSlide]),r(u,t,1,i),!1}function a(t,i){var r=n(i.pager);n.each(t,function(u,f){n.fn.cycle.createPagerAnchor(u,f,r,t,i)}),i.updateActivePagerLink(i.pager,i.startingSlide,i.activePagerClass)}function e(t){function r(n){return n=parseInt(n,10).toString(16),n.length<2?"0"+n:n}function u(t){for(var i,u;t&&t.nodeName.toLowerCase()!="html";t=t.parentNode){if(i=n.css(t,"background-color"),i&&i.indexOf("rgb")>=0)return u=i.match(/\d+/g),"#"+r(u[0])+r(u[1])+r(u[2]);if(i&&i!="transparent")return i}return"#ffffff"}i("applying clearType background-color hack"),t.each(function(){n(this).css("background-color",u(this))})}var h="2.9999.81";n.expr[":"].paused=function(n){return n.cyclePause},n.fn.cycle=function(t,u){var f={s:this.selector,c:this.context};return this.length===0&&t!="stop"?!n.isReady&&f.s?(log("DOM not ready, queuing slideshow"),n(function(){n(f.s,f.c).cycle(t,u)}),this):this:this.each(function(){var h=c(this,t,u),e,s;if(h!==!1){h.updateActivePagerLink=h.updateActivePagerLink||n.fn.cycle.updateActivePagerLink,this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0,this.cycleStop=0;var y=n(this),v=h.slideExpr?n(h.slideExpr,this):y.children(),a=v.get();a.length<2||(e=l(y,v,a,h,f),e!==!1)&&(s=e.continuous?10:o(a[e.currSlide],a[e.nextSlide],e,!e.backwards),s&&(s+=e.delay||0,s<10&&(s=10),i("first timeout: "+s),this.cycleTimeout=setTimeout(function(){r(a,e,0,!h.backwards)},s)))}})},n.fn.cycle.resetState=function(t,i){i=i||t.fx,t.before=[],t.after=[],t.cssBefore=n.extend({},t.original.cssBefore),t.cssAfter=n.extend({},t.original.cssAfter),t.animIn=n.extend({},t.original.animIn),t.animOut=n.extend({},t.original.animOut),t.fxFn=null,n.each(t.original.before,function(){t.before.push(this)}),n.each(t.original.after,function(){t.after.push(this)});var r=n.fn.cycle.transitions[i];n.isFunction(r)&&r(t.$cont,n(t.elements),t)},n.fn.cycle.updateActivePagerLink=function(t,i,r){n(t).each(function(){n(this).children().removeClass(r).eq(i).addClass(r)})},n.fn.cycle.next=function(n){f(n,1)},n.fn.cycle.prev=function(n){f(n,0)},n.fn.cycle.createPagerAnchor=function(t,f,e,o,s){var l,h,v,y,c,a;(n.isFunction(s.pagerAnchorBuilder)?(l=s.pagerAnchorBuilder(t,f),i("pagerAnchorBuilder("+t+", el) returned: "+l)):l='<a href="#">'+(t+1)+"</a>",l)&&(h=n(l),h.parents("body").length===0&&(v=[],e.length>1?(e.each(function(){var t=h.clone(!0);n(this).append(t),v.push(t[0])}),h=n(v)):h.appendTo(e)),s.pagerAnchors=s.pagerAnchors||[],s.pagerAnchors.push(h),y=function(i){var e,f,u;i.preventDefault(),s.nextSlide=t,e=s.$cont[0],f=e.cycleTimeout,f&&(clearTimeout(f),e.cycleTimeout=0),u=s.onPagerEvent||s.pagerClick,n.isFunction(u)&&u(s.nextSlide,o[s.nextSlide]),r(o,s,1,s.currSlide<t)},/mouseenter|mouseover/i.test(s.pagerEvent)?h.hover(y,function(){}):h.bind(s.pagerEvent,y),/^click/.test(s.pagerEvent)||s.allowPagerClickBubble||h.bind("click.cycle",function(){return!1}),c=s.$cont[0],a=!1,s.pauseOnPagerHover&&h.hover(function(){a=!0,c.cyclePause++,u(c,!0,!0)},function(){a&&c.cyclePause--,u(c,!0,!0)}))},n.fn.cycle.hopsFromLast=function(n,t){var u,i=n.lastSlide,r=n.currSlide;return u=t?r>i?r-i:n.slideCount-i:r<i?i-r:i+n.slideCount-r},n.fn.cycle.commonReset=function(t,i,r,u,f,e){n(r.elements).not(t).hide(),typeof r.cssBefore.opacity=="undefined"&&(r.cssBefore.opacity=1),r.cssBefore.display="block",r.slideResize&&u!==!1&&i.cycleW>0&&(r.cssBefore.width=i.cycleW),r.slideResize&&f!==!1&&i.cycleH>0&&(r.cssBefore.height=i.cycleH),r.cssAfter=r.cssAfter||{},r.cssAfter.display="none",n(t).css("zIndex",r.slideCount+(e===!0?1:0)),n(i).css("zIndex",r.slideCount+(e===!0?0:1))},n.fn.cycle.custom=function(t,i,r,u,f,e){var l=n(t),a=n(i),o=r.speedIn,s=r.speedOut,v=r.easeIn,c=r.easeOut,h;a.css(r.cssBefore),e&&(o=typeof e=="number"?s=e:s=1,v=c=null),h=function(){a.animate(r.animIn,o,v,function(){u()})},l.animate(r.animOut,s,c,function(){l.css(r.cssAfter),r.sync||h()}),r.sync&&h()},n.fn.cycle.transitions={fade:function(t,i,r){i.not(":eq("+r.currSlide+")").css("opacity",0),r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.cssBefore.opacity=0}),r.animIn={opacity:1},r.animOut={opacity:0},r.cssBefore={top:0,left:0}}},n.fn.cycle.ver=function(){return h},n.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:!1,animIn:null,animOut:null,aspect:!1,autostop:0,autostopCount:0,backwards:!1,before:null,center:null,cleartype:!n.support.opacity,cleartypeNoBg:!1,containerResize:1,containerResizeHeight:0,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:!0,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:!0,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:!1,slideExpr:null,slideResize:1,speed:1e3,speedIn:null,speedOut:null,startingSlide:t,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null,width:null}}(jQuery),function(n){"use strict";n.fn.cycle.transitions.none=function(t,i,r){r.fxFn=function(t,i,r,u){n(i).show(),n(t).hide(),u()}},n.fn.cycle.transitions.fadeout=function(t,i,r){i.not(":eq("+r.currSlide+")").css({display:"block",opacity:1}),r.before.push(function(t,i,r,u,f,e){n(t).css("zIndex",r.slideCount+(e!==!0?1:0)),n(i).css("zIndex",r.slideCount+(e!==!0?0:1))}),r.animIn.opacity=1,r.animOut.opacity=0,r.cssBefore.opacity=1,r.cssBefore.display="block",r.cssAfter.zIndex=0},n.fn.cycle.transitions.scrollUp=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.height();r.cssBefore.top=u,r.cssBefore.left=0,r.cssFirst.top=0,r.animIn.top=0,r.animOut.top=-u},n.fn.cycle.transitions.scrollDown=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.height();r.cssFirst.top=0,r.cssBefore.top=-u,r.cssBefore.left=0,r.animIn.top=0,r.animOut.top=u},n.fn.cycle.transitions.scrollLeft=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.width();r.cssFirst.left=0,r.cssBefore.left=u,r.cssBefore.top=0,r.animIn.left=0,r.animOut.left=0-u},n.fn.cycle.transitions.scrollRight=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.width();r.cssFirst.left=0,r.cssBefore.left=-u,r.cssBefore.top=0,r.animIn.left=0,r.animOut.left=u},n.fn.cycle.transitions.scrollHorz=function(t,i,r){t.css("overflow","hidden").width(),r.before.push(function(t,i,r,u){r.rev&&(u=!u),n.fn.cycle.commonReset(t,i,r),r.cssBefore.left=u?i.cycleW-1:1-i.cycleW,r.animOut.left=u?-t.cycleW:t.cycleW}),r.cssFirst.left=0,r.cssBefore.top=0,r.animIn.left=0,r.animOut.top=0},n.fn.cycle.transitions.scrollVert=function(t,i,r){t.css("overflow","hidden"),r.before.push(function(t,i,r,u){r.rev&&(u=!u),n.fn.cycle.commonReset(t,i,r),r.cssBefore.top=u?1-i.cycleH:i.cycleH-1,r.animOut.top=u?t.cycleH:-t.cycleH}),r.cssFirst.top=0,r.cssBefore.left=0,r.animIn.top=0,r.animOut.left=0},n.fn.cycle.transitions.slideX=function(t,i,r){r.before.push(function(t,i,r){n(r.elements).not(t).hide(),n.fn.cycle.commonReset(t,i,r,!1,!0),r.animIn.width=i.cycleW}),r.cssBefore.left=0,r.cssBefore.top=0,r.cssBefore.width=0,r.animIn.width="show",r.animOut.width=0},n.fn.cycle.transitions.slideY=function(t,i,r){r.before.push(function(t,i,r){n(r.elements).not(t).hide(),n.fn.cycle.commonReset(t,i,r,!0,!1),r.animIn.height=i.cycleH}),r.cssBefore.left=0,r.cssBefore.top=0,r.cssBefore.height=0,r.animIn.height="show",r.animOut.height=0},n.fn.cycle.transitions.shuffle=function(t,i,r){var u,f=t.css("overflow","visible").width();for(i.css({left:0,top:0}),r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0)}),r.speedAdjusted||(r.speed=r.speed/2,r.speedAdjusted=!0),r.random=0,r.shuffle=r.shuffle||{left:-f,top:15},r.els=[],u=0;u<i.length;u++)r.els.push(i[u]);for(u=0;u<r.currSlide;u++)r.els.push(r.els.shift());r.fxFn=function(t,i,r,u,f){var e,o;r.rev&&(f=!f),e=f?n(t):n(i),n(i).css(r.cssBefore),o=r.slideCount,e.animate(r.shuffle,r.speedIn,r.easeIn,function(){for(var l=n.fn.cycle.hopsFromLast(r,f),i,s,c,h=0;h<l;h++)f?r.els.push(r.els.shift()):r.els.unshift(r.els.pop());if(f)for(i=0,s=r.els.length;i<s;i++)n(r.els[i]).css("z-index",s-i+o);else c=n(t).css("z-index"),e.css("z-index",parseInt(c,10)+1+o);e.animate({left:0,top:0},r.speedOut,r.easeOut,function(){n(f?this:t).hide(),u&&u()})})},n.extend(r.cssBefore,{display:"block",opacity:1,top:0,left:0})},n.fn.cycle.transitions.turnUp=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.cssBefore.top=i.cycleH,r.animIn.height=i.cycleH,r.animOut.width=i.cycleW}),r.cssFirst.top=0,r.cssBefore.left=0,r.cssBefore.height=0,r.animIn.top=0,r.animOut.height=0},n.fn.cycle.transitions.turnDown=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssFirst.top=0,r.cssBefore.left=0,r.cssBefore.top=0,r.cssBefore.height=0,r.animOut.height=0},n.fn.cycle.transitions.turnLeft=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.cssBefore.left=i.cycleW,r.animIn.width=i.cycleW}),r.cssBefore.top=0,r.cssBefore.width=0,r.animIn.left=0,r.animOut.width=0},n.fn.cycle.transitions.turnRight=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.animIn.width=i.cycleW,r.animOut.left=t.cycleW}),n.extend(r.cssBefore,{top:0,left:0,width:0}),r.animIn.left=0,r.animOut.width=0},n.fn.cycle.transitions.zoom=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!1,!0),r.cssBefore.top=i.cycleH/2,r.cssBefore.left=i.cycleW/2,n.extend(r.animIn,{top:0,left:0,width:i.cycleW,height:i.cycleH}),n.extend(r.animOut,{width:0,height:0,top:t.cycleH/2,left:t.cycleW/2})}),r.cssFirst.top=0,r.cssFirst.left=0,r.cssBefore.width=0,r.cssBefore.height=0},n.fn.cycle.transitions.fadeZoom=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!1),r.cssBefore.left=i.cycleW/2,r.cssBefore.top=i.cycleH/2,n.extend(r.animIn,{top:0,left:0,width:i.cycleW,height:i.cycleH})}),r.cssBefore.width=0,r.cssBefore.height=0,r.animOut.opacity=0},n.fn.cycle.transitions.blindX=function(t,i,r){var u=t.css("overflow","hidden").width();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.width=i.cycleW,r.animOut.left=t.cycleW}),r.cssBefore.left=u,r.cssBefore.top=0,r.animIn.left=0,r.animOut.left=u},n.fn.cycle.transitions.blindY=function(t,i,r){var u=t.css("overflow","hidden").height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssBefore.top=u,r.cssBefore.left=0,r.animIn.top=0,r.animOut.top=u},n.fn.cycle.transitions.blindZ=function(t,i,r){var f=t.css("overflow","hidden").height(),u=t.width();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssBefore.top=f,r.cssBefore.left=u,r.animIn.top=0,r.animIn.left=0,r.animOut.top=f,r.animOut.left=u},n.fn.cycle.transitions.growX=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.cssBefore.left=this.cycleW/2,r.animIn.left=0,r.animIn.width=this.cycleW,r.animOut.left=0}),r.cssBefore.top=0,r.cssBefore.width=0},n.fn.cycle.transitions.growY=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.cssBefore.top=this.cycleH/2,r.animIn.top=0,r.animIn.height=this.cycleH,r.animOut.top=0}),r.cssBefore.height=0,r.cssBefore.left=0},n.fn.cycle.transitions.curtainX=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0,!0),r.cssBefore.left=i.cycleW/2,r.animIn.left=0,r.animIn.width=this.cycleW,r.animOut.left=t.cycleW/2,r.animOut.width=0}),r.cssBefore.top=0,r.cssBefore.width=0},n.fn.cycle.transitions.curtainY=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1,!0),r.cssBefore.top=i.cycleH/2,r.animIn.top=0,r.animIn.height=i.cycleH,r.animOut.top=t.cycleH/2,r.animOut.height=0}),r.cssBefore.height=0,r.cssBefore.left=0},n.fn.cycle.transitions.cover=function(t,i,r){var u=r.direction||"left",e=t.css("overflow","hidden").width(),f=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.cssAfter.display="",u=="right"?r.cssBefore.left=-e:u=="up"?r.cssBefore.top=f:u=="down"?r.cssBefore.top=-f:r.cssBefore.left=e}),r.animIn.left=0,r.animIn.top=0,r.cssBefore.top=0,r.cssBefore.left=0},n.fn.cycle.transitions.uncover=function(t,i,r){var u=r.direction||"left",e=t.css("overflow","hidden").width(),f=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0),u=="right"?r.animOut.left=e:u=="up"?r.animOut.top=-f:u=="down"?r.animOut.top=f:r.animOut.left=-e}),r.animIn.left=0,r.animIn.top=0,r.cssBefore.top=0,r.cssBefore.left=0},n.fn.cycle.transitions.toss=function(t,i,r){var f=t.css("overflow","visible").width(),u=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0),r.animOut.left||r.animOut.top?r.animOut.opacity=0:n.extend(r.animOut,{left:f*2,top:-u/2,opacity:0})}),r.cssBefore.left=0,r.cssBefore.top=0,r.animIn.left=0},n.fn.cycle.transitions.wipe=function(t,i,r){var f=t.css("overflow","hidden").width(),u=t.height(),e,l,a;r.cssBefore=r.cssBefore||{},r.clip&&(/l2r/.test(r.clip)?e="rect(0px 0px "+u+"px 0px)":/r2l/.test(r.clip)?e="rect(0px "+f+"px "+u+"px "+f+"px)":/t2b/.test(r.clip)?e="rect(0px "+f+"px 0px 0px)":/b2t/.test(r.clip)?e="rect("+u+"px "+f+"px "+u+"px 0px)":/zoom/.test(r.clip)&&(l=parseInt(u/2,10),a=parseInt(f/2,10),e="rect("+l+"px "+a+"px "+l+"px "+a+"px)")),r.cssBefore.clip=r.cssBefore.clip||e||"rect(0px 0px 0px 0px)";var o=r.cssBefore.clip.match(/(\d+)/g),v=parseInt(o[0],10),s=parseInt(o[1],10),c=parseInt(o[2],10),h=parseInt(o[3],10);r.before.push(function(t,i,r){var l,a,e,o;t!=i&&(l=n(t),a=n(i),n.fn.cycle.commonReset(t,i,r,!0,!0,!1),r.cssAfter.display="block",e=1,o=parseInt(r.speedIn/13,10)-1,function y(){var i=v?v-parseInt(e*(v/o),10):0,r=h?h-parseInt(e*(h/o),10):0,n=c<u?c+parseInt(e*((u-c)/o||1),10):u,t=s<f?s+parseInt(e*((f-s)/o||1),10):f;a.css({clip:"rect("+i+"px "+t+"px "+n+"px "+r+"px)"}),e++<=o?setTimeout(y,13):l.css("display","none")}())}),n.extend(r.cssBefore,{display:"block",opacity:1,top:0,left:0}),r.animIn={left:0},r.animOut={left:0}}}(jQuery),function(n,t,i){var it="TEXTAREA",rt="function",g="password",c="maxLength",v="type",r="",u=!0,tt="placeholder",o=!1,nt="watermark",h=nt,s="watermarkClass",k="watermarkFocus",a="watermarkSubmit",p="watermarkMaxLength",e="watermarkPassword",f="watermarkText",l=/\r/g,ft=/^(button|checkbox|hidden|image|radio|range|reset|submit)$/i,d="input:data("+h+"),textarea:data("+h+")",b=":watermarkable",w=["Page_ClientValidate"],y=o,ut=tt in document.createElement("input");n.watermark=n.watermark||{version:"3.1.4",runOnce:u,options:{className:nt,useNative:u,hideBeforeUnload:u},hide:function(t){n(t).filter(d).each(function(){n.watermark._hide(n(this))})},_hide:function(n,i){var a=n[0],b=(a.value||r).replace(l,r),h=n.data(f)||r,w=n.data(p)||0,y=n.data(s),o,u;h.length&&b==h&&(a.value=r,n.data(e)&&(n.attr(v)||r)==="text"&&(o=n.data(e)||[],u=n.parent()||[],o.length&&u.length&&(u[0].removeChild(n[0]),u[0].appendChild(o[0]),n=o)),w&&(n.attr(c,w),n.removeData(p)),i&&(n.attr("autocomplete","off"),t.setTimeout(function(){n.select()},1))),y&&n.removeClass(y)},show:function(t){n(t).filter(d).each(function(){n.watermark._show(n(this))})},_show:function(t){var w=t[0],nt=(w.value||r).replace(l,r),i=t.data(f)||r,b=t.attr(v)||r,d=t.data(s),h,o,a;nt.length!=0&&nt!=i||t.data(k)?n.watermark._hide(t):(y=u,t.data(e)&&b===g&&(h=t.data(e)||[],o=t.parent()||[],h.length&&o.length&&(o[0].removeChild(t[0]),o[0].appendChild(h[0]),t=h,t.attr(c,i.length),w=t[0])),(b==="text"||b==="search")&&(a=t.attr(c)||0,a>0&&i.length>a&&(t.data(p,a),t.attr(c,i.length))),d&&t.addClass(d),w.value=i)},hideAll:function(){y&&(n.watermark.hide(b),y=o)},showAll:function(){n.watermark.show(b)}},n.fn.watermark=n.fn.watermark||function(i,y){var d="string",w,p;return this.length?(w=o,p=typeof i==d,p&&(i=i.replace(l,r)),typeof y=="object"?(w=typeof y.className==d,y=n.extend({},n.watermark.options,y)):typeof y==d?(w=u,y=n.extend({},n.watermark.options,{className:y})):y=n.watermark.options,typeof y.useNative!=rt&&(y.useNative=y.useNative?function(){return u}:function(){return o}),this.each(function(){var et="dragleave",ot="dragenter",ft=this,o=n(ft),st,d,nt,rt;if(o.is(b)){if(o.data(h))(p||w)&&(n.watermark._hide(o),p&&o.data(f,i),w&&o.data(s,y.className));else{if(ut&&y.useNative.call(ft,o)&&(o.attr("tagName")||r)!==it){p&&o.attr(tt,i);return}o.data(f,p?i:r),o.data(s,y.className),o.data(h,1),(o.attr(v)||r)===g?(st=o.wrap("<span>").parent(),d=n(st.html().replace(/type=["']?password["']?/i,'type="text"')),d.data(f,o.data(f)),d.data(s,o.data(s)),d.data(h,1),d.attr(c,i.length),d.focus(function(){n.watermark._hide(d,u)}).bind(ot,function(){n.watermark._hide(d)}).bind("dragend",function(){t.setTimeout(function(){d.blur()},1)}),o.blur(function(){n.watermark._show(o)}).bind(et,function(){n.watermark._show(o)}),d.data(e,o),o.data(e,d)):o.focus(function(){o.data(k,1),n.watermark._hide(o,u)}).blur(function(){o.data(k,0),n.watermark._show(o)}).bind(ot,function(){n.watermark._hide(o)}).bind(et,function(){n.watermark._show(o)}).bind("dragend",function(){t.setTimeout(function(){n.watermark._show(o)},1)}).bind("drop",function(n){var i=o[0],t=n.originalEvent.dataTransfer.getData("Text");(i.value||r).replace(l,r).replace(t,r)===o.data(f)&&(i.value=t),o.focus()}),ft.form&&(nt=ft.form,rt=n(nt),rt.data(a)||(rt.submit(n.watermark.hideAll),nt.submit?(rt.data(a,nt.submit),nt.submit=function(t,i){return function(){var r=i.data(a);n.watermark.hideAll(),r.apply?r.apply(t,Array.prototype.slice.call(arguments)):r()}}(nt,rt)):(rt.data(a,1),nt.submit=function(t){return function(){n.watermark.hideAll(),delete t.submit,t.submit()}}(nt))))}n.watermark._show(o)}})):this},n.watermark.runOnce&&(n.watermark.runOnce=o,n.extend(n.expr[":"],{data:n.expr.createPseudo?n.expr.createPseudo(function(t){return function(i){return!!n.data(i,t)}}):function(t,i,r){return!!n.data(t,r[3])},watermarkable:function(n){var t,i=n.nodeName;return i===it?u:i!=="INPUT"?o:(t=n.getAttribute(v),!t||!ft.test(t))}}),function(t){n.fn.val=function(){var u=this,o=Array.prototype.slice.call(arguments),e;return u.length?o.length?(t.apply(u,o),n.watermark.show(u),u):u.data(h)?(e=(u[0].value||r).replace(l,r),e===(u.data(f)||r)?r:e):t.apply(u):o.length?u:i}}(n.fn.val),w.length&&n(function(){for(var u,r,i=w.length-1;i>=0;i--)u=w[i],r=t[u],typeof r==rt&&(t[u]=function(t){return function(){return n.watermark.hideAll(),t.apply(null,Array.prototype.slice.call(arguments))}}(r))}),n(t).bind("beforeunload",function(){n.watermark.options.hideBeforeUnload&&n.watermark.hideAll()}))}(jQuery,window),function(n){var t={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,touchEnabled:!0,swipeThreshold:50,video:!1,useCSS:!0,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};n.fn.bxSlider=function(r){var y,v;if(this.length!=0){if(this.length>1)return this.each(function(){n(this).bxSlider(r)}),this;var u={},f=this,ft=function(){u.settings=n.extend({},t,r),u.children=f.children(u.settings.slideSelector),u.settings.randomStart&&(u.settings.startSlide=Math.floor(Math.random()*u.children.length)),u.active={index:u.settings.startSlide},u.carousel=u.settings.minSlides>1||u.settings.maxSlides>1,u.minThreshold=u.settings.minSlides*u.settings.slideWidth+(u.settings.minSlides-1)*u.settings.slideMargin,u.maxThreshold=u.settings.maxSlides*u.settings.slideWidth+(u.settings.maxSlides-1)*u.settings.slideMargin,u.working=!1,u.controls={},u.animProp=u.settings.mode=="vertical"?"top":"left",u.usingCSS=u.settings.useCSS&&u.settings.mode!="fade"&&function(){var i=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],n;for(n in t)if(i.style[t[n]]!==void 0)return u.cssPrefix=t[n].replace("Perspective","").toLowerCase(),u.animProp="-"+u.cssPrefix+"-transform",!0;return!1}(),u.settings.mode=="vertical"&&(u.settings.maxSlides=u.settings.minSlides),ot()},ot=function(){if(f.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),u.viewport=f.parent(),u.loader=n('<div class="bx-loading" />'),u.viewport.prepend(u.loader),f.css({width:u.settings.mode=="horizontal"?"2800%":"auto",height:0,overflow:"hidden",position:"relative",margin:0,padding:0}),u.usingCSS&&u.settings.easing?f.css("-"+u.cssPrefix+"-transition-timing-function",u.settings.easing):u.settings.easing||(u.settings.easing="swing"),u.viewport.css({width:"100%",height:"50",overflow:"hidden",position:"relative"}),u.children.css({float:u.settings.mode=="horizontal"?"left":"none",position:"relative",width:nt(),listStyle:"none",marginRight:u.settings.mode=="horizontal"?u.settings.slideMargin:0,marginBottom:u.settings.mode=="vertical"?u.settings.slideMargin:0}),u.settings.mode=="fade"&&(u.children.css({position:"absolute",zIndex:0,display:"none"}),u.children.eq(u.settings.startSlide).css({zIndex:50,display:"block"})),u.controls.el=n('<div class="bx-controls" />'),u.settings.captions&&at(),u.settings.infiniteLoop&&u.settings.mode!="fade"&&!u.settings.ticker){var t=u.settings.mode=="vertical"?u.settings.minSlides:u.settings.maxSlides,r=u.children.slice(0,t).clone().addClass("bx-clone"),i=u.children.slice(-t).clone().addClass("bx-clone");f.append(r).prepend(i)}u.active.last=u.settings.startSlide==o()-1,u.settings.video&&f.fitVids(),u.settings.ticker||(u.settings.pager&&ht(),u.settings.controls&&yt(),u.settings.auto&&u.settings.autoControls&&lt(),(u.settings.controls||u.settings.autoControls||u.settings.pager)&&u.viewport.after(u.controls.el)),f.children().imagesLoaded(function(){u.loader.remove(),f.css("overflow","visible"),d(),u.settings.mode=="vertical"&&(u.settings.adaptiveHeight=!0),u.viewport.animate({height:h()},200,function(){u.settings.onSliderLoad(u.active.index)}),u.settings.auto&&u.settings.autoStart&&st(),u.settings.ticker&&rt(),u.settings.pager&&a(u.settings.startSlide),u.settings.controls&&b(),u.settings.touchEnabled&&!u.settings.ticker&&et()})},h=function(){var f=0,t=n(),r;if(u.settings.mode=="vertical"||u.settings.adaptiveHeight)if(u.carousel)for(r=u.settings.moveSlides==1?u.active.index:u.active.index*s(),t=u.children.eq(r),i=1;u.settings.maxSlides-1>=i;i++)t=r+i>=u.children.length?t.add(u.children.eq(i-1)):t.add(u.children.eq(r+i));else t=u.children.eq(u.active.index);else t=u.children;return u.settings.mode=="vertical"?(t.each(function(){f+=n(this).outerHeight()}),u.settings.slideMargin>0&&(f+=u.settings.slideMargin*(u.settings.minSlides-1))):f=Math.max.apply(Math,t.map(function(){return n(this).outerHeight(!1)}).get()),f},nt=function(){var t=u.settings.slideWidth,n=u.viewport.width();return u.settings.slideWidth==0?t=n:n>u.maxThreshold?t=(n-u.settings.slideMargin*(u.settings.maxSlides-1))/u.settings.maxSlides:u.minThreshold>n&&(t=(n-u.settings.slideMargin*(u.settings.minSlides-1))/u.settings.minSlides),t},c=function(){var n=1,t;return u.settings.mode=="horizontal"?u.minThreshold>u.viewport.width()?n=u.settings.minSlides:u.viewport.width()>u.maxThreshold?n=u.settings.maxSlides:(t=u.children.first().width(),n=Math.floor(u.viewport.width()/t)):u.settings.mode=="vertical"&&(n=u.settings.minSlides),n},o=function(){var n=0,i,t;if(u.settings.moveSlides>0)if(u.settings.infiniteLoop)n=u.children.length/s();else for(i=0,t=0;u.children.length>i;)++n,i=t+c(),t+=c()>=u.settings.moveSlides?u.settings.moveSlides:c();else n=Math.ceil(u.children.length/c());return n},s=function(){return u.settings.moveSlides>0&&c()>=u.settings.moveSlides?u.settings.moveSlides:c()},d=function(){var t,i,n;u.active.last?u.settings.mode=="horizontal"?(t=u.children.last(),n=t.position(),e(-(n.left-(u.viewport.width()-t.width())),"reset",0)):u.settings.mode=="vertical"&&(i=u.children.length-u.settings.minSlides,n=u.children.eq(i).position(),e(-n.top,"reset",0)):(n=u.children.eq(u.active.index*s()).position(),u.active.index==o()-1&&(u.active.last=!0),n!=void 0&&(u.settings.mode=="horizontal"?e(-n.left,"reset",0):u.settings.mode=="vertical"&&e(-n.top,"reset",0)))},e=function(n,t,i,r){var s,o;u.usingCSS?(s=u.settings.mode=="vertical"?"translate3d(0, "+n+"px, 0)":"translate3d("+n+"px, 0, 0)",f.css("-"+u.cssPrefix+"-transition-duration",i/1e3+"s"),t=="slide"?(f.css(u.animProp,s),f.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){f.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),w()})):t=="reset"?f.css(u.animProp,s):t=="ticker"&&(f.css("-"+u.cssPrefix+"-transition-timing-function","linear"),f.css(u.animProp,s),f.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){f.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),e(r.resetValue,"reset",0),l()}))):(o={},o[u.animProp]=n,t=="slide"?f.animate(o,i,u.settings.easing,function(){w()}):t=="reset"?f.css(u.animProp,n):t=="ticker"&&f.animate(o,speed,"linear",function(){e(r.resetValue,"reset",0),l()}))},g=function(){var r="",t,i;for(pagerQty=o(),t=0;pagerQty>t;t++)i="",u.settings.buildPager&&n.isFunction(u.settings.buildPager)?(i=u.settings.buildPager(t),u.pagerEl.addClass("bx-custom-pager")):(i=t+1,u.pagerEl.addClass("bx-default-pager")),r+='<div class="bx-pager-item"><a href="" data-slide-index="'+t+'" class="bx-pager-link">'+i+"</a></div>";u.pagerEl.html(r)},ht=function(){u.settings.pagerCustom?u.pagerEl=n(u.settings.pagerCustom):(u.pagerEl=n('<div class="bx-pager" />'),u.settings.pagerSelector?n(u.settings.pagerSelector).html(u.pagerEl):u.controls.el.addClass("bx-has-pager").append(u.pagerEl),g()),u.pagerEl.delegate("a","click",vt)},yt=function(){u.controls.next=n('<a class="bx-next" href="">'+u.settings.nextText+"</a>"),u.controls.prev=n('<a class="bx-prev" href="">'+u.settings.prevText+"</a>"),u.controls.next.bind("click",ut),u.controls.prev.bind("click",ct),u.settings.nextSelector&&n(u.settings.nextSelector).append(u.controls.next),u.settings.prevSelector&&n(u.settings.prevSelector).append(u.controls.prev),u.settings.nextSelector||u.settings.prevSelector||(u.controls.directionEl=n('<div class="bx-controls-direction" />'),u.controls.directionEl.append(u.controls.prev).append(u.controls.next),u.controls.el.addClass("bx-has-controls-direction").append(u.controls.directionEl))},lt=function(){u.controls.start=n('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+u.settings.startText+"</a></div>"),u.controls.stop=n('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+u.settings.stopText+"</a></div>"),u.controls.autoEl=n('<div class="bx-controls-auto" />'),u.controls.autoEl.delegate(".bx-start","click",pt),u.controls.autoEl.delegate(".bx-stop","click",wt),u.settings.autoControlsCombine?u.controls.autoEl.append(u.controls.start):u.controls.autoEl.append(u.controls.start).append(u.controls.stop),u.settings.autoControlsSelector?n(u.settings.autoControlsSelector).html(u.controls.autoEl):u.controls.el.addClass("bx-has-controls-auto").append(u.controls.autoEl),p(u.settings.autoStart?"stop":"start")},at=function(){u.children.each(function(){var t=n(this).find("img:first").attr("title");t!=void 0&&n(this).append('<div class="bx-caption"><span>'+t+"</span></div>")})},ut=function(n){u.settings.auto&&f.stopAuto(),f.goToNextSlide(),n.preventDefault()},ct=function(n){u.settings.auto&&f.stopAuto(),f.goToPrevSlide(),n.preventDefault()},pt=function(n){f.startAuto(),n.preventDefault()},wt=function(n){f.stopAuto(),n.preventDefault()},vt=function(t){u.settings.auto&&f.stopAuto();var r=n(t.currentTarget),i=parseInt(r.attr("data-slide-index"));i!=u.active.index&&f.goToSlide(i),t.preventDefault()},a=function(n){return u.settings.pagerType=="short"?(u.pagerEl.html(n+1+u.settings.pagerShortSeparator+u.children.length),void 0):(u.pagerEl.find("a").removeClass("active"),u.pagerEl.find("a").eq(n).addClass("active"),void 0)},w=function(){if(u.settings.infiniteLoop){var n="";u.active.index==0?n=u.children.eq(0).position():u.active.index==o()-1&&u.carousel?n=u.children.eq((o()-1)*s()).position():u.active.index==u.children.length-1&&(n=u.children.eq(u.children.length-1).position()),u.settings.mode=="horizontal"?e(-n.left,"reset",0):u.settings.mode=="vertical"&&e(-n.top,"reset",0)}u.working=!1,u.settings.onSlideAfter(u.children.eq(u.active.index),u.oldIndex,u.active.index)},p=function(n){u.settings.autoControlsCombine?u.controls.autoEl.html(u.controls[n]):(u.controls.autoEl.find("a").removeClass("active"),u.controls.autoEl.find("a:not(.bx-"+n+")").addClass("active"))},b=function(){!u.settings.infiniteLoop&&u.settings.hideControlOnEnd&&(u.active.index==0?(u.controls.prev.addClass("disabled"),u.controls.next.removeClass("disabled")):u.active.index==o()-1?(u.controls.next.addClass("disabled"),u.controls.prev.removeClass("disabled")):(u.controls.prev.removeClass("disabled"),u.controls.next.removeClass("disabled")))},st=function(){u.settings.autoDelay>0?setTimeout(f.startAuto,u.settings.autoDelay):f.startAuto(),u.settings.autoHover&&f.hover(function(){u.interval&&(f.stopAuto(!0),u.autoPaused=!0)},function(){u.autoPaused&&(f.startAuto(!0),u.autoPaused=null)})},rt=function(){var i=0,t;u.settings.autoDirection=="next"?f.append(u.children.clone().addClass("bx-clone")):(f.prepend(u.children.clone().addClass("bx-clone")),t=u.children.first().position(),i=u.settings.mode=="horizontal"?-t.left:-t.top),e(i,"reset",0),u.settings.pager=!1,u.settings.controls=!1,u.settings.autoControls=!1,u.settings.tickerHover&&!u.usingCSS&&u.viewport.hover(function(){f.stop()},function(){var t=0;u.children.each(function(){t+=u.settings.mode=="horizontal"?n(this).outerWidth(!0):n(this).outerHeight(!0)});var e=u.settings.speed/t,r=u.settings.mode=="horizontal"?"left":"top",i=e*(t-Math.abs(parseInt(f.css(r))));l(i)}),l()},l=function(n){var i,t;speed=n?n:u.settings.speed,i={left:0,top:0},t={left:0,top:0},u.settings.autoDirection=="next"?i=f.find(".bx-clone").first().position():t=u.children.first().position();var s=u.settings.mode=="horizontal"?-i.left:-i.top,o=u.settings.mode=="horizontal"?-t.left:-t.top,r={resetValue:o};e(s,"ticker",speed,r)},et=function(){u.touch={start:{x:0,y:0},end:{x:0,y:0}},u.viewport.bind("touchstart",it)},it=function(n){if(u.working)n.preventDefault();else{u.touch.originalPos=f.position();var t=n.originalEvent;u.touch.start.x=t.changedTouches[0].pageX,u.touch.start.y=t.changedTouches[0].pageY,u.viewport.bind("touchmove",k),u.viewport.bind("touchend",tt)}},k=function(n){var r,t,i;(n.preventDefault(),u.settings.mode!="fade")&&(r=n.originalEvent,t=0,u.settings.mode=="horizontal"?(i=r.changedTouches[0].pageX-u.touch.start.x,t=u.touch.originalPos.left+i):(i=r.changedTouches[0].pageY-u.touch.start.y,t=u.touch.originalPos.top+i),e(t,"reset",0))},tt=function(n){var r,i,t;u.viewport.unbind("touchmove",k),r=n.originalEvent,i=0,(u.touch.end.x=r.changedTouches[0].pageX,u.touch.end.y=r.changedTouches[0].pageY,u.settings.mode=="fade")?(t=Math.abs(u.touch.start.x-u.touch.end.x),t>=u.settings.swipeThreshold&&(u.touch.start.x>u.touch.end.x?f.goToNextSlide():f.goToPrevSlide(),f.stopAuto())):(t=0,u.settings.mode=="horizontal"?(t=u.touch.end.x-u.touch.start.x,i=u.touch.originalPos.left):(t=u.touch.end.y-u.touch.start.y,i=u.touch.originalPos.top),!u.settings.infiniteLoop&&(u.active.index==0&&t>0||u.active.last&&0>t)?e(i,"reset",200):Math.abs(t)>=u.settings.swipeThreshold?(0>t?f.goToNextSlide():f.goToPrevSlide(),f.stopAuto()):e(i,"reset",200)),u.viewport.unbind("touchend",tt)};return f.goToSlide=function(t,i){var l,r,p,k,c,v,y;u.working||u.active.index==t||((u.working=!0,u.oldIndex=u.active.index,u.active.index=0>t?o()-1:t>=o()?0:t,u.settings.onSlideBefore(u.children.eq(u.active.index),u.oldIndex,u.active.index),i=="next"?u.settings.onSlideNext(u.children.eq(u.active.index),u.oldIndex,u.active.index):i=="prev"&&u.settings.onSlidePrev(u.children.eq(u.active.index),u.oldIndex,u.active.index),u.active.last=u.active.index>=o()-1,u.settings.pager&&a(u.active.index),u.settings.controls&&b(),u.settings.mode=="fade")?(u.settings.adaptiveHeight&&u.viewport.height()!=h()&&u.viewport.animate({height:h()},u.settings.adaptiveHeightSpeed),u.children.filter(":visible").fadeOut(u.settings.speed).css({zIndex:0}),u.children.eq(u.active.index).css("zIndex",51).fadeIn(u.settings.speed,function(){n(this).css("zIndex",50),w()})):(u.settings.adaptiveHeight&&u.viewport.height()!=h()&&u.viewport.animate({height:h()},u.settings.adaptiveHeightSpeed),l=0,r={left:0,top:0},!u.settings.infiniteLoop&&u.carousel&&u.active.last?u.settings.mode=="horizontal"?(c=u.children.eq(u.children.length-1),r=c.position(),l=u.viewport.width()-c.width()):(p=u.children.length-u.settings.minSlides,r=u.children.eq(p).position()):u.carousel&&u.active.last&&i=="prev"?(k=u.settings.moveSlides==1?u.settings.maxSlides-s():(o()-1)*s()-(u.children.length-u.settings.maxSlides),c=f.children(".bx-clone").eq(k),r=c.position()):i=="next"&&u.active.index==0?(r=f.find(".bx-clone").eq(u.settings.maxSlides).position(),u.active.last=!1):t>=0&&(v=t*s(),r=u.children.eq(v).position()),y=u.settings.mode=="horizontal"?-(r.left-l):-r.top,e(y,"slide",u.settings.speed)))},f.goToNextSlide=function(){if(u.settings.infiniteLoop||!u.active.last){var n=u.active.index+1;f.goToSlide(n,"next")}},f.goToPrevSlide=function(){if(u.settings.infiniteLoop||u.active.index!=0){var n=u.active.index-1;f.goToSlide(n,"prev")}},f.startAuto=function(n){u.interval||(u.interval=setInterval(function(){u.settings.autoDirection=="next"?f.goToNextSlide():f.goToPrevSlide()},u.settings.pause),u.settings.autoControls&&n!=1&&p("stop"))},f.stopAuto=function(n){u.interval&&(clearInterval(u.interval),u.interval=null,u.settings.autoControls&&n!=1&&p("start"))},f.getCurrentSlide=function(){return u.active.index},f.getSlideCount=function(){return u.children.length},y=n(window).width(),v=n(window).height(),n(window).resize(function(){var i=n(window).width(),t=n(window).height();(y!=i||v!=t)&&(y=i,v=t,u.children.add(f.find(".bx-clone")).width(nt()),u.viewport.css("height",h()),u.active.last&&(u.active.index=o()-1),u.active.index>=o()&&(u.active.last=!0),u.settings.pager&&!u.settings.pagerCustom&&(g(),a(u.active.index)),u.settings.ticker||d())}),ft(),this}}}(jQuery),function(n,t){var i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";n.fn.imagesLoaded=function(r){function l(){var i=n(s),t=n(o);u&&(o.length?u.reject(f,i,t):u.resolve(f)),n.isFunction(r)&&r.call(e,f,i,t)}function c(t,r){t.src===i||-1!==n.inArray(t,h)||(h.push(t),r?o.push(t):s.push(t),n.data(t,"imagesLoaded",{isBroken:r,src:t.src}),a&&u.notifyWith(n(t),[r,f,n(s),n(o)]),f.length===h.length&&(setTimeout(l),f.unbind(".imagesLoaded")))}var e=this,u=n.isFunction(n.Deferred)?n.Deferred():0,a=n.isFunction(u.notify),f=e.find("img").add(e.filter("img")),h=[],s=[],o=[];return n.isPlainObject(r)&&n.each(r,function(n,t){"callback"===n?r=t:u&&u[n](t)}),f.length?f.bind("load.imagesLoaded error.imagesLoaded",function(n){c(n.target,"error"===n.type)}).each(function(r,u){var e=u.src,f=n.data(u,"imagesLoaded");f&&f.src===e?c(u,f.isBroken):u.complete&&u.naturalWidth!==t?c(u,0===u.naturalWidth||0===u.naturalHeight):(u.readyState||u.complete)&&(u.src=i,u.src=e)}):l(),u?u.promise(e):e}}(jQuery),$(document).ready(function(){createDropDown();var t=$(".dropdown dt a"),n=$(".dropdown dd ul");t.toggle(function(){n.slideDown(200),t.addClass("active")},function(){n.slideUp(200),$(this).removeAttr("class")}),$(document).bind("click",function(i){var r=$(i.target);r.parents().hasClass("dropdown")||n.slideUp(200),t.removeAttr("class")}),$(".dropdown dd ul li a").click(function(){var r=$(this).parent().attr("class"),i=$(this).find("em").html();$("#target dt").removeClass().addClass(r),$("#target dt em").html(i),n.hide(),t.removeAttr("class")})}),function(n,t,i){function b(t,i){var a=t.keyCode,u=i.data("dropkick"),d=String.fromCharCode(a),nt=i.find(".dk_options"),y=i.hasClass("dk_open"),k=nt.find("li"),h=i.find(".dk_option_current"),tt=k.first(),it=k.last(),b,p,c,w,l,g,v;switch(a){case f.enter:y?h.hasClass("disabled")||(e(h.find("a"),i),o(i)):s(i),t.preventDefault();break;case f.tab:y&&(e(h.find("a"),i),o(i));break;case f.up:p=h.prev("li"),y?p.length?r(p,i):r(it,i):s(i),t.preventDefault();break;case f.down:y?(b=h.next("li").first(),b.length?r(b,i):r(tt,i)):s(i),t.preventDefault()}if(a>=f.zero&&a<=f.z){for(c=+new Date,u.finder==null?(u.finder=d.toUpperCase(),u.timer=c):c>parseInt(u.timer)+1e3?(u.finder=d.toUpperCase(),u.timer=c):(u.finder=u.finder+d.toUpperCase(),u.timer=c),w=k.find("a"),l=0,g=w.length;l<g;l++)if(v=n(w[l]),v.html().toUpperCase().indexOf(u.finder)===0){e(v,i),r(v.parent(),i);break}i.data("dropkick",u)}}function e(n,t,i){var u,f,r;u=n.attr("data-dk-dropdown-value"),f=n.text(),r=t.data("dropkick"),$select=r.$select,$select.val(u).trigger("change"),t.find(".dk_label").text(f),i=i||!1,r.settings.change&&!i&&r.settings.change.call($select,u,f)}function r(n,t){t.find(".dk_option_current").removeClass("dk_option_current"),n.addClass("dk_option_current"),d(t,n)}function d(n,t){var i=t.prevAll("li").outerHeight()*t.prevAll("li").length;n.find(".dk_options_inner").animate({scrollTop:i+"px"},0)}function o(n){n.removeClass("dk_open")}function l(i){var u=i.find(".dk_toggle"),f=i.find(".dk_options").outerHeight(),r=n(t).height()-u.outerHeight()-u.offset().top;return console.log(r),f<r}function s(n){var t=n.data("dropkick");n.find(".dk_options").css({top:l(n)?n.find(".dk_toggle").outerHeight()-1:"",bottom:l(n)?"":n.find(".dk_toggle").outerHeight()-1}),n.toggleClass("dk_open")}function w(t,i){var u=t,o=[],s,f,h;if(u=u.replace("{{ id }}",i.id),u=u.replace("{{ label }}",i.label),u=u.replace("{{ tabindex }}",i.tabindex),i.options&&i.options.length)for(f=0,h=i.options.length;f<h;f++){var e=n(i.options[f]),l="dk_option_current",a=" disabled",r=p;r=r.replace("{{ value }}",e.val()),r=r.replace("{{ current }}",c(e.val())===i.value?l:""),r=r.replace("{{ disabled }}",typeof e.attr("disabled")!="undefined"?a:""),r=r.replace("{{ text }}",e.text()),o[o.length]=r}return s=n(u),s.find(".dk_options_inner").html(o.join("")),s}function c(t){return n.trim(t).length>0?t:!1}var y=navigator.userAgent.match(/MSIE ([0-9]{1,}[\.0-9]{0,})/),v=!!y,a=v&&parseFloat(y[1])<7;a||(i.documentElement.className=i.documentElement.className+" dk_fouc");var u={},h=[],f={left:37,up:38,right:39,down:40,enter:13,tab:9,zero:48,z:90,last:221},g=['<div class="dk_container" id="dk_container_{{ id }}" tabindex="{{ tabindex }}">','<a class="dk_toggle">','<span class="dk_label">{{ label }}</span>',"</a>",'<div class="dk_options">','<ul class="dk_options_inner">',"</ul>","</div>","</div>"].join(""),p='<li class="{{ current }} {{ disabled }}"><a data-dk-dropdown-value="{{ value }}">{{ text }}</a></li>',k={startSpeed:100,theme:!1,change:!1,reverseSync:!1},nt=!1;u.init=function(t){return t=n.extend({},k,t),this.each(function(){var i=n(this),o=i.find(":selected").first(),l=i.find("option"),r=i.data("dropkick")||{},s=i.attr("id")||i.attr("name"),a=t.width||i.outerWidth(),v=i.attr("tabindex")?i.attr("tabindex"):"",u=!1,f;if(r.id)return i;r.settings=t,r.tabindex=v,r.id=s,r.$original=o,r.$select=i,r.value=c(i.val())||c(o.attr("value")),r.label=o.text(),r.options=l,u=w(g,r),u.find(".dk_toggle").css({width:a+"px"}),i.before(u),u=n('div[id="dk_container_'+s+'"]').fadeIn(t.startSpeed),f=t.theme?t.theme:"default",u.addClass("dk_theme_"+f),r.theme=f,r.$dk=u,i.data("dropkick",r),u.data("dropkick",r),h[h.length]=i,u.bind("focus.dropkick",function(){u.addClass("dk_focus")}).bind("blur.dropkick",function(){u.removeClass("dk_open dk_focus")}),r.settings.reverseSync&&i.bind("change",function(){var r=n(':[data-dk-dropdown-value="'+i.val()+'"]',u);e(r,u,!0)}),setTimeout(function(){i.hide()},0)})},u.theme=function(t){var f=n(this),i=f.data("dropkick"),u=i.$dk,r="dk_theme_"+i.theme;u.removeClass(r).addClass("dk_theme_"+t),i.theme=t},u.reset=function(){for(var t=0,u=h.length;t<u;t++){var f=h[t].data("dropkick"),n=f.$dk,i=n.find("li").first();n.find(".dk_label").text(f.label),n.find(".dk_options_inner").animate({scrollTop:0},0),r(i,n),e(i,n,!0)}},u.reload=function(){var t=n(this),i=t.data("dropkick");t.removeData("dropkick"),n("#dk_container_"+i.id).remove(),t.dropkick(i.settings)},n.fn.dropkick=function(n){if(!a){if(u[n])return u[n].apply(this,Array.prototype.slice.call(arguments,1));if(typeof n=="object"||!n)return u.init.apply(this,arguments)}},n(function(){n(i).on("click",".dk_toggle",function(i){var r=n(this).parents(".dk_container").first();return s(r),"ontouchstart"in t&&(r.addClass("dk_touch"),r.find(".dk_options_inner").addClass("scrollable vertical")),i.preventDefault(),!1});n(i).on(v?"mousedown":"click",".dk_options a",function(t){var u=n(this),i=u.parents(".dk_container").first(),f=i.data("dropkick");return u.parent().hasClass("disabled")||(o(i),e(u,i),r(u.parent(),i)),t.preventDefault(),!1});n(i).bind("keydown.dk_nav",function(t){var r=n(".dk_container.dk_open"),u=n(".dk_container.dk_focus"),i=null;r.length?i=r:u.length&&!r.length&&(i=u),i&&b(t,i)});n(i).on("click",null,function(t){n(t.target).closest(".dk_container").length==0&&o(n(".dk_toggle").parents(".dk_container").first())})})}(jQuery,window,document),typeof stlib=="undefined"&&(stlib={}),stlib.functions||(stlib.functions=[],stlib.functionCount=0),stlib.global={},stlib.global.hash=document.location.href.split("#"),stlib.global.hash.shift(),stlib.global.hash=stlib.global.hash.join("#"),stlib.dynamicOn=!0,stlib.debugOn=!1,stlib.debug={count:0,messages:[],debug:function(n,t){t&&typeof console!="undefined"&&console.log(n),stlib.debug.messages.push(n)},show:function(n){for(message in stlib.debug.messages)typeof console!="undefined"&&(n?/ERROR/.test(stlib.debug.messages[message])?console.log(stlib.debug.messages[message]):null:console.log(stlib.debug.messages[message]))},showError:function(){stlib.debug.show(!0)}};var _$d=function(n){stlib.debug.debug(n,stlib.debugOn)},_$d0=function(){_$d(" ")},_$d_=function(){_$d("___________________________________________")},_$d1=function(n){_$d(_$dt()+"| "+n)},_$d2=function(n){_$d(_$dt()+"|  * "+n)},_$de=function(n){_$d(_$dt()+"ERROR: "+n)},_$dt=function(){var n=new Date,r=n.getHours(),i=n.getMinutes(),t=n.getSeconds();return r+":"+i+":"+t+" > "};stlib.buttonInfo={buttonList:[],addButton:function(n){stlib.buttonInfo.buttonList.push(n)},getButton:function(n){if(isNaN(n))for(c=0;c<stlib.buttonInfo.buttonList.length;c++)stlib.buttonInfo.buttonList[c].service==n&&debug(stlib.buttonInfo.buttonList[c]);else return n>=stlib.buttonInfo.buttonList.length?!1:stlib.buttonInfo.buttonList[n]},clickButton:function(n){if(isNaN(n)){for(c=0;c<stlib.buttonInfo.buttonList.length;c++)if(stlib.buttonInfo.buttonList[c].service==n){if(stlib.buttonInfo.getButton(c).service=="sharethis"||stlib.buttonInfo.getButton(c).service=="email"||stlib.buttonInfo.getButton(c).service=="wordpress")return stlib.buttonInfo.getButton(c).popup(),!0;stlib.buttonInfo.getButton(c).element.childNodes[0].onclick()}}else{if(n>=stlib.buttonInfo.buttonList.length)return!1;stlib.buttonInfo.getButton(n).service=="sharethis"||stlib.buttonInfo.getButton(n).service=="email"||stlib.buttonInfo.getButton(n).service=="wordpress"?stlib.buttonInfo.getButton(n).popup():stlib.buttonInfo.getButton(n).element.childNodes[0].onclick()}},resetButton:function(){stlib.buttonInfo.buttonList=[]},listButton:function(){for(c=0;c<stlib.buttonInfo.buttonList.length;c++)debug(stlib.buttonInfo.buttonList[c])}},stlib.buttonInfo.resetButton(),stlib.messageQueue=function(){var n=this;this.pumpInstance=null,this.queue=[],this.dependencies=["data"],this.sending=!0,this.setPumpInstance=function(n){this.pumpInstance=n},this.send=function(t,i){var r,u;if(typeof t=="string"&&typeof i=="string"&&(_$d_(),_$d1("Queueing message: "+i+": "+t)),typeof t=="string"&&typeof i=="string"?this.queue.push([i,t]):null,this.sending==!1||stlib.browser.ieFallback)if(this.pumpInstance!=null)if(this.dependencies.length>0)for(messageSet in this.queue)this.queue[messageSet][0]==this.dependencies[0]&&this.queue.length>0&&(_$d1("Current Queue Length: "+this.queue.length),r=this.queue.shift(),this.pumpInstance.broadcastSendMessage(r[1]),this.dependencies.shift(),this.sending=!0);else this.queue.length>0&&(_$d1("Current Queue Length: "+this.queue.length),r=this.queue.shift(),this.pumpInstance.broadcastSendMessage(r[1]),this.sending=!0);else _$d_(),_$d1("Pump is null");stlib.browser.ieFallback&&this.queue.length>0&&(u="process"+stlib.functionCount,stlib.functionCount++,stlib.functions[u]=n.process,setTimeout("stlib.functions['"+u+"']()",500))},this.process=function(){_$d1("Processing MessageQueue"),n.sending=!1,_$d(this.queue),n.send()}},stlib.sharer={sharerUrl:("https:"==document.location.protocol?"https://ws.":"http://wd.")+"sharethis.com/api/sharer.php",regAuto:new RegExp(/(.*?)_auto$/),constructParamString:function(){stlib.data.validate(),stlib.hash.checkURL();var t=stlib.data.pageInfo,i="?",n;for(n in t)i+=n+"="+encodeURIComponent(t[n])+"&",_$d1("constructParamStringPageInfo: "+n+": "+t[n]);t=stlib.data.shareInfo;for(n in t)i+=n+"="+encodeURIComponent(t[n])+"&",_$d1("constructParamStringShareInfo: "+n+": "+t[n]);return i.substring(0,i.length-1)},sharePinterest:function(){typeof stWidget!="undefined"&&typeof stWidget.closeWidget=="function"&&stWidget.closeWidget(),typeof stcloseWidget=="function"&&stcloseWidget(),typeof stToolbar!="undefined"&&typeof stToolbar.closeWidget=="function"&&stToolbar.closeWidget();var n=document.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("charset","UTF-8"),n.setAttribute("src","//assets.pinterest.com/js/pinmarklet.js?r="+Math.random()*99999999),document.body.appendChild(n)},share:function(n,t){var i=stlib.sharer.constructParamString(),r;_$d_(),_$d1("Initiating a Share with the following url:"),_$d2(stlib.sharer.sharerUrl+i),stlib.data.get("destination","shareInfo")=="pinterest"&&stlib.data.get("source","shareInfo").match(/share4xmobile/)==null&&stlib.data.get("source","shareInfo").match(/share4xpage/)==null&&stlib.data.get("source","shareInfo").match(/5xpage/)==null&&(stlib.data.get("image","shareInfo")==!1||stlib.data.get("image","shareInfo")==null)||stlib.data.get("destination","shareInfo")=="copy"||stlib.data.get("destination","shareInfo")=="plusone"||stlib.data.get("destination","shareInfo").match(stlib.sharer.regAuto)||typeof stlib.nativeButtons!="undefined"&&stlib.nativeButtons.checkNativeButtonSupport(stlib.data.get("destination","shareInfo"))?(r=new Image(1,1),r.src=stlib.sharer.sharerUrl+i,r.onload=function(){return}):typeof t!="undefined"&&t==!0?window.open(stlib.sharer.sharerUrl+i,(new Date).valueOf(),"scrollbars=1, status=1, height=480, width=640, resizable=1"):window.open(stlib.sharer.sharerUrl+i),n?n():null}},stlib.browser={iemode:null,firefox:null,firefoxVersion:null,safari:null,chrome:null,windows:null,mac:null,ieFallback:/MSIE [6789]/.test(navigator.userAgent),init:function(){window.navigator.appName=="Microsoft Internet Explorer"&&(document.documentMode?stlib.browser.iemode=document.documentMode:(stlib.browser.iemode=5,document.compatMode&&document.compatMode=="CSS1Compat"&&(stlib.browser.iemode=7))),stlib.browser.firefox=navigator.userAgent.indexOf("Firefox")!=-1?!0:!1,stlib.browser.firefoxVersion=navigator.userAgent.indexOf("Firefox/5.0")!=-1||navigator.userAgent.indexOf("Firefox/9.0")!=-1?!1:!0,stlib.browser.safari=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1?!0:!1,stlib.browser.chrome=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")!=-1?!0:!1,stlib.browser.windows=navigator.userAgent.indexOf("Windows")!=-1?!0:!1,stlib.browser.mac=navigator.userAgent.indexOf("Macintosh")!=-1?!0:!1},getIEVersion:function(){return stlib.browser.iemode},isFirefox:function(){return stlib.browser.firefox},firefox8Version:function(){return stlib.browser.firefoxVersion},isSafari:function(){return stlib.browser.safari},isWindows:function(){return stlib.browser.windows},isMac:function(){return stlib.browser.mac}},stlib.browser.init(),stlib.browser.mobile={mobile:!1,uagent:null,android:null,iOs:null,silk:null,windows:null,kindle:null,init:function(){this.uagent=navigator.userAgent.toLowerCase(),this.isAndroid()?this.mobile=!0:this.isIOs()?this.mobile=!0:this.isSilk()?this.mobile=!0:this.isWindowsPhone()?this.mobile=!0:this.isKindle()&&(this.mobile=!0)},isMobile:function(){return this.mobile},isAndroid:function(){return this.android===null&&(this.android=this.uagent.indexOf("android")>-1),this.android},isKindle:function(){return this.kindle===null&&(this.kindle=this.uagent.indexOf("kindle")>-1),this.kindle},isIOs:function(){return this.iOs===null&&(this.iOs=this.uagent.indexOf("ipad")>-1||this.uagent.indexOf("ipod")>-1||this.uagent.indexOf("iphone")>-1),this.iOs},isSilk:function(){return this.silk===null&&(this.silk=this.uagent.indexOf("silk")>-1),this.silk},isWindowsPhone:function(){return this.windows===null&&(this.windows=this.uagent.indexOf("windows phone")>-1),this.windows},handleForMobileFriendly:function(n,t,i){var v,l,r,s,e,f,a,o,c,h,u;if(!this.isMobile())return!1;if(typeof stLight=="undefined"&&(stLight={},stLight.publisher=t.publisher,stLight.sessionID=t.sessionID,stLight.fpc=""),v=typeof n.title!="undefined"?n.title:encodeURIComponent(document.title),l=typeof n.url!="undefined"?n.url:document.URL,t.service=="sharethis"){var v=typeof n.title!="undefined"?n.title:encodeURIComponent(document.title),l=typeof n.url!="undefined"?n.url:document.URL,u=document.createElement("form");u.setAttribute("method","GET"),u.setAttribute("action","http://edge.sharethis.com/share4x/mobile.html"),u.setAttribute("target","_blank"),r={url:l,title:v,destination:t.service,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID},typeof n.image!="undefined"&&n.image!=null&&(r.image=n.image),typeof n.summary!="undefined"&&n.summary!=null&&(r.desc=n.summary),typeof i!="undefined"&&typeof i.exclusive_services!="undefined"&&i.exclusive_services!=null&&(r.exclusive_services=i.exclusive_services),typeof t.exclusive_services!="undefined"&&t.exclusive_services!=null&&(r.exclusive_services=t.exclusive_services),typeof i!="undefined"&&typeof i.services!="undefined"&&i.services!=null&&(r.services=i.services),typeof t.services!="undefined"&&t.services!=null&&(r.services=t.services),s=t,typeof i!="undefined"&&(s=i),typeof s.doNotHash!="undefined"&&s.doNotHash!=null&&(r.doNotHash=s.doNotHash),typeof n.via!="undefined"&&n.via!=null&&(r.via=n.via),r.service=t.service,r.type=t.type,stlib.data&&(e=stlib.json.encode(stlib.data.pageInfo),f=stlib.json.encode(stlib.data.shareInfo),stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()?(e=encodeURIComponent(encodeURIComponent(e)),f=encodeURIComponent(encodeURIComponent(f))):(e=encodeURIComponent(e),f=encodeURIComponent(f)),r.pageInfo=e,r.shareInfo=f);for(a in r)o=document.createElement("input"),o.setAttribute("type","hidden"),o.setAttribute("name",a),o.setAttribute("value",r[a]),u.appendChild(o);return document.body.appendChild(u),u.submit(),!0}return t.service=="email"?(c=l+"%0A%0a",c+="Sent using ShareThis",h="mailto:?",h+="Subject="+v,h+="&body="+c,u=document.createElement("form"),u.setAttribute("method","POST"),u.setAttribute("action",h),document.body.appendChild(u),u.submit(),!0):!1}},stlib.browser.mobile.init(),stlib.cookie={setCookie:function(n,t,i){var y=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1,p=navigator.userAgent.indexOf("MSIE")!=-1,v,h,l,r,u,f,e,o,s,a,c;if(y||p){v=i?i*86400:0,h=document.createElement("div"),h.setAttribute("id",n),h.setAttribute("type","hidden"),document.body.appendChild(h),l=document.getElementById(n),r=document.createElement("form");try{u=document.createElement('<iframe name="'+n+'" ></iframe>')}catch(w){u=document.createElement("iframe")}u.name=n,u.src="javascript:false",u.style.display="none",l.appendChild(u),r.action=("https:"==document.location.protocol?"https://sharethis.com/":"http://sharethis.com/")+"account/setCookie.php",r.method="POST",f=document.createElement("input"),f.setAttribute("type","hidden"),f.setAttribute("name","name"),f.setAttribute("value",n),r.appendChild(f),e=document.createElement("input"),e.setAttribute("type","hidden"),e.setAttribute("name","value"),e.setAttribute("value",t),r.appendChild(e),o=document.createElement("input"),o.setAttribute("type","hidden"),o.setAttribute("name","time"),o.setAttribute("value",v),r.appendChild(o),r.target=n,l.appendChild(r),r.submit()}else i?(s=new Date,s.setTime(s.getTime()+i*864e5),a="; expires="+s.toGMTString()):a="",c=n+"="+escape(t)+a,c+="; domain="+escape(".sharethis.com")+";path=/",document.cookie=c},getCookie:function(n){var t=document.cookie.match("(^|;) ?"+n+"=([^;]*)(;|$)");return t?unescape(t[2]):!1},deleteCookie:function(n){var s=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1,h=navigator.userAgent.indexOf("MSIE")!=-1,u,f,t,i,r,e,o;if(s||h){u=document.createElement("div"),u.setAttribute("id",n),u.setAttribute("type","hidden"),document.body.appendChild(u),f=document.getElementById(n),t=document.createElement("form");try{i=document.createElement('<iframe name="'+n+'" ></iframe>')}catch(c){i=document.createElement("iframe")}i.name=n,i.src="javascript:false",i.style.display="none",f.appendChild(i),t.action=("https:"==document.location.protocol?"https://sharethis.com/":"http://sharethis.com/")+"account/deleteCookie.php",t.method="POST",r=document.createElement("input"),r.setAttribute("type","hidden"),r.setAttribute("name","name"),r.setAttribute("value",n),t.appendChild(r),t.target=n,f.appendChild(t),t.submit()}else e="/",o=".sharethis.com",document.cookie=n.replace(/^\s+|\s+$/g,"")+"="+(e?";path="+e:"")+(o?";domain="+o:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"},deleteAllSTCookie:function(){for(var t=document.cookie,n,t=t.split(";"),i=0;i<t.length;i++)if(n=t[i],n=n.split("="),!/st_optout/.test(n[0])){var f=n[0],u="/",r=".edge.sharethis.com";document.cookie=f+"=;path="+u+";domain="+r+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}},setFpcCookie:function(n,t){var r=new Date,f=r.getFullYear(),o=r.getMonth()+9,s=r.getDate(),i=n+"="+escape(t),u,e;f&&(u=new Date(f,o,s),i+="; expires="+u.toGMTString()),e=stlib.cookie.getDomain(),i+="; domain="+escape(e)+";path=/",document.cookie=i},getFpcCookie:function(n){var t=document.cookie.match("(^|;) ?"+n+"=([^;]*)(;|$)");return t?unescape(t[2]):!1},getDomain:function(){var n=document.domain.split(/\./),t="";return n.length>1&&(t="."+n[n.length-2]+"."+n[n.length-1]),t}},stlib.fpc={cookieName:"__unam",cookieValue:"",createFpc:function(){var n,r,i,f,e,o,t,u;if(!document.domain||document.domain.search(/\.gov/)>0)return!1;if(n=stlib.cookie.getFpcCookie(stlib.fpc.cookieName),n==!1){if(r=Math.round(Math.random()*2147483647),r=r.toString(16),i=+new Date,i=i.toString(16),f=window.location.hostname.split(/\./)[1],!f)return!1;e="",e=stlib.fpc.determineHash(f)+"-"+i+"-"+r+"-1",n=e}else o=n,t=o.split(/\-/),t.length==4&&(u=Number(t[3]),u++,n=t[0]+"-"+t[1]+"-"+t[2]+"-"+u);return stlib.cookie.setFpcCookie(stlib.fpc.cookieName,n),stlib.fpc.cookieValue=n,n},determineHash:function(n){for(var t=0,u=0,r,i=n.length-1;i>=0;i--)r=parseInt(n.charCodeAt(i)),t=(t<<8&268435455)+r+(r<<12),(u=t&161119850)!=0&&(t=t^u>>20);return t.toString(16)}},stlib.validate={regexes:{notEncoded:/(%[^0-7])|(%[0-7][^0-9a-f])|["{}\[\]\<\>\\\^`\|]/gi,tooEncoded:/%25([0-7][0-9a-f])/gi,publisher:/^(([a-z]{2}(-|\.))|)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,url:/^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,fpc:/^[0-9a-f]{7}-[0-9a-f]{11}-[0-9a-f]{7,8}-[0-9]*$/i,sessionID:/^[0-9]*\.[0-9a-f]*$/i,title:/.*/,description:/.*/,buttonType:/^(chicklet|vcount|hcount|large|custom|button|)$/,comment:/.*/,destination:/.*/,source:/.*/,image:/(^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))|^$/i,sourceURL:/^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,sharURL:/(^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))|^$/i}},typeof stlib.data=="undefined"&&(stlib.data={bInit:!1,publisherKeySet:!1,pageInfo:{},shareInfo:{},resetPageData:function(){stlib.data.pageInfo.fpc="ERROR",stlib.data.pageInfo.sessionID="ERROR",stlib.data.pageInfo.hostname="ERROR",stlib.data.pageInfo.location="ERROR"},resetShareData:function(){stlib.data.shareInfo={},stlib.data.shareInfo.url="ERROR",stlib.data.shareInfo.sharURL="",stlib.data.shareInfo.buttonType="ERROR",stlib.data.shareInfo.destination="ERROR",stlib.data.shareInfo.source="ERROR"},resetData:function(){stlib.data.resetPageData(),stlib.data.resetShareData()},validate:function(){function r(n,t){t!=encodeURIComponent(t)&&(i.notEncoded.test(t)?_$de(n+" not encoded"):null,i.tooEncoded.test(t)?_$de(n+" has too much encoding"):null);var r=i[n]?i[n].test(decodeURIComponent(t)):!0;r||_$de(n+" failed validation")}var i=stlib.validate.regexes,t=stlib.data.pageInfo,n;for(n in t)r(n,t[n]);t=stlib.data.shareInfo;for(n in t)r(n,t[n])},init:function(){var n,r,u,t;if(!stlib.data.bInit){stlib.data.bInit=!0,stlib.data.resetData(),stlib.data.set("url",document.location.href,"shareInfo"),n="",stlib.hash.init(),stlib.data.set("shareHash",stlib.hash.shareHash,"pageInfo"),stlib.data.set("incomingHash",stlib.hash.incomingHash,"pageInfo"),stlib.hash.doNotHash||(n="#"+stlib.data.get("shareHash","pageInfo")),r=stlib.hash.updateParams(),stlib.data.set("url",r+n,"shareInfo"),stlib.data.publisherKeySet!=!0&&stlib.data.set("publisher","ur.00000000-0000-0000-0000-000000000000","pageInfo"),stlib.fpc.createFpc(),stlib.data.set("fpc",stlib.fpc.cookieValue,"pageInfo"),u=(+new Date).toString(),t=Number(Math.random().toPrecision(5).toString().substr(2)).toString(),stlib.data.set("sessionID",u+"."+t,"pageInfo"),stlib.data.set("hostname",document.location.hostname,"pageInfo"),stlib.data.set("location",document.location.pathname,"pageInfo");var o=document.referrer,i=o.replace("http://","").replace("https://","").split("/"),e=i.shift(),f=i.join("/");stlib.data.set("refDomain",e,"pageInfo"),stlib.data.set("refQuery",f,"pageInfo")}},setPublisher:function(n){stlib.data.set("publisher",n,"pageInfo"),stlib.data.publisherKeySet=!0},setSource:function(n,t){var i="";i=t?t.toolbar?"toolbar"+n:t.page&&t.page!="home"&&t.page!=""?"chicklet"+n:"button"+n:n,stlib.data.set("source",i,"shareInfo")},set:function(n,t,i){if(_$d_(),_$d1("Setting: "+n+": "+t),typeof t=="number"||typeof t=="boolean")stlib.data[i][n]=t;else if(typeof t=="undefined"||t==null)_$d1("Value undefined or null");else if(stlib.data[i][n]=encodeURIComponent(decodeURIComponent(unescape(t.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25"))),n=="url"||n=="location"||n=="image")try{stlib.data[i][n]=encodeURIComponent(decodeURIComponent(decodeURI(t.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}catch(r){stlib.data[i][n]=encodeURIComponent(decodeURIComponent(unescape(t.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}},get:function(n,t){return stlib.data[t]&&stlib.data[t][n]?decodeURIComponent(stlib.data[t][n]):!1},unset:function(n,t){stlib.data[t]&&typeof stlib.data[t][n]!="undefined"&&delete stlib.data[t][n]}},stlib.data.resetData()),stlib.hash={doNotHash:!0,hashAddressBar:!1,doNotCopy:!0,prefix:"sthash",shareHash:"",incomingHash:"",validChars:["1","2","3","4","5","6","7","8","9","0","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],servicePreferences:{linkedin:"param",stumbleupon:"param",bebo:"param"},hashDestination:function(n){if(n=="copy")return"dpuf";var i=n.substring(0,2)+n.substring(n.length-2,n.length),t=function(n,t){return n.charCodeAt(t)==122?"a":String.fromCharCode(n.charCodeAt(t)+1)};return t(i,0)+t(i,1)+t(i,2)+t(i,3)},getHash:function(){var i=!1,r="",t=document.location.href,n;if(t=t.split("#").shift(),n=t.split("?"),n.length>1){n=n[1].split("&");for(arg in n)try{n[arg].substring(0,6)=="sthash"&&(i=!0,r=n[arg])}catch(u){}return i?r:document.location.hash.substring(1)}return document.location.hash.substring(1)},stripHash:function(n){var t=n;return t=t.split("#"),t.length>1?t[1]:""},clearHash:function(){stlib.hash.validateHash(document.location.hash)&&(window.history&&history.replaceState?history.replaceState(null,"ShareThis","#"):/MSIE/.test(navigator.userAgent)?window.location.replace("#"):document.location.hash="")},init:function(){var n="",u=stlib.hash.validChars.length,t,r;for(i=0;i<8;i++)n+=stlib.hash.validChars[Math.random()*u|0];stlib.hash.getHash()==""?stlib.hash.shareHash=stlib.hash.prefix+"."+n:(t=stlib.hash.getHash().split("."),r=t.shift(),r==stlib.hash.prefix||r==stlib.hash.prefix?(stlib.hash.incomingHash=stlib.hash.getHash(),stlib.hash.shareHash=stlib.hash.prefix+"."+t.shift()+"."+n):stlib.hash.shareHash=stlib.hash.prefix+"."+n),!stlib.hash.doNotHash&&stlib.hash.hashAddressBar?(document.location.hash==""||stlib.hash.validateHash(document.location.hash))&&(window.history&&history.replaceState?history.replaceState(null,"ShareThis","#"+stlib.hash.shareHash+".dpbs"):/MSIE/.test(navigator.userAgent)?window.location.replace("#"+stlib.hash.shareHash+".dpbs"):document.location.hash=stlib.hash.shareHash+".dpbs"):stlib.hash.clearHash(),stlib.hash.doNotHash||stlib.hash.doNotCopy||stlib.hash.copyPasteInit()},checkURL:function(){var t=stlib.data.get("destination","shareInfo"),n=stlib.hash.updateParams(t),e="."+stlib.hash.hashDestination(t),f,i,r,u;if(stlib.hash.updateDestination(e),!stlib.hash.doNotHash&&typeof stlib.data.pageInfo.shareHash!="undefined"&&(f=stlib.data.get("url","shareInfo"),i=stlib.hash.stripHash(f),stlib.hash.validateHash(i)||i==""))if(typeof stlib.hash.servicePreferences[t]!="undefined")if(stlib.hash.servicePreferences[t]=="param"){if(_$d1("Don't use hash, use params"),_$d2(n),n.split("?").length>1){r=n.split("?")[1].split("&"),u=!1;for(arg in r)r[arg].split(".")[0]=="sthash"&&(u=!0);u?stlib.data.set("url",n,"shareInfo"):stlib.data.set("url",n+"&"+stlib.data.pageInfo.shareHash,"shareInfo")}else stlib.data.set("url",n+"?"+stlib.data.pageInfo.shareHash,"shareInfo");t=="linkedin"&&stlib.data.get("sharURL","shareInfo")!=""&&stlib.data.set("sharURL",stlib.data.get("url","shareInfo"),"shareInfo")}else _$d1("Using Hash"),stlib.data.set("url",n+"#"+stlib.data.pageInfo.shareHash,"shareInfo");else _$d1("Not using custom destination hash type"),stlib.data.set("url",n+"#"+stlib.data.pageInfo.shareHash,"shareInfo")},updateParams:function(){var t=stlib.data.get("url","shareInfo").split("#").shift(),u=/(\?)sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}/,f=/(&)sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}/,i=/(\?)sthash\.[a-zA-z0-9]{8}/,r=/(&)sthash\.[a-zA-z0-9]{8}/;return u.test(t)?t=t.replace(u,"?"+stlib.data.pageInfo.shareHash):f.test(t)?t=t.replace(f,"&"+stlib.data.pageInfo.shareHash):i.test(t)?t=t.replace(i,"?"+stlib.data.pageInfo.shareHash):r.test(t)&&(t=t.replace(r,"&"+stlib.data.pageInfo.shareHash)),t},updateDestination:function(n){var i=/sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}\.[a-z]{4}/,t=/sthash\.[a-zA-z0-9]{8}\.[a-z]{4}/;_$d_(),_$d1("Updating Destination"),i.test(stlib.data.pageInfo.shareHash)?(_$d2(stlib.data.pageInfo.shareHash.substring(0,24)),stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,24)+n):t.test(stlib.data.pageInfo.shareHash)?(_$d2(stlib.data.pageInfo.shareHash.substring(0,15)),stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,15)+n):stlib.data.pageInfo.shareHash+=n},validateHash:function(n){var r=/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}$/,u=/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}\.[a-z]{4}$/,t=/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-z]{4}$/,i=/[\?#&]?sthash\.[a-zA-z0-9]{8}$/;return i.test(n)||t.test(n)||u.test(n)||r.test(n)},appendHash:function(n){var t=stlib.hash.stripHash(n);return stlib.data.pageInfo.shareHash&&(stlib.hash.validateHash(t)||t=="")&&(n=n.replace("#"+t,"")+"#"+stlib.data.pageInfo.shareHash),n},copyPasteInit:function(){var t=document.getElementsByTagName("body")[0],n=document.createElement("div"),r,i;n.style.position="absolute",n.style.top="-1999px",n.style.left="-1988px",t.appendChild(n),n.innerHTML="ShareThis Copy and Paste",r=document.location.href.split("#").shift(),i="#"+stlib.hash.shareHash,document.attachEvent?t.oncopy=function(){var t=document.selection.createRange(),r,i;n.innerHTML=t.htmlText;try{r=t.text.trim().length}catch(u){r=t.text.replace(/^\s+|\s+$/g,"").length}r==0||(t.htmlText==t.text?n.innerHTML=stlib.hash.selectionModify(t.text):n.innerHTML+=stlib.hash.selectionModify(t.text,!0)),i=document.body.createTextRange(),i.moveToElementText(n),i.select(),setTimeout(function(){t.select()},1)}:document.addEventListener&&(t.oncopy=function(){var i=document.getSelection(),f=i.getRangeAt(0).cloneContents(),r,u;n.innerHTML="",n.appendChild(f),(i+"").trim().length==0||(n.innerHTML==i+""?n.innerHTML=stlib.hash.selectionModify(i):n.innerHTML+=stlib.hash.selectionModify(i,!0)),r=document.createRange(),r.selectNodeContents(n),u=i.getRangeAt(0),i.removeAllRanges(),i.addRange(r),setTimeout(function(){i.removeAllRanges(),i.addRange(u)},0)})},logCopy:function(n,t){stlib.data.resetShareData(),stlib.data.set("url",n,"shareInfo"),stlib.data.setSource("copy"),stlib.data.set("destination","copy","shareInfo"),stlib.data.set("buttonType","custom","shareInfo"),t&&stlib.data.set("description",t,"shareInfo"),stlib.sharer.share()},selectionModify:function(n,t){n=""+n,_$d_(),_$d1("Copy Paste");var o=/^((http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))/i,l=/^([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,c=/^\+?1?[\.\-\\)_\s]?[\\(]?[0-9]{3}[\.\-\\)_\s]?[0-9]{3}[\.\-_\s]?[0-9]{4}$|^[0-9]{3}[\.\-_\s]?[0-9]{4}$/,h=/^[0-9]{3}[\.\-_\s]?[0-9]{8}$/,s=/^[0-9]{2}[\.\-_\s]?[0-9]{4}[\.\-_\s]?[0-9]{4}$/,v=/[\-_\.a-z0-9]+@[\-_\.a-z0-9]+\.[\-_\.a-z0-9]+/i,a=/[\s@]/,e=document.location.href.split("#").shift(),f="#"+stlib.hash.shareHash,u="",i="",r="";return typeof t=="undefined"&&(o.test(n)||l.test(n))&&!a.test(n.trim())?(_$d2("is Url"),n.match(/#/)==null||stlib.hash.validateHash(n)?(i=n.split("#")[0]+f+".dpuf",r=i):(i=n,r=i)):(_$d2("is Not Url"),i=document.location.hash==""||stlib.hash.validateHash(document.location.hash)?e+f+".dpuf":document.location.href,r=n,n.length>50&&(u=" - See more at: "+i+"",c.test(n)||h.test(n)||s.test(n)||v.test(n)||(r+=u))),n.length>140&&(n=n.substring(0,137)+"..."),stlib.hash.logCopy(i,n),t&&t==!0?u:r}},stlib.pump=function(n,t,i){var r=this;this.isIframeReady=!1,this.isIframeSending=!1,this.getHash=function(n){var t=n.split("#");return t.shift(),t.join("#")},this.broadcastInit=function(n){this.destination=n,_$d_("---------------------"),_$d1("Initiating broadcaster:"),_$d(this.destination)},this.broadcastSendMessage=function(n){if(_$d_("---------------------"),_$d1("Initiating Send:"),this.destination===window){if(stlib.browser.ieFallback){window.location.replace(window.location.href.split("#")[0]+"#"+n),_$d2("child can't communicate with parent");return}_$d2("Iframe to publisher: "+n),parent.postMessage("#"+n,document.referrer)}else{if(_$d2("Publisher to Iframe: "+n),stlib.browser.ieFallback){this.destination.contentWindow&&(this.destination.contentWindow.location.replace(this.destination.src+"#"+n),this.isIframeSending=!0);return}this.destination.contentWindow.postMessage("#"+n,this.destination.src)}},this.receiverInit=function(n,t){var u,f,i,r;if(_$d_("---------------------"),_$d1("Initiating Receiver:"),_$d(n),stlib.browser.ieFallback){this.callback=t,this.source=n,n===window&&(window.location.replace(window.location.href.split("#")[0]+"#"),this.currentIframe=window.location.hash,u="receiver"+stlib.functionCount,stlib.functions[u]=function(n){if(""!=window.location.hash&&"#"!=window.location.hash){var t=window.location.hash;n(t),window.location.replace(window.location.href.split("#")[0]+"#")}},stlib.functionCount++,f="callback"+stlib.functionCount,stlib.functions[f]=t,stlib.functionCount++,setInterval("stlib.functions['"+u+"'](stlib.functions['"+f+"'])",200)),i=window.addEventListener?"addEventListener":"attachEvent",r=i=="attachEvent"?"onmessage":"message",window[i](r,function(t){n==window||t.origin.indexOf("sharethis.com")!=-1&&t.data.match(/#Pinterest Click/)&&stlib.sharer.sharePinterest()},!1);return}i=window.addEventListener?"addEventListener":"attachEvent",r=i=="attachEvent"?"onmessage":"message",window[i](r,function(i){n==window?(_$d1("arrived in iframe from:"),_$d(i.origin),(i.data.match(/#fragmentPump/)||i.data.match(/#Buttons Ready/)||i.data.match(/#Widget Ready/)||i.data.indexOf("#light")==0||i.data.indexOf("#widget")==0||i.data.indexOf("#popup")==0||i.data.indexOf("#show")==0||i.data.indexOf("#init")==0||i.data.indexOf("#test")==0||i.data.indexOf("#data")==0)&&t(i.data)):i.origin.indexOf("sharethis.com")!=-1?(_$d1("arrived in parent from:"),_$d(i.origin),i.data.match(/#fragmentPump/)||i.data.match(/#Buttons Ready/)||i.data.match(/#Widget Ready/)||i.data.indexOf("#light")==0||i.data.indexOf("#widget")==0||i.data.indexOf("#popup")==0||i.data.indexOf("#show")==0||i.data.indexOf("#init")==0||i.data.indexOf("#test")==0||i.data.indexOf("#data")==0?t(i.data):i.data.match(/#Pinterest Click/)&&stlib.sharer.sharePinterest()):(_$d1("discarded event from:"),_$d(i.origin))},!1)},this.broadcastInit(n),this.receiverInit(t,i)},stlib.json={c:{"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"},d:function(n){return n<10?"0".concat(n):n},e:function(c,f,e){return e=eval,delete eval,typeof eval=="undefined"&&(eval=e),f=eval(""+c),eval=e,f},i:function(n,t,i){return 1*n.substr(t,i)},p:["","000","00","0",""],rc:null,rd:/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$/,rs:/(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g,rt:/^([0-9]+|[0-9]+[,\.][0-9]{1,3})$/,ru:/([\x00-\x07]|\x0b|[\x0e-\x1f])/g,s:function(n,t){return"\\".concat(stlib.json.c[t])},u:function(n,t){var i=t.charCodeAt(0).toString(16);return"\\u".concat(stlib.json.p[i.length],i)},v:function(n,t){return stlib.json.types[typeof result](result)!==Function&&(t.hasOwnProperty?t.hasOwnProperty(n):t.constructor.prototype[n]!==t[n])},types:{boolean:function(){return Boolean},"function":function(){return Function},number:function(){return Number},object:function(n){return n instanceof n.constructor?n.constructor:null},string:function(){return String},undefined:function(){return null}},$$:function(n){function t(t,i){i=t[n],delete t[n];try{stlib.json.e(t)}catch(r){return t[n]=i,1}}return t(Array)&&t(Object)},encode:function(){var n=arguments.length?arguments[0]:this,t,i,f,u;if(n===null)t="null";else if(n!==undefined&&(i=stlib.json.types[typeof n](n)))switch(i){case Array:t=[];for(var f=0,r=0,e=n.length;r<e;r++)n[r]!==undefined&&(i=stlib.json.encode(n[r]))&&(t[f++]=i);t="[".concat(t.join(","),"]");break;case Boolean:t=String(n);break;case Date:t='"'.concat(n.getFullYear(),"-",stlib.json.d(n.getMonth()+1),"-",stlib.json.d(n.getDate()),"T",stlib.json.d(n.getHours()),":",stlib.json.d(n.getMinutes()),":",stlib.json.d(n.getSeconds()),'"');break;case Function:break;case Number:t=isFinite(n)?String(n):"null";break;case String:t='"'.concat(n.replace(stlib.json.rs,stlib.json.s).replace(stlib.json.ru,stlib.json.u),'"');break;default:f=0,t=[];for(u in n)n[u]!==undefined&&(i=stlib.json.encode(n[u]))&&(t[f++]='"'.concat(u.replace(stlib.json.rs,stlib.json.s).replace(stlib.json.ru,stlib.json.u),'":',i));t="{".concat(t.join(","),"}")}return t},decode:function(n){if(typeof n=="string"){var t=null;try{return/^[\],:{}\s]*$/.test(n.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))?t=window.JSON&&window.JSON.parse?window.JSON.parse(n):new Function("return "+n)():null}catch(i){}}}};try{stlib.json.rc=new RegExp('^("(\\\\.|[^"\\\\\\n\\r])*?"|[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t])+?$')}catch(z){stlib.json.rc=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/}if(stlib.logger={loggerUrl:("https:"==document.location.protocol?"https://":"http://")+"l.sharethis.com/",constructParamString:function(){var t=stlib.data.pageInfo,i="",n;for(n in t)i+=n+"="+t[n]+"&";t=stlib.data.shareInfo;for(n in t)i+=n+"="+t[n]+"&";return i.substring(0,i.length-1)},log:function(n,t){var u,f,i,r;if(_$d_(),_$d1("Log Event PageInfo:"),_$d(stlib.data.pageInfo),_$d1("Log Event ShareInfo:"),_$d(stlib.data.shareInfo),typeof n=="undefined"){_$de("event does not exist \nFor help, contact support@sharethis.com");return}if(stlib.data.pageInfo==null||stlib.data.shareInfo==null){_$de("stlib.logger does not have enough info to log \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("url","shareInfo")){_$de("shareThisInfo.url do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("sessionID","pageInfo")){_$de("sharePageInfo.sessionID do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("destination","shareInfo")&&n!="pview"){_$de("shareThisInfo.destination do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("buttonType","shareInfo")&&n!="pview"){_$de("shareThisInfo.type do not exist \nFor help, contact support@sharethis.com");return}if(!stlib.data.get("source","shareInfo")){_$de("shareThisInfo.source do not exist \nFor help, contact support@sharethis.com");return}n=="pview"?(stlib.data.unset("destination","shareInfo"),stlib.data.unset("buttonType","shareInfo")):(stlib.data.unset("refDomain","pageInfo"),stlib.data.unset("refQuery","pageInfo")),typeof stlib.data.get("counter","shareInfo")!="undefined"?(u=0,stlib.data.get("counter","shareInfo")&&(u=stlib.data.get("counter","shareInfo")),stlib.data.set("ts"+ +new Date+"."+u,"","shareInfo"),stlib.data.unset("counter","shareInfo")):stlib.data.set("ts"+ +new Date,"","shareInfo"),f=n=="pview"?"pview":"log",i=stlib.logger.loggerUrl+f+"?event="+n+"&"+stlib.logger.constructParamString(),_$d1("Final Log Url:"),_$d2(i),r=new Image(1,1),r.src=i,r.onload=function(){return},t?t():null}},stlib.scriptLoader={loadJavascript:function(n,t){_$d_(),_$d1("Loading JS: "+n);var i=stlib.scriptLoader;i.head=document.getElementsByTagName("head")[0],i.scriptSrc=n,i.script=document.createElement("script"),i.script.setAttribute("type","text/javascript"),i.script.setAttribute("src",i.scriptSrc),i.script.async=!0,i.script.onload=t,i.script.onreadystatechange=function(){this.readyState=="loaded"&&t()},i.s=document.getElementsByTagName("script")[0],i.s.parentNode.insertBefore(i.script,i.s)},loadCSS:function(n,t){_$d_(),_$d1("Loading CSS: "+n);var i=stlib.scriptLoader,r;i.head=document.getElementsByTagName("head")[0],i.cssSrc=n,i.css=document.createElement("link"),i.css.setAttribute("rel","stylesheet"),i.css.setAttribute("type","text/css"),i.css.setAttribute("href",n),i.css.setAttribute("id",n),setTimeout(function(){t(),document.getElementById(n)||(r=setInterval(function(){document.getElementById(n)&&(clearInterval(r),t())},100))},100),i.head.appendChild(i.css)}},stlib.nativeButtons={supportedNativeButtons:{linkedinfollow:{log:!0,config:!0,dependencyLoaded:!1,dependencyLoading:!1,requiredFields:[["st_followId","Profile Id","Enter '207839' for profile id"]]},twitterfollow:{log:!1,config:!0,requiredFields:[["st_username","Username","Enter 'sharethis' for username"]]},pinterestfollow:{log:!0,config:!0,requiredFields:[["st_username","Username","Enter 'sharethis' for username"]]},youtube:{log:!0,config:!0,requiredFields:[["st_username","Username","Enter 'sharethis' for username"]]},foursquaresave:{log:!1,config:!0,dependencyLoaded:!1,dependencyLoading:!1},foursquarefollow:{log:!1,config:!0,requiredFields:[["st_username","Username","Enter 'sharethis' for username"],["st_followId","Follow id","Enter '1234567' for follow id"]]},googleplusfollow:{log:!0,config:!0,requiredFields:[["st_followId","Page Id","Enter '110967630299632321627' for page id"]]},googleplusadd:{log:!0,config:!0,requiredFields:[["st_followId","Profile Id","Enter '113842823840690472625' for profile id"]]}},loadService:function(n){var i,t;n=="foursquaresave"||n=="foursquarefollow"?stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoaded==!1?stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading==!1&&(stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading=!0,t="http://platform.foursquare.com/js/widgets.js",i={uid:"606"},"https:"==document.location.protocol&&(t="http://platform-s.foursquare.com/js/widgets.js",i.secure=!0),function(){var n,r;window.___fourSq=i,n=document.createElement("script"),n.type="text/javascript",n.src=t,n.async=!0,r=document.getElementsByTagName("script")[0],n.onload=function(){fourSq.widget.Factory.go(),stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoaded=!0,stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading=!1},n.onreadystatechange=function(){(this.readyState=="complete"||this.readyState=="loaded")&&(fourSq.widget.Factory.go(),stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoaded=!0,stlib.nativeButtons.supportedNativeButtons.foursquaresave.dependencyLoading=!1)},r.parentNode.insertBefore(n,r)}()):fourSq.widget.Factory.go():n=="pinterestfollow"||n=="twitterfollow"||n=="youtube"||n=="linkedinfollow"&&(window.IN&&typeof window.IN.parse=="function"?window.IN.parse():stlib.nativeButtons.supportedNativeButtons.linkedinfollow.dependencyLoading==!1&&(stlib.nativeButtons.supportedNativeButtons.linkedinfollow.dependencyLoading=!0,t="//platform.linkedin.com/in.js",function(){var n=document.createElement("script"),i;n.type="text/javascript",n.src=t,n.async=!0,i=document.getElementsByTagName("script")[0],n.onload=function(){stlib.nativeButtons.supportedNativeButtons.linkedinfollow.dependencyLoading=!1},n.onreadystatechange=function(){(this.readyState=="complete"||this.readyState=="loaded")&&(stlib.nativeButtons.supportedNativeButtons.linkedinfollow.dependencyLoading=!1)},i.parentNode.insertBefore(n,i)}()))},logService:function(n,t){stlib.data.resetShareData(),stlib.data.set("url",t,"shareInfo"),stlib.data.set("destination",n,"shareInfo"),stlib.data.setSource("chicklet"),stlib.data.set("buttonType","chicklet","shareInfo"),stlib.sharer.share()},makeButton:function(n,t,i){var u,r,a,h,f,d,w,g,k,s,y,e;if(n=="foursquaresave"){try{u=document.createElement("<div></div>"),r=document.createElement("<a></a>")}catch(nt){u=document.createElement("div"),r=document.createElement("a")}return u.className="stNativeButton stFourSquare",r.setAttribute("href","https://foursquare.com/intent/venue.html"),r.setAttribute("class","fourSq-widget"),r.setAttribute("data-on-open","foursquareCallback"),u.appendChild(r),u}if(n=="foursquarefollow"){if(typeof i.username=="undefined"||i.username==""||typeof i.followId=="undefined"||i.followId=="")return!1;try{u=document.createElement("<div></div>"),r=document.createElement("<a></a>")}catch(nt){u=document.createElement("div"),r=document.createElement("a")}return u.className="stNativeButton stFourSquare",r.setAttribute("href","https://foursquare.com/user/"+i.username),r.setAttribute("class","fourSq-widget"),r.setAttribute("data-type","follow"),r.setAttribute("data-fuid",i.followId),r.setAttribute("data-on-open","foursquareCallback"),u.appendChild(r),u}if(n=="googleplusfollow"||n=="googleplusadd"){if(typeof i.followId=="undefined"||i.followId=="")return!1;try{a=document.createElement("<span></span>")}catch(nt){a=document.createElement("span")}return a.className="stNativeButton stGoogleNative",h=document.createElement("g:plus"),h.setAttribute("href","https://plus.google.com/"+i.followId),h.setAttribute("width","300"),h.setAttribute("height","69"),a.appendChild(h),a}if(n=="pinterestfollow"){if(typeof i.username=="undefined"||i.username=="")return!1;try{var b=document.createElement("<span></span>"),l=document.createElement("<a></a>"),o=document.createElement("<img></img>")}catch(nt){b=document.createElement("span"),l=document.createElement("a"),o=document.createElement("img")}return b.className="stNativeButton stPinterestfollow",s=i.username,l.setAttribute("target","_blank"),l.setAttribute("href","//pinterest.com/"+s+"/"),o.setAttribute("src","//passets-cdn.pinterest.com/images/follow-on-pinterest-button.png"),o.setAttribute("width","156"),o.setAttribute("height","26"),o.setAttribute("alt","Follow "+s+" on Pinterest"),l.appendChild(o),b.appendChild(l),b}if(n=="twitterfollow"){if(typeof i.username=="undefined"||i.username=="")return!1;try{f=document.createElement("<iframe></iframe>")}catch(nt){f=document.createElement("iframe")}return d="&screen_name="+i.username,w="&show_count=false",iedocmode=stlib.browser.getIEVersion(),g="",t=="vcount"?w="&show_count=true":t=="hcount"&&(w="&show_count=true"),f.setAttribute("allowtransparency","true"),f.setAttribute("frameborder","0"),f.setAttribute("scrolling","no"),f.className="stTwitterFollowFrame",f.setAttribute("src","//platform.twitter.com/widgets/follow_button.html?lang=en&show_screen_name=false"+d+w),k=document.createElement("span"),k.className="stNativeButton stTwitterFollowFrame stTwitterFollow",k.appendChild(f),k}if(n=="youtube"){if(typeof i.username=="undefined"||i.username=="")return!1;try{var v=document.createElement("<span></span>"),c=document.createElement("<a></a>"),p=document.createElement("<img></img>")}catch(nt){v=document.createElement("span"),c=document.createElement("a"),p=document.createElement("img")}return v.setAttribute("class","stNativeButton stYoutube"),s=i.username,c.setAttribute("target","_blank"),c.setAttribute("href","//youtube.com/subscription_center?add_user="+s),p.setAttribute("src","//s.ytimg.com/yt/img/creators_corner/Subscribe_to_my_videos/YT_Subscribe_130x36_red.png"),p.setAttribute("alt","Follow "+s+" on youtube"),c.appendChild(p),v.appendChild(c),v}if(n=="linkedinfollow")return typeof i.followId=="undefined"||i.followId==""?!1:(y=document.createElement("span"),y.setAttribute("class","stNativeButton stLinkedinfollow"),e=document.createElement("script"),e.type="text/javascript",e.setAttribute("type","IN/FollowCompany"),e.setAttribute("data-id",i.followId),e.setAttribute("data-counter","none"),t=="vcount"?e.setAttribute("data-counter","top"):t=="hcount"&&e.setAttribute("data-counter","right"),y.appendChild(e),y)},checkNativeButtonSupport:function(n){return stlib.nativeButtons.supportedNativeButtons[n]?!0:!1},checkNativeButtonLogging:function(n){return stlib.nativeButtons.supportedNativeButtons[n]?stlib.nativeButtons.supportedNativeButtons[n].log:!1},checkNativeButtonConfig:function(n){return stlib.nativeButtons.supportedNativeButtons[n]?stlib.nativeButtons.supportedNativeButtons[n].config:!1}},foursquareCallback=function(n){if(n){var i="foursquaresave",t="https://foursquare.com/intent/venue.html";n.config.type&&(i="foursquarefollow",t="https://foursquare.com/user/"+n.config.fuid),stlib.nativeButtons.logService(i,t)}},stlib.nativeCounts={nativeCountServices:{linkedin:!0,facebook:!0,stumbleupon:!0},nativeFunc:[],addNativeFunc:function(n,t){stlib.nativeCounts.nativeFunc[n]=t},getNativeCounts:function(n,t,i){switch(n){case"facebook":stlib.scriptLoader.loadJavascript("http://api.facebook.com/method/fql.query?format=json&query=select url, like_count, total_count, comment_count, share_count, click_count from link_stat where url='"+encodeURIComponent(t)+"'&callback="+i,function(){});break;case"linkedin":stlib.scriptLoader.loadJavascript("//www.linkedin.com/countserv/count/share?format=jsonp&callback="+i+"&url="+encodeURIComponent(t),function(){});break;case"stumbleupon":stlib.scriptLoader.loadJavascript("http://www.stumbleupon.com/services/1.1/badge.getinfo?url="+encodeURIComponent(t)+"&format=jsonp&callback="+i,function(){})}},checkNativeCountServicesQueue:function(n){return stlib.nativeCounts.nativeCountServices[n]?!0:!1}},__stgetPubGA=function(){typeof _gaq!="undefined"&&typeof __stPubGA=="undefined"&&(typeof _gat!="undefined"&&(__stPubGA=_gat._getTrackerByName("~0")._getAccount()),typeof __stPubGA!="undefined"&&__stPubGA=="UA-XXXXX-X"&&_gaq.push(function(){var n=_gat._getTrackerByName();__stPubGA=n._getAccount()})),__stPubGA=="UA-XXXXX-X"&&delete __stPubGA},typeof stLight=="undefined"&&typeof SHARETHIS=="undefined"){stRecentServices=!1,typeof switchTo5x=="undefined"&&(switchTo5x=!1);var esiLoaded=!1,stIsLoggedIn=!1,servicesLoggedIn={},stFastShareObj={};stFastShareObj.shorten=!0,"https:"==document.location.protocol&&(useFastShare=!1),typeof useFastShare=="undefined"&&(useFastShare=!0),stLight=new function(){this.publisher=null,this.sessionID_time=(+new Date).toString(),this.sessionID_rand=Number(Math.random().toPrecision(5).toString().substr(2)).toString(),this.sessionID=this.sessionID_time+"."+this.sessionID_rand,this.fpc=null,this.counter=0,this.readyRun=!1,this.meta={hostname:document.location.host,location:document.location.pathname},this.loadedFromBar=!1,this.clickCallBack=!1},stLight.onReady=function(){if(stLight.readyRun==!0)return!1;if(stlib.data.init(),stLight.fpc=stlib.data.get("fpc","pageInfo"),stButtons.messageQueueInstance==null&&(stButtons.messageQueueInstance=new stlib.messageQueue),stLight.processSTQ(),stLight.readyRun=!0,stLight.publisher==null&&typeof window.console!="undefined")try{console.debug("Please specify a ShareThis Publisher Key \nFor help, contact support@sharethis.com")}catch(t){}var n=stLight.getSource();stLight.log("pview",n),stWidget.options.sessionID=stLight.sessionID,stWidget.options.fpc=stLight.fpc,stLight.loadServicesLoggedIn(function(){stButtons.onReady()})},stLight.getSource=function(){var n="share4x";return switchTo5x&&(n="share5x"),stLight.hasButtonOnPage()?stLight.loadedFromBar&&(n=switchTo5x?"bar_share5x":"bar_share4x"):stLight.loadedFromBar&&(n="bar"),n},stLight.getSource2=function(n){var t="share4x";if(switchTo5x){t="share5x";try{stLight.clickCallBack!=!1&&stLight.clickCallBack(n.service)}catch(i){}}return(n.type=="stbar"||n.type=="stsmbar")&&(t="bar"),t},stLight.log=function(n,t,i,r){stlib.data.resetShareData(),stlib.data.set("url",document.location.href,"shareInfo"),stlib.data.set("title",document.title,"shareInfo"),stlib.data.set("counter",stLight.counter++,"shareInfo"),stlib.data.setSource(t),typeof i!="undefined"&&stlib.data.set("destination",i,"shareInfo"),typeof r!="undefined"&&stlib.data.set("buttonType",r,"shareInfo"),stlib.logger.log(n),n=="pview"&&stLight.createSegmentFrame()},stLight._stFpc=function(){var n,f,u,o,i,r,t,e;if(!document.domain||document.domain.search(/\.gov/)>0)return!1;if(n=stLight._stGetFpc("__unam"),n==!1){if(f=Math.round(Math.random()*2147483647),f=f.toString(16),u=+new Date,u=u.toString(16),o="",i=stLight._stGetD(),i=i.split(/\./)[1],!i)return!1;o=stLight._stdHash(i)+"-"+u+"-"+f+"-1",n=o,stLight._stSetFpc(n)}else r=n,t=r.split(/\-/),t.length==4&&(e=Number(t[3]),e++,r=t[0]+"-"+t[1]+"-"+t[2]+"-"+e,n=r,stLight._stSetFpc(n));return n},stLight._stSetFpc=function(n){var o="__unam",t=new Date,f=t.getFullYear(),e=t.getMonth()+9,s=t.getDate(),i=o+"="+escape(n),r,u;f&&(r=new Date(f,e,s),i+="; expires="+r.toGMTString()),u=stLight._stGetD(),i+="; domain="+escape(u)+";path=/",document.cookie=i},stLight._stGetD=function(){var n=document.domain.split(/\./),t="";return n.length>1&&(t="."+n[n.length-2]+"."+n[n.length-1]),t},stLight._stGetFpc=function(n){var t=document.cookie.match("(^|;) ?"+n+"=([^;]*)(;|$)");return t?unescape(t[2]):!1},stLight._stdHash=function(n){for(var t=0,u=0,r,i=n.length-1;i>=0;i--)r=parseInt(n.charCodeAt(i)),t=(t<<8&268435455)+r+(r<<12),(u=t&161119850)!=0&&(t=t^u>>20);return t.toString(16)},stLight._thisScript=null,stLight.getShareThisLightScript=function(){for(var t=document.getElementsByTagName("script"),r=null,i,n=0;n<t.length;n++)i=t[n].src,i.search(/.*sharethis.*\/button\/light.*/)>=0&&(r=t[n]);return r},stLight.dbrInfo=function(){var n=document.referrer,f,t,e,u;if(n&&n.length>0){if(f=/\/\/.*?\//,t=n.match(f),typeof t!="undefined"&&typeof t[0]!="undefined"&&(e=new RegExp(document.domain,"gi"),e.test(t[0])==!0))return!1;var o=/(http:\/\/)(.*?)\/.*/i,s=/(^.*\?)(.*)/ig,i="",r=n.replace(o,"$2"),e=new RegExp(r,"gi");if(r.length>0)i+="&refDomain="+r;else return!1;return u=n.replace(s,"$2"),u.length>0&&(i+="&refQuery="+encodeURIComponent(u)),i}return!1},stLight.odjs=function(n,t){this.head=document.getElementsByTagName("head")[0],this.scriptSrc=n,this.script=document.createElement("script"),this.script.setAttribute("type","text/javascript"),this.script.setAttribute("src",this.scriptSrc),this.script.onload=t,this.script.onreadystatechange=function(){(this.readyState=="complete"||n.indexOf("checkOAuth.esi")!=-1&&this.readyState=="loaded")&&t()},this.head.appendChild(this.script)},stLight.loadServicesLoggedIn=function(n){if(useFastShare&&esiLoaded==!1)try{stLight.odjs("https:"==document.location.protocol?"https://wd-edge.sharethis.com/button/checkOAuth.esi":"http://wd-edge.sharethis.com/button/checkOAuth.esi",function(){typeof userDetails!="undefined"&&(stIsLoggedIn=!0,userDetails!=="null"&&(servicesLoggedIn=userDetails)),esiLoaded=!0,n!=null&&n()})}catch(t){}else n!=null&&n()},window.document.readyState=="completed"?stLight.onReady():typeof window.addEventListener!="undefined"?window.addEventListener("load",stLight.onReady,!1):typeof document.addEventListener!="undefined"?document.addEventListener("load",stLight.onReady,!1):typeof window.attachEvent!="undefined"&&window.attachEvent("onload",stLight.onReady),stLight.createSegmentFrame=function(){try{stLight.segmentframe=document.createElement('<iframe name="stframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>')}catch(i){stLight.segmentframe=document.createElement("iframe")}stLight.segmentframe.id="stSegmentFrame",stLight.segmentframe.name="stSegmentFrame";var t=document.body,n=("https:"==document.location.protocol?"https://seg.":"http://seg.")+"sharethis.com/getSegment.php?purl="+encodeURIComponent(document.location.href)+"&jsref="+encodeURIComponent(document.referrer)+"&rnd="+ +new Date;stLight.segmentframe.src=n,stLight.segmentframe.frameBorder="0",stLight.segmentframe.scrolling="no",stLight.segmentframe.width="0px",stLight.segmentframe.height="0px",stLight.segmentframe.setAttribute("style","display:none;"),t.appendChild(stLight.segmentframe)},stLight.options=function(n){n&&n.publisher&&(stlib.data.setPublisher(n.publisher),stLight.publisher=n.publisher),n&&n.loadedFromBar&&(stLight.loadedFromBar=n.loadedFromBar),n&&n.clickCallBack&&typeof n.clickCallBack=="function"&&(stLight.clickCallBack=n.clickCallBack),n&&typeof n.hashAddressBar!="undefined"&&(stlib.hash.hashAddressBar=n.hashAddressBar),n&&typeof n.doNotHash!="undefined"&&(stlib.hash.doNotHash=n.doNotHash),n&&typeof n.doNotCopy!="undefined"&&(stlib.hash.doNotCopy=n.doNotCopy);for(var t in n)t=="shorten"&&(stFastShareObj.shorten=n[t]),stWidget.options.hasOwnProperty(t)&&n[t]!==null&&(stWidget.options[t]=n[t])},stLight.hasButtonOnPage=function(){for(var t=document.getElementsByTagName("*"),i=new RegExp(/^st_(.*?)$/),r=t.length,n=0;n<r;n++)if(typeof t[n].className=="string"&&t[n].className!=""&&t[n].className.match(i)&&t[n].className.match(i).length>=2&&t[n].className.match(i)[1])return!0;return!1}}stButtons={},stButtons.smartifyButtons=function(n){if(typeof n!="undefined"&&n!="undefined"){stRecentServices=n;for(var t in stRecentServices)stRecentServices[t].processed=!1}stButtons.completeInit()},stButtons.makeButton=function(n){function ei(n){var r=new Date,t=null,i=0;do if(t=new Date,i++,i>n)break;while(t-r<n||!esiLoaded)}var t=n.service,l=n.text,ui="",e,pt,g,w,y,ht,r,vt,i,u,tt,s,ot,nt,v,a,yt,gt,ii,c,wt,d,et,ft,p,fi,o,lt,dt,at,ct,f,kt,k,ri,bt;if(typeof stWidget.options.shorten!="undefined"&&(ui=stWidget.options.shorten),l==null&&(n.type=="vcount"||n.type=="hcount")&&(l="Share",t=="email"&&(l="Mail")),t=="fb_like"?t="fblike":t=="fblike_fbLong"&&(t="fblike",n.type="fbLong"),e=stWidget.twitterurl?stWidget.twitterurl:stWidget.ogurl?stWidget.ogurl:document.location.href,e=n.url?n.url:e,pt=e,stlib.hash.doNotHash||(pt=stlib.hash.appendHash(e),e=pt),stlib.data.set("url",pt,"shareInfo"),g=stWidget.twittertitle?stWidget.twittertitle:stWidget.ogtitle?stWidget.ogtitle:document.title,g=n.title?n.title:g,w=stWidget.twitterimg?stWidget.twitterimg:n.thumbnail&&n.thumbnail!=null?n.thumbnail:stWidget.ogimg,w=n.image?n.image:w,stWidget.ogimg||(stWidget.options.twmetaimg=w),y=stWidget.desc?stWidget.desc:"",y=stWidget.twitterdesc?stWidget.twitterdesc:stWidget.ogdesc?stWidget.ogdesc:stWidget.desc,y=n.summary&&n.summary!=null?n.summary:y,stWidget.ogdesc||(stWidget.options.twmetadesc=y),ht=n.message&&n.message!=null?n.message:"",/(http|https):\/\//.test(e)==!1&&(e=decodeURIComponent(e),g=decodeURIComponent(g)),r=document.createElement("span"),r.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;"),r.className="stButton",n.type=="custom"&&t!="email"&&t!="sharethis"&&t!="wordpress")return n.element.onclick=function(){_$d_(),_$d1("Clicked on a custom button to share"),stLight.callSubscribers("click",t,e),stlib.data.resetShareData(),stlib.data.set("url",e,"shareInfo"),stlib.data.set("shorten",ui,"shareInfo"),stlib.data.set("title",g,"shareInfo"),stlib.data.set("destination",t,"shareInfo"),stlib.data.setSource("chicklet"),stlib.data.set("buttonType",n.type,"shareInfo"),typeof w!="undefined"&&w!=null&&stlib.data.set("image",w,"shareInfo"),typeof y!="undefined"&&y!=null&&stlib.data.set("description",y,"shareInfo"),ht!=""&&stlib.data.set("message",ht,"shareInfo"),n.element.getAttribute("st_username")!=null&&stlib.data.set("refUsername",n.element.getAttribute("st_username"),"shareInfo"),t=="twitter"&&n.element.getAttribute("st_via")!=null&&stlib.data.set("via",n.element.getAttribute("st_via").replace(/^\s+|\s+$/g,""),"shareInfo"),stlib.sharer.share(null,stWidget.options.servicePopup),t=="pinterest"&&(stlib.data.get("image","shareInfo")==!1||stlib.data.get("image","shareInfo")==null)&&stlib.sharer.sharePinterest()},!1;if(t=="email"||t=="sharethis"||t=="wordpress"||stIsLoggedIn&&servicesLoggedIn&&typeof servicesLoggedIn[t]!="undefined"&&(useFastShare||!useFastShare&&switchTo5x)&&(t=="facebook"||t=="twitter"||t=="yahoo"||t=="linkedin")||(r.onclick=function(){var r,i;for(_$d_(),_$d1("Clicked on a regular button to share"),stLight.callSubscribers("click",t,e),r=this.getElementsByTagName("*"),i=0;i<r.length;i++)(r[i].className=="stBubble_hcount"||r[i].className=="stBubble_count")&&(stWidget.options.nativeCount&&stlib.nativeCounts.checkNativeCountServicesQueue(t)||isNaN(r[i].innerHTML)||(r[i].innerHTML=Number(r[i].innerHTML)+1));stWidget.options.tracking&&shareLog(t),stlib.data.resetShareData(),stlib.data.set("url",e,"shareInfo"),stlib.data.set("shorten",ui,"shareInfo"),stlib.data.set("title",g,"shareInfo"),stlib.data.set("destination",t,"shareInfo"),stlib.data.setSource("chicklet"),stlib.data.set("buttonType",n.type,"shareInfo"),typeof w!="undefined"&&w!=null&&stlib.data.set("image",w,"shareInfo"),typeof y!="undefined"&&y!=null&&stlib.data.set("description",y,"shareInfo"),ht!=""&&stlib.data.set("message",ht,"shareInfo"),n.element.getAttribute("st_username")!=null&&stlib.data.set("refUsername",n.element.getAttribute("st_username"),"shareInfo"),t=="twitter"&&n.element.getAttribute("st_via")!=null&&stlib.data.set("via",n.element.getAttribute("st_via").replace(/^\s+|\s+$/g,""),"shareInfo"),stlib.sharer.share(null,stWidget.options.servicePopup),t=="pinterest"&&(stlib.data.get("image","shareInfo")==!1||stlib.data.get("image","shareInfo")==null)&&stlib.sharer.sharePinterest()}),t=="gbuzz")return r;if(t=="fblike"||t=="fbsend"||t=="fbrec"||t=="fbLong"||t=="fbsub")return t=="fbsub"&&(e=n.element.getAttribute("st_username")!=null?"http://facebook.com/"+n.element.getAttribute("st_username"):""),stButtons.makeFBButton(t,n.type,e);if(stlib.nativeButtons.checkNativeButtonSupport(t)){if(vt={},n.element.getAttribute("st_username")!=null&&(vt.username=n.element.getAttribute("st_username")),n.element.getAttribute("st_followId")!=null&&(vt.followId=n.element.getAttribute("st_followId")),retObj=stlib.nativeButtons.makeButton(t,n.type,vt),retObj)return stlib.nativeButtons.checkNativeButtonLogging(t)&&(retObj.onclick=function(){stlib.nativeButtons.logService(t,e)}),retObj;if(typeof window.console!="undefined")try{console.debug("Looks like "+t+" is missing some required parameters. Please recheck "+t+" HTML \nFor help, contact support@sharethis.com")}catch(oi){}return r}if(t=="plusone"){stButtons.loadPlusone=!0,i=document.createElement("div"),i.innerHTML="&nbsp;",iedocmode=stlib.browser.getIEVersion();var st=navigator.userAgent.indexOf("MSIE 7.0")!=-1,hi=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1,b="display:inline-block;overflow:hidden;line-height:0px;",si="overflow:hidden;zoom:1;display:inline;vertical-align:bottom;",ut="overflow:hidden;zoom:1;display:inline;line-height:0px;position:relative;",h=document.createElement("g:plusone");return h.setAttribute("href",e),n.type=="vcount"?(h.setAttribute("size","tall"),i.setAttribute("style",b+"vertical-align:bottom;width:55px; height:61px;"),st&&i.style.setAttribute?i.style.setAttribute("cssText",b+"vertical-align:bottom;width:55px; height:61px;",0):null,iedocmode&&iedocmode==7&&i.style.setAttribute?i.style.setAttribute("cssText",ut+"vertical-align:bottom;bottom:-8px;width:55px; height:80px;",0):null):n.type=="hcount"?(h.setAttribute("size","medium"),h.setAttribute("count","true"),i.setAttribute("style",b+"position:relative;vertical-align:middle;bottom:0px;width:75px; height:21px;"),st&&i.style.setAttribute?i.style.setAttribute("cssText",b+"position:relative;vertical-align:middle;width:75px; height:21px;",0):null,iedocmode&&iedocmode==7&&i.style.setAttribute?i.style.setAttribute("cssText",ut+"vertical-align:middle;bottom:2px;width:75px; height:21px;",0):null):n.type=="button"?(h.setAttribute("size","medium"),h.setAttribute("count","false"),i.setAttribute("style",b+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:21px;"),st&&i.style.setAttribute?i.style.setAttribute("cssText",b+"position:relative;vertical-align:middle;width:36px; height:21px;",0):null,iedocmode&&iedocmode==7&&i.style.setAttribute?i.style.setAttribute("cssText",ut+"vertical-align:middle;bottom:-8px;width:36px; height:39px;",0):null):n.type=="large"?(h.setAttribute("size","large"),h.setAttribute("count","false"),i.setAttribute("style",b+"position:relative;vertical-align:middle;bottom:12px;width:38px; height:27px;"),st&&i.style.setAttribute?i.style.setAttribute("cssText",b+"position:relative;vertical-align:middle;bottom:0px;width:38px; height:30px;",0):null,iedocmode&&(iedocmode==8||iedocmode==9)&&i.style.setAttribute?i.style.setAttribute("cssText",ut+"vertical-align:middle;bottom:7px;width:38px; height:39px;",0):null,iedocmode&&iedocmode==7&&i.style.setAttribute?i.style.setAttribute("cssText",ut+"vertical-align:middle;bottom:1px;width:38px; height:39px;",0):null):(h.setAttribute("size","small"),h.setAttribute("count","false"),i.setAttribute("style",b+"position:relative;vertical-align:middle;bottom:0px;width:36px; height:16px;"),st&&i.style.setAttribute?i.style.setAttribute("cssText",b+"position:relative;vertical-align:middle;width:36px; height:16px;",0):null,iedocmode&&iedocmode==7&&i.style.setAttribute?i.style.setAttribute("cssText",ut+"vertical-align:middle;bottom:-12px;width:36px; height:36px;",0):null),i.appendChild(h),h.setAttribute("callback","plusoneCallback"),i}if(s="https:"==document.location.protocol?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/",u=document.createElement("img"),u.src=s+"check-big.png",u.style.position="absolute",u.style.top="-7px",u.style.right="-7px",u.style.width="19px",u.style.height="19px",u.style.maxWidth="19px",u.style.maxHeight="19px",tt=t,esiLoaded||t!="facebook"&&t!="twitter"&&t!="linkedin"&&t!="yahoo"||ei(500),useFastShare&&servicesLoggedIn&&typeof servicesLoggedIn[t]!="undefined"&&(t=="facebook"||t=="twitter"||t=="linkedin"||t=="yahoo")||(u.style.display="none"),n.type=="chicklet")return f=document.createElement("span"),f.className="chicklets "+t,l==null?(f.innerHTML="&nbsp;",r.style.paddingLeft="0px",r.style.paddingRight="0px",r.style.width="16px"):(f.appendChild(document.createTextNode(l)),u.style.right="auto",u.style.left="8px",u.style.top="-5px"),r.appendChild(f),u.src=s+"check-small.png",u.style.top="-6px",u.style.width="13px",u.style.height="13px",u.style.maxWidth="13px",u.style.maxHeight="13px",r.appendChild(u),r;if(n.type=="large")return f=document.createElement("span"),f.className="stLarge",r.appendChild(f),f.style.backgroundImage="url('"+s+tt+"_32.png')",r.appendChild(u),r;if(n.type=="basic"||n.type=="circle"||n.type=="brushed"||n.type=="shiny")return f=document.createElement("span"),f.className="stLarge",f.className=n.size=="16"?n.type=="brushed"||n.type=="shiny"?"stSmall2":"stSmall":f.className,f.className=n.size=="64"?"stHuge":f.className,r.appendChild(f),f.style.backgroundImage="url('"+s+n.type+"/"+n.size+"/"+tt+(n.color?"_"+n.color:"_"+n.type)+".png')",r.appendChild(u),r;if(n.type=="pcount"||n.type=="stbar"||n.type=="stsmbar")return o=document.createElement("span"),f=document.createElement("span"),n.type=="stsmbar"?(f.className="stSmBar",s="https:"==document.location.protocol?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/",f.style.backgroundImage="url('"+s+tt+"_16.png')",u.src=s+"check-small.png"):(f.className="stLarge",s="https:"==document.location.protocol?"https://ws.sharethis.com/images/":"http://w.sharethis.com/images/",f.style.backgroundImage="url('"+s+tt+"_32.png')"),f.appendChild(u),o.appendChild(f),a=document.createElement("span"),v=document.createElement("div"),v.className=n.type=="stsmbar"?"stBubbleSmHoriz":"stBubbleSm",v.setAttribute("id","stBubble_"+n.count),v.style.visibility="hidden",c=document.createElement("div"),c.className="stBubble_count_sm",v.appendChild(c),a.appendChild(v),a.appendChild(o),r.appendChild(a),stButtons.getCount2(e,t,c),o.onmouseover=function(){var t=document.getElementById("stBubble_"+n.count);t.style.visibility="visible"},o.onmouseout=function(){var t=document.getElementById("stBubble_"+n.count);t.style.visibility="hidden"},r;if(n.type=="button"||n.type=="vcount"||n.type=="hcount"){if(o=document.createElement("span"),o.className="stButton_gradient",ot=document.createElement("span"),ot.className="chicklets "+t,l==null?ot.innerHTML="&nbsp;":ot.appendChild(document.createTextNode(l)),o.appendChild(ot),(t=="facebook"||t=="twitter"||t=="linkedin"||t=="yahoo"||t=="pinterest"||t=="sharethis"||t=="email")&&(nt=document.createElement("span"),nt.className="stMainServices st-"+t+"-counter",nt.innerHTML="&nbsp",o=nt,nt.style.backgroundImage="url('"+s+tt+"_counter.png')",t=="sharethis"&&l!=null&&l.length<6&&(nt.className="stMainServices st-"+t+"-counter2",nt.style.backgroundImage="url('"+s+tt+"_counter2.png')")),o.appendChild(u),n.type=="vcount"?(a=document.createElement("div"),v=document.createElement("div"),v.className="stBubble",c=document.createElement("div"),c.className="stBubble_count",v.appendChild(c),a.appendChild(v),a.appendChild(o),r.appendChild(a),stButtons.getCount2(e,t,c)):n.type=="hcount"?(a=document.createElement("span"),yt=document.createElement("span"),yt.className="stButton_gradient stHBubble",gt=document.createElement("span"),gt.className="stButton_left",gt.innerHTML="&nbsp;",ii=document.createElement("span"),ii.className="stButton_right",ii.innerHTML="&nbsp;",c=document.createElement("span"),c.className="stBubble_hcount",yt.appendChild(c),a.appendChild(o),wt=document.createElement("span"),wt.className="stArrow",wt.appendChild(yt),a.appendChild(wt),r.appendChild(a),stButtons.getCount2(e,t,c)):r.appendChild(o),(n.type=="vcount"||n.type=="hcount")&&n.ctype=="native")if(t=="twitter"){d=document.createElement("span"),d.className="stButton";var rt=55,it=20,ti="",ni="none",ci=7;n.type=="vcount"?(et=document.createElement("div"),rt=55,it=62,ti="top:42px;",ni="vertical",u.style.top="34px"):n.type=="hcount"&&(et=document.createElement("span"),rt=110,it=20,ni="horizontal",u.style.right="44px"),iedocmode=stlib.browser.getIEVersion(),ft=document.createElement("span"),ft.setAttribute("style","vertical-align:bottom;line-height:0px;position:absolute;padding:0px !important;"+ti+"width:55px;height:20px;"),iedocmode&&iedocmode==7&&ft.style.setAttribute?ft.style.setAttribute("cssText","vertical-align:bottom;line-height:0px;position:absolute;padding:0px !important;"+ti+"width:55px;height:20px;",0):null;try{p=document.createElement('<iframe name="stframe" allowTransparency="true" scrolling="no" frameBorder="0"></iframe>')}catch(oi){p=document.createElement("iframe"),p.setAttribute("allowTransparency","true"),p.setAttribute("frameborder","0"),p.setAttribute("scrolling","no")}fi=encodeURIComponent(e),p.setAttribute("src","http://platform.twitter.com/widgets/tweet_button.html?count="+ni+"&url="+fi),p.setAttribute("style","width:"+rt+"px;height:"+it+"px;"),iedocmode&&iedocmode==7&&p.style.setAttribute?p.style.setAttribute("cssText","width:"+rt+"px;height:"+it+"px;",0):null,useFastShare&&servicesLoggedIn&&typeof servicesLoggedIn[t]!="undefined"&&et.appendChild(ft),et.appendChild(p),o=et,o.appendChild(u),d.appendChild(o),d.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;margin-top:6px;width:"+rt+"px;height:"+it+"px;"),iedocmode&&iedocmode==7&&d.style.setAttribute?d.style.setAttribute("cssText","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;vertical-align:bottom;width:"+rt+"px;height:"+it+"px;",0):null,r=d}else{if(t=="facebook")return stButtons.getXFBMLFromFB(n),stButtons.makeFBButton("fblike",n.type,e);t=="linkedin"}}else n.type=="css"&&(o=document.createElement("div"),o.className="stCSSButton",n.cssType=="cssV"&&(lt=document.createElement("div"),lt.className="stCSSVBubble",k=document.createElement("div"),k.className="stCSSVBubble_count",lt.appendChild(k),dt=document.createElement("div"),dt.className="stCSSVArrow",at=document.createElement("div"),at.className="stCSSVArrowBorder",at.appendChild(dt),r.appendChild(lt),r.appendChild(at),stButtons.getCount2(e,t,k)),ct=document.createElement("div"),ct.className="stCSSSprite "+t,ct.innerHTML="&nbsp;",f=document.createElement("span"),f.className="stCSSText",o.appendChild(ct),l==null||l==""||(f.appendChild(document.createTextNode(l)),o.appendChild(f)),o.appendChild(u),r.appendChild(o),n.cssType=="cssH"&&(kt=document.createElement("div"),kt.className="stCSSHBubble",k=document.createElement("div"),k.className="stCSSHBubble_count",kt.appendChild(k),ri=document.createElement("div"),ri.className="stCSSHArrow",bt=document.createElement("div"),bt.className="stCSSHArrowBorder",bt.appendChild(ri),r.appendChild(bt),r.appendChild(kt),stButtons.getCount2(e,t,k)));return r},stButtons.makeFBButton=function(n,t,i){var r,o,f;try{r=document.createElement("<div></div>")}catch(c){r=document.createElement("div")}var s=i,e="button_count",u="fb-send",h="";return iedocmode=stlib.browser.getIEVersion(),o="",t=="vcount"?e="box_count":t=="hcount"||(t=="large"?o=iedocmode&&iedocmode==7?"vertical-align:bottom;bottom:3px;":"bottom:7px;margin-top:9px;":t=="button"||(o="top:1px;margin-top:0px;")),n=="fbLong"?(u="fb-like",e="standard",r.setAttribute("data-layout",e),r.setAttribute("data-send","false"),r.setAttribute("data-show-faces","false")):n=="fbsend"?u="fb-send":n=="fblike"||n=="fbrec"?(n=="fbrec"?h="recommend":null,u="fb-like",r.setAttribute("data-action",h),r.setAttribute("data-send","false"),r.setAttribute("data-layout",e),r.setAttribute("data-show-faces","false")):n=="fbsub"&&(u="fb-subscribe",r.setAttribute("data-layout",e),r.setAttribute("data-show-faces","false")),r.setAttribute("class",u),r.setAttribute("data-href",s),iedocmode&&iedocmode==7&&(r=n!="fbsend"?document.createElement("<div class='"+u+"' data-action='"+h+"' data-send='false' data-layout='"+e+"' data-show-faces='false' data-href='"+s+"'></div>"):document.createElement("<div class='"+u+"' data-href='"+s+"'></div>")),f=document.createElement("span"),f.setAttribute("style","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;position:relative;margin:3px 3px 0;padding:0px;font-size:11px;line-height:16px;vertical-align:bottom;overflow:visible;"+o),iedocmode&&iedocmode==7&&f.style.setAttribute?f.style.setAttribute("cssText","text-decoration:none;color:#000000;display:inline-block;cursor:pointer;position:relative;margin:3px 3px 0;font-size:11px;line-height:0px;"+o,0):null,f.appendChild(r),f},stButtons.getCount=function(n,t,i){var u=!1;if(i&&i!==null)while(i.childNodes.length>=1)try{i.removeChild(i.firstChild)}catch(r){}stButtons.cbQueue.push({url:n,service:t,element:i}),stButtons.getCountsFromService(n,t,i)},stButtons.getCount2=function(n,t,i){var u=!1;if(i&&i!==null)while(i.childNodes.length>=1)try{i.removeChild(i.firstChild)}catch(r){}if(stWidget.options.nativeCount&&stlib.nativeCounts.checkNativeCountServicesQueue(t)){if(stButtons.cbNativeQueue.push({url:n,service:t,element:i}),typeof stButtons.countsNativeResp[n]=="undefined"&&(stButtons.countsNativeResp[n]=[]),typeof stButtons.countsNativeResp[n][t]=="undefined")stlib.nativeCounts.getNativeCounts(t,n,"stButtons."+t+"CB"),stButtons.countsNativeResp[n][t]=null;else if(stButtons.countsNativeResp[n][t]!=null)switch(t){case"facebook":stButtons.facebookCB(stButtons.countsNativeResp[n][t]);break;case"linkedin":stButtons.linkedinCB(stButtons.countsNativeResp[n][t]);break;case"stumbleupon":stButtons.stumbleuponCB(stButtons.countsNativeResp[n][t])}}else stButtons.cbQueue.push({url:n,service:t,element:i}),stButtons.getCountsFromService(n,t,i)},stButtons.processCB=function(n){typeof n!="undefined"&&typeof n.ourl!="undefined"&&(stButtons.countsResp[n.ourl]=n),stButtons.processCount(n)},stButtons.stumbleuponCB=function(n){var t={ourl:"",stumbleupon:null};typeof n!="undefined"&&typeof n.result!="undefined"&&(typeof stButtons.countsNativeResp[n.result.url]!="undefined"&&(stButtons.countsNativeResp[n.result.url].stumbleupon=n),t.ourl=n.result.url,typeof n.result.views!="undefined"&&(t.stumbleupon=n.result.views)),stButtons.processNativeCount(t,"stumbleupon")},stButtons.linkedinCB=function(n){var t={ourl:"",linkedin:null};typeof n!="undefined"&&(typeof stButtons.countsNativeResp[n.url]!="undefined"&&(stButtons.countsNativeResp[n.url].linkedin=n),t.ourl=n.url,typeof n.count!="undefined"&&(t.linkedin=n.count)),stButtons.processNativeCount(t,"linkedin")},stButtons.facebookCB=function(n){var t={ourl:"",facebook:null};typeof n!="undefined"&&(typeof stButtons.countsNativeResp[n[0].url]!="undefined"&&(stButtons.countsNativeResp[n[0].url].facebook=n),t.ourl=n[0].url,typeof n[0].total_count!="undefined"&&(t.facebook=n[0].total_count)),stButtons.processNativeCount(t,"facebook")},stButtons.processCount=function(n){var f,r,t,i,u;if(n)for(stButtons.storedCountResponse=n,f=!1,r=0;r<stButtons.cbQueue.length;r++)if(t=stButtons.cbQueue[r],n.ourl==t.url){i="New";try{t.service=="sharethis"?(stWidget.options.minShareCount==null||n.total>=stWidget.options.minShareCount)&&(i=stWidget.options.newOrZero=="zero"?n.total>0?stButtons.human(n.total):"0":n.total>0?stButtons.human(n.total):"New"):t.service=="facebook"&&typeof n.facebook2!="undefined"?(stWidget.options.minShareCount==null||n.facebook2>=stWidget.options.minShareCount)&&(i=stButtons.human(n.facebook2)):typeof n[t.service]!="undefined"?(stWidget.options.minShareCount==null||n[t.service]>=stWidget.options.minShareCount)&&(i=n[t.service]>0?stButtons.human(n[t.service]):"0"):(stWidget.options.minShareCount==null||stWidget.options.minShareCount<=0)&&(i="0"),/stHBubble/.test(t.element.parentNode.className)==!0?t.element.parentNode.style.display="inline-block":/stBubble/.test(t.element.parentNode.className)==!0&&(t.element.parentNode.style.display="block"),t.element.innerHTML=i}catch(e){t.element.hasChildNodes()||(u=document.createElement("div"),u.innerHTML=i,t.element.appendChild(u))}f=!0}},stButtons.processNativeCount=function(n,t){var u,i,r,f;if(n&&t)for(u=0;u<stButtons.cbNativeQueue.length;u++)if(i=stButtons.cbNativeQueue[u],n.ourl==i.url||t=="stumbleupon"&&n.ourl.replace(/http:\/\/www\.|http:\/\/|www\./i,"")==i.url.replace(/http:\/\/www\.|http:\/\/|www\./i,"")){r="New";try{if(i.service==t)n[t]!=null&&(stWidget.options.minShareCount==null||n[t]>=stWidget.options.minShareCount)&&(r=stButtons.human(n[t]));else continue;/stHBubble/.test(i.element.parentNode.className)==!0?i.element.parentNode.style.display="inline-block":/stBubble/.test(i.element.parentNode.className)==!0&&(i.element.parentNode.style.display="block"),i.element.innerHTML=r}catch(e){i.element.hasChildNodes()||(f=document.createElement("div"),f.innerHTML=r,i.element.appendChild(f))}}},stButtons.human=function(n){return n>=1e5?(n=n/1e3,n=Math.round(n),n=n+"K"):n>=1e4&&(n=n/100,n=Math.round(n),n=n/10,n=n+"K"),n},stButtons.locateElements=function(){var i=document.getElementsByTagName("*"),u=[],w=new RegExp(/st_(.*?)_custom/),p=new RegExp(/st_(.*?)_vcount/),ft=new RegExp(/st_(.*?)_vcount_native/),b=new RegExp(/st_(.*?)_hcount/),st=new RegExp(/st_(.*?)_hcount_native/),y=new RegExp(/st_(.*?)_button/),k=new RegExp(/st_(.*?)_large/),tt=new RegExp(/st_(.*?)_pcount/),d=new RegExp(/st_(.*?)_stbar/),g=new RegExp(/st_(.*?)_stsmbar/),it=new RegExp(/st_(.*?)_css/),nt=new RegExp(/^st_(.*?)$/),wt=new RegExp(/st_(.*?)_basic/),yt=new RegExp(/st_(.*?)_circle/),ct=new RegExp(/(st_(.*?)_basic)|(st_(.*?)_circle)/),lt=new RegExp(/(st_(.*?)_brushed)|(st_(.*?)_shiny)/),pt=new RegExp(/(st_(.*?)_brushed)/),vt=new RegExp(/(st_(.*?)_shiny)/),at=i.length,v=0,r,et,e,f=[],rt=!1,l,c,ut,ht,o,s,ot,a,h,t;for(typeof stRecentServices!="undefined"&&stRecentServices!="undefined"&&stRecentServices!="false"&&stRecentServices&&(rt=!0),t=0;t<at;t++)if(r="",et=!1,e=!1,typeof i[t].className=="string"&&i[t].className!=""&&(i[t].className.match(w)&&i[t].className.match(w).length>=2&&i[t].className.match(w)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(w)[1],typeName="custom",(r=="plusone"||r=="fblike"||r=="fbrec"||r=="fbsend"||r=="fbsub")&&(typeName="chicklet"),u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:typeName}),i[t].setAttribute("st_processed","yes")):i[t].className.match(ct)&&i[t].className.match(ct).length>=2?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.split("_")[1],l="basic",i[t].className.match(yt)&&(l="circle"),u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:l,size:i[t].className.split("$")[1],color:i[t].className.split("$")[2]}),i[t].setAttribute("st_processed","yes")):i[t].className.match(lt)&&i[t].className.match(lt).length>=2?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.split("_")[1],l="brushed",i[t].className.match(vt)&&(l="shiny"),u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:l,size:i[t].className.split("$")[1]}),i[t].setAttribute("st_processed","yes")):i[t].className.match(p)&&i[t].className.match(p).length>=2&&i[t].className.match(p)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(p)[1],c="",i[t].className.match(ft)&&i[t].className.match(ft).length>=2&&i[t].className.match(ft)[1]&&(c="native"),u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"vcount",ctype:c}),i[t].setAttribute("st_processed","yes")):i[t].className.match(b)&&i[t].className.match(b).length>=2&&i[t].className.match(b)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(b)[1],c="",i[t].className.match(st)&&i[t].className.match(st).length>=2&&i[t].className.match(st)[1]&&(c="native"),u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"hcount",ctype:c}),i[t].setAttribute("st_processed","yes")):i[t].className.match(y)&&i[t].className.match(y).length>=2&&i[t].className.match(y)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(y)[1],u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"button"}),i[t].setAttribute("st_processed","yes")):i[t].className.match(k)&&i[t].className.match(k).length>=2&&i[t].className.match(k)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(k)[1],u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"large"}),i[t].setAttribute("st_processed","yes")):i[t].className.match(tt)&&i[t].className.match(tt).length>=2&&i[t].className.match(tt)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(tt)[1],u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"pcount",count:t}),i[t].setAttribute("st_processed","yes")):i[t].className.match(d)&&i[t].className.match(d).length>=2&&i[t].className.match(d)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(d)[1],u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"stbar",count:t}),i[t].setAttribute("st_processed","yes")):i[t].className.match(g)&&i[t].className.match(g).length>=2&&i[t].className.match(g)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(g)[1],u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"stsmbar",count:t}),i[t].setAttribute("st_processed","yes")):i[t].className.match(it)&&i[t].className.match(it).length>=2&&i[t].className.match(it)[1]?stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(it)[1],ut=i[t].className.split("_"),u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"css",cssType:ut[ut.length-1]}),i[t].setAttribute("st_processed","yes")):i[t].className.match(nt)&&i[t].className.match(nt).length>=2&&i[t].className.match(nt)[1]&&stButtons.testElem(i[t])==!1&&(e=!0,r=i[t].className.match(nt)[1],u.push({service:r,element:i[t],url:i[t].getAttribute("st_url"),title:i[t].getAttribute("st_title"),image:i[t].getAttribute("st_img")!=null?i[t].getAttribute("st_img"):i[t].getAttribute("st_image"),message:i[t].getAttribute("st_msg")!=null?i[t].getAttribute("st_msg"):i[t].getAttribute("st_message"),summary:i[t].getAttribute("st_summary"),text:i[t].getAttribute("displayText"),type:"chicklet"}),i[t].setAttribute("st_processed","yes")),rt&&e)){for(v=0;v<f.length;v++)f[v].service==r&&(f[v].count++,et=!0);et||f.push({service:r,count:1,doNotReplace:!1,processed:!1})}if(rt)for(ht=[],o=f.length-1;o>=0;o--)if(f[o].service=="sharethis"||f[o].doNotReplace){f[o].processed=!0;continue}else for(s in stRecentServices)if(ot=!1,!stRecentServices[s].processed){for(a=0;a<f.length;a++)if(s==f[a].service&&!f[a].processed){ot=!0,f[a].doNotReplace=!0,stRecentServices[s].processed=!0;break}if(ot)f[o].processed=!0;else{for(ht.push({oldService:f[o].service,newService:s}),h=0;h<u.length;h++)u[h].service==f[o].service&&(u[h].service=s,u[h].text=stRecentServices[s].title,u[h].element.setAttribute("displayText",stRecentServices[s].title),u[h].element.className=u[h].element.className.replace(f[o].service,s));stRecentServices[s].processed=!0,f[o].processed=!0;break}}for(t=0;t<u.length;t++)stWidget.addEntry(u[t])},stButtons.odcss=function(n,t){this.head=document.getElementsByTagName("head")[0],this.scriptSrc=n,this.css=document.createElement("link"),this.css.setAttribute("rel","stylesheet"),this.css.setAttribute("type","text/css"),this.css.setAttribute("href",this.scriptSrc),setTimeout(function(){t()},500),this.head.appendChild(this.css)},stButtons.makeButtons=function(){if(typeof stButtons.button_css_called=="undefined"){var n="https:"==document.location.protocol?"https://ws.sharethis.com/button/css/buttons-secure.css":"http://w.sharethis.com/button/css/buttons.20a85a6a67053717023e8d12a9dba430.css";stButtons.odcss(n,function(){}),stButtons.button_css_called=!0}stButtons.locateElements()},stButtons.getPlusOneFromGoogle=function(n){if(stButtons.plusOneLoaded==!1){if(stButtons.plusOneLoading==!1){var t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("src","https://apis.google.com/js/plusone.js"),t.async=stWidget.options.asyncPlusone,t.onload=function(){stButtons.renderPlusOneFromGoogle(n),stButtons.plusOneLoaded=!0,stButtons.plusOneLoading=!1},t.onreadystatechange=function(){this.readyState=="complete"&&(stButtons.renderPlusOneFromGoogle(n),stButtons.plusOneLoaded=!0,stButtons.plusOneLoading=!1)},stButtons.plusOneLoading=!0,document.getElementsByTagName("head")[0].appendChild(t)}}else stButtons.renderPlusOneFromGoogle(n)},stButtons.renderPlusOneFromGoogle=function(n){n=="plusone"?gapi.plusone.go():(n=="googleplusfollow"||n=="googleplusadd")&&gapi.plus.go()},stButtons.getXFBMLFromFB=function(n){var r,u,t,i;if(typeof stWidget.options.fbLoad=="undefined"||stWidget.options.fbLoad==!0)if(stButtons.xfbmlLoaded==!1){if(stButtons.xfbmlLoading==!1){if(stButtons.xfbmlLoading=!0,r=document.createElement("div"),r.setAttribute("id","fb-root"),document.body.appendChild(r),u="en_US",typeof stWidget.options.fbLang!="undefined"&&stWidget.options.fbLang!=""&&(u=stWidget.options.fbLang),i=document.getElementsByTagName("script")[0],document.getElementById("facebook-jssdk")){typeof FB!="undefined"&&typeof FB.XFBML!="undefined"&&typeof FB.XFBML.parse=="function"&&(/iframe/.test(n.innerHTML)||FB.XFBML.parse(n),stButtons.trackFB(),stButtons.xfbmlLoaded=!0,stButtons.xfbmlLoading=!1);return}t=document.createElement("script"),t.id="facebook-jssdk",t.src="//connect.facebook.net/"+u+"/all.js",t.async=stWidget.options.async,t.onload=function(){FB.init({appId:"",xfbml:!0}),stButtons.trackFB(),stButtons.xfbmlLoaded=!0,stButtons.xfbmlLoading=!1},t.onreadystatechange=function(){(this.readyState=="complete"||this.readyState=="loaded")&&(FB.init({appId:"",xfbml:!0}),stButtons.trackFB(),stButtons.xfbmlLoaded=!0,stButtons.xfbmlLoading=!1)},i.parentNode.insertBefore(t,i)}}else/iframe/.test(n.innerHTML)||FB.XFBML.parse(n),stButtons.trackFB()},stButtons.addCount=function(n){stButtons.counts.push(n)},stButtons.getCountsFromService=function(n){var r,e,o;if(stButtons.checkQueue(n)==!1){r=r+"-"+stButtons.cbVal,r="stButtons.processCB",stButtons.cbVal++;var h=document.referrer,s=h.replace("http://","").replace("https://","").split("/"),u=s.shift(),f=s.join("/");u=encodeURIComponent(u),f=encodeURIComponent(f),e=stLight.publisher,o="https:"==document.location.protocol?"https://ws.sharethis.com/api/getCount2.php?cb="+r+"&refDomain="+u+"&refQuery="+f+"&pgurl="+encodeURIComponent(document.location.href)+"&pubKey="+e+"&url=":"http://wd.sharethis.com/api/getCount2.php?cb="+r+"&refDomain="+u+"&refQuery="+f+"&pgurl="+encodeURIComponent(document.location.href)+"&pubKey="+e+"&url=",stLight.odjs(o+encodeURIComponent(n),function(){}),stButtons.queue.push(n)}stButtons.countsResp[n]&&stButtons.processCount(stButtons.countsResp[n])},stButtons.checkQueue=function(n){for(var t=0;t<stButtons.queue.length;t++)if(stButtons.queue[t]==n)return!0;return!1},stButtons.testElem=function(n){var t=!1;return n.getAttribute("st_processed")!=null?!0:!1},stWidget=new function(){this.shareables=[],this.entries=0,this.widgetOpen=!1,this.mouseOnTimer=null,this.mouseTimer=null,this.mouseOutTimer=null,this.frameReady=!1,this.stopClosing=!1,this.buttonClicked=!1,this.frameUrl5x="https:"==document.location.protocol?"https://ws.sharethis.com/secure5x/index.html":"http://edge.sharethis.com/share5x/index.5143e87d8032d8713a8a4f85a3735ee1.html",this.frameUrl4x="https:"==document.location.protocol?"https://ws.sharethis.com/secure/index.html":"http://edge.sharethis.com/share4x/index.7697f96df7f0083a45899fb1d1d16981.html",this.frameUrlChoice=switchTo5x?this.frameUrl5x:this.frameUrl4x,this.secure=!1;try{this.mainstframe=document.createElement('<iframe name="stLframe" allowTransparency="true" style="body{background:transparent;}" ></iframe>'),this.mainstframe.onreadystatechange=function(){if(stWidget.mainstframe.readyState==="complete"){stWidget.frameReady=!0,stButtons.pumpInstance=new stlib.pump(stWidget.mainstframe,stWidget.mainstframe,function(){stButtons.messageQueueInstance.process()}),stButtons.messageQueueInstance.setPumpInstance(stButtons.pumpInstance);try{stButtons.pumpInstance.broadcastSendMessage("Buttons Ready")}catch(n){}}}}catch(n){this.mainstframe=document.createElement("iframe"),this.mainstframe.allowTransparency="true",this.mainstframe.setAttribute("allowTransparency","true"),this.mainstframe.onload=function(){stWidget.frameReady=!0,stButtons.pumpInstance=new stlib.pump(stWidget.mainstframe,stWidget.mainstframe,function(){stButtons.messageQueueInstance.process()}),stButtons.messageQueueInstance.setPumpInstance(stButtons.pumpInstance);try{stButtons.pumpInstance.broadcastSendMessage("Buttons Ready")}catch(n){}}}this.mainstframe.id="stLframe",this.mainstframe.className="stLframe",this.mainstframe.name="stLframe",this.mainstframe.frameBorder="0",this.mainstframe.scrolling="no",this.mainstframe.width="353px",this.mainstframe.height="350px",this.mainstframe.style.top="0px",this.mainstframe.style.left="0px",this.mainstframe.src=this.frameUrlChoice,this.wrapper=document.createElement("div"),this.wrapper.id="stwrapper",this.wrapper.className="stwrapper",this.wrapper.style.visibility="hidden",this.wrapper.style.top="-999px",this.wrapper.style.left="-999px",this.closewrapper=document.createElement("div"),this.closewrapper.className="stclose",switchTo5x&&(this.mainstframe.width="500px",this.mainstframe.height="430px",this.wrapper.style.top="-999px",this.wrapper.style.left="-999px",this.wrapper.style.width="500px",this.wrapper.style.zIndex=89999999,this.overlay=document.createElement("div"),this.overlay.style.height="100%",this.overlay.style.width="100%",this.overlay.style.backgroundColor="#000",this.overlay.style.opacity="0.6",this.overlay.style.filter="Alpha(Opacity=60)",this.overlay.style.position="fixed",document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1&&(this.overlay.style.position="absolute"),this.overlay.style.display="none",this.overlay.style.left="0",this.overlay.style.top="0",this.overlay.style.zIndex=89999990,this.overlay.setAttribute("id","stOverlay"),this.closewrapper.className="stCloseNew2"),this.closewrapper.onclick=function(){stWidget.closeWidget()},this.wrapper.appendChild(this.closewrapper),this.wrapper.appendChild(this.mainstframe),this.ogtitle=null,this.ogdesc=null,this.ogurl=null,this.ogimg=null,this.ogtype=null,this.twittertitle=null,this.twitterdesc=null,this.twitterurl=null,this.twitterimg=null,this.twittercard=null,this.desc=null,this.initFire=!1,this.merge=function(n,t){for(var i in t)n.hasOwnProperty(i)&&t[i]!==null&&(n[i]=t[i])},this.oldScroll=0,this.init=function(){stWidget.initFire==!1&&(stWidget.initFire=!0,stButtons.messageQueueInstance==null&&(stButtons.messageQueueInstance=new stlib.messageQueue),stlib.browser.ieFallback?setTimeout("stButtons.messageQueueInstance.send(stWidget.createFrag(stlib.data,'data'), 'data');",1e3):stButtons.messageQueueInstance.send(stWidget.createFrag(stlib.data,"data"),"data"),stlib.browser.ieFallback?(setTimeout("stButtons.messageQueueInstance.send(stWidget.createFrag(null,'init'), 'init');",2e3),setTimeout("stWidget.initIE=true;",2500)):stButtons.messageQueueInstance.send(stWidget.createFrag(null,"init"),"init"))}},stWidget.options=new function(){this.fpc=stLight.fpc,this.sessionID=null,this.publisher=null,this.tracking=!0,this.send_services=null,this.exclusive_services=null,this.headerTitle=null,this.headerfg=null,this.headerbg=null,this.offsetLeft=null,this.offsetTop=null,this.onhover=!0,this.async=!1,this.asyncPlusone=!1,this.autoclose=!0,this.autoPosition=!0,this.embeds=!1,this.doneScreen=!0,this.minorServices=!0,this.excludeServices=null,this.theme=1,this.serviceBarColor=null,this.shareButtonColor=null,this.footerColor=null,this.headerTextColor=null,this.helpTextColor=null,this.mainWidgetColor=null,this.textBoxFontColor=null,this.textRightToLeft=!1,this.shorten=!0,this.popup=!1,this.newOrZero="new",this.minShareCount=null,this.publisherGA=null,this.services="",this.relatedDomain=null,this.hashAddressBar=!1,this.doNotHash=!0,this.doNotCopy=!0,this.nativeCount=!1,this.lang="",this.fbLang="",this.fbLoad=!0,this.servicePopup=!1,this.textcause=null,this.linkcause=null,this.twmetaimg=null,this.twmetadesc=null,this.twmetatitle=null,this.twmetaurl=null},stWidget.addEntry=function(n){if(!n.element)return!1;if(openWidget=n&&n.service&&(n.service=="email"||n.service=="sharethis"||n.service=="wordpress"||stIsLoggedIn&&servicesLoggedIn&&typeof servicesLoggedIn[n.service]!="undefined"&&(useFastShare||!useFastShare&&switchTo5x)&&(n.service=="facebook"||n.service=="twitter"||n.service=="yahoo"||n.service=="linkedin"))?!0:!1,openWidget){n.type!="custom"?(n.element.appendChild(stButtons.makeButton(n)),(n.service=="plusone"||n.service=="googleplusfollow"||n.service=="googleplusadd")&&stButtons.getPlusOneFromGoogle(n.service),(n.service=="fblike"||n.service=="fbsend"||n.service=="fbrec"||n.service=="fbLong"||n.service=="fbsub")&&stButtons.getXFBMLFromFB(n.element),stlib.nativeButtons.checkNativeButtonSupport(n.service)&&stlib.nativeButtons.loadService(n.service)):stButtons.makeButton(n);var t=new Shareable(n);return t.idx=stWidget.entries,stWidget.entries++,t.publisher=stLight.publisher,t.sessionID=stLight.sessionID,t.fpc=stLight.fpc,n.element.getAttribute("st_via")!=null&&(t.via=n.element.getAttribute("st_via").replace(/^\s+|\s+$/g,"")),t.url=stWidget.twitterurl?stWidget.twitterurl:stWidget.ogurl?stWidget.ogurl:document.location.href,t.url=n.url?n.url:t.url,stlib.hash.doNotHash||(t.url=stlib.hash.appendHash(t.url),n.url=t.url),stlib.data.set("url",t.url,"shareInfo"),t.title=stWidget.twittertitle?stWidget.twittertitle:stWidget.ogtitle?stWidget.ogtitle:document.title,t.title=n.title?n.title:t.title,stWidget.merge(t,stWidget.options),typeof stWidget.options.textRightToLeft!="undefined"&&stWidget.options.textRightToLeft!="null"&&stWidget.options.textRightToLeft==!0&&(document.getElementById("stwrapper").style.top="auto",document.getElementById("stwrapper").style.left="auto"),t.mouseOn=function(){stWidget.mouseOnTimer=setTimeout(t.decideFastShare,500)},t.mouseOut=function(){clearInterval(stWidget.mouseOnTimer)},t.decideFastShare=function(){stlib.browser.ieFallback&&(typeof stWidget.initIE=="undefined"||stWidget.initIE!=!0)||(useFastShare&&stIsLoggedIn&&n.service!="email"&&n.service!="sharethis"&&n.service!="wordpress"&&(typeof servicesLoggedIn[n.service]!="undefined"||n.service!="facebook"&&n.service!="twitter"&&n.service!="linkedin"&&n.service!="yahoo")?(stLight.log("widget","fastShare",n.service,n.type),stFastShareObj.url=t.url,stFastShareObj.title=t.title,stFastShareObj.image=t.image,typeof t.summary=="undefined"&&t.summary!=null&&(stFastShareObj.summary=t.summary),stFastShareObj.via=null,n.service=="twitter"&&t.element.getAttribute("st_via")!=null&&(stFastShareObj.via=t.element.getAttribute("st_via").replace(/^\s+|\s+$/g,"")),stFastShareObj.message=t.message,stFastShareObj.element=n.element,stFastShareObj.service=n.service,stFastShareObj.type=n.type,stFastShareObj.publisher=stlib.data.get("publisher","pageInfo"),stFastShareObj.fpc=stlib.data.get("fpc","pageInfo"),stFastShareObj.sessionID=stlib.data.get("sessionID","pageInfo"),stFastShareObj.hostname=stlib.data.get("hostname","pageInfo"),stFastShareObj.username=servicesLoggedIn[n.service],typeof fastShare=="undefined"?stLight.odjs("https:"==document.location.protocol?"https://ws.sharethis.com/button/fastShare.js":"http://w.sharethis.com/button/fastShare.js",function(){fastShare.showWidget()}):fastShare.showWidget()):stlib.browser.mobile.handleForMobileFriendly(t,n,stWidget.options)?stLight.log("widget","mobile",n.service,n.type):t.popup())},t.popup=function(){var o,f,i,e,r,u;return stWidget.widgetOpen==!1?(switchTo5x||stWidget.stCancelClose(),o=stLight.getSource2(n),stLight.log("widget",o,n.service,n.type),stWidget.options.popup&&!switchTo5x?(f=stWidget.createFrag(t),_$d_(),_$d1("4x Popup Called"),_$d1(f),_$d_(),window.open(stWidget.frameUrl4x+"#"+f,"newstframe","status=1,toolbar=0,width=345,height=375")):stWidget.options.popup&&switchTo5x?(i="http://sharethis.com/share?url="+t.url,t.title!=null&&(i+="&title="+t.title),t.image!=null&&(i+="&img="+t.image),t.summary!=null&&(i+="&summary="+t.summary),n.type!=null&&(i+="&type="+n.type),t.via!=null&&(i+="&via="+t.via),e="",stlib.data&&(r=stlib.json.encode(stlib.data.pageInfo),u=stlib.json.encode(stlib.data.shareInfo),stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()?(r=encodeURIComponent(encodeURIComponent(r)),u=encodeURIComponent(encodeURIComponent(u))):(r=encodeURIComponent(r),u=encodeURIComponent(u)),e="&pageInfo="+r+"&shareInfo="+u),window.open(i+e,"newstframe","status=1,toolbar=0,width=820,height=950")):(stButtons.messageQueueInstance.send(stWidget.createFrag(t),"light"),stWidget.positionWidget(t),stWidget.options.embeds==!1&&stWidget.hideEmbeds(),setTimeout(function(){stWidget.widgetOpen=!0,st_showing=!0},200))):stWidget.widgetOpen==!0&&stWidget.options.onhover==!1,!1},t.init(),stlib.buttonInfo.addButton(t),t}return n.type!=="custom"?(n.element.appendChild(stButtons.makeButton(n)),(n.service=="plusone"||n.service=="googleplusfollow"||n.service=="googleplusadd")&&stButtons.getPlusOneFromGoogle(n.service),(n.service=="fblike"||n.service=="fbsend"||n.service=="fbrec"||n.service=="fbLong"||n.service=="fbsub")&&stButtons.getXFBMLFromFB(n.element),stlib.nativeButtons.checkNativeButtonSupport(n.service)&&stlib.nativeButtons.loadService(n.service)):stButtons.makeButton(n),stlib.buttonInfo.addButton(n),!0},stWidget.createFrag=function(n,t){var i="light",o,f,r,u,e;if(i=stWidget.options.popup?"popup":i,__stgetPubGA(),t=="data"){i="data";for(r in n)n.hasOwnProperty(r)==!0&&n[r]!==null&&typeof n[r]!="function"&&(o=typeof n[r]=="object"?stlib.json.encode(n[r]):n[r],i=stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()?i+"/"+r+"="+encodeURIComponent(encodeURIComponent(o)):i+"/"+r+"="+encodeURIComponent(o))}else if(t=="init"){i="init",stWidget.options.tracking&&stWidget.options.publisherGA==null&&(typeof pageTracker!="undefined"&&pageTracker!==null?stWidget.options.publisherGA=pageTracker._getAccount():stWidget.options.publisherGA==null&&typeof __stPubGA!="undefined"&&(stWidget.options.publisherGA=__stPubGA));for(r in stWidget.options)if(stWidget.options.hasOwnProperty(r)==!0&&stWidget.options[r]!==null&&typeof stWidget.options[r]!="function"&&typeof stWidget.options[r]!="object"){f=stWidget.options[r];try{f=decodeURIComponent(f),f=decodeURIComponent(f)}catch(s){}i=i+"/"+r+"="+encodeURIComponent(f)}i=i+"/pUrl="+encodeURIComponent(encodeURIComponent(document.location.href))+(document.title!=""?"/title="+encodeURIComponent(encodeURIComponent(document.title)):"")+"/stLight=true"}else{for(r in n)n.hasOwnProperty(r)==!0&&n[r]!==null&&typeof n[r]!="function"&&typeof n[r]!="object"&&r!=="idx"&&(i=i+"/"+r+"-=-"+encodeURIComponent(encodeURIComponent(n[r])));n.service=="email"&&(i=i+"/page-=-send"),switchTo5x&&(n.service=="facebook"?i=i+"/page-=-fbhome":n.service=="twitter"?i=i+"/page-=-twhome":n.service=="yahoo"?i=i+"/page-=-ybhome":n.service=="linkedin"?i=i+"/page-=-lihome":n.service=="wordpress"&&(i=i+"/page-=-wphome")),stlib.data&&(u=stlib.json.encode(stlib.data.pageInfo),e=stlib.json.encode(stlib.data.shareInfo),stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()?(u=encodeURIComponent(encodeURIComponent(u)),e=encodeURIComponent(encodeURIComponent(e))):(u=encodeURIComponent(u),e=encodeURIComponent(e)),i+="/pageInfo-=-"+u,i+="/shareInfo-=-"+e)}return i},stWidget.positionWidget=function(o){function getHW(n){for(var t=0,r=0,i=!0;n!=null;)r+=n.offsetLeft,i&&(t+=n.offsetTop),window.getComputedStyle?document.defaultView.getComputedStyle(n,null).getPropertyValue("position")=="fixed"&&(t+=document.documentElement.scrollTop||document.body.scrollTop,i=!1):n.currentStyle&&n.currentStyle.position=="fixed"&&(t+=document.documentElement.scrollTop||document.body.scrollTop,i=!1),n=n.offsetParent;return{height:t,width:r}}var curleft,mPos,topVal;if(!o)return!1;if(switchTo5x)document.getElementById("stOverlay").style.display="block",stWidget.options.autoPosition==!0&&(stWidget.wrapper.style.left=document.all&&navigator.appVersion.indexOf("MSIE 7.")!=-1?"500px":"10%",stWidget.wrapper.style.right="10%",topVal=(document.documentElement.clientHeight-parseFloat(stWidget.wrapper.offsetHeight)/2)/2,topVal>20?topVal=20:topVal<5&&(topVal=5),stWidget.wrapper.style.top=topVal+"px",stWidget.wrapper.style.marginLeft="auto",stWidget.wrapper.style.marginRight="auto",stWidget.wrapper.style.textAlign="left",stWidget.wrapper.style.position="fixed",document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1&&(stWidget.wrapper.style.left="300px",stWidget.wrapper.style.position="absolute")),stWidget.options.autoPosition=="center"&&(stWidget.wrapper.style.left=document.all&&navigator.appVersion.indexOf("MSIE 7.")!=-1?"500px":"10%",stWidget.wrapper.style.right="10%",stWidget.wrapper.style.marginLeft="auto",stWidget.wrapper.style.marginRight="auto",stWidget.wrapper.style.position="fixed",topVal=(document.documentElement.clientHeight-parseFloat(stWidget.wrapper.offsetHeight)/2)/2,topVal>20?topVal=20:topVal<5&&(topVal=5),stWidget.wrapper.style.top=topVal+"px",document.all&&navigator.appVersion.indexOf("MSIE 6.")!=-1&&(stWidget.wrapper.style.position="absolute"));else{shareel=o.element,curleft=curtop=0,mPos=getHW(shareel),curleft=mPos.width,curtop=mPos.height,shareel=o.element;var eltop=0,elleft=0,topVal=0,leftVal=0,elemH=0,elemW=0;if(eltop=curtop+shareel.offsetHeight+5,elleft=curleft+5,topVal=eltop+(stWidget.options.offsetTop?stWidget.options.offsetTop:0),topVal=eval(topVal),elemH=topVal,topVal+="px",leftVal=elleft+(stWidget.options.offsetLeft?stWidget.options.offsetLeft:0),leftVal=eval(leftVal),elemW=leftVal,leftVal+="px",stWidget.wrapper.style.top=topVal,stWidget.wrapper.style.left=leftVal,stWidget.options.autoPosition==!0){stWidget.oldScroll=document.body.scrollTop;var pginfo=stWidget.pageSize(),effectiveH=pginfo.height+pginfo.scrY,effectiveW=pginfo.width+pginfo.scrX,widgetH=330,widgetW=330,needH=widgetH+elemH,needW=widgetW+elemW,diffH=needH-effectiveH,diffW=needW-effectiveW,newH=elemH-diffH,newW=elemW-diffW,buttonPos=getHW(shareel),leftA,rightA,topA,bottomA=!1;diffH>0&&(bottomA=!1,topA=!0,buttonPos.height-widgetH>0&&(newH=buttonPos.height-widgetH),stWidget.wrapper.style.top=newH+"px"),diffW>0&&(leftA=!1,rightA=!0,buttonPos.width-widgetW>0&&(newW=buttonPos.width-widgetW),stWidget.wrapper.style.left=newW+"px")}stWidget.options.autoPosition=="center"&&(stWidget.wrapper.style.top="15%",stWidget.wrapper.style.left="35%",stWidget.wrapper.style.position="fixed")}stWidget.wrapper.style.visibility="visible",stWidget.mainstframe.style.visibility="visible"},stWidget.hideWidget=function(){stWidget.wrapper.style.visibility!=="hidden"&&(stWidget.wrapper.style.visibility="hidden"),stWidget.mainstframe.style.visibility!=="hidden"&&(stWidget.mainstframe.style.visibility="hidden"),switchTo5x&&(document.getElementById("stOverlay").style.display="none")},stWidget.pageSize=function(){var u=[0,0,0,0],n=0,t=0,i=0,r=0;return typeof window.pageYOffset=="number"?(n=window.pageXOffset,t=window.pageYOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(n=document.body.scrollLeft,t=document.body.scrollTop):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(n=document.documentElement.scrollLeft,t=document.documentElement.scrollTop),window.innerWidth?(i=window.innerWidth,r=window.innerHeight):document.documentElement.offsetWidth&&(i=document.documentElement.offsetWidth,r=document.documentElement.offsetHeight),u={scrX:n,scrY:t,width:i,height:r}},stWidget.closetimeout=null,stWidget.stClose=function(n){n||(n=1e3),switchTo5x||stWidget.options.autoclose==null||stWidget.options.autoclose!=!0&&stWidget.options.autoclose!="true"||(stWidget.openDuration<.5&&stWidget.stopClosing==!1?stWidget.closetimeout=setTimeout("stWidget.closeWidget()",n):stWidget.stopClosing=!0)},stWidget.stCancelClose=function(){clearTimeout(stWidget.closetimeout),stWidget.buttonClicked=!0,setTimeout(function(){stWidget.buttonClicked=!1},100)},stWidget.closeWidget=function(){if(st_showing==!1)return!1;st_showing=!1,stWidget.widgetOpen=!1,stWidget.wrapper.style.visibility="hidden",stWidget.mainstframe.style.visibility="hidden",stWidget.showEmbeds(),stWidget.sendEvent("screen","home"),switchTo5x?document.getElementById("stOverlay").style.display="none":(stWidget.wrapper.style.top="-999px",stWidget.wrapper.style.left="-999px")},stWidget.hideEmbeds=function(){for(var t=document.getElementsByTagName("embed"),n=0;n<t.length;n++)t[n].style.visibility="hidden"},stWidget.showEmbeds=function(){var t,n;if(stWidget.options.embeds==!0)return!0;for(t=document.getElementsByTagName("embed"),n=0;n<t.length;n++)t[n].style.visibility="visible"},stWidget.sendEvent=function(n,t){var i="widget/"+n+"="+t;stButtons.messageQueueInstance.send(i,"widget")},stWidget.getOGTags=function(){for(var t=document.getElementsByTagName("meta"),n=0;n<t.length;n++)t[n].getAttribute("property")=="og:title"?stWidget.ogtitle=t[n].getAttribute("content"):t[n].getAttribute("property")=="og:type"?stWidget.ogtype=t[n].getAttribute("content"):t[n].getAttribute("property")=="og:url"?stWidget.ogurl=t[n].getAttribute("content"):t[n].getAttribute("property")=="og:image"?stWidget.ogimg=t[n].getAttribute("content"):t[n].getAttribute("property")=="og:description"?stWidget.ogdesc=t[n].getAttribute("content"):(t[n].getAttribute("name")=="description"||t[n].getAttribute("name")=="Description")&&(stWidget.desc=t[n].getAttribute("content"))},stWidget.getMetaTags=function(){var t=document.getElementsByTagName("meta"),n;if(stWidget.getOGTags(),stWidget.ogtitle==null)for(n=0;n<t.length;n++)t[n].getAttribute("name")=="twitter:card"?stWidget.twittercard=t[n].getAttribute("content"):t[n].getAttribute("name")=="twitter:url"?stWidget.twitterurl=t[n].getAttribute("content"):t[n].getAttribute("name")=="twitter:title"?stWidget.twittertitle=t[n].getAttribute("content"):t[n].getAttribute("name")=="twitter:description"?stWidget.twitterdesc=t[n].getAttribute("content"):t[n].getAttribute("name")=="twitter:image"?stWidget.twitterimg=t[n].getAttribute("content"):(t[n].getAttribute("name")=="description"||t[n].getAttribute("name")=="Description")&&(stWidget.desc=t[n].getAttribute("content"))},stButtons.completeInit=function(){if(!stButtons.goToInit){if(stButtons.goToInit=!0,stWidget.getMetaTags(),document.body.appendChild(stWidget.wrapper),switchTo5x&&document.body.appendChild(stWidget.overlay),!switchTo5x)try{var n=document.getElementById("stLframe");n.onmouseover=function(){stWidget.stCancelClose(),stWidget.inTime=+new Date},n.onmouseout=function(){stWidget.outTime=+new Date,stWidget.openDuration=(stWidget.outTime-stWidget.inTime)/1e3,stWidget.stClose()};try{document.body.attachEvent?document.body.attachEvent("onclick",function(){stWidget.buttonClicked==!1&&(stWidget.stopClosing=!1,stWidget.openDuration=0,stWidget.stClose(100))}):document.body.setAttribute("onclick","if(stWidget.buttonClicked==false){stWidget.stopClosing=false;stWidget.openDuration=0;stWidget.stClose(100);}")}catch(t){document.body.onclick=function(){stWidget.buttonClicked==!1&&(stWidget.stopClosing=!1,stWidget.openDuration=0,stWidget.stClose(100))}}}catch(t){}stButtons.makeButtons(),stWidget.init()}},plusoneCallback=function(n){n.state=="on"&&(stlib.data.resetShareData(),stlib.data.set("url",n.href,"shareInfo"),stlib.data.set("destination","plusone","shareInfo"),stlib.data.setSource("chicklet"),stlib.data.set("buttonType","chicklet","shareInfo"),stlib.sharer.share())},stButtons.trackFB=function(){try{stButtons.fbTracked||typeof FB=="undefined"||typeof FB.Event=="undefined"||typeof FB.Event.subscribe=="undefined"||(stButtons.fbTracked=!0,FB.Event.subscribe("edge.create",function(n){stButtons.trackShare("fblike_auto",n),stLight.callSubscribers("click","fblike",n)}),FB.Event.subscribe("edge.remove",function(n){stButtons.trackShare("fbunlike_auto",n),stLight.callSubscribers("click","fbunlike",n)}),FB.Event.subscribe("message.send",function(n){stButtons.trackShare("fbsend_auto",n),stLight.callSubscribers("click","fbsend",n)}))}catch(n){}},stButtons.trackTwitter=function(){stButtons.twitterTracked||typeof twttr=="undefined"||typeof twttr.events=="undefined"||typeof twttr.events.bind=="undefined"||(stButtons.twitterTracked=!0,twttr.events.bind("click",function(){stButtons.trackTwitterEvent("click"),stLight.callSubscribers("click","twitter")}),twttr.events.bind("tweet",function(){stButtons.trackTwitterEvent("tweet")}),twttr.events.bind("retweet",function(){stButtons.trackTwitterEvent("retweet"),stLight.callSubscribers("click","retweet")}),twttr.events.bind("favorite",function(){stButtons.trackTwitterEvent("favorite"),stLight.callSubscribers("click","favorite")}),twttr.events.bind("follow",function(){stButtons.trackTwitterEvent("follow"),stLight.callSubscribers("click","follow")}))},stButtons.trackTwitterEvent=function(n){stButtons.trackShare("twitter_"+n+"_auto")},stButtons.trackShare=function(n,t){var i;i=typeof t!="undefined"&&t!==null?t:document.location.href,stlib.data.resetShareData(),stlib.data.set("url",i,"shareInfo"),stlib.data.set("destination",n,"shareInfo"),stlib.data.set("buttonType","chicklet","shareInfo"),stlib.data.setSource("chicklet"),stlib.sharer.share()},stLight.processSTQ=function(){var n,t;if(typeof _stq!="undefined")for(n=0;n<_stq.length;n++)t=_stq[n],stLight.options(t);else return!1},stLight.onDomContentLoaded=function(){stLight.onReady(),stButtons.trackTwitter()},stLight.onDomContentLoadedLazy=function(){stLight.loadServicesLoggedIn(function(){stlib.data.init(),stButtons.locateElements(),stButtons.makeButtons()})},stLight.messageReceiver=function(n){var t,i;n&&(n.origin=="http://edge.sharethis.com"||n.origin=="https://ws.sharethis.com")&&(t=n.data,t=t.split("|"),t[0]=="ShareThis"&&t.length>2&&(i=typeof t[3]=="undefined"?document.location.href:t[3],stLight.callSubscribers(t[1],t[2],i)))},stLight.subscribe=function(n,t){n=="click"?stLight.clickSubscribers.push(t):stLight.nonClickSubscribers.push(t)},stLight.callSubscribers=function(n,t,i){if(n=="click")for(var r=0;r<stLight.clickSubscribers.length;r++)stLight.clickSubscribers[r]("click",t,i)},stLight.gaTS=function(n,t,i){var u="",r="";t=="fblike"?(u="ShareThis_facebook",r="Like"):t=="fbunlike"?(u="ShareThis_facebook",r="UnLike"):t=="fbsend"?(u="ShareThis_facebook",r="Send"):t=="twitter"?(u="ShareThis_twitter",r="Share"):t=="retweet"?(u="ShareThis_twitter",r="ReTweet"):t=="favorite"?(u="ShareThis_twitter",r="Favorite"):t=="follow"?(u="ShareThis_twitter",r="Follow"):(u="ShareThis_"+t,r="Share"),typeof _gaq!="undefined"&&_gaq.push(["_trackSocial",u,r,i])},stButtons.onReady=function(){for(var t=document.getElementsByTagName("*"),s=[],o=new RegExp(/sharethis_smartbuttons/),e=!1,f,i,u,r,n=0;n<t.length;n++)if(typeof t[n].className=="string"&&t[n].className!=""&&t[n].className.match(o)){e=!0;break}e?(f=document.getElementsByTagName("head")[0],i=["return=json","cb=stButtons.smartifyButtons"],i=i.join("&"),u=("https:"==document.location.protocol?"https://ws.":"http://wd.")+"sharethis.com/api/getRecentServices.php?"+i,r=document.createElement("script"),r.setAttribute("type","text/javascript"),r.setAttribute("src",u),f.appendChild(r),setTimeout("stButtons.completeInit()",2e3)):stButtons.completeInit(),stLight.subscribe("click",stLight.gaTS)},stLight.domReady=function(){stLight.onReady(),stButtons.trackTwitter(),__stgetPubGA(),typeof __stPubGA!="undefined"&&stLight.readyRun==!0&&stWidget.frameReady==!0&&stWidget.sendEvent("publisherGA",__stPubGA)},stButtons.goToInit=!1,stButtons.widget=!1,stButtons.widgetArray=[],stButtons.queue=[],stButtons.cbQueue=[],stButtons.cbNativeQueue=[],stButtons.cbVal=0,stButtons.queuePos=0,stButtons.counts=[],st_showing=!1,stButtons.urlElements=[],stButtons.publisherTracker=null,stButtons.plusOneLoaded=!1,stButtons.plusOneLoading=!1,stButtons.xfbmlLoaded=!1,stButtons.xfbmlLoading=!1,stButtons.fbTracked=!1,stButtons.twitterTracked=!1,stButtons.pumpInstance=null,stButtons.messageQueueInstance=null,stButtons.countsResp=[],stButtons.countsNativeResp=[],stWidget.getMetaTags(),stLight.clickSubscribers=[],stLight.nonClickSubscribers=[],window.document.readyState=="completed"?stLight.domReady():typeof window.addEventListener!="undefined"?window.addEventListener("load",stLight.domReady,!1):typeof document.addEventListener!="undefined"?document.addEventListener("load",stLight.domReady,!1):typeof window.attachEvent!="undefined"&&window.attachEvent("onload",stLight.domReady),typeof window.addEventListener!="undefined"?window.addEventListener("click",function(){stWidget.closeWidget()},!1):typeof document.addEventListener!="undefined"?document.addEventListener("click",function(){stWidget.closeWidget()},!1):typeof window.attachEvent!="undefined"&&window.attachEvent("onclick",function(){stWidget.closeWidget()}),typeof __st_loadLate=="undefined"?typeof window.addEventListener!="undefined"?window.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,!1):typeof document.addEventListener!="undefined"&&document.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,!1):typeof window.addEventListener!="undefined"?window.addEventListener("DOMContentLoaded",stLight.onDomContentLoadedLazy,!1):typeof document.addEventListener!="undefined"&&document.addEventListener("DOMContentLoaded",stLight.onDomContentLoadedLazy,!1),typeof window.addEventListener!="undefined"?window.addEventListener("message",stLight.messageReceiver,!1):typeof document.addEventListener!="undefined"?document.addEventListener("message",stLight.messageReceiver,!1):typeof window.attachEvent!="undefined"&&window.attachEvent("onmessage",stLight.messageReceiver),document.readyState=="complete"&&stLight.readyRun==!1&&stLight.domReady(),$(document).ready(function(){function s(n){$.ajax({url:"/json/GetMalfunctionProducts/",type:"POST",dataType:"json",data:'{ "categoryId": '+n+" }",contentType:"application/json; charset=utf-8",success:function(n){var t=$(".malfunction-product-select");t.removeData("dropkick"),$("#dk_container_Product").remove(),t.empty(),$.each(n,function(){t.append($("<option />").val(this.Id).text(this.Title))}),console.log(n)}})}function l(){function n(n){if($(n).attr("class").indexOf("novalid")!==-1)return!0;var i=!0,t=0;return($(n).find("input.req, textarea.req, select.req").each(function(){var n=$(this),i=n.parent(".row"),r=!0,e,f,u;n.val()==""&&n.parent().css("display")!="none"||n.val()=="0"&&n.parent().css("display")!="none"?(r=!1,t++,i.addClass("error")):n.hasClass("email")?(e=n.val(),e.indexOf("@")==-1?(r=!1,t++,i.addClass("error")):i.removeClass("error")):n.hasClass("phone")?(f=n.val(),u=/^[\(\)\+\s\-\d]+$/,u.test(f)?i.removeClass("error"):(r=!1,t++,i.addClass("error"))):i.removeClass("error")}),t==0)?!0:!1}$("input.req, textarea.req, select.req").focus(function(){$(this).parent(".row").removeClass("error")}),$(".row.error .dk_container").click(function(){$(this).parent(".row").removeClass("error")}),$(".valid").submit(function(){return n(this)})}function c(n){var t=window.event?n.keyCode:n.which;return n.keyCode==8||n.keyCode==46||n.keyCode==37||n.keyCode==39?!0:t<48||t>57?!1:!0}var h,r,n,i,t;if($(".footerItem:nth-child(2)").css({width:"260px","margin-right":"70px"}),$(".footerItem:nth-child(4)").css({width:"121px",float:"right"}),$(".footerItem:nth-child(4) img").css({"margin-top":"30px","margin-right":"15px"}),$(".footerItem:nth-child(4) img:nth-child(2)").css({"margin-right":"0px"}),$(".submitForm").click(function(){return $(this).closest("form").submit(),!1}),$("#quoteslider").bxSlider({mode:"fade",auto:!0,pager:!0,controls:!1,speed:500,pause:8e3}),$("#topslider").bxSlider({mode:"fade",auto:!0,pager:!1,controls:!1,speed:1e3,pause:5e3}),$(".submitMaintenanceForm").click(function(){var t=$(this),n=$("#"+t.data("form")),i=t.data("form-validation");return $("#stepId").val(t.data("step-id")),i=="no"?n.addClass("novalid"):i=="yes"&&n.removeClass("novalid"),n.submit(),!1}),$("#codeCheckerHolder").length&&$("#codeCheckerHolder").addClass("hiddenContainer"),$(".quotationAmount").keyup(function(){var t=$(this).closest("form").find("input[type=hidden]").val(),n=$(this).val();$.ajax({url:"/umbraco/Surface/Json/UpdateVariantAmount",type:"POST",dataType:"json",data:'{ "variantId": '+t+', "amount": "'+n+'" }',contentType:"application/json; charset=utf-8",success:function(){}})}),h=!0,stLight.options({publisher:"ur-6e1b49c4-2dfa-1200-284-e296d93b7916"}),$(".siteSearch").watermark($(".siteSearch").data("text")),$(".subscribeToNewsletter").watermark($(".subscribeToNewsletter").data("text")),r=$(".singleProduct a.productLink, .homeProduct a.homeProductLink"),n=0,r.each(function(){n=Math.max(n,$(this).outerHeight())}),r.css({height:n+"px"}),i=$("a.downloadButton span"),t=0,i.each(function(){t=Math.max(t,$(this).outerWidth())}),i.css({width:t+"px"}),$("#slideshow").cycle({fx:"fade",speed:250,timeout:0,pager:"#slideshowNav",pagerAnchorBuilder:function(n){return"#slideshowNav li:eq("+n+") a"}}),$(".showMoreImages").click(function(){return $("#slideshowNav").toggleClass("showall"),$("#slideshowNav").slideDown("slow"),!1}),$(".malfunction-category-select").change(function(){var n=$(this).val();s(n)}),$(".malfunction-product-select").change(function(){var n=$(this).val();n=="-1"?$(".productOtherTitle").show():($(".productOtherTitle").val(""),$(".productOtherTitle").hide())}),$(".largeimg a, #slideshowNav a").fancybox({transitionIn:"fade",transitionOut:"fade",speedIn:600,speedOut:200}),$("a.video").click(function(){return $.fancybox({padding:0,autoScale:!1,transitionIn:"none",transitionOut:"none",title:this.title,width:640,height:385,href:this.href.replace(new RegExp("watch\\?v=","i"),"v/"),type:"swf",swf:{wmode:"transparent",allowfullscreen:"true"}}),!1}),$("a.fancybox").fancybox({transitionIn:"fade",transitionOut:"fade",speedIn:600,speedOut:200,overlayShow:!1}),$(".quantity .remove").click(function(){$("form.quantity").hide()}),l(),$(".contractInputRow input").keypress(c),$(".contractInputRow input").live("keyup",function(){$(this).val()=="0"&&$(this).val("")}),$(".contractCategorie .contractCatTitle").click(function(){return $(this).hasClass("open")?($(".contractCategorie .contractCatTitle").removeClass("open"),$(".contractCategorie .contractCategorieOptions").slideUp(300)):($(".contractCategorie .contractCatTitle").removeClass("open"),$(".contractCategorie .contractCategorieOptions").slideUp(300),$(this).addClass("open"),$(this).next(".contractCategorieOptions").slideDown(300)),!1}),$("#sameAsContact").click(function(){$(this).is(":checked")?($(".billingAddress").hide(),$(".billingAddress .hasReq").each(function(){$(this).removeClass("req")})):($(".billingAddress").show(),$(".billingAddress .hasReq").each(function(){$(this).addClass("req")}))}),$("#sameAsContact").is(":checked")&&$(".billingAddress .hasReq").each(function(){$(this).removeClass("req")}),Modernizr.mq("screen and (max-width:767px)")){var f=$(".catNav h2"),u=$(".catNav > ul"),o=$(".menu-toggle"),e=$("nav ul");f.on("click",function(){u.slideToggle()});o.on("click",function(){e.slideToggle()})}$("#CopyAddress").click(function(){var i=$(".invoice-address"),t=$(".invoice-zipcode"),n=$(".invoice-city"),f=$(".malfunction-address"),u=$(".malfunction-zipcode"),r=$(".malfunction-city");$(this).attr("checked")?(f.val(i.val()).attr("readonly",!0),$(i).bind("keyup",function(){f.val(i.val())}),u.val(t.val()).attr("readonly",!0),$(t).bind("keyup",function(){u.val(t.val())}),r.val(n.val()).attr("readonly",!0),$(n).bind("keyup",function(){r.val(n.val())})):(f.attr("readonly",!1),$(i).unbind("keyup"),u.attr("readonly",!1),$(t).unbind("keyup"),r.attr("readonly",!1),$(n).unbind("keyup"))})});$(window).on("resize",checkResponsive);$(window).load(function(){var n=[],t;$(".country-select dd li a em").each(function(t){n[t]=$(this).outerWidth()}),t=Math.max.apply(null,n)})