<% var totalNum=obj.insurantsNum; %> <% for(var i=1;i<=totalNum;i++){ %> <%} %>