browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
        if ( browserVer >= 3) var goferit = "Yep";
        else var goferit = "Nope";

        if (goferit == "Yep")         {

home_on  = new Image; home_on.src  = "img/onoff/home_on.gif";
home_off = new Image; home_off.src = "img/onoff/home_off.gif";

ami_on  = new Image; ami_on.src  = "img/onoff/ami_on.gif";
ami_off = new Image; ami_off.src = "img/onoff/ami_off.gif";

aweb_on  = new Image; aweb_on.src  = "img/onoff/aweb_on.gif";
aweb_off = new Image; aweb_off.src = "img/onoff/aweb_off.gif";

intro_on  = new Image; intro_on.src  = "img/onoff/intro_on.gif";
intro_off = new Image; intro_off.src = "img/onoff/intro_off.gif";

beta_on  = new Image; beta_on.src  = "img/onoff/beta_on.gif";
beta_off = new Image; beta_off.src = "img/onoff/beta_off.gif";

ml_on  = new Image; ml_on.src  = "img/onoff/ml_on.gif";
ml_off = new Image; ml_off.src = "img/onoff/ml_off.gif";

readme_on  = new Image; readme_on.src  = "img/onoff/readme_on.gif";
readme_off = new Image; readme_off.src = "img/onoff/readme_off.gif";

down_on  = new Image; down_on.src  = "img/onoff/down_on.gif";
down_off = new Image; down_off.src = "img/onoff/down_off.gif";

rqprog_on  = new Image; rqprog_on.src  = "img/onoff/rqprog_on.gif";
rqprog_off = new Image; rqprog_off.src = "img/onoff/rqprog_off.gif";

rqlink_on  = new Image; rqlink_on.src  = "img/onoff/rqlink_on.gif";
rqlink_off = new Image; rqlink_off.src = "img/onoff/rqlink_off.gif";

guest_on  = new Image; guest_on.src  = "img/onoff/guest_on.gif";
guest_off = new Image; guest_off.src = "img/onoff/guest_off.gif";

bsteers_on  = new Image; bsteers_on.src  = "img/onoff/bsteers_on.gif";
bsteers_off = new Image; bsteers_off.src = "img/onoff/bsteers_off.gif";

}

function img_act(imgName) {
        if (goferit == "Yep") {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
        }
}

function img_inact(imgName) {
        if (goferit == "Yep") {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
        }
}

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="Go" onClick="go_aminet()">'+
'</FORM>');

document.amiF.amiC.selectedIndex=0;
document.amiF.amiP.selectedIndex=0;
}