function ShowDateTime(dateStyle)
{
	var today = new Date();
	var dStr = "";
	//alert(dateStyle);
	switch (dateStyle)
	{
		case 1:
			//dStr = today.toDateString();
			break;
		case 3:
			dStr = today.toLocaleString();
			break;
		case 4:
			//dStr = today.toLocaleTimeString();
			break;
		case 2:
		default:
			//dStr = today.toLocaleDateString();
			break;
	}
	
	document.write(dStr.substring(0,10));

}



function showImage()
{
	var imageDir = "images/";
	var weekdayImages = new Array("forest.jpg","forest3.jpg", "forest4.jpg","forest5.jpg","forest7.jpg","forest8.jpg","forest9.jpg");
	var today = new Date();
	document.write('<img border="0" src="' + imageDir + weekdayImages[today.getDay()] + '">');
}

function showArticle(section)
{
	
	
	var Article1 = "<tr><td colspan=2><B>Deep down</B> </td></tr><tr><td><p>Deep down in your heart, do you feel that there must be something more to this life? Doesn't the best things that happen in your life just seem to wet your appetite to hint at something more grand and spectacular? </td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=deepdown.html>More</a></td></tr>";

	var Article2 = "<tr><td colspan=2><B>What does the future hold ?</B> </td></tr><tr><td><p>The future and future events has always sparked an interest. Many people know that the Bible does foretell future events, what does the Bible say about the future...</td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=futureEvents.html>More</a></td></tr>";
	var Article3 = "<tr><td colspan=2><B>Deep down</B> </td></tr><tr><td><p>Deep down in your heart, do you feel that there must be something more to this life? Doesn't the best things that happen in your life just seem to wet your appetite to hint at something more grand and spectacular? </td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=deepdown.html>More</a></td></tr>";

	var Article4 = "<tr><td colspan=2><B>California Wild fires</B> </td></tr><tr><td><p>California has been long known for its warm weather and beautiful beaches. The last few days, California has been on the national headlines for its wild fires... </td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=wildfires.html>More</a></td></tr>";

	var Article5 = "<tr><td colspan=2><B>What is stopping us ?</B> </td></tr><tr><td><p>I think we sometimes forget all the promises that God has for those who diligently serve Him and therefore we don't serve Him with a grateful heart. </td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=serving.html>More</a></td></tr>";

	var Article6 = "<tr><td colspan=2><B>Deep down</B> </td></tr><tr><td><p>Deep down in your heart, do you feel that there must be something more to this life? Doesn't the best things that happen in your life just seem to wet your appetite to hint at something more grand and spectacular? </td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=deepdown.html>More</a></td></tr>";

	var Article7 = "<tr><td colspan=2><B>California Wild fires</B> </td></tr><tr><td><p>California has been long known for its warm weather and beautiful beaches. The last few days, California has been on the national headlines for its wild fires... </td></tr><tr><td colspan=2 nowrap align =right valign=bottom>... <a href=wildfires.html>More</a></td></tr>";

		
	var weekdayArticles = new Array(Article1, Article2, Article3, Article4, Article5, Article6, Article7);
	
	var today = new Date();
	document.write(weekdayArticles[today.getDay()]);
	
}


function viewPage(url)
{
	var sFeatures
	sFeatures = "height=" + (screen.availHeight - 150) + ",width=" + (screen.availWidth - 50) + ",left=0,top=0,directories=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=1"
	win = window.open(url, "win", sFeatures);

}

