<% //Function to add commas to large numbers function commaSeparateNumber(val){ while (/(\d+)(\d{3})/.test(val.toString())){ val = val.toString().replace(/(\d+)(\d{3})/, '$1'+','+'$2'); } return val; } %> <% if (typeof southBoundCoord != "undefined"){ print('
'); } else{ print('
'); } %>
<% if((typeof abstract == 'undefined') || (abstract == "")){ print('
'); print(''); print('
'); } else{ var safeAbstract = abstract.replace(/\"/g, "'"); safeAbstract = "
"+safeAbstract+"
"; print('
'); print(''); print('
'); } %>
<% if (typeof geohash_9 !== "undefined" && geohash_9 !== null){ print(''); } else{ print(''); } %>
<% if (resourceMap) { // handle multiple resourceMaps if(resourceMap.length > 1){ print(''); } else{ print(''); } print(''); if(resourceMap.length > 1){ print(''); } print(''); print(''); if(resourceMap.length > 1){ print(''); } } %>