$(function(){

  listAltura = 0;
  $('.list-produtos li').each(function(){
    if(parseInt($(this).height()) > listAltura){
      listAltura = parseInt($(this).height());
    }
  });
  $('.list-produtos li').height(listAltura);

  listAltura2 = 0;
  $('.list-cidades li').each(function(){
    if(parseInt($(this).height()) > listAltura2){
      listAltura2 = parseInt($(this).height());
    }
  });
  $('.list-cidades li').height(listAltura2);

  $('.prodCol2 table tr:even').css('background','#ccc');
  $('.prodCol2 table tr:odd').css('background','#eee');

  $("table tbody tr:odd").addClass("odd");

  setTimeout(function(){
    $('.list-produtos li').height(listAltura)
    },500);
  /* Cartão de credito */
  $.mask.masks.validade_cartao = {
    mask:'99/2099'
  }
  $.mask.masks.dv_cartao_credito = {
    mask:'999'
  }
  $.mask.masks.numero_cartao_credito = {
    mask:'9999 9999 9999 9999'
  }
  $.mask.masks.string = {
    mask:'@', 
    type:'repeat'
  }
  $.mask.masks.numeric = {
    mask:'9', 
    type:'repeat'
  }
  $.mask.masks.data    = {
    mask: '39/19/2999'
  }
  $.mask.masks.ddd     = {
    mask: '99'
  }
  $.mask.masks.qtd     = {
    mask: '9',
    type:'repeat',
    selectCharsOnFocus: false
  }
  $.mask.masks.fone    = {
    mask: '(99) 9999-9999'
  }
  $.mask.masks.cep     = {
    mask: '99999-999'
  }
  $.mask.masks.cpf     = {
    mask: '999.999.999-99'
  }
  $.mask.masks.money   = {
    mask : '99,999.999.999.999', 
    type : 'reverse', 
    defaultValue : '+000'
  }

  $('input:text').setMask();

});
/*
hs.graphicsDir = '/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.dimmingOpacity = 0.75;
// define the restraining box
hs.useBox = true;
hs.width = 800;
hs.height = 600;
// Add the controlbar
hs.addSlideshow({
  //slideshowGroup: 'group1',
  interval: 5000,
  repeat: false,
  useControls: true,
  fixedControls: 'fit',
  overlayOptions: {
    opacity: 1,
    position: 'bottom center',
    hideOnMouseOut: true
  }
});
*/

