	var isIE = document.all ? true : false
	var isIEMac = (isIE && navigator.appVersion.indexOf("Mac") != -1);

	var myLayers = new Array()

	var imgLanguageSelectionLoaded = false

	var contentLayer
	var backgroundLayer

	function getRealLeft(el) {
		if (arguments.length==0) el = this;
		xPos = el.offsetLeft;
		tempEl = el.offsetParent;
		while (tempEl != null) {
			xPos += tempEl.offsetLeft;
			tempEl = tempEl.offsetParent;
		}
		return xPos;
	}

	function getRealTop(el) {
		if (arguments.length==0) el = this;
		yPos = el.offsetTop;
		tempEl = el.offsetParent;
		while (tempEl != null) {
			yPos += tempEl.offsetTop;
			tempEl = tempEl.offsetParent;
		}
		return yPos;
	}

	function initLanguageSelection() {
	}

	function initLayers() {
		contentLayer = isIE ? document.all['content'] : document.layers['content']
		backgroundLayer = isIE ? document.all['background'] : document.layers['background']
		if (isIE) {
		 	backgroundLayer.style.pixelTop = getRealTop(contentLayer)
		 	backgroundLayer.style.pixelLeft = getRealLeft(contentLayer)
			backgroundLayer.style.pixelHeight = contentLayer.clientHeight
			backgroundLayer.style.visibility = 'visible'
		} else {
		 	backgroundLayer.top = contentLayer.pageY
		 	backgroundLayer.left = contentLayer.pageX
			backgroundLayer.clip.height = contentLayer.clip.height
			backgroundLayer.visibility = 'show'
		}
	}

