<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>how can I check for a window being open..</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I have 2 commands to pop open a window</FONT>
<BR><FONT SIZE=2>one checks the database for a duplicate value.</FONT>
<BR><FONT SIZE=2>and if one is found alert the user,</FONT>
<BR><FONT SIZE=2>if not then open the second pop up.</FONT>
<BR><FONT SIZE=2>have the second pop up wait for the first pop up</FONT>
<BR><FONT SIZE=2>to close...so how would this be done.</FONT>
</P>

<P><FONT SIZE=2>Thanks Sc0tt</FONT>
</P>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=2> popup_window('/testing/admin/CheckForDupProfile.asp?PID='+document.myform.newprofileid.value,'CheckForDupProfile','50','50');</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=2> popup_window('/testing/admin/profileidCheck.asp?NEWID='+xpid.value+'&amp;PID='+document.myform.profileid.value+'&amp;OID='+document.myform.oldfranchiseid.value,'profileidCheck2','50','50');</FONT></P>

</BODY>
</HTML>