<% var total_imagenes = imagenes.length; if (total_imagenes > 0) { %>
<% if (total_imagenes > 0) { for(i = 0; i < total_imagenes; i++) { %>
<% } } %>
<% if (total_imagenes > 0) { for(i = 1; i < total_imagenes; i++) { %> <% } } %>
<% if (typeof(distancia) != "undefined") { %>

<%= distancia %>Km

<% } %>
<% } else { %>
<% if (typeof(distancia) != "undefined") { %>

<%= distancia %>Km

<% } %>
<% } %> <% if (typeof(ultimosDias) != "undefined") { %> <% if (ultimosDias > 0) { %>

últimos <%= ultimosDias %> días

<% } else if (ultimosDias == 0) { %>

último día

<% } %> <% } %> <% if (cupon > 0) { %>
Quiero este cupón
<% } %>
<% stringfecha = ""; if (typeof(fechafin) !== "undefined") { stringfecha = "Desde " + fechaini + " hasta " + fechafin; } else { stringfecha = fechaini; } %>

<%= stringfecha %>

<%= titulo %>

<% if (typeof(descripcion) != "undefined" && descripcion != "") { %>
<%= descripcion %>
<% } %>