//script from www.argnet.tk


/*
* SCRIPT que bloqueia a copia do texto do site
*/
	function blockError(){return true;}
	window.onerror = blockError;

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



	var mensagem="Copia nao autorizada!";//protege o botao direito do mouse
	function click(mouse) {
		if (document.all) {
			if (event.button==2||event.button==3) {
				//alert(mensagem);
				return false;
			}
		}
		if (document.layers) {
			if (mouse.which == 3) {
				//alert(mensagem);
				return false;
			}
		}
	}
	
	if (document.layers) {
		document.captureEvents(Event.MouseDown);//protege a tecla ALT
		function keypressed(evt) {
			var evt = (evt) ? evt : ((event) ? event : null);
			if((evt.keyCode == 18) || (evt.keyCode == 115)) {
				//alert("Utilize somente os botoes dentro da pagina!");
			}
		}
	}
	
	document.onmousedown=click;
	document.onkeydown=keypressed; 
