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

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

// A closure is defined and assigned to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for referring
// to this object from elsewhere.
stacks.stacks_in_13_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

/*
 * Sticky Buttons By WeaverAddons.com
 * Version 1.0.0
 *
 * Visit http://www.weaveraddons.com for more information on how to use this stack in RapidWeaver.
 *
 */

/*
 * DC jQuery Slick - jQuery Slick
 * Copyright (c) 2011 Design Chemical
 * 	http://www.designchemical.com
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 */

(function(a){a.fn.dcSlick=function(b){var c={classWrapper:"dc-slick",classContent:"dc-slick-content",width:260,idWrapper:"dc-slick-"+a(this).index(),location:"left",align:"top",offset:"100px",speed:"slow",tabText:"Click",classTab:"slick-tab",classOpen:"slick-open",classClose:"slick-close",classToggle:"slick-toggle",autoClose:!0},b=a.extend(c,b),d=this;return d.each(function(b){function x(b){var d=a("."+c.classContent,b),e=j.css("border-top-width"),f=j.css("border-right-width"),g=j.css("border-bottom-width"),h=j.css("border-left-width"),i=k.outerWidth(!0),l=i+"px",m=k.outerHeight(!0),n=m+"px",o=d.height(),p=d.outerHeight(!0)-o,v=u-m;a(b).addClass(c.location).addClass("align-"+c.align).css({position:"fixed",zIndex:1e4}),r>v&&(o=v-s-p,t=v+"px"),d.css({height:o+"px"}),c.location=="left"&&(a(b).css({marginLeft:"-"+q}),k.css({marginRight:"-"+l}),a(b).css({top:c.offset})),c.location=="right"&&(a(b).css({marginRight:"-"+q}),k.css({marginLeft:"-"+l}),a(b).css({top:c.offset})),c.location=="top"&&(a(b).css({marginTop:"-"+t}),k.css({marginBottom:"-"+n}),c.align=="left"?(a(b).css({left:c.offset}),k.css({left:0})):(a(b).css({right:c.offset}),k.css({right:0}))),c.location=="bottom"&&(a(b).css({marginBottom:"-"+t}),k.css({marginTop:"-"+n}),c.align=="left"?(a(b).css({left:c.offset}),k.css({left:0})):(a(b).css({right:c.offset}),k.css({right:0})))}function w(){j.css({zIndex:1e4}),j.hasClass("active")&&(c.location=="bottom"&&j.animate({marginBottom:"-"+t},c.speed),c.location=="top"&&j.animate({marginTop:"-"+t},c.speed),c.location=="left"&&j.animate({marginLeft:"-"+q},c.speed),c.location=="right"&&j.animate({marginRight:"-"+q},c.speed),j.removeClass("active"))}function v(){a("."+c.classWrapper).css({zIndex:1e4}),j.css({zIndex:10001}),c.location=="bottom"&&j.animate({marginBottom:"-=5px"},"fast").animate({marginBottom:0},c.speed),c.location=="top"&&j.animate({marginTop:"-=5px"},"fast").animate({marginTop:0},c.speed),c.location=="left"&&j.animate({marginLeft:"-=5px"},"fast").animate({marginLeft:0},c.speed),c.location=="right"&&j.animate({marginRight:"-=5px"},"fast").animate({marginRight:0},c.speed),j.addClass("active")}var e=d.html();d.css("float","left");var f=d.width(),g='<div class="'+c.classTab+'"><span>'+c.tabText+"</span></div>";a(this).hide();var h=c.idWrapper,i='<div id="'+h+'" class="'+c.classWrapper+'">'+g+'<div class="'+c.classContent+'">'+e+"</div></div>";a("body").append(i);var j=a("#"+h),k=a("."+c.classTab,j);k.css({position:"absolute"});var l=a("."+c.classOpen),m=a("."+c.classClose),n=a("."+c.classToggle),o=j.height(),p=j.outerWidth(),q=p+"px",r=j.outerHeight(),s=r-o,t=r+"px",u=a(window).height();x(j),c.autoClose==!0&&a("html").mouseup(function(b){j.hasClass("active")&&(a(b.target).parents("#"+c.idWrapper+"."+c.classWrapper).length||!a(b.target).hasClass(c.classOpen)&&!a(b.target).hasClass(c.classToggle)&&w())}),k.click(function(){j.hasClass("active")?w():v()}),a(l).click(function(a){v(),a.preventDefault()}),a(m).click(function(a){j.hasClass("active")&&w(),a.preventDefault()}),a(n).click(function(a){j.hasClass("active")?w():v(),a.preventDefault()})})}})(jQuery)

$(document).ready(function(){
 	var isIE6 = ((window.XMLHttpRequest == undefined) && (ActiveXObject != undefined));

	if (!isIE6) {
		$('#stacks_in_13_page5container').dcSlick({location: 'right', align: 'right', speed: 'fast', offset: '300px', autoClose: true, tabText: 'Upcoming Shows', 'idWrapper': 'dc-slick-stacks_in_13_page5'});
	}
});

	return stack;
})(stacks.stacks_in_13_page5);


// Javascript for stacks_in_47_page5
// ---------------------------------------------------------------------

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

// A closure is defined and assigned to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for referring
// to this object from elsewhere.
stacks.stacks_in_47_page5 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	

/*
 * Sticky Buttons By WeaverAddons.com
 * Version 1.0.0
 *
 * Visit http://www.weaveraddons.com for more information on how to use this stack in RapidWeaver.
 *
 */

/*
 * DC jQuery Slick - jQuery Slick
 * Copyright (c) 2011 Design Chemical
 * 	http://www.designchemical.com
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 */

(function(a){a.fn.dcSlick=function(b){var c={classWrapper:"dc-slick",classContent:"dc-slick-content",width:260,idWrapper:"dc-slick-"+a(this).index(),location:"left",align:"top",offset:"100px",speed:"slow",tabText:"Click",classTab:"slick-tab",classOpen:"slick-open",classClose:"slick-close",classToggle:"slick-toggle",autoClose:!0},b=a.extend(c,b),d=this;return d.each(function(b){function x(b){var d=a("."+c.classContent,b),e=j.css("border-top-width"),f=j.css("border-right-width"),g=j.css("border-bottom-width"),h=j.css("border-left-width"),i=k.outerWidth(!0),l=i+"px",m=k.outerHeight(!0),n=m+"px",o=d.height(),p=d.outerHeight(!0)-o,v=u-m;a(b).addClass(c.location).addClass("align-"+c.align).css({position:"fixed",zIndex:1e4}),r>v&&(o=v-s-p,t=v+"px"),d.css({height:o+"px"}),c.location=="left"&&(a(b).css({marginLeft:"-"+q}),k.css({marginRight:"-"+l}),a(b).css({top:c.offset})),c.location=="right"&&(a(b).css({marginRight:"-"+q}),k.css({marginLeft:"-"+l}),a(b).css({top:c.offset})),c.location=="top"&&(a(b).css({marginTop:"-"+t}),k.css({marginBottom:"-"+n}),c.align=="left"?(a(b).css({left:c.offset}),k.css({left:0})):(a(b).css({right:c.offset}),k.css({right:0}))),c.location=="bottom"&&(a(b).css({marginBottom:"-"+t}),k.css({marginTop:"-"+n}),c.align=="left"?(a(b).css({left:c.offset}),k.css({left:0})):(a(b).css({right:c.offset}),k.css({right:0})))}function w(){j.css({zIndex:1e4}),j.hasClass("active")&&(c.location=="bottom"&&j.animate({marginBottom:"-"+t},c.speed),c.location=="top"&&j.animate({marginTop:"-"+t},c.speed),c.location=="left"&&j.animate({marginLeft:"-"+q},c.speed),c.location=="right"&&j.animate({marginRight:"-"+q},c.speed),j.removeClass("active"))}function v(){a("."+c.classWrapper).css({zIndex:1e4}),j.css({zIndex:10001}),c.location=="bottom"&&j.animate({marginBottom:"-=5px"},"fast").animate({marginBottom:0},c.speed),c.location=="top"&&j.animate({marginTop:"-=5px"},"fast").animate({marginTop:0},c.speed),c.location=="left"&&j.animate({marginLeft:"-=5px"},"fast").animate({marginLeft:0},c.speed),c.location=="right"&&j.animate({marginRight:"-=5px"},"fast").animate({marginRight:0},c.speed),j.addClass("active")}var e=d.html();d.css("float","left");var f=d.width(),g='<div class="'+c.classTab+'"><span>'+c.tabText+"</span></div>";a(this).hide();var h=c.idWrapper,i='<div id="'+h+'" class="'+c.classWrapper+'">'+g+'<div class="'+c.classContent+'">'+e+"</div></div>";a("body").append(i);var j=a("#"+h),k=a("."+c.classTab,j);k.css({position:"absolute"});var l=a("."+c.classOpen),m=a("."+c.classClose),n=a("."+c.classToggle),o=j.height(),p=j.outerWidth(),q=p+"px",r=j.outerHeight(),s=r-o,t=r+"px",u=a(window).height();x(j),c.autoClose==!0&&a("html").mouseup(function(b){j.hasClass("active")&&(a(b.target).parents("#"+c.idWrapper+"."+c.classWrapper).length||!a(b.target).hasClass(c.classOpen)&&!a(b.target).hasClass(c.classToggle)&&w())}),k.click(function(){j.hasClass("active")?w():v()}),a(l).click(function(a){v(),a.preventDefault()}),a(m).click(function(a){j.hasClass("active")&&w(),a.preventDefault()}),a(n).click(function(a){j.hasClass("active")?w():v(),a.preventDefault()})})}})(jQuery)

$(document).ready(function(){
 	var isIE6 = ((window.XMLHttpRequest == undefined) && (ActiveXObject != undefined));

	if (!isIE6) {
		$('#stacks_in_47_page5container').dcSlick({location: 'left', align: 'left', speed: 'fast', offset: '225px', autoClose: true, tabText: 'Start Looking In The Ideas Gallery', 'idWrapper': 'dc-slick-stacks_in_47_page5'});
	}
});

	return stack;
})(stacks.stacks_in_47_page5);



