fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#f7f7e7";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
//offbgcolor="#DCE9F0";
offbgcolor="#e8e8e8";
offcolor="black";
onbgcolor="#e8e8e8";
oncolor="red";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=8;
pagebgcolor="#d2f2f2";
pagecolor="black";
separatorcolor="#f7f7e7";
separatorsize=1;
//subimage="arrow.gif";
subimagepadding=2;

}

with(milonic=new menuname("Community groups")){
style=menuStyle;
aI("text=Cars & vehicles;url=groups.asp?SubCategoryId=5;");
aI("text=Children's groups;url=groups.asp?SubCategoryId=7;");
aI("text=Country sports;url=groups.asp?SubCategoryId=14;");
aI("text=Crafts;url=groups;url=groups.asp?SubCategoryId=2;");
aI("text=Dance;url=groups.asp?SubCategoryId=11;");
aI("text=Discussion groups;url=groups.asp?SubCategoryId=3;");
aI("text=Faith groups & churches;url=groups.asp?SubCategoryId=6;");
aI("text=Festivals & events;url=groups.asp?SubCategoryId=4;");
aI("text=Just for seniors;url=groups.asp?SubCategoryId=9;");
aI("text=Just for teens;url=groups.asp?SubCategoryId=8;");
aI("text=Local charities;url=groups.asp?SubCategoryId=16;");
aI("text=Music;url=groups.asp?SubCategoryId=12;");
aI("text=Out-of-doors;url=groups.asp?SubCategoryId=13;");
aI("text=Pressure groups;url=groups.asp?SubCategoryId=17;");
aI("text=Sports & fitness;url=groups.asp?SubCategoryId=1;");
aI("text=The Arts;url=groups.asp?SubCategoryId=10;");
aI("text=Women's groups;url=groups.asp?SubCategoryId=18;");
aI("text=Other;url=groups.asp?SubCategoryId=19;");
}

with(milonic=new menuname("Leisure")){
style=menuStyle;
aI("text=Clubs;url=groups.asp?SubCategoryId=25;");
aI("text=Forestry owners etc.;url=groups.asp?SubCategoryId=23;");
aI("text=Hotels & pubs;url=groups.asp?SubCategoryId=53;");
aI("text=Live music;url=groups.asp?SubCategoryId=26;");
aI("text=Museums Parks & Castles;url=groups.asp?SubCategoryId=82;");
aI("text=Swimming & exercise;url=groups.asp?SubCategoryId=20;");
aI("text=Walks;url=groups.asp?SubCategoryId=21;");
}

with(milonic=new menuname("Local services")){
style=menuStyle;
aI("text=Banks;url=groups.asp?SubCategoryId=37;");
aI("text=Employment;url=groups.asp?SubCategoryId=33;");
aI("text=Fire - local offices;url=groups.asp?SubCategoryId=31;");
aI("text=Fire - prevention;url=groups.asp?SubCategoryId=32;");
aI("text=Hotels & pubs;url=groups.asp?SubCategoryId=34;");
aI("text=Police - crime prevention;url=groups.asp?SubCategoryId=30;");
aI("text=Police - local offices;url=groups.asp?SubCategoryId=29;");
aI("text=Restaurants;url=groups.asp?SubCategoryId=43;");
aI("text=Schools & child day-care;url=groups.asp?SubCategoryId=27;");
aI("text=Shops;url=groups.asp?SubCategoryId=36;");
}

with(milonic=new menuname("Tourism")){
style=menuStyle;
aI("text=B&Bs;url=groups.asp?SubCategoryId=39;");
aI("text=Camping & caravanning;url=groups.asp?SubCategoryId=41;");
aI("text=Festivals & shows;url=groups.asp?SubCategoryId=40;");
aI("text=Visiting Buchan;url=groups.asp?SubCategoryId=38;");
}

with(milonic=new menuname("Travel")){
style=menuStyle;
aI("text=All to & from Buchan;url=groups.asp?SubCategoryId=83;");
aI("text=Dial-a-bus;url=groups.asp?SubCategoryId=84;");
aI("text=Trains;url=groups.asp?SubCategoryId=85;");
}

with(milonic=new menuname("Buchan Business")){
style=menuStyle;
aI("text=Agricultural services;url=groups.asp?SubCategoryId=45;");
aI("text=Banking;url=groups.asp?SubCategoryId=37;");
aI("text=Country sports;url=groups.asp?SubCategoryId=58;");
aI("text=Eating out location;url=groups.asp?SubCategoryId=43;");
aI("text=Estate agency;url=groups.asp?SubCategoryId=55;");
aI("text=Fishing services;url=groups.asp?SubCategoryId=46;");
aI("text=Garage services;url=groups.asp?SubCategoryId=48;");
aI("text=Hotels & pubs;url=groups.asp?SubCategoryId=53;");
aI("text=IT & Internet;url=groups.asp?SubCategoryId=59;");
aI("text=Manufacturing;url=groups.asp?SubCategoryId=44;");
aI("text=Marine & oil services;url=groups.asp?SubCategoryId=60;");
aI("text=Music & arts;url=groups.asp?SubCategoryId=49;");
aI("text=Off licences;url=groups.asp?SubCategoryId=52;");
aI("text=Pharmacies;url=groups.asp?SubCategoryId=51;");
aI("text=Post Offices;url=groups.asp?SubCategoryId=88;");
aI("text=Press & publicity;url=groups.asp?SubCategoryId=56;");
aI("text=Professional services;url=groups.asp?SubCategoryId=54;");
aI("text=Retail location;url=groups.asp?SubCategoryId=42;");
aI("text=Services industries;url=groups.asp?SubCategoryId=50;");
aI("text=Transport & haulage;url=groups.asp?SubCategoryId=47;");
aI("text=Undertakers;url=groups.asp?SubCategoryId=81;");
}

with(milonic=new menuname("Health")){
style=menuStyle;
aI("text=Clinics;url=groups.asp?SubCategoryId=63;");
aI("text=Complementary therapists;url=groups.asp?SubCategoryId=64;");
aI("text=Dentists;url=groups.asp?SubCategoryId=62;");
aI("text=GPs;url=groups.asp?SubCategoryId=61;");
aI("text=Health charities;url=groups.asp?SubCategoryId=65;");
}

with(milonic=new menuname("Representation")){
style=menuStyle;
aI("text=Aberdeen Council;url=groups.asp?SubCategoryId=68;");
aI("text=Aberdeenshire Councillors;url=groups.asp?SubCategoryId=66;");
aI("text=Community Councillors;url=groups.asp?SubCategoryId=67;");
aI("text=Community Councils;url=groups.asp?SubCategoryId=;");
aI("text=MEPs;url=groups.asp?SubCategoryId=71;");
aI("text=MPs;url=groups.asp?SubCategoryId=72;");
aI("text=MSPs;url=groups.asp?SubCategoryId=70;");
aI("text=Ombudsmen;url=groups.asp?SubCategoryId=69;");
aI("text=Political parties;url=groups.asp?SubCategoryId=73;");
}

with(milonic=new menuname("Heritage")){
style=menuStyle;
aI("text=Archaeology;url=groups.asp?SubCategoryId=76;");
aI("text=Farming heritage;url=groups.asp?SubCategoryId=80;");
aI("text=Fishing heritage;url=groups.asp?SubCategoryId=79;");
aI("text=Genealogy;url=groups.asp?SubCategoryId=77;");
aI("text=History;url=groups.asp?SubCategoryId=74;");
aI("text=History groups;url=groups.asp?SubCategoryId=75;");
aI("text=Researching your ancestors;url=groups.asp?SubCategoryId=78;");
}

with(milonic=new menuname("tidetables")){
style=menuStyle;
aI("text=Banff;url=http://www.bbc.co.uk/weather/coast/tides/tides.shtml?date=20070326&loc=0247;");
aI("text=Lossiemouth;url=http://www.bbc.co.uk/weather/coast/tides/tides.shtml?date=20070326&loc=0249;");
aI("text=Peterhead;url=http://www.bbc.co.uk/weather/coast/tides/tides.shtml?date=20070326&loc=0245;");
}

with(milonic=new menuname("Villages")){
style=menuStyle;
aI("text=Auchnagatt;url=auchnagatt.htm;");
aI("text=Boddam;url=boddam.htm;");
aI("text=Crimond;url=crimond.htm;");
aI("text=Cruden Bay;url=crudenbay.htm;");
aI("text=Fetterangus;url=fetterangus.htm;");
aI("text=Hatton;url=hatton.htm;");
aI("text=Longside;url=longside.htm;");
aI("text=Maud;url=maud.htm;");
aI("text=Mintlaw;url=mintlaw.htm;");
aI("text=New Deer;url=newdeer.htm;");
aI("text=New Pitsligo;url=newpitsligo.htm;");
aI("text=Old Deer;url=olddeer.htm;");
aI("text=St. Fergus;url=stfergus.htm;");
aI("text=Strichen;url=strichen.htm;");
aI("text=Stuartfield;url=stuartfield.htm;");
}

drawMenus();

