	var slider_speed = '5000';
	var animation_style = 'Slide Up/Down';
	
	var show_caption = 'Yes';
		
	jQuery(document).ready(function(){
		if(show_caption == 'No') {
			jQuery("#featured .ui-tabs-panel .info").hide();	
		}
		if( animation_style == 'Slide Up/Down'){
			FCGSlideInOut();
		}
		else if( animation_style == 'Fade In/Out'){
			FCGFadeInOut();
		}
	});  
	function FCGSlideInOut(){
		jQuery("#featured").tabs(
			{
			fx:{opacity: "toggle"},
			 select : function(){
			 	if( show_caption != 'No') {
					jQuery("#featured .ui-tabs-panel .info").animate({top:'280px'}, 500 ).animate({top:'180px'}, 500 );
					// The title slides in!
				}
			}
			}
			).tabs("rotate", 5000, true); 
		
		jQuery("#featured").hover(function() {  
			jQuery("#featured").tabs("rotate",0,true); 
			},  
		function() {  
		jQuery("#featured").tabs("rotate",5000,true);  

		});  
	}
	function FCGFadeInOut(){
//		jQuery("#featured .ui-tabs-panel .info").css('top','280px');
		jQuery("#featured").tabs(
			{
			fx:{opacity: "toggle"},
			select : function(){
				if( show_caption != 'No') {
					//jQuery("#featured .ui-tabs-panel .info").fadeOut("slow");
				}
			}
			}
			).tabs("rotate", slider_speed, true); 
		$("#featured").hover(function() {  
			$("#featured").tabs("rotate",0,true); 
			},  
		function() {  
		$("#featured").tabs("rotate",slider_speed,true);  

		});  
	}
