I am sending my user to a popup window to do some work and retain filters on the parent page. If the user changes filters and submits the page then I need to see if there is already a popup window open, if so, close it. Can someone please help me. Here is the sub I have.. <BR><BR>Private Sub OpenDetailWindow(ByVal strURL As String)<BR> Dim strBuilder As String<BR> strBuilder = ""<BR> strBuilder = "&#060;script language=javascript&#062;"<BR> strBuilder = strBuilder & "window.open(&#039;" & strURL & "&#039;)&#060;/script&#062;"<BR> strBuilder = strBuilder & ("&#060;/script&#062;")<BR> Response.Write(strBuilder)<BR> End Sub<BR><BR>thanks.