var i, j, idx,
	q= new Array(2,2,2,3,3,4,5,5,11,13,13,14,15,16),
	n=q.length;
document.write('</tr><tr><td bgcolor="#000040" height="140"><table height="140" width="100%" border="0" cellpadding="10" cellspacing="1"><tr>');
for(i=0;i<3;i++) {
	idx=i+Math.floor(Math.random()*(n-i)); 
	t=q[idx];
	q[idx]=q[i];
	q[i]=t;
	for(j=i+1;j<n; j++) if(q[j]==t) { q[j]=q[n-1]; n--; j--; }
	switch(q[i]) {
	case 2: document.write('<td width="33%" background="../foto/panor_monte.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../foto/panoramicas1.html" CLASS="bnr">Panor&acirc;micas</A><BR>&nbsp;</td>');
			break;
	case 3: document.write('<td width="33%" background="../foto/expo_aquario.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../expo98/index.html" CLASS="bnr">Fotografias<BR>da EXPO 98</A></td>');
			break;
	case 4: document.write('<td width="33%" background="../foto/miradouro.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../foto/nr.html" CLASS="bnr">Notas e Reflex&otilde;es sobre<BR>Fotografia Digital</A></td>');
			break;
	case 5: document.write('<td width="33%" background="../foto/fundo_mar.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../foto/escolha_maquina.html" CLASS="bnr">Como escolher uma<BR>m&aacute;quina fotogr&aacute;fica digital</A></td>');
			break;
	case 11:document.write('<td width="33%" background="../foto/staclara.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../santa-clara/index.html" CLASS="bnr">Mosteiro de<BR>Santa Clara a Velha</A></td>');
			break;
	case 13: document.write('<td width="33%" background="../foto/panor_monte_ispra.jpg" ALIGN="right" VALIGN="bottom"><A HREF="album_fotos1.html" CLASS="bnr">&Aacute;lbuns de<BR>fotografia</A></td>');
			break;
	case 14: document.write('<td width="33%" background="../foto/alfama98.jpg" ALIGN="right" VALIGN="bottom"><A HREF="javascript:openAlbum(\'../../alfama/index.html\',600,440);" CLASS="bnr">&Aacute;lbum de<BR>Alfama</A></td>');
			break;
	case 15: document.write('<td width="33%" background="../foto/praktica.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../foto/praktica1.html" CLASS="bnr">Equipamento<BR>Praktica</A></td>');
			break;
	case 16: document.write('<td width="33%" background="../foto/roma04.jpg" ALIGN="right" VALIGN="bottom"><A HREF="../../roma04/index.html" CLASS="bnr">ROMA<BR>do cresp&uacute;sculo &agrave; meia-noite</A></td>');
	}
}
document.write('</tr></table></td>');
