$(document).ready(function(){

	/* Converting the #box div into a bounceBox: */
	$('#pokemon').bounceBox();

	/* Listening for the click event and toggling the box: */
	$('a.button').click(function(e){

		$('#pokemon').bounceBoxToggle();
		e.preventDefault();
	});
	
	/* When the box is clicked, hide it: */
	$('#pokemon').click(function(){
		$('#pokemon').bounceBoxHide();
	});
});

$(document).ready(function(){

	/* Converting the #box div into a bounceBox: */
	$('#yugioh').bounceBox();

	/* Listening for the click event and toggling the box: */
	$('a.button2').click(function(e){

		$('#yugioh').bounceBoxToggle();
		e.preventDefault();
	});
	
	/* When the box is clicked, hide it: */
	$('#yugioh').click(function(){
		$('#yugioh').bounceBoxHide();
	});
});
$(document).ready(function(){

	/* Converting the #box div into a bounceBox: */
	$('#magic').bounceBox();

	/* Listening for the click event and toggling the box: */
	$('a.button3').click(function(e){

		$('#magic').bounceBoxToggle();
		e.preventDefault();
	});
	
	/* When the box is clicked, hide it: */
	$('#magic').click(function(){
		$('#magic').bounceBoxHide();
	});
});
