(function(d){d.browser.msie&&parseInt(d.browser.version)<9&&(d(document).ready(function(){d("body").addClass("wk-ie wk-ie"+parseInt(d.browser.version))}),d.each(["abbr","article","aside","audio","canvas","details","figcaption","figure","footer","header","hgroup","mark","meter","nav","output","progress","section","summary","time","video"],function(){document.createElement(this)}))})(jQuery);(function(d){function l(a,b,k,e){e={data:e||(b?b.data:{}),_wrap:b?b._wrap:null,tmpl:null,parent:b||null,nodes:[],calls:p,nest:A,wrap:B,html:C,update:D};a&&d.extend(e,a,{nodes:[],parent:b});if(k)e.tmpl=k,e._ctnt=e._ctnt||e.tmpl(d,e),e.key=++r,(u.length?s:m)[r]=e;return e}function j(a,b,k){var e,k=k?d.map(k,function(b){return typeof b==="string"?a.key?b.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+q+'="'+a.key+'" $2'):b:j(b,a,b._ctnt)}):a;if(b)return k;k=k.join("");k.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(a,b,k,i){e=d(k).get();v(e);b&&(e=c(b).concat(e));i&&(e=e.concat(c(i)))});return e?e:c(k)}function c(a){var b=document.createElement("div");b.innerHTML=a;return d.makeArray(b.childNodes)}function h(a){return new Function("jQuery","$item","var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('"+d.trim(a).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(b,a,e,f,g,c,i){b=d.tmpl.tag[e];if(!b)throw"Template command not found: "+e;e=b._default||[];c&&!/\w$/.test(g)&&(g+=c,c="");g?(g=n(g),i=i?","+n(i)+")":c?")":"",i=c?g.indexOf(".")>-1?g+c:"("+g+").call($item"+i:g,c=c?i:"(typeof("+g+")==='function'?("+g+").call($item):("+g+"))"):c=i=e.$1||"null";f=n(f);return"');"+b[a?"close":"open"].split("$notnull_1").join(g?"typeof("+g+")!=='undefined' && ("+g+")!=null":"true").split("$1a").join(c).split("$1").join(i).split("$2").join(f?f.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g,function(a,b,d,e){return(e=e?","+e+")":d?")":"")?"("+b+").call($item"+e:a}):e.$2||"")+"_.push('"})+"');}return _;")}function w(a,b){a._wrap=j(a,!0,d.isArray(b)?b:[x.test(b)?b:d(b).html()]).join("")}function n(a){return a?a.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function v(a){function b(a){function b(a){var E;a+=k;E=g[a]=g[a]||l(f,m[f.parent.key+k]||f.parent,null,!0),f=E}var e,c=a,f,i;if(i=a.getAttribute(q)){for(;c.parentNode&&(c=c.parentNode).nodeType===1&&!(e=c.getAttribute(q)););if(e!==i){c=c.parentNode?c.nodeType===11?0:c.getAttribute(q)||0:0;if(!(f=m[i]))f=s[i],f=l(f,m[c]||s[c],null,!0),f.key=++r,m[r]=f;o&&b(i)}a.removeAttribute(q)}else if(o&&(f=d.data(a,"tmplItem")))b(f.key),m[f.key]=f,c=(c=d.data(a.parentNode,"tmplItem"))?c.key:0;if(f){for(e=f;e&&e.key!=c;)e.nodes.push(a),e=e.parent;delete f._ctnt;delete f._wrap;d.data(a,"tmplItem",f)}}var k="_"+o,e,c,g={},h,i,j;h=0;for(i=a.length;h<i;h++)if((e=a[h]).nodeType===1){c=e.getElementsByTagName("*");for(j=c.length-1;j>=0;j--)b(c[j]);b(e)}}function p(a,b,d,e){if(!a)return u.pop();u.push({_:a,tmpl:b,item:this,data:d,options:e})}function A(a,b,c){return d.tmpl(d.template(a),b,c,this)}function B(a,b){var c=a.options||{};c.wrapped=b;return d.tmpl(d.template(a.tmpl),a.data,c,a.item)}function C(a,b){var c=this._wrap;return d.map(d(d.isArray(c)?c.join(""):c).filter(a||"*"),function(a){if(b)a=a.innerText||a.textContent;else{var d;if(!(d=a.outerHTML))d=document.createElement("div"),d.appendChild(a.cloneNode(!0)),d=d.innerHTML;a=d}return a})}
function D(){var a=this.nodes;d.tmpl(null,null,null,this).insertBefore(a[0]);d(a).remove()}var y=d.fn.domManip,q="_tmplitem",x=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,m={},s={},t,z={key:0,data:{}},r=0,o=0,u=[];d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],c=d(c),f,g,h;f=this.length===1&&this[0].parentNode;t=m||{};if(f&&f.nodeType===11&&f.childNodes.length===1&&c.length===1)c[b](this[0]),e=this;else{g=0;for(h=c.length;g<h;g++)o=g,f=(g>0?this.clone(!0):this).get(),d.fn[b].apply(d(c[g]),f),e=e.concat(f);o=0;e=this.pushStack(e,a,c.selector)}c=t;t=null;d.tmpl.complete(c);return e}});d.fn.extend({tmpl:function(a,b,c){return d.tmpl(this[0],a,b,c)},tmplItem:function(){return d.tmplItem(this[0])},template:function(a){return d.template(a,this[0])},domManip:function(a,b,c){if(a[0]&&a[0].nodeType){for(var e=d.makeArray(arguments),f=a.length,g=0,h;g<f&&!(h=d.data(a[g++],"tmplItem")););f>1&&(e[0]=[d.makeArray(a)]);h&&o&&(e[2]=function(a){d.tmpl.afterManip(this,a,c)});y.apply(this,e)}else y.apply(this,arguments);o=0;t||d.tmpl.complete(m);return this}});d.extend({tmpl:function(a,b,c,e){var f=!e;if(f)e=z,a=d.template[a]||d.template(null,a),s={};else if(!a)return a=e.tmpl,m[e.key]=e,e.nodes=[],e.wrapped&&w(e,e.wrapped),d(j(e,null,e.tmpl(d,e)));if(!a)return[];typeof b==="function"&&(b=b.call(e||{}));c&&c.wrapped&&w(c,c.wrapped);b=d.isArray(b)?d.map(b,function(b){return b?l(c,e,a,b):null}):[l(c,e,a,b)];return f?d(j(e,null,b)):b},tmplItem:function(a){var b;for(a instanceof d&&(a=a[0]);a&&a.nodeType===1&&!(b=d.data(a,"tmplItem"))&&(a=a.parentNode););return b||z},template:function(a,b){if(b)return typeof b==="string"?b=h(b):b instanceof d&&(b=b[0]||{}),b.nodeType&&(b=d.data(b,"tmpl")||d.data(b,"tmpl",h(b.innerHTML))),typeof a==="string"?d.template[a]=b:b;return a?typeof a!=="string"?d.template(null,a):d.template[a]||d.template(null,x.test(a)?a:d(a)):null},encode:function(a){return(""+a).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});d.extend(d.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){_=_.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(_,$1,$2);_=[];",close:"call=$item.calls();_=call._.concat($item.wrap(call,_));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){_.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){_.push($.encode($1a));}"},"!":{open:""}},complete:function(){m={}},afterManip:function(a,b,c){var e=b.nodeType===11?d.makeArray(b.childNodes):b.nodeType===1?[b]:[];c.call(a,b);v(e);o++}})})(jQuery);(function(d){function l(c){var h=c||window.event,j=[].slice.call(arguments,1),n=0,l=0,p=0,c=d.event.fix(h);c.type="mousewheel";c.wheelDelta&&(n=c.wheelDelta/120);c.detail&&(n=-c.detail/3);p=n;h.axis!==void 0&&h.axis===h.HORIZONTAL_AXIS&&(p=0,l=-1*n);h.wheelDeltaY!==void 0&&(p=h.wheelDeltaY/120);h.wheelDeltaX!==void 0&&(l=-1*h.wheelDeltaX/120);j.unshift(c,n,l,p);return d.event.handle.apply(this,j)}var j=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var c=j.length;c;)this.addEventListener(j[--c],l,!1);else this.onmousewheel=l},teardown:function(){if(this.removeEventListener)for(var c=j.length;c;)this.removeEventListener(j[--c],l,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(c){return c?this.bind("mousewheel",c):this.trigger("mousewheel")},unmousewheel:function(c){return this.unbind("mousewheel",c)}})})(jQuery);
(function(c){function n(a){a=a||{};a.transition&&(a[q+"transition"]=a.transition);a.transform&&(a[q+"transform"]=a.transform);return a}var l=document.createElement("div"),l=l.style,m={},s="-webkit- -moz- -o- -ms- -khtml-".split(" "),r="Webkit Moz O ms Khtml".split(" "),q="";m.transition=!1;for(var j=0;j<r.length;j++)if(l[r[j]+"Transition"]===""){m.transition=r[j]+"Transition";q=s[j];break}m.css3d=m.transition&&"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix&&!navigator.userAgent.match(/Chrome/i);l=null;c.widgetkit={};c.widgetkit.effects={defaults:{slices:20,duration:500,animated:"random",easing:"swing"},bindTransitionEnd:function(a){var f=this;c(a).one("webkitTransitionEnd transitionend oTransitionEnd msTransitionEnd",function(){f.fx=null;f.next.css({"z-index":"2",left:0,top:0}).show();f.current.hide();f.slicer.remove()})},show:function(){c.widgetkit.effects[this.animated]?(this.fx=!0,c.widgetkit.effects[this.animated].apply(this)):(this.current.hide(),this.next.show())},randomSimple:function(){var a=["top","bottom","left","right","fade","scrollLeft","scrollRight","scroll"];this.animated=a[Math.floor(Math.random()*a.length)];c.widgetkit.effects[this.animated].apply(this)},randomFx:function(){var a=["sliceUp","sliceDown","sliceUpDown","fold","puzzle","boxes","boxesRtl"];this.animated=a[Math.floor(Math.random()*a.length)];c.widgetkit.effects[this.animated].apply(this)},top:function(){var a=this;this.current.css({"z-index":1});this.next.css({"z-index":2,display:"block",left:0,top:this.wrapper.height()*(this.animated=="bottom"?2:-1)}).animate({top:0},{duration:a.duration,easing:a.easing,complete:function(){a.fx=null;a.current.hide()}})},bottom:function(){c.widgetkit.effects.top.apply(this)},left:function(){var a=this;this.current.css({"z-index":1});this.next.css({"z-index":2,display:"block",left:this.wrapper.width()*(this.animated=="right"?2:-1)}).animate({left:0},{duration:a.duration,easing:this.easing,complete:function(){a.fx=null;a.current.hide()}})},right:function(){c.widgetkit.effects.left.apply(this)},fade:function(){var a=this;this.next.css({top:0,left:0,"z-index":1}).fadeIn(a.duration);this.current.css({"z-index":2}).fadeOut(this.duration,function(){a.fx=null;a.current.hide().css({opacity:1})})},scrollLeft:function(){var a=this;this.current.css({"z-index":1});this.next.css({"z-index":2,display:"block",left:this.wrapper.width()*(this.animated=="scrollRight"?1:-1)}).animate({left:0},{duration:a.duration,easing:this.easing,complete:function(){a.fx=null;a.current.hide()},step:function(c,b){a.current.css("left",(Math.abs(b.start)-Math.abs(c))*(a.animated=="scrollRight"?-1:1))}})},scrollRight:function(){c.widgetkit.effects.scrollLeft.apply(this)},scroll:function(){var a=this;this.current.css({"z-index":1});this.next.css({"z-index":2,display:"block",left:this.wrapper.width()*(this.dir=="right"?1:-1)}).animate({left:0},{duration:a.duration,easing:this.easing,complete:function(){a.fx=null;a.current.hide()},step:function(c,b){a.current.css("left",(Math.abs(b.start)-Math.abs(c))*(a.dir=="right"?-1:1))}})},slice:function(){o(this);var a=this,f=this.next.find("img:first"),b=this.animated=="sliceUp"?"bottom":"top";if(f.length){for(var d=Math.round(this.slicer.width()/this.options.slices),e=0;e<this.options.slices;e++){var k=e==this.options.slices-1?this.slicer.width()-d*e:d;this.animated=="sliceUpDown"&&(b=(e%2+2)%2==0?"top":"bottom");this.slicer.append(c("<div />").css(b,0).css(n({position:"absolute",left:d*e+"px",width:k+"px",height:0,background:"url("+f.attr("src")+") no-repeat -"+(d+e*d-d)+"px "+b,opacity:0,transition:"all "+
a.duration+"ms ease-in "+e*60+"ms"})))}this.slices=this.slicer.children();c.widgetkit.effects.bindTransitionEnd.apply(this,[this.slices.get(this.slices.length-1)]);this.current.css({"z-index":1});this.slicer.show();var i=this.wrapper.height();if(m.transition)this.slices.css(n({height:i,opacity:1}));else{var h=0;this.slices.each(function(b){var d=c(this);setTimeout(function(){d.animate({height:i,opacity:1},a.duration,function(){b==a.slices.length-1&&c(this).trigger("transitionend")})},h);h+=60})}}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},sliceUp:function(){c.widgetkit.effects.slice.apply(this)},sliceDown:function(){c.widgetkit.effects.slice.apply(this)},sliceUpDown:function(){c.widgetkit.effects.slice.apply(this)},fold:function(){o(this);var a=this,f=this.next.find("img:first");if(f.length){for(var b=Math.round(this.slicer.width()/this.options.slices),d=0;d<this.options.slices;d++){var e=d==a.options.slices-1?a.slicer.width()-b*d:b;this.slicer.append(c("<div />").css(n({position:"absolute",left:b*d+"px",width:e,top:"0px",height:a.options.height,background:"url("+f.attr("src")+") no-repeat -"+(b+d*b-b)+"px 0%",opacity:0,transform:"scalex(0.0001)",transition:"all "+a.duration+"ms ease-in "+d*60+"ms"})))}this.slices=this.slicer.children();c.widgetkit.effects.bindTransitionEnd.apply(this,[this.slices.get(this.slices.length-1)]);this.current.css({"z-index":1});this.slicer.show();if(m.transition)this.slices.css(n({opacity:1,transform:"scalex(1)"}));else{var k=0;this.slices.width(0).each(function(d){var f=d==a.options.slices-1?a.slicer.width()-b*d:b,e=c(this);setTimeout(function(){e.animate({opacity:1,width:f},a.duration,function(){d==a.slices.length-1&&c(this).trigger("transitionend")})},k+100);k+=50})}}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},puzzle:function(){o(this);var a=this,f=Math.round(this.options.slices/2),b=Math.round(this.wrapper.width()/f),d=Math.round(this.wrapper.height()/b),e=Math.round(this.wrapper.height()/d),k=this.next.find("img:first");if(k.length){for(var i=this.wrapper.width(),h=0;h<d;h++)for(var g=0;g<f;g++){var t=c("<div />").css(n({position:"absolute",left:b*g+"px",width:g==f-1?i-b*g+"px":b+"px",top:e*h+"px",height:e+"px",background:"url("+k.attr("src")+") no-repeat -"+(b+g*b-b)+"px -"+(e+h*e-e)+"px",opacity:0,transition:"all "+a.duration+"ms ease-in 0ms"}));j+=1;this.slicer.append(t)}this.slices=u(this.slicer.children());c.widgetkit.effects.bindTransitionEnd.apply(this,[this.slices.get(this.slices.length-1)]);this.current.css({"z-index":1});this.slicer.show();this.slices.each(function(b){var d=c(this);setTimeout(function(){m.transition?d.css(n({opacity:1})):d.animate({opacity:1},a.duration,function(){b==a.slices.length-1&&c(this).trigger("transitionend")})},100+b*50)})}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},boxes:function(){o(this);var a=this,f=Math.round(this.options.slices/2),b=Math.round(this.wrapper.width()/f),d=Math.round(this.wrapper.height()/b),e=Math.round(this.wrapper.height()/d),k=0,i=this.next.find("img:first");if(i.length){for(var h=0;h<d;h++)for(var g=0;g<f;g++)this.slicer.append(c("<div />").css(n({position:"absolute",left:b*g+"px",width:0,top:e*h+"px",height:0,background:"url("+i.attr("src")+") no-repeat -"+(b+g*b-b)+"px -"+(e+h*e-e)+"px",opacity:0,transition:"all "+(100+a.duration)+"ms ease-in 0ms"})).data("base",{width:g==f-1?this.wrapper.width()-b*g:b,height:e}));this.slices=this.slicer.children();this.current.css({"z-index":1});this.slicer.show();var j=0,l=0,p=[];p[j]=[];b=this.animated=="boxesRtl"?this.slices._reverse():this.slices;c.widgetkit.effects.bindTransitionEnd.apply(this,[b.get(b.length-1)]);b.each(function(){p[j][l]=c(this);l++;l==f&&(j++,l=0,p[j]=[])});for(g=e=0;g<f*d;g++){i=g;for(h=0;h<d;h++)i>=0&&i<f&&(function(b,d,f,e){var g=p[b][d];setTimeout(function(){m.transition?g.css({opacity:"1",width:g.data("base").width,height:g.data("base").height}):g.animate({opacity:"1",width:g.data("base").width,height:g.data("base").height},a.duration,function(){e==a.slices.length-1&&c(this).trigger("transitionend")})},100+f)}(h,i,k,e,b.length),e++),i--;k+=100}}else this.next.css({"z-index":"2",left:0,top:0}).show(),this.current.hide(),this.fx=null},boxesRtl:function(){c.widgetkit.effects.boxes.apply(this)}};c.fn._reverse=[].reverse;var u=function(a){for(var c,b,d=a.length;d;c=parseInt(Math.random()*d),b=a[--d],a[d]=a[c],a[c]=b);return a},o=function(a){a.slicer=c("<li />").addClass("slices").css({top:"0px",left:"0px",position:"absolute",width:a.wrapper.width(),height:a.element.height(),"z-index":3}).hide().appendTo(a.element)}})(jQuery);
(function(b){var d=function(){};d.prototype=b.extend(d.prototype,{name:"slideshow",options:{index:0,width:"auto",height:"auto",autoplay:!0,interval:3E3,caption_animation_duration:500,tpl:'<div class="slideshow"><div class="element" /><div class="next"></div><div class="prev"></div>'},nav:null,captions:null,caption:null,initialize:function(a,e){var c=this,d=0,i=0;this.options=b.extend({},b.widgetkit.effects.defaults,this.options,e);this.element=a;this.wrapper=b.tmpl(this.options.tpl,b.extend({element:a},this.options)).insertAfter(a);b(".element",this.wrapper).replaceWith(a);a.children().each(function(){d=Math.max(d,b(this).height());i=Math.max(i,b(this).width())});if(this.options.height=="auto")this.options.height=d;if(this.options.width=="auto")this.options.width=i;this.wrapper.css({position:"relative",width:this.options.width});this.slides=b("ul.slides:first",this.wrapper).css({position:"relative",overflow:"hidden",height:this.options.height}).children().css({top:"0px",left:"0px",position:"absolute",width:this.wrapper.width(),height:this.options.height}).hide();this.button={};this.index=this.slides[this.options.index]?this.options.index:0;this.button.next=b("div.next:first",this.wrapper).bind("click",function(){c.stop();c.nextSlide()});this.button.prev=b("div.prev:first",this.wrapper).bind("click",function(){c.stop();c.prevSlide()});b(this.slides.get(this.index)).show();if(this.wrapper.find(".nav:first").length)this.nav=this.wrapper.find(".nav:first"),this.nav.children().each(function(a){b(this).bind("click",function(){c.stop();c.slides[a]&&c.show(a)})});if(this.wrapper.find(".captions:first").length&&this.wrapper.find(".caption:first").length)this.captions=this.wrapper.find(".captions:first").hide().children(),this.caption=this.wrapper.find(".caption:first").hide();this.nav&&b(this.nav.children().get(this.index)).addClass("active");this.showCaption(this.index);this.timer=null;this.hover=!1;this.wrapper.hover(function(){c.hover=!0},function(){c.hover=!1});this.options.autoplay&&this.start();"ontouchend"in
document&&(a.bind("touchstart",function(c){function d(a){if(f){var b=a.originalEvent.touches?a.originalEvent.touches[0]:a;g={time:(new Date).getTime(),coords:[b.pageX,b.pageY]};Math.abs(f.coords[0]-g.coords[0])>10&&a.preventDefault()}}var e=c.originalEvent.touches?c.originalEvent.touches[0]:c,f={time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:b(c.target)},g;a.bind("touchmove",d).one("touchend",function(){a.unbind("touchmove",d);f&&g&&g.time-f.time<1E3&&Math.abs(f.coords[0]-g.coords[0])>30&&Math.abs(f.coords[1]-g.coords[1])<75&&f.origin.trigger("swipe").trigger(f.coords[0]>g.coords[0]?"swipeleft":"swiperight");f=g=void 0})}),this.wrapper.bind("swipeleft",function(){c.stop();c.nextSlide()}).bind("swiperight",function(){c.stop();c.prevSlide()}))},nextSlide:function(){this.show(this.slides[this.index+1]?this.index+1:0)},prevSlide:function(){this.show(this.index-1>-1?this.index-1:this.slides.length-1)},show:function(a){if(!(this.index==a||this.fx))this.current=b(this.slides.get(this.index)),this.next=b(this.slides.get(a)),this.animated=this.options.animated,this.duration=this.options.duration,this.easing=this.options.easing,this.dir=a>this.index?"right":"left",this.nav&&b(this.nav.children().removeClass("active").get(a)).addClass("active"),this.showCaption(a),this.index=a,b.widgetkit.effects.show.apply(this)},showCaption:function(a){if(this.caption&&this.captions[a]){var d=b(this.captions.get(a)).html();b.trim(d)==""?this.caption.is(":visible")&&this.caption.fadeOut(this.options.caption_animation_duration):this.caption.is(":visible")?this.caption.fadeOut(this.options.caption_animation_duration,function(){b(this).html(d)}).delay(200).fadeIn(this.options.caption_animation_duration):this.caption.html(d).fadeIn(this.options.caption_animation_duration)}},start:function(){if(!this.timer){var a=this;this.timer=setInterval(function(){a.hover||a.nextSlide()},this.options.interval)}},stop:function(){this.timer&&clearInterval(this.timer)}});b.fn[d.prototype.name]=function(){var a=arguments,e=a[0]?a[0]:null;return this.each(function(){var c=b(this);if(d.prototype[e]&&c.data(d.prototype.name)&&e!="initialize")c.data(d.prototype.name)[e].apply(c.data(d.prototype.name),Array.prototype.slice.call(a,1));else if(!e||b.isPlainObject(e)){var h=new d;d.prototype.initialize&&h.initialize.apply(h,b.merge([c],a));c.data(d.prototype.name,h)}else b.error("Method "+e+" does not exist on jQuery."+d.name)})}})(jQuery);
jQuery(function(b){var f=function(b){var a=new Date(Date.parse(b.replace(/(\d+)-(\d+)-(\d+)T(.+)([-\+]\d+):(\d+)/g,"$1/$2/$3 $4 UTC$5$6"))),a=parseInt(((arguments.length>1?arguments[1]:new Date).getTime()-a)/1E3);return a<60?"less than a minute ago":a<120?"about a minute ago":a<2700?parseInt(a/60).toString()+" minutes ago":a<5400?"about an hour ago":a<86400?"about "+parseInt(a/3600).toString()+" hours ago":a<172800?"1 day ago":parseInt(a/86400).toString()+" days ago"};b(".wk-twitter time").each(function(){b(this).html(f(b(this).attr("datetime")))});var d=b(".wk-twitter-bubbles");if(d.length){var e=function(){d.each(function(){var c=0;b(this).find("p.content").each(function(){var a=b(this).height();a>c&&(c=a)}).css("min-height",c)})};e();b(window).bind("load",e)}});
