Here's the code that I am using for each list item
<table cellspacing="0" cellpadding="0" border="0" align="center" width="574">
<tbody>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td width="60" valign="top"><img width="60" alt="" src="/Portals/gt/Dynamic-Registration_Images/[large photo]" /></td>
<td width="300" valign="top" style="border-left: 5px solid rgb(255, 255, 255);"><a class="profile_list_business" href="http://[UserDetailLink]">
<h2 style="font-size: 16px; color: rgb(0, 113, 61); padding: 0px; margin: 0px;">[business name]</h2>
</a>
<div style="font-size: 12px; color: rgb(0, 113, 61);" class="profile_list_city">[city]</div>
</td>
<td valign="top" style="text-align: right;"><!-- <div id="facilities_[userid]" style="text-align: right;"><script type="text/javascript">document.write(facilities('[facilities available]'));</script></div> -->
<div id="fac_[userid]">[facilities available]</div>
</td>
</tr>
<tr>
<td style="border-bottom: 1px solid rgb(204, 204, 204);" colspan="3"> </td>
</tr>
</tbody>
</table>
<script language="javascript" type="text/javascript">
//<![CDATA[
(function() {
if(document.getElementById("fac_[userid]").innerHTML != "")
{
var f = document.getElementById("fac_[userid]").innerHTML.split(",");
document.getElementById("fac_[userid]").innerHTML = "";
while(f.length)
{
var i = f.pop().toLowerCase();
document.getElementById("fac_[userid]").innerHTML += "<img src=\"/Portals/gt/images/icons/"+i+".gif\" alt=\""+i+"\" title=\""+i+"\" /> ";
}
}
}
)();
//]]>
</script>