/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Sandeep Gangadharan | http://sivamdesign.com/scripts/ */
var text = 0;

var message=new Array();
  message[0] = "To ensure you receive these email updates, please add support@pairzone.com  to your email address book now."
  message[1] = "\"A kiss is a lovely trick, designed by nature, to stop words when speech becomes superfluous.\" --Ingrid Bergmen  <a href=\"http://www.1-love-quotes.com/love_quotes_top_100.htm\" target=\"_blank\">www.1-love-quotes.com</a>"
  message[2] = "\"My night has become a sunny dawn because of you.\" --Ibn Abbad <a href=\"http://www.1-love-quotes.com/love_quotes_top_100.htm\" target=\"_blank\">www.1-love-quotes.com</a>"
  message[3] = "\"In real love you want the other person's good. In romantic love you want the other person.\" --Margaret Anderson<br><a href=\"http://www.1-love-quotes.com/love_quotes_top_100.htm\" target=\"_blank\">www.1-love-quotes.com</a>"
  message[4] = "\"In dreams and in love there are no impossibilities.\" --Janos Arnay <a href=\"http://www.1-love-quotes.com/love_quotes_top_100.htm\" target=\"_blank\">www.1-love-quotes.com</a>"
  message[5] = "\"Each moment of a happy lover's hour is worth an age of dull and common life.\" --Aphra Behn <a href=\"http://www.1-love-quotes.com/love_quotes_top_100.htm\" target=\"_blank\">www.1-love-quotes.com</a>"
  message[6] = "To ensure you receive these email updates, please add support@pairzone.com  to your email address book now."
  

function changeText() {
  if (message.length > 0) {
  //  document.change.descript.value=message[text];
	document.getElementById('test').innerHTML = message[text];
    text++;
  }
  if (text == 7) {text = 0; }  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 3500); }  // change the # on the left to adjust the speed of the
                                               // scroll. The smaller the # the faster the speed

// Multiple onload function created by: Simon Willison
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  changeText();
});



