function getObject(id)
{
	if (document.getElementById) {
		// this is the way the standards work
		return document.getElementById(id);
	} else if (document.all) {
		// this is the way old msie versions work
		return document.all[id];
	} else if (document.layers)	{
		// this is the way nn4 works
		return document.layers[id];
	}
}