if (document.getElementById) {
	stdBrowser = true;
} else {
	stdBrowser = false;
}

function popUp(doc,evt,currElem) {
	v_length = 125;

	if (stdBrowser) {
		popUpWin = doc.getElementById(currElem).style;
	} else {
		popUpWin = eval("document." + currElem);
	}

	if (document.all) {
		popUpWin.pixelTop = parseInt(evt.y) + 2;
		popUpWin.pixelLeft = Math.max(2, parseInt(evt.x) - v_length);
	} else {
		if (stdBrowser) {
			popUpWin.top = parseInt(evt.pageY) + 2 + "px";
			popUpWin.left = Math.max(2, parseInt(evt.pageX) - v_length) + "px";
		} else {
			popUpWin.top = parseInt(evt.pageY) + 2;
			popUpWin.left = Math.max(2, parseInt(evt.pageX) - v_length);
		}
	}
	popUpWin.visibility = "visible";
}

function popDown(doc,currElem) {
	if (stdBrowser) {
		popUpWin = doc.getElementById(currElem).style;
	} else {
		popUpWin = eval("document." + currElem)
	}
	popUpWin.visibility = "hidden";
}
