//----------DHTML Menu Created using AllWebMenus PRO ver 4.2-#638---------------
//C:\WWWSites\Visit Masham\menu\mainmenu.awm
var awmMenuName='menu';
var awmLibraryBuild=638;
var awmLibraryPath='/awmdata';
var awmImagesPath='/awmdata';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1 || navigator.userAgent.indexOf('Konqueror')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1)));
var mpi=document.location,xt="";
var mpa=mpi.protocol+"//"+mpi.host;
var mpi=mpi.protocol+"//"+mpi.host+mpi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) mpi=oBC[0].href;}
while (mpi.search(/\\/)>-1) mpi=mpi.replace("\\","/");
mpi=mpi.substring(0,mpi.lastIndexOf("/")+1);
var e=document.getElementsByTagName("SCRIPT");
for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(awmMenuName+".js")!=-1){xt=e[i].src.split("/");if (xt[xt.length-1]==awmMenuName+".js"){xt=e[i].src.substring(0,e[i].src.length-awmMenuName.length-3);if (e[i].src.indexOf("://")!=-1){mpi=xt;}else{if(xt.substring(0,1)=="/")mpi=mpa+xt; else mpi+=xt;}}}}}
while (mpi.search(/\/\.\//)>-1) {mpi=mpi.replace("/./","/");}
var awmMenuPath=mpi.substring(0,mpi.length-1);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'","&#39;");}
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}

var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["buttonN.gif",128,20,"buttonO.gif",128,20];
awmCreateCSS(0,1,0,n,n,n,n,n,'none',0,'#000000',0,0);
awmCreateCSS(1,2,0,'#008000',n,n,'12px Arial, Helvetica, sans-serif',n,'none',0,'#000000','0px 0px 0px 0',1);
awmCreateCSS(0,2,0,'#008000',n,n,'12px Arial, Helvetica, sans-serif',n,'none',0,'#000000','1px 0px 0px 2',1);
awmCreateCSS(0,2,0,'#FF0000',n,n,'12px Arial, Helvetica, sans-serif',n,'none',0,'#000000','1px 0px 0px 2',1);
awmCreateCSS(0,1,0,n,'#008000',n,n,n,'solid',1,'#008000',0,0);
awmCreateCSS(1,2,0,'#008000','#DFFADE',n,'12px Arial, Helvetica, sans-serif',n,'none',0,'#000000','2px 2px 2px 2',1);
awmCreateCSS(0,2,0,'#008000','#FFFFFF',n,'12px Arial, Helvetica, sans-serif',n,'none',0,'#000000','2px 2px 2px 2',1);
awmCreateCSS(0,2,0,'#FF0000','#FFFFFF',n,'12px Arial, Helvetica, sans-serif',n,'none',0,'#000000','2px 2px 2px 2',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,0,0,0,0,0,12,1,0,n,n,100,1,0,0,0,0);
it=s0.addItemWithImages(1,2,3,"  Home  ",n,n,"",n,n,n,3,3,3,n,n,n,"index.php",n,n,n,"index.php",n,0,0,2,0,1,1,n,n,n,0,0,0,0);
it=s0.addItemWithImages(1,2,3,"  Discover Us  ",n,n,"",n,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,0,1,1,n,n,n,0,0,0,0);
var s1=it.addSubmenu(0,0,-20,0,0,0,1,4,1,1,0,n,n,100,18,1,0);
it=s1.addItem(5,6,7,"  How to Find Us  ",n,n,"","findus.php",n,n,n,"findus.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Things to Do  ",n,n,"","thingstodo.php",n,n,n,"thingstodo.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Walks  ",n,n,"","walks.php",n,n,n,"walks.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Our History  ",n,n,"","history.php",n,n,n,"history.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Pictures  ",n,n,"","gallery.php",n,n,n,"gallery.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Contact Us  ",n,n,"","contact.php",n,n,n,"contact.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Links  ",n,n,"","links.php",n,n,n,"links.php",n,0,0,2,0);
it=s0.addItemWithImages(1,2,3,"  What's On  ",n,n,"",n,n,n,3,3,3,n,n,n,"calendar.php",n,n,n,"calendar.php",n,0,0,2,0,1,1,n,n,n,0,0,0,0);
it=s0.addItemWithImages(1,2,3,"  Where to Stay  ",n,n,"",n,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,0,1,1,n,n,n,0,0,0,0);
var s1=it.addSubmenu(0,0,-20,0,0,0,1,4,1,1,0,n,n,100,18,4,0);
it=s1.addItem(5,6,7,"  Hotels & Guesthouses  ",n,n,"","hotels.php",n,n,n,"hotels.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Pubs  ",n,n,"","pubs.php",n,n,n,"pubs.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  B&Bs  ",n,n,"","bandbs.php",n,n,n,"bandbs.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Self Catering  ",n,n,"","selfcatering.php",n,n,n,"selfcatering.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Caravans & Camping  ",n,n,"","caravans.php",n,n,n,"caravans.php",n,0,0,2,0);
it=s0.addItemWithImages(1,2,3,"  Where to Eat & Drink  ",n,n,"",n,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,0,1,1,n,n,n,0,0,0,0);
var s1=it.addSubmenu(0,0,-20,0,0,0,1,4,1,1,0,n,n,100,18,5,0);
it=s1.addItem(5,6,7,"  Cafés & Tearooms  ",n,n,"","tea.php",n,n,n,"tea.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Pub Food  ",n,n,"","pubfood.php",n,n,n,"pubfood.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Restaurants  ",n,n,"","restaurants.php",n,n,n,"restaurants.php",n,0,0,2,0);
it=s0.addItemWithImages(1,2,3,"  Where to Shop  ",n,n,"",n,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,0,1,1,n,n,n,0,0,0,0);
var s1=it.addSubmenu(0,0,-20,0,0,0,1,4,1,1,0,n,n,100,18,6,0);
it=s1.addItem(5,6,7,"  Arts, Crafts & Antiques  ",n,n,"","arts.php",n,n,n,"arts.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Auto Services/Garages  ",n,n,"","garages.php",n,n,n,"garages.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Banks/Financial Services  ",n,n,"","banks.php",n,n,n,"banks.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Beauty/Hair/Lifestyle  ",n,n,"","beauty.php",n,n,n,"beauty.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Chemist  ",n,n,"","chemist.php",n,n,n,"chemist.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Fashion  ",n,n,"","fashion.php",n,n,n,"fashion.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Florist/Garden  ",n,n,"","florist.php",n,n,n,"florist.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Food & Drink  ",n,n,"","foods.php",n,n,n,"foods.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Gifts & Jewellery  ",n,n,"","gifts.php",n,n,n,"gifts.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Ice Cream Parlour  ",n,n,"","icecream.php",n,n,n,"icecream.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Leisure & Tourism  ",n,n,"","leisure.php",n,n,n,"leisure.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Post Office  ",n,n,"","postoffice.php",n,n,n,"postoffice.php",n,0,0,2,0);
it=s0.addItemWithImages(1,2,3,"  Around & About  ",n,n,"",n,n,n,3,3,3,n,n,n,"aroundandabout.php",n,n,n,"aroundandabout.php",n,0,0,2,0,1,1,n,n,n,0,0,0,0);
it=s0.addItemWithImages(1,2,3,"  Community  ",n,n,"",n,n,n,3,3,3,n,n,n,"",n,n,n,n,n,0,0,2,0,1,1,n,n,n,0,0,0,0);
var s1=it.addSubmenu(0,0,-20,0,0,0,1,4,1,1,0,n,n,100,18,2,0);
it=s1.addItem(5,6,7,"  Business Directory  ",n,n,"","listing.php",n,n,n,"listing.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Clubs, Associations and Charities  ",n,n,"","clubs.php",n,n,n,"clubs.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Useful Numbers  ",n,n,"","numbers.php",n,n,n,"numbers.php",n,0,0,2,0);
it=s1.addItem(5,6,7,"  Community Office  ",n,n,"","mco.php",n,n,n,"mco.php",n,0,0,2,0);
s0.pm.buildMenu();
}}
