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

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

// 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_5290_page15 = (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_5290_page15);


// Javascript for stacks_in_5291_page15
// ---------------------------------------------------------------------

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

// 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_5291_page15 = (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_5291_page15").symShine({captionShine:true, displayCaption:true, transitionType:'fade'});
});

	return stack;
})(stacks.stacks_in_5291_page15);


// Javascript for stacks_in_5298_page15
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Styled Stack v1.3.0 by Joe Workman
$(document).ready(function() {	
	var custom_bg_src = $("#custom_bg_stacks_in_5298_page15 img").attr("src");
	if (custom_bg_src) { 
	    $("#stacks_in_5298_page15").css({'background-image':'url(' + custom_bg_src + ')'});	
	}
	else {
	    var bg_src = 'index_files/styled-stack-images/stack-bg0.png';
    	if (0 != 0) { $("#stacks_in_5298_page15").css({'background-image':'url(' + bg_src + ')'}); }
	}
});
// End Styled Stack

	return stack;
})(stacks.stacks_in_5298_page15);


// Javascript for stacks_in_5307_page15
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Styled Stack v1.3.0 by Joe Workman
$(document).ready(function() {	
	var custom_bg_src = $("#custom_bg_stacks_in_5307_page15 img").attr("src");
	if (custom_bg_src) { 
	    $("#stacks_in_5307_page15").css({'background-image':'url(' + custom_bg_src + ')'});	
	}
	else {
	    var bg_src = 'index_files/styled-stack-images/stack-bg0.png';
    	if (0 != 0) { $("#stacks_in_5307_page15").css({'background-image':'url(' + bg_src + ')'}); }
	}
});
// End Styled Stack

	return stack;
})(stacks.stacks_in_5307_page15);


// Javascript for stacks_in_5319_page15
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Styled Stack v1.3.0 by Joe Workman
$(document).ready(function() {	
	var custom_bg_src = $("#custom_bg_stacks_in_5319_page15 img").attr("src");
	if (custom_bg_src) { 
	    $("#stacks_in_5319_page15").css({'background-image':'url(' + custom_bg_src + ')'});	
	}
	else {
	    var bg_src = 'index_files/styled-stack-images/stack-bg0.png';
    	if (0 != 0) { $("#stacks_in_5319_page15").css({'background-image':'url(' + bg_src + ')'}); }
	}
});
// End Styled Stack

	return stack;
})(stacks.stacks_in_5319_page15);


// Javascript for stacks_in_5331_page15
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Styled Stack v1.3.0 by Joe Workman
$(document).ready(function() {	
	var custom_bg_src = $("#custom_bg_stacks_in_5331_page15 img").attr("src");
	if (custom_bg_src) { 
	    $("#stacks_in_5331_page15").css({'background-image':'url(' + custom_bg_src + ')'});	
	}
	else {
	    var bg_src = 'index_files/styled-stack-images/stack-bg0.png';
    	if (0 != 0) { $("#stacks_in_5331_page15").css({'background-image':'url(' + bg_src + ')'}); }
	}
});
// End Styled Stack

	return stack;
})(stacks.stacks_in_5331_page15);


// Javascript for stacks_in_5347_page15
// ---------------------------------------------------------------------

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

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

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
// Styled Stack v1.3.0 by Joe Workman
$(document).ready(function() {	
	var custom_bg_src = $("#custom_bg_stacks_in_5347_page15 img").attr("src");
	if (custom_bg_src) { 
	    $("#stacks_in_5347_page15").css({'background-image':'url(' + custom_bg_src + ')'});	
	}
	else {
	    var bg_src = 'index_files/styled-stack-images/stack-bg0.png';
    	if (0 != 0) { $("#stacks_in_5347_page15").css({'background-image':'url(' + bg_src + ')'}); }
	}
});
// End Styled Stack

	return stack;
})(stacks.stacks_in_5347_page15);



