browserName=navigator.appName; 
browserVer=parseInt(navigator.appVersion);

if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4))    
	{
	version="n3";
	}
else
	{
	version="n2";
	}

if (version=="n3")
	{

    abouton= new Image(100,25);
  	abouton.src="images/b_on_about.gif";  
    aboutoff= new Image(100,25);
    aboutoff.src="images/b_off_about.gif";
	aboutmessage= "Company profile of Bainbridge Electrical";

    serviceson= new Image(100,25);
  	serviceson.src="images/b_on_services.gif";  
    servicesoff= new Image(100,25);
    servicesoff.src="images/b_off_services.gif";
	servicesmessage= "Our services include electrical installations, testing, inspection and control panel building";

    locationon= new Image(100,25);
  	locationon.src="images/b_on_location.gif";  
    locationoff= new Image(100,25);
    locationoff.src="images/b_off_location.gif";
	locationmessage= "Our location and the the areas which we work";

    enquirieson= new Image(100,25);
  	enquirieson.src="images/b_on_enquiries.gif";  
    enquiriesoff= new Image(100,25);
    enquiriesoff.src="images/b_off_enquiries.gif";
	enquiriesmessage= "For more information or a FREE quotation please contact us";

    homeon= new Image(100,25);
  	homeon.src="images/b_on_home.gif";  
    homeoff= new Image(100,25);
    homeoff.src="images/b_off_home.gif";
	homemessage= "Return to our home page";
    }

function activate(imgName)
	{
	imgOn=eval(imgName + "on.src");
	document[imgName].src= imgOn;
	imgMess=eval(imgName + "message");
	window.status=imgMess;
	}

function deactivate(imgName)
	{
	imgOff=eval(imgName + "off.src");
	document[imgName].src= imgOff;
	window.status="";
	}