// for the flashing lights etc.

function makeLightObject(ID,visibility) {
	this.ID = ID ? ID : "Object"+(Myobject.length);
      this.visibility = visibility ? visibility:"hidden";
      this.DHTML = (Zflag.NS) ? eval(layerstart + "." + layerstart + this.ID + layerstyle) : eval(layerstart + this.ID + layerstyle) ;
}

makeLightObject.prototype.setAllProps = function() {
      this.DHTML.visibility = this.visibility;
}

// for the resizing and repositioning of the bottom line and the Iframe

function makeResizeObject(ID, top, left, width, height, visibility) {
	this.ID = ID ? ID : "Object"+(Myobject.length);
	this.top = top ? top:0;
	this.left = left ? left:0;
	this.width = width ? width:0;
	this.height = height ? height:0;
	this.visibility = visibility ? visibility:'visible';
	this.DHTML = (Zflag.NS) ? eval(layerstart + "." + layerstart + this.ID + layerstyle) : eval(layerstart + this.ID + layerstyle) ;
}

makeResizeObject.prototype.setAllProps = function() {
      this.DHTML.top = this.top;
      this.DHTML.left = this.left;
      this.DHTML.width = this.width;
      this.DHTML.height = this.height;
      this.DHTML.visibility = this.visibility;
}
