<!-- 
function fecha_janela() { 
opener.location.reload(true); 
self.window.close(); 
}

function msgCota(){
   {
   alert("Aviso !\n\nPrezado cliente,\n\nPara cotar este produto marque a caixa de texto e\nClique no botão abaixo Enviar Ítens Selecionado.\n\ne-mail : sac@irkaeletronica.com.br\nFone : 11 0000-0000\n\nObrigado!");
   }
}
function msgPromo(){
   {
   alert("Aviso !\n\nPrezado cliente,\nPara melhores detalhes.\n\ne-mail : sac@irkaeletronica.com.br\nFone : 11 0000-0000\n\nObrigado!");
   }
}
function abrirBanner(URL) {
   var width  = 700;
   var height = 600;
   var left   = 100;
   var top    = 10;
   window.open(URL,'Banner', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function abrirDados(URL) {
   var width  = 600;
   var height = 550;
   var left   = 100;
   var top    = 10;
   window.open(URL,'Dados', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function abrirForm(URL) {
   var width  = 700;
   var height = 550;
   var left   = 100;
   var top    = 10;
   window.open(URL,'Form', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function abrirVideo(URL) {
   var width  = 450;
   var height = 450;
   var left   = 100;
   var top    = 100;
   window.open(URL,'Video', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function abrirLogin(URL) {
   var width  = 450;
   var height = 400;
   var left   = 100;
   var top    = 100;
   window.open(URL,'Login', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function abrirFoto(URL) {
   var width  = 550;
   var height = 700;
   var left   = 100;
   var top    = 10;
   window.open(URL,'Foto', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function abrirCesta(URL) {
   var width  = 750;
   var height = 650;
   var left   = 10;
   var top    = 10;
   window.open(URL,'Cesta', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
function mostrahelp(linha,img) {
var linha = document.getElementById(linha);
  if (linha.style.display=='none') {
   linha.style.display='';
   if(img != null) {
      img.src='img/btn/btnCancela.gif';
   }
  } else {
   linha.style.display='none';
   if(img != null) {
      img.src='img/btn/btnInfo.bmp';
   }
  }
}
function InfoPublic(linha,img) {
var linha = document.getElementById(linha);
  if (linha.style.display=='none') {
   linha.style.display='';
   if(img != null) {
      img.src='../img/btn/btnFechar.jpg';
   }
  } else {
   linha.style.display='none';
   if(img != null) {
      img.src='../img/btn/btnInfo.gif';
   }
  }
}
function s_numero(campo){   
var digits=",.0123456789"   
var campo_temp   
    for (var i=0;i<campo.value.length;i++){   
        campo_temp=campo.value.substring(i,i+1)   
        if (digits.indexOf(campo_temp)==-1){   
            campo.value = campo.value.substring(0,i);   
        }   
    }   
}
//-->

