var mes="右クリックはできません";
function click(e) {
　　if (document.all) {
　　　　if (event.button==2) {
　　　　　　alert(mes);
　　　　　　return false;
　　　　　　}
　　　　}
}
document.onmousedown = click;
