if (document.images) {
homeon = new Image(); // Active images
homeon.src = "images/buttons/home_over.jpg";

homeoff = new Image(); // Inactive images
homeoff.src = "images/buttons/home_main.jpg";

employon = new Image(); // Active images
employon.src = "images/buttons/employ_over.jpg";

employoff = new Image(); // Inactive images
employoff.src = "images/buttons/employ_main.jpg";

currenton = new Image(); // Active images
currenton.src = "images/buttons/current_over.jpg";

currentoff = new Image(); // Inactive images
currentoff.src = "images/buttons/current_main.jpg";

paston = new Image(); // Active images
paston.src = "images/buttons/past_over.jpg";

pastoff = new Image(); // Inactive images
pastoff.src = "images/buttons/past_main.jpg";

abouton = new Image(); // Active images
abouton.src = "images/buttons/about_over.jpg";

aboutoff = new Image(); // Inactive images
aboutoff.src = "images/buttons/about_main.jpg";

contacton = new Image(); // Active images
contacton.src = "images/buttons/contact_over.jpg";

contactoff = new Image(); // Inactive images
contactoff.src = "images/buttons/contact_main.jpg";

}



function imgActivate(imgName,page) {
imgOn(imgName)
imgOff(page)
}

function imgInactivate(imgName,page) {
imgOff(imgName)
imgOn(page)
}


function imgOn(imgName) {

if (document.images) {
document[imgName].src = eval(imgName + "on.src");
}
}

function imgOff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "off.src");
}
}


function hideDiv(someID) 
{ document.getElementById(someID).style.visibility = 'hidden'; } 

function showDiv(someID) 
{ document.getElementById(someID).style.visibility = 'visible'; } 

