_scrollAmount=3      // Used for Netscape 4 scrolling
_scrollDelay=20	     // Used for Netscape 4 scrolling
_menuCloseDelay=500  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
//_followSpeed=0       // Follow Scrolling speed (higher number makes the scrolling smoother but slower)
//_followRate=0        // Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position


with(mainStyle=new mm_style()){
onbgcolor = "#6699cc";  //สีไฮไลต์ ตอน mouse over
oncolor = "#00ffff"; // สีตัวหนังสือตอน mouse over
offbgcolor = "#EFF7FF";  //สี bg
offcolor = "#3359C5"; //สีตัวหนังสือปกติ

bordercolor = "black";
borderstyle = "solid";
separatorcolor = "black";
separatorsize = 0;
padding = 4
//onborder="1px solid black"
fontsize = "83%";
fontstyle = "normal";
fontweight = "normal";
fontfamily = "Ms Sans Serif,verdana, tahoma, arial";
high3dcolor = null; // Not sure if this will be included in final release
low3dcolor = null; // Not sure if this will be included in final release
pagecolor = "purple";
pagebgcolor = "pink";
topbarimage = "include1/images/arrow_down.gif";
topbarimageloc = "center;middle"
subimage = "include1/images/arrow.gif";
subimageloc = "center;middle"
//ondecoration = "underline"
//onbold = true;
//onitalic = true;
}

with(SubmainStyle=new mm_style()){
onbgcolor = "#6699cc";  //สีไฮไลต์ ตอน mouse over
oncolor = "#ffffff"; // สีตัวหนังสือตอน mouse over
offbgcolor = "#D7EBFF";  //สี bg
offcolor = "#6d82ff"; //สีตัวหนังสือปกติ

borderwidth = 1;
bordercolor = "black";
borderstyle = "solid";
separatorcolor = "black";
separatorsize = 0;     // เส้นภายใน
padding = 4
//onborder="1px solid black"
fontsize = "83%";
fontstyle = "normal";
fontweight = "normal";
fontfamily = "Ms Sans Serif,verdana, tahoma, arial";
high3dcolor = null; // Not sure if this will be included in final release
low3dcolor = null; // Not sure if this will be included in final release
pagecolor = "#D7EBFF";
pagebgcolor = "pink";
topbarimage = "../include/images/arrow_down.gif";
topbarimageloc = "center;middle"
subimage = "../include/images/arrow.gif";
subimageloc = "center;middle"
//ondecoration = "underline"
//onbold = true;
//onitalic = true;
}




with(milonic=new menuname("mainmenu2")){_c=1
//top = 74;
//left = 3;
//itemwidth=60
//menuwidth="99%";
borderwidth = 0;
//screenposition = "center;middle";
//alignment="center";
style = mainStyle;
alwaysvisible = 1;
//orientation="horizontal"         ทำให้เป็นแนวนอน
//filter = null;
//followscroll = null;
//keepalive = 1;
//overallwidth = null;
//righttoleft = null;
//itemheight=200;
//openonclick = null;
//bgimage="winxp_back.gif";
position="relative"
//separatorcolor="green";
aI("text=Home;url=main_eng.php;itemwidth=140");
aI("text=Commission ;url=refee.php;itemwidth=140");
aI("text=Office of ONAC ;showmenu=office menu;itemwidth=140");
aI("text=National Anti-Corruption Strategy ;url=strategy.php;itemwidth=140");
//aI("text=Office of NCCC.;url=../office.php;showmenu=office menu;itemwidth=140");
aI("text=Law;showmenu=act menu;itemwidth=140");
aI("text=International Cooperation;url=interco.php;itemwidth=140");
aI("text=Links;url=link.php;itemwidth=140");
aI("text=Site Map;url=sitemap_eng.php;itemwidth=140");
aI("text=Contact Us;url=contact.php;itemwidth=140");

//aI("text=คำวินิจฉัยศาลรัฐธรรมนูญ;url=../jus.php;itemwidth=140");
//aI("text=การแสดงทรัพย์สิน;url=../show.php;itemwidth=140");
//aI("text=รับเรื่องร้องเรียน;url=../call.php;showmenu=complain menu;itemwidth=140");
//aI("text=สายตรง...กรรมการ;showmenu=call menu;itemwidth=140");
//aI("text=FAQ;url=../faq.html;itemwidth=140");

}

	with(milonic=new menuname("office menu")){_c=1
	itemwidth = 150;
	borderwidth = 0;
	style = SubmainStyle;
	margin=3
	aI("text=Historical Perspective ;url=eng.php");
	aI("text=Duties & Responsibilities ;url=duty.php");
	aI("text=Organization Structure;url=org.php");
//	aI("text=Definitions;url=definitions.php");
//	aI("text=โครงสร้างองค์กร;url=../office/org.php");
	}
	
	with(milonic=new menuname("act menu")){_c=1		
	itemwidth = 150;
	borderwidth = 0;
	style = SubmainStyle;
	margin=3
	aI("text=Organic Act on Couter ;url=law_e.php");
	aI("text=Notification 1 ;url=notice.php");
	aI("text=Notification 2 ;url=notice1.php");
	}

	with(milonic=new menuname("complain menu")){_c=1		
	itemwidth = 150;
	borderwidth = 0;
	style = SubmainStyle;
	margin=3
	aI("text=รับเรื่องร้องเรียน;url=../call.php");
	aI("text=คำแนะนำ;url=../advice.php");
	}
	
	with(milonic=new menuname("call menu")){_c=1		
	itemwidth = 150;
	borderwidth = 0;
	style = SubmainStyle;
	margin=3
	aI("text=พล.ต.อ. วุฑฒิชัย ศรีรัตนวุฑฒิ;url=../mailtomember.php?member_id=01");
	aI("text=นายชิดชัย พานิชพัฒน์;url=../mailtomember.php?member_id=02");
	aI("text=นายเชาว์ อรรถมานะ;url=../mailtomember.php?member_id=03");
	aI("text=นายประดิษฐ์ ทรงฤกษ์;url=../mailtomember.php?member_id=04");
	aI("text=นายพินิต อารยะศิริ;url=../mailtomember.php?member_id=05");
	aI("text=นายยงยุทธ กปิลกาญจน์;url=../mailtomember.php?member_id=06");
	aI("text=นายวิเชียร วิริยะประสิทธิ์;url=../mailtomember.php?member_id=07");
	aI("text=พล.ต.ท.ดร. วิเชียรโชติ สุกโชติรัตน์;url=../mailtomember.php?member_id=08");
	aI("text=นายวิสุทธิ์ โพธิแท่น;url=../mailtomember.php?member_id=09");
	aI("text=เลขาธิการคณะกรรมการ ป.ป.ช.;url=../mailtomember.php?member_id=10");
	}

/*	with(milonic=new menuname("OnlineSamples")){_c=1		
	borderwidth = 1;
	style = mainStyle;
	aI("text=None Been Done yet Folks, Sorry<br><br>More will follow shortly;type=header;image=../include/images/xpquestion.gif");
	}
*/	
	
	/*with(milonic=new menuname("Long Menu")){_c=1	
	borderwidth = 1;
	margin=3;
	style = mainStyle;
	overflow="scroll";
	itemwidth=189
	aI("text=Alaska;url=javascript:alert('alaska')");
	aI("text=Arizona;");
	aI("text=Arkansas;");
	aI("text=California;");
	aI("text=Colorado;");
	aI("text=Connecticut;");
	aI("text=Delaware;");
	aI("text=District of Columbia;");
	aI("text=Florida;showmenu=florida");
	aI("text=Georgia;");
	aI("text=Hawaii;");
	aI("text=Idaho;url=javascript:alert('Idaho')");
	aI("text=Illinois;");
	aI("text=Indiana;");
	aI("text=Iowa;");
	aI("text=Kansas;");
	aI("text=Kentucky;");
	aI("text=Louisiana;");
	aI("text=Maine;");
	aI("text=Maryland;");
	aI("text=Massachusetts;");
	aI("text=Michigan;");
	aI("text=Minnesota;");
	aI("text=Mississippi;");
	aI("text=Missouri;");
	aI("text=Montana;");
	aI("text=Nebraska;");
	aI("text=Nevada;");
	aI("text=New Hampshire;");
	aI("text=New Jersey;");
	aI("text=New Mexico;");
	aI("text=New York;");
	aI("text=North Carolina;");
	aI("text=North Dakota;");
	aI("text=Ohio;");
	aI("text=Oklahoma;");
	aI("text=Oregon;");
	aI("text=Pennsylvania;");
	aI("text=Rhode Island;");
	aI("text=South Carolina;");
	aI("text=South Dakota;");
	aI("text=Tennessee;");
	aI("text=Texas;");
	aI("text=Utah;");
	aI("text=Vermont;");
	aI("text=Virginia;");
	aI("text=Washington;");
	aI("text=West Virginia;");
	aI("text=Wisconsin;");
	aI("text=Wyoming;");
	}	*/
	
	/*	with(milonic=new menuname("florida")){_c=1		
		borderwidth = 1;
		style = mainStyle;
		aI("text=Miami Beach;url=javascript:alert('Soak up some rays')");
		aI("text=Kennedy Space Center;url=javascript:alert('Fly to the Moon')");
		aI("text=SeaWorld Orlando;url=javascript:alert('Swim with the Dolphins')");
		aI("text=Disney World;url=javascript:alert('have some fun')");
		}*/	
		
	
for(_a=_mnucnt;_a<_m.length;_a++){_drawMenu(_a)}	