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

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
/*
 *
 * Scroll Pane stack basic by Tsooj Media
 * Version 1.1.0
 *
 * Visit http://www.tsooj.net for more information on how to use this stacks product for RapidWeaver.
 *
 */


// Correct the Scroll Pane Drag height based on automatic height setting.

if (false) {
	var atm_verticalDragMinHeight = 0;
	var atm_verticalDragMaxHeight = 99999;
	var atm_horizontalDragMinWidth = 0;
	var atm_horizontalDragMaxWidth = 99999;
}
else {
	var atm_verticalDragMinHeight = 40;
	var atm_verticalDragMaxHeight = 40;
	var atm_horizontalDragMinWidth = 40;
	var atm_horizontalDragMaxWidth = 40;
}


$(document).ready(function() {
	$('#stacks_in_37_page0 .atmScrollPane').jScrollPane({verticalDragMinHeight: atm_verticalDragMinHeight, verticalDragMaxHeight: atm_verticalDragMaxHeight, horizontalDragMinWidth: atm_horizontalDragMinWidth, horizontalDragMaxWidth: atm_horizontalDragMinWidth, showArrows: false});
});



	return stack;
})(stacks.stacks_in_37_page0);


// Javascript for stacks_in_62_page0
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
/*
 * SymfoniP Slide MP3 player HTML5 and Flash (c) 2010
 + Params available (with defaults):
 + width:1,
 + open: false,
 + animateInterval: 500,
 + mp3: 'http://www.miaowmusic.com/audio/mp3/Miaow-05-The-separation.mp3',
 + ogg: 'http://www.miaowmusic.com/audio/ogg/Miaow-05-The-separation.ogg',  Not in use
 + preload: 'metadata',
 + swf: 'path to swf/',
 + continuousPlay: true
 + autoPlay: false
 */

//$(document).ready(function() {
//	$("#player_containerstacks_in_62_page0").symJPlayer({continuousPlay:false, open: true, mp3:'http://gypsysoul.com/music/homepagemusic.mp3', preload:'metadata',autoPlay:true,swf:'files/symslidemp3/'});
//});
//Everything happens in the template 

	return stack;
})(stacks.stacks_in_62_page0);



