function MadLibByTsD_texts(textN, TextOrSpeech) {

// This function can be used to create different hiden texts for the player
// and play with the text in the coresponding case "textN"
// NOTE!!! Please note that we need to have blank space betweeen each word or sign in the text as well as the speach parts!!!
// You can include new lines in you text by adding the special string "\n" where you want the new line in the text
// You can only have 1 new line at a time. 

var TextStr="";
var SpeechStr="";
	switch(textN) {
		case 1 :
			TextStr += "For the MadLib game : \n";			/* Note Here i have "\n" and this will apear in the output. You do not need to add this in the speech parts They always gets the same new lines as the text */
			TextStr += "I have created a version that first gives the option to the user ";
			TextStr += ", whether to play with a pre-inserted hidden text , or to enter his own . ";  
			TextStr += "After this the game asks the user to enter how many words to be substituted ";
			TextStr += "making sure that the user will enter only number and this number will not be ";
			TextStr += "greater than the number of different words in the text ( explained below ) . \n";
			TextStr += "The script than generates text boxes , where the user can enter the words to be "; 
			TextStr += "changed respectively . The script also generates random words to be substituted every time ";
			TextStr += "the user starts the game . I have also created text area where the player can enter ";
			TextStr += "his own text and he also has to enter in another text area the corresponding speech ";
			TextStr += "parts including the signs .\n All in both places separated by , ( space ) , or ( tab ) , or ( newline ) . ";
			TextStr += "This is nicely explained in the exapmle below ";
			
			/*
			TextStr += "By this , I mean that , if for example , we have the sentence : ";
			TextStr += "- I like JavaScript , but I like C++ better ! - ";
			TextStr += "The user has to enter in the Text : ";
			TextStr += "I like JavaScript , but I like C++ better ! ";
			TextStr += "And the speech parts : ";
			TextStr += "pronoun verb name sign conjugation pronoun verb name adjective sign ";
			TextStr += "These rules must be followed , because the game that I developed is creating 2 arrays ";
			TextStr += "from the text strings and the speech parts respectively , where each element of the first ";
			TextStr += "array is the corresponding word from the text string , and each element of the second array ";
			TextStr += "is the corresponding word from the speech parts string . I need these arrays so I can implement ";
			TextStr += "the random words effect . I have to mention here that I also decided , for my version of MadLib , ";
			TextStr += "that when generating random words to be substituted , I will make sure that no word from the text ";
			TextStr += "that is repeated will not be given to the user to substitute more than once . Also , once the user ";
			TextStr += "enters the new word , it will be changed in each place of the text where it is repeated . ";
			TextStr += "Additionally , I have decided that I will give the option to the user to substitute the - signs - . "; 
			TextStr += "I could change this behavior easily in my  -DiffOnly-  function described in the - hw2.js - file , "; 
			TextStr += "but I decided that it will be even more fun if the player is given the option to substitute the signs . ";
			TextStr += "Finally all the rules required from the assignment question are implemented . I have also included  ";
			TextStr += "additional explanations of how exactly the different buttons works on the actual game page works .  ";
			*/


			SpeechStr += "preposition preposition name noun sign ";
			SpeechStr += "pronoun verb verb_past_tense indefinite_article noun preposition noun intransitive_verb definite_article noun preposition definite_article noun ";
			SpeechStr += "sign conjugation preposition verb preposition indefinite_article adjective verb_past_participle noun sign conjugation preposition verb pronoun adjective sign ";
			SpeechStr += "preposition pronoun definite_article noun intransitive_verb definite_article noun preposition verb conjugation adjective noun_plural preposition verb transitive_verb ";
			SpeechStr += "transitive_verb adjective preposition indefinite_article noun auxiliary_verb verb adverb noun conjugation pronoun noun auxiliary_verb noun verb ";
			SpeechStr += "adjective conjugation definite_article noun preposition adjective noun_plural preposition definite_article noun opening_brace transitive_verb preposition closing_brace sign ";
			SpeechStr += "definite_article noun conjugation intransitive_verb noun noun_plural sign conjugation definite_article noun auxiliary_verb verb definite_article noun_plural preposition verb ";
			SpeechStr += "transitive_verb adverb sign definite_article noun conjugation intransitive_verb adjective noun_plural preposition verb transitive_verb adjective noun ";
			SpeechStr += "definite_article noun intransitive_verb definite_article noun sign pronoun verb conjugation verb_past_tense noun noun conjugation definite_article noun auxiliary_verb verb ";
			SpeechStr += "pronoun adjective noun conjugation pronoun  conjugation  intransitive_verb preposition verb preposition adjective noun noun definite_article adjective noun ";
			SpeechStr += "noun_plural transitive_verb definite_article noun_plural sign pronoun preposition adjective noun_plural transitive_verb preposition sign opening_brace noun closing_brace sign preposition opening_brace noun closing_brace sign preposition opening_brace noun closing_brace sign ";
			SpeechStr += "adjective verb adverb transitive_verb preposition definite_article noun preposition ";
			
			/*
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			SpeechStr += "
			*/

		break;

		case 2 :
				
			TextStr+="I like JavaScript , but I like C++ better ! \n"; 					/* NOTE!!! here how we have blank space after the last part */
			TextStr+="The rules must be followed correctly .";						/* We do not need blank at the end, but even if we have it is not a problem */
			
			SpeechStr+="pronoun verb name sign conjugation pronoun verb name adjective sign "; 		/* NOTE!!! here how we have blank space after the last part */
			SpeechStr+="definite_article noun_plural verb verb transitive_verb adverb full_stop";  		/* NOTE!!! here how we the speech parts composed of two words written as one */
			
		break;


		default :
			if (TextOrSpeech=="T") {alert("There is no text number: "+textN);}
			if (TextOrSpeech=="S") {alert("There is no speech part for text number: "+textN);}
	}

if (TextOrSpeech=="T") {return TextStr;}
if (TextOrSpeech=="S") {return SpeechStr;}

}	