

function ot_open( tab, content )
{
	var t = document.getElementById( tab );
	var c = document.getElementById( content );
	var tabholder = t.parentNode;
	var contentholder = c.parentNode;
	
	for( i = 0; i < tabholder.childNodes.length; i++ )
		tabholder.childNodes[i].className = "ot_tab";
		
	for( i = 0; i < contentholder.childNodes.length; i++ )
		contentholder.childNodes[i].className = "ot_tab_content";
	
	t.className = "ot_tab_active";
	c.className = "ot_tab_content_active";	
}