//----------DHTML Menu Created using AllWebMenus LITE LinkBack ver 4.0-#600---------------
//C:\Program Files\AllWebMenus4 Lite\Examples\upr.awm
var awmMenuName='menu';
var awmLibraryBuild=600;
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 mbi=document.location,xt="";
var mpa=mbi.protocol+"//"+mbi.host;
var mbi=mbi.protocol+"//"+mbi.host+mbi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) mbi=oBC[0].href;}
while (mbi.search(/\\/)>-1) mbi=mbi.replace("\\","/");
mbi=mbi.substring(0,mbi.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){mbi=xt;}else{if(xt.substring(0,1)=="/")mbi=mpa+xt; else mbi+=xt;}}}}}
while (mbi.search(/\/\.\//)>-1) {mbi=mbi.replace("/./","/");}
var awmMenuPath=mbi.substring(0,mbi.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 awmTarget=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmCreateCSS(0,1,0,n,'',n,n,n,'solid',0,'',0,0);
awmCreateCSS(1,2,1,'#700000','',n,'bold 12px Arial, Helvetica, sans-serif',n,'none',0,'#9999CC','2px 4px 2px 4',1);
awmCreateCSS(0,2,1,'#330000','',n,'bold 12px Arial, Helvetica, sans-serif',n,'none',0,'#9999CC','2px 4px 2px 4',1);
awmCreateCSS(0,1,0,n,'#700000',n,n,n,'none',0,'#9999CC',0,0);
awmCreateCSS(1,2,0,'#700000','#9999CC',n,'bold 11px Arial, Helvetica, sans-serif',n,'none',0,'#9999CC','2px 2px 2px 2',1);
awmCreateCSS(0,2,0,'#330000','#CCCCFF',n,'bold 11px Arial, Helvetica, sans-serif',n,'none',0,'#9999CC','2px 2px 2px 2',1);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,5,0,333,0,1,0,13,0,1,n,n,100,0,0,0,150);
it=s0.addItem(1,2,2,"     Home    ",n,n,"","index.html",n,n,n,"index.html",n,0,0,2,0);

it=s0.addItem(1,2,2,"     Book Contents     ",n,n,"","book_contents.html",n,n,n,"book_contents.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,4);
it=s1.addItem(4,5,5,"  Book Contents  ",n,n,"","book_contents.html",n,n,n,"book_contents.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  The Book's Messages    ",n,n,"","books_messages.html",n,n,n,"books_messages.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  The Book's Journey    ",n,n,"","books_journey.html",n,n,n,"books_journey.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Author's Biography  ",n,n,"","authors_bio.html",n,n,n,"authors_bio.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Sample Poems  ",n,n,"","sample_poems.html",n,n,n,"sample_poems.html",n,0,0,2,0);



it=s0.addItem(1,2,2,"     Reviews    ",n,n,"","reviews.html",n,n,n,"reviews.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,2);
it=s1.addItem(4,5,5,"  Reviews ",n,n,"","reviews.html",n,n,n,"reviews.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Testimonials ",n,n,"","testimonials.html",n,n,n,"testimonials.html",n,0,0,2,0);


it=s0.addItem(1,2,2,"    Articles    ",n,n,"","articles.html",n,n,n,"articles.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,2);
it=s1.addItem(4,5,5,"  Articles    ",n,n,"","articles.html",n,n,n,"articles.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Myths & Truths about Depression    ",n,n,"","myths.html",n,n,n,"myths.html",n,0,0,2,0);


it=s0.addItem(1,2,2,"  Track Record     ",n,n,"","track_record.html",n,n,n,"track_record.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,2);
it=s1.addItem(4,5,5,"  Track Record ",n,n,"","track_record.html",n,n,n,"track_record.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  My Personal Milestones  ",n,n,"","milestones.html",n,n,n,"milestones.html",n,0,0,2,0);

it=s0.addItem(1,2,2,"  Events     ",n,n,"","talks_presentations.html",n,n,n,"talks_presentations.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,2);
it=s1.addItem(4,5,5,"  Events     ",n,n,"","talks_presentations.html",n,n,n,"talks_presentations.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Book Launch Details     ",n,n,"","book_launch_details.html",n,n,n,"book_launch_details.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Exhibitions     ",n,n,"","exhibitions.html",n,n,n,"exhibitions.html",n,0,0,2,0);

it=s0.addItem(1,2,2,"  Buy a Copy     ",n,n,"","buy_a_copy.html",n,n,n,"buy_a_copy.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,2);
it=s1.addItem(4,5,5,"  Buy a Copy  ",n,n,"","buy_a_copy.html",n,n,n,"buy_a_copy.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Buy a Card ",n,n,"","buy_a_card.html",n,n,n,"buy_a_card.html",n,0,0,2,0);


it=s0.addItem(1,2,2,"  Contact  ",n,n,"","contact_details.html",n,n,n,"contact_details.html",n,0,0,2,0);
var s1=it.addSubmenu(0,0,0,0,0,0,0,3,0,1,0,n,n,100,0,2);
it=s1.addItem(4,5,5,"  Contact Details ",n,n,"","contact_details.html",n,n,n,"contact_details.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Blog ",n,n,"","http://hope4recovery.co.uk/Wordpress/",n,n,n,"http://hope4recovery.co.uk/Wordpress/",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Feedback ",n,n,"","feedback.html",n,n,n,"feedback.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Links  ",n,n,"","links.html",n,n,n,"links.html",n,0,0,2,0);
it=s1.addItem(4,5,5,"  Sitemap  ",n,n,"","sitemap.html",n,n,n,"sitemap.html",n,0,0,2,0);

s0.pm.buildMenu();
}}

