[Javascript]
<Script type = "text/javascript">
Function clickIE4 (){
If (event. button = 2 ){
Return false;
}
}
Function clickNS4 (e ){
If (document. layers | document. getElementById &&! Document. all ){
If (e. which = 2 | e. which = 3 ){
Return false;
}
}
}
Function OnDeny (){
If (event. ctrlKey | event. keyCode = 78 & event. ctrlKey | event. altKey | event. altKey & event. keyCode = 115 ){
Return false;
}
}
If (document. layers ){
Document. captureEvents (Event. MOUSEDOWN );
Document. onmousedown = clickNS4;
Document. onkeydown = OnDeny ();
} Else if (document. all &&! Document. getElementById ){
Document. onmousedown = clickIE4;
Document. onkeydown = OnDeny ();
}
Document. oncontextmenu = new Function ("return false ");
</Script>
<Script type = "text/javascript">
Function clickIE4 (){
If (event. button = 2 ){
Return false;
}
}
Function clickNS4 (e ){
If (document. layers | document. getElementById &&! Document. all ){
If (e. which = 2 | e. which = 3 ){
Return false;
}
}
}
Function OnDeny (){
If (event. ctrlKey | event. keyCode = 78 & event. ctrlKey | event. altKey | event. altKey & event. keyCode = 115 ){
Return false;
}
}
If (document. layers ){
Document. captureEvents (Event. MOUSEDOWN );
Document. onmousedown = clickNS4;
Document. onkeydown = OnDeny ();
} Else if (document. all &&! Document. getElementById ){
Document. onmousedown = clickIE4;
Document. onkeydown = OnDeny ();
}
Document. oncontextmenu = new Function ("return false ");
</Script>