//----------DHTML Menu Created using AllWebMenus PRO ver 5.3-#830---------------
//W:\old_rectory\old_rectory\awm-menu\new-navigation.awm
awmIEOffsetX=-1;
awmIEOffsetY=-1;
awmNS6OffsetY=-1;
var awmMenuName='menu';
var awmLibraryBuild=830;
var awmLibraryPath='/awmdata';
var awmImagesPath='/awmdata/menu';
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='awm-new-nav';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='PTTTVOKODJIQYWGCNIVOAUAAMGMMTH';
var awmUseTrs=0;
var awmSepr=["0","","",""];
var awmMarg=[0,0,0,0];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["newest-nav_01.png",78,28,"newest-nav-ov_01.png",78,28,"newest-nav_02.png",79,28,"newest-nav-ov_02.png",79,28,"newest-nav_03.png",71,28,"newest-nav-ov_03.png",71,28,"newest-nav_04.png",122,28,"newest-nav-ov_04.png",122,28,"newest-nav_05.png",60,28,"newest-nav-ov_05.png",60,28,"newest-nav_06.png",70,28,"newest-nav-ov_06.png",70,28];
awmCreateCSS(0,1,0,n,n,n,n,n,'none','0','#000000',0,0);
awmCreateCSS(1,2,0,'#000066',n,n,'11px Tahoma, Arial, Helvetica, sans-serif',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(0,2,0,'#FFFFFF','#7486E1',n,'11px Tahoma, Arial, Helvetica, sans-serif',n,'none','0','#000000','0px 0px 0px 0',1);
awmCreateCSS(1,2,0,'#56594B','#DAE2B9',n,'11px Tahoma, Arial, Helvetica, sans-serif',n,'none','0','#000000','3px 8px 3px 8',1);
awmCreateCSS(0,2,0,'#56594B','#DAE2B9',n,'11px Tahoma, Arial, Helvetica, sans-serif',n,'none','0','#000000','3px 8px 3px 8',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,10,10,0,1,0,0,0,1,n,n,100,1,0,0,0,100,-1,1,200,200,0,0,0,"0,0,0",n,n,n,n,n,n,n,n,0,0,0,0,1,0,0,0,1);
it=s0.addItemWithImages(1,2,2,"","","","",0,1,1,3,3,3,n,n,n,"http://www.oldrectorypractice.co.uk/",n,n,n,"http://www.oldrectorypractice.co.uk/",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n,0,0,0,0,n);
var s1=it.addSubmenu(0,0,2,0,0,0,0,0,1,1,0,n,n,100,12,3,0,-1,1,200,200,0,0,"0,0,0",1,"0",1);
it=s1.addItem(3,4,4,"Opening hours",n,n,"","http://www.oldrectorypractice.co.uk/hours.html",n,n,n,"http://www.oldrectorypractice.co.uk/hours.html",n,0,0,2,0,0,9,n);
it=s1.addItem(3,4,4,"Standards of care",n,n,"","http://www.oldrectorypractice.co.uk/standards.html",n,n,n,"http://www.oldrectorypractice.co.uk/standards.html",n,0,0,2,0,0,11,n);
it=s1.addItem(3,4,4,"Meet the Team",n,n,"","http://www.oldrectorypractice.co.uk/meet.html",n,n,n,"http://www.oldrectorypractice.co.uk/meet.html",n,0,0,2,0,0,10,n);
it=s0.addItemWithImages(1,2,2,"","","","",2,3,3,3,3,3,n,n,n,"http://www.oldrectorypractice.co.uk/practice.html",n,n,n,"http://www.oldrectorypractice.co.uk/practice.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n,0,0,0,1,n);
var s1=it.addSubmenu(0,0,2,0,0,0,0,0,1,1,0,n,n,100,2,1,0,-1,1,200,200,0,0,"0,0,0",1,"0",1);
it=s1.addItem(3,4,4,"Choose us",n,n,"","http://www.oldrectorypractice.co.uk/choose.html",n,n,n,"http://www.oldrectorypractice.co.uk/choose.html",n,0,0,2,0,0,3,n);
it=s0.addItemWithImages(1,2,2,"","","","",4,5,5,3,3,3,n,n,n,"http://www.oldrectorypractice.co.uk/services.html",n,n,n,"http://www.oldrectorypractice.co.uk/services.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n,0,0,0,2,n);
var s1=it.addSubmenu(0,0,2,0,0,0,0,0,1,1,0,n,n,100,2,4,0,-1,1,200,200,0,0,"0,0,0",1,"0",1);
it=s1.addItem(3,4,4,"Dental Implants",n,n,"","http://www.oldrectorypractice.co.uk/dental_services.html",n,n,n,"http://www.oldrectorypractice.co.uk/dental_services.html",n,0,0,2,0,0,12,n);
it=s1.addItem(3,4,4,"Orthodontics",n,n,"","http://www.oldrectorypractice.co.uk/orthodontics.html",n,n,n,"http://www.oldrectorypractice.co.uk/orthodontics.html",n,0,0,2,0,0,15,n);
it=s1.addItem(3,4,4,"Facial Aesthetics",n,n,"","http://www.oldrectorypractice.co.uk/facial.html",n,n,n,"http://www.oldrectorypractice.co.uk/facial.html",n,0,0,2,0,0,16,n);
it=s1.addItem(3,4,4,"Fees",n,n,"","http://www.oldrectorypractice.co.uk/services_2.html",n,n,n,"http://www.oldrectorypractice.co.uk/services_2.html",n,0,0,2,0,0,13,n);
it=s1.addItem(3,4,4,"Payment Options",n,n,"","http://www.oldrectorypractice.co.uk/payment.html",n,n,n,"http://www.oldrectorypractice.co.uk/payment.html",n,0,0,2,0,0,14,n);
it=s0.addItemWithImages(1,2,2,"","","","",6,7,7,3,3,3,n,n,n,"http://www.oldrectorypractice.co.uk/testimonials.html",n,n,n,"http://www.oldrectorypractice.co.uk/testimonials.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n,0,0,0,17,n);
it=s0.addItemWithImages(1,2,2,"","","","",8,9,9,3,3,3,n,n,n,"http://www.oldrectorypractice.co.uk/news.html",n,n,n,"http://www.oldrectorypractice.co.uk/news.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n,0,0,0,18,n);
it=s0.addItemWithImages(1,2,2,"","","","",10,11,11,3,3,3,n,n,n,"http://www.oldrectorypractice.co.uk/contact.html",n,n,n,"http://www.oldrectorypractice.co.uk/contact.html",n,0,0,2,n,n,n,n,n,n,0,0,0,0,0,n,n,n,0,0,0,19,n);
var s1=it.addSubmenu(0,0,2,0,0,0,0,0,1,1,0,n,n,100,2,5,0,-1,1,200,200,0,0,"0,0,0",1,"0",1);
it=s1.addItem(3,4,4,"Enquiries",n,n,"","http://www.oldrectorypractice.co.uk/enquiries.html",n,n,n,"http://www.oldrectorypractice.co.uk/enquiries.html",n,0,0,2,0,0,20,n);
s0.pm.buildMenu();
}}

