var debug = true; 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("Continut protejat prin legile drepturilor de autor!"); return false; } return true; } document.onmousedown=right; if (document.layers) 
window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; 

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

function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined")
	target.style.MozUserSelect="none"
else
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}
