Greg,
You need to change the Javascript function to:
function MM_openBrWindow(theURL,winName,features,form) { //v2.0
extension=form.tld.selectedIndex;
finalextension=form.tld.options(extension).value;
finalURL=theURL+form.domain.value+"&tld="+finalextension;
window.open(finalURL,winName,features);
}
And then the opening form tag to:
<form action="#" onSubmit="MM_openBrWindow('http://www.akashik.net/cgi-bin/whois.cgi?domain=','whoispop','scrollbars=yes,width=300,height=400',this)" method="get">
Basically you hadn't passed the form values to the Javascript function, so it couldn't pass them to the CGI script. You also needed to append the domain= and tld= values to the CGI script URL.
Best wishes,
Speedie.