
// '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_338_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_338_page2 = {};

// 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_338_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;
	

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


var splashStack = $("#stacks_in_338_page2").html();


$("body > *").remove();
$("body").append(splashStack);

});
	return stack;
})(stacks.stacks_in_338_page2);


// Javascript for stacks_in_340_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_340_page2 = {};

// 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_340_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;
	
/*	aniMate Pro Stack jQuery Code 1.5.0  *//* ***********************************************************************************	Copyright (c) 2010, Mauricio Sabene. All rights reserved./* ************************************************************************************/var allLayers;var animate_comp;function aniMatePro (start_delay){	var cum_delay= start_delay;	allLayers.each(function(layer) {	var ms_topS = jQuery(this).data('aniMatePro_topStart');	var ms_leftS = jQuery(this).data('aniMatePro_leftStart');		var ms_fadeIn = jQuery(this).data('aniMatePro_transition');	var ms_topE = jQuery(this).data('aniMatePro_topEnd');	var ms_leftE = jQuery(this).data('aniMatePro_leftEnd');	var ms_opac = jQuery(this).data('aniMatePro_opacity')/100;	var ms_holdIn = jQuery(this).data('aniMatePro_holdIn');	var ms_holdOut = jQuery(this).data('aniMatePro_holdOut');	var ms_animation = jQuery(this).data('aniMatePro_animation');	var ms_topM = jQuery(this).data('aniMatePro_topMiddle');	var ms_leftM = jQuery(this).data('aniMatePro_leftMiddle');	var ms_holdM = jQuery(this).data('aniMatePro_durationMiddle');	var ms_effect = jQuery(this).data('aniMatePro_effect');	jQuery(this).css({top: ms_topS+'px', left: ms_leftS+'px'});	if(ms_effect == 'grow') {jQuery(this).fadeTo(0,1).hide(0);}	else if(ms_effect == 'slide') {jQuery(this).fadeTo(0,1).slideUp(0);}	else {jQuery(this).fadeTo(0,0);}	jQuery(this).delay(cum_delay);	if(ms_effect == 'grow') {jQuery(this).show(ms_fadeIn);}	else if(ms_effect == 'slide') {jQuery(this).slideDown(ms_fadeIn);}	else {jQuery(this).fadeTo(ms_fadeIn,1);}	jQuery(this).delay(100);	jQuery(this).animate({top: ms_topM+'px', left: ms_leftM+'px'}, ms_holdM);	jQuery(this).delay(ms_holdIn);	jQuery(this).animate({top: ms_topE+'px', left: ms_leftE+'px', opacity: ms_opac}, ms_animation).delay(ms_holdOut);	cum_delay = cum_delay + ms_fadeIn + 100 + ms_holdM + ms_holdIn + ms_animation + ms_holdOut;	}); return cum_delay;}jQuery(window).load(function() {	allLayers = jQuery('#ms_aniMateProstacks_in_340_page2 .stacks_out .stacks_in .aniMatePro_slide');	allLayers.hide(0);	jQuery('#aniMateProouterstacks_in_340_page2').css({ backgroundImage: 'none'});	jQuery('#ms_aniMateProstacks_in_340_page2').css({ visibility: 'visible'});	animate_comp = jQuery('#ms_aniMateProstacks_in_340_page2');	var ms_duration = aniMatePro(0000) + 1000;	for(var i = 1; i < 1; i++) {	setTimeout(function(){aniMatePro(0);}, 0000 + i * (ms_duration - 0000));	}	jQuery('#aniMateProouterstacks_in_340_page2 .toggleaniMatePro').click(function() {		animate_comp.toggle('slow');		return false;	});	jQuery('#aniMateProouterstacks_in_340_page2 .reloadaniMatePro').click(function() {		if (!allLayers.parent().children().is(':animated')) {		animate_comp.show('slow'); setTimeout(function(){aniMatePro(1000);}, 1000); }		return false;	});});
	return stack;
})(stacks.stacks_in_340_page2);



