	var current_spot;
		var features_total;
		var features_length;
		var rotator_off = 0;

			jQuery(document).ready(function() { 
				//alert(jQuery('.feature').length);
				 current_spot = 1;
				 features_total = jQuery('.feature').length;
				features_length = jQuery('.feature').length * 885;
				jQuery('.feature_slide_holder').css("width",features_length+"px");	
				
				jQuery(".feature_holder").hover(function(){
					jQuery(this).find(".description").animate({"bottom": "0px"}, "fast");

					
					},function(){					
					jQuery(this).find(".description").animate({"bottom": "-140px"}, "fast");
				});

					
    		}); 
		
		function GoRight(){
				rotator_off = 1;
				if(current_spot < features_total){
				//alert("ya");
					jQuery('.feature_slide_holder').animate({"left": "-=882px"}, "slow");
					//jQuery('body').css("background-color","red");
					current_spot++;
				}else{
					jQuery('.feature_slide_holder').animate({"left": "0px"}, "slow");
					current_spot=1;
				}
			}	
		function GoLeft(){
				rotator_off = 1;
				if(current_spot != 1){
				//alert("ya");
					jQuery('.feature_slide_holder').animate({"left": "+=882px"}, "slow");
					//jQuery('body').css("background-color","red");
					current_spot--;
				}else{
					place = (jQuery('.feature').length - 1) * 885;
					jQuery('.feature_slide_holder').animate({"left": -place}, "slow");
					current_spot=features_total;
				}
			}	
		function rotateTo(){
		//alert("rotate");
	//count minus 1
		if(rotator_off != 1){
			if(current_spot < features_total){
				jQuery('.feature_slide_holder').animate({"left": "-=882px"}, "slow");
					//jQuery('body').css("background-color","red");
					current_spot++;
			}else{
				jQuery('.feature_slide_holder').animate({"left": "0px"}, "slow");
					current_spot=1;
			}
			CountRotateTime();
		}
	}
	
function CountRotateTime(){
	if(rotator_off != 1){
		var t=setTimeout("rotateTo()",5000);
	}
}
