BRL_feature_portfolio = {
	
	show : function() {
		jQuery("#portfolio_hover").stop();
		BRL_feature_portfolio.hide();
		
		if(BRL_feature_portfolio.Current >= BRL_feature_portfolio.numItems)
			BRL_feature_portfolio.Current = 1
		
		//Set the active opacity
		jQuery(".menuitem").animate({"opacity":"0.65"},350);
		jQuery("#folio"+BRL_feature_portfolio.Current+" a").animate({"opacity":"1"},350);
		
		//Move the slider
		pos = (BRL_feature_portfolio.Current-1) * 120;
		jQuery("#portfolio_hover").animate({"marginLeft": pos+"px"});
		jQuery("#stage"+BRL_feature_portfolio.Current).fadeIn(650)
		BRL_feature_portfolio.Current++;
	},
	
	showId : function(id){
		BRL_feature_portfolio.Current = id;
		BRL_feature_portfolio.stop();
		BRL_feature_portfolio.show();
	},
	
	hide : function () {
		jQuery(".feature_stage_item").fadeOut(650);
	},

	start : function() {
		BRL_feature_portfolio.Interval = setInterval(BRL_feature_portfolio.show, 8000);
	},
	
	stop : function() {
		clearInterval(BRL_feature_portfolio.Interval);
	}
}