codice:
<input name="Visto" type="checkbox" value="on">

Visto = trim(request.form("Visto"))
if Visto = "on" then
session("Visto") = true
else
session("Visto") = false
end if

if session("Visto") = true then
session("checkbox_spuntato") = true
else
session("checkbox_spuntato") = false
end if

if session("checkbox_spuntato") = true then
valoreX = 40
else
valoreX = 20
end if