            $(document).ready(function(){
                
                if( document.layers ) {
                    document.captureEvents( Event.MOUSEDOWN );
                    document.onmousedown=clickOther;
                }
                else {
                    document.onmouseup = clickOther;
                    document.oncontextmenu = clickExplorer;
                }
                document.body.oncopy = function() { 
                    return false; 
                }
                
                if( typeof( document.onselectstart ) != 'undefined' ){
                    document.onselectstart = function(){ 
                        return false;
                    };
                }
                
                document.ondragstart = function(){
                    return false;
                }
                
            });
            
            
            function clickExplorer() {
                return false;
            }

            function clickOther(e) {
                if( document.layers || ( document.getElementById && !document.all ) ) {
                    if ( e.which == 2 || e.which == 3 ) {
                        return false;
                    }
                }
            }
