$(document).ready(function(){

// dotted border removert
	$('a').focus(function() {this.blur();});
	
// neukende IE insect
	$(document).pngFix();

// plaatjes-die-heul-link-zijn fadert
	$('a.linkimage img').hover(
		function(){
			$(this).stop().animate({"opacity": .67});
	}, function(){
			$(this).stop().animate({"opacity": 1});
	});
});

// 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); }
		});
	});
}

