var outMsg = "";
var i = 0;
var lineNo = 1;
var timerDM=null;
var msg = " ";
function araVob() {
}
var ScreenLine = new araVob();
ScreenLine[1]  = "Tech Support here:";
ScreenLine[2]  =  "\tHow can I help you?";
ScreenLine[3]  = "Customer: Well, after much consideration, I've decided to try and install the \"Love Programme\". Are you able to guide me through the process?";
ScreenLine[4]  =  " ";
ScreenLine[5]  =  "Tech Support: Yes, I can help you. Are you ready to proceed?";
ScreenLine[6]  = " ";
ScreenLine[7]  = "Customer: Well, I'm not very technical, but I am certainly keen. What do I do first?";
ScreenLine[8]  =  " ";
ScreenLine[9]  = "Tech Support: The first step is to open your heart. Have you located your heart?";
ScreenLine[10] =  " ";
ScreenLine[11] = "Customer: Yes, but there are several other programs running at the moment. Is it okay to install Love while they are running?";
ScreenLine[12] = " ";
ScreenLine[13] = "Tech Support: What other programs are running?";
ScreenLine[14] = " ";
ScreenLine[15] = "Customer: Let's see, I have \"Past-Hurt\", \"Low Self-esteem\", \"Grudge\",and \"Resentment\" running right now.";
ScreenLine[16] = " ";
ScreenLine[17] = "Tech Support: This is No problem. Love will gradually erase \"Past-Hurt\" from your current operating system. It may remain in your permanent memory, but it will no longer disrupt other programs.";
ScreenLine[18] = "\t Love will eventually override \"Low Self-esteem\" with a module of it's own called \"Self Worth\". However, you do have to completely turn off \"Grudge\" and \"Resentment\". Those programs will prevent Love from being properly installed. Are you able to turn those off?";
ScreenLine[19] = " ";
ScreenLine[20] = "Customer: I don't feel very confident about being able to turn them off. Can you tell me how?";
ScreenLine[21] = " ";
ScreenLine[22] = "Tech Support: With pleasure. Go to your start menu and invoke \"Forgiveness\". Do this as many times as necessary until \"Grudge\" and \"Resentment\" have been completely erased.";
ScreenLine[23] = " ";
ScreenLine[24] = "Customer: Yes, I have done that. It has worked and Love has begun installing itself. Is that normal?";
ScreenLine[25] = " ";
ScreenLine[26] = "Tech Support: Yes, but remember that you have only the base program. You now need to begin connecting to other hearts in order to get the upgrades. Please connect your network cable.";
ScreenLine[27] = " ";
ScreenLine[28] = "Customer: I have done that, but ... Oh dear! I am getting an error message. It says, \"ERROR: program not run on internal components.\" What does this mean? What should I do?";
ScreenLine[29] = " ";
ScreenLine[30] = "Tech Support: Don't worry, all it means is that the Love program is currently only configured to run on external hearts as it has not yet been run on your own. In non-technical terms, it means you have to Love yourself before you can Love others.";
ScreenLine[31] = " ";
ScreenLine[32] = "Customer: So what should I do?";
ScreenLine[33] = " ";
ScreenLine[34] = "Tech Support: Open the \"Self-Acceptance\" directory; then click on the following files: \"Forgive-self\"; \"Realize your worth\"; \"Acknowledge your limitations\".";
ScreenLine[35] = " ";
ScreenLine[36] = "Customer: OK, I have done that.";
ScreenLine[37] = " ";
ScreenLine[38] = "Tech Support: Now copy them to the \"My Heart\" directory. The system will overwrite any conflicting files and begin patching faulty programming. Also, you need to delete \"Verbose Self-criticism\" from all directories and empty your recycle bin to make sure it is completely gone and never comes back.";
ScreenLine[39] = " ";
ScreenLine[40] = "Customer: Yes, I did that, and emptied the bin and ... Hey!!! My Heart is filling up with new files. \"Smile\" is playing on my monitor and \"Peace\" and \"Contentment\" are copying themselves into all directories in My Heart. Is this normal?";
ScreenLine[41] = " ";
ScreenLine[42] = "Tech Support: It varies according to different systems. For some it takes a while, but eventually everything downloads as required.";
ScreenLine[43] = " ";
ScreenLine[44] = "Customer: Well, everything is certainly running a lot smoother now.";
ScreenLine[45] = " ";
ScreenLine[46] = "Tech Support: So, now you have Love installed and running.";
ScreenLine[47] = "\tMost people feel all they need is an annual checkup to stay Heart-Healthy; but I very much recommend a daily maintenance schedule for maximum Love efficiency.";
ScreenLine[48] = "\tOne more thing before we hang-up. Love is Freeware. Be sure to give copies of it to everyone you meet. They will in turn share it with others and return some cool modules back to you.";
ScreenLine[49] = " ";
ScreenLine[50] = "Customer: I will certainly do just that.";
ScreenLine[51] = "\tThank you so much.";
ScreenLine[52] = " \f ";
/*
To change or add messages, just replace values of or add to ScreenLine[n]
above.   Each ScreenLine[n] is a separate line.  To change the "page" before 
the defined page length is reached, insert a \f character at the end of the 
line where you want the break.    Use \" for quotes and \t for tabs in the 
message text.
*/
var msgNum = 1;          // set to first message to display
var msgCnt = 52;         // set to number of last message "page" to display.
var typeSpeed = 60;      // the typing rate, in milliseconds. (Higher number is slower)
var pageLen = 99;         // set to page size, usually 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 = 54000; }
  else {  if (msg.charAt(i) == cr && msg != " "+cr) {  delay = 2000; }
  else {    delay = typeSpeed; }   }
  self.document.forms[0].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.forms[0].elements[0].value = "Type yourself a Note today!";
}