function crObj(id) {
        if ( document.getElementById){
             this.el = document.getElementById(id);
                this.img = document.images;
                this.css = this.el.style;
               // this.clip = this.css.clip
                }
        else if (document.all)         {
                this.el = document.all[id];
                this.img = document.images;
                this.css = this.el.style;
               // this.clip = this.css.clip;
                }
        else if (document.layers)         {
                this.el = document.layers[id];
                this.img = this.el.document.images;
                this.css = this.el;
               // this.clip= this.css.clip;
        }

this.x = (!document.all && !document.getElementById)? parseInt(this.css.left):this.el.offsetLeft;
this.y = (!document.all && !document.getElementById)? parseInt(this.css.top):this.el.offsetTop;

           this.sichtbar = true;

          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.zIndex = this.css.zIndex;

        //methoden
           this.zeige = Obj_ein;// ohne Klammer, da sonst die Methode (Funktion) sofort ausgeführt wird )
          this.verstecke = Obj_aus;
     this.gehNach = dObj_gehNach;
}

function Obj_ein() {
           this.css.visibility = (document.layers)? "show":"visible";
           this.sichtbar = true;
}

function Obj_aus() {
           this.css.visibility = (document.layers)? "hide":"hidden";
           this.sichtbar = false;
}

function dObj_gehNach(x,y) {
   this.css.left = x;
   this.css.top = y;
   this.x = x;
   this.y = y;
}