/*
document.onselectstart = new Function('return false');

function noMouseDown(e){
  return false;
}

function noClick(){
  return true;
}

document.onmousedown = noMouseDown;
document.onclick = noClick;

//Disable right click script

var message="";

function clickIE() {
  if (document.all) {
    (message);
    return false;
  }
}

function clickNS(e) {
  if (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2 || e.which==3) {
      (message);
      return false;
    }
  }
}

if (document.layers){   
  document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;
} else {
  document.onmouseup = clickNS;
  document.oncontextmenu = clickIE;
}
*/
document.oncontextmenu = new Function("return false");

// Disable text selection in full lyrics views
function noSelect(target){
  
  try{
    if (typeof target.onselectstart != "undefined") { // Internet Explorer
      target.onselectstart = function(){
        return false;
      }
    } else if (typeof target.style.MozUserSelect != "undefined"){ // Firefox
      target.style.MozUserSelect = "none";
    } else { // Opera or any other browser
      target.onmousedown = function(){
        return false;
      }
      target.style.cursor = "default";
    }
  } catch(e){
  
  }
}

noSelect(document.getElementById("lyrics_display"));

// Clears the clipboard - DISABLED due to the fact that IE displays a warning.
/*

function clearClipboard(){
  window.clipboardData.setData('text','');
}

function clearClipboardCheck(){
  try{
    if(clipboardData){
      clipboardData.clearData();
    }
  } catch(e) {
  
  }
}

setInterval("clearClipboardCheck();", 1000);
*/


