	// set common object reference
/*
	if (!document.all)			document.all = document;
	if (!document.all.waterMark.style)	document.all.waterMark.style = document.all.waterMark;

	wMark = document.all.waterMark.style;
	wMark.width = markW;
	wMark.height = markH;
	navDOM = window.innerHeight;		// Nav DOM flag
*/
	var vLptClose = 0;			// 使滑鼠右鍵 無效=0 有效=1
	function ClickRightButton(theEvent)
	{
		if  (vLptClose == 0)
		{
			var	vMouseRightButton = false;
			if (document.layers)
				vMouseRightButton = (theEvent.which == 3);

			else if  (document.all)
				vMouseRightButton = (event.button == 2);

			if  (vMouseRightButton)
			{
				alert('謝謝使用本系統');
				return false;
			}
		}

	//	if (document.layers)	document.routeEvent(theEvent);
	}
/*
	function ClickRightButton(theEvent) {
		alert("按下滑鼠按鈕");
		document.routeEvent(theEvent);
	}
*/
	if (document.layers)	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown	= ClickRightButton;

