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

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

// 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_12_page49 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
(function($){ 
	var current_pos = "outside";
	$(document).ready(function(){
        var expand = function(){
			current_pos = "inside";
            $('#stacks_in_12_page49 .expand').fadeOut(100,function(){
                $('#stacks_in_12_page49 .shrink').fadeIn(100, function(){
                    $('#stacks_in_12_page49 .content_hidden').slideDown(500);
					if(current_pos == "outside"){
						$('#stacks_in_12_page49 .content_hidden').hide();
						$('#stacks_in_12_page49 .shrink').hide();
						$('#stacks_in_12_page49 .expand').show();
					}
                });
            });
        };
        var shrink = function(){
			current_pos = "outside"
            $('#stacks_in_12_page49 .content_hidden').slideUp(500, function(){
                $('#stacks_in_12_page49 .shrink').fadeOut(100,function(){
                	$('#stacks_in_12_page49 .expand').fadeIn(100);
					if(current_pos == "inside"){
						$('#stacks_in_12_page49 .content_hidden').show();
						$('#stacks_in_12_page49 .shrink').show();
						$('#stacks_in_12_page49 .expand').hide();
						
					}
            	});
            });
        };
        
		$('#stacks_in_12_page49 .expand').click(expand);
        if(false){
            $('#stacks_in_12_page49 .content_expander').mouseenter(expand);
            $('#stacks_in_12_page49 .content_expander').mouseleave(shrink);
			//$('#stacks_in_12_page49 .content_expander').mouseout(shrink);
        }
		
		$('#stacks_in_12_page49 .shrink').click(shrink);
		

	});
	
})(jQuery);
	return stack;
})(stacks.stacks_in_12_page49);


// Javascript for stacks_in_33_page49
// ---------------------------------------------------------------------

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

// 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_33_page49 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
(function($){ 
	var current_pos = "outside";
	$(document).ready(function(){
        var expand = function(){
			current_pos = "inside";
            $('#stacks_in_33_page49 .expand').fadeOut(100,function(){
                $('#stacks_in_33_page49 .shrink').fadeIn(100, function(){
                    $('#stacks_in_33_page49 .content_hidden').slideDown(500);
					if(current_pos == "outside"){
						$('#stacks_in_33_page49 .content_hidden').hide();
						$('#stacks_in_33_page49 .shrink').hide();
						$('#stacks_in_33_page49 .expand').show();
					}
                });
            });
        };
        var shrink = function(){
			current_pos = "outside"
            $('#stacks_in_33_page49 .content_hidden').slideUp(500, function(){
                $('#stacks_in_33_page49 .shrink').fadeOut(100,function(){
                	$('#stacks_in_33_page49 .expand').fadeIn(100);
					if(current_pos == "inside"){
						$('#stacks_in_33_page49 .content_hidden').show();
						$('#stacks_in_33_page49 .shrink').show();
						$('#stacks_in_33_page49 .expand').hide();
						
					}
            	});
            });
        };
        
		$('#stacks_in_33_page49 .expand').click(expand);
        if(false){
            $('#stacks_in_33_page49 .content_expander').mouseenter(expand);
            $('#stacks_in_33_page49 .content_expander').mouseleave(shrink);
			//$('#stacks_in_33_page49 .content_expander').mouseout(shrink);
        }
		
		$('#stacks_in_33_page49 .shrink').click(shrink);
		

	});
	
})(jQuery);
	return stack;
})(stacks.stacks_in_33_page49);


// Javascript for stacks_in_43_page49
// ---------------------------------------------------------------------

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

// 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_43_page49 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
(function($){ 
	var current_pos = "outside";
	$(document).ready(function(){
        var expand = function(){
			current_pos = "inside";
            $('#stacks_in_43_page49 .expand').fadeOut(100,function(){
                $('#stacks_in_43_page49 .shrink').fadeIn(100, function(){
                    $('#stacks_in_43_page49 .content_hidden').slideDown(500);
					if(current_pos == "outside"){
						$('#stacks_in_43_page49 .content_hidden').hide();
						$('#stacks_in_43_page49 .shrink').hide();
						$('#stacks_in_43_page49 .expand').show();
					}
                });
            });
        };
        var shrink = function(){
			current_pos = "outside"
            $('#stacks_in_43_page49 .content_hidden').slideUp(500, function(){
                $('#stacks_in_43_page49 .shrink').fadeOut(100,function(){
                	$('#stacks_in_43_page49 .expand').fadeIn(100);
					if(current_pos == "inside"){
						$('#stacks_in_43_page49 .content_hidden').show();
						$('#stacks_in_43_page49 .shrink').show();
						$('#stacks_in_43_page49 .expand').hide();
						
					}
            	});
            });
        };
        
		$('#stacks_in_43_page49 .expand').click(expand);
        if(false){
            $('#stacks_in_43_page49 .content_expander').mouseenter(expand);
            $('#stacks_in_43_page49 .content_expander').mouseleave(shrink);
			//$('#stacks_in_43_page49 .content_expander').mouseout(shrink);
        }
		
		$('#stacks_in_43_page49 .shrink').click(shrink);
		

	});
	
})(jQuery);
	return stack;
})(stacks.stacks_in_43_page49);


// Javascript for stacks_in_55_page49
// ---------------------------------------------------------------------

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

// 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_55_page49 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
(function($){ 
	var current_pos = "outside";
	$(document).ready(function(){
        var expand = function(){
			current_pos = "inside";
            $('#stacks_in_55_page49 .expand').fadeOut(100,function(){
                $('#stacks_in_55_page49 .shrink').fadeIn(100, function(){
                    $('#stacks_in_55_page49 .content_hidden').slideDown(500);
					if(current_pos == "outside"){
						$('#stacks_in_55_page49 .content_hidden').hide();
						$('#stacks_in_55_page49 .shrink').hide();
						$('#stacks_in_55_page49 .expand').show();
					}
                });
            });
        };
        var shrink = function(){
			current_pos = "outside"
            $('#stacks_in_55_page49 .content_hidden').slideUp(500, function(){
                $('#stacks_in_55_page49 .shrink').fadeOut(100,function(){
                	$('#stacks_in_55_page49 .expand').fadeIn(100);
					if(current_pos == "inside"){
						$('#stacks_in_55_page49 .content_hidden').show();
						$('#stacks_in_55_page49 .shrink').show();
						$('#stacks_in_55_page49 .expand').hide();
						
					}
            	});
            });
        };
        
		$('#stacks_in_55_page49 .expand').click(expand);
        if(false){
            $('#stacks_in_55_page49 .content_expander').mouseenter(expand);
            $('#stacks_in_55_page49 .content_expander').mouseleave(shrink);
			//$('#stacks_in_55_page49 .content_expander').mouseout(shrink);
        }
		
		$('#stacks_in_55_page49 .shrink').click(shrink);
		

	});
	
})(jQuery);
	return stack;
})(stacks.stacks_in_55_page49);


// Javascript for stacks_in_65_page49
// ---------------------------------------------------------------------

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

// 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_65_page49 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
(function($){ 
	var current_pos = "outside";
	$(document).ready(function(){
        var expand = function(){
			current_pos = "inside";
            $('#stacks_in_65_page49 .expand').fadeOut(100,function(){
                $('#stacks_in_65_page49 .shrink').fadeIn(100, function(){
                    $('#stacks_in_65_page49 .content_hidden').slideDown(500);
					if(current_pos == "outside"){
						$('#stacks_in_65_page49 .content_hidden').hide();
						$('#stacks_in_65_page49 .shrink').hide();
						$('#stacks_in_65_page49 .expand').show();
					}
                });
            });
        };
        var shrink = function(){
			current_pos = "outside"
            $('#stacks_in_65_page49 .content_hidden').slideUp(500, function(){
                $('#stacks_in_65_page49 .shrink').fadeOut(100,function(){
                	$('#stacks_in_65_page49 .expand').fadeIn(100);
					if(current_pos == "inside"){
						$('#stacks_in_65_page49 .content_hidden').show();
						$('#stacks_in_65_page49 .shrink').show();
						$('#stacks_in_65_page49 .expand').hide();
						
					}
            	});
            });
        };
        
		$('#stacks_in_65_page49 .expand').click(expand);
        if(false){
            $('#stacks_in_65_page49 .content_expander').mouseenter(expand);
            $('#stacks_in_65_page49 .content_expander').mouseleave(shrink);
			//$('#stacks_in_65_page49 .content_expander').mouseout(shrink);
        }
		
		$('#stacks_in_65_page49 .shrink').click(shrink);
		

	});
	
})(jQuery);
	return stack;
})(stacks.stacks_in_65_page49);



