var $j = jQuery.noConflict();
$j(document).ready(function(){
	$j('xxxx').fontReplace({
	fontFile: 'museo500-regular',
	fontSize: 5,
	fontColor: '#5a0f14',
	width: 50
	});
	$j('h2.overview').fontReplace({
	fontFile: 'museo500-regular',
	fontSize: 14,
	fontColor: '#5a0f14',
	width: 600
	});
	$j('h1.overview').fontReplace({
	fontFile: 'museo500-regular',
	fontSize: 18,
	fontColor: '#5a0f14',
	width: 620
	});
	$j('.sliderHead').fontReplace({
	fontFile: 'museo500-regular',
	fontSize: 14,
	fontColor: '#F26633',
	width: 250
	});
	$j('.entry-title').fontReplace({
	fontFile: 'museo500-regular',
	fontSize: 20,
	fontColor: '#5a0f14',
	width: 600
	});
	$j('.entry-content h2').fontReplace({
	fontFile: 'museo500-regular',
	fontSize: 16,
	fontColor: '#353435',
	width: 610
	});
});
$j(function() {
$j('.teaser').equalHeights(330,430);
$j('.home .article').equalHeights(330,430);
});
$j(function() { 
    // setup ul.tabs to work as tabs for each div directly under div.panes 
    $j("ul.tabs").tabs("div.panes > div");
	$j("div.headbanner_front").scrollable({ 
        vertical:false,
		loop: true,
        size: 1
    }).mousewheel().circular();	
});

function equalHeight() {
	var group = $('#services').find('.block2');
	tallest = 0;
	extended = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}


