
// '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_667_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_667_page0 = {};

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

//-- Sweet Button Stack v1.5.2 by Joe Workman --//



jQuery.fn.exists = function(){return jQuery(this).length>0;}
$(document).ready(function() {
	function change_button_state() {
        $('#stacks_in_667_page0 .sweet_button_wrapper').removeClass('animate');
	    if($('#stacks_in_667_page0 .sweet_button.clicked').exists() && false){
            $('#stacks_in_667_page0 .sweet_button').removeClass('clicked');
            
            if ('Bedankt!' != 'Bekijk de Paasbrunch') {
            	$('#stacks_in_667_page0 .button_label').html('Bekijk de Paasbrunch');
            }		
            
	    }
	    else {
            $('#stacks_in_667_page0 .sweet_button').addClass('clicked');
            
            if ('Bedankt!' != 'Bekijk de Paasbrunch') {
            	$('#stacks_in_667_page0 .button_label').html('Bedankt!');
            }		
            
	    }
	}
    
	$('#stacks_in_667_page0 .sweet_button').click(function() {
		change_button_state();
		
	});
});

//-- End Sweet Button Stack --//


	return stack;
})(stacks.stacks_in_667_page0);


// Javascript for stacks_in_54_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_54_page0 = {};

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

//-- Sweet Button Stack v1.5.2 by Joe Workman --//



jQuery.fn.exists = function(){return jQuery(this).length>0;}
$(document).ready(function() {
	function change_button_state() {
        $('#stacks_in_54_page0 .sweet_button_wrapper').removeClass('animate');
	    if($('#stacks_in_54_page0 .sweet_button.clicked').exists() && false){
            $('#stacks_in_54_page0 .sweet_button').removeClass('clicked');
            
            if ('Bedankt!' != 'Miljoenste gast pagina') {
            	$('#stacks_in_54_page0 .button_label').html('Miljoenste gast pagina');
            }		
            
	    }
	    else {
            $('#stacks_in_54_page0 .sweet_button').addClass('clicked');
            
            if ('Bedankt!' != 'Miljoenste gast pagina') {
            	$('#stacks_in_54_page0 .button_label').html('Bedankt!');
            }		
            
	    }
	}
    
	$('#stacks_in_54_page0 .sweet_button').click(function() {
		change_button_state();
		
	});
});

//-- End Sweet Button Stack --//


	return stack;
})(stacks.stacks_in_54_page0);


// Javascript for stacks_in_47_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_47_page0 = {};

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

//-- Sweet Button Stack v1.5.2 by Joe Workman --//



jQuery.fn.exists = function(){return jQuery(this).length>0;}
$(document).ready(function() {
	function change_button_state() {
        $('#stacks_in_47_page0 .sweet_button_wrapper').removeClass('animate');
	    if($('#stacks_in_47_page0 .sweet_button.clicked').exists() && false){
            $('#stacks_in_47_page0 .sweet_button').removeClass('clicked');
            
            if ('Bedankt!' != 'Fotopagina Gala Avond') {
            	$('#stacks_in_47_page0 .button_label').html('Fotopagina Gala Avond');
            }		
            
	    }
	    else {
            $('#stacks_in_47_page0 .sweet_button').addClass('clicked');
            
            if ('Bedankt!' != 'Fotopagina Gala Avond') {
            	$('#stacks_in_47_page0 .button_label').html('Bedankt!');
            }		
            
	    }
	}
    
	$('#stacks_in_47_page0 .sweet_button').click(function() {
		change_button_state();
		
	});
});

//-- End Sweet Button Stack --//


	return stack;
})(stacks.stacks_in_47_page0);



