$(document).ready( 	function() {
		var $whb = $('#banner').cycle({
			fx: 'fade',
			speed: 1500, 
			timeout: 3000,
			fastOnEvent: true
		});	
		$('#nav li').hover(function() { 
			$whb.cycle( $("#nav li").index(this));
			return false; 
		}); 
		$('a[rel*=external], a[rel*=nofollow],, a[rel*=popup]').click( function() {
			window.open(this.href);
			return false;
		});
		$('#homeaccreditations img').mouseover(function() { 
			$(this).css('opacity','1');
			$(this).css('filters.alpha.opacity','100');
		});
		$('#homeaccreditations img').mouseout(function() { 
			$(this).css('opacity','0.5');
			$(this).css('filters.alpha.opacity','50');
		});
		$('#fblink, #twitlink,#rsslink').mouseover(function() { 
			$(this).stop().animate({ height: '30px' }, 750);
		});
		$('#fblink, #twitlink,#rsslink').mouseout(function() { 
			$(this).stop().animate({ height: '18px' }, 1000);
		});
		$('#quotelink').mouseover(function() { 
			$(this).stop().animate({ height: '32px' }, 750);
		});
		$('#quotelink').mouseout(function() { 
			$(this).stop().animate({ height: '25px' }, 750);
		});	
		$('a.subbox_btn').mouseover(function(){
			$(this).fadeTo(50,0.7);
		});
		$('a.subbox_btn').mouseout(function(){
			$(this).fadeTo(400,1);
		});		

	});

