 /*
 var isNS = (navigator.appName == "Netscape") ? 1 : 0;
  if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
  function mischandler(){
   return false;
 }
  function mousehandler(e){
 	var myevent = (isNS) ? e : event;
  
  var target = e.target != null ? e.target : e.srcElement;
  
  
 // cancel out any text selections 
 document.body.focus(); 
 // prevent text selection in IE 
 document.onselectstart = function () { return false; }; 
 // prevent IE from trying to drag an image 
 target.ondragstart = function() { return false; }; 
 // prevent text selection (except IE) 
 return false; 
  
 	var eventbutton = (isNS) ? myevent.which : myevent.button;
    if((eventbutton==2)||(eventbutton==3)) return false;
 }
 document.oncontextmenu = mischandler;
 document.onmousedown = mousehandler;
 document.onmouseup = mousehandler;
 */
 
 function mousehandler(e) {
   // IE is retarded and doesn't pass the event object
   if (e == null) {
     e = window.event; 
   }
   // IE uses srcElement, others use target
   var target = e.target != null ? e.target : e.srcElement;
   
   document.onselectstart = function () { return false; }; 
   target.ondragstart = function() { return false; };
   
 }
 
 document.oncontextmenu = function() { return false; }
 document.onmousedown = mousehandler;
