Jesús, Most probably you need to amend these two lines: ><% >strTotal=Cint(request.querystring("total")) >strPhoto=Cint(request.querystring("photo")) > %> regards, -marc