/*
  --- menu items --- 
  note that this structure has changed its format since previous version.
  additional third parameter is added for item scope settings.
  Now this structure is compatible with Tigra Menu GOLD.
  Format description can be found in product documentation.
*/
var MENU_ITEMS = [
	['Who We Are', null, null,
	      ['Our Beliefs', null, null,
			['About GOD', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">We believe in the one living and true God.&nbsp;&nbsp;Perfect in:<ul><li>wisdom</li><li>sovereignty</li><li>holiness</li><li>justice</li><li>mercy</li><li>and love</li></ul><img onmouseover=scripture_popup("h_aboutGod.htm",200,400) onmouseout=newwindow.close() src="images/gs.jpg"><p><a class="popup" href="http://nabconference.org/pages.asp?pageid=1270" target="_blank">Tell me more...</a></div>'), null]
				],
			['About the BIBLE', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">We believe the Bible is God\'s Word given by divine inspiration, the record of God\'s revelation of Himself to humanity.<br /><br /><img onmouseover=scripture_popup("h_abouttheBible.htm",100,400) onmouseout=newwindow.close() src="images/gs.jpg"><p><a class="popup" href="http://nabconference.org/pages.asp?pageid=1270" target="_blank">Tell me more...</a></div>'), null]
				],
			['About HUMANITY', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">We believe God created man in His own image to have fellowship with Himself and to be steward over His creation.<br /><br /><img  onmouseover=scripture_popup("h_abouthumanity.htm",200,400) onmouseout=newwindow.close() src="images/gs.jpg"><p><a class="popup" href="http://nabconference.org/pages.asp?pageid=1270" target="_blank">Tell me more...</a></div>'), null]
				],
			['About SALVATION', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">We believe salvation is redemption by Christ of the whole person from sin and death.<br /><br /><img onmouseover=scripture_popup("h_aboutsalvation.htm",150,400) onmouseout=newwindow.close() src="images/gs.jpg"><p><a class="popup" href="http://nabconference.org/pages.asp?pageid=1270" target="_blank">Tell me more...</a></div>'), null]
				],
			['About the CHURCH', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">We believe the Church is the body of which Christ is the head and all who believe in Him are members.<br /><br /><img onmouseover=scripture_popup("h_aboutchurch.htm",175,400) onmouseout=newwindow.close() src="images/gs.jpg"><p><a class="popup" href="http://nabconference.org/pages.asp?pageid=1270" target="_blank">Tell me more...</a></div>'), null]
				],
			['About OUR WITNESS', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">We believe Christians, individually and collectively, are salt and light in society.<br /><br /><img onmouseover=scripture_popup("h_aboutwitness.htm",175,400) onmouseout=newwindow.close() src="images/gs.jpg"><p><a class="popup" href="http://nabconference.org/pages.asp?pageid=1270" target="_blank">Tell me more...</a></div>'), null]
				],
		],
            ['Our Team', null, null,
			['Pastoral Staff', null, null,
				['Pastor Ryan: Senior', null, null,
					[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>Ryan and Katie Cochran<br />Senior Pastoral Couple<br /><br /><br /><img src="images/our_team_pic01.jpg"><p><a class="popup" href="h_welcome.htm" target="_self">Welcome Message</a></div>'), null]
					],
				['Chris Hensel: Children', null, null,
					[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>Chris Hensel<br />Children\'s Ministries<br /><br /><br /><img src="images/our_team_pic02.jpg"></div>'), null]
					],
				['Isaac Whiting: Youth', null, null,
					[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>Isaac Whiting<br />Youth Pastor<br /><br /><br /><img src="images/our_team_pic04.jpg"></div>'), null]
					],
			],
			['Staff Members', null, null,
				['Grant Gywnn: Music', null, null,
					[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>Grant Gywnn<br />Director of Music<br /><br /><br /><img src="images/our_team_pic03.jpg"></div>'), null]
					],
				['Jack Masing: Secretary'],
				['Kelvin Wang: Custodian'],
				['Jamie Harsch: Security'],
			],
		],
            ['Our History', null, null,
			[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>Ebenezer Baptist was started by a small group of believers who had been meeting in a home during the mid 20\'s.<br /><br /><img src="images/1927_2004-church_pic.jpg"></center><p><a class="popup" href="h_uc.htm" target="_self">Tell me more...</a></div>'), null]
		],
		['Our Associations', null, null,
			['NABC', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">Ebenezer Baptist Church is associated with the North American Baptist Conference.<br /><br />The NABC is a network of 400 churches in Canada and the United States who have a common mission to glorify God by making disciples of Jesus Christ at home and internationally.<br /><br /><center><img src="images/NABCoutreach.jpg"></center><p><a class="popup" href="http://www.nabconference.org/" target="_blank">Tell me more...</a></div>'), null]
				],
			['BC NABC', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;">Regional Minister for BC<br /><br /><center><img src="images/BobKrahn.jpg"></center><p><a class="popup" href="http://www.nabconference.org/pages.asp?pageid=742" target="_blank">Tell me more...</a></div>'), null]
				],
			['NAB Seminary', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>North American Baptist Seminary<br /><br /><img src="images/nab.jpg"><br /><br />Now that God has your attention, what will you do about it?</center><p><a class="popup" href="http://www.nabs.edu/" target="_blank">Tell me more...</a></div>'), null]
				],
			['Taylor Seminary', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center>Taylor Seminary<br /><br /><img src="images/taylor.jpg"><br /><br />Dedicated to developing<br />Christ-minded leaders<br /> who make a difference!</center><p><a class="popup" href="http://www.taylor-edu.ca/" target="_blank">Tell me more...</a></div>'), null]
				],
			['Green Bay Camp', null, null,
				[popup('<div style="text-decoration: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color: white; margin: 4px;"><center><br /><br /><img src="images/greenbay.jpg"><br /><br /></center><p><a class="popup" href="http://www.greenbay.bc.ca/home/" target="_blank">Register online...</a></div>'), null]
				],
		],
	],
	['What We Do', null, null,
		['At Ebenezer', null, null,
			['Admin', 'http://www.itetech.com/clientEBCLogin.html'],
			['Ministries', 'h_thingswedo.htm'],
                        ['Photo Gallery', 'h_gallery.htm'],
		],
		['For You', null, null,
			['Need Prayer?', 'h_prayer.htm'],
			['Got Questions?', 'http://www.alphacanada.org/'],
			['Local Business Directory', 'h_aroundus.htm'],
		],
		['Just For Laughs', 'h_laughs.htm'],
	],
	['Where', null, null,
		['Our Location', 'h_findus.htm'],
	],
	['When', null, null,
                ['Bulletin', null, null,
                        ['<a class="popup" href="sermons/bulletin.pdf" target="_blank">PDF Version</a>'],
		],
		['Calendar', 'h_calendar.htm'],
 		['Online Applications', null, null,
	 		['Facility Use - General', 'h_appgen.htm'],
			['Facility Use - In House', 'h_appih.htm'],
			['Facility Use - Memorial', 'h_appmem.htm'],
			['Facility Use - Wedding', 'Weddings.doc'],
		],
	],
	['and Why', null, null,
		['Advocate', 'sermons/Advocate.pdf'],
                ['Calendar', 'sermons/Calendar.pdf'],
		['Devotions','sermons/Devotions.pdf'],
		['Our Stories', 'h_uc.htm'],
		['Sermons', 'h_sermons.htm'],
                ['Sent Ones', 'h_sentones.htm'],
	],
];
/*
	This simple function is wrapper. It puts html around text given.
	You can write your own wrappers for higher efficiency and better
	code maintanability
*/
function scripture_popup (url, hheight, wwidth) {
  var left = (screen.width - wwidth) / 4 - 50;
  var top = 250;
  newwindow = window.open(url,'name','height='+hheight+',width='+wwidth+',left='+left+',top='+top+',resizable=no,scrollbars=no,toolbar=no,status=no');
  if (window.focus) {newwindow.focus();}
}
function popup (text) {
	return '<table class="popup" border=0 cellpadding=0 cellspacing=0><tr><td><img border=0 src="images/01.gif" width=9 height=11></td><td background="images/02.gif"><img border=0 src="images/pixel.gif" width=261 height=11></td><td><img border=0 src="images/09.gif" width=12 height=11></td></tr><tr><td rowspan=2 background="images/04.gif"></td><td rowspan="2" bgcolor="#339933" valign="top" style="text-decoration: none;">'
		+ text + '</td><td background="images/05.gif"></td></tr><tr><td background="images/05.gif"></td></tr><tr><td><img border=0 src="images/06.gif"></td><td background="images/07.gif"></td><td><img border=0 src="images/08.gif"></td></tr></table>';
}

