//----------DHTML Menu Created using AllWebMenus PRO ver 5.1-#758---------------
//C:\datafiles\d\web\onsite clients\stjames website\stjamesmenu.awm
var awmMenuName='stjamesmenu';
var awmLibraryBuild=758;
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('Chrome')>-1)?2:((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("'","%27");}
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}

var awmImageName='';
var awmPosID='';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='PDUDWYLYDAKWLOEGAYMQKZ';
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["m-tours.jpg",78,39,"m-tours-ovr.jpg",78,39,"menu-bg.jpg",795,20,"m-coming.jpg",169,39,"m-coming-ovr.jpg",169,39,"m-news.jpg",201,39,"m-news-ovr.jpg",201,39,"m-tearoom.jpg",213,39,"m-tearoom-ovr.jpg",213,39,"m-tea.jpg",132,39,"m-tea-ovr.jpg",132,39];
awmCreateCSS(0,1,0,n,'#0D0F28',n,n,n,'outset','0','#0D0F28',0,0);
awmCreateCSS(1,2,1,'#000000','#FFFFFF',n,'14px sans-serif',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(0,2,1,'#FFFFFF','#7A96DF',n,'14px sans-serif',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(0,1,0,n,'#EFE4CF',2,n,n,'solid','1','#0D0F28',0,0);
awmCreateCSS(1,2,1,'#EFE4CF','#0D0F28',n,'italic bold 17px Times New Roman',n,'none','0','#000000','1px 5px 0px 5',1);
awmCreateCSS(0,2,1,'#0D0F28','#EFE4CF',n,'italic bold 17px Times New Roman',n,'none','0','#000000','1px 5px 0px 5',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,5,-21,394,1,1,0,0,0,1,n,n,100,0,0,-21,394,0,-1,1,200,200,0,0,1,"0,0,0",n,n,n,n,n,n,n,n,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",0,1,1,3,3,3,n,n,n,"tours.html",n,n,n,"tours.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(1,0,0,2,4,3,2,3,0,0,1,n,n,100,0,5,798,-1,1,200,200,0,0,"0,0,0",0);
it=s1.addItem(4,5,5," &nbsp;Seating Areas &nbsp;",n,n,"","seatings.html",n,n,n,"seatings.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;A Taste of the Tearoom &nbsp;",n,n,"","phototour.html",n,n,n,"phototour.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;St. James Scrapbook &nbsp;",n,n,"","scrapbook.html",n,n,n,"scrapbook.html",n,0,0,2,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",3,4,4,3,3,3,n,n,n,"coming-to-tea.html",n,n,n,"coming-to-tea.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(1,0,0,2,4,3,2,3,0,0,1,n,n,100,0,1,798,-1,1,200,200,0,0,"0,0,0",0);
it=s1.addItem(4,5,5," &nbsp;Afternoon Tea &nbsp;",n,n,"","coming-to-tea.html",n,n,n,"coming-to-tea.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;This Month&#39;s Menu &nbsp;",n,n,"","menu.html",n,n,n,"menu.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Seating Areas &nbsp;",n,n,"","seatings.html",n,n,n,"seatings.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Prices &nbsp;",n,n,"","prices.html",n,n,n,"prices.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Reservations &nbsp;",n,n,"","reservations.html",n,n,n,"reservations.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Online Reservations &nbsp;",n,n,"","https://www.reserveit.net/reserveit/consumer/startreservation.action?uniqueId=1311fda9-7e58-11dc-b0d0-00065bfec655",n,n,n,"https://www.reserveit.net/reserveit/consumer/startreservation.action?uniqueId=1311fda9-7e58-11dc-b0d0-00065bfec655",n,0,0,2,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",5,6,6,3,3,3,n,n,n,"news-reviews.html",n,n,n,"news-reviews.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(1,0,0,2,4,3,2,3,0,0,1,n,n,100,0,2,798,-1,1,200,200,0,0,"0,0,0",0);
it=s1.addItem(4,5,5," &nbsp;Special Events &nbsp;",n,n,"","news-reviews.html",n,n,n,"news-reviews.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Newsletter - The St. James Gazette &nbsp;",n,n,"","news-gazette.html",n,n,n,"news-gazette.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Reviews &nbsp;",n,n,"","reviews.html",n,n,n,"reviews.html",n,0,0,2,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",7,8,8,3,3,3,n,n,n,"about-the-tearoom.html",n,n,n,"about-the-tearoom.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(1,0,0,2,4,3,2,3,0,0,1,n,n,100,0,3,798,-1,1,200,200,0,0,"0,0,0",0);
it=s1.addItem(4,5,5," &nbsp;The St. James Market &nbsp;",n,n,"","market.html",n,n,n,"market.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Directions &nbsp;",n,n,"","directions.html",n,n,n,"directions.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Contact Us &nbsp;",n,n,"","contact.html",n,n,n,"contact.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Our Mission &nbsp;",n,n,"","mission.html",n,n,n,"mission.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Our Founders &nbsp;",n,n,"","founders.html",n,n,n,"founders.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Employment &nbsp;",n,n,"","employment.html",n,n,n,"employment.html",n,0,0,2,0,0);
it=s0.addItemWithImages(1,2,2,"","","","",9,10,10,3,3,3,n,n,n,"about-tea.html",n,n,n,"about-tea.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n);
var s1=it.addSubmenu(1,0,0,2,4,3,2,3,0,0,1,n,n,100,0,4,798,-1,1,200,200,0,0,"0,0,0",0);
it=s1.addItem(4,5,5," &nbsp;Our Teas &nbsp;",n,n,"","about-tea.html",n,n,n,"about-tea.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;Afternoon Tea &nbsp;",n,n,"","coming-to-tea.html",n,n,n,"coming-to-tea.html",n,0,0,2,0,0);
it=s1.addItem(4,5,5," &nbsp;A Perfect Pot of Tea &nbsp;",n,n,"","perfect-pot.html",n,n,n,"perfect-pot.html",n,0,0,2,0,0);
s0.pm.buildMenu();
}}
