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