// +++++++++++ initiate element attribute and style handling +++++++++++ 

// determine DHTML and DOM (1.0) support
// ??? is there a difference between the two ???
var DHTML = (document.getElementById || document.all || document.layers);
var DOM = (document.getElementsByTagName);

// find and store element attributes and style
function getObj(id)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(id);
	this.style = document.getElementById(id).style;
  }
  else if (document.all)
  {
	this.obj = document.all[id];
	this.style = document.all[id].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[id];
   	this.style = document.layers[id];
  }
}