function myIEClick()
{
  return( myClick(event.button==2) );
}

function myNetClick(e)
{
  return( myClick(e.which==3) );
}

function myClick(e)
{
  if (e)
  {
    alert("Welcome to our Website");
    return(false);
  }
  return(true);
}

function no_click()
{
  document.onmousedown = null;	//remove others
  if ( navigator.appName.substring(0,3)=="Net" )
    {
      document.captureEvents(Event.MOUSEUP);
      document.onmouseup = myNetClick;
    }
  else
    {
      document.onmousedown = myIEClick;
    }

/*  if ( document.images )
  {
    for ( i=0; i<document.images.length; i++ )
    {
      document.images[i].onmousedown = myFunct;
    }
  }*/
}

window.onLoad = no_click;

