////////////////////////////////////
// Valley United Methodist Church //
////////////////////////////////////


function StartUp()
  {
	//Prevention from getting 'framed'
	FreeFrames()
	
	// if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) == "4")
	//	 { alert("The web site will not display properly with Netscape 4.\n\nPlease use Internet Explorer or Netscape 6.  We apologize for any inconvenience."); }

	LogoSet = '<TABLE ALIGN="center" BORDER="0" WIDTH="732" CELLPADDING="8" CELLSPACING="0" BGCOLOR="#ffffff"><TR>'
	LogoSet += '<TD ALIGN="left" VALIGN="top" COLSPAN="3" BGCOLOR="#003300" style="padding-left:0; padding-top:0; padding-right:0; padding-bottom:0;">'
	LogoSet += '<A href="index.html"><IMG SRC="cross.gif" alt="home" border="0" align="left" hspace="0" vspace="0"></A>'
	LogoSet += '<IMG SRC="valleybuildingsmall.jpg" border="0" align="right" hspace="8" vspace="8">'
	LogoSet += '<SPAN class="menu"><BR>&nbsp;&nbsp;</SPAN>'
	LogoSet += '<SPAN class="title"><B>Valley United Methodist Church</B></SPAN>'
	LogoSet += '<SPAN class="menu"><BR>&nbsp;&nbsp;Huntsville, Alabama<BR><BR>'
	LogoSet += '&nbsp;&nbsp;<I>We welcome you with open hearts, open minds, and open doors...</I></SPAN>'
	LogoSet += '</TD></TR><TR><TD ALIGN="left" VALIGN="top" CLASS="menu" nowrap><BR>'

	LogoSet += '> <A class="menu" href="index.html">Home</A><BR><BR>'
	LogoSet += '> <A class="menu" href="vision.html">Vision&nbsp;Statement</A><BR><BR>'
	LogoSet += '> <A class="menu" href="history.html">History</A><BR><BR>'
	LogoSet += '> <A class="menu" href="stainedglass.html">Stained&nbsp;Glass&nbsp;Windows</A><BR><BR>'
	LogoSet += '> <A class="menu" href="photos.html">Photo&nbsp;Gallery</A><BR><BR>'
	LogoSet += '> <A class="menu" href="newsletters.html">Monthly&nbsp;Newsletters</A><BR><BR>'

	LogoSet += '<img src="white.gif" width="128" height="1" hspace="0" vspace="0" ALIGN="middle"><BR><BR>'

	LogoSet += '> <A class="menu" href="school.html">Church School</A><BR><BR>'
	LogoSet += '> <A class="menu" href="ministries.html">Ministries</A><BR><BR>'
	LogoSet += '> <A class="menu" href="missions.html">Missions</A><BR><BR>'

	LogoSet += '<img src="white.gif" width="128" height="1" hspace="0" vspace="0" ALIGN="middle"><BR><BR>'

	LogoSet += '> <A class="menu" href="contact.html">Contact&nbsp;Us</A><BR><BR>'
	LogoSet += '> <A class="menu" href="directions.html">Directions&nbsp;and&nbsp;Maps</A><BR><BR>'
	LogoSet += '> <A class="menu" href="staff.html">Staff</A><BR><BR>'
	LogoSet += '> <A class="menu" href="links.html">Related&nbsp;Links</A><BR><BR>'

	// LogoSet += '<P class="menu" align="center"><IMG SRC="stainedglasssmall.gif" border="0" align="center" hspace="0" vspace="0"></P>'

	LogoSet += '</TD><TD ALIGN="left" VALIGN="top" class="text"><BR>';
	document.write(LogoSet);

	}

function FreeFrames()
	{
	// Prevention from getting 'framed'
	if (top != self)
		{ top.location = location }
	}

function Footer()
	{
	if (navigator.javaEnabled())
		{
		FooterSet = '<BR></TD><TD WIDTH="2" CLASS="menu" style="padding:0;"><img src="dot.gif" border="0" hspace=0 vspace=0></TD>'
		FooterSet += '</TR><TR><TD HEIGHT="2" ALIGN="center" VALIGN="top" COLSPAN="3" class="menu" style="padding:0;">'
		FooterSet += '<IMG SRC="dot.gif" border=0 vspace=0></TD></TR>'    
		FooterSet += '<TR><TD ALIGN="center" VALIGN="top" colspan="3"><SPAN class="text">'
		FooterSet += '<A HREF="javascript:history.back()">Back</A> | <A HREF="index.html">Home</A> | <A HREF="contact.html">Contact&nbsp;Us</A>'
		FooterSet += '</SPAN><FONT size=1 face="Arial, Helvetica, san-serif"><BR><BR>'

		document.write(FooterSet)

		// display the date in which the current page was last updated - this is fancy! - No MANUAL date changes!
		// Netscape is sometimes stupid in getting the year - for '2000' it returns '100'.
		update = new Date(document.lastModified)
		theMonth = update.getMonth() + 1
		theDate = update.getDate()
		theYear = update.getYear()
		Modified = 'Last updated: ' + theMonth + '-' + theDate + '-' + theYear + '<BR></FONT></TD></TR></TABLE>'

		document.write(Modified)

		}
	}


