	// cross-platform DHTML API [www.jinetx.com]
	// object positioning by Danny Goodman (www.dannyg.com)
	// <SCRIPT LANGUAGE="JavaScript" SRC="xAPI.js"></SCRIPT>

	// getObjHeight(obj)		getObjWidth(obj)
	// setObjDim(obj, oWidth, oHeight)
	// function setObjWidth(obj, oWidth)
	// getInsideWindowHeight()	getInsideWindowWidth()
	// shiftTo(obj, x, y)		shiftBy(obj, deltaX, deltaY)
	// setZIndex(obj, zOrder)
	// setBGColor(obj, color)
	// show(obj)			hide(obj)
	// getObjectLeft(obj)		getObjectTop(obj)
	// setOverflow(obj, <par>)      <par>...hidden, visible, scoll, auto 



		var isNav, isIE
		var coll = ""
		var styleObj = ""
		if (parseInt(navigator.appVersion) >= 4) {
			if (navigator.appName == "Netscape") {
				isNav = true
			}else {
				isIE = true
				coll = "all."
				styleObj = ".style"
			 }
		}

		function getObject(obj) {
			var theObj
			if (typeof obj == "string") {
				theObj = eval("document." + coll + obj + styleObj)
			} else {
				theObj = obj
			  }
			return theObj
		}

		function getContentObject(obj) {
			var theObj
			if (isNav) {
				if (typeof obj == "string") {
					theObj = eval("document." + coll + obj + styleObj)
				} else {
					theObj = obj
			  	}
			} else {
				if (typeof obj == "string") {
					theObj = eval("document." + coll + obj)
				} else {
					theObj = obj
			  	}

			  }
			return theObj
		}


		function getObjHeight(obj) {
			var theObj = getContentObject(obj)
			if (isNav) {
				return theObj.clip.height
			} else {
				return theObj.clientHeight
			  }
		}

		function getObjWidth(obj) {
			var theObj = getContentObject(obj)
			if (isNav) {
				return theObj.clip.width
			} else {
				return theObj.clientWidth
			  }
		}

		function setObjDim(obj, oWidth, oHeight) {
			var theObj = getObject(obj)
			if (isNav) {
				theObj.clip.width = oWidth
				theObj.clip.height = oHeight
			} else {
				theObj.width = oWidth
				theObj.height = oHeight
			  }
		}

		function setObjWidth(obj, oWidth) {
			var theObj = getObject(obj)
			if (isNav) {
				theObj.clip.width = oWidth
			} else {
				theObj.width = oWidth
			  }
		}


		function getInsideWindowHeight() {
			if (isNav) {
				return window.innerHeight
			} else {
				return document.body.clientHeight
			  }
		}

		function getInsideWindowWidth() {
			if (isNav) {
				return window.innerWidth
			} else {
				return document.body.clientWidth
			  }
		}

		function shiftTo(obj, x, y) {
			var theObj = getObject(obj)
			if (isNav) {
				theObj.moveTo(x, y)
			} else {
				theObj.pixelLeft = x
				theObj.pixelTop = y
			  }
		}

		function shiftBy(obj, deltaX, deltaY) {
			var theObj = getObject(obj)
			if (isNav) {
				theObj.moveBy(deltaX, deltaY)
			} else {
				theObj.pixelLeft += deltaX
				theObj.pixelTop += deltaY
			  }
		}

		function setZIndex(obj, zOrder) {
			var theObj = getObject(obj)
			theObj.zIndex = zOrder
		}

		function setBGColor(obj, color) {
			var theObj = getObject(obj)
			if (isNav) {
				theObj.bgColor = color
			} else {
				theObj.backgroundColor = color
			  }
		}

		function show(obj) {
			var theObj = getObject(obj)
			theObj.visibility = "visible"
		}

		function hide(obj) {
			var theObj = getObject(obj)
			theObj.visibility = "hidden"
		}

		function getObjectLeft(obj) {
			var theObj = getObject(obj)
			if (isNav) {
				return theObj.left
			} else {
				return theObj.pixelLeft
			  }
		}

		function getObjectTop(obj) {
			var theObj = getObject(obj)
			if (isNav) {
				return theObj.top
			} else {
				return theObj.pixelTop
			  }
		}

		function setOverflow(obj, par) {
			var theObj = getObject(obj)
			if (isIE) {
				theObj.overflow = par
			}
		}


