Cufon.replace('#intro h2, p.signin, .m-box h2, .w-box h2, .btn-more, .widgettitle, #content h1, #content h2, #content h3, .entry .h span, #head h2', { fontFamily: 'EuroStile', hover : true });
Cufon.replace('#navigation > li > a', { fontFamily: 'CenturyGothic', hover : true, textShadow: '1px 1px #3992a1, -1px -1px #3992a1, -1px 1px #3992a1, 1px -1px #3992a1' });
Cufon.replace('#f-nav h4', { fontFamily: 'CenturyGothic' });
Cufon.replace('#content h2 span, .athlet .site a, #content h4', { fontFamily: 'EuroStile-Cn', hover : true });

jQuery(function($) {
	// dd
	$('#navigation > li').hover(function() {
		$(this).css({ 'z-index' : 100 });
		$(this).find('> ul').show();
		$(this).find('> a:eq(0)').addClass('hover');
	}, function() {
		$(this).css({ 'z-index' : 1 });
		$(this).find('> ul').hide();
		$(this).find('> a:eq(0)').removeClass('hover');
	});
	
	// table
	$('.list tr').hover(function () {
		$(this).addClass('hover');
	}, function () {
		$(this).removeClass('hover');
	});
	
	if($.browser.msie && $.browser.version.substr(0,1) == 6) {
		DD_belatedPNG.fix('#logo a, #header img, #navigation li a:hover, #navigation li a.hover, #navigation li.current_page_item a, #navigation li ul, #navigation li ul li a:hover, #intro .patients, #intro .staff, .m-box h2, .m-box .btn-learn, #f-nav li .socials img, .address img, #f-nav ul li a:hover, .w-box img, .btn-more, .breadcrumb li, .m-box .btn-learn span, #content h3 span, .partners img, .athlet img, .image-l, .image-r, .soc img, .contact .button');
	}
	
	$("#navigation > li:last").addClass('last');
	
	$('.backtotop').click(function(e){ 
		$('html, body').animate({scrollTop:0}, 'slow', 'easeInOutCirc');
		e.preventDefault(); 
	});
	
	$('.breadcrumb').each(function() {
		$(this).find('li:last').addClass('last');
	});
});
