stai usando una stringa
alert(num + <%Response.Write(Cint(1000))%>);