<%
Dim vettore_stringhe=new ArrayList()
dim quantilink as integer
dim i as integer
i=0
quantilink=0
cn.open()
cmd = new Sqlcommand("select * from quicklinks where attivo=1 and lingua='" + session("lingua") +"' order by id desc",cn)
res=cmd.executereader
while (res.Read())
vettore_stringhe.Add("<font face='Verdana' >
" & res(2) & "</font>")
quantilink=quantilink+1
end while
cn.close()
%>
<script type="text/javascript">
//configure the below five variables to change the style of the scroller
var scrollerdelay='3000' //delay between msg scrolls. 3000=3 seconds.
var scrollerwidth='150px'
var scrollerheight='105px'
var scrollerbgcolor='#0E1B8D'
//set below to '' if you don't wish to use a background image
var scrollerbackground=''
//configure the below variable to change the contents of the scroller (basta aggiungere una riga cambiare numero di variabile)
var messages=new Array()
for (j=0; j<<%=quantilink%>; j++) {
messages[j]="<%response.write(vettore_stringhe(i))%>"
}