window.onload = function() {
  document.onselectstart = function() {return false;} // ie
  document.onmousedown = function() {return false;} // mozilla
}

window.onload = function() {
  var element = document.getElementById('content');
  element.onselectstart = function () { return false; } // ie
  element.onmousedown = function () { return false; } // mozilla
}

//Find all link elements and add an onfocus attribute and value 
function hideFocusBorders(){  
	var theahrefs = document.getElementsByTagName("a"); 
	if (!theahrefs){return;} 
	for(var x=0;x!=theahrefs.length;x++){ 
	theahrefs[x].onfocus = function stopLinkFocus(){this.hideFocus=true;}; 
	}
}