// DEFINE STRUCTURE FOR AN ARTICLE
function Article( inTitle, inUrl ){
	this.title = inTitle;
	this.url = inUrl;
}


// INITIALIZE ARTICLE ARRAY AND COUNTER
var aryLeaderArticles = new Array();
var articlei = 0;


// POPULATE ARTICLE ARRAY

// ADDED 07/29/09
aryLeaderArticles [articlei++] = new Article("Sanctifying Reason","http://www.ccwtoday.org/article_view.asp?article_id=151");


// ADDED 12/17/08 
aryLeaderArticles [articlei++] = new Article("Beware of Study Bibles","http://www.ccwtoday.org/article_view.asp?article_id=207");
aryLeaderArticles [articlei++] = new Article("Getting John 1:12 Right: Should You Invite Jesus Into Your Heart","http://www.ccwtoday.org/article_view.asp?article_id=209");


// ADDED 10/09/08 
aryLeaderArticles [articlei++] = new Article("Seven Principles of Finance for the Believer","http://www.ccwtoday.org/article_view.asp?article_id=13");
aryLeaderArticles [articlei++] = new Article("You Don't Look So Good","http://www.ccwtoday.org/article_view.asp?article_id=147");

// ADDED 07/15/08 
aryLeaderArticles [articlei++] = new Article("A Mission of Peculiarity: John 17:13-19","http://www.ccwtoday.org/article_view.asp?article_id=163");
aryLeaderArticles [articlei++] = new Article("If God is Good, Why Do So Many Bad Things Happen?","http://www.ccwtoday.org/article_view.asp?article_id=25");

// ADDED 06/02/08 
aryLeaderArticles [articlei++] = new Article("Multi-cultural Glory in the Church: Should We Have Black Churches and White Churches? Or Cowboy Churches?","http://www.ccwtoday.org/article_view.asp?article_id=190");
aryLeaderArticles [articlei++] = new Article("When Ball Becomes Baal","http://www.ccwtoday.org/article_view.asp?article_id=29");

// ADDED 03/31/08 
aryLeaderArticles [articlei++] = new Article("Childhood Conversion","http://www.ccwtoday.org/article_view.asp?article_id=49");
aryLeaderArticles [articlei++] = new Article("Closing With Christ","http://www.ccwtoday.org/article_view.asp?article_id=52");

// ADDED 02/14/08
aryLeaderArticles [articlei++] = new Article("A Clarification Concerning Family Integration and the Meetings of Our Church","believe_position_family_integration.asp");

// ADDED 02/06/08
aryLeaderArticles [articlei++] = new Article("What is the Bible?","http://www.ccwtoday.org/article_view.asp?article_id=93");
aryLeaderArticles [articlei++] = new Article("Should I Say More About Meeting in Homes?","http://www.ccwtoday.org/article_view.asp?article_id=89");

// ADDED 01/04/08
aryLeaderArticles [articlei++] = new Article("The Value of Hanging Out","http://www.ccwtoday.org/article_view.asp?article_id=83");
aryLeaderArticles [articlei++] = new Article("35 Reasons Not to Sin","http://www.ccwtoday.org/article_view.asp?article_id=7");

// ADDED 12/06/07
aryLeaderArticles [articlei++] = new Article("Bible Reading Record","http://www.ccwonline.org/txtfiles/biblere.pdf");
aryLeaderArticles [articlei++] = new Article("Dying With Debt","http://www.ccwtoday.org/article_view.asp?article_id=61");

// ADDED 11/05/07
aryLeaderArticles [articlei++] = new Article("A More Spontaneous and Genuine Evangelism","http://www.ccwtoday.org/article_view.asp?article_id=144");
aryLeaderArticles [articlei++] = new Article("The Negotiables","http://www.ccwtoday.org/article_view.asp?article_id=138");

// ADDED 10/17/07
aryLeaderArticles [articlei++] = new Article("Fiscal Hilarity","http://www.ccwtoday.org/article_view.asp?article_id=77");
aryLeaderArticles [articlei++] = new Article("The Rationale for Wrath","http://www.ccwtoday.org/article_view.asp?article_id=104");
aryLeaderArticles [articlei++] = new Article("The Corrupt Root and Bitter Fruit of Altar Call Evangelism","http://www.ccwtoday.org/article_view.asp?article_id=16");

// ADDED 8/16/07
aryLeaderArticles [articlei++] = new Article("Intentional Doctrinal Imprecision","http://www.ccwonline.org/doctimp.html");
aryLeaderArticles [articlei++] = new Article("The Integrity of the LocalChurch","http://www.ccwtoday.org/article_view.asp?article_id=98");

// ORIGINAL LIST
aryLeaderArticles [articlei++] = new Article("Is Baptism a Requirement for Church Membership?","http://www.ccwtoday.org/article_view.asp?article_id=188");
aryLeaderArticles [articlei++] = new Article("A Critical Review of <I>Misquoting Jesus</I>, by Bart Ehrman","http://www.ccwtoday.org/article_view.asp?article_id=69");
aryLeaderArticles [articlei++] = new Article("Cremation or Burial?","http://www.ccwtoday.org/article_view.asp?article_id=57");
aryLeaderArticles [articlei++] = new Article("Confessionism: The Misuse of 1 John 1:9","http://www.ccwtoday.org/article_view.asp?article_id=55");
aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about The Death of Christ Appendix 3","http://www.ccwtoday.org/article_view.asp?article_id=23");
aryLeaderArticles [articlei++] = new Article("The Rural Church Dilemma","http://www.ccwtoday.org/article_view.asp?article_id=152");
aryLeaderArticles [articlei++] = new Article("How Should We Get a Crowd for the Gospel?","http://www.ccwtoday.org/article_view.asp?article_id=58");

aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about The Death of Christ Appendix 1","http://www.ccwtoday.org/article_view.asp?article_id=21");
aryLeaderArticles [articlei++] = new Article("Reading Our Children: Is There Somebody Alive in There?","http://www.ccwtoday.org/article_view.asp?article_id=170");
aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about The Death of Christ, Part 2: Speaking Biblically","http://www.ccwtoday.org/article_view.asp?article_id=37");
aryLeaderArticles [articlei++] = new Article("Here's the Skinny on <I>Fat Tuesday</I>","http://www.ccwtoday.org/article_view.asp?article_id=129");
aryLeaderArticles [articlei++] = new Article("Pastors Moving to Other Churches: Why?","http://www.ccwtoday.org/article_view.asp?article_id=133");
aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about The Death of Christ","http://www.ccwtoday.org/article_view.asp?article_id=36");
aryLeaderArticles [articlei++] = new Article("An Appeal for the Use of House Churches to Extend Sanctuary-Style Churches","http://www.ccwtoday.org/article_view.asp?article_id=84");

aryLeaderArticles [articlei++] = new Article("The New Gospel: Appealing But Not Revealing","http://www.ccwtoday.org/article_view.asp?article_id=20");
aryLeaderArticles [articlei++] = new Article("Do Hurricanes Just Happen?","http://www.ccwtoday.org/article_view.asp?article_id=94");
aryLeaderArticles [articlei++] = new Article("Getting It","http://www.ccwtoday.org/article_view.asp?article_id=82");
aryLeaderArticles [articlei++] = new Article("Southern Baptists, an Unregenerate Denomination","http://www.ccwtoday.org/article_view.asp?article_id=150");
aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about The Natural Condition of Man","http://www.ccwtoday.org/article_view.asp?article_id=136");
aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about The Natural Condition of Man, Part 2","http://www.ccwtoday.org/article_view.asp?article_id=137");
aryLeaderArticles [articlei++] = new Article("A Critical Review of <I>Your Best Life Now</I>, by Joel Osteen","http://www.ccwtoday.org/article_view.asp?article_id=158");

aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about the Providence of God, Part one","http://www.ccwtoday.org/article_view.asp?article_id=166");
aryLeaderArticles [articlei++] = new Article("Thinking and Speaking Biblically about the Providence of God, Part two","http://www.ccwtoday.org/article_view.asp?article_id=167");
aryLeaderArticles [articlei++] = new Article("Introduction written by Jim Elliff for the book<BR>  <I>Autobiography of George Muller, or, A Million and a Half in Answer to Prayer</I>","http://www.ccwtoday.org/article_view.asp?article_id=135");
aryLeaderArticles [articlei++] = new Article("A Different Style of Evangelist: Laborers on the Loose","http://www.ccwtoday.org/article_view.asp?article_id=64");
aryLeaderArticles [articlei++] = new Article("Comfort for Christian Parents of Unconverted Children","http://www.ccwtoday.org/article_view.asp?article_id=53");
aryLeaderArticles [articlei++] = new Article("Understanding the Death of Christ, part 1","http://www.ccwtoday.org/article_view.asp?article_id=45");
aryLeaderArticles [articlei++] = new Article("Understanding the Death of Christ, part 2","http://www.ccwtoday.org/article_view.asp?article_id=46");


// DISPLAY ARTICLES
function displayLeaderArticles() {
	document.write("<ol>");
	for(var i=0; i<aryLeaderArticles.length; i++)
	{
		//document.write("<tr><td>" + (i+1) + ". &nbsp;<A target=\"_blank\" HREF=\"" + aryLeaderArticles[i].url + "\">" + aryLeaderArticles[i].title + "</A></td></tr>");
		document.write("<li style=\"padding-bottom:5px;\"> <A target=\"_blank\" HREF=\"" + aryLeaderArticles[i].url + "\">" + aryLeaderArticles[i].title + "</A></li>");
	}
	document.write("</ol>");
}

// DISPLAY LEADER ARTICLES
function displayHomepageLeaderArticles() {
	//document.write("<ul>");
	for(var i=0; i<10; i++)
	{
		document.write("<tr><td class=\"homepageArticle\">&nbsp;&nbsp;<img src=\"images/homepage_article_arrow.gif\">&nbsp;<A target=\"_blank\" HREF=\"" + aryLeaderArticles[i].url + "\">" + aryLeaderArticles[i].title + "</A></td></tr>");
		//document.write("<li style=\"background-image: url(images/homepage_article_arrow.gif)  no-repeat ;padding-right:10px;\"> <A target=\"_blank\" HREF=\"" + aryLeaderArticles[i].url + "\">" + aryLeaderArticles[i].title + "</A></li>");
	}
	//document.write("</ul>");
}



//// DISPLAY MEMBER ARTICLES
//function displayHomepageMemberArticles() {
//	for(var i=0; i<3; i++){
//		document.write("<tr><td class=\"homepageArticle\">&nbsp;&nbsp;<img src=\"images/homepage_article_arrow.gif\">&nbsp;<A target=\"_blank\" HREF=\"" + aryLeaderArticles[i].url + "\">" + aryLeaderArticles[i].title + "</A></td></tr>");
//	}
//}



