function createMap(quote, attribution) {
   var map = new Array(2);
   map["quote"] = quote;
   map["attrib"] = attribution;
   return map;
}

$(document).ready(
   function() {
      $('#news')
         .show()            
         .cycle('scrollUp');

      // $('#banners img').show();
      // $('#banners').cycle('fade');

      var quotes = new Array(6);
      quotes[0] = createMap("After several projects working together, I would without hesitation consider and recommend employing Aspiritech's team of software <span class='non-breaking'>testers.",
                            "Ben Prozinski<br/>QA Manager");
      quotes[1] = createMap("[The Aspiritech testers'] ability to work with minimal direction and sometimes under ambiguous circumstances, where requirements may have not been fully defined, was <span class='non-breaking'>appreciated.",
                            "Ben Prozinski<br/>QA Manager");
      quotes[2] = createMap("Working with Aspiritech, we were able to effectively scale up our testing effort and improve the quality in the projects and applications being <span class='non-breaking'>built.",
                            "Ben Prozinski<br/>QA Manager");
                            
      quotes[3] = createMap("I am really impressed by the changes in [my son's] attitude, life skills and mental maturity made through Aspiritech's training.&nbsp; I see these changes due to the uniqueness of Aspiritech's <span class='non-breaking'>training.",
                            "Parent of an Aspiritech tester");
                            
      quotes[4] = createMap("Under such a compassionate working environment, [my son's] honesty and talent in computer technology enables him to accomplish an amazing number of software <span class='non-breaking'>tests.",
                            "Parent of an Aspiritech tester");
                            
      quotes[5] = createMap("The changes I witnessed in [my son] convinced me that Aspiritech is the model that will lead [him], as well other young adults with HFA, to a road of independent living and become productive to <span class='non-breaking'>society.",
                            "Parent of an Aspiritech tester");
                            
      var index = Math.floor(Math.random()*quotes.length);
      var quote = quotes[index];
      
      $("#quote").html(quote["quote"] + "<img src='/images/rquote.png' alt='close quote' style='padding-left:4px'/></span>");
      $("#attribution").html("&mdash; " + quote["attrib"]);
   }
);