// Collapser
var lastRowId = null;
var lastTitleRowId = null;

function expandTab(rowId, titleRowId)
{
	try
	{
		
	if (rowId!=lastRowId && titleRowId!= lastTitleRowId)
	{
		if (lastRowId!=null && lastTitleRowId!=null)
		{
			document.getElementById(lastRowId).style.display='none';
			document.getElementById(lastTitleRowId).className='tabA';
		}
		lastRowId = rowId;
		lastTitleRowId = titleRowId;
	}
	
	//alert(rowId);
	//alert(document.getElementById(rowId));
	if(document.getElementById(rowId).style.display =="block")
	{
		document.getElementById(rowId).style.display='none';
		document.getElementById(titleRowId).className='tabA';
	}
	else
	{
		document.getElementById(rowId).style.display='block';
		document.getElementById(titleRowId).className='tabB';
	}
	}
	catch(e)
	{
	alert(e.message);
	}
	
}

