<% var thumburl; if (item.id.indexOf('mapbox://') === 0) { thumburl = 'http://a.tiles.mapbox.com/v3' + item.id.replace('mapbox://','') + '/thumb.png'; } else { thumburl = '/thumb.png?id=' + item.id; } %>
<% if (obj.withdel) { %> <% } %>