function mudabt(obj, acao){
  if (acao == 1) {img='Over'}else{img='Out'}
  document.all(obj).src='/images/b_Mouse'+img+'.gif';
  }
function exibe_div(id) {if (document.getElementById(id).style.display == 'none') {document.getElementById(id).style.display = 'block';}else {document.getElementById(id).style.display = 'none';}
}  
function pNoivaShop(pagina,janela,w,h,scrolling){if(!scrolling){scrolling='auto'}window.open('/wbn/guia/portifolios/'+pagina,janela,'width='+w+',height='+h+',scrollbars='+scrolling+',toolbar=no,location=no,status=no,menubar=no,resizable=no,left=300,top=10');
}
function high(which2,value){which2.style.cursor='hand';theobject=which2;highlighting=setInterval("highlightit(theobject)",value);}
function low(which2, value){clearInterval(highlighting);which2.filters.alpha.opacity=value;}
function highlightit(cur2){if (cur2.filters.alpha.opacity<100){cur2.filters.alpha.opacity+=13}else if(window.highlighting){clearInterval(highlighting)}}
function opNS(id,value){
obj1=document.all('ico_estrela'+id).filters.alpha.opacity=value; obj2=document.all('ico_world'+id).filters.alpha.opacity=value; obj3=document.all('ico_mail'+id).filters.alpha.opacity=value;}
function AbreJanela(pagina,janela,w,h,scrolling){if(!scrolling){scrolling='auto'}window.open(pagina,janela,'width='+w+',height='+h+',scrollbars='+scrolling+',toolbar=no,location=no,status=no,menubar=no,resizable=no,left=0,top=10');}
function alerta (d, campo){
msg = 'Por favor, preencha o campo ';
d.focus();
d.style.borderColor = "#993300";
//d.style.color = "993300";
d.style.backgroundColor = "FFF5F4";
alert (msg + campo);
}
