function pageLoaded() {
	Cufon.replace('#navigation a, .top-menu, h2, #content h1, #menu li', { fontFamily: 'TradeGothicBoldCondensed', hover: true });
	
	Cufon.now();
};

$(function(){
	
	$('#menu a').click(function() {
		var href = $(this).attr('href');
		$.scrollTo(href, 800);
		return false;
	});
	
	$('#content .article .header img').css('opacity','0.5');
	$(window).scroll(function() {
		$('#content .article .header img').each(function() {
			if ($(window).scrollTop() + $(window).height()/2 > $(this).offset().top) {
				$(this).animate({'opacity': '1'}, 800)
			};
		});
	}).scroll();
	
});
