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

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

// 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_269_page1 = (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 stacks_in_269_page1_cont_switch(i){
	if(true){
		$('.category1 > .content_switcher').hide();
		$('.category1 > .content_switcher_'+i).fadeIn(500);
	}
	else{
		$('.category1 > .content_switcher').hide();
		$('.category1 > .content_switcher_'+i).show();
	}
	
	var cs = $('.category1 > .content_switcher_'+i+' .content_scroller').data('jsp');
	if(cs){
		cs.reinitialise();
	}
}

$(document).ready(function(){
	$('#stacks_in_269_page1 .content_switcher_setter_0').click(function(){
		stacks_in_269_page1_cont_switch(0);
	});
	if(true){
        $('#stacks_in_269_page1 .content_switcher_setter_0').mouseenter(function(){
			stacks_in_269_page1_cont_switch(0);
		});
    }
});
	return stack;
})(stacks.stacks_in_269_page1);


// Javascript for stacks_in_273_page1
// ---------------------------------------------------------------------

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

// 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_273_page1 = (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 stacks_in_273_page1_cont_switch(i){
	if(true){
		$('.category1 > .content_switcher').hide();
		$('.category1 > .content_switcher_'+i).fadeIn(500);
	}
	else{
		$('.category1 > .content_switcher').hide();
		$('.category1 > .content_switcher_'+i).show();
	}
	
	var cs = $('.category1 > .content_switcher_'+i+' .content_scroller').data('jsp');
	if(cs){
		cs.reinitialise();
	}
}

$(document).ready(function(){
	$('#stacks_in_273_page1 .content_switcher_setter_2').click(function(){
		stacks_in_273_page1_cont_switch(2);
	});
	if(true){
        $('#stacks_in_273_page1 .content_switcher_setter_2').mouseenter(function(){
			stacks_in_273_page1_cont_switch(2);
		});
    }
});
	return stack;
})(stacks.stacks_in_273_page1);


// Javascript for stacks_in_277_page1
// ---------------------------------------------------------------------

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

// 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_277_page1 = (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 stacks_in_277_page1_cont_switch(i){
	if(true){
		$('.category1 > .content_switcher').hide();
		$('.category1 > .content_switcher_'+i).fadeIn(500);
	}
	else{
		$('.category1 > .content_switcher').hide();
		$('.category1 > .content_switcher_'+i).show();
	}
	
	var cs = $('.category1 > .content_switcher_'+i+' .content_scroller').data('jsp');
	if(cs){
		cs.reinitialise();
	}
}

$(document).ready(function(){
	$('#stacks_in_277_page1 .content_switcher_setter_1').click(function(){
		stacks_in_277_page1_cont_switch(1);
	});
	if(true){
        $('#stacks_in_277_page1 .content_switcher_setter_1').mouseenter(function(){
			stacks_in_277_page1_cont_switch(1);
		});
    }
});
	return stack;
})(stacks.stacks_in_277_page1);


// Javascript for stacks_in_316_page1
// ---------------------------------------------------------------------

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

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

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

//-- Sweet Button Stack v1.3.3 by Joe Workman --//

//-- End Sweet Button Stack --//


	return stack;
})(stacks.stacks_in_316_page1);


// Javascript for stacks_in_281_page1
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
$(document).ready(function(){
	if(!false){
		$('#stacks_in_281_page1 .content_switcher_0').show();	
	}
});
	
	
	

	return stack;
})(stacks.stacks_in_281_page1);



