var i = 0, lineNo = 1, timerDM = null, msg = " ", outMsg = "";
function araVob() {}
var ScreenLine = new araVob();
ScreenLine[1]    = " ";
ScreenLine[2]    = "1. Never before has there been such an entertainer in the great state of Florida. Jenny Rimmer will absolutely amaze you with her world class voice, so strong and clear, you will have to look and listen hard to find her equal on any stage.";
ScreenLine[3]    = " ";
ScreenLine[4]    = "2. Jenny is often referred to in the upper echelons of the music industry as the 'Voice of Country Music'.";
ScreenLine[5]    = " ";
ScreenLine[6]    = "3. She is an Entertainer's Entertainer and anyone who has seen one of her shows will be quick to agree. When her show is over, only then will you come to understand what great talent God gave Jenny Rimmer!";
ScreenLine[7]    = " ";
ScreenLine[8]    = "4. In March 2005 Jenny received the HORIZON AWARD for FEMALE VOCALIST and was awarded FEMALE ENTERTAINER of the YEAR. In 2006 she was awarded FEMALE VOCALIST of the YEAR. by North American Country Music Association International. Jenny is currently working on an all original solo album. There are only good things on the horizon for Jenny Rimmer.";
ScreenLine[9]    = " \f";
ScreenLine[10]    = "5. Jenny has a passion for helping raise funds for the wonderful organizations that provide medical care for all of the unfortunate children in need. For several years she has performed for the patients, their families, and the staff of the Shriner's All Childrens Hospitals, At different events for The Children's Miracle Network, The United Way, and Charlie Daniel's charity The Angelus, Inc. Jenny raised several thousand dollars on her own by providing her promotional cd's and photos for donations from Wal-Mart's Transportation Division. Thanks to all of you who helped Jenny help those wonderful children.";
ScreenLine[11]    = " ";
ScreenLine[12]  = "6. Check out all of Jenny's web site and get to know the woman in this great artist!               (Jimmy Roberts)";
ScreenLine[13]    = " ";
ScreenLine[14]    = " ";
ScreenLine[15]    = " ";
ScreenLine[16]    = " ";
ScreenLine[17]    = " ";
ScreenLine[18]  = "* For Promotional Use Only...   Lyrics and music by the original artists...   Vocals performed by: Jenny Rimmer...   Mixed and recorded at Dr. JR studios...   Re-mastered by Jimmy Roberts *";
ScreenLine[19]  = " \f";
var msgNum 	= 1;	// set to first message to display
var msgCnt 	= 19;	// set to number of last array index
var typeSpeed 	= 50;	// was 70 - the typing rate
var pageLen 	= 34;	// set to number of rows in textarea
var delay		= typeSpeed;
var r		= 0;
var cr		= "\r\n";
if ("3" <=navigator.appVersion.charAt(0)) 
{
	var cr = "\n";
}
for (x = 1; x <= (msgCnt);  x++) 
{
	ScreenLine[x] = ScreenLine[x] + cr;
}
msg = ScreenLine[1];

function DisplayMsg() 
{
	if (msg.length <= i || msg.charAt(i) == "\f") 
	{
    		r = i;
		i = 0;
    		ChangeMsg();
	}
	outMsg = outMsg + msg.charAt(i);
	i++; 
	if (msg.charAt(i) == "\f" || (lineNo == pageLen && i==msg.length)) 
	{
		delay = 4000; 
	}
	else 
	{
		if (msg.charAt(i) == cr && msg != " " + cr) 
		{
			delay = 2000; 
		}
		else 
		{
			delay = typeSpeed; 
		} 
	}
	self.document.msgform.elements[0].value = outMsg;
	timerDM = setTimeout("DisplayMsg()", delay);
}

function ChangeMsg() 
{
	msgNum++;
	if (msgCnt < msgNum) 
	{
		msgNum = 1;
	}
	lineNo++;
	if (pageLen < lineNo || msg.charAt(r) == "\f") 
	{
		outMsg = ScreenLine[msgNum].charAt(i);
		i++;
		lineNo = 1;
	}
	msg = ScreenLine[msgNum];
}

function quitDisplay()
{
	self.document.msgform.elements[0].value = "";
}

function StartMeUp(n)
{
	if (n == 0)
	{
		document.all.bgsnd.src = "audio/WhatThisWomanNeeds_MASTERED.mp3";
	}
}
 
function ShutMeDown()
{
 	document.all.BtnPlay1.style.backgroundColor='';
 	document.all.bgsnd.src = "audio/clink.wav";
}

function movecube()
{
	if (window.createPopup)
		cube.filters[0].apply();

	document.images.cube.src = cubeimage[count].src;
	if (window.createPopup)
		cube.filters[0].play();
	count++;
	if (count == cubeimage.length)
		count = 0;
	setTimeout("movecube()", delayX );
}

