		function getObjHeight(obj) {
			if (isDOMCompl) {
				return obj.style.height
			} else if (isNav) {
				return obj.clip.height
			} else {
				return obj.clientHeight
			}		
		}
		
		function getObjWidth(obj) {
			if (isDOMCompl) {
				return obj.style.width
			} else if (isNav) {
				return obj.clip.width
			} else {
				return obj.clientWidth
			}		
		}
		
		function getInsideWindowWidth() {
			if (isNav) {
				return window.innerWidth
			} else {
				return document.body.clientWidth
			}		
		}
		
		function getInsideWindowHeight() {
			if (isNav) {
				return window.innerHeight
			} else {
				return document.body.clientHeight
			}			
		}
		
		function shiftTo(obj, x, y) {
			if (isDOMCompl) {
				obj.left = x
				obj.top = y
			} else if (isNav) {
				obj.moveTo(x,y)
			} else {
				obj.pixelLeft = x
				obj.pixelTop = y
			}	
		}	
		
		function positionDiv(aDiv,align,vAlign) {
			var obj, contentObj, x, y
			
			if (isDOMCompl) {
				obj = document.getElementById(aDiv).style
			} else {
				obj = eval("document." + coll + aDiv + styleObj)
			}
			if (isDOMCompl) {
				contentObj = document.getElementById(aDiv)
			} else {
				contentObj = eval("document." + coll + aDiv)
			}
			
			if (align == 'left') {
				x = 0
			} else if (align == 'center') {
				x = Math.round(getInsideWindowWidth()/2-parseInt(getObjWidth(contentObj))/2)
			} else if (align == 'right') {
				x = Math.round(getInsideWindowWidth()-parseInt(getObjWidth(contentObj)))
			} else if (typeof align == 'number') {
				x = align
			} else if (align.indexOf('%') != -1) {
				x = Math.round(parseInt(align)/100*getInsideWindowWidth())
			}
			
			if (vAlign == 'top') {
				y = 0
			} else if (vAlign == 'middle') {
				y = Math.round(getInsideWindowHeight()/2-parseInt(getObjHeight(contentObj))/2)
			} else if (vAlign == 'bottom') {
				y = Math.round(getInsideWindowHeight()-parseInt(getObjHeight(contentObj)))
			} else if (typeof vAlign == 'number') {
				y = vAlign
			} else if (vAlign.indexOf('%') != -1) {
				y = Math.round(parseInt(vAlign)/100*getInsideWindowHeight())
			}
			shiftTo(obj, x, y)
			//obj.visibility = "visible"
		
		}
		function fixIt() {
			document.location.reload()
		}
		
		function setToLeftUpperCorner() {
			if (isIE) {
				document.body.leftMargin = 0
				document.body.topMargin = 0
			}
		}