// JavaScript Document

home_image = new Image();
home_image.src = "gfx/home_off.gif";
home_mouseover = new Image();
home_mouseover.src = "gfx/home_on.gif";

services_image = new Image();
services_image.src = "gfx/services_off.gif";
services_mouseover = new Image();
services_mouseover.src = "gfx/services_on.gif";

people_image = new Image();
people_image.src = "gfx/people_off.gif";
people_mouseover = new Image();
people_mouseover.src = "gfx/people_on.gif";

clients_image = new Image();
clients_image.src = "gfx/clients_off.gif";
clients_mouseover = new Image();
clients_mouseover.src = "gfx/clients_on.gif";

giving_image = new Image();
giving_image.src = "gfx/giving_off.gif";
giving_mouseover = new Image();
giving_mouseover.src = "gfx/giving_on.gif";

contact_image = new Image();
contact_image.src = "gfx/contact_off.gif";
contact_mouseover = new Image();
contact_mouseover.src = "gfx/contact_on.gif";

email_image = new Image();
email_image.src = "gfx/email_off.gif";
email_mouseover = new Image();
email_mouseover.src = "gfx/email_on.gif";

worksamples_image = new Image();
worksamples_image.src = "gfx/worksamples_off.gif";
worksamples_mouseover = new Image();
worksamples_mouseover.src = "gfx/worksamples_on.gif";


<!-- 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");
}
}
}

