

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-5            // Sub menu left offset
_sidetop=200;


with(subStyle=new mm_style()){
styleid=1; // 
bordercolor="#E6CD84"; // рамка выпадающего меню
borderstyle="solid"; // стиль рамки выпадающего меню
borderwidth=1; //  толщина рамки
fontfamily="Arial,Lucida Grande,Arial,sans-serif"; // шрифт
fontsize="11px"; // размер шрифта меню
fontstyle="normal"; // стиль шрифта
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
itemheight=22;
itemwidth ="170";
//image="/images/10000/4000/518LI/18_blank.gif";
imagepadding=3;
offbgcolor="#FFFFCC"; //"transparent"; // текста (цвет фона пока на итем не наведен курсор)
offcolor="#122F8B"; //  за пределами текста (цвет текста пока на итем не наведен курсор)
onbgcolor="#4466AA"; //"#C0D3E2"; // при наведении на текст (цвет фона при наведении на итем)
onborder="1px solid #999999"; // поведение рамки при наведении
oncolor="#FFFFFF"; // цвет текста при наведении на итем
onsubimage="/images/Image/arrow-right-g.gif"; // Картинка для меню у которого есть подменю.
outfilter="randomdissolve(duration=0.2)"; // Эффекты
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#0D4D87', Direction=135, Strength=3)";
padding=3;
imagepadding=0;
pagebgcolor="#CFE2D1"; // Подсветка пункта меню. в котором я нахожусь
pagecolor="#000066";
//pageimage="/images/Image/arrow-right-g.gif";
separatoralign="middle";
separatorcolor="#E6CD84";
separatorpadding=0;
separatorwidth="100%";
separatorsize=2;
subimage="/images/Image/arrow-right-g.gif";
valign="middle";

menubgcolor="#82C54F"; // bg всего меню "#F5F5F5"
}

with(mainStyle=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Georgia,Times New Roman,Times,serif";
fontsize="13px";
fontstyle="normal";
itemwidth ="103";
headerbgcolor="#6078BF";
headerborder=1;
headercolor="#ffffff";
//image="/images/10000/4000/518LI/18_blank.gif";
imagepadding=0;
offbgcolor="#6078BF";//"transparent";
offcolor="#ffffff";
onbgcolor="#4466AA";//"#C0D3E2";
//onborder="1px solid #000000";
//offborder="1px solid #000000";
oncolor="#FFFFFF";
//onsubimage="/images/10000/4000/518LI/onarrow.gif";
outfilter="randomdissolve(duration=0.2)";
//overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#0D4D87', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#6078BF";
pagecolor="#ffffff";
//pageimage="/images/10000/4000/518LI/onimage.gif";
separatoralign="right";
separatorcolor="#000000";
separatorpadding=1;
separatorwidth=1;
separatorsize=1;
separatorheight=25;
//subimage="/images/10000/4000/518LI/offarrow.gif";
valign="middle";
align='center';

menubgcolor="#82C54F"; //"#82ACCD";
}

  
		with(milonic=new menuname("nav1")){
			style=subStyle;
			overflow="scroll";
			aI("text=Welcome;url=http://www.bpc.org/bpc/welcome/welcome.html;");
			aI("text=About the BPC;url=http://www.bpc.org/bpc/about/aboutus1.html;");		
			aI("text=Salvation;url=http://www.bpc.org/bpc/welcome/salvation.html;");
			aI("text=Church Locater;url=http://www.bpc.org/bpc/churches/churchdirectory.html;");		
			}

		with(milonic=new menuname("nav2")){
			style=subStyle;
			overflow="scroll";
			aI("text=News Room;url=http://www.bpc.org/bpc/news/newsroom.html;");
			aI("text=General Synod;url=http://www.bpc.org/bpc/news/synod/synod.html;");
			aI("text=Passed Resolutions;url=http://www.bpc.org/bpc/news/synod/resolutions/resolutions.html;");
			aI("text=Presbyteries;url=http://www.bpc.org/bpc/news/presbytery/presbytery.html;showmenu=nav_presb");
			}

  		with(milonic=new menuname("nav_presb")){
			style=subStyle;
			overflow="scroll";
			aI("text=Florida;url=http://www.bpc.org/bpc/news/presbytery/florida.html;");
			aI("text=Great Lakes;url=http://www.bpc.org/bpc/news/presbytery/greatlakes.html;");
			aI("text=Northwest;url=http://www.bpc.org/bpc/news/presbytery/northwest.html;");
			aI("text=South Atlantic;url=http://www.bpc.org/bpc/news/presbytery/southatlantic.html;");
			aI("text=Southwest;url=http://www.bpc.org/bpc/news/presbytery/southwest.html;");
			}

					
		with(milonic=new menuname("nav3")){
			style=subStyle;
			overflow="scroll";
			aI("text=Approved Agencies;url=http://www.bpc.org/bpc/ministry/outreach.html;");
			aI("text=Youth;url=http://www.bpc.org/bpc/ministry/camps/bpcamps.html;");
			}
			
		  
		with(milonic=new menuname("nav4"))
		{
			style=subStyle;
			overflow="scroll";
			aI("text=Resource Center;url=http://www.bpc.org/bpc/resources/res_cent.html;");
			aI("text=Reading place;url=http://www.bpc.org/bpc/resources/reading.html;");
			aI("text=Online Bible Resources;url=http://www.bpc.org/bpc/bible/bpc_bible1.html;showmenu=nav_media;");
			aI("text=Confession and Catechisms;url=http://www.bpc.org/#;showmenu=nav_conf;");
			
		}
		
		with(milonic=new menuname("nav_conf"))
		{
			style=subStyle;
			overflow="scroll";
			aI("text=Confession of Faith;url=http://www.bpc.org/bpc/resources/west_confession/confession.html;");
			aI("text=Westminister Larger Catechism;url=http://www.bpc.org/bpc/resources/larger-catechism.html;");
			aI("text=Shorter Catechism Project;url=http://www.bpc.org/bpc/resources/shortcat_iframe.html;");
			
		}

		 
		with(milonic=new menuname("nav_media"))
		{
			style=subStyle;
			overflow="scroll";
			aI("text=Audio Sermons;url=/media/media/list.php?mediatype=Audio;");
			aI("text=Video;url=/media/media/list.php?mediatype=Video;");
			aI("text=Sermon Notes;url=/media/media/list.php?type=Article;");
			
		}	
	
				
		with(milonic=new menuname("nav5"))
		{
			style=subStyle;
			overflow="scroll";
			aI("text=About Us;url=http://www.bpc.org/bpc/about/aboutus1.html;");
			aI("text=What is a BPC?;url=http://www.bpc.org/bpc/about/whatisbpc.html;");
			aI("text=Purpose &amp; Witness;url=http://www.bpc.org/bpc/about/witness.html;");
			aI("text=Approved Agencies;url=http://www.bpc.org/bpc/about/agencies.html;");
			aI("text=What We Believe;url=http://www.bpc.org/bpc/about/doctrinal.html;");
			aI("text=Form of Government;url=http://www.bpc.org/bpc/about/government/government.html;");
			aI("text=Book of Discipline;url=http://www.bpc.org/bpc/about/discipline/discipline.html;");
			aI("text=History of the BPC;url=http://www.bpc.org/bpc/about/history.html;");
			aI("text=Why Bible Presbyterian?;url=http://www.bpc.org/bpc/about/whybpc.html;");
			aI("text=Church Locater;url=http://www.bpc.org/bpc/churches/churchdirectory.html;");
			
		}

		
		with(milonic=new menuname("nav6"))
		{
			style=subStyle;
			overflow="scroll";
			aI("text=Contact Us;url=http://www.bpc.org/bpc/contact/contact.html;");
			aI("text=Become Involved;url=http://www.bpc.org/bpc/contact/involved.html;");
			aI("text=Church Locater;url=http://www.bpc.org/bpc/churches/churchdirectory.html;");
			
		}	
		

		with(milonic=new menuname("MainMenu")){
			style=mainStyle;
			top=250;
			left=10;
			alwaysvisible=1;
			overflow="scroll";
			orientation="horizontal";
			position="relative";
			itemheight=25;
			//margin=2;
			menuwidth="100%";
			menualign="right";
			
			
			aI("text=Visitors;showmenu=nav1;");

			aI("text=News Room;showmenu=nav2;");
			
			aI("text=Ministries;showmenu=nav3;");
			
			aI("text=Resources;showmenu=nav4;");
			
			aI("text=About Us;showmenu=nav5;");
			
			aI("text=Contact;showmenu=nav6;");
			
		}




drawMenus();


