fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps

_menuCloseDelay=100;

_menuOpenDelay=100;

_subOffsetTop=1;

_subOffsetLeft=-1;



with(submenuStyle=new mm_style()){

	styleid=1;

	bordercolor="#ACABAB";

	borderstyle="solid";

	borderwidth=1;

	fontfamily="Tahoma, Arial, Verdana";

	fontsize="9pt";

	fontstyle="normal";

	fontweight="normal";

	headercolor="#000000";

	imagepadding=8;

	offbgcolor="#FFFEEC";

	offcolor="#990000";

	onbgcolor="#E7E6E7";

	oncolor="#FB1901";

	outfilter="Blinds( Bands=1,direction=up, duration=0.1)";

	overfilter="Blinds( Bands=1,direction=down, duration=0.1)";

	padding=4;

	pagecolor="black";

	separatorcolor="#ffffff";

	separatorsize=1;

	subimagepadding=8;

}



with(menuStyle=new mm_style()){

	bordercolor="#ACABAB";

	borderstyle="solid";

	borderwidth=1;

	fontfamily="Tahoma, Arial, Verdana";

	fontsize="9pt";

	fontstyle="normal";

	fontweight="normal";

	headerbgcolor="#FFFEEC";

	headercolor="#000000";

	imagepadding=6;

	offbgcolor="#FFFEEC";

	offcolor="#990000";

	onbgcolor="#FFFFCC";

	oncolor="#FB1901";

	outfilter="Fade(Overlap=1.00)";

	padding=4;

}



with(BVC=new menuname("RichardMayer")){

	alwaysvisible=1;

	left=30;

	orientation="horizontal";

	style=menuStyle;

	top=20;

	aI("status=Back To Home Page;text=Home;url=http://www.richardmayer.co.uk/;");

	aI("showmenu=CV;text=CV;");

	aI("showmenu=Interests;text=Interests;");

	aI("showmenu=Projects;text=Projects;");

	aI("showmenu=Utilities;text=Utilities;");
	
	aI("text=Contact;url=/contact/;");

}



with(BVC=new menuname("CV")){

	style=submenuStyle;

	aI("text=Curriculum Vitae;url=/cv/;");
	
	aI("text=CV as a PDF;url=/cv/cv-richardjmayer.pdf;");

	aI("text=Website Design Tutoring;url=http://www.mayer.uk.net/hyac/;");

	aI("text=Website Design Portfolio;url=/portfolio/;");

}



with(BVC=new menuname("Interests")){

	style=submenuStyle;

//	aI("text=Cookery;url=/cookery/;");

	aI("text=Antique Books and Prints;url=/booksandprints/;");
	aI("text=Choral Music;url=/music/;");
	aI("text=Food and Drink;url=/foodanddrink/;");
	aI("text=Photography;url=/photography/;");
	aI("text=Woodwork;url=/woodwork/;");

}



with(BVC=new menuname("Projects")){

	style=submenuStyle;
	aI("text=Bible Search;url=/bible/;");
//	aI("text=Stock Exchange;url=/rjm/stockexchange.php;");
	aI("text=UK National Lottery;url=/lotto/;");
	aI("text=Weather Lottery;url=/weatherlottery/;");
	aI("text=World Currencies;url=/currency/;");
//	aI("text=Words;url=/rjm/words.php;");

}


with(BVC=new menuname("Downloads")){

	style=submenuStyle;

	aI("text=Private;url=/download/private/;");

	aI("text=Public;url=/download/public/;");

}

with(BVC=new menuname("Utilities")){

	style=submenuStyle;

	aI("showmenu=Downloads;text=Downloads;");
	
	aI("text=Conversions;url=/convert/;");

	aI("text=Useful Software;url=/software/;");

}



drawMenus();