

sections = new Array( "choral","philosophy","repertoire","voicestra");

switch_section = function( section ) {

	if( section == "choral" ) {
		document.getElementById( "back_whos" ).style.display = "";
		document.getElementById( "back_choral" ).style.display = "none";
	} else {
		document.getElementById( "back_whos" ).style.display = "none";
		document.getElementById( "back_choral" ).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 = "";
	}
}

clear_image = function() {
	for( var i in sections ) {
		if( sections[i] != "choral" ) {
			document.getElementById( sections[i] + "_img" ).src = "images/choral_bobby/" + sections[i] + "blur.jpg";
		}
	}
}

show_image = function(section) {

	for( var i in sections ) {
		if( sections[i] != "choral" ) {
			document.getElementById( sections[i] + "_img" ).src = "images/choral_bobby/" + sections[i] + "blur.jpg";
		}
	}

	document.getElementById( section  + "_img" ).src = "images/choral_bobby/" + section + "_over.jpg";


}

page = function() {
	switch_section("choral");
}