_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=5               // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset

with(menuStyle=new mm_style()){
onbgcolor="#295300";
oncolor="#E58568";
offbgcolor="#295300";
offcolor="#FEE6BD";
bordercolor="#295300";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FEE6BD";
separatorsize="1";
padding=2;
fontsize="85%";
fontstyle="normal";
fontfamily="Verdana, Arial";
pagecolor="#E58568";
pagebgcolor="#295300";
headercolor="#295300";
headerbgcolor="#295300";
subimage="/images/arrows.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);)";
}

with(XPMainStyle=new mm_style()){
onbgcolor="#295300";
oncolor="#E58568";
offbgcolor="#EFEDDE";
offcolor="#295300";
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
separatorcolor="#EFEDDE";
separatorsize="2";
padding=4;
fontsize="10";
fontstyle="normal";
fontweight="normal";
fontfamily="Verdana, Arial";
subimagepadding="2";
onborder="1px solid #295300";
offborder="1px solid #cccccc";
}

with(MainStyle=new mm_style()){
onbgcolor="#295300";
oncolor="#E58568";
offbgcolor="#295300";
offcolor="#FEE6BD";
bordercolor="#295300";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FEE6BD";
separatorsize="1";
padding=2;
fontsize="85%";
fontstyle="normal";
fontfamily="Verdana, Arial";
headercolor="#000000";
headerbgcolor="#295300";
subimage="/images/arrow.gif";
subimagepadding="2";
}
with(AllImagesStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
padding=1;
fontsize="10";
fontstyle="normal";
fontweight="normal";
}
with(FooterStyle=new mm_style()){
onbgcolor="#295300";
oncolor="#E58568";
offbgcolor="#295300";
offcolor="#FEE6BD";
bordercolor="#295300";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FEE6BD";
separatorsize="1";
padding=5;
fontsize="10";
fontstyle="normal";
fontfamily="Verdana, Arial";
headercolor="#000000";
headerbgcolor="#295300";
}

with(milonic=new menuname("mnuCemeteries")){
style=menuStyle;
overflow="scroll";
aI("text=Search Cemeteries;url=/DynamicTree/Cemetery/search/CmSel.asp;");
aI("text=List All cemeteries by Name;url=/DynamicTree/Cemetery/Search/CmLst.asp?OB=2;");
aI("text=List All cemeteries by Location;url=/DynamicTree/Cemetery/Search/CmLst.asp?OB=1;");
}

with(milonic=new menuname("mnuReference")){
style=menuStyle;
overflow="scroll";
aI("text=Site Map;url=/DynamicTree/Reference/SiteMap.asp;");
aI("text=Website Bibliography;url=/DynamicTree/Reference/WebSiteBibliography.asp;");
}

with(milonic=new menuname("mnuIconography")){
style=menuStyle;
overflow="scroll";
aI("text=Search Emblems/Symbols;url=/DynamicTree/Cemetery/Search/DocDtl.asp?FK=10;");
aI("text=List All Emblems by Title;url=/DynamicTree/Cemetery/Search/DocLst.asp?FK=10&OB=1;");
aI("text=Iconography Links;url=http://magnolia.cyriv.com/DynamicTree/Cemetery/Search/LinkSelList.asp?L2=87;");
}

with(milonic=new menuname("mnuAcronyms")){
style=menuStyle;
overflow="scroll";
aI("text=Search Acronyms;url=/DynamicTree/Cemetery/Search/DocDtl.asp?FK=14;");
aI("text=List All Acronyms;url=/DynamicTree/Cemetery/Search/DocLst.asp?FK=14&OB=1;");
aI("text=Acronym Links;url=http://magnolia.cyriv.com/DynamicTree/Cemetery/Search/LinkSelList.asp?L2=88;");
}

with(milonic=new menuname("mnuEpitaphs")){
style=menuStyle;
overflow="scroll";
aI("text=Epitaphs;url=/DynamicTree/Epitaphs/Epitaph.asp;");
aI("text=Common Latin Phrases;url=/DynamicTree/Epitaphs/LatinPhrases.asp;");
aI("text=Common Greek Phrases;url=/DynamicTree/Epitaphs/GreekPhrases.asp;");
aI("text=Common German Phrases;url=/DynamicTree/Epitaphs/GermanPhrases.asp;");
}

with(milonic=new menuname("mnuGuestbook")){
style=menuStyle;
overflow="scroll";
aI("text=View Guestbook;url=/GuestBook/Default.asp;");
aI("text=Sign Guestbook;url=/GuestBook/sign.asp?PagePosition=1;");
}

with(milonic=new menuname("mnuAdmin")){
style=menuStyle;
overflow="scroll";
aI("text=Log Out;url=/Library/Security/Logout.asp;");
aI("text=Cemetery Admin;url=/Admin/CemAdmin.asp;");
aI("text=Category Admin;url=/Admin/CatAdmin.asp?L1=10;");
aI("text=Iconography Admin;url=/Admin/DocAdmin.asp?FK=10;");
aI("text=Acronym Admin;url=/Admin/DocAdmin.asp?FK=14;");
aI("text=Documents Admin;url=/Admin/DocAdmin.asp?FK=6;");
aI("text=Links Admin;url=/Admin/DocAdmin.asp?FK=13;");
aI("text=Guestbook Admin;url=/Guestbook/Admin_Menu.asp;");
}

// Build links menu from array built from link data in tables
var z=new Number(0);

with(milonic=new menuname("mnuLinksDB"))
{
style=menuStyle;
overflow="scroll";
aI("text=Books;url=http://astore.amazon.com/magnoliasandp-20;status=Iconography and Cemetery Related Books;");

for(z=0;z<aMenuLinks[0].length;z++)
	{
		strOpt = "aI('text="+aMenuLinks[0][z]+";url=/DynamicTree/Cemetery/Search/LinkSelList.asp?L2="+aMenuLinks[1][z]+";')"
	    eval(strOpt);
	}
}

drawMenus();

