Ho notato però che se lo faccio qui mi da invalid use of null:

<% If not isnull("xx").Value) then %>
<input type="text" name="totalexmas" value="<%=Replace(xmastotal,",",".")%>" size="32"-->
<% end if %>