			function upcoming_on() {
				var bls = document.getElementById('upcoming');
				bls.style.display = 'block';}
			
			function upcoming_off() { {
				var bws= document.getElementById('sunday');
				bws.style.display = 'none';} {
				var bvs=document.getElementById('visitors');
				bvs.style.display = 'none';}}
				
			
			function upcoming() {
			upcoming_on();
			upcoming_off();
			}
				
			function sunday_on() {
				var bws = document.getElementById('sunday');
				bws.style.display = 'block';}
			
			function sunday_off() {{
				var bls = document.getElementById('upcoming');
				bls.style.display = 'none';}{
				var bvs=document.getElementById('visitors');
				bvs.style.display = 'none';}}
			
			function sunday() {
			sunday_on();
			sunday_off();
			}
			
			function visitors_on() {
				var bvs = document.getElementById('visitors');
				bvs.style.display = 'block';}
			
			function visitors_off() {{
				var bls = document.getElementById('upcoming');
				bls.style.display = 'none';}{
				var bws=document.getElementById('sunday');
				bws.style.display = 'none';}}
			
			function visitors() {
			visitors_on();
			visitors_off();
			}
			
	function upcoming_events()
	{
	if (event1 == "") {
			document.write("");
			}
		else
			{
			document.write(event1);
			document.write('<br/>');
			}
		if (event2 == "") {
			document.write("");
			}
		else
			{
			document.write(event2);
			document.write('<br/>');
			}
		if (event3 == "") {
			document.write("");
			}
		else
			{
			document.write(event3);
			document.write('<br/>');
			}
		if (event4 == "") {
			document.write("");
			}
		else
			{
			document.write(event4);
			document.write('<br/>');
			}
		if (event5 == "") {
			document.write("");
			}
		else
			{
			document.write(event5);
			document.write('<br/>');
			}
		}
		
	function today()
	{
		var d=new Date()
		theDay=d.getDay()
		switch (theDay)
			{
			case 0:
				document.write("See you in church!")
				break
			case 1: 
				document.write("Guy\'s Bible Study - <i>5:30pm</i><br/>Gospel Choir Practice - <i>7pm</i>")
				break
			case 2:
				document.write("<i>Family Night - 6:30pm</i> ")
				break
			case 3:
				document.write("<i>Men\'s Bible Study (6am) @ IHOP</i>")
				break
			case 4:
				document.write("Check our calendar<br/>for events today")
				break
			case 6:
				document.write("<i>Men's Bible Study today<br/> 7:00am @ VBC</i>")
				break
			default:
				document.write("Questions? <a href='Contact/contact.html'>Contact us.</a>")
			}
	}
	