<!-- Copyright (c) Ormskirk & Croston Beekeepers Branch 2006-2008. All rights reserved.
browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);
displaymymenu="N";
if (browserVer>=3)
	{
		where=window.location.hostname;
		if (where)
			{
			where="http://"+where+"/menus/";
			}
		else
			{
			where="./menus/";
			}
     	displaymymenu="Y";
     	aboutuson=new Image; aboutuson.src=where+"aboutus_on.gif";
        calendaron=new Image; calendaron.src=where+"calendar_on.gif";
        contacton=new Image; contacton.src=where+"contact_on.gif";
        courseon=new Image; courseon.src=where+"course_on.gif";
        equipmenton=new Image; equipmenton.src=where+"equipment_on.gif";
        examson=new Image; examson.src=where+"exams_on.gif";
        healthon=new Image; healthon.src=where+"health_on.gif";
       	homepageon=new Image; homepageon.src=where+"homepage_on.gif";
        linkson=new Image; linkson.src=where+"links_on.gif";
        newsletteron=new Image; newsletteron.src=where+"newsletter_on.gif";
        queenrearingon=new Image; queenrearingon.src=where+"queenrearing_on.gif";
        whatsnewon=new Image; whatsnewon.src=where+"whatsnew_on.gif";
		communityon=new Image; communityon.src=where+"community_on.gif";
	
        aboutusoff=new Image; aboutusoff.src=where+"aboutus_off.gif";
        calendaroff=new Image; calendaroff.src=where+"calendar_off.gif";
        contactoff=new Image; contactoff.src=where+"contact_off.gif";
        courseoff=new Image; courseoff.src=where+"course_off.gif";
        equipmentoff=new Image; equipmentoff.src=where+"equipment_off.gif";
        examsoff=new Image; examsoff.src=where+"exams_off.gif";
        healthoff=new Image; healthoff.src=where+"health_off.gif";
       	homepageoff=new Image; homepageoff.src=where+"homepage_off.gif";
        linksoff=new Image; linksoff.src=where+"links_off.gif";
        newsletteroff=new Image; newsletteroff.src=where+"newsletter_off.gif";
        queenrearingoff=new Image; queenrearingoff.src=where+"queenrearing_off.gif";
        whatsnewoff=new Image; whatsnewoff.src=where+"whatsnew_off.gif";
        communityoff=new Image; communityoff.src=where+"community_off.gif";
     	}

function img_active(imgName)
	{
        if (displaymymenu=="Y")
        	{
        	imgOn=eval(imgName+"on.src");
        	document [imgName].src=imgOn;
        	}
	}

function img_inactive(imgName)
	{
        if (displaymymenu=="Y")
        	{
        	imgOff=eval(imgName+"off.src");
        	document [imgName].src=imgOff;
        	}
	}
//!-->