function blockError(){return true;}
window.onerror = blockError;

function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Have a nice day!");
return false;
}
return true;
}
document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}

<!-- Original:  Gordon Black (gordonblack@2t2.com) -->
<!-- Web Site:  http://www.2t2.com/snippets -->
function url() {
hidden = open('http://www.eaipool.co.uk','NewWindow','top=0,left=0,width=800,height=600,status=no,resizable=yes,scrollbars=no');
}

// any of the above window parameters can be changed,
// but if you want the link to remain hidden do not
// change 'status=no'
