// JavaScript Document


//Below is the code that pre-loads the graphics 
{

//These are the large images
alt0 = new Image();
alt0.src = "images/default-graphic.jpg";

alt1 = new Image();
alt1.src = "images/healthcare.jpg";

alt2 = new Image();
alt2.src = "images/pCare.jpg";

alt3 = new Image();
alt3.src = "images/organic.jpg";

alt4 = new Image();
alt4.src = "images/menu_4-large.jpg";

alt5 = new Image();
alt5.src = "images/menu_5-large.jpg";

alt6 = new Image();
alt6.src = "images/menu_6-large.jpg";


//These are the button graphics

graphic1= new Image();
graphic1.src = "images/cat_03.jpg";
graphic1on = new Image();
graphic1on.src = "images/catRollovers_03.jpg";

graphic2= new Image();
graphic2.src = "images/cat_05.jpg";
graphic2on = new Image();
graphic2on.src = "images/catRollovers_05.jpg";

graphic3= new Image();
graphic3.src = "images/cat_06.jpg";
graphic3on = new Image();
graphic3on.src = "images/catRollovers_06.jpg";




//This is the function that calls for
//the change in the buttons 

}
function imageChange(imageID,imageName,imageID2,imageName2) { 

{
document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");
}

}

