﻿function disable() {
   return false;
}

if (document.all && window.print) {
   document.oncontextmenu = disable;
}