Thanks a lot epp_b. I found your help very useful. Unfortunately, the example you supplied does not allow me to pass variables to EStore, which is a must. But from your example I have found a very slick and easy way to accomplish the pop up window and pass my variables. What I had left out of my problem was that I am going to a page before the EStore that requires that I pass variables to it in order create a redirect link to the EStore where the variables are eventually used to tell the EStore how many of a certain product they wish to buy. So here is what I did.
In the Main Page.
//Instead of a link with a goto_estore(), I put a showpopup() in the Forms onsubmit method and set the Action method to my order set up page.
<form method="post" name="Purchase" action="orderpurchase.php" onsubmit="Javascript:showpopup()" >
The Javascript for showpopup is simply:
function showpopup() {
window.open("popup.htm", "Redirect”, "width=200,height=50, left=300, top=200");
}
where “popup.htm” is your “redirect.htm” example above, verbatim.
This method is good because it really is doing 2 things at once and the nice thing about it is that I can pass variables without having to copy the variables in the javascript. The other nice thing about it is that the ShowPopUp() function is very reusable. The redirect.htm that you provided was the real trick in the whole process. I was struggling through some Javascript help forums trying to figure out a good way to use setInterval when your reply came. I appreciate your help very much.