$(document).ready(function(){
	Cufon.replace('#top_cta .telephone,h1,h2,h3,h4,h5,h6,#nav a,#latest_news_title span,.headlines a,.mainarea_intro,.promo_box a,.section_link span,#footer_cta p,#side_nav a, #heading_content .progress_windows p, #heading_content .progress_windows li, .find_out_more_block, .cufon', { fontFamily: 'Clan-Bold' });

	Cufon.replace('#top_cta .cta, #side_nav ul li a, #heading_content p, #heading_content li, #main_content .address', { fontFamily: 'Clan-Book' });
	
	Cufon.replace('#main_content .address strong, #main_content .inline_field_value', { fontFamily: 'Clan-Bold' });
	
	Cufon.replace('#heading_content p.progress_windows, #heading_content .progress_windows li', { fontFamily: 'Clan-Bold' });
	
	/*
	$("a.fancybox").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true
	});*/
	
	$('#main_content .promo_box .promo_box_content p').match_heights_for_sub_group(4);
	
	//$($('#heading_panel')[0], $('#main_image')[0]).match_heights(); //not required yet
	
	var window_height = $(window).height(), body_height = $(document.body).height();
	
	if(window_height > body_height)
		$('#sitemap').css('padding-bottom', (window_height - body_height - 3 + parseInt($('#sitemap').css('padding-bottom'))) + 'px');
	
	common_init();
});
