Static website for local racer (circa Oct 2003)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

54 lines
1.4 KiB

// menu button functions
if (document.images) {
homeon = new Image();
homeon.src = "images/home2.gif";
homeoff = new Image();
homeoff.src = "images/home.gif";
profileon = new Image();
profileon.src = "images/profile2.gif";
profileoff = new Image();
profileoff.src = "images/profile.gif";
crewchiefon = new Image();
crewchiefon.src = "images/crewchief2.gif";
crewchiefoff = new Image();
crewchiefoff.src = "images/crewchief.gif";
scheduleon = new Image();
scheduleon.src = "images/schedule2.gif";
scheduleoff = new Image();
scheduleoff.src = "images/schedule.gif";
newson = new Image();
newson.src = "images/news2.gif";
newsoff = new Image();
newsoff.src = "images/news.gif";
sponsorson = new Image();
sponsorson.src = "images/sponsors2.gif";
sponsorsoff = new Image();
sponsorsoff.src = "images/sponsors.gif";
contactson = new Image();
contactson.src = "images/contacts2.gif";
contactsoff = new Image();
contactsoff.src = "images/contacts.gif";
guestbookon = new Image();
guestbookon.src = "images/guestbook2.gif";
guestbookoff = new Image();
guestbookoff.src = "images/guestbook.gif";
}
function mouseOver(imageName) {
if (document.images) {
document[imageName].src = eval(imageName + "on.src");
}
}
function mouseOut(imageName) {
if (document.images) {
document[imageName].src = eval(imageName + "off.src");
}
}