// EMAIL Address list
function mvbc(){
document.write("<a href='mailto:mvbcbend@yahoo.com'><strong>mvbcbend@yahoo.com</strong></a>");
}


// MAIN MENU ON LEFT HAND SIDE OF PAGE
function linkto(){
document.write("<table border='0' cellpadding='0' cellspacing='0' height='100%'>");
document.write("<tr>");
document.write("<td width='49'></td>");
document.write("<td width='174' height='100%' align='right' valign='top' bgcolor='#ffffff'>");
document.write("<table border='0' bgcolor='#FFFFFF' cellpadding='0' cellspacing='0'>");
document.write("<tr><td><a href='Default.htm'><img src='images/home.jpg' width='174' height='44' border='0'></a></td></tr>");
document.write("<tr><td><a href='Info.html'><img src='images/info.jpg' width='174' height='40' border='0'></a></td></tr>");
document.write("<tr><td><a href='About.html'><img src='images/about.jpg' width='174' height='37' border='0'></a></td></tr>");
document.write("<tr><td><a href='ministries.html'><img src='images/min.jpg' width='174' height='36' border='0'></a></td></tr>");
document.write("<tr><td><a href='Calendar.html'><img src='images/cal.jpg' width='174' height='32' border='0'></a></td></tr>");
// document.write("<tr><td><a href='blog.html'><img src='images/blog.jpg' width='174' height='40' border='0'></a></td></tr>");
document.write("<tr><td><img src='images/mvbc_11.jpg' width='174' height='61'></td></tr>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
}

// PULL DOWN BOX MENU
function openDir( form ) { 
	var newIndex = form.fieldname.selectedIndex; 
	if ( newIndex == 0 ) { 
		alert( "Please select a location!" );
	} else { 
		cururl = form.fieldname.options[ newIndex ].value; 
		window.location.assign( cururl ); 
	} 
} 

function jumpto(){
document.write("<form name=form>");
document.write("<select name='fieldname' size='1' onChange='openDir( this.form )'>");
document.write("<option>Jump To </option>");
document.write("<option value=default.htm>Home</option>");
document.write("<option value=info.html>Information</option>");
document.write("<option value=ministries.html>Ministries</option>");
document.write("<option value=Min-Child.html> - Childern</option>");
document.write("<option value=Min-Adult.html> - Adults</option>");
document.write("<option value=Min-Senior.html> - Seniors</option>");
document.write("<option value=Calendar.html>Calendar of Events</option>");
document.write("<option value=About.html>About</option>");
document.write("<option value=About.html> - Our Church</option>");
document.write("<option value=About-Pastor.html> - Our Pastor</option>");
document.write("<option value=About-Doc.html> - Our Doctrinal Beliefs</option>");
document.write("<option value=About-1stVisit.html> - First Visit</option>");
document.write("<option value=about-bend.html> - Bend, Oregon</option>");
// document.write("<option value=Blog.html>Pastor Chris' Blog</option>");
// document.write("<option value=prevSermons.html>Previous Sermons</option>");
// document.write("<option value=photo1.html>Photo Gallery</option>");
document.write("</select>");
document.write("</form>");
}

// MINISTRIES PAGES MENU
function minlink(){
document.write("<strong><font size='+1'>Ministires </font></strong> <br />"); 
document.write(" <a href='min-child.html'>Childern</a> -"); 
document.write(" <a href='min-adult.html'>Adults</a> -");
document.write(" <a href='min-senior.html'>Seniors</a>");
}

// ABOUT PAGES MENU
function aboutlink(){
document.write("<strong><font size='+1'>About </font></strong> <br />"); 
document.write(" <a href='About.html'>Church</a> -"); 
document.write(" <a href='About-Pastor.html'>Pastor</a> -");
document.write(" <a href='About-doc.html'>Doctrinal beliefs</a> -");
document.write(" <a href='About-1stvisit.html'>First Visit to MVBC</a> -");
document.write(" <a href='About-bend.html'>Bend</a> ");
}

function aboutbend(){
document.write("<a href='http://www.visitbend.com/' target='_blank'>Bend Visitors Bureau</a> <br />");
document.write("<a href='http://www.covisitors.com/' target='_blank'>Central Oregon Visitors Association</a> <br />");
document.write("<a href='http://www.mtbachelor.com/winter/index.html' target='_blank'>Mt. Bachelor</a> <br />");
document.write("<a href='http://www.ci.bend.or.us/' target='_blank'>City of Bend</a> <br />");
document.write("<a href='http://www.bendchamber.org/' target='_blank'>Bend Chamber of Commerce</a> <br />");
document.write("<a href='http://www.centraloregonrealtor.com/' target='_blank'>Central Oregon Realtors</a> <br />");
document.write("<a href='http://www.dfw.state.or.us/RR/central/' target='_blank'>Central Oregon Fishing Report</a> <br />");
}

function aboutpastor(){
document.write("<strong><font size='+1'>About Our Pastor</font></strong> <br />");
}


// PHOTOGALLERY PAGES MENU
function Photolink(){
document.write("<strong><font size='+1'>Photo Galleries </font></strong> <br />"); 
document.write(" <a href='photo1.html'>Gallery 1</a> -"); 
}

// PREVIOUS SERMONS PAGES MENU
function prevsermonlink(){
document.write("<strong><font size='+1'>Previous Sermons </font></strong> <br />"); 
// document.write(" <a href='photo1.html'>WOW</a> -"); 
}

// Doctrinal belief bible verse links

var bible1="<a id='bible' href='http://www.biblegateway.com/passage/?search="
var bible2=";&version=50;' target='_blank'>"

function doc1(){
document.write(bible1 + "Deuteronomy%206:4" + bible2 + "Deuteronomy 6:4</a>, ");
document.write(bible1 + "Matthew%2028:19" + bible2 + "Matthew 28:19</a>, ");
document.write(bible1 + "Acts%207:55" + bible2 + "Acts 7:55</a>, ");
document.write(bible1 + "1%20Corinthians%208:6" + bible2 + "1 Corinthians 8:6</a>, ");
document.write(bible1 + "Hebrews%209:14" + bible2 + "Hebrews 9:14</a>, ");
document.write(bible1 + "John%205:6-8" + bible2 + "John 5:6-8</a>");
}

function doc2(){
document.write(bible1 + "Matthew%201:2" + bible2 + "Matthew 1:21</a>, ");
document.write(bible1 + "John%201:1-3" + bible2 + "John 1:1-3</a>, ");
document.write(bible1 + "John%2010:30" + bible2 + "John 10:30</a>, ");
document.write(bible1 + "Philippians%202:5-8" + bible2 + "Philippians 2:5-8</a>, ");
document.write(bible1 + "I%20Thessalonians%204:13-17" + bible2 + "I Thessalonians 4:13-17</a>, ");
document.write(bible1 + "I%20Timothy%203:16" + bible2 + "I Timothy 3:16</a> ");
}

function doc3(){
document.write(bible1 + "Matthew%2012:28" + bible2 + "Matthew 12:28</a>, ");
document.write(bible1 + "Luke%204:18" + bible2 + "Luke 4:18</a>, ");
document.write(bible1 + "Acts%201:8" + bible2 + "Acts 1:8</a>, ");
document.write(bible1 + "Romans%208:9-11" + bible2 + "Romans 8:9-11</a>, ");
document.write(bible1 + "I%20Corinthians%202:10-14" + bible2 + "I Corinthians 2:10-14</a> ");
}


function doc4(){
document.write(bible1 + "Romans%2015:4" + bible2 + "Romans 15:4</a>, ");
document.write(bible1 + "2%20Timothy%203:15–17" + bible2 + "2 Timothy 3:15–17 </a>, ");
document.write(bible1 + "Hebrews%204:12" + bible2 + "Hebrews 4:12</a>, ");
document.write(bible1 + "2%20Peter%201:20–21" + bible2 + "2 Peter 1:20–21</a> ");
}


function doc5(){
document.write(bible1 + "Psalms%208:4" + bible2 + "Psalms 8:4</a>, ");
document.write(bible1 + "Jeremiah%2017:5" + bible2 + "Jeremiah 17:5</a>, ");
document.write(bible1 + "Matthew%2016:26" + bible2 + "Matthew 16:26</a>, ");
document.write(bible1 + "Matthew%2019:17" + bible2 + "Matthew 19:17</a>, ");
document.write(bible1 + "Acts%2017:26-31" + bible2 + "Acts 17:26-31</a>, ");
document.write(bible1 + "Romans%203:23" + bible2 + "Romans 3:23 </a>, ");
document.write(bible1 + "Romans%205:12" + bible2 + "Romans 5:12</a>, ");
document.write(bible1 + "Ephesians%202:1-22" + bible2 + "Ephesians 2:1-22</a> ");
}

function doc6(){
document.write(bible1 + "Matthew%209:13" + bible2 + "Matthew 9:13</a>, ");
document.write(bible1 + "Luke%2024:47" + bible2 + "Luke 24:47</a>, ");
document.write(bible1 + "John%203:3" + bible2 + "John 3:3 </a>, ");
document.write(bible1 + "John%2015-17" + bible2 + "John 15-17</a>, ");
document.write(bible1 + "Acts%208:14" + bible2 + "Acts 8:14 </a>, ");
document.write(bible1 + "Acts%2020:21" + bible2 + "Acts 20:21</a>, ");
document.write(bible1 + "Romans%2010:9-13" + bible2 + "Romans 10:9-13</a>, ");
document.write(bible1 + "I%20Corinthians%2015:10" + bible2 + "I Corinthians 15:10</a>, ");
document.write(bible1 + "Ephesians%202:8-9" + bible2 + "Ephesians 2:8-9</a>, ");
document.write(bible1 + "James%202:14-26" + bible2 + "James 2:14-26</a>, ");
document.write(bible1 + "II%20Peter%203:9" + bible2 + "II Peter 3:9</a> ");
}

function doc7(){
document.write(bible1 + "Matthew%2028:19" + bible2 + "Matthew 28:19</a>, ");
document.write(bible1 + "Mark%201:9" + bible2 + "Mark 1:9</a>, ");
document.write(bible1 + "John%203:23" + bible2 + "John 3:23</a>, ");
document.write(bible1 + "Acts%202:41" + bible2 + "Acts 2:41</a>, ");
document.write(bible1 + "Romans%206:3-5" + bible2 + "Romans 6:3-5</a>, ");
}

function doc8(){
document.write(bible1 + "Matthew%2026:26-30" + bible2 + "Matthew 26:26-30</a>, ");
document.write(bible1 + "Mark%2014:22-26" + bible2 + "Mark 14:22-26</a>, ");
document.write(bible1 + "I%20Corinthians%2010:16" + bible2 + "I Corinthians 10:16</a>, ");
}

function doc9(){
document.write(bible1 + "John%2014:6" + bible2 + "John 14:6 </a>, ");
document.write(bible1 + "John%2020:17" + bible2 + "John 20:17</a>, ");
document.write(bible1 + "Hebrews%204:14-16" + bible2 + "Hebrews 4:14-16</a>, ");
document.write(bible1 + "I%20John%202:2" + bible2 + "I John 2:2 </a>, ");
document.write(bible1 + "I%20John%204:10" + bible2 + "I John 4:10</a>, ");
}

function doc10(){
document.write(bible1 + "Matthew%2016:15-19" + bible2 + "Matthew 16:15-19</a>, ");
document.write(bible1 + "Acts%202:41-42,47" + bible2 + "Acts 2:41-42,47 </a>, ");
document.write(bible1 + "Acts%2020:28" + bible2 + "Acts 20:28</a>, ");
document.write(bible1 + "I%20Corinthians%201:2" + bible2 + "I Corinthians 1:2</a>, ");
document.write(bible1 + "Ephesians%201:20-23" + bible2 + "Ephesians 1:20-23</a>, ");
document.write(bible1 + "Colossians%201:18" + bible2 + "Colossians 1:18</a>, ");
document.write(bible1 + "Hebrews%2010:25" + bible2 + "Hebrews 10:25</a> ");
}













