If (IsObject(rss)) Then
Dim chn: Set chn = rss.Channel
Response.Write("<table cellspacing='0' cellpadding='10'><tr>")
Dim lnk
Dim n
n=0
For Each lnk in chn.Items
counter = counter + 1
n=n+1
Response.Write("<td>")
Response.Write("<div class='ebayitem'><a href='" & lnk.Link & "' target='_blank'>" & lnk.Title & "</a>")
Response.Write(lnk.Description & "</div>")
Response.Write("</td>")
If n=3 Then
Response.Write("</tr><tr>")
n=0
End If
If counter = 9 Then Exit For
Next
Response.Write("</tr></table>")
' release used resources
Set rss = Nothing
Else Response.Write("Could not read RSS from " & rssFeedUrl)
End If