<!--

  var acePopupWindow=null;
  function acePopup(mypage,myname,w,h,pos,infocus){
  if(pos=='random'){
  LeftPosition=(screen.mostrwidth)?Math.floor(Math.random()*(screen.width-w)):100;
  TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-100)):100;}
  if(pos=='center'){
  LeftPosition=(screen.width)?(screen.width-w)/2:100;
  TopPosition=(screen.height)?(screen.height-h)/2:100;}
  else if((pos!='center' && pos!='random') || pos==null){LeftPosition=100;TopPosition=100;}settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,dependent=no';
  acePopupWindow=window.open('',myname,settings);
  if(infocus=='front'){acePopupWindow.focus();acePopupWindow.location=mypage;}
  }
  
  function fonte(){
	if (navigator.appName == "Netscape"){
		if (event.which == 2 || event.which == 3)
			oncontextmenu='return false';   
	}else{
		if (event.button == 2 || event.button == 3)
			oncontextmenu ='return false';
	}
}

function tec(){
	if (event.ctrlKey && event.keyCode == 65)
		onselectstart = 'return false';  
}

document.onkeydown = tec;
document.onmousedown = fonte;
document.oncontextmenu = new Function("return false;")
document.onselectstart = new Function("return false;")
  
//-->