You need to move the single quote to after the id:
Response.Write "window.location='page2.asp?id=" & id & "'"
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Who Shot The Go Go Dancer? by
Moloko (Track 17 from the album:
Do You Like My Tight Sweater?)
What's This?