<SCRIPT LANGUAGE="JavaScript">
<!--
//单击
function document.onclick() {
if (event.button==2)
alert("单击");
}
//判断左右键
function document.onmousedown() {
if (event.button==2)
{alert("右键");} else if (event.button==1)
{alert("左键");}
}
//双击
function document.ondblclick() {
alert("双击");
}
//-->
</SCRIPT>