_scrollAmount=5;     // Used for Netscape 4 scrolling
_scrollDelay=10;	     // Used for Netscape 4 scrolling

_menuCloseDelay=500;  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150;   // The delay for opening menus on mouse over
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position

k = document.location;
l = String(k);
i = l.substring(l.indexOf("MS=")+3,l.indexOf("MS=")+5);
s = l.substring(l.indexOf("MS=")+5,l.indexOf("MS=")+7);

AllMargin=0;

treeOffset=10;  // Used to set the offset of sub menus
singleMasterMenu=false; // Informs the system to only have one menu open at a time

//the menus are set to open and stay open to test all 
//levels in creation and position of images and text 
//to set so only one opens put singleMasterMenu to true

with(tstyle1=new mm_style()){
onclass='mainindent';
offclass='mainindent';
offcolor = '#000000';
//onbgcolor = "#D70B0B";
oncolor = '#cd9112';
pagecolor = '#cd9112';
//offbgcolor="#006699"
ondecoration='none';
decoration='none';
fontsize = "11px";
fontfamily = "verdana,arial,helvetica,sans-serif";  
padding=5;

type="tree";  
 
}
with(sub1Style=new mm_style()){
onclass='sub1indent';
offclass='sub1indent';
offcolor = '#000000';
oncolor = '##cd9112';
ondecoration='none';
decoration='none';
fontsize = "10px";
fontfamily = "verdana,arial,helvetica,sans-serif";  
subimageposition="left" ;
separatorcolor="#ffffff";
separatorsize=1;
padding=2;

type="tree"; 
}


tstyle1.clickcolor="#bb7d00";




with(new menuname("main Tree Menu")){
position = "relative";
style = tstyle1;
alwaysvisible = 1;
itemwidth=150;
menuwidth=150;
//margin=AllMargin
//position="relative"
aI("text=Company Overview;url=/About/CO.html?MS=AB;");
aI("text=CEO Message;url=/About/CEO.html?MS=AB;");
aI("text=Our Clients;url=/About/clients.html?MS=AB;");
aI("text=Careers;url=/About/opportunities.aspx?MS=ABCA;type=tree;");
if (s =='CA') {
	aI("text=Opportunities;offclass=sub1indent;onclass=sub1indent;url=/About/opportunities.aspx?MS=ABCA;");
	aI("text=Benefits;offclass=sub1indent;onclass=sub1indent;url=/About/benefits.html?MS=ABCA;");
	aI("text=Online Application;offclass=sub1indent;onclass=sub1indent;url=https://www.maryville.com/application/ci-voluntary-form.html;");
	
}
aI("text=Events;url=/About/events.html?MS=AB;");
aI("text=Press Releases;url=/About/Press.html?MS=ABPR;");
aI("text=Webinar Replays;url=/Webinar/webinar_replays.html;");
aI("text=Whitepapers & Industry Articles;url=/About/whitepapers.html;");
aI("text=Contact;url=/About/contact.html?MS=AB;");

}

 
	
drawMenus()
