var tab = function($tabName){
		
	var tabBox = document.getElementById("tab_box");
	
	tabBox.className = "tab_box " + $tabName;
	
	var tabContentContainer = document.getElementById("tab_content_container");
	
	tabContentContainer.className = "tab_content_container " + $tabName;
	
}

var flyout = function($id){
	
	var menu = document.getElementById($id);
	
	if(menu.className == "flyout"){
		menu.className = "none";	
	}else{
		menu.className = "flyout";
	}
}