// 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="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_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=0;			// Sub menu offset Top position 

suboffset_left=100;			// Sub menu offset Left position


if(navigator.appVersion.indexOf("MSIE 6.0")>0)

{

	effect = "Fade(duration=0.1);Shadow(color='#ffffff', Direction=135, Strength=0)"

}

else

{

	effect = "Shadow(color='#ffffff', Direction=135, Strength=0)"

}



menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}



style1=[					// 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.

"000066",					// Mouse Off Font Color

"e1e1e1",					// Mouse Off Background Color

"ffffff",					// Mouse On Font Color

"000000",					// Mouse On Background Color

"2E3192",					// Menu Border Color

"12px",							// Font Size in pixels

"normal",					// Font Style (italic or normal)

"normal",						// Font Weight (bold or normal)

"Verdana, Tahoma, Arial, Helvetica, sans-serif;",	// Font Name
5,							// Menu Item Padding

"!images/arrow.gif",			         // Sub Menu Image (Leave this blank if not needed)

7,							// 3D Border & Separator bar

"000000",                     // 3D High Color

"2E3192",				// 3D Low Color

,							// Referer Item Font Color (leave this blank to disable)

,							// Referer 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)



]






//effect2 = "Alpha( style=0,opacity=0)"

//effect="randomdissolve(duration=0.2)"





addmenu(menu=[

"sidemenu",

5,

0,

170,

0,

,

style1,

1,

"left",

effect,

0,

,

0,

,

,

,

,

,

,

,

,

		//Edit javascript:void(0) to link your pages

		//The Show Menu is for the addmenu script below

,"<a href='main.php' target=main><img src=!images/images/menu/home.gif border=0></a>","",,"",0

,"<a href='aboutus/contact.html' target=main><img src=!images/images/menu/about-us.gif border=0></a>","",,"",0

,"<a href='articles/pastor/index.html' target=main><img src=!images/images/menu/pastor.gif border=0></a>","",,"",0

,"<img src=!images/images/menu/min.gif border=0>","show-menu=min",,"",0

,"<a href='media/index.html' target=main><img src=!images/images/menu/services.gif border=0></a>","",,"",0

,"<img src=!images/images/menu/links.gif border=0>","show-menu=links",,"",0

,"<a href='articles/index.html' target=main><img src=!images/images/menu/articles.gif border=0></a>","",,"",0




])



				//Edit javascript:void(0) to link ministries submenu

	addmenu(menu=["min",,,105,1,"",style1,,"left",effect,,,,,,,,,,,,

	,"Description of Ministries","depts/index.html target=main",,,0

	,"Administration","depts/admin/index.html target=main",,,0

	,"Audio, Visual, and Media","depts/av/index.html target=main",,,0

	,"Bible Quizzing","depts/bq/index.html target=main",,,0

	,"Children's Ministry","depts/ss/childrens/index.html target=main",,,0

	,"Hospital","depts/hospital/index.html target=main",,,0

	,"Men","depts/men/index.html target=main",,,0

	,"Music","depts/music/index.html target=main",,,0

	,"Outreach","depts/outreach/index.html target=main",,,0

	,"Prayer","depts/prayer/index.html target=main",,,0

	,"Spanish","depts/spanish/index.html target=main",,,0

	,"Sunday School","depts/ss/index.html target=main",,,0

	,"Women","depts/women/index.html target=main",,,0

	,"Youth", "depts/youth/index.html target=main",,,0


	])




		//Edit javascript:void(0) to link additional links submenu

	addmenu(menu=["links",,,105,1,"",style1,,"left",effect,,,,,,,,,,,,

	,"APC Church History","aboutus/history/index.html target=main",,,0

	,"Bible Studies","biblestudy/index.html target=main",,,0

	,"Photo Gallery","gallery/index.html target=main",,,0

	,"Various Links","links.html target=main",,,0



	])




		//These are additional submenu when necessary

	addmenu(menu=["estimate",,,170,1,,style1,,"left",effect,,,,,,,,,,,,

	])



	addmenu(menu=["faqs",,,170,1,,style1,,"left",effect,,,,,,,,,,,,

	])


	addmenu(menu=["contact",,,170,1,,style1,,"left",effect,,,,,,,,,,,,

	])



dumpmenus();
