(function(c){function f(e,b,d,g){if(!b.busy){var a=e[0].parentNode,i=e[b.currSlide],h=e[b.nextSlide];if(!(a.cycleTimeout===0&&!d)){if(d||!a.cyclePause){b.before.length&&c.each(b.before,function(l,j){j.apply(h,[i,h,b,g])});d=function(){c.browser.msie&&this.style.removeAttribute("filter");c.each(b.after,function(l,j){j.apply(h,[i,h,b,g])})};if(b.nextSlide!=b.currSlide){b.busy=1;c.fn.cycle.custom(i,h,b,d)}d=b.nextSlide+1==e.length;b.nextSlide=d?0:b.nextSlide+1;b.currSlide=d?e.length-1:b.nextSlide-1}if(b.timeout)a.cycleTimeout=
setTimeout(function(){f(e,b,0,!b.rev)},b.timeout)}}}function k(e,b,d){var g=e[0].parentNode,a=g.cycleTimeout;if(a){clearTimeout(a);g.cycleTimeout=0}b.nextSlide=b.currSlide+d;if(b.nextSlide<0)b.nextSlide=e.length-1;else if(b.nextSlide>=e.length)b.nextSlide=0;f(e,b,1,d>=0);return false}c.fn.cycle=function(e){return this.each(function(){e=e||{};this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cyclePause=this.cycleTimeout=0;var b=c(this),d=e.slideExpr?c(e.slideExpr,this):b.children(),g=d.get();
if(g.length<2)window.console&&window.console.log&&window.console.log("terminating; too few slides: "+g.length);else{var a=c.extend({},c.fn.cycle.defaults,e||{},c.metadata?b.metadata():c.meta?b.data():{});a.before=a.before?[a.before]:[];a.after=a.after?[a.after]:[];a.after.unshift(function(){a.busy=0});var i=this.className;a.width=parseInt((i.match(/w:(\d+)/)||[])[1])||a.width;a.height=parseInt((i.match(/h:(\d+)/)||[])[1])||a.height;a.timeout=parseInt((i.match(/t:(\d+)/)||[])[1])||a.timeout;b.css("position")==
"static"&&b.css("position","relative");a.width&&b.width(a.width);a.height&&a.height!="auto"&&b.height(a.height);d.css({position:"absolute",top:0,left:0}).hide().each(function(h){c(this).css("z-index",g.length-h)});c(g[0]).css("opacity",1).show();c.browser.msie&&g[0].style.removeAttribute("filter");a.fit&&a.width&&d.width(a.width);a.fit&&a.height&&a.height!="auto"&&d.height(a.height);a.pause&&b.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});c.fn.cycle.transitions.fade(b,d,a);d.each(function(){var h=
c(this);this.cycleH=a.fit&&a.height?a.height:h.height();this.cycleW=a.fit&&a.width?a.width:h.width()});d.not(":eq(0)").css({opacity:0});a.cssFirst&&c(d[0]).css(a.cssFirst);if(a.timeout){if(a.speed.constructor==String)a.speed={slow:600,fast:200}[a.speed]||400;for(a.sync||(a.speed/=2);a.timeout-a.speed<250;)a.timeout+=a.speed}a.speedIn=a.speed;a.speedOut=a.speed;a.slideCount=g.length;a.currSlide=0;a.nextSlide=1;b=d[0];a.before.length&&a.before[0].apply(b,[b,b,a,true]);a.after.length>1&&a.after[1].apply(b,
[b,b,a,true]);if(a.click&&!a.next)a.next=a.click;a.next&&c(a.next).bind("click",function(){return k(g,a,a.rev?-1:1)});a.prev&&c(a.prev).bind("click",function(){return k(g,a,a.rev?1:-1)});if(a.timeout)this.cycleTimeout=setTimeout(function(){f(g,a,0,!a.rev)},a.timeout+(a.delay||0))}})};c.fn.cycle.custom=function(e,b,d,g){var a=c(e),i=c(b);i.css({opacity:0});var h=function(){i.animate({opacity:1},d.speedIn,d.easeIn,g)};a.animate({opacity:0},d.speedOut,d.easeOut,function(){a.css({display:"none"});d.sync||
h()});d.sync&&h()};c.fn.cycle.transitions={fade:function(e,b,d){b.not(":eq(0)").css("opacity",0);d.before.push(function(){c(this).show()})}};c.fn.cycle.ver=function(){return"Lite-1.0"};c.fn.cycle.defaults={timeout:4200,speed:2E3,next:null,prev:null,before:null,after:null,height:"auto",sync:1,fit:0,pause:0,delay:0,slideExpr:null}})(jQuery);
function toggleLayer(c){var f;if(document.getElementById)f=document.getElementById(c);else if(document.all)f=document.all[c];else if(document.layers)f=document.layers[c];c=f.style;if(c.display==""&&f.offsetWidth!=undefined&&f.offsetHeight!=undefined)c.display=f.offsetWidth!=0&&f.offsetHeight!=0?"block":"none";c.display=c.display==""||c.display=="block"?"none":"block"}
jQuery(document).ready(function(c){c(".ttip-div").hide().appendTo(c("body"));c(".ttip-span").hover(function(f){c("#t"+c(this).attr("id")).css("top",f.pageY-255+"px").css("left",f.pageX+10+"px").fadeIn(400)},function(){c("#t"+c(this).attr("id")).fadeOut(200)});c(".ttip-span").mousemove(function(f){c("#t"+c(this).attr("id")).css("top",f.pageY-255+"px").css("left",f.pageX+10+"px")})});
