//Copyright (c) 2009 Anent Software, L.L.C.


function getControl(DOM_ID)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		return document.getElementById(DOM_ID);
	}
		else if (document.all)
	{
		// this is the way old msie versions work
		return document.all[DOM_ID];
	}
		else if (document.layers)
	{
		// this is the way nn4 works
		return document.layers[DOM_ID];
	}
}



