function go_aminet() {
  if (document.amiF.amiC.options[document.amiF.amiC.selectedIndex].value=='ftp') {
  amiurl = String("ftp://anonymous@main.aminet.net/pub/aminet/");
  }
  else {amiurl = String("http://" + document.amiF.amiC.options[document.amiF.amiC.selectedIndex].value + ".aminet.net/" + document.amiF.amiP.options[document.amiF.amiP.selectedIndex].value);
  }

  if (confirm("Press OK to go to\n\n" + amiurl + "\n")) { 
  location = amiurl
  }
return(false)
}

function aminet_select(txt) {
document.write('<FORM NAME="amiF">\n');
if (txt) {document.write(txt)}

document.write('<select SIZE="1" NAME="amiC">\n'+
'<option value="uk">uk.aminet.net</option>\n'+
'<option value="us">us.aminet.net</option>\n'+
'<option value="de">de.aminet.net</option>\n'+
'<option value="it">it.aminet.net</option>\n'+
'<option value="se">se.aminet.net</option>\n'+
'<option value="ftp">FTP aminet</option>\n'+
'</select>\n');

document.write('<select SIZE="1" NAME="amiP">'+
'<option value="~aminet">Main Page</option>'+
'<option value="aminetbin/recent">Most Recent</option>'+
'<option value="aminetbin/find">Search</option>'+
'<option value="~aminet/browse.html">Directory Tree</option>'+
'<option value="~aminet/readme.html">Help</option>'+
'<option value="~aminet/change.html">Mirrors</option>'+
'</select>&nbsp;'+
'<input name="amiG" type="button" value="Goto Aminet" onClick="go_aminet()">'+
'</FORM>');

document.amiF.amiC.selectedIndex=0;
document.amiF.amiP.selectedIndex=0;
}