// Helper DHTML library
// Code: Andrey Potekhin
// (c) 2008 Taitl

function layerWrite(id, parentID, text) 
{
	if (document.all)
	{
		document.all[id].innerHTML = text
	}
	else
	{ 
		document.getElementById(id).innerHTML = text
  }
}

function layerRead(id, parentID) 
{
	if (document.all)
	{
		text = document.all[id].innerHTML;
	}
	else
	{ 
		text = document.getElementById(id).innerHTML; 
  }
	
	return text;
}

