<%
boolean showPrice = request.getParameter("showprice")!=null;
String scaleParam = request.getParameter("scale");
double scale =.3d;
if (scaleParam!=null)
scale = Double.parseDouble(scaleParam);
DBRecordCollection recs = getRecords(request);
int minPerRow=6;
int numRows = (int)((float)recs.size()/(float)minPerRow);
//Math.min(3, (int)Math.ceil((float)recs.size()/(float)minPerRow));
int picsPerRow = recs.size()/numRows;
for (int row =0; row
<%
for (int col=0; col
<%=imageTag%>
<%
if (showPrice)
{
%> $<%=rec.getValue("PRICE")%><%
}
%>
|
<% }
}//for each col
%>
<%
} //for each row.
%>