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

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

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

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

$(document).ready(function() {

var baaimagewidth = $(".stacks_in_0_page2baaafter img").width();
var baaimageheight = $(".stacks_in_0_page2baaafter img").height();

$(".stacks_in_0_page2before, .stacks_in_0_page2baaafter, .stacks_in_0_page2baacontainer").css({
"width": baaimagewidth,
"height": baaimageheight
});




 
 $(".stacks_in_0_page2baacontainer").mouseenter(function() {
		$(".stacks_in_0_page2baaafter").fadeOut();
  }).mouseleave(function(){
		$(".stacks_in_0_page2baaafter").fadeIn();
  });

});













// End Before & After stack


	return stack;
})(stacks.stacks_in_0_page2);


// Javascript for stacks_in_3_page2
// ---------------------------------------------------------------------

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

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

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

$(document).ready(function() {

var baaimagewidth = $(".stacks_in_3_page2baaafter img").width();
var baaimageheight = $(".stacks_in_3_page2baaafter img").height();

$(".stacks_in_3_page2before, .stacks_in_3_page2baaafter, .stacks_in_3_page2baacontainer").css({
"width": baaimagewidth,
"height": baaimageheight
});




 
 $(".stacks_in_3_page2baacontainer").mouseenter(function() {
		$(".stacks_in_3_page2baaafter").fadeOut();
  }).mouseleave(function(){
		$(".stacks_in_3_page2baaafter").fadeIn();
  });

});













// End Before & After stack


	return stack;
})(stacks.stacks_in_3_page2);


// Javascript for stacks_in_6_page2
// ---------------------------------------------------------------------

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

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

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

$(document).ready(function() {

var baaimagewidth = $(".stacks_in_6_page2baaafter img").width();
var baaimageheight = $(".stacks_in_6_page2baaafter img").height();

$(".stacks_in_6_page2before, .stacks_in_6_page2baaafter, .stacks_in_6_page2baacontainer").css({
"width": baaimagewidth,
"height": baaimageheight
});




 
 $(".stacks_in_6_page2baacontainer").mouseenter(function() {
		$(".stacks_in_6_page2baaafter").fadeOut();
  }).mouseleave(function(){
		$(".stacks_in_6_page2baaafter").fadeIn();
  });

});













// End Before & After stack


	return stack;
})(stacks.stacks_in_6_page2);


// Javascript for stacks_in_83_page2
// ---------------------------------------------------------------------

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

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

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

$(document).ready(function() {

var baaimagewidth = $(".stacks_in_83_page2baaafter img").width();
var baaimageheight = $(".stacks_in_83_page2baaafter img").height();

$(".stacks_in_83_page2before, .stacks_in_83_page2baaafter, .stacks_in_83_page2baacontainer").css({
"width": baaimagewidth,
"height": baaimageheight
});




 
 $(".stacks_in_83_page2baacontainer").mouseenter(function() {
		$(".stacks_in_83_page2baaafter").fadeOut();
  }).mouseleave(function(){
		$(".stacks_in_83_page2baaafter").fadeIn();
  });

});













// End Before & After stack


	return stack;
})(stacks.stacks_in_83_page2);



