//start jquery
$(document).ready(function() {



	// INITIALISE KenBurns slider
	$(".peKenBurns").peKenburnsSlider({externalFont:true})
	
	// to allow custom fonts in KenBurns Slider
	jQuery(window).load(function() {
	    $(".peKenBurns").each(function() {
	        $(this).data("peKenburnsSlider").fontsLoaded()
	    })
	})	
	
	// Set opacity of accreditiation logos to fade down to 50% on page load
	$('#accreditations img').animate({
		opacity: 0.3,
		duration: 400
	});
	
	// INITIALISE HOVERFLOW PLUGIN for mouseover & mouseout effects on logos
	$('#accreditations img')
		.hover(function() {
		$(this).hoverFlow('mouseenter', { opacity: 1.0 }, 'fast');
		},
		function(){
		$(this).hoverFlow('mouseleave', { opacity: 0.35 }, 'fast');
	});
	
	// INITIALISE TIPTIP PLUGIN for accreditation logos
	$("#accreditations img").tipTip();
		
}); //end jquery

