// JavaScript Document

what_off = new Image();
what_off.src = "images/what_off.png";

what_on = new Image();
what_on.src = "images/what_on.png";

who_off = new Image();
who_off.src = "images/who_off.png";

who_on = new Image();
who_on.src = "images/who_on.png";

/*grantees_off = new Image();
grantees_off.src = "images/grantees_off.png";

grantees_on = new Image();
grantees_on.src = "images/grantees_on.png";*/

get_off = new Image();
get_off.src = "images/get_off.png";

get_on = new Image();
get_on.src = "images/get_on.png";

resources_off = new Image();
resources_off.src = "images/resources_off.png";

resources_on = new Image();
resources_on.src = "images/resources_on.png";

about_off = new Image();
about_off.src = "images/about_off.png";

about_on = new Image();
about_on.src = "images/about_on.png";

grantmaking_off = new Image();
grantmaking_off.src = "images/grantmaking_off.png";

grantmaking_on = new Image();
grantmaking_on.src = "images/grantmaking_on.png";





<!-- repeat the 4 lines above for any subsequent images. -->

function swap(){
if (document.images){
for (var x=0;
x<swap.arguments.length;
x+=2) {
document[swap.arguments[x]].src = eval(swap.arguments[x+1] + ".src");
}
}
}
