I am tryinto say id RelatedURL has something then use it, if not then use the other.
It only give me the other link.

[CODE]
<%
if inStr(ListFields,"RelatedURL")>0 AND RelatedURL<>"" then
%>

<A href='<% =objRS("RelatedURL") %>' class='ContentLinkFont' target='ext'><img src='<% =objRS("thumbnail") %>' class='thumbnail'></A></A>
<% else %>

<A href='content.do?contentid=<% =objRS("contentid")%>'>
<img src='<% =objRS("thumbnail") %>' class='thumbnail'> </A>

</div>
<div Style="width:100%; padding-left: 5px; padding-right: 2px;">
<% =objRS("ShortDesc") %>

</div>
<% end if%>