// JavaScript Document



function ResetMathTabs(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
document.getElementById('math_opt1').className = 'math_opt1';
document.getElementById('math_opt2').className = 'math_opt2';
document.getElementById('math_opt3').className = 'math_opt3';
document.getElementById('math_opt4').className = 'math_opt4';
document.getElementById('math_opt1_content').style.display = "none";
document.getElementById('math_opt2_content').style.display = "none";
document.getElementById('math_opt3_content').style.display = "none";
document.getElementById('math_opt4_content').style.display = "none";

}


function ResetScienceTabs(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
document.getElementById('science_opt1').className = 'science_opt1';
document.getElementById('science_opt2').className = 'science_opt2';
document.getElementById('science_opt3').className = 'science_opt3';
document.getElementById('science_opt4').className = 'science_opt4';
document.getElementById('science_opt1_content').style.display = "none";
document.getElementById('science_opt2_content').style.display = "none";
document.getElementById('science_opt3_content').style.display = "none";
document.getElementById('science_opt4_content').style.display = "none";

}





function ResetWeatherTabs(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
document.getElementById('weather_opt1').className = 'weather_opt1';
document.getElementById('weather_opt2').className = 'weather_opt2';
document.getElementById('weather_opt3').className = 'weather_opt3';
document.getElementById('weather_opt4').className = 'weather_opt4';
document.getElementById('weather_opt1_content').style.display = "none";
document.getElementById('weather_opt2_content').style.display = "none";
document.getElementById('weather_opt3_content').style.display = "none";
document.getElementById('weather_opt4_content').style.display = "none";

}






function HideContentm1(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('math_opt2').className = 'math_opt2_under_selected';
document.getElementById('math_opt3').className = 'math_opt3';
document.getElementById('math_opt4').className = 'math_opt4';

}




function ShowContentm1(d) {
	if(d.length < 1) { return; }
	
	document.getElementById(d).style.display = "block";
	document.getElementById('math_opt1').className = 'math_opt1_selected';
	document.getElementById('math_opt2').className = 'math_opt2_under_selected';
	
}






function HideContentm2(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('math_opt1').className = 'math_opt1';
document.getElementById('math_opt3').className = 'math_opt3_under_selected';
document.getElementById('math_opt4').className = 'math_opt4';

}




function ShowContentm2(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('math_opt2').className = 'math_opt2_selected';
	document.getElementById('math_opt3').className = 'math_opt3_under_selected';
	
}









function HideContentm3(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('math_opt1').className = 'math_opt1';
document.getElementById('math_opt2').className = 'math_opt2';
document.getElementById('math_opt4').className = 'math_opt4_under_selected';

}




function ShowContentm3(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('math_opt3').className = 'math_opt3_selected';
	document.getElementById('math_opt4').className = 'math_opt4_under_selected';
	
}








function HideContentm4(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('math_opt1').className = 'math_opt1';
document.getElementById('math_opt2').className = 'math_opt2';
document.getElementById('math_opt3').className = 'math_opt3';

}




function ShowContentm4(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('math_opt4').className = 'math_opt4_selected';
	
	
}







function HideContentm5(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('math_opt1').className = 'math_opt1';
document.getElementById('math_opt2').className = 'math_opt2';
document.getElementById('math_opt3').className = 'math_opt3';
document.getElementById('math_opt4').className = 'math_opt4';
}

































function HideContents1(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('science_opt2').className = 'science_opt2_under_selected';
document.getElementById('science_opt3').className = 'science_opt3';
document.getElementById('science_opt4').className = 'science_opt4';

}




function ShowContents1(d) {
	if(d.length < 1) { return; }
	
	document.getElementById(d).style.display = "block";
	document.getElementById('science_opt1').className = 'science_opt1_selected';
	document.getElementById('science_opt2').className = 'science_opt2_under_selected';
	
}






function HideContents2(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('science_opt1').className = 'science_opt1';
document.getElementById('science_opt3').className = 'science_opt3_under_selected';
document.getElementById('science_opt4').className = 'science_opt4';

}




function ShowContents2(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('science_opt2').className = 'science_opt2_selected';
	document.getElementById('science_opt3').className = 'science_opt3_under_selected';
	
}









function HideContents3(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('science_opt1').className = 'science_opt1';
document.getElementById('science_opt2').className = 'science_opt2';
document.getElementById('science_opt4').className = 'science_opt4_under_selected';

}




function ShowContents3(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('science_opt3').className = 'science_opt3_selected';
	document.getElementById('science_opt4').className = 'science_opt4_under_selected';
	
}








function HideContents4(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('science_opt1').className = 'science_opt1';
document.getElementById('science_opt2').className = 'science_opt2';
document.getElementById('science_opt3').className = 'science_opt3';

}




function ShowContents4(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('science_opt4').className = 'science_opt4_selected';

	
}


















































function HideContentw1(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('weather_opt2').className = 'weather_opt2_under_selected';
document.getElementById('weather_opt3').className = 'weather_opt3';
document.getElementById('weather_opt4').className = 'weather_opt4';

}




function ShowContentw1(d) {
	if(d.length < 1) { return; }
	
	document.getElementById(d).style.display = "block";
	document.getElementById('weather_opt1').className = 'weather_opt1_selected';
	document.getElementById('weather_opt2').className = 'weather_opt2_under_selected';
	
}






function HideContentw2(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('weather_opt1').className = 'weather_opt1';
document.getElementById('weather_opt3').className = 'weather_opt3_under_selected';
document.getElementById('weather_opt4').className = 'weather_opt4';

}




function ShowContentw2(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('weather_opt2').className = 'weather_opt2_selected';
	document.getElementById('weather_opt3').className = 'weather_opt3_under_selected';
	
}









function HideContentw3(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('weather_opt1').className = 'weather_opt1';
document.getElementById('weather_opt2').className = 'weather_opt2';
document.getElementById('weather_opt4').className = 'weather_opt4_under_selected';

}




function ShowContentw3(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('weather_opt3').className = 'weather_opt3_selected';
	document.getElementById('weather_opt4').className = 'weather_opt4_under_selected';
	
}








function HideContentw4(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";

document.getElementById('weather_opt1').className = 'weather_opt1';
document.getElementById('weather_opt2').className = 'weather_opt2';
document.getElementById('weather_opt3').className = 'weather_opt3';

}




function ShowContentw4(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
	
	document.getElementById('weather_opt4').className = 'weather_opt4_selected';

	
}





































function ClassChangem1 (e) {
		document.getElementById('math_opt1').className = 'math_opt1_selected';
		document.getElementById('math_opt2').className = 'math_opt2_under_selected';
}




function ClassBackm1 (ee) {
	
	if(document.getElementById(ee).style.display == "block") {
		document.getElementById('math_opt1').className = 'math_opt1_selected';
		document.getElementById('math_opt2').className = 'math_opt2_under_selected';
	}
	
	if(document.getElementById(ee).style.display == "none") {
		document.getElementById('math_opt1').className = 'math_opt1';
		document.getElementById('math_opt2').className = 'math_opt2';
	}
}





function ClassChangem2 (e) {
	
	var dd = document.getElementById(e);
	var ff = document.getElementById('math_opt3');

	dd.className = 'math_opt2_selected';
	ff.className = 'math_opt3_under_selected';
	dd.style.cursor = "pointer";
	
	
}


function ClassBackm2 (ee) {
	
	var gg = document.getElementById(ee);
	var hh = document.getElementById('math_opt3');
	var jj = document.getElementById('math_opt2_content');
	
	if (jj.style.display == "block"){
		gg.className = 'math_opt2_selected';
		hh.className = 'math_opt3_under_selected';
		
	}
	
	if (jj.style.display == "none") {
		gg.className = 'math_opt2';
		hh.className = 'math_opt3';
	}
	
		
	gg.style.cursor = "pointer";
}















function ClassChangem3 (e) {
	
	var ddd = document.getElementById(e);
	var fff = document.getElementById('math_opt4');

	ddd.className = 'math_opt3_selected';
	fff.className = 'math_opt4_under_selected';
	ddd.style.cursor = "pointer";
	
	
}


function ClassBackm3 (ee) {
	
	var ggg = document.getElementById(ee);
	var hhh = document.getElementById('math_opt4');
	ggg.className = 'math_opt3'
	hhh.className = 'math_opt4';

	dddd.style.cursor = "pointer";
}



















function ClassChangem4 (e) {
	
	var dddd = document.getElementById(e);
	var ffff = document.getElementById('math_opt5');

	dddd.className = 'math_opt4_selected';
	ffff.className = 'math_opt5_under_selected';
	dddd.style.cursor = "pointer";
	
	
}


function ClassBackm4 (ee) {
	
	var gggg = document.getElementById(ee);
	var hhhh = document.getElementById('math_opt5');
	gggg.className = 'math_opt4'
	hhhh.className = 'math_opt5';

	gggg.style.cursor = "pointer";
}





















function ClassChangem5 (e) {
	
	var ddddd = document.getElementById(e);


	ddddd.className = 'math_opt5_selected';

	ddddd.style.cursor = "pointer";
	
	
}


function ClassBackm5 (ee) {
	
	var ggggg = document.getElementById(ee);

	ggggg.className = 'math_opt5'


	ggggg.style.cursor = "pointer";
}










