function cb_getElement(elemID) {
//alert('now');
	if (document.layers != null) {
		//alert('layers');
		return eval('document.layers["' + elemID + '"]');
	} else if (document.all != null) {
		//alert("all");
		return eval('document.all.' + elemID + '');
	} else {
		//alert("CATCHall");
		//alert('elemID:'+ elemID);
		//alert(document.getElementById(elemID));
		return document.getElementById(elemID);
		}
}

function cb_getElementStyle(elemID) {
	if (document.layers != null)
		return eval('document.layers["' + elemID + '"]');
	else if (document.all != null)
		return eval('document.all.' + elemID + '.style');
	else
		return document.getElementById(elemID).style;
}

function cb_getImage(elemID,imgID) {
	if (document.layers != null)
		return eval('document.layers["' + elemID + '"].document.images["' + imgID + '"]');
	else
		return eval('document.images["' + imgID + '"]');
}
