

/*
	 Milonic DHTML Website Navigation Menu
	 Written by Andy Woolley - Copyright 2003 (c) Milonic Solutions Limited. All Rights Reserved
	 Please visit http://www.milonic.co.uk/ for more information

	 Although this software may have been freely downloaded, you must obtain a license before using it in any production environment
	 The free use of this menu is only available to Non-Profit, Educational & Personal Web Sites who have obtained a license to use 
	 
	 Free, Commercial and Corporate Licenses are available from our website at http://www.milonic.co.uk/menu/supportcontracts.php
	 You also need to include a link back to http://www.milonic.co.uk/ if you use the free license
	 
	 All Copyright notices MUST remain in place at ALL times
	 If you cannot comply with all of the above requirements, please contact us to arrange a license waiver
*/



//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=4               // Sub menu offset Top position
suboffset_left=4             // Sub menu offset Left position



ScrollingSampStyle=[          // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"666666",                     // Mouse Off Font Color
"FFFFCC",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000000",                     // Mouse On Font Color
"ff9933",                     // Mouse On Background Color
"FFCC66",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"tahoma",// Font Name
0,                            // Menu Item Padding or spacing
"/basic/pics/newarrow.gif",                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
"CC0000",                             // Current Page Item Font Color (leave this blank to disable)
"FFCC00",                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


addmenu(menu=[
"FollowMain",                 // Menu Name - This is needed in order for this menu to be called
20,                          // Menu Top - The Top position of this menu in pixels
33,                           // Menu Left - The Left position of this menu in pixels
80,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
ScrollingSampStyle,           // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=0, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,							// Filter - Text variable for setting transitional effects on menu activation - see above for more info
20,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"<img src=/basic/pics/menu.gif width=80 height=19 border=0>","show-menu=Start",,,0
])

addmenu(menu=[
"kid_activities",,,150,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ผลงานศิลปะเด็กน้อย","/kid_arts/myartist.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>อ่านนิทานหนูเขียนเอง","/kid_story/index.php",,,1
//,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>สมุดบันทึกน้องน้อย ๒","/undercon.html",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>แนะนำเกมฟรีแวร์","/articles/content.php?c_id=14",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เล่นเกมจับคู่รูปภาพ","/match_game/index.php",,,1
])

addmenu(menu=[
"parents_activities",,,150,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>งานฝีมือเพิ่มทักษะ","/articles/content.php?c_id=13",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>สมุดภาพกิจกรรมฯ","/articles/content.php?c_id=12",,,1
])

addmenu(menu=[
"content",,,160,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>สารบัญบทความทั้งหมด","/articles/content.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เรียนรู้เรื่องอินเทอร์เน็ต","/articles/content.php?c_id=7",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>รู้จักพิษภัยจากอินเทอร์เน็ด<br /><img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>และการป้องกัน","/articles/content.php?c_id=8",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ค้นหาบทความ...","/tp_search.php",,,1
])

addmenu(menu=[
"recommended",,,150,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>รวมเว็บไซต์สำหรับเด็ก","/weblink/weblink.php?section_id=1",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เว็บไซต์สำหรับผู้ปกครอง","/weblink/weblink.php?section_id=2",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เว็บไซต์เพื่อความปลอดภัย","/weblink/weblink.php?section_id=3",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เว็บไซต์แนะนำอื่นๆ","/weblink/weblink.php?section_id=4",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>รวมเว็บไซต์เพื่อนบ้าน","/neighborhood/index.php",,,1
])

/*
addmenu(menu=[
"tp_board",,,150,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ห้องเสวนาผู้ปกครอง","/board/tp_board.php?for=parents",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ห้องสนทนาเด็กน้อย","/board/tp_board.php?for=kids",,,1
])
*/

addmenu(menu=[
"about",,,150,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ฝากข่าวประชาสัมพันธ์","/pr/pr_form.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เขียน/อ่านสมุดเยี่ยม","/guestbook/show.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>สมัครสมาชิก ฟรี !","/members/register.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>About ThaiParents.net","/about.php",,,1
])

addmenu(menu=[
"Start",,,145,1,,ScrollingSampStyle,0,,
//"Fade(duration=0.2);Shadow(color=FFFFFF, Direction=135, Strength=5)",
,0,0,0,,,0,0,,,0,,
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>หน้าแรก","/index.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>สารบัญเนื้อหา","show-menu=content","/articles/content.php",,1
//,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>คอลัมน์ตอบจดหมาย","/QA/qa.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ข่าวกิจกรรมล่าสุด","/pr/news.php",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>กิจกรรมสำหรับเด็ก","show-menu=kid_activities","#",,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>กิจกรรมครอบครัว","show-menu=parents_activities","#",,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ThaiParents.net's Poll","/index.php#POLL",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>ThaiParents.net's Quiz","/index.php#QUIZ",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>แนะนำเว็บไซต์ดีๆ","show-menu=recommended","#",,1
// ,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>TP Webboard","show-menu=tp_board","/board/tp_board.php?for=all",,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>OnlineSafety Quiz","/onlinesafety/onlinesafety.shtml target=_blank",,,1
,"<img src=/main_stuffs/spacer.gif width=10 height=20 border=0 align=absmiddle>เกี่ยวกับเว็บไซต์","show-menu=about","/about.php",,1
])




dumpmenus();
