<!--
function checkBottom() {
	if (document.body.scrollHeight < document.body.clientHeight + 5) {
		cross("bottom").style.display = "none";
	}
	else {
		cross("bottom").style.display = "none";
	}
}

function toggleMenu() {
	if (cross("menu").style.display == "none") {
		cross("menu").style.display = "block";
	}
	else {
		cross("menu").style.display = "none";
	}
}

function getRealLeft(element) {
	xPos = element.offsetLeft;
	tempElement = element.offsetParent;
	
	while (tempElement != null) {
		xPos += tempElement.offsetLeft;
		tempElement = tempElement.offsetParent;
	}
	
	return xPos;
} 

function getRealTop(element) {
	yPos = element.offsetTop;
	tempElement = element.offsetParent;
	
	while (tempElement != null) {
		yPos += tempElement.offsetTop;
		tempElement = tempElement.offsetParent;
	}
	
	return yPos;
} 

function getClientUTC() { 
	var now = new Date()
	cross("cUTC").value = now.getTimezoneOffset();
}

function RandNr(high) {
	return 1 + Math.floor(Math.random() * high);
}
				
function isEven(value) {
	return (1 - (value % 2));	// Gerade = True, Ungerade = False 
} 

function cross(objectID) {
	return document.getElementById ? document.getElementById(objectID) : document.all[objectID];
}
//-->