// functions used to get the index info for text description and stories

// this function adds info to the page_info_array[]
function page_info(path, desc){
	this.path=path;
	this.desc=desc;  // this is the path that contains the html description
}

//initialize images
function initPageArray() {
	
		page_info_array[0]  = new page_info("words/Blank.html","words_text/main_words_text.html");
		page_info_array[1]  = new page_info("words/APerfectFit.html","word_text/word-sample1.html");
		page_info_array[2]  = new page_info("words/WhyTheSky.html","word_text/word-sample2.html");
		page_info_array[3]  = new page_info("words/SelfPromo.html","word_text/word-sample3.html");
		page_info_array[4]  = new page_info("words/TheCollar.html","word_text/word-sample4.html");
		page_info_array[5]  = new page_info("words/ToTheCritic.html","word_text/word-sample5.html");
		page_info_array[6]  = new page_info("words/SnowQueen.html","word_text/word-sample6.html");
		page_info_array[7]  = new page_info("words/TheCloudNamer.html","word_text/word-sample7.html");		
}// end initPageArray

function loadPages()
{
	initPageArray();
}


