function MenuTable(ThisPage) {
	var stable = new String();

	stable = "";
	stable = stable + "<table border=0 width=100% cellspacing=0 cellpadding=0>";
	stable = stable + "  <tr>";
	stable = stable + "    <td width=13><img border=0 src='images/drlogo4as.gif' width=113 height=114></td>";
	stable = stable + "    <td width=87%><img border=0 src='images/drname.gif' width=508 height=61></td>";
	stable = stable + "  </tr>";
	stable = stable + "</table>";
	stable = stable + "<table border=0 width=600px cellspacing=1 cellpadding=0>";
	stable = stable + "  <tr>";
	stable = stable + "    <td width=16% align=center><font face=Arial size=4><b>" + ThisPage + "</b></font></a></td>";
	stable = stable + "    <td width=14% align=center><a href='http://jdl2/churchhere'><font face=Arial><b>Home</b></font></a></td>";
	stable = stable + "    <td width=14% align=center><a href='news.htm'><font face=Arial><b>News</b></font></a></td>";
	stable = stable + "    <td width=14% align=center><a href='gospel.htm'><font face=Arial><b>Gospel</b></font></a></td>";
	stable = stable + "    <td width=14% align=center><a href='about.htm'><font face=Arial><b>About Us</b></font></a></td>";
	stable = stable + "    <td width=14% align=center><a href='faqs.htm'><font face=Arial><b>FAQS</b></font></a></td>";
	stable = stable + "    <td width=14% align=center><a href='links.htm'><font face=Arial><b>Links</b></font></a></td>";
	stable = stable + "  </tr>";
	stable = stable + "</table><hr>";
	return stable;
}

function PopUp1(PageToLoad) {
	Newwindow=window.open(PageToLoad, "Newwindow",
				"scrollbars=1, toolbar=0, status=0, menubar=0, rezisable=0, location=0, directories=0, width=350,height=250");
	Newwindow.focus();
	Newwindow.document.close();
}

function sDay(nDay) {
    switch (nDay) {
	case 0: return "Sunday";
	case 1: return "Monday";
	case 2: return "Tuesday";
	case 3: return "Wednesday";
	case 4: return "Thursday";
	case 5: return "Friday";
	case 6: return "Saturday";
	}
	return "Oops";
}
	
function sMonth(nMonth) {
    switch (nMonth) {
	case 0: return "January";
	case 1: return "February";
	case 2: return "March";
	case 3: return "April";
	case 4: return "May";
	case 5: return "June";
	case 6: return "July";
	case 7: return "August";
	case 8: return "September";
	case 9: return "October";
	case 10: return "November";
	case 11: return "December";
	}
	return "Oops";
}
	
function NiceDate(pDate) {
	var mDate = new Date();
	var sDate = new String();
	var explorerTest = navigator.appName.indexOf("Microsoft") + 1;
	var offsetNS = 0;

	if (explorerTest == 0) offsetNS = 1900;
	sDate = sDay(mDate.getDay(pDate));
	sDate = sDate + " " + sMonth(mDate.getMonth(pDate));
	sDate = sDate + " " + mDate.getDate(pDate);
	sDate = sDate + " " + (mDate.getYear(pDate) + offsetNS);
	return sDate;
}



