// Initialize needed graphics if (document.images) { homeon = new Image; homeon.src ="http://outerspace.le.org/images/graphics/buttons/main/nav-home-hilite.gif"; homeoff = new Image; homeoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-home.gif"; serviceson = new Image; serviceson.src ="http://outerspace.le.org/images/graphics/buttons/main/nav-services-hilite.gif"; servicesoff = new Image; servicesoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-services.gif"; vietnamon = new Image; vietnamon.src ="http://outerspace.le.org/images/graphics/buttons/main/nav-vietnam-hilite.gif"; vietnamoff = new Image; vietnamoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-vietnam.gif"; entertainmenton = new Image; entertainmenton.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-entertainment-hilite.gif"; entertainmentoff = new Image; entertainmentoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-entertainment.gif"; communityon = new Image; communityon.src ="http://outerspace.le.org/images/graphics/buttons/main/nav-community-hilite.gif"; communityoff = new Image; communityoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-community.gif"; marketplaceon = new Image; marketplaceon.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-marketplace-hilite.gif"; marketplaceoff = new Image; marketplaceoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-marketplace.gif"; onlinemediaon = new Image; onlinemediaon.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-online-media-hilite.gif"; onlinemediaoff = new Image; onlinemediaoff.src = "http://outerspace.le.org/images/graphics/buttons/main/nav-online-media.gif"; } // The meat of the script // manages mouseOver animations // imgDocID - the name or number of the document image to be replaced // imgObjName - the name of the image object to be swapped in function hiLite(imgDocID,imgObjName) { if (document.images) { document.images[imgDocID].src = eval(imgObjName + ".src"); } }