

// CREDITS:
// No Right Click Script without Ugly Alert-Box
// by Urs Dudli and Peter Gehrig
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com/fast/index.html
// info@24fun.com
// 10/12/2000

// IMPORTANT:
// If you add this script to a script-library or a script-archive
// you have to insert a link to http://www.24fun.com/fast/index.html
// right into the webpage where the script will be displayed.

// CONFIGURATION:
// Go to http://www.24fun.com/fast/index.html, open category 'utility' and
// download the script-file with step-by-step instructions for easy configuration

function right(e) {
        if (document.layers && (e.which==3 || e.which==2))  {
                window.status=" welcome into the autre monde "
                return false;
        }
        else if (document.all && (event.button==2 || event.button==3)) {
                window.status=" welcome into the autre monde "
                openclosewindow()
                return false;
        }
}

function openclosewindow() {
        var windownews=window.open("", "", "status=no,location=no,toolbar=no,menubar=no,resizable=no,scrollbars=no,width=50,height=50,top=20000,left=200");
        windownews.close()
}
if (document.all) {
        document.onmouseup=right;
        window.onmouseup=right;
}
if (document.layers) {
        document.captureEvents(Event.MOUSEDOWN);
        document.onmousedown=right;
}

