// JavaScript Document
// This script should disable the ability to drag and copy content off web pages.
// Zablokowanie zblokowania textu do wykopiowania!

function disableselect(e){
  return false
}

function reEnable(){
  return true
}

//if IE4+
document.onselectstart=new Function ("return false")
 
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
 
//Stop right click for image copy - added to original text copy above
 
/* function right(e) {
  if (navigator.appName == 'Netscape' && 
    (e.which == 3 || e.which == 2))
  return false;
  else if (navigator.appName == 'Microsoft Internet Explorer' && 
    (event.button == 2 || event.button == 3)) {
    alert("Page is protected");
  return false;
  }
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
*/