
function dsbs(e)
{
  return false;
}
function renb()
{
  return true;
}

document.onselectstart=new Function ("return false")
if (window.sidebar)
{
  document.onmousedown=dsbs
  document.onclick=renb
}


var msg="";
function clkIE() 
{
  if (document.all) 
  {
    (msg);
    return false;
  }
}
function clkNS(e) 
{
  if (document.layers||(document.getElementById&&!document.all)) 
  {
    if (e.which==2||e.which==3) 
    {
      (msg);
      return false;
    }
  }
}

if (document.layers) 
{
  document.captureEvents(Event.MOUSEDOWN);
  document.onmousedown=clkNS;
}
else
{
  document.onmouseup=clkNS;
  document.oncontextmenu=clkIE;
}
document.oncontextmenu=new Function("return false")