function isWin2K()
{
	var agt = window.navigator.userAgent.toLowerCase();
	return ((agt.indexOf("win2000")!=-1) || (agt.indexOf("windows nt 5.0")!=-1));
}

function onContextMenu()
{
  if (!window.event.ctrlKey || (typeof editDocument != "undefined") && editDocument != null)
  {
		window.event.cancelBubble = true;
		window.event.returnValue = false;
		showContextMenu(window.event.screenX, window.event.screenY);
	}
}
