var no_right_msg = "Sorry!" ;

function no_right_mdown(e) {
  var right = false ;

  if(document.all) {
//    alert("IE:" + e.button) ;
    if(e.button == 2) {
      right = true ;
      alert(no_right_msg) ;
    }
  }
  else if(document.getElementById) {
//    alert("NN6:" + e.button) ;
    if(e.button == 2) {
      if(navigator.appVersion.indexOf("Mac") > -1) {
        alert(no_right_msg) ;
      }
      right = true ;
    }
  }
  else if(document.layers) {
//    alert("NN4:" + e.which) ;
    if(e.which == 3) {
      right = true ;
      alert(no_right_msg) ;
    }
  }
  if(right) {
//    window.close() ;
    return(false) ;
  }
  window.close() ;
  return(true) ;
}

function no_right_mup(e) {
//  alert("UP:" + e.button) ;
  if(e.button == 2) {
    alert(no_right_msg) ;
    if(e.preventBubble) {
      e.preventBubble() ;
    }
  }
}
