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

//These are the home button graphics
graphic1= new Image();
graphic1.src = src="http://www.alamedaalliance.org/images/home_off.gif";
graphic1on = new Image();
graphic1on.src = src="http://www.alamedaalliance.org/images/home_on.gif";
//These are the sitemap button graphics
graphic2= new Image();
graphic2.src = src="http://www.alamedaalliance.org/images/sitemap_off.gif";
graphic2on = new Image();
graphic2on.src = src="http://www.alamedaalliance.org/images/sitemap_on.gif";
//These are the glossary button graphics
graphic3= new Image();
graphic3.src = src="http://www.alamedaalliance.org/images/glossary_off.gif";
graphic3on = new Image();
graphic3on.src = src="http://www.alamedaalliance.org/images/glossary_on.gif";
//These are the contact us button graphics
graphic4= new Image();
graphic4.src = src="http://www.alamedaalliance.org/images/contact_off.gif";
graphic4on = new Image();
graphic4on.src = src="http://www.alamedaalliance.org/images/contact_on.gif";
//These are the careers button graphics
graphic5= new Image();
graphic5.src = src="http://www.alamedaalliance.org/images/careers_off.gif";
graphic5on = new Image();
graphic5on.src = src="http://www.alamedaalliance.org/images/careers_on.gif";
//These are the employee access button graphics
graphic6= new Image();
graphic6.src = src="http://www.alamedaalliance.org/images/employee_access_off.gif";
graphic6on = new Image();
graphic6on.src = src="http://www.alamedaalliance.org/images/employee_access_on.gif";


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

                       
					
function changeImage(layer,imgName,imgObj) {
	if (document.images) {
		if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')
		else document.images[imgName].src = eval(imgObj+".src")
	}
} 

