sections = new Array("solo", "history", "developing_the_concept", "improvisation","the_vocal_instrument");

function display_h2(title_id) {

	document.getElementById("h2_history_title").style.display = "none";
	document.getElementById("h2_developing_the_concept_title").style.display = "none";
	document.getElementById("h2_improvisation_title").style.display = "none";
	document.getElementById("h2_the_vocal_instrument_title").style.display = "none";
	document.getElementById(title_id + "_title").style.display = "block"; 
}

switch_section = function( section ) {

	if( section == "solo" ) {
		document.getElementById( "back_whos" ).style.display = "";
		document.getElementById( "back_solo" ).style.display = "none";
	} else {
		document.getElementById( "back_whos" ).style.display = "none";
		document.getElementById( "back_solo" ).style.display = "";		
	}

	for( var i in sections ) {
		document.getElementById( sections[i] + "_div" ).style.display = "none";
		document.getElementById( "h1_" + sections[i] ).style.display = "none";
	}
	if( !section ) {
		document.getElementById( sections[0] + "_div" ).style.display = "";
		document.getElementById( "h1_" + sections[0] ).style.display = "none";
	} else {
		document.getElementById( section  + "_div" ).style.display = "";
		document.getElementById( "h1_" + section ).style.display = "";
	}
}

page = function() {
	switch_section("solo");
}