link_nome=new Array();
link_url=new Array();

max_link=6;

link_nome[0]="Perfil da Empresa";
link_url[0]="index0.htm";

link_nome[1]="Linha Principal";
link_url[1]="index1.htm";

link_nome[2]="Outros Produtos";
link_url[2]="index2.htm";

link_nome[3]="Projetos Especiais";
link_url[3]="index3.htm";

link_nome[4]="Catálogos";
link_url[4]="index4.htm";

link_nome[5]="Marque uma visita";
link_url[5]="index5.htm";

var objCount = 0; // number of (changing) images on web-page
function preload(name, first, second) {  
  if (browserOK) {     
    pics[objCount] = new Array(4);
    pics[objCount][0] = new Image();
    pics[objCount][0].src = first;
    pics[objCount][1] = new Image();
    pics[objCount][1].src = second;
    pics[objCount][2] = name;
    objCount++;
  }
}
function on(name){
  if (browserOK) {
     for (i = 0; i < objCount; i++) {
      if (document.images[pics[i][2]] != null)
        if (name == pics[i][2]) { 
        	document.images[pics[i][2]].src = pics[i][1].src;
        }
    }
  }
}
function off(name){
  if (browserOK) {
     for (i = 0; i < objCount; i++) {
      if (document.images[pics[i][2]] != null)
        if (name == pics[i][2]) { 
           document.images[pics[i][2]].src = pics[i][0].src;
        }
    }
  }
}

preload("link1", "gifs/per.gif", "gifs/per_1.gif");
preload("link2", "gifs/lin.gif", "gifs/lin_1.gif");
preload("link3", "gifs/out.gif", "gifs/out_1.gif");
preload("link4", "gifs/pro.gif", "gifs/pro_1.gif");
preload("link5", "gifs/cat.gif", "gifs/cat_1.gif");
preload("link6", "gifs/vis.gif", "gifs/vis_1.gif");


function poelink()
{
	conta=0;
	
	while (conta<max_link)
	{

		if (conta!=numero_pagina)
		{
                        document.write('<td width="15%"><p align="center"><b><font face="Arial" size="2"><a href="'+link_url[conta]+'">'+link_nome[conta]+'</font></b></p></a></td>');

		}
		conta=conta+1
	}
}


function poecopy()
{
        document.write('<table><td width="98%" height="159" valign="top" align="center"><p align="center" style="margin-top: 1; margin-bottom: 1">&nbsp;<b><font face="Arial" size="1"><A STYLE="color:#000080"; "text-decoration: none"  a href="mailto:vapleal@itelefonica.com.br">&copy;2000 by Leal</a></font></b></p></td></table>');

}

function email()
{
        document.write('<table>');
      	document.write('<tr>');
	document.write('<form enctype="text/plain" method="post" action="mailto:kontatec@uol.com.br?subject=Contato" name="Contato">');
	document.write('<table width="494" border="0">');
	document.write('<tr>');
	document.write('<td width="89" height="25"><b><font face="Arial" size="2" color="#000080">Nome</font></b></td>');
        document.write('<td width="391" height="25"><b><font face="Arial" size="2" color="#000080">');
        document.write('<input type="text" name="nome" size="51">&nbsp;&nbsp;');
        document.write('</font></b></td>');
        document.write('</tr>');
        document.write('<tr>');
        document.write('<td width="89" height="25"><b><font face="Arial" size="2" color="#000080">e-Mail</font></b></td>');
        document.write('<td width="391" height="25"><b><font face="Arial" size="2" color="#000080"><input type="text" name="email" size="31">');
        document.write('</font></b></td>');
        document.write('</tr>');
        document.write('<tr>');
        document.write('<td width="89" height="25"><b><font face="Arial" size="2" color="#000080">Cidade</font></b></td>');
        document.write('<td width="391" height="25"><b><font face="Arial" size="2" color="#000080">');
        document.write('<input type="text" name="cidade" size="30">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></b></td>');
        document.write('</tr>');
        document.write('<tr>');
        document.write('<td width="89" height="25"><b><font face="Arial" size="2" color="#000080">Gostaria de</font></b></td>');
	document.write('<td width="391" height="25">');
        document.write('<font size="2" face="Arial" color="#000080"><b> ');
        document.write('<select name="Tipo-de-servico" size="1">');
        document.write('<option>Mais Informações</option>');
        document.write('<option selected>Receber Catalogo</option>');
        document.write('<option>Marcar uma visita</option>');
        document.write('<option>Fazer um pedido</option>');
        document.write('<option>Outro</option>');
        document.write('</select>');
        document.write('</b></font>');
        document.write('</td>');
        document.write('</tr>');
        document.write('<tr>');
        document.write('<td colspan="2" width="486" height="135"><b><font color="#000080" size="2" face="Arial">Observações<br>');
        document.write('<textarea name="Observacoes" width="400" rows="5" cols="58"></textarea>');
        document.write('</font>');
        document.write('</b></td>');
        document.write('</tr>');
        document.write('<tr align="center"> ');
        document.write('<td colspan="2" width="486" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="27"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000080">');
	document.write('<input type="submit" value="Enviar" name="submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
        document.write('<input type="reset" value="Limpar Formulário" name="reset"></font></td>');
        document.write('</tr>');
        document.write('</table>');
        document.write('</form>');
        document.write('</table>');

}

function catalogo(qual)
{	
	if (qual<10){qual='0'+qual}
	sul=qual
	document.images.catalogo.src="catalogos/if_kc"+qual+".gif"
	document.images.imprimir.src="catalogos/if_kb09.gif"
}
function imprimir()
{
if (sul!=0)
{
imagemprint="catalogos/if_k"+sul+".htm";
var remote = null;remote = window.open();
if (remote != null){if (remote.opener == null){remote.opener = self}remote.location.href = imagemprint};
}
}
	
