//divObject properties retrieval V1.0
//3rd May 2001
//karl.bunyan@dna.co.uk

// divObject GetRelative Methods
// retrieves the real location of a relatively positioned layer
function DynObjectGetRelativeX() {
	return ns ? this.css.pageX : this.ref.offsetLeft
}
function DynObjectGetRelativeY() {
	return ns ? this.css.pageY : this.ref.offsetTop
}
DynObject.prototype.getRelativeX = DynObjectGetRelativeX
DynObject.prototype.getRelativeY = DynObjectGetRelativeY

// divObject GetContent Width/Height Methods
// retrieves the total width/height of the contents of the layer when they are not known
function DynObjectGetContentWidth() {
	return ns4? this.doc.width : this.ref.offsetWidth
}
function DynObjectGetContentHeight() {
	return ns4?  this.doc.height : this.ref.offsetHeight;
}
DynObject.prototype.getContentWidth = DynObjectGetContentWidth
DynObject.prototype.getContentHeight = DynObjectGetContentHeight
