// JavaScript Document


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

//These are the large images
alt0 = new Image();
alt0.src = "images/spacer.gif";

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

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

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

alt4 = new Image();
alt4.src = "new/ballwin.jpg";

alt5 = new Image();
alt5.src = "new/ofallon.jpg";

alt6 = new Image();
alt6.src = "new/springfield.jpg";

alt7 = new Image();
alt7.src = "new/westport.jpg";


//These are the button graphics

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

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

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

graphic4= new Image();
graphic4.src = "images/columbia.jpg";
graphic4on = new Image();
graphic4on.src = "images/columbia.jpg";

graphic5= new Image();
graphic5.src = "images/ofallon.jpg";
graphic5on = new Image();
graphic5on.src = "images/ofallon.jpg";

graphic6= new Image();
graphic6.src = "images/springfield2.jpg";
graphic6on = new Image();
graphic6on.src = "images/springfield2.jpg";

graphic7= new Image();
graphic7.src = "images/westport.jpg";
graphic7on = new Image();
graphic7on.src = "images/westport.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");
}

}