// Netscape 3.0 compatibility test (for javascript image swapping)
compat = false;
if( parseInt( navigator.appVersion ) >= 3 ) { compat = true; }

// cache images for quick swapping
if( compat )
{

homeon = new Image;(140,50)
homeon.src = "images/1b.gif";
homeoff = new Image;(140,50)
homeoff.src = "images/1a.gif";

joinon = new Image;(140,50)
joinon.src = "images/2b.gif";
joinoff = new Image;(140,50)
joinoff.src = "images/2a.gif";

picon = new Image;(140,50)
picon.src = "images/3b.gif";
picoff = new Image;(140,50)
picoff.src = "images/3a.gif";

encon = new Image;(140,50)
encon.src = "images/4b.gif";
encoff = new Image;(140,50)
encoff.src = "images/4a.gif";

infoon = new Image;(140,50)
infoon.src = "images/5b.gif";
infooff = new Image;(140,50)
infooff.src = "images/5a.gif";
}

// swap images using the cached images
function glow(x, y)
{
   if( compat ) { document.images[x].src=eval(y+'.src'); }

}