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

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
 
//Start Xpander script
var $Xpan = jQuery.noConflict();
        $Xpan(document).ready(function() {
	$Xpan('.xpanderButtonstacks_in_908_page29').click(function() {jQuery.easing.def = "easeOutQuad";
        $Xpan('.xpanderButtonstacks_in_908_page29').removeClass('onstacks_in_908_page29');
			$Xpan('.xpanderContentstacks_in_908_page29').slideUp(500);
			if($Xpan(this).next().is(':hidden') == true) {
			$Xpan(this).addClass('onstacks_in_908_page29');
		$Xpan(this).next().slideDown(500);
	} 
});
$Xpan('.xpanderButtonstacks_in_908_page29').mouseover(function() {
	$Xpan(this).addClass('overstacks_in_908_page29');
		}).mouseout(function() {
	$Xpan(this).removeClass('overstacks_in_908_page29');
	});
	$Xpan('.xpanderContentstacks_in_908_page29').hide();
	$Xpan("#openstacks_in_908_page29_").trigger('click');
//End Xpander script
//-------------------------------------------------------------------------
//Start Clean Xpander script
	$Xpan('.xpanderButton2stacks_in_908_page29').removeClass('Button2stacks_in_908_page29');
	$Xpan('.xpanderContent2stacks_in_908_page29').removeClass('Content2stacks_in_908_page29');

	$Xpan('.xpanderButton2stacks_in_908_page29').click(function() {jQuery.easing.def = "easeOutQuad";
		$Xpan('.xpanderButton2stacks_in_908_page29').removeClass('on2stacks_in_908_page29');
			$Xpan('.xpanderContent2stacks_in_908_page29').slideUp(500);
			if($Xpan(this).next().is(':hidden') == true) {
			$Xpan(this).addClass('on2stacks_in_908_page29');
		$Xpan(this).next().slideDown(500);
	} 
});
$Xpan('.xpanderButton2stacks_in_908_page29').mouseover(function() {
	$Xpan(this).addClass('over2stacks_in_908_page29');
		}).mouseout(function() {
	$Xpan(this).removeClass('over2stacks_in_908_page29');										
	});
	$Xpan('.xpanderContent2stacks_in_908_page29').hide();
	$Xpan("#open2stacks_in_908_page29_").trigger('click');
})
//End Clean Xpander script
//-------------------------------------------------------------------------
//Fix top padding
$(document).ready(function() {
    $('.xpanderButton2stacks_in_908_page29:first-child').css('margin-top', '0px');
 });
	return stack;
})(stacks.stacks_in_908_page29);



