$(document).ready(function(){	
	// Cufon.replace('#header p strong, #main-feature h1, #feature-items h2 a, #news h2, #mainarea h1, #mainarea h2, #mainarea h3, #mainarea h4, #callto p, #sidenav li a.depth_2 span, #sidenav a, #nav ul li a', { fontFamily: 'cufoned-myriad' });
	
	$('#slideshow').before('<div id="slideshowNav">').cycle({
		timeout: 6000,
		pager: '#slideshowNav'
	});
	
	/*
	$("a.fancybox").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true
	});*/
	
	$('#sections .section .section_content').match_heights_for_sub_group(4);
	$('#sections .section').match_heights_for_sub_group(4);
	$('body.d_o-layout-portal .promo_box_content').match_heights_for_sub_group(4);
	$('body.home .promo_box_content').match_heights_for_sub_group(3);
	
	common_init();
	
});
