
// '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_41_page38
// ---------------------------------------------------------------------

// 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_41_page38 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_41_page38 = (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 Orbit Plugin 1.1 
 * www.ZURB.com/playground
 * Copyright 2010, ZURB
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
*/


(function($) {

    $.fn.orbit = function(options) {

        //Yo' defaults
        var defaults = {  
            animation: 'fade', //fade, horizontal-slide, vertical-slide
            animationSpeed: 800, //how fast animtions are
            advanceSpeed: 4000, //if auto advance is enabled, time between transitions 
            startClockOnMouseOut: true, //if clock should start on MouseOut
            startClockOnMouseOutAfter: 3000, //how long after mouseout timer should start again
            directionalNav: true, //manual advancing directional navs
            captions: true, //do you want captions?
            captionAnimationSpeed: 800, //if so how quickly should they animate in
            timer: false, //true or false to have the timer
            bullets: false //true or false to activate the bullet navigation
            };  
        
        //Extend those options
        var options = $.extend(defaults, options); 
	
        return this.each(function() {
        
            //important global goodies
            var activeImage = 0;
            var numberImages = 0;
            var orbitWidth;
            var orbitHeight;
            var locked;
            
            //Grab each Shifter and add the class
            var orbit = $(this).addClass('orbit')
            
            //Collect all images and set slider size to biggest o' da images
            var images = orbit.find('img, a img');
            images.each(function() {
                var _img = $(this);

				// ERIC
				var forcedWidth = jQuery.trim(703);
				var forcedHeight = jQuery.trim(253);
				if (forcedWidth) {
					_img.width(forcedWidth);
					orbit.width(forcedWidth);
					orbitWidth = orbit.width()
				}
				else {
	                var _imgWidth = _img.width();
	                orbit.width(_imgWidth);
	                orbitWidth = orbit.width()
				}
				if (forcedHeight) {
					_img.height(forcedHeight);
					orbit.height(forcedHeight);
					orbitHeight = orbit.height();
				}
				else {
	                var _imgHeight = _img.height();
	                orbit.height(_imgHeight);
	                orbitHeight = orbit.height()
				}
				numberImages++;
                
				///////////////


/*	COMMENTED OUT BY ERIC
	
                var _imgWidth = _img.width();
                var _imgHeight = _img.height();
                orbit.width(_imgWidth);
                orbitWidth = orbit.width()
                orbit.height(_imgHeight)
                orbitHeight = orbit.height();
                numberImages++;
*/
            });
            
            //set initial front photo z-index
            images.eq(activeImage).css({"z-index" : 3});
            
            //Timer info
            if(options.timer) {         	
                var timerHTML = '<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>'
                orbit.append(timerHTML);
                var timer = $('div.timer')
                var timerRunning;
                if(timer.length != 0) {
                    var speed = (options.advanceSpeed)/180;
                    var rotator = $('div.timer span.rotator')
                    var mask = $('div.timer span.mask')
                    var pause = $('div.timer span.pause')
                    var degrees = 0;
                    var clock;
                    function startClock() {
                        timerRunning = true;
                        pause.removeClass('active')
                        clock = setInterval(function(e){
                            var degreeCSS = "rotate("+degrees+"deg)"
                            degrees += 2
                            rotator.css({ 
                                "-webkit-transform": degreeCSS,
                                "-moz-transform": degreeCSS,
                                "-o-transform": degreeCSS
                            })
                            if(degrees > 180) {
                                rotator.addClass('move')
                                mask.addClass('move')
                            }
                            if(degrees > 360) {
                                rotator.removeClass('move')
                                mask.removeClass('move')
                                degrees = 0;
                                shift("next")
                            }
                        }, speed);
                    };  
                    function stopClock() {
                        timerRunning = false;
                        clearInterval(clock)
                        pause.addClass('active')
                    }   
                    startClock();
                    timer.click(function() {
                        if(!timerRunning) {
                            startClock();
                        } else { 
                            stopClock();
                        }
                    })
                    if(options.startClockOnMouseOut){
                        var outTimer;
                        orbit.mouseleave(function() {
                            outTimer = setTimeout(function() {
                                if(!timerRunning){
                                    startClock();
                                }
                            }, options.startClockOnMouseOutAfter)
                        })
                        orbit.mouseenter(function() {
                            clearTimeout(outTimer);
                        })
                    }
                }
            }           
            //animation locking functions
            function unlock() {
                locked = false;
            }
            function lock() { 
                locked = true;
            }
            
            //CaptionComputing
            if(options.captions) {
                var captionHTML = '<div class="caption"><span class="orbit-caption"></span></div>';
                orbit.append(captionHTML);
                var caption = orbit
                	.children('div.caption')
                	.children('span')
                	.addClass('orbit-caption')
                	.show();
                	
                function setCaption() {
					// ERIC 
					// caption.hide();
					///////////////
					
                	var _captionLocation = images.eq(activeImage).attr('rel'); //get ID from rel tag on image 
					// ERIC (changed $("#"+_captionLocation) to images.eq(activeImage).attr('alt'), because for some reason, it keeps returning the old stuff. added a trim)
                    // var _captionHTML = $("#"+_captionLocation).html(); //get HTML from the matching HTML entity
                    var _captionHTML = jQuery.trim(images.eq(activeImage).attr('alt')); //get HTML from the matching HTML entity
					//////////
                    var _captionHeight = caption.height() + 20; //set height of the caption
                             	
                	caption
                		.attr('id',"#"+_captionLocation) // Add ID caption
                    	.html(_captionHTML); // Change HTML in Caption 
                    
                    if(!_captionHTML) {
                        caption.parent().stop().animate({"bottom" : -_captionHeight}, options.captionAnimationSpeed);
                    } else { 
                        caption.parent().stop().animate({"bottom" : 0}, options.captionAnimationSpeed);
						// ERIC 
						// caption.fadeIn();
						///////////////
                    }
                }
            	setCaption();
            }
            

            //DirectionalNav { rightButton --> shift("next"), leftButton --> shift("prev");
            if(options.directionalNav) {
                var directionalNavHTML = '<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>';
                orbit.append(directionalNavHTML);
                var leftBtn = orbit.children('div.slider-nav').children('span.left');
                var rightBtn = orbit.children('div.slider-nav').children('span.right');
                leftBtn.click(function() { 
                    if(options.timer) { stopClock(); }
                    shift("prev");
                });
                rightBtn.click(function() {
                    if(options.timer) { stopClock(); }
                    shift("next")
                });
            }
            
            //BulletControls
            if(options.bullets) { 
            	var bulletHTML = '<ul class="orbit-bullets"></ul>';            	
            	orbit.append(bulletHTML);
            	var bullets = $('ul.orbit-bullets');
            	for( i=0; i<numberImages; i++) {
            		var liMarkup = $('<li>'+i+'</li>') 
            		$('ul.orbit-bullets').append(liMarkup);
            		liMarkup.data('index',i);
            		liMarkup.click(function() {
            			if(options.timer) { stopClock(); }
            			shift($(this).data('index'));
            		});
            	}
            	function setActiveBullet() { 
            		bullets.children('li').removeClass('active').eq(activeImage).addClass('active')
            	}
            	setActiveBullet();
            }
            
            //Animating the shift!
            function shift(direction) {
        	    //remember previous activeImg
                var prevActiveImage = activeImage;
                var slideDirection = direction;
                //exit function if bullet clicked is same as the current image
                if(prevActiveImage == slideDirection) { return false; }
                //reset Z & Unlock
                function resetAndUnlock() {
                    images.eq(prevActiveImage).css({"z-index" : 1});
                    unlock();
                }
                if(!locked) {
                    lock();
					 //deduce the proper activeImage
                    if(direction == "next") {
                        activeImage++
                        if(activeImage == numberImages) {
                            activeImage = 0;
                        }
                    } else if(direction == "prev") {
                        activeImage--
                        if(activeImage < 0) {
                            activeImage = numberImages-1;
                        }
                    } else {
                        activeImage = direction;
                        if (prevActiveImage < activeImage) { 
                            slideDirection = "next";
                        } else if (prevActiveImage > activeImage) { 
                            slideDirection = "prev"
                        }
                    }
                    //set to correct bullet
                     if(options.bullets) { setActiveBullet(); }              
                    
                    //fade
                    if(options.animation == "fade") {
                        images.eq(prevActiveImage).css({"z-index" : 2});
                        images.eq(activeImage).css({"opacity" : 0, "z-index" : 3})
                        .animate({"opacity" : 1}, options.animationSpeed, resetAndUnlock);
                        if(options.captions) { setCaption(); }
                    }
                    //horizontal-slide
                    if(options.animation == "horizontal-slide") {
                        images.eq(prevActiveImage).css({"z-index" : 2});
                        if(slideDirection == "next") {
                            images.eq(activeImage).css({"left": orbitWidth, "z-index" : 3})
                            .animate({"left" : 0}, options.animationSpeed, resetAndUnlock);
                        }
                        if(slideDirection == "prev") {
                            images.eq(activeImage).css({"left": -orbitWidth, "z-index" : 3})
                            .animate({"left" : 0}, options.animationSpeed, resetAndUnlock);
                        }
                        if(options.captions) { setCaption(); }
                    }
                    //vertical-slide
                    if(options.animation == "vertical-slide") { 
                        images.eq(prevActiveImage).css({"z-index" : 2});
                        if(slideDirection == "prev") {
                            images.eq(activeImage).css({"top": orbitHeight, "z-index" : 3})
                            .animate({"top" : 0}, options.animationSpeed, resetAndUnlock);
                        }
                        if(slideDirection == "next") {
                            images.eq(activeImage).css({"top": -orbitHeight, "z-index" : 3})
                            .animate({"top" : 0}, options.animationSpeed, resetAndUnlock);
                        }
                        if(options.captions) { setCaption(); }
                    }
                } //lock
            }//orbit function
        });//each call
    }//orbit plugin call
})(jQuery);


//////////////////

(function($) { 
	$(function() {
		var animationEffect = "2";
		var arrayOfImages = $('#stacks_in_41_page38_holding .centered_image');
		var timerDuration = 4000;
		var directionalNav = true;
		var showCaptions = true;
		var captionAnimationSpeed = 2800;
		var useTimer = true;
		var showBullets= true;
		
		var workingDiv = '#stacks_in_41_page38_working';
		var captionsHolder = '#orbit_captions_holder_stacks_in_41_page38';
		
		///////////
				
		eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('6(3==1){3="w"}e 6(3==2){3="v-f"}e{3="x-f"}A(i=0;i<5.z;i++){g 4=$(5[i]).k(\'7, a 7\').b(\'t\');4=s.o(4);6(4){g 8="p"+h.r(h.C()*J);$(N).9(\'<d M="j-L" O="\'+8+\'">\'+4+\'</d>\')}$(5[i]).k(\'7\').b("E",8);$(c).9(5[i].H)}$(c).j({B:3,I:G,F:D,K:Q,l:l,P:q,m:m,n:y,u:R});',54,54,'|||animationEffect|firstAltText|arrayOfImages|if|img|randomID|append||attr|workingDiv|span|else|slide|var|Math||orbit|find|directionalNav|captionAnimationSpeed|timer|trim|imageSlideshow_|showCaptions|floor|jQuery|alt|bullets|horizontal|fade|vertical|useTimer|length|for|animation|random|true|rel|startClockOnMouseOut|timerDuration|innerHTML|advanceSpeed|9999999|startClockOnMouseOutAfter|caption|class|captionsHolder|id|captions|3000|showBullets'.split('|'),0,{}));
	});
})(jQuery);

	return stack;
})(stacks.stacks_in_41_page38);


// Javascript for stacks_in_50_page38
// ---------------------------------------------------------------------

// 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_50_page38 = {};

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Background Stack by http://www.doobox.co.uk
// Copyright@2010 Mr JG Simpson, trading as Doobox.
// all rights reserved.



$(document).ready(function() {
jQuery.url = function()
{
	var segments = {};
	
	var parsed = {};
	
	/**
    * Options object. Only the URI and strictMode values can be changed via the setters below.
    */
  	var options = {
	
		url : window.location, // default URI is the page in which the script is running
		
		strictMode: false, // 'loose' parsing by default
	
		key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], // keys available to query 
		
		q: {
			name: "queryKey",
			parser: /(?:^|&)([^&=]*)=?([^&]*)/g
		},
		
		parser: {
			strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs
			loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and deviates from specs
		}
		
	};
	
    /**
     * Deals with the parsing of the URI according to the regex above.
 	 * Written by Steven Levithan - see credits at top.
     */		
	var parseUri = function()
	{
		str = decodeURI( options.url );
		
		var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec( str );
		var uri = {};
		var i = 14;

		while ( i-- ) {
			uri[ options.key[i] ] = m[i] || "";
		}

		uri[ options.q.name ] = {};
		uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, $2 ) {
			if ($1) {
				uri[options.q.name][$1] = $2;
			}
		});

		return uri;
	};

    /**
     * Returns the value of the passed in key from the parsed URI.
  	 * 
	 * @param string key The key whose value is required
     */		
	var key = function( key )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		} 
		if ( key == "base" )
		{
			if ( parsed.port !== null && parsed.port !== "" )
			{
				return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";	
			}
			else
			{
				return parsed.protocol+"://"+parsed.host+"/";
			}
		}
	
		return ( parsed[key] === "" ) ? null : parsed[key];
	};
	
	/**
     * Returns the value of the required query string parameter.
  	 * 
	 * @param string item The parameter whose value is required
     */		
	var param = function( item )
	{
		if ( ! parsed.length )
		{
			setUp(); // if the URI has not been parsed yet then do this first...	
		}
		return ( parsed.queryKey[item] === null ) ? null : parsed.queryKey[item];
	};

    /**
     * 'Constructor' (not really!) function.
     *  Called whenever the URI changes to kick off re-parsing of the URI and splitting it up into segments. 
     */	
	var setUp = function()
	{
		parsed = parseUri();
		
		getSegments();	
	};
	
    /**
     * Splits up the body of the URI into segments (i.e. sections delimited by '/')
     */
	var getSegments = function()
	{
		var p = parsed.path;
		segments = []; // clear out segments array
		segments = parsed.path.length == 1 ? {} : ( p.charAt( p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 ) ).split("/");
	};
	
	return {
		
	    /**
	     * Sets the parsing mode - either strict or loose. Set to loose by default.
	     *
	     * @param string mode The mode to set the parser to. Anything apart from a value of 'strict' will set it to loose!
	     */
		setMode : function( mode )
		{
			strictMode = mode == "strict" ? true : false;
			return this;
		},
		
		/**
	     * Sets URI to parse if you don't want to to parse the current page's URI.
		 * Calling the function with no value for newUri resets it to the current page's URI.
	     *
	     * @param string newUri The URI to parse.
	     */		
		setUrl : function( newUri )
		{
			options.url = newUri === undefined ? window.location : newUri;
			setUp();
			return this;
		},		
		
		/**
	     * Returns the value of the specified URI segment. Segments are numbered from 1 to the number of segments.
		 * For example the URI http://test.com/about/company/ segment(1) would return 'about'.
		 *
		 * If no integer is passed into the function it returns the number of segments in the URI.
	     *
	     * @param int pos The position of the segment to return. Can be empty.
	     */	
		segment : function( pos )
		{
			if ( ! parsed.length )
			{
				setUp(); // if the URI has not been parsed yet then do this first...	
			} 
			if ( pos === undefined )
			{
				return segments.length;
			}
			return ( segments[pos] === "" || segments[pos] === undefined ) ? null : segments[pos];
		},
		
		attr : key, // provides public access to private 'key' function - see above
		
		param : param // provides public access to private 'param' function - see above
		
	};
	
}();


var yourfolder = jQuery.url.attr("directory");
if(yourfolder == "/"){yourfolder = ""};


var rptx = "0";
var rpty = "0";
var axisrepeat = "repeat";
var positionlmr = "2";
var positiontmb = "2";




if(rptx == 0 && rpty == 0){
    axisrepeat = "no-repeat";
}
else if(rptx == 0 && rpty == 1){
    axisrepeat = "repeat-y";
}
else if(rptx == 1 && rpty == 0){
    axisrepeat = "repeat-x";
}
else{
    axisrepeat = "repeat";
}



                switch (positiontmb) {
                	case "1":
                        positiontmb = "top";
                        break;
                    case "2":
                        positiontmb = "center";
                        break;
                    case "3":
                        positiontmb = "bottom";
                        break;  
                    default:
                        positiontmb = "center";
                };
                
                switch (positionlmr) {
                	case "1":
                        positionlmr = "left";
                        break;
                    case "2":
                        positionlmr = "center";
                        break;
                    case "3":
                        positionlmr = "right";
                        break;  
                    default:
                        positionlmr = "center";
                };




var bgimage = $("#stacks_in_50_page38 .stacks_in_50_page38bgimage img").attr("src");

var bgcolor = "transparent";
if (bgcolor == "") {var bgcolor = "#FFCC00";}
else {
	var bgcolor = "transparent";
}

var itsIEnine = navigator.userAgent.match(/MSIE 9/i) != null;


if(itsIEnine){
	$("#stacks_in_50_page38 .stacks_in_50_page38bgimagestack").css({
    "background":"url("+bgimage+") " + axisrepeat + " " + bgcolor,
    "background-position": positionlmr + " " + positiontmb,
    "-webkit-border-radius" : "0px",
    "-moz-border-radius" : "0px",
    "border-radius" : "0px"
    });
}
else{
    $("#stacks_in_50_page38 .stacks_in_50_page38bgimagestack").css({
    "background":"url("+bgimage+") " + axisrepeat + " " + bgcolor,
    "background-position": positionlmr + " " + positiontmb,
    "-webkit-border-radius" : "0px",
    "-moz-border-radius" : "0px",
    "border-radius" : "0px",
    "behavior":"url(" + yourfolder + "files/RBPIE.htc)" 
    });
}

     
});

	return stack;
})(stacks.stacks_in_50_page38);


// Javascript for stacks_in_69_page38
// ---------------------------------------------------------------------

// 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_69_page38 = {};

// A closure is defined and assined to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for refering
// to this object from elsewhere.
stacks.stacks_in_69_page38 = (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(document).ready(function(){
// jQuery("#stacks_in_69_page38 .zebratable tr").hover(function() {jQuery(this).addClass("over");}, function() {jQuery(this).removeClass("over");});
// jQuery("#stacks_in_69_page38 .zebratable tr:even").addClass("alt");
});
	return stack;
})(stacks.stacks_in_69_page38);


// Javascript for stacks_in_83_page38
// ---------------------------------------------------------------------

// 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_83_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_83_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_83_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_83_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_83_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_83_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_83_page38').css('border-left-width');
		$('#stacks_in_83_page38').css({'border-width':0});	
		$('#stacks_in_83_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_83_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_83_page38 .boxgrid .cover img').width();
	$('#stacks_in_83_page38 .boxgrid').height(box_height);
	$('#stacks_in_83_page38 .boxgrid').width(box_width);
	$('#stacks_in_83_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_83_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_83_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_83_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_83_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_83_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_83_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_83_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_83_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_83_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_83_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_83_page38);


// Javascript for stacks_in_89_page38
// ---------------------------------------------------------------------

// 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_89_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_89_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_89_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_89_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_89_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_89_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_89_page38').css('border-left-width');
		$('#stacks_in_89_page38').css({'border-width':0});	
		$('#stacks_in_89_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_89_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_89_page38 .boxgrid .cover img').width();
	$('#stacks_in_89_page38 .boxgrid').height(box_height);
	$('#stacks_in_89_page38 .boxgrid').width(box_width);
	$('#stacks_in_89_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_89_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_89_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_89_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_89_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_89_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_89_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_89_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_89_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_89_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_89_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_89_page38);


// Javascript for stacks_in_95_page38
// ---------------------------------------------------------------------

// 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_95_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_95_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_95_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_95_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_95_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_95_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_95_page38').css('border-left-width');
		$('#stacks_in_95_page38').css({'border-width':0});	
		$('#stacks_in_95_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_95_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_95_page38 .boxgrid .cover img').width();
	$('#stacks_in_95_page38 .boxgrid').height(box_height);
	$('#stacks_in_95_page38 .boxgrid').width(box_width);
	$('#stacks_in_95_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_95_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_95_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_95_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_95_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_95_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_95_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_95_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_95_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_95_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_95_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_95_page38);


// Javascript for stacks_in_101_page38
// ---------------------------------------------------------------------

// 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_101_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_101_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_101_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_101_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_101_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_101_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_101_page38').css('border-left-width');
		$('#stacks_in_101_page38').css({'border-width':0});	
		$('#stacks_in_101_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_101_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_101_page38 .boxgrid .cover img').width();
	$('#stacks_in_101_page38 .boxgrid').height(box_height);
	$('#stacks_in_101_page38 .boxgrid').width(box_width);
	$('#stacks_in_101_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_101_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_101_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_101_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_101_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_101_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_101_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_101_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_101_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_101_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_101_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_101_page38);


// Javascript for stacks_in_107_page38
// ---------------------------------------------------------------------

// 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_107_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_107_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_107_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_107_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_107_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_107_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_107_page38').css('border-left-width');
		$('#stacks_in_107_page38').css({'border-width':0});	
		$('#stacks_in_107_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_107_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_107_page38 .boxgrid .cover img').width();
	$('#stacks_in_107_page38 .boxgrid').height(box_height);
	$('#stacks_in_107_page38 .boxgrid').width(box_width);
	$('#stacks_in_107_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_107_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_107_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_107_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_107_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_107_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_107_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_107_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_107_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_107_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_107_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_107_page38);


// Javascript for stacks_in_113_page38
// ---------------------------------------------------------------------

// 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_113_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_113_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_113_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_113_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_113_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_113_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_113_page38').css('border-left-width');
		$('#stacks_in_113_page38').css({'border-width':0});	
		$('#stacks_in_113_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_113_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_113_page38 .boxgrid .cover img').width();
	$('#stacks_in_113_page38 .boxgrid').height(box_height);
	$('#stacks_in_113_page38 .boxgrid').width(box_width);
	$('#stacks_in_113_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_113_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_113_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_113_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_113_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_113_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_113_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_113_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_113_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_113_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_113_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_113_page38);


// Javascript for stacks_in_119_page38
// ---------------------------------------------------------------------

// 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_119_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_119_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_119_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_119_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_119_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_119_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_119_page38').css('border-left-width');
		$('#stacks_in_119_page38').css({'border-width':0});	
		$('#stacks_in_119_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_119_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_119_page38 .boxgrid .cover img').width();
	$('#stacks_in_119_page38 .boxgrid').height(box_height);
	$('#stacks_in_119_page38 .boxgrid').width(box_width);
	$('#stacks_in_119_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_119_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_119_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_119_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_119_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_119_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_119_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_119_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_119_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_119_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_119_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_119_page38);


// Javascript for stacks_in_125_page38
// ---------------------------------------------------------------------

// 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_125_page38 = {};

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

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

//-- Fancy Image Hover Stack v2.0.1 by Joe Workman --//
$(document).ready(function() {
	// Set Border
	var bg_border_style = $('#stacks_in_125_page38').css('border-bottom-style');
	if (bg_border_style) { 
		var bg_border_color = $('#stacks_in_125_page38').css('border-bottom-color');
		var bg_border_top = $('#stacks_in_125_page38').css('border-top-width');
		var bg_border_right = $('#stacks_in_125_page38').css('border-right-width');
		var bg_border_bottom = $('#stacks_in_125_page38').css('border-bottom-width');
		var bg_border_left = $('#stacks_in_125_page38').css('border-left-width');
		$('#stacks_in_125_page38').css({'border-width':0});	
		$('#stacks_in_125_page38 .boxgrid').css({'border-style':bg_border_style,
								 'border-color':bg_border_color,
								 'border-top-width':bg_border_top,
								 'border-right-width':bg_border_right,
								 'border-bottom-width':bg_border_bottom,	
								 'border-left-width':bg_border_left
		});	
	}
	var box_height = $('#stacks_in_125_page38 .boxgrid .cover img').height();
	var box_width = $('#stacks_in_125_page38 .boxgrid .cover img').width();
	$('#stacks_in_125_page38 .boxgrid').height(box_height);
	$('#stacks_in_125_page38 .boxgrid').width(box_width);
	$('#stacks_in_125_page38 .back .stacks_in').first().height(box_height);
	
   	//Vertical Sliding
	$('#stacks_in_125_page38 .boxgrid.slidedown').hover(function(){
		$('.cover', this).stop().animate({top: box_height},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_125_page38 .boxgrid.slideup').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$('#stacks_in_125_page38 .boxgrid.slideright').hover(function(){
		$('.cover', this).stop().animate({left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_125_page38 .boxgrid.slideleft').hover(function(){
		$('.cover', this).stop().animate({left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$('#stacks_in_125_page38 .boxgrid.slidediag-rb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_125_page38 .boxgrid.slidediag-rt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:box_width},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_125_page38 .boxgrid.slidediag-lb').hover(function(){
		$('.cover', this).stop().animate({top: box_height, left:(box_width*-1)},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	$('#stacks_in_125_page38 .boxgrid.slidediag-lt').hover(function(){
		$('.cover', this).stop().animate({top: (box_height*-1), left:(box_width*-1)},{queue:false,duration:300 });
	}, function() {
		$('.cover', this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$('#stacks_in_125_page38 .boxgrid.peek').hover(function(){
		$('.cover', this).stop().animate({top:'90px'},{queue:false,duration:300});
	}, function() {
		$('.cover', this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Fadeout Effect
	$('#stacks_in_125_page38 .boxgrid.fadeout').hover(function(){
		if($.browser.msie){
			$(".cover", this).css("display","none");
		}
		else{
			$(".cover", this).stop().animate({opacity:'0'},{queue:false,duration:300,complete:function(){$(this).hide()} });
		}
	}, function() {
		if($.browser.msie){
			$(".cover", this).css("display","inline");
		}
		else{
			$(".cover", this).show().stop().animate({opacity:'1'},{queue:false,duration:300});	
		}
	});
	
});
//-- End Fancy Image Hover Stack --//

	return stack;
})(stacks.stacks_in_125_page38);



