// common JavaScript functions
// 2009-09-27 BPB - created

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