// Peyman Zahadat
// peyman@zahadat.com
// www.zahadat.com

/*	
Top Menu (by: Peyman Zahadat)
*/
$(document).ready(function(){
	$("ul#pz-tnav li").hover(
		function() {
			$(this).find("span").fadeIn();
		} ,
		function() {
			$(this).find("span").hide();
		});
});


/*	
News Ticker
*/
(function($) {

    $.fn.innerfade = function(options) {
        return this.each(function() {   
            $.innerfade(this, options);
        });
    };

    $.innerfade = function(container, options) {
        var settings = {
        		'animationtype':    'fade',
            'speed':            'normal',
            'type':             'sequence',
            'timeout':          2000,
            'containerheight':  'auto',
            'runningclass':     'innerfade',
            'children':         null
        };
        if (options)
            $.extend(settings, options);
        if (settings.children === null)
            var elements = $(container).children();
        else
            var elements = $(container).children(settings.children);
        if (elements.length > 1) {
            $(container).css('position', 'relative').css('height', settings.containerheight).addClass(settings.runningclass);
            for (var i = 0; i < elements.length; i++) {
                $(elements[i]).css('z-index', String(elements.length-i)).css('position', 'absolute').hide();
            };
            if (settings.type == "sequence") {
                setTimeout(function() {
                    $.innerfade.next(elements, settings, 1, 0);
                }, settings.timeout);
                $(elements[0]).show();
            } else if (settings.type == "random") {
            		var last = Math.floor ( Math.random () * ( elements.length ) );
                setTimeout(function() {
                    do { 
												current = Math.floor ( Math.random ( ) * ( elements.length ) );
										} while (last == current );             
										$.innerfade.next(elements, settings, current, last);
                }, settings.timeout);
                $(elements[last]).show();
						} else if ( settings.type == 'random_start' ) {
								settings.type = 'sequence';
								var current = Math.floor ( Math.random () * ( elements.length ) );
								setTimeout(function(){
									$.innerfade.next(elements, settings, (current + 1) %  elements.length, current);
								}, settings.timeout);
								$(elements[current]).show();
						}	else {
							alert('Innerfade-Type must either be \'sequence\', \'random\' or \'random_start\'');
						}
				}
    };

    $.innerfade.next = function(elements, settings, current, last) {
        if (settings.animationtype == 'slide') {
            $(elements[last]).slideUp(settings.speed);
            $(elements[current]).slideDown(settings.speed);
        } else if (settings.animationtype == 'fade') {
            $(elements[last]).fadeOut(settings.speed);
            $(elements[current]).fadeIn(settings.speed, function() {
							removeFilter($(this)[0]);
						});
        } else
            alert('Innerfade-animationtype must either be \'slide\' or \'fade\'');
        if (settings.type == "sequence") {
            if ((current + 1) < elements.length) {
                current = current + 1;
                last = current - 1;
            } else {
                current = 0;
                last = elements.length - 1;
            }
        } else if (settings.type == "random") {
            last = current;
            while (current == last)
                current = Math.floor(Math.random() * elements.length);
        } else
            alert('Innerfade-Type must either be \'sequence\', \'random\' or \'random_start\'');
        setTimeout((function() {
            $.innerfade.next(elements, settings, current, last);
        }), settings.timeout);
    };

})(jQuery);

// **** remove Opacity-Filter in ie ****
function removeFilter(element) {
	if(element.style.removeAttribute){
		element.style.removeAttribute('filter');
	}
}


/*
Cycle Plugin (core engine only)
*/
(function($){var ver="2.99";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){$.fn.cycle.debug&&log(s);}function log(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));}$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="none"?0:opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length){opts.after[0].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=0;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing("+fx+"); currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!="none"&&(t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v&&v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=="undefined"){opts.cssBefore.opacity=1;}opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb();});};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null};})(jQuery);

function onAfter() { 
    $('#pz-slideshow-output').html('<a href="'+this.id+'" target="_blank" >'+this.alt+'</a>');
}

/*	
Home Element Carousel
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(A($){$.1r.1s=A(o){u(T.X==0)B 18(\'3U 3V 2H.\');u(T.X>1){B T.1l(A(){$(T).1s(o)})}C l=T;l.2I=A(o){u(z o!=\'1b\')o={};u(z o.V==\'G\'){u(o.V<=3W)o.V={w:o.V};H o.V={14:o.V}}H{u(z o.V==\'1c\')o.V={Z:o.V}}u(z o.w==\'G\')o.w={D:o.w};H u(z o.w==\'1c\')o.w={D:o.w,1H:o.w,1W:o.w};4=$.1X(O,{},$.1r.1s.30,o);4.1Y=R;1t=(4.1t==\'31\'||4.1t==\'1u\')?\'L\':\'M\';u(4.1t==\'32\'||4.1t==\'1u\'){4.y=[\'1H\',\'33\',\'34\',\'1W\',\'35\',\'36\',\'1u\',\'2e\',\'1I\',0,1,2,3]}H{4.y=[\'1W\',\'35\',\'36\',\'1H\',\'33\',\'34\',\'2e\',\'1u\',\'1J\',3,2,1,0]}C a=N(n);C b=2J(a,4,5,R);u(4[4.y[3]]==\'I\'){4[4.y[3]]=b;4.w[4.y[3]]=b}u(!4.w[4.y[3]]){4.w[4.y[3]]=(2K(a,4,5))?\'Y\':a[4.y[5]](O)}u(!4[4.y[3]]){4[4.y[3]]=4.w[4.y[3]]}u(!4.w[4.y[0]]){4.w[4.y[0]]=(2K(a,4,2))?\'Y\':a[4.y[2]](O)}u(!4.w.D&&4.w[4.y[0]]==\'Y\'){4.w.D=\'Y\'}u(!4.w.D&&!4[4.y[0]]){u(4.w[4.y[0]]!=\'Y\'){4[4.y[0]]=2L(q.1K(),4,1)}}u(!4.w.D){4.w.D=(z 4[4.y[0]]==\'G\'&&4.w[4.y[0]]!=\'Y\')?1Z.3a(4[4.y[0]]/4.w[4.y[0]]):\'Y\'}u(!4[4.y[0]]){4[4.y[0]]=(4.w.D!=\'Y\'&&4.w[4.y[0]]!=\'Y\')?4.w.D*4.w[4.y[0]]:\'Y\'}u(4.w.D==\'Y\'){4.1Y=O;4.2M=(4[4.y[0]]==\'Y\')?2L(q.1K(),4,1):4[4.y[0]];u(4.F===R){4[4.y[0]]=\'Y\'}4.w.D=20(n,4,0)}H{u(4.F===R){4.F=0}}u(z 4.F==\'19\'){4.F=(4[4.y[0]]==\'Y\')?0:\'I\'}4.w.1z=4.w.D;4.S=R;u(4.F==\'I\'){4.F=[0,0,0,0];u(4[4.y[0]]!=\'Y\'){4.S=\'I\';C p=2f(3b(n,4),4);4.F[4.y[10]]=p[0];4.F[4.y[12]]=p[0]}u(4[4.y[3]]!=\'Y\'){C p=(4[4.y[3]]-b)/2;u(p<0)p=0;4.F[4.y[9]]=p;4.F[4.y[11]]=p}}H{4.F=3c(4.F);4.S=(4.F[0]==0&&4.F[1]==0&&4.F[2]==0&&4.F[3]==0)?R:O}u(z 4.w.2g!=\'G\')4.w.2g=(4.1Y)?1:4.w.D;u(z 4.V.w!=\'G\')4.V.w=(4.1Y)?\'Y\':4.w.D;u(z 4.V.14!=\'G\')4.V.14=3X;4.I=21(4.I,R,O);4.M=21(4.M);4.L=21(4.L);4.W=21(4.W,O);4.I=$.1X({},4.V,4.I);4.M=$.1X({},4.V,4.M);4.L=$.1X({},4.V,4.L);4.W=$.1X({},4.V,4.W);u(z 4.W.2h!=\'15\')4.W.2h=R;u(z 4.W.2N!=\'A\')4.W.2N=$.1r.1s.3d;u(z 4.I.13!=\'15\')4.I.13=O;u(z 4.I.22!=\'15\')4.I.22=O;u(z 4.I.2O!=\'G\')4.I.2O=0;u(z 4.I.2i!=\'G\')4.I.2i=(4.I.14<10)?3Y:4.I.14*5};l.3e=A(){u(n.K(\'1A\')==\'3f\'||n.K(\'1A\')==\'3Z\'){18(\'41 42-43 "1A" 44 45 "46" 47 "3g".\')}q.K({1A:\'3g\',48:\'4a\',23:n.K(\'23\'),1I:n.K(\'1I\'),1J:n.K(\'1J\'),24:n.K(\'24\')});n.16(\'3h\',{1H:n.K(\'1H\'),1W:n.K(\'1W\'),23:n.K(\'23\'),1I:n.K(\'1I\'),1J:n.K(\'1J\'),24:n.K(\'24\'),\'2P\':n.K(\'2P\'),1A:n.K(\'1A\'),2e:n.K(\'2e\'),1u:n.K(\'1u\')}).K({23:0,1I:0,1J:0,24:0,\'2P\':\'4b\',1A:\'3f\'});u(4.S){N(n).1l(A(){C m=1v($(T).K(4.y[8]));u(1B(m))m=0;$(T).16(\'1f\',m)})}2j(4,J)};l.3i=A(){l.2Q();n.17(\'1m\',A(e,g){u(z g!=\'15\')g=R;u(g)25=O;u(2k!=2l)4c(2k);u(2m!=2l)4d(2m)});n.17(\'13\',A(e,d,f,g){n.E(\'1m\');u(4.I.13){u(z g!=\'15\'){u(z f==\'15\')g=f;H u(z d==\'15\')g=d;H g=R}u(z f!=\'G\'){u(z d==\'G\')f=d;H f=0}u(d!=\'M\'&&d!=\'L\')d=1t;u(g)25=R;u(25)B;2k=4e(A(){u(n.1L(\':2R\')){n.E(\'13\',d)}H{2n=0;n.E(d,4.I)}},4.I.2i+f-2n);u(4.I.1M===\'4f\'){2m=4g(A(){2n+=3j},3j)}}});n.17(\'M L\',A(e){u(n.1L(\':2R\')||25){e.3k();B}u(4.w.2g>=J){18(\'1N 3l w: 2o 2p\');e.3k();B}});u(4.1Y){n.17(\'M\',A(e,a,b){u(z a==\'G\')b=a;u(z a!=\'1b\')a=4.M;u(z b!=\'G\')b=(z a.w==\'G\')?a.w:4.w.D;26=b;4.w.1z=4.w.D;C c=N(n);u(4.S){1d(c,4)}4.w.D=3m(n,4,26);b=4.w.D-4.w.1z+26;u(b<=0){4.w.D=20(n,4,J-26);b=26}u(4.S){1d(c,4,O)}n.E(\'2q\',[a,b])});n.17(\'L\',A(e,a,b){u(z a==\'G\')b=a;u(z a!=\'1b\')a=4.L;u(z b!=\'G\')b=(z a.w==\'G\')?a.w:4.w.D;4.w.1z=4.w.D;C c=N(n);1d(c,4);4.w.D=20(n,4,b);u(4.w.1z-b>=4.w.D){4.w.D=20(n,4,++b)}1d(c,4,O);n.E(\'2r\',[a,b])})}H{n.17(\'M\',A(e,a,b){n.E(\'2q\',[a,b])});n.17(\'L\',A(e,a,b){n.E(\'2r\',[a,b])})}n.17(\'2q\',A(e,b,c){u(z b==\'G\')c=b;u(z b!=\'1b\')b=4.M;u(z c!=\'G\')c=(z b.w==\'G\')?b.w:4.w.D;u(z c!=\'G\')B 18(\'1N a 2s G: 2o 2p\');u(b.2t&&!b.2t(n))B;u(!4.1C){C d=J-P;u(d-c<0){c=d}u(P==0){c=0}}P+=c;u(P>=J)P-=J;u(!4.1C){u(P==0&&c!=0&&b.2u){b.2u(n)}u(4.2v){u(c==0){n.E(\'L\',J-4.w.D);B}}H{u(P==0&&4.M.U)4.M.U.2w(\'27\');u(4.L.U)4.L.U.2S(\'27\')}}u(c==0)B;N(n,\':28(\'+(J-c-1)+\')\').4h(n);u(J<4.w.D+c)N(n,\':1g(\'+((4.w.D+c)-J)+\')\').3n(O).2T(n);C f=3o(n,4,c),1i=2U(n,4),1D=N(n,\':1n(\'+(c-1)+\')\'),1j=f.1h(\':1O\'),1o=1i.1h(\':1O\');u(4.S){1d(1j,4);1d(1o,4)}u(4.S==\'I\'){C p=2f(2U(n,4,c),4)}C g=1P(N(n,\':1g(\'+c+\')\'),4,0),1w=2x(2y(1i,4,O),4,!4.S);u(4.S){1d(1j,4,4.F[4.y[10]]);1d(1D,4,4.F[4.y[12]])}u(4.S==\'I\'){4.F[4.y[9]]=p[1];4.F[4.y[10]]=p[0];4.F[4.y[11]]=p[1];4.F[4.y[12]]=p[0]}C h={},2V={},1Q={},1R={},Q=b.14;u(Q==\'I\')Q=4.V.14/4.V.w*c;H u(Q<=0)Q=0;H u(Q<10)Q=g/Q;u(b.2z)b.2z(f,1i,1w,Q);u(4.S){C i=4.F[4.y[12]];1Q[4.y[8]]=1D.16(\'1f\');2V[4.y[8]]=1o.16(\'1f\')+4.F[4.y[10]];1R[4.y[8]]=1j.16(\'1f\');1D.1E().1p(1Q,{14:Q,Z:b.Z});1o.1E().1p(2V,{14:Q,Z:b.Z});1j.1E().1p(1R,{14:Q,Z:b.Z})}H{C i=0}h[4.y[6]]=i;u(4[4.y[0]]==\'Y\'||4[4.y[3]]==\'Y\'){q.1E().1p(1w,{14:Q,Z:b.Z})}C j=c;n.K(4.y[6],-g);n.1p(h,{14:Q,Z:b.Z,3p:A(){u(b.2A){b.2A(f,1i,1w)}u(J<4.w.D+j){N(n,\':28(\'+(J-1)+\')\').29()}C a=N(n,\':1n(\'+(4.w.D+j-1)+\')\');u(4.S)a.K(4.y[8],a.16(\'1f\'))}});n.E(\'1F\').E(\'13\',Q)});n.17(\'2r\',A(e,c,d){u(z c==\'G\')d=c;u(z c!=\'1b\')c=4.L;u(z d!=\'G\')d=(z c.w==\'G\')?c.w:4.w.D;u(z d!=\'G\')B 18(\'1N a 2s G: 2o 2p\');u(c.2t&&!c.2t(n))B;u(!4.1C){u(P==0){u(d>J-4.w.D){d=J-4.w.D}}H{u(P-d<4.w.D){d=P-4.w.D}}}P-=d;u(P<0)P+=J;u(!4.1C){u(P==4.w.D&&d!=0&&c.2u){c.2u(n)}u(4.2v){u(d==0){n.E(\'M\',J-4.w.D);B}}H{u(P==4.w.D&&4.L.U)4.L.U.2w(\'27\');u(4.M.U)4.M.U.2S(\'27\')}}u(d==0)B;u(J<4.w.D+d)N(n,\':1g(\'+((4.w.D+d)-J)+\')\').3n(O).2T(n);C f=3q(n,4),1i=2W(n,4,d),1D=f.1h(\':1n(\'+(d-1)+\')\'),1j=f.1h(\':1O\'),1o=1i.1h(\':1O\');u(4.S){1d(1j,4);1d(1o,4)}u(4.S==\'I\'){C p=2f(2W(n,4,d),4)}C g=1P(N(n,\':1g(\'+d+\')\'),4,0),1w=2x(2y(1i,4,O),4,!4.S);u(4.S){1d(1j,4,4.F[4.y[10]]);1d(1o,4,4.F[4.y[10]])}u(4.S==\'I\'){4.F[4.y[9]]=p[1];4.F[4.y[10]]=p[0];4.F[4.y[11]]=p[1];4.F[4.y[12]]=p[0]}C h={},1R={},1Q={},Q=c.14;u(Q==\'I\')Q=4.V.14/4.V.w*d;H u(Q<=0)Q=0;H u(Q<10)Q=g/Q;u(c.2z)c.2z(f,1i,1w,Q);u(4.S){1R[4.y[8]]=1j.16(\'1f\');1Q[4.y[8]]=1D.16(\'1f\')+4.F[4.y[12]];1o.K(4.y[8],1o.16(\'1f\')+4.F[4.y[10]]);1j.1E().1p(1R,{14:Q,Z:c.Z});1D.1E().1p(1Q,{14:Q,Z:c.Z})}h[4.y[6]]=-g;u(4[4.y[0]]==\'Y\'||4[4.y[3]]==\'Y\'){q.1E().1p(1w,{14:Q,Z:c.Z})}C i=d;n.1p(h,{14:Q,Z:c.Z,3p:A(){u(c.2A){c.2A(f,1i,1w)}u(J<4.w.D+i){N(n,\':28(\'+(J-1)+\')\').29()}C a=(4.S)?4.F[4.y[12]]:0;n.K(4.y[6],a);C b=N(n,\':1g(\'+i+\')\').2T(n).1h(\':1O\');u(4.S)b.K(4.y[8],b.16(\'1f\'))}});n.E(\'1F\').E(\'13\',Q)});n.17(\'1S\',A(e,a,b,c,d){u(n.1L(\':2R\'))B;a=2B(a,b,c,P,J,n);u(a==0)B;u(z d!=\'1b\')d=R;u(4.1C){u(a<J/2)n.E(\'L\',[d,a]);H n.E(\'M\',[d,J-a])}H{u(P==0||P>a)n.E(\'L\',[d,a]);H n.E(\'M\',[d,J-a])}});n.17(\'3r\',A(e,a,b,c,d){u(z a==\'1b\'&&z a.2a==\'19\')a=$(a);u(z a==\'1c\')a=$(a);u(z a!=\'1b\'||z a.2a==\'19\'||a.X==0)B 18(\'1N a 2s 1b.\');u(z b==\'19\'||b==\'3s\'){n.2X(a)}H{b=2B(b,d,c,P,J,n);C f=N(n,\':1n(\'+b+\')\');u(4.S){a.1l(A(){C m=1v($(T).K(4.y[8]));u(1B(m))m=0;$(T).16(\'1f\',m)})}u(f.X){u(b<=P)P+=a.X;f.4i(a)}H{n.2X(a)}}J=N(n).X;n.E(\'1T\');2b(n,4);2j(4,J);n.E(\'1F\',O)});n.17(\'3t\',A(e,a,b,c){u(z a==\'19\'||a==\'3s\'){N(n,\':1O\').29()}H{a=2B(a,c,b,P,J,n);C d=N(n,\':1n(\'+a+\')\');u(d.X){u(a<P)P-=d.X;d.29()}}J=N(n).X;2b(n,4);2j(4,J);n.E(\'1F\',O)});n.17(\'1T\',A(e,a,b){u(z a==\'19\'||a.X==0)a=$(\'4j\');H u(z a==\'1c\')a=$(a);u(z a!=\'1b\')B 18(\'1N a 2s 1b.\');u(z b!=\'1c\'||b.X==0)b=\'a.3u\';a.4k(b).1l(A(){C h=T.3v||\'\';u(h.X>0&&N(n).3w($(h))!=-1){$(T).1a(\'1U\').1U(A(e){e.1q();n.E(\'1S\',h)})}})});n.17(\'1G\',A(e){n.E(\'1m\').K(n.16(\'3h\'));l.2Q();q.4l(n)});n.17(\'1F\',A(e,b){u(!4.W.1e)B;u(z b==\'15\'&&b){N(4.W.1e).29();2c(C a=0;a<1Z.4m(J/4.w.D);a++){4.W.1e.2X(4.W.2N(a+1))}N(4.W.1e).1a(\'1U\').1l(A(a){$(T).1U(A(e){e.1q();n.E(\'1S\',[a*4.w.D,0,O,4.W])})})}C c=(P==0)?0:1Z.4n((J-P)/4.w.D);N(4.W.1e).2S(\'2H\').1h(\':1n(\'+c+\')\').2w(\'2H\')})};l.2Q=A(){n.1a(\'1m\').1a(\'13\').1a(\'M\').1a(\'L\').1a(\'2q\').1a(\'2r\').1a(\'1S\').1a(\'3r\').1a(\'3t\').1a(\'1T\').1a(\'1G\').1a(\'1F\')};l.3x=A(){u(4.I.1M&&4.I.13){q.2C(A(){n.E(\'1m\')},A(){n.E(\'13\')})}u(4.M.U){4.M.U.1U(A(e){e.1q();n.E(\'M\')});u(4.M.1M&&4.I.13){4.M.U.2C(A(){n.E(\'1m\')},A(){n.E(\'13\')})}u(!4.1C&&!4.2v){4.M.U.2w(\'27\')}}u($.1r.1k){u(4.M.1k){q.1k(A(e,a){u(a>0){e.1q();2D=(z 4.M.1k==\'G\')?4.M.1k:\'\';n.E(\'M\',2D)}})}u(4.L.1k){q.1k(A(e,a){u(a<0){e.1q();2D=(z 4.L.1k==\'G\')?4.L.1k:\'\';n.E(\'L\',2D)}})}}u(4.L.U){4.L.U.1U(A(e){e.1q();n.E(\'L\')});u(4.L.1M&&4.I.13){4.L.U.2C(A(){n.E(\'1m\')},A(){n.E(\'13\')})}}u(4.W.1e){n.E(\'1F\',O);u(4.W.1M&&4.I.13){4.W.1e.2C(A(){n.E(\'1m\')},A(){n.E(\'13\')})}}u(4.L.1x||4.M.1x){$(3y).3z(A(e){C k=e.3A;u(k==4.L.1x){e.1q();n.E(\'L\')}u(k==4.M.1x){e.1q();n.E(\'M\')}})}u(4.W.2h){$(3y).3z(A(e){C k=e.3A;u(k>=49&&k<4o){k=(k-49)*4.w.D;u(k<=J){e.1q();n.E(\'1S\',[k,0,O,4.W])}}})}u(4.I.13){n.E(\'13\',4.I.2O);u($.1r.22&&4.I.22){n.22(\'1m\',\'13\')}}};l.4p=A(a,b){u(z a==\'19\')B 4;u(z b==\'19\'){C r=3B(\'4.\'+a);u(z r==\'19\')r=\'\';B r}3B(\'4.\'+a+\' = b\');l.2I(4);2b(n,4);B l};l.4q=A(){u(P==0){B 0}B J-P};l.1G=A(){18(\'3C "1G" 3D 3E 1L 3F, 3G 3H "1G" 3I 3J.\');n.E(\'1G\');B l};l.3K=A(a,b){18(\'3C "3K" 3D 3E 1L 3F, 3G 3H "1T" 3I 3J.\');n.E(\'1T\',[a,b]);B l};C n=$(T);u(n.1K().1L(\'.3L\')){C q=n.1K();n.E(\'1G\')}C q=n.4r(\'<4s 4t="3L" />\').1K(),4={},J=N(n).X,P=0,2k=2l,2m=2l,2n=0,25=R,1t=\'L\';l.2I(o);l.3e();l.3i();l.3x();n.E(\'1T\');2b(n,4,R);u(4.w.1y!==0&&4.w.1y!==R){C s=4.w.1y;u(s===O){s=2E.4u.3v;u(!s.X)s=0}u(s===\'3M\'){s=1Z.3a(1Z.3M()*J)}n.E(\'1S\',[s,0,O,{14:0}])}B T};$.1r.1s.30={2v:O,1C:O,1t:\'1u\',w:{1y:0},V:{Z:\'4v\',1M:R,1k:R}};$.1r.1s.3d=A(a){B\'<a 4w="#"><3N>\'+a+\'</3N></a>\'};A 2j(o,t){u(o.w.2g>=t){18(\'1N 3l w: 2o 2p\');C f=\'4x\'}H{C f=\'4y\'}u(o.M.U)o.M.U[f]();u(o.L.U)o.L.U[f]();u(o.W.1e)o.W.1e[f]()}A 2Y(k){u(k==\'32\')B 39;u(k==\'1u\')B 37;u(k==\'31\')B 38;u(k==\'4z\')B 40;B-1}A 21(a,b,c){u(z b!=\'15\')b=R;u(z c!=\'15\')c=R;u(z a==\'19\')a={};u(z a==\'1c\'){C d=2Y(a);u(d==-1)a=$(a);H a=d}u(b){u(z a.2a!=\'19\')a={1e:a};u(z 4A==\'15\')a={2h:a};u(z a.1e==\'1c\')a.1e=$(a.1e)}H u(c){u(z a==\'15\')a={13:a};u(z a==\'G\')a={2i:a}}H{u(z a.2a!=\'19\')a={U:a};u(z a==\'G\')a={1x:a};u(z a.U==\'1c\')a.U=$(a.U);u(z a.1x==\'1c\')a.1x=2Y(a.1x)}B a}A 2B(a,b,c,d,e,f){u(z a==\'1c\'){u(1B(a))a=$(a);H a=1v(a)}u(z a==\'1b\'){u(z a.2a==\'19\')a=$(a);a=N(f).3w(a);u(a==-1)a=0;u(z c!=\'15\')c=R}H{u(z c!=\'15\')c=O}u(1B(a))a=0;H a=1v(a);u(1B(b))b=0;H b=1v(b);u(c){a+=d}a+=b;u(e>0){3O(a>=e){a-=e}3O(a<0){a+=e}}B a}A N(c,f){u(z f!=\'1c\')f=\'\';B $(\'> *\'+f,c)}A 3b(c,o){B N(c,\':1g(\'+o.w.D+\')\')}A 3o(c,o,n){B N(c,\':1g(\'+(o.w.1z+n)+\'):28(\'+(n-1)+\')\')}A 2U(c,o){B N(c,\':1g(\'+o.w.D+\')\')}A 3q(c,o){B N(c,\':1g(\'+o.w.1z+\')\')}A 2W(c,o,n){B N(c,\':1g(\'+(o.w.D+n)+\'):28(\'+(n-1)+\')\')}A 1d(i,o,m){C x=(z m==\'15\')?m:R;u(z m!=\'G\')m=0;i.1l(A(){C t=1v($(T).K(o.y[8]));u(1B(t))t=0;$(T).16(\'3P\',t);$(T).K(o.y[8],((x)?$(T).16(\'3P\'):m+$(T).16(\'1f\')))})}A 2y(i,o,a){3Q=1P(i,o,0,a);3R=2d(i,o,3,a);B[3Q,3R]}A 2d(i,o,a,b){u(z b!=\'15\')b=R;u(z o[o.y[a]]==\'G\'&&b)B o[o.y[a]];u(z o.w[o.y[a]]==\'G\')B o.w[o.y[a]];B 2J(i,o,a+2)}A 2J(i,o,a){C s=0;i.1l(A(){C m=$(T)[o.y[a]](O);u(s<m)s=m});B s}A 2L(b,o,c){C d=b[o.y[c]](),2Z=(o.y[c].4B().4C(\'1H\')>-1)?[\'4D\',\'4E\']:[\'4F\',\'4G\'];2c(a=0;a<2Z.X;a++){C m=1v(b.K(2Z[a]));u(1B(m))m=0;d-=m}B d}A 1P(i,o,a,b){u(z b!=\'15\')b=R;u(z o[o.y[a]]==\'G\'&&b)B o[o.y[a]];u(z o.w[o.y[a]]==\'G\')B o.w[o.y[a]]*i.X;B 3S(i,o,a+2)}A 3S(i,o,a){C s=0;i.1l(A(){s+=$(T)[o.y[a]](O)});B s}A 2K(i,o,a){C s=R,v=R;i.1l(A(){c=$(T)[o.y[a]]();u(s===R)s=c;H u(s!=c)v=O});B v}A 2x(a,o,p){u(z p!=\'15\')p=O;C b=(o.S&&p)?o.F:[0,0,0,0];C c={};c[o.y[0]]=a[0]+b[1]+b[3];c[o.y[3]]=a[1]+b[0]+b[2];B c}A 2b(a,o,p){C b=a.1K(),$i=N(a),$l=$i.1h(\':1n(\'+(o.w.D-1)+\')\');b.K(2x(2y($i.1h(\':1g(\'+o.w.D+\')\'),o,O),o,p));u(o.S){$l.K(o.y[8],$l.16(\'1f\')+o.F[o.y[10]]);a.K(o.y[7],o.F[o.y[9]]);a.K(o.y[6],o.F[o.y[12]])}a.K(o.y[0],1P($i,o,0)*2);a.K(o.y[3],2d($i,o,3))}A 3c(p){u(z p==\'19\')B[0,0,0,0];u(z p==\'G\')B[p,p,p,p];H u(z p==\'1c\')p=p.3T(\'4H\').4I(\'\').3T(\' \');u(z p!=\'1b\'){B[0,0,0,0]}2c(i 4J p){p[i]=1v(p[i])}4K(p.X){2F 0:B[0,0,0,0];2F 1:B[p[0],p[0],p[0],p[0]];2F 2:B[p[0],p[1],p[0],p[1]];2F 3:B[p[0],p[1],p[2],p[1]];4L:B[p[0],p[1],p[2],p[3]]}}A 2f(a,o){C b=(z o[o.y[3]]==\'G\')?o[o.y[3]]:2d(a,o,3);B[(o[o.y[0]]-1P(a,o,0))/2,(b-2d(a,o,3))/2]}A 3m(b,o,c){C d=N(b),1V=0,1y=o.w.D-c-1,x=0;u(1y<0)1y=d.X-1;2c(C a=1y;a>=0;a--){1V+=d.1h(\':1n(\'+a+\')\')[o.y[2]](O);u(1V>o.2M)B x;u(a==0)a=d.X;x++}}A 20(b,o,c){C d=N(b),1V=0,x=0;2c(C a=c;a<=d.X-1;a++){1V+=d.1h(\':1n(\'+a+\')\')[o.y[2]](O);u(1V>o.2M)B x;u(a==d.X-1)a=-1;x++}}A 18(m){u(z m==\'1c\')m=\'1s: \'+m;u(2E.2G&&2E.2G.18)2E.2G.18(m);H 4M{2G.18(m)}4N(4O){}B R}$.1r.3u=A(o){B T.1s(o)}})(4P);',62,300,'||||opts||||||||||||||||||||||||||if||items||dimensions|typeof|function|return|var|visible|trigger|padding|number|else|auto|totalItems|css|next|prev|getItems|true|firstItem|a_dur|false|usePadding|this|button|scroll|pagination|length|variable|easing||||play|duration|boolean|data|bind|log|undefined|unbind|object|string|resetMargin|container|cfs_origCssMargin|lt|filter|c_new|l_old|mousewheel|each|pause|eq|l_new|animate|preventDefault|fn|carouFredSel|direction|left|parseInt|w_siz|key|start|oldVisible|position|isNaN|circular|l_cur|stop|updatePageStatus|destroy|width|marginRight|marginBottom|parent|is|pauseOnHover|Not|last|getTotalSize|a_cur|a_old|slideTo|linkAnchors|click|total|height|extend|variableVisible|Math|getVisibleItemsNext|getNaviObject|nap|marginTop|marginLeft|pausedGlobal|oI|disabled|gt|remove|jquery|setSizes|for|getLargestSize|top|getAutoPadding|minimum|keys|pauseDuration|showNavi|autoTimeout|null|autoInterval|pauseTimePassed|not|scrolling|slidePrev|slideNext|valid|conditions|onEnd|infinite|addClass|mapWrapperSizes|getSizes|onBefore|onAfter|getItemIndex|hover|num|window|case|console|selected|init|getTrueLargestSize|hasVariableSizes|getTrueInnerSize|maxDimention|anchorBuilder|delay|float|unbind_events|animated|removeClass|appendTo|getNewItemsPrev|a_new|getNewItemsNext|append|getKeyCode|arr|defaults|up|right|innerWidth|outerWidth|innerHeight|outerHeight||||floor|getCurrentItems|getPadding|pageAnchorBuilder|build|absolute|relative|cfs_origCss|bind_events|100|stopImmediatePropagation|enough|getVisibleItemsPrev|clone|getOldItemsPrev|complete|getOldItemsNext|insertItem|end|removeItem|caroufredsel|hash|index|bind_buttons|document|keyup|keyCode|eval|The|public|method|deprecated|use|the|custom|event|link_anchors|caroufredsel_wrapper|random|span|while|cfs_tempCssMargin|s1|s2|getTotalSizeVariable|split|No|element|50|500|2500|fixed||Carousels|CSS|attribute|should|be|static|or|overflow||hidden|none|clearTimeout|clearInterval|setTimeout|resume|setInterval|prependTo|before|body|find|replaceWith|ceil|round|58|configuration|current_position|wrap|div|class|location|swing|href|hide|show|down|Object|toLowerCase|indexOf|paddingLeft|paddingRight|paddingTop|paddingBottom|px|join|in|switch|default|try|catch|err|jQuery'.split('|'),0,{}))


