// figures the height of the everything div based on the length of the blog-

function setEverythingHeight () {
	if (document.getElementById('blogContent')) {
		var blogHeight = document.getElementById('blogContent').offsetHeight;
	} else { blogHeight = 0; };
	if (document.getElementById('mainContent')) {
		var mainHeight = document.getElementById('mainContent').offsetHeight;
	} else { mainHeight = 0; };
	var sidebarHeight = document.getElementById('sidebar').offsetHeight;
	if (sidebarHeight > blogHeight) {
		blogHeight = sidebarHeight;
	}
	if (mainHeight > blogHeight) {
		blogHeight = mainHeight+75;
	}
	
	blogHeight += 350;

	if (document.getElementById('everything').offsetHeight < blogHeight) {
		document.getElementById('everything').style.height = blogHeight + 'px' ;	
	}
}

function switchArtistsMenu( activeMenu ) {
	
	var theDivs = ['artistsAll', 'artistsSound', 'artistsLight', 'artistsWord'];
		
	//invis everything
	for (i = 0; i < 4; i++) {
		document.getElementById(theDivs[i]).style.visibility = 'hidden';
	}
	
	//vis the active
	document.getElementById('artists').style.height = '200px';
	document.getElementById(activeMenu).style.visibility = 'visible';
	
}
