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')
      //   .show()
      //   .cycle('fade');

      var quotes = [];
      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");
                                                        
      quotes[6] = createMap("The Aspritech [team's] report was so comprehensive that by the time we worked through the issues we felt the product was absolutely ready for our <span class='non-breaking'>customers.",
                            "Daniel E. Tedesco, Esq.<br/>Founder &amp; CEO<br/>HandHold Adaptive, LLC");
                            
      quotes[7] = createMap("Without hesitation, I would recommend Aspiritech for testing of any consumer facing software product or <span class='non-breaking'>service.",
                            "Daniel E. Tedesco, Esq.<br/>Founder &amp; CEO<br/>HandHold Adaptive, LLC");
                            
      quotes[8] = createMap("Aspiritech... allows us to push out more technology faster.&nbsp; That really allows us to scale our QA and QC resources up and down based on where we are in our product development lifecycle, and do it very efficiently.",
                            "David Fisher<br/>CEO, OptionsXpress");

      quotes[9] = createMap("Aspiritech was on time and on budget with every item required during the time that we worked together.",
                            "Sara Winter<br/>Founder, squag.com");

      quotes[10] = createMap("[Aspiritech] communicated seamlessly and effectively with my developers so I could spend my time doing the things I needed to do to launch my business.",
                            "Sara Winter<br/>Founder, squag.com");
                            
      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"]);
   }
);
