fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

server="http://ww2.bestinvest.co.uk";
server2="http://www.bestinvest.co.uk";
sserver="https://ww2.bestinvest.co.uk";
sserver2="https://www.bestinvest.co.uk";


with (headerStyle=new mm_style()) {
	fontfamily="Arial";
	fontsize="14px";
	fontstyle="normal";
	fontweight="bold";
	offbgcolor="#001A40";
	offcolor="#FFFFFF";
	onbgcolor="#DEE3E1";
	oncolor="#001A40";
	overfilter="Fade(duration=0.1)";
	padding="3px 16px 3px 0;";
	separatoralign="center";
	separatorcolor="#FFFFFF";
	separatorsize=2;
	separatorheight="21px";
}

with (menuStyle=new mm_style()) {
	align="left";
	fontfamily="Arial";
	fontsize="12px";
	fontstyle="normal";
	fontweight="bold";
	offbgcolor="#DEE3E1";
	offcolor="#001A40";
	onbgcolor="#001A40";
	oncolor="#DEE3E1";
	padding="3px 16px 3px 16px";
	separatoralign="center";
	separatorcolor="#003366";
	separatorpadding=3;
	separatorwidth="95%";
	itemwidth=180;
	subimage="/img/arrow.gif";
	subimagepadding="0px 10px 0x 0px";
	zindex=1000;
}

with (milonic=new menuname("Main Menu")) {
	style=headerStyle;
	alwaysvisible=1;
	margin=0;
	orientation="horizontal";
	position="relative";
	aI("showmenu=Investments;text=Investments;url=/invest-with-us/index.aspx");
	aI("showmenu=Pens;text=&nbsp;&nbsp;&nbsp;&nbsp;Pensions;url=/sipp/");
	aI("showmenu=Planning;text=&nbsp;&nbsp;&nbsp;&nbsp;Planning;url=" + server + "/planning/index.htm");
	aI("showmenu=Mortgages;text=&nbsp;&nbsp;&nbsp;&nbsp;Mortgages;url=/mortgages/index.aspx;");
	aI("showmenu=AboutUs;text=&nbsp;&nbsp;&nbsp;&nbsp;About Us;url=/about.aspx");
}

with (milonic=new menuname("Investments")) {
	overflow="scroll";
	style=menuStyle;
	aI("separatorsize=1;text=Invest With Us;url=/invest-with-us/index.aspx");
	aI("separatorsize=1;text=MAP Investment Management Service;url=/multiasset/index.aspx");
	aI("separatorsize=1;text=News;url=" + server + "/news/fmpro?-db=web_comment.fp5&-format=overview.htm&-view;")
	aI("showmenu=InvestmentsResearch;separatorsize=1;text=Research;url=" + server + "/investments/fmpro?-db=web_comment.fp5&-format=research.htm&-view;")
}

with (milonic=new menuname("Planning")) {
	overflow="scroll";
	style=menuStyle;
	aI("separatorsize=1;text=Overview;url=" + server + "/planning/index.htm");
	aI("separatorsize=1;text=Portfolio Management;url=" + server + "/investments/services.htm");
	aI("separatorsize=1;text=Investment Planning;url=" + server + "/planning/portplan/portplan1.htm")
	aI("separatorsize=1;text=Asset Allocation;url=" + server + "/planning/portplan/index.htm");
}

with (milonic=new menuname("InvestmentsResearch")) {
	overflow="scroll";
	style=menuStyle;

	aI("separatorsize=1;text=Funds;url=" + server + "/funds/fmpro?-db=webprices.fp5&-format=index.htm&-lay=perf_info&-findany;")
	aI("separatorsize=1;text=Fund Managers;url=" + server + "/fundmanagers/fmpro?-db=webprices.fp5&-format=index.htm&-token=&-token.1=99&-token.2=5&-token.3=3&-view;")
	aI("separatorsize=1;text=Hedge Funds;url=" + server + "/hedgefunds/index.htm;")
	aI("separatorsize=1;text=Guaranteed Bonds;url=" + server + "/gbonds/index.htm;")
	aI("separatorsize=1;text=Investment Trusts;url=" + server + "/investmenttrusts/fmpro?-db=webprices.fp5&-format=index.htm&-lay=perf_info&-findany;")
	aI("separatorsize=1;text=Protected Plans;url=" + server + "/protectedplans/fmpro?-db=webprices.fp5&-lay=equitylinked_info&-format=index.htm&-error=index.htm&offer_open=y&fund_type=linked&-sortfield=invname&-find;")
	aI("separatorsize=1;text=REITS;url=" + server + "/reits/")
	aI("separatorsize=1;text=VCTs;url=" + server + "/vcts/;")
	aI("separatorsize=1;text=Zeros;url=" + server + "/Zeros/fmpro?-db=webprices.fp5&-lay=zero_info&-format=index.htm&webpublish=Y&-token=-2.5&calc_fundtype=zero&-sortfield=zerogryneg2.5calc&-sortorder=descending&-max=10&-find;")
}
with (milonic=new menuname("Pensions")) {
	overflow="scroll";
	style=menuStyle;
	aI("separatorsize=1;text=Overview;url=" + server + "/pensions/index.htm;")
	aI("separatorsize=1;text=Rules;url=" + server + "/pensions/rules/contributions.htm;")
	aI("separatorsize=1;text=SIPPs;url=" + server2 + "/sipp/;")
	aI("separatorsize=1;text=Stakeholder;url=" + server + "/pensions/stakeholder.htm;")
	aI("separatorsize=1;text=Pension Funds;url=" + server + "/pensions/funds.htm;")
	aI("separatorsize=1;text=Income;url=" + server + "/pensions/annuities/index.htm;")
	aI("separatorsize=1;text=Our Services;url=" + server + "/pensions/services.htm;")
	aI("showmenu=PensionCalcs;separatorsize=1;text=Calculators;url=#;")
}
with (milonic=new menuname("Pens")) {
	overflow="scroll";
	style=menuStyle;
	aI("separatorsize=1;text=SIPPs;url=/sipp/index.aspx;")
	aI("separatorsize=1;text=Protected Rights;url=/Protected-Rights/index.aspx;")
	aI("separatorsize=1;text=Stakeholder;url=/stakeholder/index.aspx;")
}
with (milonic=new menuname("PensionCalcs")) {
	overflow="scroll";
	style=menuStyle;
	aI("separatorsize=1;text=Pension Analyser;url=javascript:PensionCalc();")
	aI("separatorsize=1;text=Retirement Calculators;url=javascript:RetirementCalc();")
}
with (milonic=new menuname("AboutUs")) {
	overflow="scroll";
	style=menuStyle;
	aI("separatorsize=1;text=Overview;url=/about.aspx")
	aI("separatorsize=1;text=Services;url=" + server + "/best/howhelp.htm")
	aI("separatorsize=1;text=Sponsorship;url=/sponsorship/index.aspx")
	aI("separatorsize=1;text=Charities;url=/sponsorship/charities/Bestinvest-Charitable-Commitments.aspx")
	aI("separatorsize=1;text=Employment;url=/best/employment.aspx")
	aI("separatorsize=1;text=Contact Us;url=" + server + "/best/contact.htm;")
}

drawMenus();

