//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

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 1
function schedamac(str) {
        searchWin = window.open(str,'scheda','scrollbars=yes,resizable=yes,width=620,height=750,status=no,location=no,toolbar=no');
}
//***********fine 2
function schedaimp(str) {
        searchWin = window.open(str,'scheda','scrollbars=yes,resizable=yes,width=1000,height=720,status=no,location=no,toolbar=no');
}
//***********fine 3
function schedapres(str) {
        searchWin = window.open(str,'scheda','scrollbars=no,resizable=no,width=800,height=720,status=no,location=no,toolbar=no');
}
//***********fine 4
function mainpage(str) {
        searchWin = window.open(str,'scheda1','scrollbars=no,resizable=no,width=840,height=630,status=no,location=no,toolbar=no');
}
