function Quote( quote, author )
{

  this.text = quote;
  this.author = author;

}  // Quote



var thequote = new Array();

thequote[0] = new Quote( "A daughter who won't lift a finger in the house is the same child who cycles madly off in the pouring rain to spend all morning mucking out stables." ,   "Samantha Armstrong");

thequote[1] = new Quote("A lot of what's about horses is nuts and bolts...If the rider's nuts, the horse bolts.", "The Horse Whisperer");

thequote[2] = new Quote("Horse sense is the thing a horse has which keeps it from betting on people." , "W. C. Fields");

thequote[3] = new Quote( "The horse's memory is second only to the elephant!", "Unknown");


function setQuote( )
{
  var qdobj=document.all? eval('document.all.quotediv') : eval('document.getElementById("quotediv")')  ;
  var classname = "quotetext" ;

  var num = Math.round(Math.random() * (thequote.length-1));

  if ( thequote[num].text.length > 148 ) {               //size tollerence for area quote is in
    clasname="quotetext-sm" ;
  }
  qdobj.innerHTML = '<P CLASS="' +classname+ '">' + thequote[num].text + '<br>-- <span class="bold">' + thequote[num].author + '</span></P>' ;
}  // setQuote


