
_scrollAmount=5      // Used for Netscape 4 scrolling 
_scrollDelay=10        // Used for Netscape 4 scrolling 

_menuCloseDelay=0 // The delay for menus to remain visible on mouse off 
_menuOpenDelay=0   // The delay for opening menus on mouse over 
_subOffsetTop=0;     // Sub menu offset Top position 
_subOffsetLeft=0;  // Sub menu offset Left position 


AllMargin=0 

treeOffset=0;  // Used to set the offset of sub menus 
singleMasterMenu=true // Informs the system to only have one menu open at a time 

with(tstyle1old=new mm_style()){ 
offbgcolor = "transparent"; 
onbgcolor = "#999933"; 
offcolor="#808000"; 
oncolor="#808000";
pageimage="arrow.gif";
imageposition="right";
bordercolor="black"
borderstyle="solid";
borderwidth=0;
fontsize="11px";
fontfamily="Trebuchet MS";
itemwidth=114;
itemheight=30;
keepalive=true;
rawcss="padding:2px 0px 2px 4px"; 

} 


with(tstyle1=new mm_style()){
fontfamily="Trebuchet MS";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#004c80";
offcolor="#FFFFFF";
onbgcolor="#003d7b";
oncolor="#FFFFFF";
padding=4;
separatorcolor="#999999";
separatorsize=0;
subimage="transparent.gif";
itemheight=30;
itemwidth=114;
}

sub1Style=new copyOf(tstyle1) 
sub1Style.offcolor = "transparent"; 
sub1Style.offbgcolor="#8EA2BB" 
sub1Style.separatorcolor="#556E8C" 
sub1Style.clickcolor="transparent" 

sub2Style=new copyOf(tstyle1) 
sub2Style.offcolor = "#000000"; 
sub2Style.offbgcolor="#D6DDE6" 
sub2Style.separatorcolor="#8EA2BB" 


tstyle1.onbgcolor = "#003d7b"; 
tstyle1.offbgcolor = "transparent"; 


sub3Style=new copyOf(tstyle1)
sub3Style.fontsize="10px";
sub3Style.fontweight="bold";
sub3Style.itemwidth=114;
sub3Style.itemheight=15;
sub3Style.rawcss="padding:4px"; 


with(new menuname("main Tree Menu")){ 
top=200
style = tstyle1; 
alwaysvisible = 1;
menuheight=30;
menuwidth=114;

//margin=AllMargin 
//position="relative" 
aI("text=<b>Contact Us</b>;url=../contact.aspx;"); 
aI("text=<b>Site Map</b>;url=../sitemap.aspx;"); 
aI("text=<b>Search</b>;url=../search.aspx;"); 

}


   with(new menuname("Adults")){ 
   style = sub3Style; 
   margin=AllMargin
   position="absolute"
   aI("text=What's Happening;url=adults.aspx?id=320;"); 
   aI("text=Class Schedule;url=adults.aspx?id=80;"); 
   aI("text=Opportunities to Serve;url=adults.aspx?id=344;"); 
   aI("text=Finding Community;url=adults.aspx?id=346;"); 
   aI("text=Small Groups;url=adults.aspx?id=594;");
   aI("text=Caring Ministries;url=adults.aspx?id=404;"); 
   } 


   with(new menuname("CFM")){ 
   style = sub3Style;
   position="absolute"
   margin=AllMargin 
   aI("text=Calendar;url=cfm.aspx?id=374;"); 
   aI("text=Early Childhood;url=cfm.aspx?id=366;"); 
   aI("text=Elementary;url=cfm.aspx?id=368;"); 
   aI("text=Side-by-Side;url=cfm.aspx?id=370;"); 
   aI("text=Resources;url=cfm.aspx?id=372;"); 
   aI("text=CFM Staff Directory;url=/directory/staff.asp?field=Department&for=child;target=_blank"); 
   } 


   with(new menuname("Music")){ 
   style = sub3Style;
   position="absolute"
   margin=AllMargin 
   aI("text=Concert Schedule;url=music.aspx?id=378;"); 
   } 


   with(new menuname("YAMM")){ 
   style = sub3Style; 
   position="absolute";
   margin=AllMargin 
   aI("text=About Us;url=youngadults.aspx?id=1326;"); 
   aI("text=Worship;url=youngadults.aspx?id=1328;"); 
   aI("text=Connect;url=youngadults.aspx?id=1330;"); 
   aI("text=Small Groups;url=youngadults.aspx?id=1332;"); 
   aI("text=Opps to Serve;url=youngadults.aspx?id=1336;"); 
   aI("text=Jobs & Housing;url=youngadults.aspx?id=1346;"); 
   } 


   with(new menuname("YMM")){ 
   style = sub3Style; 
   position="absolute";
   margin=AllMargin 
   aI("text=The Rock;url=youth.aspx?id=702;"); 
   aI("text=The Edge;url=youth.aspx?id=704;"); 
   aI("text=Our Staff;url=youth.aspx?id=706;"); 
   aI("text=Support Us;url=youth.aspx?id=708;"); 
   } 


   with(new menuname("Job")){ 
   style = sub3Style; 
   position="absolute";
   margin=AllMargin 
   aI("text=Job Listings;url=employment.aspx?id=124;"); 
   } 



drawMenus()