function changeuploadpic(IMGlocation,IMGpos)
{
var picpath = '';
picpath = 'file\:\/\/\/' + IMGlocation.value;
imageupload = new Image(180,180);
imageupload.src = picpath;
this.document.images[IMGpos].src = imageupload.src;
}

function mdown(e) {
  if (navigator.appName == "Microsoft Internet Explorer") {
    if (event.button == 2) {
      alert("香港表廠商會有限公司 HONG KONG WATCH MANUFACTURERS ASSOCIATION LTD");
      return(false);
    }
  } else if (navigator.appName == "Netscape") {
    if (e.which == 3) {
      alert("香港表廠商會有限公司 HONG KONG WATCH MANUFACTURERS ASSOCIATION LTD");
      return(false);
    }
  }
}
if (document.all) {
  document.onmousedown = mdown;
}
if (document.layers) {
  window.onmousedown = mdown;
  window.captureEvents(Event.MOUSEDOWN);
}

