I am trying to do something that's probably pretty simply. All I am trying to
do is set a variable from a recordset. The code I am using is:

<script language="JavaScript"><!--
var logo_test = <%=(sponsors.Fields.Item("logo").Value)%>
if (logo_test) {
document.write('<img src="<%=(sponsors.Fields.Item("logo").Value)%>">') ;
}
//--></script>

The name of the recordset is sponsors. The field is named logo. The problem
I'm having is that the variable "logo" does not get loaded with the value from
the record set. The field "logo" from the recordset is a text string. If I
load the variable up with a text string, everything works. But I cannot get
the recordset value to load in the variable. The environment is ASP and
javascript.

Any thoughts are appreciated. I think I am doing something wrong that's
really simple. I just don't see it.