if (document.images)
	{
	profileon= new Image(97,18);
	profileon.src="images/b_profile_on.gif";  

	profileoff= new Image(97,18);
	profileoff.src="images/b_profile_off.gif";
	
	profilemessage= "About Duncan and Associates";
	
	equipon= new Image(97,18);
	equipon.src="images/b_equip_on.gif";  

	equipoff= new Image(97,18);
	equipoff.src="images/b_equip_off.gif";
	
	equipmessage= "The Duncan and Associates range of sampling apparatus";
	
	
	hireon= new Image(97,18);
	hireon.src="images/b_hire_on.gif";  

	hireoff= new Image(97,18);
	hireoff.src="images/b_hire_off.gif";

	hiremessage= "Sampling apparatus for hire from Duncan and Associates";


	newson= new Image(97,18);
	newson.src="images/b_news_on.gif";  

	newsoff= new Image(97,18);
	newsoff.src="images/b_news_off.gif";

	newsmessage= "The latest news from Duncan and Associates";
	
	
	homeon= new Image(97,18);
	homeon.src="images/b_home_on.gif";  

	homeoff= new Image(97,18);
	homeoff.src="images/b_home_off.gif";

	homemessage= "Back to the main Duncan and Associates page";
	}

function activate(imgName)
	{
	if (document.images)
		{
		imgOn=eval(imgName + "on.src");
		document[imgName].src= imgOn;
		imgMess=eval(imgName + "message");
		window.status=imgMess;
		}
	}

function deactivate(imgName)
	{
	if (document.images)
		{
		imgOff=eval(imgName + "off.src");
		document[imgName].src= imgOff;
		window.status="Duncan and Associates, Cumbria, UK";
		}
	}