Accordion.Controller.MultiTabAlwaysOpen = Class.create(Accordion.Controller, {
	manageActivatedTab: function(activatedTab){
		// if the activated tab is open..
		if(activatedTab._open){
			// check to see if multiple tabs are open
			var openTabs = this.tabs.findAll(function(currentTab){
				return currentTab._open;
			});
			// if multiple are open, close the tab
			if (openTabs.length > 1){
				this.closeTab(activatedTab);
			}
		// if the activated tab is closed, open it.
		} else {
			this.openTab(activatedTab)
		}	
	},
	getCurrentTab: function(){
		return "MultiTab Controller does not support this function.";
	},
	getNextTab: function(){
		return "MultiTab Controller does not support this function.";
	},
	getPreviousTab: function(){
		return "MultiTab Controller does not support this function.";
	}
});
