document.captureEvents(Event.MOUSEDOWN); document.onmousedown=dis_rightclickNS; } else if (document.all&&!document.getElementById){ document.onmousedown=dis_rightclickIE; } document.oncontextmenu=new Function("alert(msg_box);return false")