
if (document.images) {

educationOn = new Image();
educationOn.src = "/images/nav/education-b.gif"
educationOff = new Image();
educationOff.src = "/images/nav/education.gif"

economicsOn = new Image();
economicsOn.src = "/images/nav/economics2-b.gif"
economicsOff = new Image();
economicsOff.src = "/images/nav/economics2.gif"

healthOn = new Image();
healthOn.src = "/images/nav/health-b.gif"
healthOff = new Image();
healthOff.src = "/images/nav/health.gif"

safetyOn = new Image();
safetyOn.src = "/images/nav/safe-b.gif"
safetyOff = new Image();
safetyOff.src = "/images/nav/safe.gif"

civicOn = new Image();
civicOn.src = "/images/nav/civic-b.gif"
civicOff = new Image();
civicOff.src = "/images/nav/civic.gif"

serveOn = new Image();
serveOn.src = "/images/nav/serve-b.gif"
serveOff = new Image();
serveOff.src = "/images/nav/serve.gif"

communityOn = new Image();
communityOn.src = "/images/nav/community-b.gif"
communityOff = new Image();
communityOff.src = "/images/nav/community.gif"

housingOn = new Image();
housingOn.src = "/images/nav/housing2-b.gif"
housingOff = new Image();
housingOff.src = "/images/nav/housing2.gif"

programsOn = new Image();
programsOn.src = "/images/nav/programs-b.gif"
programsOff = new Image();
programsOff.src = "/images/nav/programs.gif"

uchicagoOn = new Image();
uchicagoOn.src = "/images/footer/uchicago-b.gif"
uchicagoOff = new Image();
uchicagoOff.src = "/images/footer/uchicago.gif"

hospitalOn = new Image();
hospitalOn.src = "/images/footer/hospitals-b.gif"
hospitalOff = new Image();
hospitalOff.src = "/images/footer/hospitals.gif"

mapsOn = new Image();
mapsOn.src = "/images/footer/maps-b.gif"
mapsOff = new Image();
mapsOff.src = "/images/footer/maps.gif"

helpfulOn = new Image();
helpfulOn.src = "/images/footer/links-b.gif"
helpfulOff = new Image();
helpfulOff.src = "/images/footer/links.gif"

searchOn = new Image();
searchOn.src = "/images/footer/search-b.gif"
searchOff = new Image();
searchOff.src = "/images/footer/search.gif"

aboutOn = new Image();
aboutOn.src = "/images/about-g.gif"
aboutOff = new Image();
aboutOff.src = "/images/about.gif"

contactOn = new Image();
contactOn.src = "/images/contact-g.gif"
contactOff = new Image();
contactOff.src = "/images/contact.gif"

//homepage rollovers

uchicagohomeOn = new Image();
uchicagohomeOn.src = "/images/footer/uchicago-b-home.gif"
uchicagohomeOff = new Image();
uchicagohomeOff.src = "/images/footer/uchicago-home.gif"

hospitalhomeOn = new Image();
hospitalhomeOn.src = "/images/footer/hospitals-b-home.gif"
hospitalhomeOff = new Image();
hospitalhomeOff.src = "/images/footer/hospitals-home.gif"

mapshomeOn = new Image();
mapshomeOn.src = "/images/footer/maps-b-home.gif"
mapshomeOff = new Image();
mapshomeOff.src = "/images/footer/maps-home.gif"

helpfulhomeOn = new Image();
helpfulhomeOn.src = "/images/footer/links-b-home.gif"
helpfulhomeOff = new Image();
helpfulhomeOff.src = "/images/footer/links-home.gif"

eventshomeOn = new Image();
eventshomeOn.src = "/images/footer/events-b-home.gif"
eventshomeOff = new Image();
eventshomeOff.src = "/images/footer/events-home.gif"

oneOn = new Image();
oneOn.src = "/images/stories/one-over.gif"
oneOff = new Image();
oneOff.src = "/images/stories/one.gif"

text_oneOn = new Image();
text_oneOn.src = "/images/stories/text-one.gif"
text_oneOff = new Image();
text_oneOff.src = "/images/stories/spacer.gif"

twoOn = new Image();
twoOn.src = "/images/stories/two-over.gif"
twoOff = new Image();
twoOff.src = "/images/stories/two.gif"

text_twoOn = new Image();
text_twoOn.src = "/images/stories/text-two.gif"
text_twoOff = new Image();
text_twoOff.src = "/images/stories/spacer.gif"

threeOn = new Image();
threeOn.src = "/images/stories/three-over.gif"
threeOff = new Image();
threeOff.src = "/images/stories/three.gif"

text_threeOn = new Image();
text_threeOn.src = "/images/stories/text-three.gif"
text_threeOff = new Image();
text_threeOff.src = "/images/stories/spacer.gif"

fourOn = new Image();
fourOn.src = "/images/stories/four-over.gif"
fourOff = new Image();
fourOff.src = "/images/stories/four.gif"

text_fourOn = new Image();
text_fourOn.src = "/images/stories/text-four.gif"
text_fourOff = new Image();
text_fourOff.src = "/images/stories/spacer.gif"

}

function changeImages() {
 if (document.images) {
 for (var i=0; i<changeImages.arguments.length; i+=2) {
 document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");

    }
  }
}
