var t = n = count = 0;   
$(function(){   
    count = $("#play_list a").size();   
    $("#play_list a:not(:first-child)").hide();   
    
    $("#play_text a:first-child").addClass("active");   
    $("#play_text a").click(function() {   
        var i = $(this).text() - 1;   
        n = i;   
        if (i >= count) return;
       
        $("#play_list a").filter(":visible").fadeOut(500).parent().children().eq(i).fadeIn(2000); 
        $(this).addClass("active").siblings().removeClass("active");   
    }); 
	$("#play_text a").hover(function(){
		var i = $(this).text() - 1;   
        n = i;   
        if (i >= count) return;
       
        $("#play_list a").filter(":visible").fadeOut(500).parent().children().eq(i).fadeIn(2000); 
        $(this).addClass("active").siblings().removeClass("active"); 							 
		clearTimeout(t);						   
	},function(){
		t =setTimeout(showAuto,1000);
	});
	
	$("#play_list").hover(function(){
		clearTimeout(t);						   
	},function(){
		t =setTimeout(showAuto,1000);
	});
	showAuto();
})   
  
function showAuto()   
{   
    n = n >= (count - 1) ? 0 : n + 1; 
	$("#play_text a").eq(n).trigger('click');  
	t =setTimeout(showAuto,4000);
}