function getElement(id)
{
	return (typeof document.getElementById != "undefined")?document.getElementById(id):document.all[id];	
}