// JavaScript Document
<SCRIPT language="JavaScript1.2">

var sectionTitle = new Array(13); 
sectionTitle[0] = "Welcome";
sectionTitle[1] = "Our History";
sectionTitle[2] = "Our Services";
sectionTitle[3] = "Our Events";
sectionTitle[4] = "Our Campus";
sectionTitle[5] = "Camp Caraway";
sectionTitle[6] = "Our Location";
sectionTitle[7] = "Contact Us";
sectionTitle[8] = "Interested in Christ?";
sectionTitle[9] = "Welcome";
sectionTitle[10] = "Special Offers";
sectionTitle[11] = "Nearby Attractions";
sectionTitle[12] = "Thank You";

var sectionURL = new Array(13);
sectionURL[0] = "index1.shtml";
sectionURL[1] = "about.shtml";
sectionURL[2] = "services.shtml";
sectionURL[3] = "events.shtml";
sectionURL[4] = "campus.shtml";
sectionURL[5] = "http://www.campcaraway.org target=_blank";
sectionURL[6] = "location.shtml";
sectionURL[7] = "contactus.shtml";
sectionURL[8] = "learnmore.shtml";
sectionURL[9] = "";
sectionURL[10] = "specialoffers.shtml";
sectionURL[11] = "nearby.shtml";
sectionURL[12] = "ty.shtml";

var sectionGraphic = new Array(13);
sectionGraphic[0] = "images/welcomehead.gif";
sectionGraphic[1] = "images/abouthead.gif";
sectionGraphic[2] = "images/serviceshead.gif";
sectionGraphic[3] = "images/eventshead.gif";
sectionGraphic[4] = "images/campushead.gif";
sectionGraphic[5] = "";
sectionGraphic[6] = "images/locationhead.gif";
sectionGraphic[7] = "images/contactushead.gif";
sectionGraphic[8] = "images/learnmorehead.gif";
sectionGraphic[9] = "images/welcomehead.gif";
sectionGraphic[10] = "images/specialoffershead.gif";
sectionGraphic[11] = "images/nearbyhead.gif";
sectionGraphic[12] = "images/tyhead.gif";

// Do not edit below this line.

function writeTitle(whichTitle){
document.write(sectionTitle[whichTitle]);
}

function writeLink(whichSection){
document.write("<a href=" + sectionURL[whichSection] + ">" +  sectionTitle[whichSection] + "</a>");
}

function writeHeadSmallLink(whichSection){
document.write("<a href=" + sectionURL[whichSection] + " class=headsmallnav>" +  sectionTitle[whichSection] + "</a>");
}

function currentTitle(currentpage) {
	for (var i = 0; i < sectionURL.length; ++i) {    	
	  if (sectionURL[i]==currentpage) {
        var sectiontitle=sectionTitle[i];
		document.write(sectiontitle);
		var headTitle = sectiontitle + " - Caraway Conference Center and Camp.";
		document.title = headTitle;
		return
		 }
	}
}

function currentTitleGraphic(currentpage) {
	for (var i = 0; i < sectionURL.length; ++i) {    	
	  if (sectionURL[i]==currentpage) {
        var sectiontitle=sectionTitle[i];
        var sectiongraphic=sectionGraphic[i];
		document.write("<img src=" + sectiongraphic + " border=0 align=right hspace=0>");
		var headTitle = sectiontitle + " - Caraway Conference Center and Camp.";
		document.title = headTitle;
		return
		 }
	}
}


</SCRIPT>