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

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Lightbox v2.1.1 by Joe Workman
$(document).ready(function() {
	if ('compliant' == 'noncompliant') {
    	var img_height = $('#compliant_1 img').height();
    	var img_width = $('#compliant_1 img').width();
    	var image_src = $("#compliant_1 img").attr("src");

    	$('#compliant_1').height(img_height);
    	$('#compliant_1').width(img_width);
    	$('#compliant_1 a').height(img_height);
    	$("#compliant_1").css({'background-image':'url(' + image_src + ')'});
    	$("#compliant_1 div").remove();
	}
});
// End Lightbox
	return stack;
})(stacks.stacks_in_55_page11);


// Javascript for stacks_in_76_page11
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Lightbox v2.1.1 by Joe Workman
$(document).ready(function() {
	if ('compliant' == 'noncompliant') {
    	var img_height = $('#compliant_2 img').height();
    	var img_width = $('#compliant_2 img').width();
    	var image_src = $("#compliant_2 img").attr("src");

    	$('#compliant_2').height(img_height);
    	$('#compliant_2').width(img_width);
    	$('#compliant_2 a').height(img_height);
    	$("#compliant_2").css({'background-image':'url(' + image_src + ')'});
    	$("#compliant_2 div").remove();
	}
});
// End Lightbox
	return stack;
})(stacks.stacks_in_76_page11);


// Javascript for stacks_in_93_page11
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Lightbox v2.1.1 by Joe Workman
$(document).ready(function() {
	if ('compliant' == 'noncompliant') {
    	var img_height = $('#compliant_3 img').height();
    	var img_width = $('#compliant_3 img').width();
    	var image_src = $("#compliant_3 img").attr("src");

    	$('#compliant_3').height(img_height);
    	$('#compliant_3').width(img_width);
    	$('#compliant_3 a').height(img_height);
    	$("#compliant_3").css({'background-image':'url(' + image_src + ')'});
    	$("#compliant_3 div").remove();
	}
});
// End Lightbox
	return stack;
})(stacks.stacks_in_93_page11);



