<!--
/**********************************************
* Audio File Window 
***********************************************/

// audsource = audio file to be played e.g. lecture.mp3

function listenNow(audsource)
{
	lnkName = 'http://www.rbcnc.com/resources/audio/'
	lnkName += audsource

	listenWin = window.open('', 'Streaming', 'Width=450,Height=100,Resizable=no,Scrollbars=no,top=100,screenX=100,screenY=100')
	listenWin.document.write("<HEAD>");
	listenWin.document.write("<link rel=stylesheet href='http://www.rbcnc.com/style.css' type='text/css'>");
	listenWin.document.write("</HEAD>");
	listenWin.document.write("<BODY class='popwindow'>");
	listenWin.document.write("<embed type='application/x-shockwave-flash' src='http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=" +lnkName+ "' width='400' height='27' allowscriptaccess='never' quality='best' bgcolor='#ffffff' wmode='window' flashvars='playerMode=embedded' />");
	listenWin.document.write("<center><br><A HREF='#' onClick='window.close()'>Close</A></center>");
	listenWin.document.write("</BODY>");
}
 






/**********************************************
* Picture Loader and Viewer 
***********************************************/

function picOpen(source)
{

	potwWindow = window.open ('','POTW','height=520,width=650,toolbars=no,scrollbars=no,resizable=yes')
	potwWindow.document.write("<HEAD>");
	potwWindow.document.write("<link rel=stylesheet href='style.css' type='text/css'>");
	potwWindow.document.write("</HEAD>");
	potwWindow.document.write("<BODY class='popwindow'>");
	potwWindow.document.write("<img src=" +source+ " WIDTH=600>");
	potwWindow.document.write("<br><br><A HREF='#' onClick='window.close()'>Close</A>");
	potwWindow.document.write("</BODY>");
}


/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1 -'Home'
var menu1=new Array()
menu1[0]='<a href="http://www.rbcnc.com/home/news.html">News</a>'
menu1[1]='<a href="http://www.rbcnc.com/home/contact.html">Contact us</a>'
menu1[2]='<a href="http://www.rbcnc.com/home/directions.html">Directions</a>'


//Contents for menu 2 -"About Us"
var menu2=new Array()
menu2[0]='<a href="http://www.rbcnc.com/aboutus/history.html">History</a>'
menu2[1]='<a href="http://www.rbcnc.com/aboutus/beliefs.html">Beliefs</a>'
menu2[2]='<a href="http://www.rbcnc.com/aboutus/liturgy.html">Liturgy</a>'
menu2[3]='<a href="http://www.rbcnc.com/aboutus/leadership.html">Leadership</a>'
menu2[4]='<a href="http://www.rbcnc.com/jackson/plant.html">Church Plant</a>'
//menu2[4]='<a href="http://www.rbcnc.com/aboutus/newmembers.html">New Members</a>'

//Contents for menu 3 -"Pastor's Desk"
var menu3=new Array()
//menu3[0]='<a href="http://www.rbcnc.com/desk/sermonnotes.html">Sermon Notes</a>'
menu3[1]='<a href="http://www.rbcnc.com/desk/pen.html">Pastor\'s Pen</a>'
menu3[2]='<a href="http://www.rbcnc.com/desk/papers.html">Papers</a>'
//menu3[3]='<a href="http://www.rbcnc.com/desk/articles.html">Articles</a>'
//menu3[4]='<a href="http://www.rbcnc.com/desk/misc.html">Misc.</a>'

//Contents for menu 4 -"Resources"
var menu4=new Array()
menu4[0]='<a href="http://www.rbcnc.com/resources/sermons.html">Sermons</a>'
menu4[1]='<a href="http://www.rbcnc.com/resources/media.html">Media</a>'
//menu4[2]='<a href="http://www.rbcnc.com/resources/bulletins.html">Bulletins</a>'
//menu4[3]='<a href="http://www.rbcnc.com/resources/newsletters.html">Newsletters</a>'
menu4[4]='<a href="http://www.rbcnc.com/resources/calendar.html">Calendar</a>'
//menu4[4]='<a href="http://www.rbcnc.com/resources/music.html">Music</a>'
//menu4[5]='<a href="http://www.rbcnc.com/resources/pictures.html">Pictures</a>'
menu4[5]='<a href="http://www.rbcnc.com/resources/links.html">Links</a>'

		
var menuwidth='165px' //default menu width
var menubgcolor='white'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu















/***************************************************************************************
	JavaScript Calendar - Digital Christian Design
	//Script featured on and available at JavaScript Kit: http://www.javascriptkit.com
	// Functions
		changedate(): Moves to next or previous month or year, or current month depending on the button clicked.
		createCalendar(): Renders the calander into the page with links for each to fill the date form filds above.
			
***************************************************************************************/

var thisDate = 1;							// Tracks current date being written in calendar
var wordMonth = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var today = new Date();							// Date object to store the current date
var todaysDay = today.getDay() + 1;					// Stores the current day number 1-7
var todaysDate = today.getDate();					// Stores the current numeric date within the month
var todaysMonth = today.getUTCMonth() + 1;				// Stores the current month 1-12
var todaysYear = today.getFullYear();					// Stores the current year
var monthNum = todaysMonth;						// Tracks the current month being displayed
var yearNum = todaysYear;						// Tracks the current year being displayed
var firstDate = new Date(String(monthNum)+"/1/"+String(yearNum));	// Object Storing the first day of the current month
var firstDay = firstDate.getUTCDay();					// Tracks the day number 1-7 of the first day of the current month
var lastDate = new Date(String(monthNum+1)+"/0/"+String(yearNum));	// Tracks the last date of the current month
var numbDays = 0;
var calendarString = "";
var eastermonth = 0;
var easterday = 0;


function changedate(buttonpressed) {
	if (buttonpressed == "prevyr") yearNum--;
	else if (buttonpressed == "nextyr") yearNum++;
	else if (buttonpressed == "prevmo") monthNum--;
	else if (buttonpressed == "nextmo") monthNum++;
	else  if (buttonpressed == "return") { 
		monthNum = todaysMonth;
		yearNum = todaysYear;
	}

	if (monthNum == 0) {
		monthNum = 12;
		yearNum--;
	}
	else if (monthNum == 13) {
		monthNum = 1;
		yearNum++
	}

	lastDate = new Date(String(monthNum+1)+"/0/"+String(yearNum));
	numbDays = lastDate.getDate();
	firstDate = new Date(String(monthNum)+"/1/"+String(yearNum));
	firstDay = firstDate.getDay() + 1;
	createCalendar();
	return;
}


function easter(year) {
// feed in the year it returns the month and day of Easter using two GLOBAL variables: eastermonth and easterday
var a = year % 19;
var b = Math.floor(year/100);
var c = year % 100;
var d = Math.floor(b/4);
var e = b % 4;
var f = Math.floor((b+8) / 25);
var g = Math.floor((b-f+1) / 3);
var h = (19*a + b - d - g + 15) % 30;
var i = Math.floor(c/4);
var j = c % 4;
var k = (32 + 2*e + 2*i - h - j) % 7;
var m = Math.floor((a + 11*h + 22*k) / 451);
var month = Math.floor((h + k - 7*m + 114) / 31);
var day = ((h + k - 7*m +114) % 31) + 1;
eastermonth = month;
easterday = day;
}


function createCalendar() {
	calendarString = '';
	var daycounter = 0;
	calendarString += '<table width="312" style="border-collapse: collapse" border="1" cellpadding="0" cellspacing="1">';
	calendarString += '<tr>';
	calendarString += '<td bgcolor=\"#95B0D2\" align=\"center\" valign=\"center\" width=\"40\" height=\"40\"><a href=\"#\" onClick=\"changedate(\'prevyr\') ;return false\">Prev Year<\/a><\/td>';
	calendarString += '<td bgcolor=\"#95B0D2\" align=\"center\" valign=\"center\" width=\"40\" height=\"40\"><a href=\"#\" onClick=\"changedate(\'prevmo\') ;return false\">Prev Month<\/a><\/td>';
	calendarString += '<td bgcolor=\"#95B0D2\" align=\"center\" valign=\"center\" width=\"128\" height=\"40\" colspan=\"3\"><b>' + wordMonth[monthNum-1] + '&nbsp;&nbsp;' + yearNum + '<\/b><\/td>';
	calendarString += '<td bgcolor=\"#95B0D2\" align=\"center\" valign=\"center\" width=\"40\" height=\"40\"><a href=\"#\" onClick=\"changedate(\'nextmo\') ;return false\">Next Month<\/a><\/td>';
	calendarString += '<td bgcolor=\"#95B0D2\" align=\"center\" valign=\"center\" width=\"40\" height=\"40\"><a href=\"#\" onClick=\"changedate(\'nextyr\') ;return false\">Next Year<\/a><\/td>';
	calendarString += '<\/tr>';
	calendarString += '<tr>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Sun<\/td>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Mon<\/td>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Tue<\/td>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Wed<\/td>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Thu<\/td>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Fri<\/td>';
	calendarString += '<td bgcolor=\"#DDDDDD\" align=\"center\" valign=\"center\" width=\"40\" height=\"22\">Sat<\/td>';
	calendarString += '<\/tr>';

	thisDate == 1;

	for (var i = 1; i <= 6; i++) {
		calendarString += '<tr>';
		for (var x = 1; x <= 7; x++) {
			daycounter = (thisDate - firstDay)+1;
			thisDate++;
			if ((daycounter > numbDays) || (daycounter < 1)) {
				calendarString += '<td align=\"center\" bgcolor=\"#888888\" height=\"30\" width=\"40\">&nbsp;<\/td>';
			} else {
				if (checkevents(daycounter,monthNum,yearNum,i,x) || ((todaysDay == x) && (todaysDate == daycounter) && (todaysMonth == monthNum))){
					if ((todaysDay == x) && (todaysDate == daycounter) && (todaysMonth == monthNum)) {
						calendarString += '<td align=\"center\" bgcolor=\"#CCFFCC\" height=\"30\" width=\"40\"><a href=\"javascript:showevents(' + daycounter + ',' + monthNum + ',' + yearNum + ',' + i + ',' + x + ')\">' + daycounter + '<\/a><\/td>';
					}
 					else	calendarString += '<td align=\"center\" bgcolor=\"#95B0D2\" height=\"30\" width=\"40\"><a href=\"javascript:showevents(' + daycounter + ',' + monthNum + ',' + yearNum + ',' + i + ',' + x + ')\">' + daycounter + '<\/a><\/td>';
				} else {
					calendarString += '<td align=\"center\" bgcolor=\"#FFFFFF\" height=\"30\" width=\"40\">' + daycounter + '<\/td>';
				}
			}
		}
		calendarString += '<\/tr>';
	}

	calendarString += '<tr><td colspan=\"7\" nowrap align=\"center\" valign=\"center\" bgcolor=\"#95B0D2\" width=\"280\" height=\"22\"><a href=\"javascript:changedate(\'return\')\">Show Current Date<\/a><\/td><\/tr><\/table>';

	var object=document.getElementById('calendar');
	object.innerHTML= calendarString;
	thisDate = 1;
}


function checkevents(day,month,year,week,dayofweek) {
var numevents = 0;
var floater = 0;

	for (var i = 0; i < events.length; i++) {
		if (events[i][0] == "W") {
			if ((events[i][2] == dayofweek)) numevents++;
		}
		else if (events[i][0] == "Y") {
			if ((events[i][2] == day) && (events[i][1] == month)) numevents++;
		}
		else if (events[i][0] == "F") {
			if ((events[i][1] == 3) && (events[i][2] == 0) && (events[i][3] == 0) ) {
				easter(year);
				if (easterday == day && eastermonth == month) numevents++;
			} else {
				floater = floatingholiday(year,events[i][1],events[i][2],events[i][3]);
				if ((month == 5) && (events[i][1] == 5) && (events[i][2] == 4) && (events[i][3] == 2)) {
					if ((floater + 7 <= 31) && (day == floater + 7)) {
						numevents++;
					} else if ((floater + 7 > 31) && (day == floater)) numevents++;
				} else if ((events[i][1] == month) && (floater == day)) numevents++;
			}
		}
		else if ((events[i][2] == day) && (events[i][1] == month) && (events[i][3] == year)) {
			numevents++;
		}
	}

	if (numevents == 0) {
		return false;
	} else {
		return true;
	}
}


function showevents(day,month,year,week,dayofweek) {
var theevent = "";
var floater = 0;
var missweek = 0;

	for (var i = 0; i < events.length; i++) {
		// First we'll process recurring events (if any):
		if (events[i][0] != "") {
			if (events[i][0] == "D") {
			}
			if (events[i][0] == "W") {
				if ((events[i][2] == dayofweek)) {
				theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
//				theevent += events[i][6] + '\n';
//				theevent += 'Start Time: ' + events[i][4] + '\n';
//				theevent += 'Ending Time: ' + events[i][5] + '\n';
				theevent += events[i][7] + '\n';
				theevent += '\n -------------- \n\n';
				document.forms.eventform.eventlist.value = theevent;
				}
			}
			if (events[i][0] == "M") {
				if ((events[i][1] == month) && (events[i][2] == dayofweek)) {
				theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
				theevent += events[i][7] + '\n';
				theevent += '\n -------------- \n\n';
				document.forms.eventform.eventlist.value = theevent;
				}
			}
			if (events[i][0] == "Y") {
				if ((events[i][2] == day) && (events[i][1] == month)) {
				theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
				theevent += events[i][7] + '\n';
				theevent += '\n -------------- \n\n';
				document.forms.eventform.eventlist.value = theevent;
				}
			}
			if (events[i][0] == "F") {
				if ((events[i][1] == 3) && (events[i][2] == 0) && (events[i][3] == 0) ) {
					if (easterday == day && eastermonth == month) {
						theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
						theevent += events[i][7] + '\n';
						theevent += '\n -------------- \n\n';
						document.forms.eventform.eventlist.value = theevent;
					} 
				} else {
					floater = floatingholiday(year,events[i][1],events[i][2],events[i][3]);

					if ((month == 5) && (events[i][1] == 5) && (events[i][2] == 4) && (events[i][3] == 2)) {
						if ((floater + 7 <= 31) && (day == floater + 7)) {
							theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
							theevent += events[i][7] + '\n';
							theevent += '\n -------------- \n\n';
							document.forms.eventform.eventlist.value = theevent;
						} else if ((floater + 7 > 31) && (day == floater)) {
							theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
							theevent += events[i][7] + '\n';
							theevent += '\n -------------- \n\n';
							document.forms.eventform.eventlist.value = theevent;
						}
					} else if ((events[i][1] == month) && (floater == day)) {
						theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
						theevent += events[i][7] + '\n';
						theevent += '\n -------------- \n\n';
						document.forms.eventform.eventlist.value = theevent;
					}
				}
		}
		}
		// Now we'll process any One Time events happening on the matching month, day, year:
		else if ((events[i][2] == day) && (events[i][1] == month) && (events[i][3] == year)) {
			theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
//			theevent += events[i][6] + '\n';
//			theevent += 'Start Time: ' + events[i][4] + '\n';
//			theevent += 'Ending Time: ' + events[i][5] + '\n';
			theevent += events[i][7] + '\n';
			theevent += '\n -------------- \n\n';
			document.forms.eventform.eventlist.value = theevent;
		}
	}
	if (theevent == "") document.forms.eventform.eventlist.value = 'No events to show.';
}


function floatingholiday(targetyr,targetmo,cardinaloccurrence,targetday) {
// Floating holidays/events of the events.js file uses:
//	the Month field for the Month (here it becomes the targetmo field)
//	the Day field as the Cardinal Occurrence  (here it becomes the cardinaloccurrence field)
//		1=1st, 2=2nd, 3=3rd, 4=4th, 5=5th, 6=6th occurrence of the day listed next
//	the Year field as the Day of the week the event/holiday falls on  (here it becomes the targetday field)
//		1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thurday, 6=Friday, 7=Saturday
//	example: "F",	"1",	"3",	"2", = Floating holiday in January on the 3rd Monday of that month.
//
// In our code below:
// 	targetyr is the active year
// 	targetmo is the active month (1-12)
// 	cardinaloccurrence is the xth occurrence of the targetday (1-6)
// 	targetday is the day of the week the floating holiday is on
//		0=Sun; 1=Mon; 2=Tue; 3=Wed; 4=Thu; 5=Fri; 6=Sat
//		Note: subtract 1 from the targetday field if the info comes from the events.js file
//
// Note:
//	If Memorial Day falls on the 22nd, 23rd, or 24th, then we add 7 to the dayofmonth to the result.
//
// Example: targetyr = 2052; targetmo = 5; cardinaloccurrence = 4; targetday = 1
//	This is the same as saying our floating holiday in the year 2052, is during May, on the 4th Monday
//
var firstdate = new Date(String(targetmo)+"/1/"+String(targetyr));	// Object Storing the first day of the current month.
var firstday = firstdate.getUTCDay();	// The first day (0-6) of the target month.
var dayofmonth = 0;	// zero out our calendar day variable.

	targetday = targetday - 1;

	if (targetday >= firstday) {
		cardinaloccurrence--;	// Subtract 1 from cardinal day.
		dayofmonth = (cardinaloccurrence * 7) + ((targetday - firstday)+1);
	} else {
		dayofmonth = (cardinaloccurrence * 7) + ((targetday - firstday)+1);
	}
return dayofmonth;
}





// This is the Database of Upcoming Events
// Please Edit with Care.
//
// 8 Fields (surrounded by brackets[]) are used for EACH event:
// 	["Recurring", "Month", "Day", "Year", "StartTime", "EndTime", "Name", "Description"]
// 	Each event field must be be surrounded by quotation marks followed by a comma ("",) EXCEPT the "Description" field.
//	The "Description" field is surrounded by quotation marks only ("").
//
// Each event has a comma after the closing bracket IF another event is below it on the next line down.
//	Note: The last event in this file should NOT have a comma after the closing bracket
//
// The Recurring field uses:
//	"D" = Daily; "W" = Weekly; "M" = Monthly; "Y" = Yearly; "F" = Floating Holiday
//
// One Time only events should leave the Recurring field blank
//	(ex. "")
//
// Daily events do NOT require that anything be in the Month Day and Year fields
//	Everything in the Month Day and Year fields will be ignored
//
// Weekly events should have the day of the week field set to 1 - 7
//	1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thurday, 6=Friday, 7=Saturday
//
// "F"loating events uses:
//	the Month field for the Month.
//	the Day field as the Cardinal Occurrence
//		1=1st, 2=2nd, 3=3rd, 4=4th, 5=5th, 6=6th occurrence of the day listed next
//	the Year field as the Day of the week the event/holiday falls on
//		1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thurday, 6=Friday, 7=Saturday
//	example: "F",	"1",	"3",	"2", = Floating holiday in January on the 3rd Monday of that month.
//
//	Note: Easter has it's own special formula so Please don't change anything related to Easter below
//
// "Y"early events are specific dates that never change - the Year field is ignored
//	example - Christmas is: "12","25","",



//**********************************************          **********************************************************
//********************************************** HOLIDAYS **********************************************************
//**********************************************          **********************************************************
events = new Array(
	["Y",	"1",	"1",	"2006",	"1:00 AM",	"12:00 PM",	"",	"New Year's Day"],
	["F",	"1",	"3",	"2",	"1:00 AM",	"12:59 PM",	"",	"Martin Luther King Day"],
	["Y",	"2",	"2",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Groundhog Day"],
	["Y",	"2",	"14",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Valentine's Day"],
	["F",	"2",	"3",	"2",	"1:00 AM",	"12:59 PM",	"",	"President's Day"],
	["F",	"3",	"0",	"0",	"1:00 AM",	"12:59 PM",	"",	"Easter Sunday"],
	["Y",	"3",	"17",	"2005",	"1:00 AM",	"12:59 PM",	"",	"St. Patrick's Day"],
	["F",	"5",	"2",	"1",	"1:00 AM",	"12:59 PM",	"",	"Mother's Day"],
	["F",	"5",	"3",	"7",	"1:00 AM",	"12:59 PM",	"",	"Armed Forces Day"],
	["F",	"5",	"4",	"2",	"1:00 AM",	"12:59 PM",	"",	"Memorial Day"],
	["Y",	"6",	"14",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Flag Day"],
	["F",	"6",	"3",	"1",	"1:00 AM",	"12:59 PM",	"",	"Father's Day"],
	["Y",	"7",	"4",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Independence Day"],
	["F",	"9",	"1",	"2",	"1:00 AM",	"12:59 PM",	"",	"Labor Day"],
	["F",	"10",	"2",	"2",	"1:00 AM",	"12:59 PM",	"",	"Columbus' Day"],
	["Y",	"10",	"31",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Reformation Day/Halloween"],
	["Y",	"11",	"11",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Veteran's Day"],
	["F",	"11",	"4",	"5",	"1:00 AM",	"12:59 PM",	"",	"Thanksgiving"],
	["Y",	"12",	"25",	"2005",	"1:00 AM",	"12:59 PM",	"",	"Christmas Day"],




//**********************************************        **********************************************************
//********************************************** CHURCH **********************************************************
//********************************************** EVENTS **********************************************************
//**********************************************        **********************************************************

	["M",	"",	"4",	"2007",	"6:30 PM",	"8:00 PM",	"",	"Ladies Bible Study\nStarts at 7:00 PM\nContact Debbie Straub for more information"],
//	["",	"4",	"18",	"2007",	"6:30 PM",	"8:00 PM",	"",	"Ladies Bible Study\nStarts at 7:00 PM\nContact Debbie Straub //for more information"],
	["W",	"",	"4",	"",	"6:30 PM",	"8:00 PM",	"",	"Mens Bible Study\nStarts at 7:00 PM\nContact Tim Nehrbass for more information"],
	["",	"4",	"8",	"2007",	"6:30 PM",	"8:30 PM",	"",	"RBCNC Evening Service"],
	["",	"4",	"22",	"2007",	"6:30 PM",	"8:30 PM",	"",	"RBCNC Evening Service"],
	["",	"4",	"14",	"2007",	"9:00 AM",	"11:00 AM",	"",	"Mens' Prayer Breakfast\nMeets at church"],
	["",	"5",	"12",	"2007",	"9:00 AM",	"11:00 AM",	"",	"Mens' Prayer Breakfast\nMeets at church"],


//** Cancelations **
//	["",	"4",	"3",	"2007",	"6:30 PM",	"8:00 PM",	"",	"-Update- Mens Bible Study Cancelled"],

//**********************************************           **********************************************************
//********************************************** BIRTHDAYS **********************************************************
//**********************************************           **********************************************************

	["Y",	"1",	"7",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Amy Fitch's Birthday"],
	["Y",	"1",	"13",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Elbert Bonner's Birthday"],
	
	["Y",	"2",	"3",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Joyce Van Dorn's Birthday"],
	["Y",	"2",	"17",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Andrew Bonner's Birthday"],
	["Y",	"2",	"27",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Stan Campbell's Birthday"],

	["Y",	"3",	"27",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Mason Staub's Birthday"],
	["Y",	"3",	"27",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Benjamin Nehrbass' Birthday"],

	["Y",	"4",	"1",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Loreta Rodriguez' Birthday"],
	["Y",	"4",	"8",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Randy Weinard's Birthday"],
	["Y",	"4",	"15",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Jonathan Fitch's Birthday"],
	["Y",	"4",	"28",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Doug Van Dorn's Birthday"],

	["Y",	"5",	"7",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Janelle Van Dorn's Birthday"],
	["Y",	"5",	"31",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Sean Kielian's Birthday"],

	["Y",	"6",	"28",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Pete Van Dorn's Birthday"],

	["Y",	"7",	"11",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Breanna Van Dorn's Birthday"],

	["Y",	"8",	"3",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Bill Hunter's Birthday"],
	["Y",	"8",	"29",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Betty Hunter's Birthday"],

	["Y",	"9",	"2",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Alesha Van Dorn's Birthday"],
	["Y",	"9",	"3",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"KaraBeth Bonner's Birthday"],
	["Y",	"9",	"8",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Tim Nehrbass' Birthday"],
	["Y",	"9",	"12",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Keith Thompson's Birthday"],
	["Y",	"9",	"20",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Angie Nehrbass' Birthday"],
	["Y",	"9",	"22",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Shawn Bonner's Birthday"],

	["Y",	"10",	"2",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Heather Bonner's Birthday"],
	["Y",	"10",	"16",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Adam Bonner's Birthday"],
	["Y",	"10",	"18",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Charity Bonner's Birthday"],

	["Y",	"11",	"8",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Faye Campbell's Birthday"],
	["Y",	"11",	"27",	"2007",	"12:01 AM",	"12:59 PM",	"Birthday",	"Debbie Staub's Birthday"]





// Please omit the final comma after the ] from the last line above unless you are going to add another event at this time.
);




-->