// JavaScript Document

var tab_list = new Array ("tab1", "tab2", "tab3", "tab4");

function hide (l) {

	if (l == 'tab') { hide_these_tabs = tab_list; }

	a = l + "1_l";
	
	for (var i = 1; i < hide_these_tabs.length; ++i) {

		document.getElementById(hide_these_tabs[i]).style.display = 'none';

	}

}


function pyro_show (a) {
  document.getElementById("tab1_link").style.backgroundColor = '#DDDDDD';
  document.getElementById("tab2_link").style.backgroundColor = '#DDDDDD';
  document.getElementById("tab3_link").style.backgroundColor = '#DDDDDD';	
  document.getElementById("tab4_link").style.backgroundColor = '#DDDDDD';	

  a.style.backgroundColor = '#FFFFFF';	
}

function show (a, k) {
	if (k == 'tab') { these_tabs = tab_list; }
	 document.getElementById(a).style.display = 'block';
	 a = a + "_l";
	 for (var i = 0; i < these_tabs.length; ++i) {
	 	c = these_tabs[i] + "_l";
	 	if (c != a) {
   		document.getElementById(these_tabs[i]).style.display = 'none';
	 		b = these_tabs[i] + "_l";
	 	}
	 }

}