



// cache images for quick swapping
if( compat )
{
homeon = new Image;(120,49)
homeon.src = "images/1b.gif";
homeoff = new Image;(120,49)
homeoff.src = "images/1a.gif";
joinon = new Image;(120,57)
joinon.src = "images/2b.gif";
joinoff = new Image;(120,57)
joinoff.src = "images/2a.gif";
picon = new Image;(120,69)
picon.src = "images/3b.gif";
picoff = new Image;(120,69)
picoff.src = "images/3a.gif";
encon = new Image;(120,43)
encon.src = "images/4b.gif";
encoff = new Image;(120,43)
encoff.src = "images/4a.gif";
infoon = new Image;(120,26)
infoon.src = "images/5b.gif";
infooff = new Image;(120,26)
infooff.src = "images/5a.gif";
}
// swap images using the cached images
function glow(x, y)
{
if( compat ) { document.images[x].src=eval(y+'.src'); }
}
|
|