// JavaScript Document

//Lean Case Studies Addition

	function inputCaseStudies() {
	
	var caseStudyTitle = new Array();
	var caseStudyDescription = new Array();
	var caseStudyFileName = new Array();
	var leanArticlesTitle = new Array();
	var leanArticlesFileName = new Array();
	var strCaseStudyList = "";
	var strLeanArticlesList = "";



	//Case Studies List
	//Add extra Lean Case Studies here....
	//Remember to increase the index numbers
	//Remember what you type is what everyone will see.
	//caseStudyTitle is the Title of the document.
	//caseStudyDescription is the Description of the document.
	//caseStudyFileName is the name of the File that will open when the link is clicked.  Please enter just the name of the file and do not including the extension (.pdf)
	//All files should be in stored in the pdf directory.  i.e. solutoins/pdf/  Refer to instructions on how to do this.	

	caseStudyTitle[0] = "Vogt Valves Case Study";
	caseStudyDescription[0] = "";
	caseStudyFileName[0] = "VogtCaseStudyOnlineReady08";
	caseStudyTitle[1] = "Johns Manville Case Study";
	caseStudyDescription[1] = "";
	caseStudyFileName[1] = "JohnsManvilleCaseStudyOnlineReady";	
	caseStudyTitle[2] = "Tapco International Imlay City Case Study";
	caseStudyDescription[2] = "";
	caseStudyFileName[2] = "ImlayCityCaseStudyOnlineReady";




	//Lean Articles
	//Again, here please input all the articles under Lean Articles.
	//Remember to increase the index numbers
	//Remember what you type is what everyone will see.	

	leanArticlesTitle[0] = "Illinois Manufacturing Association (IMA) Article - Making the Financial Case for Lean"
	leanArticlesFileName[0] = "PalmTreeInc-IMAMakingtheFinancialCaseforLean08"
	leanArticlesTitle[1] = "Illinois Manufacturing Association (IMA) Article - Manufacturers Recognize the Need for Lean"
	leanArticlesFileName[1] = "PalmTreeInc-IMASurveyArticleOnlineReady08"
	





	//==========================================================================
	//Do not edit below.  Formatting and displaying of list.
	
	strCaseStudyList = "<table border='0' cellspacing='0' cellpadding='0' width='100%'>"
	
	for (var i=0; i < caseStudyTitle.length; i++) {
	
		strCaseStudyList += "<tr><td width='80%'><p>" + caseStudyTitle[i] + "</p></td>"
		strCaseStudyList += "<td width='20%'><p><a href='pdf/" + caseStudyFileName[i] + ".pdf' target='_blank'>view full article</a></p></td></tr>"
		strCaseStudyList += "<tr><td width='80%'><p>" + caseStudyDescription[i] + "</p></td>"
		strCaseStudyList += "<td><img src='../images/blank.gif' width='1' height='1'></td></tr>"
		
	}
	
	strCaseStudyList += "</table>"
	strLeanArticlesList = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>"
	
	for (var x=0; x < leanArticlesTitle.length; x++) {
	
		strLeanArticlesList += "<tr><td width='80%'><p>" + leanArticlesTitle[x] + "</p></td>"
		strLeanArticlesList += "<td width='20%'><p><a href='pdf/" + leanArticlesFileName[x] + ".pdf' target='_blank'>view full article</a></p></td></tr>"
	}
	
	strLeanArticlesList += "</table>"
	
	
	document.all("addCaseStudies").innerHTML = strCaseStudyList;
	document.all("addLeanArticles").innerHTML = strLeanArticlesList;
	
	
	}
