// ==================================================================================================== GALLERY
$(document).ready(function(){
/*	$('.gallery').addClass('gallery_tb'); // adds new class name to maintain degradability
	$('.nav').css('display','none'); // hides the nav initially

	$('ul.gallery_tb').galleria({
		history   : false, // deactivates the history object for bookmarking, back-button etc.
		clickNext : false, // helper for making the image clickable. Let's not have that in this example.
		insert    : '#main_image', // the containing selector for our main image
		onImage   : function(image,caption,thumb) { 
			$('.nav').css('display','block'); 
		} // shows the nav when the image is showing
	});*/
	$("a.box").fancybox();
});

// ==================================================================================================== CHECK
	$(function(){

		$("#checkbox").checkbox({checked: "/img/checked.gif", unchecked: "/img/check.gif"});
		$("#cssCheckbox").cssCheckbox();
/*
		$("form").submit(function() {

			var string = "";
			$(":checkbox", this).each(function(){
				string += this.name + ": " + this.checked + "\n"
			});
			alert(string);
			return false;
		});
		*/
	});

