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

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

// 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_1473_page44 = (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.com (c) 2010 - Image Shine Stack Code 
 * 19-Oct-2010
 * Version 1.0 - You will need the ImageShine Core Stack functon code too 
*/
/* SymfoniP (c) 2010 - Image Shine Stack Code */
$(document).ready(function() {
	$(".symShinestacks_in_1473_page44").symShine({captionShine:true, displayCaption:true, transitionType:'slide'});
});

	return stack;
})(stacks.stacks_in_1473_page44);


// Javascript for stacks_in_1478_page44
// ---------------------------------------------------------------------

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

// 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_1478_page44 = (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.com (c) 2010 - Image Shine Stack Code 
 * 19-Oct-2010
 * Version 1.0 - You will need the ImageShine Core Stack functon code too 
*/
/* SymfoniP (c) 2010 - Image Shine Stack Code */
$(document).ready(function() {
	$(".symShinestacks_in_1478_page44").symShine({captionShine:true, displayCaption:true, transitionType:'slide'});
});

	return stack;
})(stacks.stacks_in_1478_page44);


// Javascript for stacks_in_1483_page44
// ---------------------------------------------------------------------

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

// 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_1483_page44 = (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.com (c) 2010 - Image Shine Stack Code 
 * 19-Oct-2010
 * Version 1.0 - You will need the ImageShine Core Stack functon code too 
*/
/* SymfoniP (c) 2010 - Image Shine Stack Code */
$(document).ready(function() {
	$(".symShinestacks_in_1483_page44").symShine({captionShine:true, displayCaption:true, transitionType:'slide'});
});

	return stack;
})(stacks.stacks_in_1483_page44);


// Javascript for stacks_in_1491_page44
// ---------------------------------------------------------------------

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

// 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_1491_page44 = (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.com Image Shine Core Helper Code (c) 2010 
* 21-Oct-2010 Fade , Slide Transitions and allow Columns, Image Stacks inside the Caption Area
*  Version 1.2
*/		
(function(a){a.fn.extend({symShine:function(b){var c={captionHeightPadding:0,captionTransitionSpeedIn:350,captionTransitionSpeedOut:750,shineCaptionTransitionSpeed:750,shineImageTransitionSpeed:1000,shineImageWidth:444,captionShine:true,displayCaption:false,centered:true,transitionType:"slide"};a.extend(c,b);return this.each(function(){var h=a(this);var d=a("div.captionShine",h);var f=a("div.captionContent",h);var g=a(a("div.centered_image img",h)[0]);if(c.displayCaption){f.css({display:"block"})}h.css({width:g.width()+"px",height:g.height()});if(c.centered){h.css({margin:"auto"})}g.parent().css({width:g.width()+"px",height:g.height()});if(c.captionShine){var e;if(c.transitionType=="slide"){e=f.height();f.css({bottom:"-"+e+"px",height:e+"px"})}if(c.transitionType=="fade"){e=f.height()+c.captionHeightPadding;f.css({display:"none",bottom:"0px",height:e+"px"})}d.css({height:e+"px"});h.hover(function(){if(c.transitionType=="slide"){f.css({bottom:"-"+e+"px"}).animate({bottom:"0px"},c.captionTransitionSpeedIn,function(){d.css({left:"-"+c.shineImageWidth+"px",display:"block"}).animate({left:(c.shineImageWidth+h.width())+"px"},c.shineCaptionTransitionSpeed)})}if(c.transitionType=="fade"){f.fadeIn(c.captionTransitionSpeedIn,function(){d.css({left:"-"+c.shineImageWidth+"px"}).animate({left:(c.shineImageWidth+h.width())+"px"},c.shineCaptionTransitionSpeed)})}},function(){if(c.transitionType=="slide"){d.stop().css("display","none");f.animate({bottom:"-"+e+"px"},c.captionTransitionSpeedOut)}if(c.transitionType=="fade"){f.fadeOut(c.captionTransitionSpeedOut)}})}else{h.hover(function(){d.css({display:"block",top:"-273px",left:"-500px"}).animate({top:(h.height())+"px",left:(h.width())+"px"},c.shineImageTransitionSpeed)},function(){console.log("Out shine");d.stop().css({top:"-273px",left:"-500px"})})}})}})})(jQuery);

	return stack;
})(stacks.stacks_in_1491_page44);


// Javascript for stacks_in_1492_page44
// ---------------------------------------------------------------------

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

// 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_1492_page44 = (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_1492_page44").symJPlayer({continuousPlay:true, open: false, mp3:'http://www.nagatosukiyaki.com/music/sukiyaki.mp3', preload:'metadata',autoPlay:true,swf:'files/symslidemp3/'});
//});
//Everything happens in the template 

	return stack;
})(stacks.stacks_in_1492_page44);



