


_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=0               // Sub menu top offset
_subOffsetLeft=2             // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x


with(style1=new mm_style()){
	onbgcolor="";
	oncolor="#f0e1e1";
	offbgcolor="";
	offcolor="#ffffff";
	bordercolor="#ffffff";
	borderstyle="none";
	borderwidth=0;
	separatorcolor="#cc9999";
	separatorsize=2;
	separatorpadding=5;
	padding=3;
	fontsize="12px";
	fontweight="bold";
	fontstyle="normal";
	fontfamily="Verdana, Helvetica";
	pagecolor="";
	pagebgcolor="";
	headercolor="";
	headerbgcolor="";
	subimage="/images/arrowdn.gif";
	subimagepadding="5";
}


with(windows98style=new mm_style()){
	onbgcolor="#800000";
	oncolor="#FFFFFF";
	offbgcolor="#BFBFBF";
	offcolor="#000000";
	bordercolor="#BFBFBF";
	borderstyle="raised";
	borderwidth=2;
	separatorsize="2";
	padding=4;
	fontsize="75%";
	fontfamily="tahoma, verdana";
	high3dcolor="#eeeeee";
	low3dcolor="#7F7F7F";
	swap3d="1";
	outfilter="randomdissolve(duration=0.3)";
	subimage="/images/arrow.gif";
	subimagepadding="5";
}

with(milonic=new menuname("mainmenu")){
	style=style1;
	top=141;
	itemheight="14px";
	screenposition="center";
	alwaysvisible=1;
	align="left";
	orientation="horizontal";
	overflow="scroll";
    aI("text=Home;url=index.cfm;status=Home;target=_top");
    aI("text=About&nbsp;showmenu=about;");
	aI("text=Calendar;url=index.cfm?fuseaction=events.default;status=Calendar;target=_top");
//    aI("text=Media&nbsp;showmenu=media;");
	aI("text=Photos & Video;url=index.cfm?fuseaction=photogalleries.photos;status=Photos;target=_top");
	aI("text=Forms;url=index.cfm?fuseaction=home.forms;status=Forms;target=_top");
	aI("text=Sponsors&nbsp;&&nbsp;Links;url=index.cfm?fuseaction=home.sponsors;status=Sponsors & Links;target=_top");
	aI("text=Contact&nbsp;Us;url=index.cfm?fuseaction=home.contactus;status=Contact Us;target=_top");

	if(mnuLOGGEDIN) {
		aI("text=" + mnuFULLNAME + ";showmenu=profile;");
	} else {
		aI("text=Login;url=index.cfm?fuseaction=authentication.default;status=Login;target=_top");
	}
}

with(milonic=new menuname("home")){
	style=windows98style;
	itemwidth=160;
	overflow="scroll";
	aI("text=Return&nbsp;To&nbsp;www.weracemountainbikes.com;url=http://www.weracemountainbikes.com;target=_top");
}

with(milonic=new menuname("profile")){
	style=windows98style;
	itemwidth=160;
	overflow="scroll";
	if( (mnuPICTUREADMIN)||(mnuGROUPADMIN)||(mnuUSERADMIN)){
	  aI("text=Admin&nbsp;Functions;showmenu=admin;");
	}
    aI("text=Team&nbsp;showmenu=team;");
    aI("text=Training&nbsp;Resources;showmenu=training;");
	aI("text=User&nbsp;Profile;url=index.cfm?fuseaction=user.default;status=User Profile;");
	aI("text=Logout;url=index.cfm?fuseaction=authentication.logout;status=Login;");
}

with(milonic=new menuname("about")){
	style=windows98style;
	itemwidth=160;
	aI("text=About&nbsp;Woodcreek&nbsp;High&nbsp;School&nbsp;Mountain&nbsp;Bike&nbsp;Club;url=index.cfm?fuseaction=home.about;status=About Woodcreek High School Mountain Bike Club;");
	aI("text=Club&nbsp;History;url=index.cfm?fuseaction=home.history;status=Club History;");
//	aI("text=Membership&nbsp;Information;url=index.cfm?fuseaction=home.memberinfo;status=Membership Information;");
}

with(milonic=new menuname("media")){
	style=windows98style;
	itemwidth=160;
	aI("text=Photos;url=index.cfm?fuseaction=photogalleries.photos;status=Photos;target=_top");
	aI("text=Videos;url=index.cfm?fuseaction=photogalleries.video;status=Videos;target=_top");
}

with(milonic=new menuname("team")){
	style=windows98style;
	itemwidth=160;
	aI("text=Email&nbsp;List;url=index.cfm?fuseaction=user.emailList;status=Email List;");
	aI("text=Team&nbsp;Roster;url=index.cfm?fuseaction=user.roster;status=Team Roster;");
	if(mnuCALENDARADMIN){
	  aI("text=Attendance&nbsp;Roster;url=index.cfm?fuseaction=user.attendance;status=Attendance Roster;");
	}

}

with(milonic=new menuname("training")){
	style=windows98style;
	itemwidth=160;
	aI("text=Training&nbsp;Journal;url=index.cfm?fuseaction=journal.default;status=Training Journal;");
	aI("text=Article&nbsp;Archive;url=index.cfm?fuseaction=article.default;status=Article Archive;");
	aI("text=Time&nbsp;Trial&nbsp;Results;url=index.cfm?fuseaction=user.timetrial;status=Time Trial Results;");
}


with(milonic=new menuname("admin")){
	style=windows98style;
	itemwidth=160;
	if(mnuGROUPADMIN){
		aI("text=Group&nbsp;Admin;url=index.cfm?fuseaction=usergroup.default;status=Group Admin;");
	}
	if(mnuUSERADMIN){
		aI("text=Inactive&nbsp;User&nbsp;Report;url=index.cfm?fuseaction=user.inactive;status=Inactive User Report;");
	}
}

drawMenus();

function photos(){
  alert('NOTE: We are now using SmugMug for picture hosting.\nOnce at the Team SmugMug photo site, click on the\nWoodcreek High School header to return to this site.');
  document.location.href ="http://weracemountainbikes.smugmug.com";
}
