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;


with(menuStyle=new mm_style()){
	bordercolor="#007A3D";
	borderstyle="none";
	borderwidth=1;
	itemheight="20px";
	fontfamily="Verdana, Tahoma, Arial";
	fontsize="12px";
	fontstyle="normal";
	fontweight="bold";
	headerbgcolor="#00923F";
	headercolor="#000000";
	offbgcolor="transparent"
	offcolor="#007A3D";
	onbgcolor="#87C099";
	oncolor="#000099";
	padding=1;
	pagebgcolor="#008035";
	pagecolor="white";
	separatorcolor="#007A3D";
	separatorsize=1;
	separatorpadding=0;
	//subimage="http://img.milonic.com/arrow.gif";
	//subimagepadding=2;
	rawcss="padding-left:10px;padding-right:10px;";
}

with(subMenuStyle=new copyOf(menuStyle)){
	bordercolor="white";
	borderstyle="solid";
	borderwidth=1;
	padding=1;
	offbgcolor="#E8F1D5"
	outfilter="randomdissolve(duration=0.3)";
	overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("text=Home;url=http://www.tbsurvivalproject.org/;");
aI("showmenu=TB;text=About TB;");
aI("showmenu=You;text=About you;");
aI("showmenu=News;text=News;");
aI("showmenu=Blog;text=Blog;");
aI("showmenu=Experiences;text=Experiences;");
aI("showmenu=Features;text=Features;");
aI("showmenu=Prize;text=TB Prize;");
aI("showmenu=Bookshop;text=Bookshop;");
aI("showmenu=Communication;text=Communication;");
}

with(milonic=new menuname("TB")){
overflow="scroll";
style=subMenuStyle;
top="offset=2";
aI("text=What is TB;url=/tuberculosis/whats-tb.html;")
aI("text=FAQ;url=/FAQ/faq.html;")
aI("text=Useful links;url=/general/useful_links.html;");
}

with(milonic=new menuname("You")){
style=subMenuStyle;
top="offset=2";
aI("text=Survival tips;showmenu=Survival;");
aI("text=Know your rights;url=/knowRights/rights.html");
aI("text=MY country;showmenu=Country;url=/country/my-country.html;");
}

with(milonic=new menuname("Experiences")){
style=subMenuStyle;
top="offset=2";
aI("text=Seonai's world;url=/seonaisWorld/latest.shtml;");
aI("text=Leave stories;url=/general/leave-stories.html;");
aI("text=Read stories;url=/stories/story_top.html;");
}

with(milonic=new menuname("News")){
style=subMenuStyle;
top="offset=2";
aI("text=Latest;url=/news/news_top.html;");
aI("text=Archive;url=/archive/archive_top.html;");
}

with(milonic=new menuname("Blog")){
style=subMenuStyle;
top="offset=2";
aI("text=You blog;url=/blog/index.php;");
}

with(milonic=new menuname("Prize")){
style=subMenuStyle;
top="offset=2";
aI("text=Winners;url=/prize/winners.html;");
aI("text=Nominate;url=/prize/nominate.html;");
}

with(milonic=new menuname("Features")){
style=subMenuStyle;
top="offset=2";
aI("text=You write;url=/features/you_write.html;");
aI("text=Interviews;url=/features/interviews.html;");
}

with(milonic=new menuname("Consultancy")){
style=subMenuStyle;
top="offset=2";
aI("text=Consultancy services;url=/general/workshops.html;");
}

with(milonic=new menuname("Bookshop")){
style=subMenuStyle;
top="offset=2";
aI("text=Bookshop;url=/resources/handbook.html;");
}

with(milonic=new menuname("Communication")){
style=subMenuStyle;
top="offset=2";
aI("text=Newsletters;url=/newsletters/newsletters.html;");
aI("text=Your comments;url=/general/comments.html;");
aI("text=One to one mentoring;url=/com_centre/mentoring.html;");
aI("text=TB patient talk;url=/com_centre/talk.html;");
aI("text=Donate to TBSP;url=/general/paypal.html;");
aI("text=Contact us;url=/general/contact.html;");
}

with(milonic=new menuname("Survival")){
style=subMenuStyle;
top="offset=2";
aI("text=Exposure and infection;url=/tips/survival-tips.html;");
aI("text=Storing your medication;url=/tips/storing.html;");
aI("text=Taking your medication;url=/tips/taking.html;");
aI("text=Dealing with side effects;url=/tips/dealing.html;");
aI("text=Coping with isolation;url=/tips/coping.html;");
aI("text=Diet;url=/tips/diet.html;");
}

with(milonic=new menuname("Country")){
style=subMenuStyle;
top="offset=2";
aI("text=Kenya;url=/country/kenya.html;");
aI("text=Netherlands;url=/country/netherlands.html;");
aI("text=Norway;url=/country/norway.html;");
}


drawMenus();


