// JavaScript External File: Protection.js
// This file will disable the Right Mouse Button, disabling the user to save images

 

// var nav,old,iex=(document.all),yyy=-1000;
//if(navigator.appName=="Netscape"){(document.layers)?nav=true:old=true;}

 
 var message="Sorry, right click mouse functions disabled. \nThe content of this page is protected.";

 function click(e) {
 if(!document.all && document.getElementById) {
 //Netscape 6
 if (e.which==3) {
 alert(message);
 return false;
 }
 document.captureEvents(Event.MOUSEDOWN);
  }
 if (document.all) {
 //IE 4 or later
 if (event.button==2||event.button==3) {
 alert(message);
 return false;
 }
 }
 if (document.layers) {
 // Netscape 3, 4 and IE 3
 if (e.which == 3) {
 alert(message);
 return false;
 }
 }
 }
 if (document.layers) {
 document.captureEvents(Event.MOUSEDOWN);
 }



document.oncontextmenu=new Function("return false")


function disableselect(e){
return false
}

function reEnable(){
return true
}

document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}



 document.onmousedown=click;
