//----------DHTML Menu Created using AllWebMenus PRO ver 5.1-#764---------------
//C:\Users\Cissy\Documents\MyWebPages\Susan Kearney\2009\main nav.awm
var awmMenuName='menu';
var awmLibraryBuild=764;
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='';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='YMXDKBKDFSMCYGHKCOJSSWOABEDK';
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmCreateCSS(0,1,0,n,n,n,n,n,'none','0','#000000',0,0);
awmCreateCSS(1,2,1,'#FFFFFF',n,n,'italic bold 20px Times New Roman, Times, serif',n,'none','0','#000000','3px 8px 3px 8',1);
awmCreateCSS(0,2,1,'#FFFFFF',n,n,'italic bold 20px Times New Roman, Times, serif','underline','none','0','#000000','3px 8px 3px 8',1);
awmCreateCSS(0,1,0,n,'#4A2022',n,n,n,'solid','1','#0B0A0A',0,0);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,5,20,240,0,1,0,1,0,1,n,n,100,0,0,20,240,0,-1,1,200,200,0,0,0,"0,0,0",n,n,n,n,n,n,n,n,0,0);
it=s0.addItem(1,2,2,"Home",n,n,"","http://www.susankearney.com",n,n,n,"http://www.susankearney.com",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"About Susan",n,n,"","/biography.html",n,n,n,"/biography.html",n,0,0,2,0,0);
var s1=it.addSubmenu(0,0,-1,0,0,0,0,3,1,1,1,n,n,100,-1,1,0,0,1,200,200,0,0,"0,0,0",1);
it=s1.addItem(1,2,2,"Biography",n,n,"","/biography.html",n,n,n,"/biography.html",n,0,0,2,0,0);
it=s1.addItem(1,2,2,"Interviews",n,n,"","/interviews.html",n,n,n,"/interviews.html",n,0,0,2,0,0);
it=s1.addItem(1,2,2,"Email Susan",n,n,"","/contact.html",n,n,n,"/contact.html",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Books",n,n,"","http://www.susankearney.com/futurebooks.html",n,n,n,"http://www.susankearney.com/futurebooks.html",n,0,0,2,0,0);
var s1=it.addSubmenu(0,0,-1,0,0,0,0,3,1,1,1,n,n,100,-1,2,0,0,1,200,200,0,0,"0,0,0",1);
it=s1.addItem(1,2,2,"Future Books",n,n,"","http://www.susankearney.com/futurebooks.html",n,n,n,"http://www.susankearney.com/futurebooks.html",n,0,0,2,0,0);
it=s1.addItem(1,2,2,"Excerpts",n,n,"","/excerpt.html",n,n,n,"/excerpt.html",n,0,0,2,0,0);
it=s1.addItem(1,2,2,"Books by Category",n,n,"","http://www.susankearney.com/backlist2.html",n,n,n,"http://www.susankearney.com/backlist2.html",n,0,0,2,0,0);
it=s1.addItem(1,2,2,"Linked Books",n,n,"","http://www.susankearney.com/linkedbooks.html",n,n,n,"http://www.susankearney.com/linkedbooks.html",n,0,0,2,0,0);
it=s1.addItem(1,2,2,"Back List",n,n,"","http://www.susankearney.com/backlist.html",n,n,n,"http://www.susankearney.com/backlist.html",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Book Videos",n,n,"","http://www.susankearney.com/bookvideos.html",n,n,n,"http://www.susankearney.com/bookvideos.html",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Contest",n,n,"","/contest.html",n,n,n,"/contest.html",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Mailing List",n,n,"","http://www.susankearney.com/mailinglist.html",n,n,n,"http://www.susankearney.com/mailinglist.html",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Games",n,n,"","http://www.susankearney.com/Puzzles/",n,n,n,"http://www.susankearney.com/Puzzles/",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Photos",n,n,"","/photos.html",n,n,n,"/photos.html",n,0,0,2,0,0);
it=s0.addItem(1,2,2,"Links",n,n,"","/links.html",n,n,n,"/links.html",n,0,0,2,0,0);
s0.pm.buildMenu();
}}

