maak_font();
$(document).ready(function() {
	
	
	$('#container #header #login-form').hoverIntent(function() {
		$(this).css({'opacity': '0.4'});
		$(this).animate({opacity: '1'}, 'normal');
	}, function() {
		$(this).animate({opacity: '0.4'}, 'normal');
	});


    $('.tooltip-s').tipsy({
			gravity: 's'
			//fade: true
			});
   

	/* prettyphoto */
	$("a[rel^='prettyPhoto']").prettyPhoto({theme:'light_rounded'});



});

function surf(url) {
	window.location=url;
}



function addtext(tekst) {
	$('#slowchat-reactie').focus();
	var newtext = $('#slowchat-reactie').val() + tekst;
	$('#slowchat-reactie').val(newtext);
	$('#emoticons-container p a').removeClass('active');
}

function maak_font() {
	Cufon.replace('h1, h2, .garage', { fontFamily: 'garage' });
	Cufon.replace('#news-intro-pic h1, #news-intro-pic h2', { textShadow: '#000 1px 1px' });	
	Cufon.replace('#prijsvraag h1, #prijsvraag h2', { textShadow: '#000 1px 1px' });	
}