
function initArray()
{
this.length=initArray.arguments.length;
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i];
}

function lovelatter(form)
{
var alerted_already;
var remark;
remark=new initArray("The great love that I have for you",
"is gone, and I find my dislike for you",
"grows every day.  When I see you,",
"I do not even like your face;",
"the one thing that I want to do is to",
"look at other girls.  I never wanted to",
"marry you.  Our last conversation",
"was very boring and has not",
"made me look forward to seeing you again.",
"You think only of yourself.",
"If we were married, I know that I would find",
"life very difficult, and I would have no",
"pleasure in living with you. I have a  heart",
"to give, but it is not something that",
"I want to give to you.  No one is more",
"foolish and selfish than you, and you are  not",
"able to care for me and help me.",
"I sincerely want you to understand that",
"I speak the truth. You will do me a favor",
"if you think this the end. Do not try",
"to answer this.  Your letters are full of",
"things that do not interest me.  You have  no",
"true love for me.  Good-bye! Believe me,",
"I do not care for you.  Please do not think that",
"I am still your boyfriend.",
"Please read the letter written below");
alerted_already=false;

var msg1 = "";
var msg;
for (var a = 1; a< 26;a++)
{
msg = remark[a] + "\n";
msg1 = msg1+msg;
form.B3.value = msg1 ;
a++;
}
}

function compute_love(form) 
{
remark=new initArray("The great love that I have for you",
"is gone, and I find my dislike for you",
"grows every day.  When I see you,",
"I do not even like your face;",
"the one thing that I want to do is to",
"look at other girls.  I never wanted to",
"marry you.  Our last conversation",
"was very boring and has not",
"made me look forward to seeing you again.",
"You think only of yourself.",
"If we were married, I know that I would find",
"life very difficult, and I would have no",
"pleasure in living with you. I have a  heart",
"to give, but it is not something that",
"I want to give to you.  No one is more",
"foolish and selfish than you, and you are  not",
"able to care for me and help me.",
"I sincerely want you to understand that",
"I speak the truth. You will do me a favor",
"if you think this the end. Do not try",
"to answer this.  Your letters are full of",
"things that do not interest me.  You have  no",
"true love for me.  Good-bye! Believe me,",
"I do not care for you.  Please do not think that",
"I am still your boyfriend.",
"Please read the letter written below");
alerted_already=false;

        for (var i = 1;i<=remark.length && remark[i]!=form.b1.value ;i++)
		{}
        if (i==remark.length)
                {} 
       if (i==remark.length-1)
{
	form.pushme.value = "";
	var msg1 = "";
	var msg;
	var msg2;
	for (var a = 1; a< 26;a++)
	{
		msg = remark[a] + "\n";
		msg1 = msg1+msg;
	}
	msg2 = msg1+"\n-------------------------------------------------------------"+"\n Friend's "+"\n        the boy wrote this letter to the little girl"+"\n        now if you want to see love in this letter "+"\n        click on this area.";
	form.B2.value=msg2;
}
	if(i<remark.length)

	{
		form.b1.value=remark[i+1];
	}
	else
	{
	form.pushme.value="Click on me again";
	form.b1.value=remark[1];
	}
}
