// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header

// Set the message for the alert box
am = "NOTICE\n\nYou would like to copy something from this website?\nPlease consider that enthousiasts invested a lot of time in gathering all the products, images and descriptions.\nIf you intend to copy anything you MUST in return either provide a link to this page next to whatever you copy or add the following at the beginning of whatever you copied: 'The following information is kindly provided by vintagecassette.com'.\n\nThanks and enjoy the website!";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

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

function keyp(e) {
  var keynum
  var keychar
  var ctrlkey

  if (window.event) {
    // IE Event
    keynum = event.keyCode
    ctrlkey = event.ctrlKey
  } else if (e.which) {
    // Netscape/Firefox/Opera
    keynum = e.which
    ctrlkey = e.ctrlKey
  }

  keychar = String.fromCharCode(keynum).toLowerCase();

  if (ctrlkey && keychar == "c") {
    // disable key press porcessing
    alert(am);
    e.returnValue = false;
  }

} // onKeyDown


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

