sb = function() {
  defaultStatus='BITTEL Eletrônica.';
}

var qual = new Array('empre','trans','telef','infor','autom','segur','monit','conta','home');

pg = function(param) {
	parent.frames["frmmain"].location='frames.html?'+qual[param];
}

linka = function(param, n_tit) {
  if(param==8) top.location='index.html';
  else {
    window.open(qual[param]+".html", target="texto");
    parent.frames['topo'].document.getElementById('tit_top').src = n_tit;
//    document.tit_top.src=n_tit;
  }
}

size_this = function(campo, tammax) {
  if (campo.value.length > tammax) campo.value = campo.value.substr(0,tammax);
}

mail_check = function(frm, campo) {
  return /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(frm[campo].value);
}

direitos = function() {
  document.write('<tr><td>&nbsp;</td></tr><tr><td id="textos_c">BITTEL Eletr&ocirc;nica - Todos os direitos reservados 2004 - Developed by <a href="mailto:bittel@bittelcom.br">Bittel Eletr&ocirc;nica</a></td></tr>');
}