Cufon.replace('#navigation ul li a, .btn-round, .btn-round2, .box-gray h3, .box-loc .col h4, .inner h2, .box-resources .info h3', { fontFamily : 'Archer Bold', hover : true });
Cufon.replace('.slider-holder .caption h2, .slider-holder .caption h3, .box-testi p, .sidebar h3', { fontFamily : 'Archer Book', hover : true });

jQuery(function ($) {
	$('#home-slider').jcarousel({
		scroll: 1,
		auto: 5,
		wrap: 'both',
		buttonNextHTML: null,
		buttonPrevHTML: null
	});
	
	$('#navigation li:last, #footer .holder li:last, .box-news .body li:last, .subpage_menu li:last').addClass('last');
	$(".box-serv .body .col:first").addClass('col-first');
	$('.box-serv .col').each(function() {
		$(this).find('li:last').addClass('last');
	});
	$('.box-who .testimonial:last').addClass('last-testimonial');
	
	$('.news-caption').each(function() {
		var th = $(this).height();
		var h = $(this).find('.caption-content').height();
		$(this).find('.caption-content').css('padding-top', (th - h) / 2 - 10);
	});
	
	$('.not-singular-post:last').addClass('last-post');
	$('.error404 #navigation .current_page_parent').removeClass('current_page_parent');
	Cufon.refresh();
	
});
