<!--#include file="inc_const.asp"-->
<%id=request("id")
if id<>"1" then id=2
adurl=trim(Application( ConstStr & "_ad"&id&"url"))
if adurl<>"" and adurl<>"http://" then
  adgif=trim(Application( ConstStr & "_ad"&id&"gif"))
  alt=trim(Application( ConstStr & "_ad"&id&"title"))
  adwh=split(Application( ConstStr & "_ad"&id&"gifwh"),"*")
  if trim(adwh(0))<>"0" and ubound(adwh)>0 then
    widthstr="width='"&trim(adwh(0))&"' height='"&trim(adwh(1))&"'"
  else
    widthstr=""
  end if
  %>
  document.write("<tr><td height=50><center><a href='<%=adurl%>' target='_bland'><img <%=widthstr%> src='<%=adgif%>' alt='<%=alt%>'></a><br>&nbsp;</center></td></tr>");
<%end if%>






