// if you don't want someone to see the list of compliments then
// stick this script in a .js file 

var compliment = new Array()

// notice the \r to return the line
// you can add as many commpliments as you like, just follow the format.

compliment[0] = "You're looking good today!"
compliment[1] = "You're wonderful."
compliment[2] = "You're doing well, keep it up!."
compliment[3] = "Have you lost weight?"
compliment[4] = "You look like you're going to have a good week."
compliment[5] = "Have you been working out?"
compliment[6] = "You're beautiful."
compliment[7] = "You have things planned out better then you think."
compliment[8] = "You look like you come from good stock."
compliment[9] = "You're kind."
compliment[10] = "You have an honest look about you."
compliment[11] = "There's a glint in your eyes today."
compliment[12] = "You're sexy, with that dangerous edge."
compliment[13] = "I'd vote for you."
compliment[14] = "Lookin' sharp."
compliment[15] = "You look thinner."
compliment[16] = "You look younger every year."
compliment[17] = "Youčre absolutely fascinating."
compliment[18] = "You're strike me as someone who is quite smart."
compliment[19] = "You're looking very attractive today."
compliment[20] = "You've got a wonderful smile."
compliment[21] = "You're a truly terrific person."
compliment[22] = "You're a good person."
compliment[23] = "You've brightened my day."
compliment[24] = "You have very pretty eyes."
compliment[25] = "I think youčre cool just the way you are."
compliment[26] = "You do good work."
compliment[27] = "You're cool."
compliment[28] = "You act younger than your years."
compliment[29] = "You've got a very creative mind."
compliment[30] = "You've got an indominable spirit."
compliment[31] = "The species would be less without you."

count = 0

// I've added a bit of functionality so that it doesn't repeat a compliment
// it then ends with a message
function compliments() {
count++
	if (count == 4) {
	
// this is the message when the compliments are out.
		alert("Like a healthy drug isn't it? Now maybe try giving some compliments out to others.")
		
	 } else {

	 	
	 	var len = compliment.length
		var i = Math.round(Math.random() * (compliment.length - 1)) 
		alert(compliment[i])
		if (i == 0)
			{
			compliment = compliment.slice(1)
			} else {
				if ( i == len ) {
					compliment = compliment.slice(0,compliment.length-1)
					} else {
					compliment = compliment.slice(0,i).concat(compliment.slice(i+1))
					} // end inner if
			} // end outer if
		
		//alert(compliment.length)
	} // end if
	} // end function
