// Milonic DHTML Menu
// Please note that major changes to this file have been made and is not compatible with earlier versions..
//
// You no longer need to number your menus as in previous versions.
// The new menu structure allows you to name the menu instead. This means that you can remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
//
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.


// 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


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500			        // The time delay for menus to remain visible on mouse off
followspeed=5				// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=40				// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=10;			// Sub menu offset Top position
suboffset_left=10;			// Sub menu offset Left position

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.3);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5);"
}

style2=[					// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",					// Mouse Off Font Color
"0000ff",					// Mouse Off Background Color
"000000",					// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"999999",					// Menu Border Color
12,					// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",					// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Tahoma, Arial, Helvetica",	       // Font Name
3,						// Menu Item Padding
"",	// Sub Menu Image (Leave this blank if not needed)
0,				              // 3D Border & Separator bar
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
"",				// Current Page Item Font Color (leave this blank to disable)
"",				// 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)
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
256,				// Menu Top - The Top position of the menu in pixels
15,					// Menu Left - The Left position of the menu in pixels
130,					// Menu Width - Menus width in pixels
0,					// Menu Border Width
"center",					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",					// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Home 首頁","index.htm",,,1       // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"News 教會消息","show-menu=news","#",,1
,"Sermons   講台信息","show-menu=sermons","#",,1
,"聖經栽培中心","show-menu=Bible_Training","#",,1
,"Us 教會簡介","show-menu=aboutus","#",,1
,"Groups 教會團契","show-menu=communitygroup","#",,1
,"Links 資源連線","show-menu=resources","#",,1
])


//if(document.layers)m1div="_d.layers['menu1'].document.layers['mel1'].document.layers['subscribeform']"; else m1div="subscribeform"

addmenu(menu=["news",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Newsletter<br>週報及禱告事項", "show-menu=newsletter",,,1
])

addmenu(menu=["newsletter",,,100,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Chinese<br>中文堂", "chinese_newsletter.htm",,,1
,"English<br>英文堂", "english_newsletter.htm",,,1
])

addmenu(menu=["sermons",,,200,1,,style2,,"left",effect,,,,,,,,,,,,
,"Sermon Plan<br>講台每季安排表", "sermon/Jan-Mar_2010_.doc target=_blank","#",,1
,"Audio/Video Sermon<br>信息錄音及視屏觀看","show-menu=sermon_download",,"",1
,"Video Page<br>教會影片中心", "http://www.gpccc.org/Canton/misc%20movies.html target=_blank",,,1
,"Sermon PDF<br>信息講章","http://www.gpccc.org/sermon/documents/sermon.pdf",,,1
])

addmenu(menu=["Bible_Training",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"聖經栽培課程", "bible_training.htm",,,1
,"中文信息查經材料", "index.php?page=study_guide&year=2010",,,1
])


addmenu(menu=["sermon_download",,,100,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Chinese<br>國語堂", "index.php?page=chinese_sermon&year=2010",,,1
,"English<br>英文堂", "index.php?page=english_sermon&year=2010",,,1
,"Cantonese<br>粵語堂", "index.php?page=cantonese_sermon&year=2010",,,1
])

addmenu(menu=["aboutus",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Church Staff<br>教會同工", "show-menu=staff",,,1
,"History<br>教會歷史", "history.htm",,,1
,"Purpose<br>教會使命", "vision.htm",,,1
,"Statement of Faith<br>信仰宣告", "FaithStatement.htm",,,1
,"Location<br>教會地址", "location.htm",,,1
])

addmenu(menu=["staff",,,150,1,,style2,,"left",effect,,,,,,,,,,,,
,"Pastors &amp; Staff<br>牧師及職員","pastors.htm",,,1
,"Elders &amp; Deacons<br>長老及執事","staff.htm",,,1
])

addmenu(menu=["communitygroup",,,160,1,,style2,,"left",effect,,,,,,,,,,,,
,"Chinese School<br>中文學校","http://www.gpccs.org/ target=_blank","#",,1
,"Youth Group<br>青少年團契","http://gpcyg.gpccc.org target=_blank","#",,1
,"College Students<br>大學生事工","show-menu=collegesub","#",,1
,"Young Adults<br>青年事工","show-menu=youngadultsub",,,1
,"Families<br>家庭事工","show-menu=familysub","#",,1
,"GPCCC Blog<br>教會“新”部落格","http://s113299957.onlinehome.us target=_blank", "#",,1
])

addmenu(menu=["collegesub",,,200,1,,style2,,"left",effect,,,,,,,,,,,,
,"Chinese Student Fellowship<br>中國學生團契","http://asu-csf.wikidot.com/ target=_blank",,,1
,"Numa College Fellowship<br>英文大學生團契","http://numa.gpccc.org target=_blank","#",,1
])

addmenu(menu=["youngadultsub",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Petra Young Adult Fellowship<br>英文青年團契","http://www.gpccc.org/petra/ target=_blank",,,1
,"Lily Fellowship<br>百合國語青年團契","http://www.gpccc.org/lily/ target=_blank",,,1
])

addmenu(menu=["familysub",,,200,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Cantonese Fellowship<br>廣東團契","http://www.gpccc.org/canton/ target=_blank",,,1
,"Faith Fellowship<br>信實國語團契","http://www.gpccc.org/faith/ target=_blank",,,1
,"Joy Fellowship<br>喜樂國語團契","http://www.gpccc.org/joy/ target=_blank",,,1
,"Kindness Fellowship<br>恩慈國語團契","http://kindness-gpccc.blogspot.com/ target=_blank",,,1
,"Love Fellowship<br>仁愛國語團契","http://www.gpccc.org/love/ target=_blank",,,1
,"English Young Family Fellowship<br>英文家庭團契","http://www.gpccc.org/yff/ target=_blank",,,1
])

addmenu(menu=["resources",,,200,1,,style2,,"left",effect,,,,,,,,,,,,
//,"Useful Links","resource.htm",,,1
,"Reaching Heart of Your Teen","parent/rhyt.htm target=_blank",,,1
,"Bible Gateway","http://www.biblegateway.com target=_blank",,,1
,"Bible Sharing","http://www.youversion.com/ target=_blank",,,1
,"New Heart Ministry<br>新心音樂事工","http://www.newheartmusic.org target=_blank",,,1
])

//////////////////////////////////
// Editable properties END here //
//////////////////////////////////
dumpmenus() // This must be the last line in this file
