function positionContent() {
	var positionObject = returnObjectById("mainDiv");

	positionObject.style.visibility = "hidden";

	var docWidth, docHeight;
	if (self.innerHeight) {// all except Explorer
		docWidth = self.innerWidth;
		docHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		docWidth = document.documentElement.clientWidth;
		docHeight = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		docWidth = document.body.clientWidth;
		docHeight = document.body.clientHeight;
	}
	
//	var docWidth = parseInt(document.documentElement.clientWidth);
//	var docHeight = parseInt(document.documentElement.clientHeight);
	positionObject.style.left = ((docWidth - 764) / 2)  +"px";
	positionObject.style.top = ((docHeight - 432) / 2) + "px";
	
	showContent();
};

function showContent() {
	returnObjectById("mainDiv").style.visibility = "visible";
}


