	Cufon.refresh();
	function makeCufon() {
	Cufon.replace('h1');
	Cufon.replace('.future a');

	Cufon.replace('.make-me-futura p, .entry-meta');
	Cufon.replace('.make-me-futura h2');	
	Cufon.replace('.make-me-futura h3');	
	Cufon.replace('#content h5');		
	Cufon.replace('#slidecaption-wrap');
	Cufon.replace('.widgettitle');	
	
}
makeCufon();


$(document).ready(function() {
	
	//the loading image
	var $loader		= $('#st_loading');
	//the ul element
	var $list		= $('#nav');
	//the current image being shown
	var $currImage 	= $('#wrap').children('img:first');
	
	
	$('<img>').load(function(){
		$loader.hide();
		$currImage.fadeIn(3000);
		//slide out the menu
		setTimeout(function(){
			$list.animate({'left':'0px'},500);
		},
		1000);
	}).attr('src',$currImage.attr('src'));
	
	// temporay fix...
	// $('li a').each(function() {
	// 	var link = $(this).attr('href');
	// 	$(this).attr('href', link.split('http://www.foto-di-matti.com/').join('http://www.foto-di-matti.com/wp/'));
	// })

	
	
});

