<!--

if (document.all) {

	//IE 5.+

	document.oncontextmenu =

		function () {

			return false;

		};

} else if (document.layers) {	 		

	//NS 4.x

	document.captureEvents(Event.MOUSEDOWN);

	document.onmousedown =

		function (evt) {

			if (evt.which == 3)

				return false;

		};

} else if (parseInt(navigator.appVersion) >= 5 && navigator.appName == "Netscape") {

	//NS 6.+

	document.onmouseup = function (evt) {

		if (evt.button == 3)

			event.preventDefault();

	}

}

//-->