var height = screen.availHeight - 200;
//alert(height);
var line = '<em>_____</em>';

var schedule;
schedule = '<img src=".//images/spacer.gif" width="1" height="1" align="left">'
+ '<table width="170" border="0" cellspacing="3" cellpadding="0" align="center"><TR>'
+ '<TH colspan="2" ALIGN="LEFT"><br><strong>Wednesday</strong></TH></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>5:30 pm </strong></TD> 			<TD ALIGN="LEFT" VALIGN="TOP">Choir Rehearsal</TD></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>6:45 pm </strong></TD> 			<TD ALIGN="LEFT" VALIGN="TOP">Prayer Service</TD></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>7:00 pm </strong></TD> 			<TD ALIGN="LEFT" VALIGN="TOP">Bible Study</TD></TR>'
+ '<TR><TH colspan="2" ALIGN="LEFT"><br><strong>3rd Wednesday</strong></TH></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>6:45 pm </strong></TD> 			<TD ALIGN="LEFT" VALIGN="TOP">Cancer Support</TD></TR>'
+ '<TR><TH colspan="2" ALIGN="LEFT"><br><strong>Saturday</strong></TH></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>9:30 am </strong></TD> 			<TD ALIGN="LEFT" VALIGN="TOP">Mission Meeting</TD></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>10:00 am </strong></TD> 		<TD ALIGN="LEFT" VALIGN="TOP">Ushers Meeting</TD></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>2:00 pm </strong></TD>			<TD ALIGN="LEFT" VALIGN="TOP">Outreach Ministry</TD></TR>'
+ '<TR><TH colspan="2" ALIGN="LEFT"><br><strong>Sunday</strong></TH></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>9:30 am </strong></TD> 			<TD ALIGN="LEFT" VALIGN="TOP">Sunday School</TD></TR>'
+ '<TR><TD ALIGN="LEFT" VALIGN="TOP"><strong>10:45&nbsp;am </strong></TD>	<TD ALIGN="LEFT" VALIGN="TOP">Morning Worship</TD></TR>'
+ '</TR></TABLE>';

var links;
links = '<table width="110" border="0" cellspacing="6" cellpadding="0" align="center"><tr><td>&nbsp;</td><td>'
+ '<a href="Articles of Faith.htm">Articles<br>of&nbsp;Faith</a><br>' + line + '<br>'
+ '<a href="Cancer_Suppt_For_Webs.html">Cancer<br>Support<br>Ministry</a><br>' + line + '<br>'
+ '<a href="http://www.familychristian.com/"</a>Christian<br>Book<br>Review<br>' + line + '<br>'  
+ '<a href="http://www.christian-movie.net/"</a>Christian<br>Movie<br>Review<br>' + line + '<br>'
+ '<a href="new_bylaws.htm">Church<br>ByLaws</a><br>' + line + '<br>'
+ '<a href="ministries.html">Church<br>Ministries</a><br>' + line + '<br>'
+ '<a href="calendar.html">Events<br>Calendar</a><br>' + line + '<br>'
+ '<a href="new_sermons.htm">Hear<br>Latest<br>Sermon</a><br>' + line + '<br>'
+ '<a href="http://www.biblegateway.com/"</a>Lookup<br>Bible<br>Verses<br>' + line + '<br>'
+ '<a href="covenant.html">Our<br>Covenant</a><br>' + line + '<br>'
+ '<a href="prayerrequest.html">Prayer<br>Request</a><br>' + line + '<br>'
+ '<a href="upcoming.html">Upcoming<br>Events</a><br>' + line + '<br>'
+ '</td><td>&nbsp;</td></tr></TABLE>';

function openLinkWindow(page){
	var newWin = window.open(page, 'Link', 'height=400,width=600,top=100,left=100,toolbar=no,menubar=no,scrollbars');
	newWin.focus();
}

var bodyStart = ''
+ '<map name="NAV">'
+ '<area alt="" coords="182,0,229,20" href="index.html">'
+ '<area alt="" coords="230,0,294,20" href="about.html">'
+ '<area alt="" coords="294,0,369,20" href="leader.html">'
+ '<area alt="" coords="370,0,431,19" href="location.html">'
+ '<area alt="" coords="432,0,506,20" href="contact.html">'
+ '</map>'
+ '<TABLE BORDER=0 HEIGHT="101%" CELLPADDING=0 CELLSPACING=0 ALIGN="CENTER">'
+ '	<TR>'
+ '		<TD ROWSPAN=7 BACKGROUND=".//images/nl_18.jpg" WIDTH="15"></TD>'
+ '		<TD HEIGHT="61"><IMG SRC=".//images/nl_02.jpg" WIDTH=180 HEIGHT=61 ALT=""></TD>'
+ '		<TD COLSPAN=3 HEIGHT="61"><IMG SRC=".//images/nl_03.jpg" WIDTH=505 HEIGHT=61 ALT=""></TD>'
+ '		<TD ROWSPAN=7 BGCOLOR="#CCCC99" VALIGN="TOP" ALIGN="CENTER"><BR><IMG SRC=".//images/nl_08.jpg" WIDTH=100 HEIGHT=111 ALT=""><BR><IMG SRC="images/nl_11.jpg" WIDTH=100 HEIGHT=22 ALT=""><br>'
+ links
+ '		</TD>'
+ '		<TD ROWSPAN=7 BACKGROUND=".//images/nl_22.jpg" WIDTH="15"></TD>'
+ '	</TR>'
+ '	<TR>'
+ '		<TD HEIGHT="111"><IMG SRC=".//images/nl_06.jpg" WIDTH=180 HEIGHT=111 ALT=""></TD>'
+ '		<TD COLSPAN=3 HEIGHT="111"><IMG SRC=".//images/nl_07.jpg" WIDTH=505 HEIGHT=111 ALT=""></TD>'
+ '	</TR>'
+ '	<TR>'
+ '		<TD HEIGHT="22"><IMG SRC=".//images/nl_09.jpg" ALT=""></TD>'
+ '		<TD COLSPAN=3 HEIGHT="22"><IMG SRC=".//images/nl_10.jpg" WIDTH=505 HEIGHT=22 ALT="" BORDER="0" USEMAP="#NAV"></TD>'
+ '	</TR>'
+ '	<TR>'
+ '		<TD ROWSPAN=5 BGCOLOR="#CCCC99" VALIGN="TOP">' + schedule + '</TD>'
+ '		<TD COLSPAN=5 VALIGN="TOP" HEIGHT="16"><IMG SRC=".//images/nl_13.jpg" WIDTH=505 HEIGHT=16 ALT=""></TD>'
+ '	</TR>'
+ '	<TR>'
+ '		<TD BACKGROUND=".//images/nl_19.jpg" WIDTH=20 VALIGN="TOP" ROWSPAN=3><IMG SRC=".//images/nl_15.jpg" WIDTH=20 HEIGHT=86 ALT=""></TD>'
+ '		<TD BGCOLOR="#FFFFCC" WIDTH="465" HEIGHT="' + height + '" VALIGN="TOP">';

var bodyEnd = '</TD>'
+ '		<TD BACKGROUND=".//images/nl_21.jpg" WIDTH=20 ROWSPAN=3>&nbsp;</TD>'
+ '	</TR>'
+ ' <TR><TD HEIGHT="10" BGCOLOR="#FFFFCC">&nbsp;</TD></TR>'
+ ' <TR><TD HEIGHT="10" BGCOLOR="#FFFFCC">&nbsp;</TD></TR>'
+ '</TABLE>';
