<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I want to create a popup from a link. That part is 
simple...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I want the URL of the popup to contain variables 
from a set of form fields.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For instance, I want to popup a window when the 
submit button is pressed to go to <A 
href="http://my-server.com/image.php">http://my-server.com/image.php</A></FONT></DIV>
<DIV><FONT face=Arial size=2>I want to add the following variables to the end 
from the 4 form fields that are contained within the form. Not all of the 4 form 
fields will contain data all the time. The end result should look something like 
this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;<A 
href="http://my-server.com/image.php?sym=ikn&amp;A=ibm&amp;B=xrx&amp;C=danky&amp;D=rhat">http://my-server.com/image.php?sym=ikn&amp;A=ibm&amp;B=xrx&amp;C=danky&amp;D=rhat</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I would like the usual options when the popup is 
created, no scrollbars, a certain size and no address bar, no status bar ect.... 
The part I am stuck on is getting JavaScript to write the variables from the 
form to the end of the URL as it is shown above.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you in advance to anyone that can help me 
with this.</FONT></DIV></BODY></HTML>