fixMozillaZIndex = true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay = 200;
_menuOpenDelay = 150;
_subOffsetTop = 0;
_subOffsetLeft = 0;

with(menuStyle =  new mm_style()) {
	imagepadding = 0;
}

with(submenuStyle = new mm_style()) {
	styleid = 1;
	bordercolor = "#696a6c";
	borderstyle = "solid";
	borderwidth = 0;
	fontfamily = "Arial, Verdana, Geneva, Helvetica, sans-serif";
	fontsize = "11px";
	fontstyle = "normal";
	fontweight = "bold";
	imagepadding = 0;
	offbgcolor = "transparent";
	offcolor = "#ffffff";
	onbgcolor = "#696a6c";
	oncolor = "#ffe293";
	overfilter = "Fade(duration=0.1); Alpha(opacity=90)";
	pagebgcolor = "#696a6c";
	pagecolor = "#ffe293";
	separatoralign = "right";
	separatorcolor = "#999999";
	separatorpadding = 1;
	separatorwidth = "85%";
	valign = "top";
	menubgcolor = "#696a6c";
	onsubimage = "images/arrowHover.png";
	subimage = "images/arrow.png";
	subimagepadding = 0;
}

with(subsubmenuStyle = new mm_style()) {
	styleid = 1;
	bordercolor = "transparent";
	borderwidth = 0;
	fontfamily="Arial, Verdana, Geneva, Helvetica, sans-serif";
	fontsize = "11px";
	fontstyle = "normal";
	fontweight = "normal";
	offbgcolor = "transparent";
	onbgcolor = "transparent";
	offcolor = "#ffffff";
	oncolor = "#ffe293";
	pagebgcolor = "transparent";
	pagecolor = "ffe293";
	separatoralign = "right";
	separatorcolor = "transparent";
	separatorpadding = 1;
	separatorwidth = "85%";
	valign = "top";
	menubgcolor = "transparent";
}

with(milonic = new menuname("Main Menu")) {
	style = menuStyle;
	alwaysvisible = 1;
	margin = 0;
	orientation = "horizontal";
	position = "relative";
	aI("image=images/nav/aboutUs.png;overimage=images/nav/aboutUsRollover.png;pageimage=images/nav/aboutUsRollover.png;showmenu=aboutUs;url=;pagematch=aboutAstor.asp,missionStatement.asp,aboutKnight.asp,astorNews.asp,ourPersonnel.asp,investmentPhilosophy.asp,astorAdvantage.asp,portfolioConstruction.asp,exchangeTradedFunds.asp,astor-launches-mutual-fund.asp;");
	aI("image=images/nav/investmentProducts.png;overimage=images/nav/investmentProductsRollover.png;pageimage=images/nav/investmentProductsRollover.png;showmenu=investmentProducts;url=;pagematch=separateAccounts.asp,styledPreferredProgram.asp,balancedProgram.asp,activeIncomeProgram.asp,mutualFunds.asp,astorETFFund.asp;");
	aI("image=images/nav/login.png;overimage=images/nav/loginRollover.png;pageimage=images/nav/loginRollover.png;showmenu=clients;url=;pagematch=;");
}

with(milonic = new menuname("aboutUs")) {
	style = submenuStyle;
	margin = 0;
	divides = 1;
	menuwidth = 936;
	menuheight = 80;
	aI("text=ABOUT ASTOR;showmenu=aboutAstor;url=aboutAstor.asp;itemwidth=105;padding=10px 0px 2px 15px;subimagepadding=10px 0px 2px 0px;pagematch=aboutAstor.asp,missionStatement.asp,aboutKnight.asp,astorNews.asp,astor-launches-mutual-fund.asp;");
	aI("text=OUR PERSONNEL;showmenu=ourPersonnel;url=ourPersonnel.asp;itemwidth=115;padding=2px 0px 2px 15px;subimagepadding=2px 0px 2px 0px;pagematch=ourPersonnel.asp;");
	aI("text=INVESTMENT PHILOSOPHY;showmenu=investmentPhilosophy;url=investmentPhilosophy.asp;itemwidth=170;padding=2px 0px 10px 15px;subimagepadding=2px 0px 10px 0px;pagematch=investmentPhilosophy.asp,astorAdvantage.asp,portfolioConstruction.asp,exchangeTradedFunds.asp;");
}

with(milonic = new menuname("aboutAstor")) {
	style = subsubmenuStyle;
	margin = 0;
	divides = 1;
	menuheight = 80;
	left = "offset=-685";
	aI("text=Mission Statement;url=missionStatement.asp;padding=10px 0px 2px 0px;pagematch=missionStatement.asp;");
	aI("text=About Knight;url=aboutKnight.asp;padding=2px 0px 2px 0px;pagematch=aboutKnight.asp;");
	aI("text=Astor News;url=astorNews.asp;padding=2px 0px 10px 0px;pagematch=astorNews.asp,astor-launches-mutual-fund.asp;");
}

with(milonic = new menuname("ourPersonnel")) {
	style = subsubmenuStyle;
	margin = 0;
	divides = 1;
	menuheight = 80;
	left = "offset=-685";
	top = "offset=-30";
	aI("text=Portfolio Management;url=ourPersonnel.asp?aPage=portfolioManagement;padding=10px 0px 2px 0px;pagematch=;");
	aI("text=Sales & Marketing;url=ourPersonnel.asp?aPage=salesMarketing;padding=2px 0px 2px 0px;pagematch=;");
	aI("text=Operations;url=ourPersonnel.asp?aPage=operations;padding=2px 0px 10px 0px;pagematch=;");
}

with(milonic = new menuname("investmentPhilosophy")) {
	style = subsubmenuStyle;
	margin = 0;
	divides = 1;
	menuheight = 80;
	left = "offset=-685";
	top = "offset=-50";
	aI("text=The Astor Advantage;url=astorAdvantage.asp;padding=10px 0px 2px 0px;pagematch=astorAdvantage.asp;");
	aI("text=Portfolio Construction;url=portfolioConstruction.asp;padding=2px 0px 2px 0px;pagematch=portfolioConstruction.asp;");
	aI("text=Exchange-Traded Funds;url=exchangeTradedFunds.asp;padding=2px 0px 10px 0px;pagematch=exchangeTradedFunds.asp;");
}

with(milonic = new menuname("investmentProducts")) {
	style = submenuStyle;
	margin = 0;
	divides = 1;
	menuwidth = 936;
	menuheight = 80;
	left="offset=-109";
	aI("text=SEPARATE ACCOUNTS;showmenu=separateAccounts;url=separateAccounts.asp;itemwidth=150;padding=10px 0px 1px 15px;subimagepadding=10px 0px 1px 0px;pagematch=separateAccounts.asp,styledPreferredProgram.asp,balancedProgram.asp,activeIncomeProgram.asp;");
	aI("text=MUTUAL FUNDS;showmenu=mutualFunds;url=mutualFunds.asp;itemwidth=115;padding=1px 0px 20px 15px;subimagepadding=1px 0px 20px 0px;pagematch=mutualFunds.asp,astorETFFund.asp;");
}

with(milonic = new menuname("separateAccounts")) {
	style = subsubmenuStyle;
	margin = 0;
	divides = 1;
	menuheight = 80;
	left = "offset=-685";
	aI("text=Active Income Program;url=activeIncomeProgram.asp;padding=10px 0px 1px 0px;pagematch=activeIncomeProgram.asp;");
	aI("text=Long/Short Balanced Program;url=balancedProgram.asp;padding=1px 0px 1px 0px;pagematch=balancedProgram.asp;");
	aI("text=Style Preferred Growth Program;url=styledPreferredProgram.asp;padding=1px 0px 15px 0px;pagematch=styledPreferredProgram.asp;");
}

with(milonic = new menuname("mutualFunds")) {
	style = subsubmenuStyle;
	margin = 0;
	divides = 1;
	menuheight = 80;
	left = "offset=-685";
	top = "offset=-33";
	aI("text=Astor Active Income ETF Fund;url=astorETFActiveFund.asp;padding=10px 0px 1px 0px;pagematch=astorETFActiveFund.asp;");
	aI("text=Astor Long/Short ETF Fund;url=astorETFFund.asp;padding=1px 0px 30px 0px;pagematch=astorETFFund.asp;");
}

with(milonic=new menuname("clients")) {
	style = submenuStyle;
	margin = 0;
	divides = 1;
	menuwidth = 936;
	menuheight = 80;
	left="offset=-301";
	aI("text=ADVISOR PORTAL;url=advisorLogin.asp;itemwidth=150;padding=10px 0px 1px 15px;pagematch=advisorLogin.asp;");
	aI("text=CLIENT ACCOUNT ACCESS;url=clientAccountAccess.asp;itemwidth=150;padding=1px 0px 20px 15px;pagematch=clientAccountAccess.asp;");
}

drawMenus();
