function dObj(xpos,ypos,id,sicht)
 {  
 if (document.documentElement) 
{      this.el = document.getElementById(id);
      this.css = this.el.style;   }
   else if (document.all)
 {      this.el = document.all[id];
      this.css = this.el.style;   }
   else if(document.layers) 
{     this.el=document.layers[id];
      this.css=this.el;
   }
   this.x = xpos; this.css.left = xpos;
   this.y = ypos; this.css.top = ypos;
   this.zIndex = this.css.zIndex;
   this.sichtbar = sicht;

   if (document.layers) 
{      this.breite = this.el.document.width;
      this.hoehe = this.el.document.height;   }
   else 
{      this.breite = this.el.offsetWidth;
      this.hoehe = this.el.offsetHeight;   }
   this.gehNach = dObj_gehNach;
   this.zeige = dObj_zeige;
   this.verstecke = dObj_verstecke;
}


function dObj_gehNach(x,y) 
{   this.css.left = x; 
  this.css.top = y;
   this.x = x;
   this.y = y;}

function dObj_zeige()   {
  {  if (!this.css)
  {
    // browser not supported or element not found
  }
  else if (this.css)
  {
    // browser implements part of W3C DOM Style
    // Gecko, Internet Explorer 4+, Opera 5+

    if (typeof(this.css.visibility) == 'visible')
    {
      // Opera 5/6 do not implement the standard correctly
      // and assume that elm.style.left and similar properties
      // are numbers.
      this.css.visibility = 'visible';
     
    }
    else
    {
      // Gecko/Internet Explorer 4+
      // W3C DOM Style states that elm.style.left is a string
      // containing the length followed by the unit. e.g. 10px
      // Gecko will allow you to omit the unit only in Quirks 
      // mode. 
      // Gecko REQUIRES the unit when operating in Standards
      // mode.
      this.css.visibility = 'visible';
     
    }
  }
  else if (typeof(this.el.visibility) == 'visible')
  {
    // Navigator 4

    this.el.visibility='show';
  }
}   this.sichtbar = true;

}




function dObj_verstecke()  {
 {
  if (!this.css)
  {
    // browser not supported or element not found
  }
  else if (this.css)
  {
    // browser implements part of W3C DOM Style
    // Gecko, Internet Explorer 4+, Opera 5+

    if (typeof(this.css.visibility) == 'hidden')
    {
      // Opera 5/6 do not implement the standard correctly
      // and assume that elm.style.left and similar properties
      // are numbers.
      this.css.visibility = 'hidden';
     
    }
    else
    {
      // Gecko/Internet Explorer 4+
      // W3C DOM Style states that elm.style.left is a string
      // containing the length followed by the unit. e.g. 10px
      // Gecko will allow you to omit the unit only in Quirks 
      // mode. 
      // Gecko REQUIRES the unit when operating in Standards
      // mode.
      this.css.visibility = 'hidden';
     
    }
  }
  else if (typeof(this.el.visibility) == 'hidden')
  {
    // Navigator 4

    this.el.visibility  = 'hide';
  }   

} this.sichtbar = false;
  }  


 //////////////////////////////////////////////////////* 
Ende dhtml-Objekt-Werkzeugkasten */////////////////////////////////////