
// '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_546_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_546_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_546_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 absolute ***/

jQuery(document).ready(function($){

	$('#stacks_in_546_page29').parent().wrap('<div id="stacks_in_546_page29_absolute_wrapper" class="float_logo" />');

	if ('.content' != '') {

		var pos = $('.content').css("position");
	
		if ( pos == "static" ) $('.content').css("position", "relative");
	
		$("#stacks_in_546_page29_absolute_wrapper").appendTo('.content');

	}

	$('#stacks_in_546_page29').css('display','block');

});

/*** END absolute ***/

	return stack;
})(stacks.stacks_in_546_page29);


// Javascript for stacks_in_550_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_550_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_550_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 absolute ***/

jQuery(document).ready(function($){

	$('#stacks_in_550_page29').parent().wrap('<div id="stacks_in_550_page29_absolute_wrapper" class="" />');

	if ('.content' != '') {

		var pos = $('.content').css("position");
	
		if ( pos == "static" ) $('.content').css("position", "relative");
	
		$("#stacks_in_550_page29_absolute_wrapper").appendTo('.content');

	}

	$('#stacks_in_550_page29').css('display','block');

});

/*** END absolute ***/

	return stack;
})(stacks.stacks_in_550_page29);



