abouton = new Image();
abouton.src = "images/about_on.gif";
aboutoff = new Image();
aboutoff.src = "images/about_off.gif";

investmentson = new Image();    
investmentson.src = "images/investments_on.gif";
investmentsoff = new Image();
investmentsoff.src = "images/investments_off.gif";

managementon = new Image();                    
managementon.src = "images/management_on.gif";
managementoff = new Image();
managementoff.src = "images/management_off.gif";

leasingon = new Image();                    
leasingon.src = "images/leasing_on.gif";
leasingoff = new Image();
leasingoff.src = "images/leasing_off.gif";

propertieson = new Image();                    
propertieson.src = "images/properties_on.gif";
propertiesoff = new Image();
propertiesoff.src = "images/properties_off.gif";

// subs

historyon = new Image();
historyon.src = "images/history_on.gif";
historyoff = new Image();
historyoff.src = "images/history_off.gif";

newson = new Image();
newson.src = "images/news_on.gif";
newsoff = new Image();
newsoff.src = "images/news_off.gif";

partnerson = new Image();
partnerson.src = "images/partners_on.gif";
partnersoff = new Image();
partnersoff.src = "images/partners_off.gif";

teamon = new Image();
teamon.src = "images/team_on.gif";
teamoff = new Image();
teamoff.src = "images/team_off.gif";

trackon = new Image();
trackon.src = "images/track_on.gif";
trackoff = new Image();
trackoff.src = "images/track_off.gif";

acquisitionson = new Image();
acquisitionson.src = "images/acquisitions_on.gif";
acquisitionsoff = new Image();
acquisitionsoff.src = "images/acquisitions_off.gif";

dispositionson = new Image();
dispositionson.src = "images/dispositions_on.gif";
dispositionsoff = new Image();
dispositionsoff.src = "images/dispositions_off.gif";

videoon = new Image();
videoon.src = "images/video_on.gif";
videooff = new Image();
videooff.src = "images/video_off.gif";

props_subon = new Image();
props_subon.src = "images/props_sub_on.gif";
props_suboff = new Image();
props_suboff.src = "images/props_sub_off.gif";

printeron = new Image();
printeron.src = "images/printer_on.gif";
printeroff = new Image();
printeroff.src = "images/printer_off.gif";

return_subon = new Image();
return_subon.src = "images/return_sub_on.gif";
return_suboff = new Image();
return_suboff.src = "images/return_sub_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");
}

