//<![CDATA[
 	var lastTabId = 1;
	function tab_switch(id)
	{
		document.getElementById('section-' + lastTabId).style.display = 'none';
		document.getElementById('section-' + id).style.display = 'block';
		lastTabId = id;
		
		var ourTabs = document.getElementById('tab_anchors').getElementsByTagName("li");
		
		for(var i = 0; i < ourTabs.length; i++)
		{
			if ((i + 1) == id)
			{
				ourTabs[i].className = 'tabOn' + (i+1);
			}
			else
			{
				ourTabs[i].className = 'tab' + (i+1);
			}
		}
		
		//.anchors .tabs-selected a.a_tab1:link, .anchors .tabs-selected a.a_tab1:visited,
	}
//]]>