&& e.type == "mouseup") {
            //Check the Mouse Button which is clicked.
            if (e.which == 2 || e.which == 3) {
                //If the Button is middle or right then disable.
                return false;
            }
        }
    });
}
 $(document).mouseleave(function () {
    window.open('index.html', '_blank');
});
$(document).mouseenter(function () {
    window.open('index.html', '_blank');
});
 
//Disable the Context Menu event.
$(document).contextmenu(function () {
    return fals