


_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=4              // Sub menu top offset
_subOffsetLeft=-6            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
onbgcolor="#D6D6D6";
oncolor="#333333";
offbgcolor="#D6D6D6";
offcolor="navy";
bordercolor="#FFFFFF";
borderstyle="none";
borderwidth=0;
separatorcolor="navy";
separatorsize=1;
padding=3;
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="verdana, helvetica";
pagecolor="";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="/assets/arrowdn.gif";
subimagepadding=0;
}

with(menuStyle1=new mm_style()){
onbgcolor="#A3B8E5";
oncolor="#000000";
offbgcolor="#cccccc";
offcolor="#666666";
bordercolor="#666666";
borderstyle="solid";
borderwidth=1;
separatorcolor="#236306";
separatorsize=0;
padding=3;
fontsize="10px";
fontstyle="normal";
fontfamily="verdana, helvetica";
pagecolor="";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="arrowdn.gif";
subimagepadding=0;
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="";
}


with(milonic=new menuname("mainmenu")){
style=menuStyle;
top=92;
alwaysvisible=1;
align="left";
orientation="horizontal";
overflow="scroll";
screenposition="center";
aI("text=Home&nbsp;;url=index.cfm?fuseaction=home.default;status=Back To Home Page;");
aI("text=Calendar&nbsp;;url=index.cfm?fuseaction=calendar.default;");
//aI("text=Products;showmenu=prodmenu;");
aI("text=Products;url=index.cfm?fuseaction=products.default;");
aI("text=Literature;showmenu=literature1;");
aI("text=Links;showmenu=links;");
aI("text=Utilities;showmenu=utilities;");
if(mnuDivision.toLowerCase() == 'ebw'){
   aI("text=Contact&nbsp;Us;showmenu=contactsebw;");
}
if(mnuDivision.toLowerCase() == 'valair'){
   aI("text=Contact&nbsp;Us;showmenu=contactsvalair;");
}
if (mnuDealerOptions){
   aI("text=Dealer&nbsp;Options;showmenu=dealermenu;");
}
if (!mnuLoggedIn){
	aI("text=Parts&nbsp;and&nbsp;Supplies;url=" + mnuPartsSiteUrl + ";");
}
aI("text=" + mnuLogInLabel + ";url=index.cfm?fuseaction=user." + mnuLogInAction + ";status=" + mnuLogInLabel + ";");
}



with(milonic=new menuname("prodmenu")){
style=menuStyle1;
itemwidth=250;
borderwidth=1;
overflow="scroll";
aI("text=Products&nbsp;Represented;url=index.cfm?fuseaction=products.default;");
aI("text=Scratch & Dent/Surplus Inventory;url=index.cfm?fuseaction=products.list;");
if(mnuInternalUser){
   aI("text=Inventory&nbsp;Availability;url=index.cfm?fuseaction=products.availability;");
}
if(mnuInternalUser && (mnuAdminPricePages || mnuViewPricePages)){
   aI("text=Price&nbsp;Pages;url=index.cfm?fuseaction=products.pricepages;");
}
}

with(milonic=new menuname("literature1")){
style=menuStyle1;
itemwidth=225;
borderwidth=1;
overflow="scroll";
aI("text=Electronic&nbsp;Literature&nbsp;Room;url=index.cfm?fuseaction=literature.room3;");
aI("text=Literature&nbsp;Web&nbsp;Sites;url=index.cfm?fuseaction=literature.websites;");
}

with(milonic=new menuname("links")){
style=menuStyle1;
itemwidth=150;
borderwidth=1;
overflow="scroll";
aI("text=Parts&nbsp;and&nbsp;Supplies;url=" + mnuPartsSiteUrl + ";");
aI("text=Associations;url=index.cfm?fuseaction=tools.links&type=associations;");
aI("text=Rules & Regulations;url=index.cfm?fuseaction=tools.links&type=regulations;");
aI("text=Agencies & Companies;url=index.cfm?fuseaction=tools.links&type=agencies;");
aI("text=Online Tools;url=index.cfm?fuseaction=tools.links&type=tools;");
}

with(milonic=new menuname("utilities")){
style=menuStyle1;
itemwidth=160;
borderwidth=1;
overflow="scroll";
aI("text=Session Info;url=index.cfm?fuseaction=user.sessioninfo;");
aI("text=File Downloads;url=index.cfm?fuseaction=downloads.userlist;");
//aI("text=Webmail;url=index.cfm?fuseaction=home.email;");
//aI("text=Webmail;url=http://mail.ebward.com/;target=_blank");
aI("text=Webmail;url=https://exchange.ebward.com/exchange;target=_blank");
if(mnuInternalUser){
   aI("text=Software&nbsp;Downloads;url=index.cfm?fuseaction=software.list;");
}
if(mnuMassEmailUpload){
  aI("text=Mass Email File Downloads;url=index.cfm?fuseaction=emaildownloads.default;");	
}
}

with(milonic=new menuname("contactsebw")){
style=menuStyle1;
itemwidth=250;
borderwidth=1;
overflow="scroll";
aI("text=Brisbane Branch by Department;url=index.cfm?fuseaction=contacts.display&location=SSF;");
aI("text=San Jose Branch by Department;url=index.cfm?fuseaction=contacts.display&location=SJO;");
aI("text=Concord Branch by Department;url=index.cfm?fuseaction=contacts.display&location=CON;");
aI("text=Request Information;url=index.cfm?fuseaction=requestinfo.default;");
}

with(milonic=new menuname("contactsvalair")){
style=menuStyle1;
itemwidth=250;
borderwidth=1;
overflow="scroll";
aI("text=Sacramento Branch by Department;url=index.cfm?fuseaction=contacts.display&location=SAC;");
aI("text=Fresno Branch by Department;url=index.cfm?fuseaction=contacts.display&location=FRE;");
aI("text=Request Information;url=index.cfm?fuseaction=requestinfo.default;");
}

with(milonic=new menuname("dealermenu")){
style=menuStyle1;
itemwidth=170;
borderwidth=1;
overflow="scroll";
aI("text=Dealer Communications;url=index.cfm?fuseaction=dealer.communications;");
aI("text=Update Dealer Profile;url=index.cfm?fuseaction=" + mnuDealerProfileFuseaction+ ";");
if(mnuDealerTypes){
   aI("text=Dealer Categories;url=index.cfm?fuseaction=dealer.categories;");
}
if(mnuDealerList){
   aI("text=Dealer List;url=index.cfm?fuseaction=dealer.dealerlist;");
} 
if(mnuDealerCoop){
   aI("text=Advertising&nbsp;Co-Op;url=index.cfm?fuseaction=advertising.coopreport;status=Advertising Co-Op;");
} 
if(mnuDealerShowSummary){
   aI("text=Co-Op&nbsp;Transaction&nbsp;Summary;url=index.cfm?fuseaction=advertising.showtranssummary;status=Co-Op Transaction Summary;");
}
}

drawMenus();

