function getElement(layerName) {
	if (ie) return document.all[layerName];
	else return document.getElementById(layerName);
}
function getBody() {
	return (document.compatMode && document.compatMode.toLowerCase() != "backcompat")?
		document.documentElement
		: (document.body || null);
}
function getScrollX() {
	if (window.pageXOffset)
		return window.pageXOffset;
	return (body ? body.scrollLeft : 0);
}
function getScrollY() {
	if (window.pageYOffset)
		return window.pageYOffset;

	return (body ? body.scrollTop : 0);
}