MidX=screen.availWidth/2
MidY=screen.availHeight/2

function popup (URL,WIDTH,HEIGHT)
{            window.open(URL,'popwin','borderless=yes,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,top='+(MidY-(HEIGHT/2)-30)+',left='+(MidX-(WIDTH/2))+',width='+WIDTH+',height='+HEIGHT+'');}

function popup1 (URL,WIDTH,HEIGHT)
{            window.open(URL,'popwin','borderless=yes,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,top='+(MidY-(HEIGHT/2)-30)+',left='+(MidX-(WIDTH/2))+',width='+WIDTH+',height='+HEIGHT+'');}

function NavRollOver(o,i) { 
if(i == 1) 
	{i = getFolder + "nav1_on.gif";}
if(i == 2) 
	{i = getFolder + "nav2_on.gif";}
if(i == 3) 
	{i = getFolder + "nav3_on.gif";}	
if(i == 4) 
	{i = getFolder + "nav4_on.gif";}	
tempPic=o.src
o.src=i; 
}
function NavRollOut(o){o.src=tempPic;}

<!--
var message="© brett florens 2008 All Rights Reserved.";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->


document.oncontextmenu = disableRightClick;
function disableRightClick()
{
  alert("© brett florens 2008 All Rights Reserved.");
  return false;
}


<!--
var sorry="© brett florens 2008 All Rights Reserved.";
isNN = document.layers ? 1 : 0; 
function noContext(){return false;}

function noContextKey(e) {
    if(isNN){
        if (e.keyCode == 96){ return (false);}
    } else {
        if (event.keyCode == 96){ return (false);}
    }
}

function noClick(e){
    if(isNN){
        if(e.which > 1) {alert(sorry); return false;}
    } else { 
        if(event.button > 1){alert("© brett florens 2008 All Rights Reserved."); return false;}
    }
}

if(isNN){ 
    document.captureEvents(Event.MOUSEDOWN);
}
document.oncontextmenu = noContext;
document.onkeypress    = noContextKey;
document.onmousedown   = noClick;
document.onmouseup     = noClick;
// -->