// preload Text
var numtext = 0;
var text = new Array();

var preJS = "<scr" + "ipt language='javascript'>function openWindow(url) {var temp = window.open(url, 'vlpopup', 'status=yes, width=310,height=275'); };</scr" + "ipt>";

function addtext(strtext)
{
		text[numtext] = strtext;
		numtext++;
}

function disptext()
{
	var indextext=Math.floor(Math.random()*numtext); 
	document.write(preJS);
	document.write(text[indextext]);	
	
}




// Customized to add .swf movie files
function addMovie(movieId, strText)
{
   if (movieId <= 9) { stringId = "0" + movieId; } else {stringId = movieId;};
   txt = "";
   txt = txt + "<a class=cobody href=\"javascript:openWindow('" + pre_dir + "fla/" + stringId + ".htm" + "');\">";
   txt = txt + strText;
   txt = txt + "</a>";

   addtext(txt); 
}









// add text below - DO NOT ADD QUOTATIONS, USE SPECIAL CHARACTERS
// Special Characters:
//	["] = [\"]
/* For example: to Write the following line

	"Who" he said.

   THe appropriate line would be:

   addtext("\"who\" he said.");

 */


addMovie(1, "It’s important to stay well hydrated.");
addMovie(2, "Your vocal folds");
addMovie(3, "Rested position");
addMovie(4, "Bad sounds");
addMovie(5, "Your diaphragm");
addMovie(6, "Register and pitch");
addMovie(7, "Singing with a cold");
addMovie(8, "Form");
addMovie(9, "Reflexive");
addMovie(10, "Throat and neck tension");
addMovie(11, "Your range");
addMovie(12, "Vibrato");
addMovie(13, "A good warm up");
addMovie(14, "A singer’s responsibility");

//addtext("the content goes in here");
