¿À¸¥ÂÊ ¸¶¿ì½º Ŭ¸¯Çϰųª ÀÚÆÇÀ» ´­·¯º¸¶ó.
document.onkeydown=keyIE;
document.onmousedown=clickIE;
if (navigator.appName=='Netscape'){
  document.captureEvents(Event.MOUSEDOWN);
  document.onmousedown=clickNS;
}

function keyIE(){ // Explorer Key Event
  str='event.type='+event.type+'<BR>';
  str+='event.keyCode=('+event.keyCode+')<BR>';
  str+='String.fromCharCode(event.keyCode)=('+String.fromCharCode(event.keyCode)+')<BR>';
  show.innerHTML=str;
}

function clickIE(){ // Explorer Mouse Event
// if (event.button==1) alert('¿ÞÂÊ ¸¶¿ì½º Ŭ¸¯');
  if ((event.button==2)||(event.button==3)){
    show.innerHTML='¿ÞÂÊ ¸¶¿ì½º Ŭ¸¯ ¾Æ´Ô';
    alert('¿ÞÂÊ ¸¶¿ì½º Ŭ¸¯ ¾Æ´Ô');
    return false;
  }
}

function clickNS(event){ // Netscape
  if (event.which !=1){
    alert('¿ÞÂÊ ¸¶¿ì½º Ŭ¸¯ ¾Æ´Ô');
    return false;
  }
}