function getDocObj(id)
{
if (document.getElementById)
	return document.getElementById(id);
else
	return document.all[id];
}
