
// 'stacks' is the Stacks global object.
// All of the other Stacks related Javascript will 
// be attatched to it.
var stacks = {};


// this call to jQuery gives us access to the globaal
// jQuery object. 
// 'noConflict' removes the '$' variable.
// 'true' removes the 'jQuery' variable.
// removing these globals reduces conflicts with other 
// jQuery versions that might be running on this page.
stacks.jQuery = jQuery.noConflict(true);

// Javascript for stacks_in_102_page12
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_102_page12 = {};

// A closure is defined and assigned to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for referring
// to this object from elsewhere.
stacks.stacks_in_102_page12 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

/*
 * jQuery FlexSlider v1.6
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 *
 */
(function(a){a.flexslider=function(c,b){var d=c;d.init=function(){d.vars=a.extend({},a.flexslider.defaults,b);d.data("flexslider",true);d.container=a(".slides",d);d.slides=a(".slides > li",d);d.count=d.slides.length;d.animating=false;d.currentSlide=d.vars.slideToStart;d.eventType=("ontouchstart" in document.documentElement)?"touchstart":"click";if(d.vars.controlsContainer!=""){d.controlsContainer=a(d.vars.controlsContainer).eq(a(".slides").index(d.container));d.containerExists=d.controlsContainer.length>0}if(d.vars.manualControls!=""){if(d.containerExists){d.manualControls=a(d.vars.manualControls,d.controlsContainer)}else{d.manualControls=a(d.vars.manualControls,d)}d.manualExists=d.manualControls.length>0}if(d.vars.randomize&&d.count>1){d.slides.sort(function(){return(Math.round(Math.random())-0.5)});d.container.empty().append(d.slides)}if(d.vars.animation.toLowerCase()=="slide"&&d.count>1){d.css({overflow:"hidden"});d.container.append(d.slides.filter(":first").clone().addClass("clone")).prepend(d.slides.filter(":last").clone().addClass("clone"));d.container.width(((d.count+2)*d.width())+2000);d.newSlides=a(".slides > li",d);setTimeout(function(){d.newSlides.width(d.width()).css({"float":"left"}).show()},100);d.container.css({marginLeft:(-1*(d.currentSlide+1))*d.width()+"px"})}else{d.slides.hide().eq(d.currentSlide).fadeIn(400)}if(d.vars.controlNav&&d.count>1){if(d.manualExists){d.controlNav=d.manualControls}else{var e=a('<ol class="flex-control-nav"></ol>');var f=1;for(var g=0;g<d.count;g++){e.append("<li><a>"+f+"</a></li>");f++}if(d.containerExists){a(d.controlsContainer).append(e);d.controlNav=a(".flex-control-nav li a",d.controlsContainer)}else{d.append(e);d.controlNav=a(".flex-control-nav li a",d)}}d.controlNav.eq(d.currentSlide).addClass("active");d.controlNav.bind(d.eventType,function(i){i.preventDefault();if(!(a(this).hasClass("active")||d.animating)){d.controlNav.removeClass("active");a(this).addClass("active");var h=d.controlNav.index(a(this));d.flexAnimate(h);if(d.vars.pauseOnAction){clearInterval(d.animatedSlides)}}})}if(d.vars.directionNav&&d.count>1){if(d.containerExists){a(d.controlsContainer).append(a('<ul class="flex-direction-nav"><li><a class="prev" href="#">'+d.vars.prevText+'</a></li><li><a class="next" href="#">'+d.vars.nextText+"</a></li></ul>"));d.directionNav=a(".flex-direction-nav li a",d.controlsContainer)}else{d.append(a('<ul class="flex-direction-nav"><li><a class="prev" href="#">'+d.vars.prevText+'</a></li><li><a class="next" href="#">'+d.vars.nextText+"</a></li></ul>"));d.directionNav=a(".flex-direction-nav li a",d)}d.directionNav.bind(d.eventType,function(h){h.preventDefault();if(d.animating){return}else{if(a(this).hasClass("next")){var i=(d.currentSlide==d.count-1)?0:d.currentSlide+1}else{var i=(d.currentSlide==0)?d.count-1:d.currentSlide-1}if(d.vars.controlNav){d.controlNav.removeClass("active");d.controlNav.eq(i).addClass("active")}d.flexAnimate(i);if(d.vars.pauseOnAction){clearInterval(d.animatedSlides)}}})}if(d.vars.keyboardNav&&d.count>1&&a("ul.slides").length==1){a(document).keyup(function(h){if(d.animating){return}else{if(h.keyCode!=39&&h.keyCode!=37){return}else{if(h.keyCode==39){var i=(d.currentSlide==d.count-1)?0:d.currentSlide+1}else{if(h.keyCode==37){var i=(d.currentSlide==0)?d.count-1:d.currentSlide-1}}if(d.vars.controlNav){d.controlNav.removeClass("active");d.controlNav.eq(i).addClass("active")}d.flexAnimate(i);if(d.vars.pauseOnAction){clearInterval(d.animatedSlides)}}}})}if(d.vars.slideshow){d.animatedSlides;if(d.vars.pauseOnHover&&d.vars.slideshow){d.hover(function(){clearInterval(d.animatedSlides)},function(){d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed)})}if(d.count>1){d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed)}}if(d.vars.touchSwipe&&"ontouchstart" in document.documentElement&&d.count>1){d.each(function(){var h,i=20;isMoving=false;function l(){this.removeEventListener("touchmove",j);h=null;isMoving=false}function j(p){if(isMoving){var m=p.touches[0].pageX,n=h-m;if(Math.abs(n)>=i){l();if(n>0){var o=(d.currentSlide==d.count-1)?0:d.currentSlide+1}else{var o=(d.currentSlide==0)?d.count-1:d.currentSlide-1}if(d.vars.controlNav){d.controlNav.removeClass("active");d.controlNav.eq(o).addClass("active")}d.flexAnimate(o);if(d.vars.pauseOnAction){clearInterval(d.animatedSlides)}}}}function k(m){if(m.touches.length==1){h=m.touches[0].pageX;isMoving=true;this.addEventListener("touchmove",j,false)}}if("ontouchstart" in document.documentElement){this.addEventListener("touchstart",k,false)}})}if(d.vars.animation.toLowerCase()=="slide"&&d.count>1){d.sliderTimer;a(window).resize(function(){d.newSlides.width(d.width());d.container.width(((d.count+2)*d.width())+2000);clearTimeout(d.sliderTimer);d.sliderTimer=setTimeout(function(){d.flexAnimate(d.currentSlide)},300)})}};d.flexAnimate=function(e){if(!d.animating){d.animating=true;if(d.vars.animation.toLowerCase()=="slide"){if(d.currentSlide==0&&e==d.count-1){d.container.animate({marginLeft:"0px"},d.vars.animationDuration,function(){d.container.css({marginLeft:(-1*d.count)*d.slides.filter(":first").width()+"px"});d.animating=false;d.currentSlide=e})}else{if(d.currentSlide==d.count-1&&e==0){d.container.animate({marginLeft:(-1*(d.count+1))*d.slides.filter(":first").width()+"px"},d.vars.animationDuration,function(){d.container.css({marginLeft:-1*d.slides.filter(":first").width()+"px"});d.animating=false;d.currentSlide=e})}else{d.container.animate({marginLeft:(-1*(e+1))*d.slides.filter(":first").width()+"px"},d.vars.animationDuration,function(){d.animating=false;d.currentSlide=e})}}}else{d.css({minHeight:d.slides.eq(d.currentSlide).height()});d.slides.eq(d.currentSlide).fadeOut(d.vars.animationDuration,function(){d.slides.eq(e).fadeIn(d.vars.animationDuration,function(){d.animating=false;d.currentSlide=e});d.css({minHeight:"inherit"})})}}};d.animateSlides=function(){if(d.animating){return}else{var e=(d.currentSlide==d.count-1)?0:d.currentSlide+1;if(d.vars.controlNav){d.controlNav.removeClass("active");d.controlNav.eq(e).addClass("active")}d.flexAnimate(e)}};d.init()};a.flexslider.defaults={animation:"fade",slideshow:true,slideshowSpeed:7000,animationDuration:500,directionNav:true,controlNav:true,keyboardNav:true,touchSwipe:true,prevText:"Previous",nextText:"Next",randomize:false,slideToStart:0,pauseOnAction:true,pauseOnHover:false,controlsContainer:"",manualControls:""};a.fn.flexslider=function(b){return this.each(function(){if(a(this).data("flexslider")!=true){new a.flexslider(a(this),b)}})}})(jQuery);
$(document).ready(function() {
	var e = $('#image-slider-stacks_in_102_page12');
	var w = e.width();
	var h = e.height();
	var offset = 16;
	var border = 4;
	e.width(w - 2*(offset+border));
	e.css('left', offset+'px');
	
	if (!false)
		$('#flex-control-nav-container-stacks_in_102_page12').hide();
	
	e.flexslider({
		animation: "slide",              //Select your animation type (fade/slide)
    	slideshow: true,                //Should the slider animate automatically by default? (true/false)
    	slideshowSpeed: 6060,           //Set the speed of the slideshow cycling, in milliseconds
    	animationDuration: 500,         //Set the speed of animations, in milliseconds
    	directionNav: false,             //Create navigation for previous/next navigation? (true/false)
    	controlNav: false,               //Create navigation for paging control of each clide? (true/false)
    	prevText: "Previous",           //Set the text for the "previous" directionNav item
    	nextText: "Next",               //Set the text for the "next" directionNav item
    	randomize: true,               //Randomize slide order on page load? (true/false)
    	pauseOnHover: true,            //Pause the slideshow when hovering over slider, then resume when no longer hovering (true/false)
    	//controlsContainer: ".flex-container",
    	//manualControls: ".flex-control-nav"
    	controlsContainer: "#flex-control-nav-container-stacks_in_102_page12",          //Advanced property: Can declare which container the navigation elements should be appended too. Default container is the flexSlider element. Example use would be ".flexslider-container", "#container", etc. If the given element is not found, the default action will be taken.
    	//manualControls: "" 
	});
});

	return stack;
})(stacks.stacks_in_102_page12);


// Javascript for stacks_in_5_page12
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_5_page12 = {};

// A closure is defined and assigned to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for referring
// to this object from elsewhere.
stacks.stacks_in_5_page12 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

//-- InfoBar Stack v1.0.6 by Joe Workman --//
/* Activebar2 is free software http://www.westhoffswelt.de */
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}('(d($){$.7.4=d(a){p a=$.7.1b({},$.7.4.G,a);i($.7.4.8==q){$.7.4.8=H(a)}I($.7.4.8,a);$.7.4.y();$(\'.r\',$.7.4.8).1c();$(m).1d(d(){$(\'.r\',$.7.4.8).s(m)});$.7.4.8.J(\'z\');i(a.n!=q){$.7.4.8.z(d(){j.1e.1f=a.n})}$.7.4.8.9(\'e\',\'-\'+$.7.4.8.k()+\'o\');$.7.4.K()};$.7.4.G={\'l\':\'1g\',\'L\':\'#1h\',\'M\':\'1i\',\'N\':\'1j 1k 1l,1m,1n-1o\',\'O\':\'1p\',\'A\':\'1q\',\'t\':\'P/4-1r.Q\',\'R\':\'P/4-1s.Q\',\'n\':q};$.7.4.g=0;$.7.4.8=q;$.7.4.K=d(){i($.7.4.g>1){B}$.7.4.g=2;$.7.4.8.9(\'C\',\'1t\');p a=$.7.4.8.k();$.7.4.8.S({\'e\':\'+=\'+a+\'o\'},a*T,\'U\',d(){$.7.4.g=3})};$.7.4.y=d(){i($.7.4.g<2){B}$.7.4.g=1;p a=$.7.4.8.k();$.7.4.8.S({\'e\':\'-=\'+a+\'o\'},a*T,\'U\',d(){$.7.4.8.9(\'C\',\'V\');$.7.4.1u=1v})};d H(b){p c=$(\'<f></f>\').u(\'1w\',\'4-8\');c.9({\'C\':\'V\',\'W\':\'1x\',\'1y\':\'1z\',\'e\':\'X\',\'v\':\'X\',\'1A\':\'1B\'});$(j).1C(\'Y\',d(){c.w($(m).w())});$(j).1D(\'Y\');i($.D.1E&&($.D.Z.10(0,1)==\'5\'||$.D.Z.10(0,1)==\'6\')){c.9(\'W\',\'1F\');$(j).1G(d(){c.1H(11,11);i($.7.4.g==3){c.9(\'e\',$(j).12()+\'o\')}1I{c.9(\'e\',($(j).12()-c.k())+\'o\')}})}c.s($(\'<f></f>\').u(\'E\',\'t\').9({\'13\':\'v\',\'w\':\'x\',\'k\':\'x\',\'F\':\'14 h h h\'}));c.s($(\'<f></f>\').u(\'E\',\'15\').9({\'13\':\'1J\',\'F\':\'14 h h h\',\'w\':\'x\',\'k\':\'x\'}).z(d(a){$.7.4.y();a.1K()}));c.s($(\'<f></f>\').u(\'E\',\'r\').9({\'F\':\'1L 16 h 16\'}));$(\'1M\').1N(c);B c};d I(a,b){a.9({\'l\':b.l,\'1O\':\'1P 1Q \'+b.L});a.J(\'1R 1S\');a.1T(d(){$(m).9(\'17\',b.M)},d(){$(m).9(\'17\',b.l)});$(\'.t\',a).9(\'l\',\'18 n( \\\'\'+b.t+\'\\\' ) e v 19-1a\');$(\'.15\',a).9(\'l\',\'18 n( \\\'\'+b.R+\'\\\' ) e v 19-1a\');$(\'.r\',a).9({\'1U\':b.O,\'1V\':b.N,\'A\':b.A})}})(1W);',62,121,'||||activebar|||fn|container|css||||function|top|div|state|4px|if|window|height|background|this|url|px|var|null|content|append|icon|attr|left|width|16px|hide|click|fontSize|return|display|browser|class|margin|defaults|initializeActivebar|setOptionsOnContainer|unbind|show|border|highlight|font|fontColor|images|png|button|animate|20|linear|none|position|0px|resize|version|substring|true|scrollTop|float|6px|close|28px|backgroundColor|transparent|no|repeat|extend|empty|each|location|href|InfoBackground|c8c8c8|Highlight|Bitstream|Vera|Sans|verdana|sans|serif|InfoText|12px|information|closebtn|block|visible|false|id|fixed|zIndex|9999|cursor|pointer|bind|trigger|msie|absolute|scroll|stop|else|right|stopPropagation|8px|body|prepend|borderBottom|1px|solid|mouseenter|mouseleave|hover|color|fontFamily|jQuery'.split('|'),0,{}))

$(document).ready(function() {
    $('#infobar_stacks_in_5_page12').activebar({  button:'index_files/infobar-close.png',
                                    icon:'index_files/infobar-close.png',
                                    url:null,
                                    background:'#666666',
                                    highlight:'#4C4C4C',
                                    font:'sans-serif, verdana',
                                    fontColor:'#FFFFFF',
                                    fontSize:'10pt'
    });
});
//-- End InfoBar Stack --//

	return stack;
})(stacks.stacks_in_5_page12);



