var $j = jQuery.noConflict();

jQuery(document).ready(function($) {

	$('.clickable').fitted();
				
	$('.slideshow').cycle({
		fx: 'fade',
		timeout: 6000
	});
			
	function equalHeight(group) {
		tallest = 0;
		group.each(function() {
			thisHeight = $(this).height();
			if(thisHeight > tallest) {
				tallest = thisHeight;
			}
		});
		
			group.height(tallest);
		}
	
	equalHeight($('.maincol'));
	equalHeight($('.footergroup'));
	equalHeight($('.promointro'));
	equalHeight($('.eventpreview .detailsblock'));
	equalHeight($('.equalised'));
			
	$('code.javascript').runcode();

});


