<!-- Inizio disabilita tasto destro mouse -->
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// --> 

<!-- fine disabilita tasto destro mouse -->

<!-- Inizio disabilita funzione selezione -->

function disableselect(e){return false}

function reEnable(){return true}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
<!-- Fine Disabilita funzione selezione -->





<!-- inizio funzione aggiungi a preferiti -->
 function addbookmark()
{
bookmarkurl = location.href
bookmarktitle= document.title
if (document.all)
window.external.AddFavorite(bookmarkurl, bookmarktitle)
}

<!-- fine funzione aggiungi a preferiti -->

<!-- inizio funzioni pop up -->

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=290,left = 378.5,top = 294');");
}


function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=325,left = 173,top = 32');");
}

function popUp3(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=448,left = 200,top = 135');");
}
<!-- fine funzioni pop up -->

