$(function(){
		   $(".slider dt").click(function()
								{
									$(".slider dt").removeClass("on");
									$(".slider dd").fadeOut("normal", function(){
																			   	$(this).removeClass("on");
																			   });
									
									var index = $(this).parent().find("dt").index(this);
									$(".slider dt").eq(index).addClass("on");
									
									$(".slider dd").eq(index).fadeIn("normal", function(){
																			   	$(this).addClass("on");
																			   });
								});
		   });

$(document).ready(function() {});
var timeoutScroller;
$(function(){
	
	// Header fader
	$(".slide").eq(0).nextAll().hide();
	timeoutScroller = setTimeout('doSlide(0)', 4000);
	
});

function doSlide(curIndex)
{
	var next = curIndex+1;
	if(curIndex == $(".rotator li").length - 1)
		next = 0;
	
	$(".rotator li.on").removeClass("on");
	$(".rotator li").eq(next).addClass("on");

	$(".rotator li").stop(true,true).fadeOut();
	$(".rotator li").eq(next).stop(true,true).fadeIn();
	timeoutScroller = setTimeout('doSlide(' + next + ')', 4000);
}



