// Rollover dos menus
function mOut(src,clrIn) {
	src.style.cursor = 'default';
	src.style.backgroundColor = clrIn;
}

function mOvr(src,clrOver) {
//	src.style.cursor = 'hand';
	src.style.backgroundColor = clrOver;
}




function topo(nivel) {
	document.write ('  <tr> ');
	document.write ('    <td width="50%">&nbsp;</td>');
	document.write ('    <td width="1" bgcolor="#000000"><img src="imagens/nada.gif" width="1" height="1"></td>');
//	document.write ('    <td><img src="imagens/nada.gif" width="770" height="1"><br><img src="imagens/logo.gif" vspace=5 align=left></td>');
	document.write ('    <td><table width="750" border="0" cellspacing="5" cellpadding="0">');
	document.write ('    <tr>');
	document.write ('    	<td><img src="imagens/logo.gif"></td>');
	document.write ('    	<td align=right valign=bottom>');
	document.write ('    		<a href="index.asp?idioma=1"><img src="imagens/idioma1.gif" border=0></a>');
	document.write ('    		<a href="index.asp?idioma=2"><img src="imagens/idioma2.gif" border=0></a>');
	document.write ('    		<img src="imagens/idioma3.gif" width="24" height="15"></a>');
	document.write ('    	</td></tr></table>');
	document.write ('    <td width="1" bgcolor="#000000"><img src="imagens/nada.gif" width="1" height="1"></td>');
	document.write ('    <td width="50%">&nbsp;</td>');
	document.write ('  </tr>');
}

function busca_1(nivel) {
	document.write ('<form name="busca" method="post" action="busca.asp">');
	document.write ('<a href="busca.asp"><img src="imagens/menu_busca_1.gif" border="0"></a><br>');
//	document.write ('<a href="busca.asp"><font size=3><b>BUSCA</b></font></a><br>');
	document.write ('<input type="text" name="tx_busca" class="input_text">&nbsp;');
	document.write ('<input type="image" name="imageField" src="imagens/btn_okv.gif" align=absmiddle>');
//	document.write ('<font color=990000 size=3><b>Ok</b></font>');
	document.write ('<br><span class="texto_mini">Para pesquisar digite uma<br>ou mais palavras no singular.<br>Não precisa acentuar.</div>');
	document.write ('</form>');
}

function busca_2(nivel) {
	document.write ('<form name="busca" method="post" action="i_busca.asp">');
	document.write ('<a href="i_busca.asp"><img src="imagens/menu_busca_2.gif" border="0"></a><br>');
	document.write ('<input type="text" name="tx_busca" class="input_text">&nbsp;');
	document.write ('<input type="image" name="imageField" src="imagens/btn_okv.gif" align=absmiddle>');
	document.write ('<br><span class="texto_mini">To search enter one or more<br>words in the singular form.<br>Accents are not needed.</div>');
	document.write ('</form>');
}

//(screen.width - img1.width - 75)/2, 120
function ver(var1) {
	var newURL = 'pop_foto.asp?cd_foto='+var1; 
	var newWindow = window.open(newURL, null,"height=100,width=100,left="+(screen.width-400)/2+",top=120,scrollbars=yes,resizable=yes,location=no,status=no");
	newWindow.focus();
}

function ver2(var1) {
	var newURL = 'pop_fineprint.asp?cd_foto='+var1; 
	var newWindow = window.open(newURL, null,"height=100,width=100,left=0,top=0,scrollbars=yes,resizable=no,location=no,status=no");
	newWindow.focus();
}

function ver_ensaio(var1) {
	var newURL = 'pop_foto.asp?op=ensaio&cd_foto='+var1; 
	var newWindow = window.open(newURL, null,"height=100,width=100,left="+(screen.width-400)/2+",top=120,scrollbars=yes,resizable=yes,location=no,status=no");
	newWindow.focus();
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
