// Copyright (c) 2005 pyecom.net Inc.,
// pyecom@pyecom.net
//

var Message = "        SMILEYS.BZ Error Report\n\nThe Right Mouse Button Will Not Work On This!   \n\nCopyright - PYEcom - A.Young\n\nAll Rights Reserved - www.smileys.bz\n\n";
//self.focus();

function blockError(){return true;}
window.onerror = blockError;

bV  = parseInt(navigator.appVersion);
bNS = navigator.appName=="Netscape";
beIE = navigator.appName=="Microsoft Internet Explorer";

function nrc(e) {
if (bNS && e.which > 1){
alert(Message);
return false;
}else if (beIE && (event.button > 1)){
alert(Message);
return false;
}}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

