function makeObject(ID, top, left, height, width, visibility) {
	this.ID = ID ? ID : "Object"+(Myobject.length);
      this.visibility = visibility ? visibility:"visible";
      this.top = top ? top:0;
      this.left = left ? left:0;
      this.height = height ? height:0;
      this.width = width ? width:0;
      this.DHTML = eval(layerstart + this.ID + layerstyle);
      this.OBJ = eval(layerstart + this.ID + layerobjstart);
}
makeObject.prototype.setAllProps = function() {
      this.DHTML.visibility = this.visibility;
      this.DHTML.top = this.top;
      this.DHTML.left = this.left;
      this.DHTML.height = this.height;
      this.DHTML.width = this.width;
}

