// Replaces getElementById
function get_obj(id)
{
	return document.getElementById(id);
}

function showHide(theid)
{
	if(document.getElementById(theid).style.display == 'block' ) 
	{
		document.getElementById(theid).style.display = 'none';
		return;
	}
	
	for (i=0; i<=5; i++)
	{
		document.getElementById(i).style.display = 'none';//----->This is the initial value of the menu  
	}
	document.getElementById(theid).style.display = 'block';
}

function showHideQa(id)
{
	if (document.getElementById('qa'+id).style.display=='block')
		document.getElementById('qa'+id).style.display='none';
	else
	{
		for(i=0; i <= nqa; i++)
		{
			if (document.getElementById('qa'+i))
				document.getElementById('qa'+i).style.display='none';
		}
		document.getElementById('qa'+id).style.display='block';
	}
}