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

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
if($.browser.msie && $.browser.version < 7){
$(document).ready(function() {
	$('.ImgPlaceholderstacks_in_87_page4 .imageStyle').each(function(){
	$(this).removeAttr('width');
	$(this).removeAttr('height');
    });
//91
//Both Blocks
	$(".ImgPlaceholderstacks_in_87_page4").css("width", "90px");
	$(".ImgPlaceholderstacks_in_87_page4").css("height", "124px");
//Horizontal Block
	$(".ImgPlaceholderstacks_in_87_page4 .imageStyle").css("width", "auto");
	$(".ImgPlaceholderstacks_in_87_page4 .imageStyle").css("height", "124px");

//Vertical Block
	//$(".ImgPlaceholderstacks_in_87_page4 .imageStyle").css("width", "100%");
	//$(".ImgPlaceholderstacks_in_87_page4 .imageStyle").css("height", "auto");
});
return;
}

if($.browser.mozilla){
$(document).ready(function() {
	$('.ImgPlaceholderstacks_in_87_page4 .imageStyle').each(function(){
	$(this).removeAttr('height');
    });
//Fix mozilla Height
	$(".ImgPlaceholderstacks_in_87_page4 .imageStyle").css("height", "124px");
	});
}
	return stack;
})(stacks.stacks_in_87_page4);



