<% var thumburl; if (item.id.indexOf('mapbox://') === 0) { thumburl = obj.MapboxAPITile + '/v4' + item.id.replace('mapbox://','') + '/thumb.png?access_token=' + obj.oauth.accesstoken; } else { thumburl = '/thumb.png?id=' + item.id; } %>
<% if (obj.withdel) { %> <% } %>