//needs documentatiion



	$(document).ready(function(){
		//main banner on index
		$('#flashDiv').innerfade({ animationtype: 'fade', speed: 1100, timeout: 8500, type: 'sequence' }); 	
		
		//toggle elements
		$('div.toggler-c').toggleElements( 
        { fxAnimation:'slide', fxSpeed:'slow', className:'toggler' } ); 
		$('ul.toggler-c').toggleElements(); 
		
		//right column accordian
		$("dd:not(:first)").hide();
		$("dt a").click(function(){
		$("dd:visible").slideUp("slow");
		$(this).parent().next().slideDown("slow");
		return false;
		});
		
		//fade element animation used for client journey
		$('.fadeThis').append('<span class="hover"></span>').each(function () {
		var $span = $('> span.hover', this).css('opacity', 0);
		$(this).hover(function () {
			$span.stop().fadeTo(500, 1);
		}, function () {
	    $span.stop().fadeTo(500, 0);
	  });});}); 
	
	
	
	
	$(function () {
			//footer 
			var tabContainers = $('div.tabs > div');
			tabContainers.hide().filter(':first').show();
			
			$('div.tabs ul.tabNavigation a').click(function () {
				tabContainers.hide();
				tabContainers.filter(this.hash).show();
				$('div.tabs ul.tabNavigation a').removeClass('selected');
				$(this).addClass('selected');
				return false;
			}).filter(':first').click();
		});		
