

function cycleSlides()
{
	
	var active = $("#right_panel div.active");
	var next = active.next('div');
	
	active.fadeOut(800);
	var t = setTimeout("showNext();",800);
	
}
function showNext()
{
	var active = $("#right_panel div.active");
	var next = active.next('div');
	if(!next.html()) 
	{
		var next = 	$("#right_panel").find("div:first");
	}
	next.fadeIn(800);
	active.removeClass("active");
	next.addClass("active");
}



$(document).ready(function(){
	var cycling = setInterval("cycleSlides()",5000);
});
