Try replacing that code with:
if request.QueryString("intDaysOut") = "" then
intDaysOut = 0
else
intDaysOut = cint(trim(request.QueryString("intDaysOut")))
end if
if request.QueryString("intEmailAll") = "" then
intEmailAll = 0
else
intEmailAll = cint(trim(request.QueryString("intEmailAll")))
end if
CINT will fail if the query string is null...