


_menuCloseDelay=200           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=100            // The time delay before menus open on mouse over
_subOffsetTop=5            // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(AllImagesStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
padding=3;
fontstyle="normal";
fontweight="normal";
}


with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=AllImagesStyle;
top=106;
left=120+(screen.width-780)/2;
if (screen.width==800) left=150+(screen.width-780)/2;
if (screen.width==1280) left=150+(screen.width-780)/2;
if(document.body.clientWidth!="")left=268+(document.body.clientWidth-995)/2
//if(document.body.clientWidth==1259 || document.body.clientWidth==995) left=268+(document.body.clientWidth-995)/2
alwaysvisible=1;
orientation="horizontal";
//aI("url=http://www.milonic.com/;status=Back To Home Page;image=all_home_on.gif;overimage=all_home.gif;");
sTemp=1;if (location.href.indexOf("hotnews.php") != -1 || location.href.indexOf("hotnews_2004.php") != -1 || location.href.indexOf("hotnews_2005.php") != -1 || location.href.indexOf("hotnews_2006.php") != -1) sTemp=2;aI("url=hotnews.php;image=Images/bar_hot"+sTemp+".gif;overimage=Images/bar_hot2.gif;");
sTemp=1;if (location.href.indexOf("event.php") != -1) sTemp=2;aI("url=event.php;image=Images/bar_event"+sTemp+".gif;overimage=Images/bar_event2.gif;");
sTemp=1;if (location.href.indexOf("activity.php") != -1 || location.href.indexOf("report2001.php") != -1 || location.href.indexOf("report2002.php") != -1 || location.href.indexOf("report2003.php") != -1 || location.href.indexOf("report2004.php") != -1 || location.href.indexOf("report2005.php") != -1 || location.href.indexOf("report2006.php") != -1 || location.href.indexOf("report2007.php") != -1) sTemp=2;aI("url=activity.php;image=Images/bar_activity"+sTemp+".gif;overimage=Images/bar_activity2.gif");
//sTemp=1;if (location.href.indexOf("about.php") != -1) sTemp=2;aI("url=about.php;image=Images/bar_about"+sTemp+".gif;overimage=Images/bar_about2.gif");
sTemp=1;if (location.href.indexOf("lettermember.php") != -1 || location.href.indexOf("readletter.php") != -1) sTemp=2;aI("showmenu=me4;image=Images/bar_letter"+sTemp+".gif;overimage=Images/bar_letter2.gif;");
sTemp=1;if (location.href.indexOf("kaze_intro.php") != -1 || location.href.indexOf("kaze") != -1) sTemp=2;aI("showmenu=me5;image=Images/bar_mekong"+sTemp+".gif;overimage=Images/bar_mekong2.gif;");
//aI("url=Mekong no Kaze.php;image=Images/bar_mekong"+sTemp+".gif;overimage=Images/bar_mekong2.gif");

}

with(milonic=new menuname("me4")){
style=menuStyle;
aI("url=lettermember.php;image=Images/bar_sendmail1.gif;overimage=Images/bar_sendmail2.gif;");
aI("url=readletter.php;image=Images/bar_readmail1.gif;overimage=Images/bar_readmail2.gif;");
}
with(milonic=new menuname("me5")){
style=menuStyle;
aI("url=kaze_intro.php;image=Images/bar_kaze_intro1.gif;overimage=Images/bar_kaze_intro2.gif;");
aI("url=kaze_index.php;image=Images/bar_kaze_index1.gif;overimage=Images/bar_kaze_index2.gif;");
}
drawMenus();



