<% var old_addr_length = old_addr.length; if(old_addr_length!=0){ for(var a=0; a < old_addr.length; a++){ var cur = old_addr[a]; %>
<%= cur.fname; %>
<%= cur.mobile; %>
<% } } %>