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

//These are the home button graphics
graphic1= new Image();
graphic1.src = "images/home_off.gif";
graphic1on = new Image();
graphic1on.src = "images/home_on.gif";
//These are the sitemap button graphics
graphic2= new Image();
graphic2.src = "images/site_map_off.gif";
graphic2on = new Image();
graphic2on.src = "images/site_map_on.gif";
//These are the glossary button graphics
graphic3= new Image();
graphic3.src = "images/glossary_off.gif";
graphic3on = new Image();
graphic3on.src = "images/glossary_on.gif";
//These are the contact us button graphics
graphic4= new Image();
graphic4.src = "images/contact_off.gif";
graphic4on = new Image();
graphic4on.src = "images/contact_on.gif";
//These are the careers button graphics
graphic5= new Image();
graphic5.src = "images/careers_off.gif";
graphic5on = new Image();
graphic5on.src = "images/careers_on.gif";
//These are the advice nurse button graphics


//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")
	}
} 
