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=5;
_subOffsetLeft=-10;




with(menuStyle=new mm_style()){
bordercolor="#dddddd";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Helvetica, sans-serif";
fontsize="10px";
fontstyle="normal";
offbgcolor="#efefef";
offcolor="#666666";
onbgcolor="#12a212";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#7fcc7f";
pagecolor="#666666";
separatorcolor="#dddddd";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}


with(milonic=new menuname("Samples")){
top="offset=-1";
left="offset=3";
style=menuStyle;
aI("text=Sample English Modules;showmenu=english_samples_sub;");
aI("text=Sample Thai Modules;showmenu=thai_samples_sub;");
}

		with(milonic=new menuname("english_samples_sub")){
		menuwidth="100";
		style=menuStyle;
		aI("text=Coffee Shop;url=samples/en/sample_coffeeshop_11.php;");
		aI("text=Directions;url=samples/en/sample_directions_11.php;");
		aI("text=Future Tense;url=samples/en/sample_futuretense_11.php;");
}

		with(milonic=new menuname("thai_samples_sub")){
		menuwidth="100";
		style=menuStyle;
		aI("text=Jobs;url=samples/th/sample_jobs1.php;");
		aI("text=Going to a Bar;url=samples/th/sample_bar1.php;");
}

with(milonic=new menuname("Members")){
top="offset=-1";
left="offset=3";
menuwidth="100";
style=menuStyle;
aI("text=Member Login;url=secure/login.php;");
aI("text=Edit your Profile;url=secure/profile.php;");
aI("text=Languages;showmenu=languages_sub;");
aI("text=Games;url=games/games.php;");
aI("text=Grammar Lessons;url=grammar/grammar_pages.php;");
aI("text=Reading Practice;showmenu=reading;");
}

		with(milonic=new menuname("languages_sub")){
		menuwidth="100";
		style=menuStyle;
		aI("text=English;url=secure/en/index.php;");
		aI("text=Thai;url=secure/th/index.php;");
}

		with(milonic=new menuname("reading")){
		menuwidth="100";
		style=menuStyle;
		aI("text=Elementary;showmenu=elementary;");
		aI("text=Pre-Intermediate;showmenu=preintermediate;");
		aI("text=Intermediate/Upper-Intermediate;showmenu=upperintermediate;");
}

		with(milonic=new menuname("elementary")){
		menuwidth="100";
		style=menuStyle;
		aI("text=Telephone Skills;url=reading/elementary1.php;");
		aI("text=Office;url=reading/elementary2.php;");
		aI("text=Interview;url=reading/elementary3.php;");
		aI("text=Conversation;url=reading/elementary4.php;");
}

		with(milonic=new menuname("preintermediate")){
		menuwidth="100";
		style=menuStyle;
		aI("text=Story;url=reading/preintermediate1.php;");
		aI("text=Telephone;url=reading/preintermediate2.php;");
		aI("text=Discussion;url=reading/preintermediate3.php;");
		aI("text=Directions;url=reading/preintermediate4.php;");
		aI("text=Interview;url=reading/preintermediate5.php;");
		aI("text=Sales;url=reading/preintermediate6.php;");
}

		with(milonic=new menuname("upperintermediate")){
		menuwidth="100";
		style=menuStyle;
		aI("text=IT Article;url=reading/upperintermediate1.php;");
		aI("text=Accounting;url=reading/upperintermediate2.php;");
		aI("text=Discussion;url=reading/upperintermediate3.php;");
}

with(milonic=new menuname("Thailand")){
top="offset=-1";
left="offset=3";
style=menuStyle;
aI("text=Festivals & Celebrations;url=thailand/festivals.php;");
aI("text=Khrap & Kha;url=thailand/khrap_and_kha.php;");
aI("text=Love & Relationships;url=thailand/love_and_relationships.php;");
aI("text=Using 'I';url=thailand/using_i.php;");
aI("text=Menu Decoder;url=thailand/menu_decoder.php;");
aI("text=Telling the Time;url=thailand/telling_the_time.php;");
aI("text=Thai Words Using the Heart;url=thailand/thai_words_using_the_heart.php;");
}

drawMenus();

