/* * * * * * * * * * * * * * * * * *
* Navigation scriptage
* * * * * * * * * * * * * * * * * */

	function underlineActiveSection(section){
		if(isFF()){
			document.getElementById("section_" + section).setAttribute('class','activeSection');}
		else{
			document.getElementById("section_" + section).style.color = 'black';
			document.getElementById("section_" + section).style.textDecoration = 'underline';
			}
	}

	function goToSection(section){
		hideSectionUnderlines();
		underlineActiveSection(section);


		switch(section){
			case('home'):
				showContent('home');
				hideContent('members','about','contactus');
				break;
			case('members'):
				showContent('members');
				hideContent('home','about','contactus');
				break;
			case('about'):
				showContent('about');
				hideContent('home','members','contactus');
				break;
			case('contactus'):
				showContent('contactus');
				hideContent('home','members','about');
				break;
			default:
				alert('bad value');
		}
	}

	function hideSectionUnderlines(){
		if(isFF()){
			document.getElementById('section_home').setAttribute('class','');
			document.getElementById('section_members').setAttribute('class','');
			document.getElementById('section_about').setAttribute('class','');
			document.getElementById('section_contactus').setAttribute('class','');}
		else {
			document.getElementById('section_home').style.color = '#a2a276';
			document.getElementById('section_members').style.color = '#a2a276';
			document.getElementById('section_about').style.color = '#a2a276';
			document.getElementById('section_contactus').style.color = '#a2a276';
			document.getElementById('section_home').style.textDecoration = 'none';
			document.getElementById('section_members').style.textDecoration = 'none';
			document.getElementById('section_about').style.textDecoration = 'none';
			document.getElementById('section_contactus').style.textDecoration = 'none';}
	}
