 var slideshow;
   var current = 0;
   function nextImage(){
	   current++;
	   if(current >= 4){
		current=0;
	   }
	   moveOn();
	 }
   function moveOn(){
	 $('#featureList li').each(function(i) {
				if(i != current){
					$(this).fadeOut('slow');
				}else{
					$(this).fadeIn('slow');
				}	
		  });
	 $('#rightList li').each(function(i) {
				if(i == current){
					$(this).addClass('on');
				} else{
					$(this).removeClass('on');
				}
		 });	
	} 
$(document).ready(function(){
   var slideshowTimer = 9000;
   this.slideshow = setInterval("nextImage()", slideshowTimer);
   //hide all apart from one
	$('#featureList li').each(function(i) {
			if(i != current){
				$(this).hide();
			}
	  });
	$('#rightList li').each(function(i) {
			if(i == current){
				$(this).addClass('on');
			}
			$(this).mouseover(function(){
			current = i;
			moveOn();
			});
	  });
});
