homeon = new Image();
homeon.src = "images/home_on.gif";
homeoff = new Image();
homeoff.src = "images/home_off.gif";

legislativeon = new Image();
legislativeon.src = "images/legislative_on.gif";
legislativeoff = new Image();
legislativeoff.src = "images/legislative_off.gif";

forumon = new Image();
forumon.src = "images/forum_on.gif";
forumoff = new Image();
forumoff.src = "images/forum_off.gif";

contacton = new Image();
contacton.src = "images/contact_on.gif";
contactoff = new Image();
contactoff.src = "images/contact_off.gif";

opendooron = new Image();
opendooron.src = "images/opendoor_on.gif";
opendooroff = new Image();
opendooroff.src = "images/opendoor_off.gif";

abouton = new Image();
abouton.src = "images/about_on.gif";
aboutoff = new Image();
aboutoff.src = "images/about_off.gif";

codeon = new Image();
codeon.src = "images/code_on.gif";
codeoff = new Image();
codeoff.src = "images/code_off.gif";

joinon = new Image();
joinon.src = "images/join_on.gif";
joinoff = new Image();
joinoff.src = "images/join_off.gif";

historyon = new Image();
historyon.src = "images/history_on.gif";
historyoff = new Image();
historyoff.src = "images/history_off.gif";

nationalon = new Image();
nationalon.src = "images/national_on.gif";
nationaloff = new Image();
nationaloff.src = "images/national_off.gif";

missionon = new Image();
missionon.src = "images/mission_on.gif";
missionoff = new Image();
missionoff.src = "images/mission_off.gif";

eventson = new Image();
eventson.src = "images/events_on.gif";
eventsoff = new Image();
eventsoff.src = "images/events_off.gif";

directoryon = new Image();
directoryon.src = "images/directory_on.gif";
directoryoff = new Image();
directoryoff.src = "images/directory_off.gif";

nexton = new Image();
nexton.src = "images/next_on.gif";
nextoff = new Image();
nextoff.src = "images/next_off.gif";

backon = new Image();
backon.src = "images/back_on.gif";
backoff = new Image();
backoff.src = "images/back_off.gif";

// on = new Image();
// on.src = "images/_on.gif";
// off = new Image();
// off.src = "images/_off.gif";

// On function
function imgAct(imgName) {
    document[imgName].src = eval(imgName + "on.src");
}

// Off function
function imgInact(imgName) {
    document[imgName].src = eval(imgName + "off.src");
}