// JavaScript Document
var theText = new Array() // do not change this
var image = new Array() // do not change this
theText[0] = '"Scrap Gold Brokers was the perfect one-stop shop for my family.  They gave us the security we needed, and the money we wanted. We would be happy to work with them again."<br /> <b>Janet J. -</b> <i>Miami, FL</i> ';
image[0] = "./images/testimonials/testimonials4_06.jpg"; 
theText[1] = '"Scrap Gold Brokers offered me a safe and secure way to send in my unused jewelry and I got my money back lightning fast." <br> <b>Derek C. -</b> <i>Seattle, WA </i> ';
image[1] = "./images/testimonials/testimonial1_06.jpg";  
theText[2] = '"They gave me the money I needed when I needed it. Scrap Gold Brokers gave me a new way to appreciate all of that old jewelry lying around my home." <br> <b>Kathy B. -</b> <i>Sacramento, CA</i> ';
image[2] = "./images/testimonials/testimonials5_06.jpg"; 
theText[3] = '"Not only was I satisfied, but I referred Scrap Gold Brokers to a friend. We both got more money than we expected and all while being treated with respect and honesty." <br> <b>Michael J. -</b> <i>Manchester, NY</i> ';
image[3] = "./images/testimonials/testimonial3_06.jpg"; 
theText[4] = '"Scrap Gold Brokers is great.  They worked with me to make sure I was satisfied and they cared about me as a customer." <br>  <b>Chris C.</b> - <i>Boston, MA</i> ';
image[4] = "./images/testimonials/testimonial2_06.jpg";    
var p = theText.length;
  
var whichText = Math.round(Math.random()*(p-1));
function showText(){
    $('#leftcolumn').css('background-image','url('+image[whichText]+')');
    $("#leftcolumn").append('<div id="testimonialText">'+theText[whichText]+'</div>');
};


  
