: true, tpl: { wrap: estruturaCotacao, }, helpers: { title: { type: 'inside' }, overlay: { css: {'background': 'rgba(0, 0, 0, 0.5)'} } }, beforeShow: function () { var palavra = this.title; this.title = "Imagem ilustrativa de " + this.title; $("#title-empresa").html("

Hotéis para Cachorros em Sp no Brás

"); $("#title-keyword").html("

" + palavra + "

"); $("#fancyalter").attr({"alt": palavra, "title": palavra}); }, afterShow: function () { var element_id = $(this.element.context).data('id'); var id = element_id.replace("imagem-", "") var referencia = $("#imagem-ref-" + parseInt(id)).html(); $(".fancybox-inner").append('Cod.:' + referencia + ''); } }); }); (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-83870774-4', 'auto'); ga('send', 'pageview');