<!-- Mensagem em rodapé //-->
ScrollSpeed = 200;
ScrollChars = 1;
var msg="";

function SetupTicker(texto)
{
msg=texto;
RunTicker();
}

function RunTicker() 
{
window.setTimeout('RunTicker()', ScrollSpeed);
window.status = msg;
msg = msg.substring(ScrollChars) + msg.substring(0,ScrollChars); 
}

<!-- Abre janela com foto //-->
function Abrejanela(foto,indice) 
{ 

Versao = navigator.appVersion 
Versao = Versao.substring(0, 1) 

if (Versao < 3) 
{ 
	Local = document.location 
	UltLoc = Local.lastIndexOf("/") 
	Local = Local.substring(0, UltLoc + 1) 
}
<!--	imagem = document.images[foto].src
	imagem = foto
	texto = document.images[indice].alt
	
	nj = window.open ("", "", "width=900,height=680,scrollbars=yes") 
	nj.document.open() 
	nj.document.write ("<html><head><title>Fotografias CicloArrábida.")
	nj.document.write ("</title></head><body bgcolor='white'>")
	nj.document.write ("<font face=verdana size=2>")	
	nj.document.write ("<p align=center>" + texto + "</p>")
	nj.document.write ("<p align=center><img src='" + imagem + "'></p>")
	nj.document.write ("<br><hr>") 
	nj.document.write ("<p align='center'><input type='button' name='Fecha'" + "value='Fechar Janela'" + "onclick='window.close()'></p>") 
	nj.document.write ("</font>")	
	nj.document.write ("</body></html>") 
	nj.document.close() } 
	

function Abre_Piada(theURL,winName,features)
{ 

	Versao = navigator.appVersion 
	Versao = Versao.substring(0, 1) 

	if (Versao < 3) 
		{ 
			Local = document.location 
			UltLoc = Local.lastIndexOf("/") 
			Local = Local.substring(0, UltLoc + 1) 
		}
	window.open (theURL, winName, features) 
}

<!--
 
/*
No Right Click
 
*/
 
if (window.Event) // Only Netscape will have the CAPITAL E.
  document.captureEvents(Event.MOUSEUP); // catch the mouse up event
 
function nocontextmenu()  // this function only applies to IE4, ignored otherwise.
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
 
function norightclick(e) // This function is used by all others
{
 if (window.Event) // again, IE or NAV?
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
 
}
 
document.oncontextmenu = nocontextmenu;  // for IE5+
document.onmousedown = norightclick;  // for all others