// form-value
	jQuery.fn.toggleVal = function(focusClass) {
		this.each(function() {
			$(this).focus(function() {
				// clear value if current value is the default
				if($(this).val() == this.defaultValue) { $(this).val(""); }
				
				// if focusClass is set, add the class
				if(focusClass) { $(this).addClass(focusClass); }
			}).blur(function() {
				// restore to the default value if current value is empty
				if($(this).val() == "") { $(this).val(this.defaultValue); }
				
				// if focusClass is set, remove class
				if(focusClass) { $(this).removeClass(focusClass); }
			});
		});
	}

$(document).ready(function(){
// png voor IE
	$('body').pngFix();

// dotted linkline
	$('a').focus(function() {this.blur();});
	
// image fadert
	$('a img').hover(
		function(){
			$(this).stop().animate({"opacity": .76});
	}, function(){
			$(this).stop().animate({"opacity": 1});
	});
// previous fadert
	$('.previous').hover(
		function(){
			$(this).stop().animate({"opacity": .40});
	}, function(){
			$(this).stop().animate({"opacity": 1});
	});
// next fadert
	$('.next').hover(
		function(){
			$(this).stop().animate({"opacity": .40});
	}, function(){
			$(this).stop().animate({"opacity": 1});
	});
// fancybox
	$(".thickbox").fancybox({
		'overlayOpacity'	:	0.7,
		'overlayColor'		:	'#000',
		'zoomSpeedIn'		:	500,
		'zoomSpeedOut'		:	300,
		'easingIn'			: 'easeOutBack',
		'easingOut'			: 'easeInBack' 
	});
});