
function rotateQuotes1() {
  var q = rotateQuotes1.quotes;
  q = q[Math.floor(Math.random() * q.length)];
  var tr = document.getElementById("textrotator1");
  var uf = unfade(tr, 10, 1, 0);
  tr.innerHTML = q;
  new TimeoutChainer({
    callback: function() {
      var f = fade(tr, 10, 1);
      new TimeoutChainer({
        callback: rotateQuotes1,
        runAfter: f
      });
    },
    delay: 20000,
    runAfter: uf
  });
}

rotateQuotes1.quotes = [

  	"<img src='/images/rotators/thumb/1.jpg' width='75' height='72'>",
  	"<img src='/images/rotators/thumb/2.jpg' width='75' height='72'>",
  	"<img src='/images/rotators/thumb/3.jpg' width='75' height='72'>",
	"<img src='/images/rotators/thumb/4.jpg' width='75' height='72'>"
  
];

rotateQuotes1();

