(function(b){b.extend(b.expr[":"],{icontains:function(d,h,a){return(d.textContent||d.innerText||jQuery(d).text()||"").toLowerCase().indexOf(a[3].toLowerCase())>=0}});b.iterators={getText:function(){return b(this).text()},parseInt:function(d){return parseInt(d,10)}};b.extend({range:function(){if(!arguments.length)return[];var d,h,a;if(arguments.length==1){d=0;h=arguments[0]-1;a=1}else{d=arguments[0];h=arguments[1]-1;a=arguments[2]||1}if(a<0&&d>=h){a*=-1;var c=d;d=h;h=c;d+=(h-d)%a}c=[];for(d=d;d<=h;d+=
a)c.push(d);return c},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38},keyIs:function(d,h){return parseInt(b.keyCode[d.toUpperCase()],10)==parseInt(typeof h=="number"?h:h.keyCode,10)},keys:function(d){var h=[];for(k in d)h.push(k);return h},
redirect:function(d){return window.location.href=d},stop:function(d,h,a){h&&d.preventDefault();a&&d.stopPropagation();return h&&false||true},basename:function(d){d=d.split("/");return d[d.length]===""&&s||d.slice(0,d.length).join("/")},filename:function(d){return d.split("/").pop()},filesizeformat:function(d,h){var a=parseInt(d,10),c=h||["byte","bytes","KB","MB","GB"];if(isNaN(a)||a===0)return"0 "+c[0];if(a==1)return"1 "+c[0];if(a<1024)return a.toFixed(2)+" "+c[1];if(a<1048576)return(a/1024).toFixed(2)+
" "+c[2];return a<1073741824?(a/1048576).toFixed(2)+" "+c[3]:(a/1073741824).toFixed(2)+" "+c[4]},fileExtension:function(d){d=d.split(".");return d[d.length-1]||false},isString:function(d){return typeof d=="string"&&true||false},isRegExp:function(d){return d&&d.constructor.toString().indexOf("RegExp()")!=-1||false},isObject:function(d){return typeof d=="object"},toCurrency:function(d){d=parseFloat(d,10).toFixed(2);return d=="NaN"?"0.00":d},pxToEm:function(d,h){h=jQuery.extend({scope:"body",reverse:false},
h);var a=d===""?0:parseFloat(d),c;c=function(){var f=document.documentElement;return self.innerWidth||f&&f.clientWidth||document.body.clientWidth};c=h.scope=="body"&&b.browser.msie&&(parseFloat(b("body").css("font-size"))/c()).toFixed(1)>0?(parseFloat(b("body").css("font-size"))/c()).toFixed(3)*16:parseFloat(jQuery(h.scope).css("font-size"));return h.reverse===true?(a*c).toFixed(2)+"px":(a/c).toFixed(2)+"em"}});b.extend(b.fn,{type:function(){try{return b(this).get(0).nodeName.toLowerCase()}catch(d){return false}},
selectRange:function(d,h){if(b(this).get(0).createTextRange){var a=b(this).get(0).createTextRange();a.collapse(true);a.moveEnd("character",h);a.moveStart("character",d);a.select()}else b(this).get(0).setSelectionRange&&b(this).bind("focus",function(c){c.preventDefault()}).get(0).setSelectionRange(d,h);return b(this)},equalHeights:function(d){b(this).each(function(){var h=0;b(this).children().each(function(){if(b(this).height()>h)h=b(this).height()});if(!d||!b.pxToEm)h=b.pxToEm(h);b.browser.msie&&
b.browser.version==6&&b(this).children().css({height:h});b(this).children().css({"min-height":h})});return this},delay:function(d,h){jQuery.fx.step.delay=function(){};return this.animate({delay:1},d,h)}})})(jQuery);
(function(b){var d={strConversion:{__repr:function(a){switch(this.__getType(a)){case "array":case "date":case "number":return a.toString();case "object":var c=[];for(x=0;x<a.length;a++)c.push(a+": "+this.__repr(a[x]));return c.join(", ");case "string":return a;default:return a}},__getType:function(a){if(!a||!a.constructor)return typeof a;var c=a.constructor.toString().match(/Array|Number|String|Object|Date/);return c&&c[0].toLowerCase()||typeof a},__pad:function(a,c,f,i){f=f||" ";var m=a;if(c-a.length>
0)m=Array(Math.ceil(c/f.length)).join(f).substr(0,i=!i?c:i==1?0:Math.ceil(c/2))+a+f.substr(0,c-i);return m},__getInput:function(a,c){var f=a.getKey();switch(this.__getType(c)){case "object":for(var i=f.split("."),m=c,g=0;g<i.length;g++)m=m[i[g]];if(typeof m!="undefined"){if(d.strConversion.__getType(m)=="array")return a.getFormat().match(/\.\*/)&&m[1]||m;return m}break;case "array":f=parseInt(f,10);return a.getFormat().match(/\.\*/)&&typeof c[f+1]!="undefined"?c[f+1]:typeof c[f]!="undefined"?c[f]:
f}return"{"+f+"}"},__formatToken:function(a,c){var f=new h(a,c);return d.strConversion[f.getFormat().slice(-1)](this.__getInput(f,c),f)},d:function(a,c){var f=parseInt(a,10),i=c.getPaddingLength();return i?this.__pad(f.toString(),i,c.getPaddingString(),0):f},i:function(a,c){return this.d(a,c)},o:function(a,c){var f=a.toString(8);if(c.isAlternate())f=this.__pad(f,f.length+1,"0",0);return this.__pad(f,c.getPaddingLength(),c.getPaddingString(),0)},u:function(a,c){return Math.abs(this.d(a,c))},x:function(a,
c){var f=parseInt(a,10).toString(16);f=this.__pad(f,c.getPaddingLength(),c.getPaddingString(),0);return c.isAlternate()?"0x"+f:f},X:function(a,c){return this.x(a,c).toUpperCase()},e:function(a,c){return parseFloat(a,10).toExponential(c.getPrecision())},E:function(a,c){return this.e(a,c).toUpperCase()},f:function(a,c){return this.__pad(parseFloat(a,10).toFixed(c.getPrecision()),c.getPaddingLength(),c.getPaddingString(),0)},F:function(a,c){return this.f(a,c)},g:function(a,c){var f=parseFloat(a,10);
return f.toString().length>6?Math.round(f.toExponential(c.getPrecision())):f},G:function(a,c){return this.g(a,c)},c:function(a){return(a=a.match(/\w|\d/))&&a[0]||""},r:function(a){return this.__repr(a)},s:function(a){return a.toString&&a.toString()||""+a}},format:function(a,c){var f=0,i=0,m=[],g="",j=(a||"").split("");for(i=0;i<j.length;i++)if(j[i]=="{"&&j[i+1]!="{"){f=a.indexOf("}",i);g=j.slice(i+1,f).join("");if(j[i-1]!="{"&&j[f+1]!="}"){var o;if(typeof arguments[1]!="object"){o=arguments;var n=
[];l=o.length;for(x=1;x<l;x++)n.push(o[x]);o=n}else o=c||[];m.push(d.strConversion.__formatToken(g,o))}else m.push(g)}else if(i>f||m.length<1)m.push(j[i]);return m.length>1?m.join(""):m[0]},calc:function(a,c){return eval(format(a,c))},repeat:function(a,c){return Array(c+1).join(a)},UTF8encode:function(a){return unescape(encodeURIComponent(a))},UTF8decode:function(a){return decodeURIComponent(escape(a))},tpl:function(){if(arguments.length==2&&b.isArray(arguments[1])){this[arguments[0]]=arguments[1].join("");
return b(this[arguments[0]])}if(arguments.length==2&&b.isString(arguments[1])){this[arguments[0]]=arguments[1];return b(this[arguments[0]])}if(arguments.length==1)return b(this[arguments[0]]);if(arguments.length==2&&arguments[1]==false)return this[arguments[0]];if(arguments.length==2&&b.isObject(arguments[1]))return b(b.format(this[arguments[0]],arguments[1]));if(arguments.length==3&&b.isObject(arguments[1]))return arguments[2]==true?b.format(this[arguments[0]],arguments[1]):b(b.format(this[arguments[0]],
arguments[1]))}},h=function(a,c){this.__arg=a;this.__args=c;this.__max_precision=parseFloat("1."+Array(32).join("1"),10).toString().length-3;this.__def_precision=6;this.getString=function(){return this.__arg};this.getKey=function(){return this.__arg.split(":")[0]};this.getFormat=function(){var f=this.getString().split(":");return f&&f[1]?f[1]:"s"};this.getPrecision=function(){var f=this.getFormat().match(/\.(\d+|\*)/g);if(f){f=f[0].slice(1);return f!="*"?parseInt(f,10):d.strConversion.__getType(this.__args)==
"array"?this.__args[1]&&this.__args[0]||this.__def_precision:d.strConversion.__getType(this.__args)=="object"?this.__args[this.getKey()]&&this.__args[this.getKey()][0]||this.__def_precision:this.__def_precision}else return this.__def_precision};this.getPaddingLength=function(){var f=false;if(this.isAlternate())if((f=this.getString().match(/0?#0?(\d+)/))&&f[1])return parseInt(f[1],10);return(f=this.getString().match(/(0|\.)(\d+|\*)/g))&&parseInt(f[0].slice(1),10)||0};this.getPaddingString=function(){var f=
"";if(this.isAlternate())f=" ";if(this.getFormat().match(/#0|0#|^0|\.\d+/))f="0";return f};this.getFlags=function(){var f=this.getString().matc(/^(0|\#|\-|\+|\s)+/);return f&&f[0].split("")||[]};this.isAlternate=function(){return!!this.getFormat().match(/^0?#/)}};b.extend(d)})(jQuery);
(function(b){var d=window.location.hash,h=[];b.extend({anchorHandler:{apply:function(){b.map(h,function(a){var c=d.match(a.r)&&d.match(a.r)[0]||false;if(c)a.cb.apply(b("a[href*="+c+"]").get(0),[a.r,d||""])});return b.anchorHandler},add:function(a,c,f){var i=b.extend({handleClick:true,preserveHash:true},f);i.handleClick&&b("a[href*=#]").each(function(m,g){g.href.match(a)&&b(g).bind("click.anchorHandler",function(){if(i.preserveHash)window.location.hash=g.hash;return c.apply(this,[a,g.href])})});h.push({r:a,
cb:c});b(b.anchorHandler.apply);return b.anchorHandler}}})})(jQuery);
jQuery.cookie=function(b,d,h){if(typeof d!="undefined"){h=h||{};if(d===null){d="";h.expires=-1}var a="";if(h.expires&&(typeof h.expires=="number"||h.expires.toUTCString)){if(typeof h.expires=="number"){a=new Date;a.setTime(a.getTime()+h.expires*24*60*60*1E3)}else a=h.expires;a="; expires="+a.toUTCString()}var c=h.path?"; path="+h.path:"",f=h.domain?"; domain="+h.domain:"";h=h.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(d),a,c,f,h].join("")}else{d=null;if(document.cookie&&document.cookie!=
""){h=document.cookie.split(";");for(a=0;a<h.length;a++){c=jQuery.trim(h[a]);if(c.substring(0,b.length+1)==b+"="){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}};
(function(b){function d(h,a){a=b.extend({date:new Date,modifiers:[],interval:1E3,msgFormat:"%d [day|days] %hh %mm %ss",msgNow:"Now !"},a);var c={y:RegExp("\\%y(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),M:RegExp("\\%M(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),w:RegExp("\\%w(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),d:RegExp("\\%d(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),h:RegExp("\\%h(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),m:RegExp("\\%m(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),s:RegExp("\\%s(.+?)\\[(\\w+)\\|(\\w+)\\]","g")},f=function(j,o,n){return!c[o]?
"":j.match(/\[|\]/g)&&(j.replace(c[o],n+"$1"+(parseInt(n,10)<2?"$2":"$3"))||"")||j.replace("%"+o,n)},i=function(j,o){var n=j;n=f(n,"y",o.years);n=f(n,"M",o.months);n=f(n,"w",o.weeks);n=f(n,"d",o.days);n=f(n,"h",o.hours);n=f(n,"m",o.minutes);return n=f(n,"s",o.seconds)},m=function(){var j;var o=g.date,n=void 0;n=n||new Date;if(n>=o)j=true;else{j={};o=Math.floor((o.getTime()-n.getTime())/1E3);j.days=Math.floor(o/86400);o%=86400;j.hours=Math.floor(o/3600);o%=3600;j.minutes=Math.floor(o/60);o%=60;j.seconds=
o;j.years=Math.floor(j.days/365);j.months=Math.floor(j.days/30);j.weeks=Math.floor(j.days/7);j=j}if(j===true){g.stop();clearInterval(g.id);b(g.el).html(a.msgNow);return true}else b(g.el).text(i(a.msgFormat,j))},g={id:setInterval(m,a.interval),el:h,start:function(){return new d(b(this.el),a)},stop:function(){return clearInterval(this.id)},date:function(j,o){if(j.length===0)return o;for(var n=/^([+-]\d+)([yMdhms])$/,e={s:1E3,m:6E4,h:36E5,d:864E5,M:2592E6,y:31536E6},q=0,r=0,w=j.length;r<w;++r){var z=
j[r].match(n);if(z!==null)q+=parseInt(z[1],10)*e[z[2]]}return new Date(o.getTime()+q)}(a.modifiers,a.date)};b(h).data("countdown",g);m();return b(h).data("countdown")}b.fn.countdown=function(h){if(this.get(0))return new d(this.get(0),h)}})(jQuery);
(function(b){function d(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments,""))}function h(m,g,j,o){if(!g.busy){var n=g.container,e=m[g.currSlide],q=m[g.nextSlide];if(!(n.cycleTimeout===0&&!j))if(!j&&!n.cyclePause&&(g.autostop&&--g.countdown<=0||g.nowrap&&!g.random&&g.nextSlide<g.currSlide))g.end&&g.end(g);else{if(j||!n.cyclePause){g.before.length&&b.each(g.before,function(r,w){w.apply(q,[e,q,g,o])});j=function(){b.browser.msie&&g.cleartype&&this.style.removeAttribute("filter");
b.each(g.after,function(r,w){w.apply(q,[e,q,g,o])})};if(g.nextSlide!=g.currSlide){g.busy=1;if(g.fxFn)g.fxFn(e,q,g,j,o);else b.isFunction(b.fn.cycle[g.fx])?b.fn.cycle[g.fx](e,q,g,j):b.fn.cycle.custom(e,q,g,j)}if(g.random){g.currSlide=g.nextSlide;if(++g.randomIndex==m.length)g.randomIndex=0;g.nextSlide=g.randomMap[g.randomIndex]}else{j=g.nextSlide+1==m.length;g.nextSlide=j?0:g.nextSlide+1;g.currSlide=j?m.length-1:g.nextSlide-1}g.pager&&b.fn.cycle.updateActivePagerLink(g.pager,g.currSlide)}if(g.timeout&&
!g.continuous)n.cycleTimeout=setTimeout(function(){h(m,g,0,!g.rev)},g.timeout);else if(g.continuous&&n.cyclePause)n.cycleTimeout=setTimeout(function(){h(m,g,0,!g.rev)},10)}}}function a(m,g,j){var o=g.container,n=o.cycleTimeout;if(n){clearTimeout(n);o.cycleTimeout=0}if(g.random&&j<0){g.randomIndex--;if(--g.randomIndex==-2)g.randomIndex=m.length-2;else if(g.randomIndex==-1)g.randomIndex=m.length-1;g.nextSlide=g.randomMap[g.randomIndex]}else if(g.random){if(++g.randomIndex==m.length)g.randomIndex=0;
g.nextSlide=g.randomMap[g.randomIndex]}else{g.nextSlide=g.currSlide+j;if(g.nextSlide<0){if(g.nowrap)return false;g.nextSlide=m.length-1}else if(g.nextSlide>=m.length){if(g.nowrap)return false;g.nextSlide=0}}d("nextSlide: "+g.nextSlide+"; randomIndex: "+g.randomIndex);g.prevNextClick&&typeof g.prevNextClick=="function"&&g.prevNextClick(j>0,g.nextSlide,m[g.nextSlide]);h(m,g,1,j>=0);return false}function c(m,g){var j=b(g.pager);b.each(m,function(o,n){b.fn.cycle.createPagerAnchor(o,n,j,m,g)});b.fn.cycle.updateActivePagerLink(g.pager,
g.startingSlide)}function f(m){function g(o){o=parseInt(o).toString(16);return o.length<2?"0"+o:o}function j(o){for(;o&&o.nodeName.toLowerCase()!="html";o=o.parentNode){var n=b.css(o,"background-color");if(n.indexOf("rgb")>=0){o=n.match(/\d+/g);return"#"+g(o[0])+g(o[1])+g(o[2])}if(n&&n!="transparent")return n}return"#ffffff"}m.each(function(){b(this).css("background-color",j(this))})}var i=b.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);b.fn.cycle=function(m){return this.each(function(){if(m===
undefined||m===null)m={};if(m.constructor==String)switch(m){case "stop":this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=0;b(this).data("cycle.opts","");return;case "pause":this.cyclePause=1;return;case "resume":this.cyclePause=0;return;default:m={fx:m}}else if(m.constructor==Number){var g=m;m=b(this).data("cycle.opts");if(!m){d("options not found, can not advance slide");return}if(g<0||g>=m.elements.length){d("invalid slide index: "+g);return}m.nextSlide=g;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);
this.cycleTimeout=0}h(m.elements,m,1,1);return}this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cyclePause=this.cycleTimeout=0;var j=b(this),o=m.slideExpr?b(m.slideExpr,this):j.children(),n=o.get();if(n.length<2)d("terminating; too few slides: "+n.length);else{var e=b.extend({},b.fn.cycle.defaults,m||{},b.metadata?j.metadata():b.meta?j.data():{});if(e.autostop)e.countdown=e.autostopCount||n.length;j.data("cycle.opts",e);e.container=this;e.elements=n;e.before=e.before?[e.before]:[];e.after=
e.after?[e.after]:[];e.after.unshift(function(){e.busy=0});e.continuous&&e.after.push(function(){h(n,e,0,!e.rev)});i&&e.cleartype&&!e.cleartypeNoBg&&f(o);g=this.className;e.width=parseInt((g.match(/w:(\d+)/)||[])[1])||e.width;e.height=parseInt((g.match(/h:(\d+)/)||[])[1])||e.height;e.timeout=parseInt((g.match(/t:(\d+)/)||[])[1])||e.timeout;j.css("position")=="static"&&j.css("position","relative");e.width&&j.width(e.width);e.height&&e.height!="auto"&&j.height(e.height);if(e.random){e.randomMap=[];
for(g=0;g<n.length;g++)e.randomMap.push(g);e.randomMap.sort(function(){return Math.random()-0.5});e.randomIndex=0;e.startingSlide=e.randomMap[0]}else if(e.startingSlide>=n.length)e.startingSlide=0;var q=e.startingSlide||0;o.css({position:"absolute",top:0,left:0}).hide().each(function(r){r=q?r>=q?n.length-(r-q):q-r:n.length-r;b(this).css("z-index",r)});b(n[q]).css("opacity",1).show();b.browser.msie&&n[q].style.removeAttribute("filter");e.fit&&e.width&&o.width(e.width);e.fit&&e.height&&e.height!="auto"&&
o.height(e.height);e.pause&&j.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});g=b.fn.cycle.transitions[e.fx];if(b.isFunction(g))g(j,o,e);else e.fx!="custom"&&d("unknown transition: "+e.fx);o.each(function(){var r=b(this);this.cycleH=e.fit&&e.height?e.height:r.height();this.cycleW=e.fit&&e.width?e.width:r.width()});e.cssBefore=e.cssBefore||{};e.animIn=e.animIn||{};e.animOut=e.animOut||{};o.not(":eq("+q+")").css(e.cssBefore);e.cssFirst&&b(o[q]).css(e.cssFirst);if(e.timeout){if(e.speed.constructor==
String)e.speed={slow:600,fast:200}[e.speed]||400;for(e.sync||(e.speed/=2);e.timeout-e.speed<250;)e.timeout+=e.speed}if(e.easing)e.easeIn=e.easeOut=e.easing;if(!e.speedIn)e.speedIn=e.speed;if(!e.speedOut)e.speedOut=e.speed;e.slideCount=n.length;e.currSlide=q;if(e.random){e.nextSlide=e.currSlide;if(++e.randomIndex==n.length)e.randomIndex=0;e.nextSlide=e.randomMap[e.randomIndex]}else e.nextSlide=e.startingSlide>=n.length-1?0:e.startingSlide+1;g=o[q];e.before.length&&e.before[0].apply(g,[g,g,e,true]);
e.after.length>1&&e.after[1].apply(g,[g,g,e,true]);if(e.click&&!e.next)e.next=e.click;e.next&&b(e.next).bind("click",function(){return a(n,e,e.rev?-1:1)});e.prev&&b(e.prev).bind("click",function(){return a(n,e,e.rev?1:-1)});e.pager&&c(n,e);e.addSlide=function(r){r=b(r);var w=r[0];e.autostopCount||e.countdown++;n.push(w);e.els&&e.els.push(w);e.slideCount=n.length;r.css("position","absolute").appendTo(j);i&&e.cleartype&&!e.cleartypeNoBg&&f(r);e.fit&&e.width&&r.width(e.width);e.fit&&e.height&&e.height!=
"auto"&&o.height(e.height);w.cycleH=e.fit&&e.height?e.height:r.height();w.cycleW=e.fit&&e.width?e.width:r.width();r.css(e.cssBefore);e.pager&&b.fn.cycle.createPagerAnchor(n.length-1,w,b(e.pager),n,e);typeof e.onAddSlide=="function"&&e.onAddSlide(r)};if(e.timeout||e.continuous)this.cycleTimeout=setTimeout(function(){h(n,e,0,!e.rev)},e.continuous?10:e.timeout+(e.delay||0))}})};b.fn.cycle.updateActivePagerLink=function(m,g){b(m).find("a").removeClass("activeSlide").filter("a:eq("+g+")").addClass("activeSlide")};
b.fn.cycle.createPagerAnchor=function(m,g,j,o,n){g=typeof n.pagerAnchorBuilder=="function"?b(n.pagerAnchorBuilder(m,g)):b('<a href="#">'+(m+1)+"</a>");g.parents("body").length==0&&g.appendTo(j);g.bind(n.pagerEvent,function(){n.nextSlide=m;var e=n.container,q=e.cycleTimeout;if(q){clearTimeout(q);e.cycleTimeout=0}typeof n.pagerClick=="function"&&n.pagerClick(n.nextSlide,o[n.nextSlide]);h(o,n,1,n.currSlide<m);return false})};b.fn.cycle.custom=function(m,g,j,o){var n=b(m),e=b(g);e.css(j.cssBefore);var q=
function(){e.animate(j.animIn,j.speedIn,j.easeIn,o)};n.animate(j.animOut,j.speedOut,j.easeOut,function(){j.cssAfter&&n.css(j.cssAfter);j.sync||q()});j.sync&&q()};b.fn.cycle.transitions={fade:function(m,g,j){g.not(":eq("+j.startingSlide+")").css("opacity",0);j.before.push(function(){b(this).show()});j.animIn={opacity:1};j.animOut={opacity:0};j.cssBefore={opacity:0};j.cssAfter={display:"none"}}};b.fn.cycle.ver=function(){return"2.24"};b.fn.cycle.defaults={fx:"fade",timeout:4E3,continuous:0,speed:1E3,
speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,pause:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:0,nowrap:0}})(jQuery);
(function(b){b.fn.cycle.transitions.scrollUp=function(d,h,a){d.css("overflow","hidden");a.before.push(function(c,f,i){b(this).show();i.cssBefore.top=f.offsetHeight;i.animOut.top=0-c.offsetHeight});a.cssFirst={top:0};a.animIn={top:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.scrollDown=function(d,h,a){d.css("overflow","hidden");a.before.push(function(c,f,i){b(this).show();i.cssBefore.top=0-f.offsetHeight;i.animOut.top=c.offsetHeight});a.cssFirst={top:0};a.animIn={top:0};a.cssAfter={display:"none"}};
b.fn.cycle.transitions.scrollLeft=function(d,h,a){d.css("overflow","hidden");a.before.push(function(c,f,i){b(this).show();i.cssBefore.left=f.offsetWidth;i.animOut.left=0-c.offsetWidth});a.cssFirst={left:0};a.animIn={left:0}};b.fn.cycle.transitions.scrollRight=function(d,h,a){d.css("overflow","hidden");a.before.push(function(c,f,i){b(this).show();i.cssBefore.left=0-f.offsetWidth;i.animOut.left=c.offsetWidth});a.cssFirst={left:0};a.animIn={left:0}};b.fn.cycle.transitions.scrollHorz=function(d,h,a){d.css("overflow",
"hidden").width();a.before.push(function(c,f,i,m){b(this).show();var g=c.offsetWidth;f=f.offsetWidth;i.cssBefore=m?{left:f}:{left:-f};i.animIn.left=0;i.animOut.left=m?-g:g;h.not(c).css(i.cssBefore)});a.cssFirst={left:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.scrollVert=function(d,h,a){d.css("overflow","hidden");a.before.push(function(c,f,i,m){b(this).show();var g=c.offsetHeight;f=f.offsetHeight;i.cssBefore=m?{top:-f}:{top:f};i.animIn.top=0;i.animOut.top=m?g:-g;h.not(c).css(i.cssBefore)});
a.cssFirst={top:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.slideX=function(d,h,a){a.before.push(function(c){b(c).css("zIndex",1)});a.onAddSlide=function(c){c.hide()};a.cssBefore={zIndex:2};a.animIn={width:"show"};a.animOut={width:"hide"}};b.fn.cycle.transitions.slideY=function(d,h,a){a.before.push(function(c){b(c).css("zIndex",1)});a.onAddSlide=function(c){c.hide()};a.cssBefore={zIndex:2};a.animIn={height:"show"};a.animOut={height:"hide"}};b.fn.cycle.transitions.shuffle=function(d,h,a){d=
d.css("overflow","visible").width();h.css({left:0,top:0});a.before.push(function(){b(this).show()});a.speed/=2;a.random=0;a.shuffle=a.shuffle||{left:-d,top:15};a.els=[];for(d=0;d<h.length;d++)a.els.push(h[d]);for(d=0;d<a.startingSlide;d++)a.els.push(a.els.shift());a.fxFn=function(c,f,i,m,g){var j=g?b(c):b(f);j.animate(i.shuffle,i.speedIn,i.easeIn,function(){g?i.els.push(i.els.shift()):i.els.unshift(i.els.pop());if(g)for(var o=0,n=i.els.length;o<n;o++)b(i.els[o]).css("z-index",n-o);else{o=b(c).css("z-index");
j.css("z-index",parseInt(o)+1)}j.animate({left:0,top:0},i.speedOut,i.easeOut,function(){b(g?this:c).hide();m&&m()})})};a.onAddSlide=function(c){c.hide()}};b.fn.cycle.transitions.turnUp=function(d,h,a){a.before.push(function(c,f,i){b(this).show();i.cssBefore.top=f.cycleH;i.animIn.height=f.cycleH});a.onAddSlide=function(c){c.hide()};a.cssFirst={top:0};a.cssBefore={height:0};a.animIn={top:0};a.animOut={height:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.turnDown=function(d,h,a){a.before.push(function(c,
f,i){b(this).show();i.animIn.height=f.cycleH;i.animOut.top=c.cycleH});a.onAddSlide=function(c){c.hide()};a.cssFirst={top:0};a.cssBefore={top:0,height:0};a.animOut={height:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.turnLeft=function(d,h,a){a.before.push(function(c,f,i){b(this).show();i.cssBefore.left=f.cycleW;i.animIn.width=f.cycleW});a.onAddSlide=function(c){c.hide()};a.cssBefore={width:0};a.animIn={left:0};a.animOut={width:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.turnRight=
function(d,h,a){a.before.push(function(c,f,i){b(this).show();i.animIn.width=f.cycleW;i.animOut.left=c.cycleW});a.onAddSlide=function(c){c.hide()};a.cssBefore={left:0,width:0};a.animIn={left:0};a.animOut={width:0};a.cssAfter={display:"none"}};b.fn.cycle.transitions.zoom=function(d,h,a){a.cssFirst={top:0,left:0};a.cssAfter={display:"none"};a.before.push(function(c,f,i){b(this).show();i.cssBefore={width:0,height:0,top:f.cycleH/2,left:f.cycleW/2};i.cssAfter={display:"none"};i.animIn={top:0,left:0,width:f.cycleW,
height:f.cycleH};i.animOut={width:0,height:0,top:c.cycleH/2,left:c.cycleW/2};b(c).css("zIndex",2);b(f).css("zIndex",1)});a.onAddSlide=function(c){c.hide()}};b.fn.cycle.transitions.fadeZoom=function(d,h,a){a.before.push(function(c,f,i){i.cssBefore={width:0,height:0,opacity:1,left:f.cycleW/2,top:f.cycleH/2,zIndex:1};i.animIn={top:0,left:0,width:f.cycleW,height:f.cycleH}});a.animOut={opacity:0};a.cssAfter={zIndex:0}};b.fn.cycle.transitions.blindX=function(d,h,a){d=d.css("overflow","hidden").width();
h.show();a.before.push(function(c){b(c).css("zIndex",1)});a.cssBefore={left:d,zIndex:2};a.cssAfter={zIndex:1};a.animIn={left:0};a.animOut={left:d}};b.fn.cycle.transitions.blindY=function(d,h,a){d=d.css("overflow","hidden").height();h.show();a.before.push(function(c){b(c).css("zIndex",1)});a.cssBefore={top:d,zIndex:2};a.cssAfter={zIndex:1};a.animIn={top:0};a.animOut={top:d}};b.fn.cycle.transitions.blindZ=function(d,h,a){var c=d.css("overflow","hidden").height();d=d.width();h.show();a.before.push(function(f){b(f).css("zIndex",
1)});a.cssBefore={top:c,left:d,zIndex:2};a.cssAfter={zIndex:1};a.animIn={top:0,left:0};a.animOut={top:c,left:d}};b.fn.cycle.transitions.growX=function(d,h,a){a.before.push(function(c,f,i){i.cssBefore={left:this.cycleW/2,width:0,zIndex:2};i.animIn={left:0,width:this.cycleW};i.animOut={left:0};b(c).css("zIndex",1)});a.onAddSlide=function(c){c.hide().css("zIndex",1)}};b.fn.cycle.transitions.growY=function(d,h,a){a.before.push(function(c,f,i){i.cssBefore={top:this.cycleH/2,height:0,zIndex:2};i.animIn=
{top:0,height:this.cycleH};i.animOut={top:0};b(c).css("zIndex",1)});a.onAddSlide=function(c){c.hide().css("zIndex",1)}};b.fn.cycle.transitions.curtainX=function(d,h,a){a.before.push(function(c,f,i){i.cssBefore={left:f.cycleW/2,width:0,zIndex:1,display:"block"};i.animIn={left:0,width:this.cycleW};i.animOut={left:c.cycleW/2,width:0};b(c).css("zIndex",2)});a.onAddSlide=function(c){c.hide()};a.cssAfter={zIndex:1,display:"none"}};b.fn.cycle.transitions.curtainY=function(d,h,a){a.before.push(function(c,
f,i){i.cssBefore={top:f.cycleH/2,height:0,zIndex:1,display:"block"};i.animIn={top:0,height:this.cycleH};i.animOut={top:c.cycleH/2,height:0};b(c).css("zIndex",2)});a.onAddSlide=function(c){c.hide()};a.cssAfter={zIndex:1,display:"none"}};b.fn.cycle.transitions.cover=function(d,h,a){var c=a.direction||"left",f=d.css("overflow","hidden").width(),i=d.height();a.before.push(function(m,g,j){j.cssBefore=j.cssBefore||{};j.cssBefore.zIndex=2;j.cssBefore.display="block";if(c=="right")j.cssBefore.left=-f;else if(c==
"up")j.cssBefore.top=i;else if(c=="down")j.cssBefore.top=-i;else j.cssBefore.left=f;b(m).css("zIndex",1)});if(!a.animIn)a.animIn={left:0,top:0};if(!a.animOut)a.animOut={left:0,top:0};a.cssAfter=a.cssAfter||{};a.cssAfter.zIndex=2;a.cssAfter.display="none"};b.fn.cycle.transitions.uncover=function(d,h,a){var c=a.direction||"left",f=d.css("overflow","hidden").width(),i=d.height();a.before.push(function(m,g,j){j.cssBefore.display="block";if(c=="right")j.animOut.left=f;else if(c=="up")j.animOut.top=-i;
else if(c=="down")j.animOut.top=i;else j.animOut.left=-f;b(m).css("zIndex",2);b(g).css("zIndex",1)});a.onAddSlide=function(m){m.hide()};if(!a.animIn)a.animIn={left:0,top:0};a.cssBefore=a.cssBefore||{};a.cssBefore.top=0;a.cssBefore.left=0;a.cssAfter=a.cssAfter||{};a.cssAfter.zIndex=1;a.cssAfter.display="none"};b.fn.cycle.transitions.toss=function(d,h,a){var c=d.css("overflow","visible").width(),f=d.height();a.before.push(function(i,m,g){b(i).css("zIndex",2);g.cssBefore.display="block";if(!g.animOut.left&&
!g.animOut.top)g.animOut={left:c*2,top:-f/2,opacity:0};else g.animOut.opacity=0});a.onAddSlide=function(i){i.hide()};a.cssBefore={left:0,top:0,zIndex:1,opacity:1};a.animIn={left:0};a.cssAfter={zIndex:2,display:"none"}};b.fn.cycle.transitions.wipe=function(d,h,a){var c=d.css("overflow","hidden").width(),f=d.height();a.cssBefore=a.cssBefore||{};var i;if(a.clip)if(/l2r/.test(a.clip))i="rect(0px 0px "+f+"px 0px)";else if(/r2l/.test(a.clip))i="rect(0px "+c+"px "+f+"px "+c+"px)";else if(/t2b/.test(a.clip))i=
"rect(0px "+c+"px 0px 0px)";else if(/b2t/.test(a.clip))i="rect("+f+"px "+c+"px "+f+"px 0px)";else if(/zoom/.test(a.clip)){var m=parseInt(f/2),g=parseInt(c/2);i="rect("+m+"px "+g+"px "+m+"px "+g+"px)"}a.cssBefore.clip=a.cssBefore.clip||i||"rect(0px 0px 0px 0px)";d=a.cssBefore.clip.match(/(\d+)/g);m=parseInt(d[0]);var j=parseInt(d[1]),o=parseInt(d[2]);g=parseInt(d[3]);a.before.push(function(n,e,q){function r(){var t=m?m-parseInt(y*(m/p)):0,u=g?g-parseInt(y*(g/p)):0,C=o<f?o+parseInt(y*((f-o)/p||1)):
f,M=j<c?j+parseInt(y*((c-j)/p||1)):c;z.css({clip:"rect("+t+"px "+M+"px "+C+"px "+u+"px)"});y++<=p?setTimeout(r,13):w.css("display","none")}if(n!=e){var w=b(n).css("zIndex",2),z=b(e).css({zIndex:3,display:"block"}),y=1,p=parseInt(q.speedIn/13)-1;r()}});a.cssAfter={};a.animIn={left:0};a.animOut={left:0}}})(jQuery);
(function(){function b(){var a="",c;for(c in this)if(typeof this[c]!="function")a+=c+'="'+this[c]+'" ';return a}function d(){var a="",c;for(c in this)if(typeof this[c]!="function")a+=c+"="+encodeURIComponent(this[c])+"&";return a.replace(/&$/,"")}var h;h=jQuery.fn.flash=function(a,c,f,i){var m=f||h.replace;c=h.copy(h.pluginOptions,c);if(!h.hasFlash(c.version))if(c.expressInstall&&h.hasFlash(6,0,65))var g={flashvars:{MMredirectURL:location,MMplayerType:"PlugIn",MMdoctitle:jQuery("title").text()}};
else if(c.update)m=i||h.update;else return this;a=h.copy(h.htmlOptions,g,a);return this.each(function(){m.call(this,h.copy(a))})};h.copy=function(){for(var a={},c={},f=0;f<arguments.length;f++){var i=arguments[f];if(i!=undefined){jQuery.extend(a,i);i.flashvars!=undefined&&jQuery.extend(c,i.flashvars)}}a.flashvars=c;return a};h.hasFlash=function(a,c,f){if(/hasFlash\=true/.test(location))return true;if(/hasFlash\=false/.test(location))return false;var i=h.hasFlash.playerVersion().match(/\d+/g);a=String([a,
c,f]).match(/\d+/g)||String(h.pluginOptions.version).match(/\d+/g);for(c=0;c<3;c++){i[c]=parseInt(i[c]||0);a[c]=parseInt(a[c]||0);if(i[c]<a[c])return false;if(i[c]>a[c])break}return true};h.hasFlash.playerVersion=function(){try{try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{a.AllowScriptAccess="always"}catch(c){return"6,0,0"}}catch(f){}return(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(i){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return(navigator.plugins["Shockwave Flash 2.0"]||
navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(m){}}return"0,0,0"};h.htmlOptions={height:240,flashvars:{},pluginspage:"http://www.adobe.com/go/getflashplayer",src:"#",type:"application/x-shockwave-flash",width:320};h.pluginOptions={expressInstall:false,update:true,version:"6.0.65"};h.replace=function(a){this.innerHTML='<div class="alt">'+this.innerHTML+"</div>";jQuery(this).addClass("flash-replaced").prepend(h.transform(a))};h.update=function(){var a=
String(location).split("?");a.splice(1,0,"?hasFlash=true&");a=a.join("");a='<p>This content requires the Flash Player. <a href="http://www.adobe.com/go/getflashplayer">Download Flash Player</a>. Already have Flash Player? <a href="'+a+'">Click here.</a></p>';this.innerHTML='<span class="alt">'+this.innerHTML+"</span>";jQuery(this).addClass("flash-update").prepend(a)};h.transform=function(a){a.toString=b;if(a.flashvars)a.flashvars.toString=d;return"<embed "+String(a)+"/>"};window.attachEvent&&window.attachEvent("onbeforeunload",
function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})})();
(function(b){b._i18n={trans:{},"default":"en",language:"en"};b.i18n=function(){var d=function(a,c){var f=false;if(b._i18n.trans[b._i18n.language]&&b._i18n.trans[b._i18n.language][a]&&b._i18n.trans[b._i18n.language][a][c])f=b._i18n.trans[b._i18n.language][a][c];else if(b._i18n.trans[b._i18n["default"]]&&b._i18n.trans[b._i18n["default"]][a]&&b._i18n.trans[b._i18n["default"]][a][c])f=b._i18n.trans[b._i18n["default"]][a][c];return f||c};if(arguments.length<2){b._i18n.language=arguments[0];return b._i18n.language}else if(typeof arguments[1]==
"string"){d=d(arguments[0],arguments[1]);return arguments[2]&&typeof arguments[2]=="object"?b.format(d,arguments[2]):d}else{var h=arguments[0].split(".");d=h[0];h=h[1]||"jQuery";if(b._i18n.trans[d])b.extend(b._i18n.trans[d][h],arguments[1]);else{b._i18n.trans[d]={};b._i18n.trans[d][h]=arguments[1]}}}})(jQuery);
(function(b){b.fn.caret=function(h,a){if(this.length!=0)if(typeof h=="number"){a=typeof a=="number"?a:h;return this.each(function(){if(this.setSelectionRange){this.focus();this.setSelectionRange(h,a)}else if(this.createTextRange){var f=this.createTextRange();f.collapse(true);f.moveEnd("character",a);f.moveStart("character",h);f.select()}})}else{if(this[0].setSelectionRange){h=this[0].selectionStart;a=this[0].selectionEnd}else if(document.selection&&document.selection.createRange){var c=document.selection.createRange();
h=0-c.duplicate().moveStart("character",-1E5);a=h+c.text.length}return{begin:h,end:a}}};var d={"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};b.mask={addPlaceholder:function(h,a){d[h]=a}};b.fn.unmask=function(){return this.trigger("unmask")};b.fn.mask=function(h,a){a=b.extend({placeholder:"_",completed:null},a);var c=RegExp("^"+b.map(h.split(""),function(f){return d[f]||(/[A-Za-z0-9]/.test(f)?"":"\\")+f}).join("")+"$");return this.each(function(){function f(){o();j();setTimeout(function(){b(e[0]).caret(w?
h.length:y)},0)}function i(p){var t=b(this).caret();p=p.keyCode;z=p<16||p>16&&p<32||p>32&&p<41;if(t.begin-t.end!=0&&(!z||p==8||p==46))g(t.begin,t.end);if(p==8)for(;t.begin-- >=0;){if(!r[t.begin]){q[t.begin]=a.placeholder;if(b.browser.opera){s=j();e.val(s.substring(0,t.begin)+" "+s.substring(t.begin));b(this).caret(t.begin+1)}else{j();b(this).caret(Math.max(y,t.begin))}return false}}else if(p==46){g(t.begin,t.begin+1);j();b(this).caret(Math.max(y,t.begin));return false}else if(p==27){g(0,h.length);
j();b(this).caret(y);return false}}function m(p){if(z){z=false;return p.keyCode==8?false:null}p=p||window.event;var t=p.charCode||p.keyCode||p.which,u=b(this).caret();if(p.ctrlKey||p.altKey)return true;else if(t>=41&&t<=122||t==32||t>186){p=n(u.begin-1);if(p<h.length)if(RegExp(d[h.charAt(p)]).test(String.fromCharCode(t))){q[p]=String.fromCharCode(t);j();t=n(p);b(this).caret(t);a.completed&&t==h.length&&a.completed.call(e)}}return false}function g(p,t){for(var u=p;u<t&&u<h.length;u++)if(!r[u])q[u]=
a.placeholder}function j(){return e.val(q.join("")).val()}function o(){for(var p=e.val(),t=0,u=0;u<h.length;u++)if(!r[u])for(q[u]=a.placeholder;t++<p.length;){var C=RegExp(d[h.charAt(u)]);if(p.charAt(t-1).match(C)){q[u]=p.charAt(t-1);break}}if(j().match(c))w=true;else{e.val("");g(0,h.length);w=false}}function n(p){for(;++p<h.length;)if(!r[p])return p;return h.length}var e=b(this),q=Array(h.length),r=Array(h.length),w=false,z=false,y=null;b.each(h.split(""),function(p,t){r[p]=d[t]==null;q[p]=r[p]?
t:a.placeholder;if(!r[p]&&y==null)y=p});e.one("unmask",function(){e.unbind("focus",f);e.unbind("blur",o);e.unbind("keydown",i);e.unbind("keypress",m);if(b.browser.msie)this.onpaste=null;else b.browser.mozilla&&this.removeEventListener("input",o,false)});e.bind("focus",f);e.bind("blur",o);e.bind("keydown",i);e.bind("keypress",m);if(b.browser.msie)this.onpaste=function(){setTimeout(o,0)};else b.browser.mozilla&&this.addEventListener("input",o,false);o()})}})(jQuery);
(function(b){b.event.special.mousewheel={setup:function(){var d=b.event.special.mousewheel.handler;b.browser.mozilla&&b(this).bind("mousemove.mousewheel",function(h){b.data(this,"mwcursorposdata",{pageX:h.pageX,pageY:h.pageY,clientX:h.clientX,clientY:h.clientY})});if(this.addEventListener)this.addEventListener(b.browser.mozilla?"DOMMouseScroll":"mousewheel",d,false);else this.onmousewheel=d},teardown:function(){var d=b.event.special.mousewheel.handler;b(this).unbind("mousemove.mousewheel");if(this.removeEventListener)this.removeEventListener(b.browser.mozilla?
"DOMMouseScroll":"mousewheel",d,false);else this.onmousewheel=function(){};b.removeData(this,"mwcursorposdata")},handler:function(d){var h=Array.prototype.slice.call(arguments,1);d=b.event.fix(d||window.event);b.extend(d,b.data(this,"mwcursorposdata")||{});var a=0;if(d.wheelDelta)a=d.wheelDelta/120;if(d.detail)a=-d.detail/3;if(b.browser.opera)a=-d.wheelDelta;d.data=d.data||{};d.type="mousewheel";h.unshift(a);h.unshift(d);return b.event.handle.apply(this,h)}};b.fn.extend({mousewheel:function(d){return d?
this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}})})(jQuery);
(function(b){function d(){var v=n.scrollLeft(),A=R?S.clientWidth:n.width();b([B,I]).css("left",v+A/2);p&&b(D).css({left:v,top:n.scrollTop(),width:A,height:n.height()})}function h(v){b("object").add(M?"select":"embed").each(function(J,E){v&&b.data(E,"slimbox",E.style.visibility);E.style.visibility=v?"hidden":b.data(E,"slimbox")});var A=v?"bind":"unbind";n[A]("scroll resize",d);b(document)[A]("keydown",a)}function a(v){v=v.keyCode;var A=b.inArray;return A(v,e.closeKeys)>=0?o():A(v,e.nextKeys)>=0?f():
A(v,e.previousKeys)>=0?c():false}function c(){return i(z)}function f(){return i(y)}function i(v){if(v>=0){r=v;w=q[r][0];z=(r||(e.loop?q.length:0))-1;y=(r+1)%q.length||(e.loop?0:-1);j();B.className="lbLoading";F=new Image;F.onload=m;F.src=w}return false}function m(){B.className="";b(G).css({backgroundImage:"url("+w+")",visibility:"hidden",display:""});b(Q).width(F.width);b([Q,N,O]).height(F.height);b(T).html(q[r][1]||"");b(U).html((q.length>1&&e.counterText||"").replace(/{x}/,r+1).replace(/{y}/,q.length));
if(z>=0)V.src=q[z][0];if(y>=0)W.src=q[y][0];u=G.offsetWidth;C=G.offsetHeight;var v=Math.max(0,t-C/2);B.offsetHeight!=C&&b(B).animate({height:C,top:v},e.resizeDuration,e.resizeEasing);B.offsetWidth!=u&&b(B).animate({width:u,marginLeft:-u/2},e.resizeDuration,e.resizeEasing);b(B).queue(function(){b(I).css({width:u,top:v+C,marginLeft:-u/2,visibility:"hidden",display:""});b(G).css({display:"none",visibility:"",opacity:""}).fadeIn(e.imageFadeDuration,g)})}function g(){z>=0&&b(N).show();y>=0&&b(O).show();
b(P).css("marginTop",-P.offsetHeight).animate({marginTop:0},e.captionAnimationDuration);I.style.visibility=""}function j(){F.onload=null;F.src=V.src=W.src=w;b([B,G,P]).stop(true);b([N,O,G,I]).hide()}function o(){if(r>=0){j();r=z=y=-1;b(B).hide();b(D).stop().fadeOut(e.overlayFadeDuration,h)}return false}var n=b(window),e,q,r=-1,w,z,y,p,t,u,C,M=!window.XMLHttpRequest,R=window.opera&&document.compatMode=="CSS1Compat"&&b.browser.version>=9.3,S=document.documentElement,F={},V=new Image,W=new Image,D,B,
G,Q,N,O,I,P,T,U;b(function(){b("body").append(b([D=b('<div id="lbOverlay" />')[0],B=b('<div id="lbCenter" />')[0],I=b('<div id="lbBottomContainer" />')[0]]).css("display","none"));G=b('<div id="lbImage" />').appendTo(B).append(Q=b('<div style="position: relative;" />').append([N=b('<a id="lbPrevLink" href="#" />').click(c)[0],O=b('<a id="lbNextLink" href="#" />').click(f)[0]])[0])[0];P=b('<div id="lbBottom" />').appendTo(I).append([b('<a id="lbCloseLink" href="#" />').add(D).click(o)[0],T=b('<div id="lbCaption" />')[0],
U=b('<div id="lbNumber" />')[0],b('<div style="clear: both;" />')[0]])[0]});b.slimbox=function(v,A,J){e=b.extend({loop:false,overlayOpacity:0.8,overlayFadeDuration:400,resizeDuration:400,resizeEasing:"swing",initialWidth:250,initialHeight:250,imageFadeDuration:400,captionAnimationDuration:400,counterText:"Image {x} of {y}",closeKeys:[27,88,67],previousKeys:[37,80],nextKeys:[39,78]},J);if(typeof v=="string"){v=[[v,A]];A=0}t=n.scrollTop()+(R?S.clientHeight:n.height())/2;u=e.initialWidth;C=e.initialHeight;
b(B).css({top:Math.max(0,t-C/2),width:u,height:C,marginLeft:-u/2}).show();if(p=M||D.currentStyle&&D.currentStyle.position!="fixed")D.style.position="absolute";b(D).css("opacity",e.overlayOpacity).fadeIn(e.overlayFadeDuration);d();h(1);q=v;e.loop=e.loop&&q.length>1;return i(A)};b.fn.slimbox=function(v,A,J){A=A||function(L){return[L.href,L.title]};J=J||function(){return true};var E=this;return E.unbind("click").click(function(){var L=this,X=0,K,H=0,Y;K=b.grep(E,function(Z,$){return J.call(L,Z,$)});
for(Y=K.length;H<Y;++H){if(K[H]==L)X=H;K[H]=A(K[H],H)}return b.slimbox(K,X,v)})}})(jQuery);
(function(b){function d(){var c=a.parse(this.title);isNaN(c)||b(this).text(h(c));return this}function h(c){return a.inWords((new Date).getTime()-c.getTime())}b.timeago=function(c){return c instanceof Date?h(c):typeof c=="string"?h(b.timeago.parse(c)):h(b.timeago.parse(b(c).attr("title")))};var a=b.timeago;b.extend(b.timeago,{settings:{refreshMillis:6E4,allowFuture:false,strings:{ago:"ago",fromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",
hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years"}},inWords:function(c){var f=this.settings.strings,i=f.ago;if(this.settings.allowFuture){if(c<0)i=f.fromNow;c=Math.abs(c)}c=c/1E3;var m=c/60,g=m/60,j=g/24,o=j/365;return(c<45&&f.seconds.replace(/%d/i,Math.round(c))||c<90&&f.minute||m<45&&f.minutes.replace(/%d/i,Math.round(m))||m<90&&f.hour||g<24&&f.hours.replace(/%d/i,Math.round(g))||g<48&&f.day||j<30&&f.days.replace(/%d/i,
Math.floor(j))||j<60&&f.month||j<365&&f.months.replace(/%d/i,Math.floor(j/30))||o<2&&f.year||f.years.replace(/%d/i,Math.floor(o)))+" "+i},parse:function(c){c=b.trim(c);c=c.replace(/-/,"/").replace(/-/,"/");c=c.replace(/T/," ").replace(/Z/," UTC");c=c.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2");return new Date(c)}});b.fn.timeago=function(){var c=this;c.each(d);var f=a.settings;f.refreshMillis>0&&setInterval(function(){c.each(d)},f.refreshMillis);return c};b.browser.msie&&b.browser.version<7&&document.createElement("abbr")})(jQuery);
