function testeclique(a)
{
	if(a=='nao') {
		document.onmousedown=clique
		document.oncontextmenu = new Function("return false;")
		document.onselectstart=new Function ("return false")
		if (window.sidebar){
			document.onmousedown=disableselect;
			document.onclick=reEnable;
		} 
	}
	else {
		document.onmousedown=clique
		document.oncontextmenu = new Function("return false;")
		document.onselectstart=new Function ("return false")
	}
}

function clique() {
	//if (event.button==2||event.button==3) {
		oncontextmenu='return false';
	//}
}

function disableselect(e){
	return false
}
function reEnable(){
	return true
}

//testeclique('nao');
