<!--
function clickIE() { // triggers a specific action on clicking right mouse button
	if (event.button!=1) return false;
}

function clickNS(e) { // triggers a specific action on clicking right mouse button
	if (e.which!=1) return false;
}

if (document.all) {
	document.onmousedown=clickIE;
} else if (document.layers || (document.getElementById && !document.all)) {
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS;
}

// if no specific action is required on right click, the following line alone suffices to disable context menu.
document.oncontextmenu=new Function("return false;")
//--> 
