<!-- **** DESABILITAR SELEÇÃO **** -->

function hp_ne(){
	return true
}

function hp_cm(){
	return false
}

function hp_dn(a){
	return false
}

function hp_md(e){
	if(e.which==2||e.which==3){
		return false
	}
	if(e.which==1){
		window.captureEvents(Event.MOUSEMOVE);
		window.onmousemove=hp_dn
	}
}

function hp_mu(e){
	if(e.which==1){
		window.releaseEvents(Event.MOUSEMOVE);
		window.onmousemove=null
	}
}

if(navigator.appName.indexOf('Internet Explorer')==-1||navigator.userAgent.indexOf('MSIE')!=-1){
	if(document.all){
		document.oncontextmenu=hp_cm;
		document.onselectstart=hp_dn
	}
	if(document.layers){
		window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);
		window.onmousedown=hp_md;
		window.onmouseup=hp_mu
	}
	if(document.getElementById&&!document.all){
		document.oncontextmenu=hp_cm;
		document.onmousedown=hp_dn
	}
}


<!-- **** DESABILITAR CÓPIA **** -->

function hp_dp1(){
	for(i=0;i<document.all.length;i++){
		if(document.all[i].style.visibility!="hidden"){
			document.all[i].style.visibility="hidden";
			document.all[i].id="hp_id";
		}
	}
}

function hp_dp2(){
	for(i=0;i>document.all.length;i++){
		if(document.all[i].id=="hp_id")document.all[i].style.visibility=""
	}
}

window.onbeforeprint=hp_dp1;
window.onafterprint=hp_dp2;

function hp_dc(){
	hp_ta.createTextRange().execCommand("Copy");
	setTimeout("hp_dc()",300)
}

if(navigator.appName.indexOf('Internet Explorer')==-1||navigator.userAgent.indexOf('MSIE')!=-1){
	if(document.all&&navigator.userAgent.indexOf('Opera')==-1){
		document.write('<div style="position:absolute;left:-1000px;top:-1000px"><input type="textarea" name="hp_ta" value=" " style="visibility:hidden"></div>');
		hp_dc()
	}
}
