var testimonial=new Array() 
var author = new Array()
var company = new Array()
var download = new Array()


testimonial[1]="The Durability and engineered design means we regularly remountour Solomon bodies. Now that`s value for money..." 
author[1]="Dave Vaughan"
company[1]="Fleet Engineer, Ginsters"
download[1]="/userfiles/file/CS-Ginsters.pdf"

testimonial[2]="Solomon responded to the timescale pressure we were under and turned 20 vehicles round in record time..." 
author[2]="Stephen Ward"
company[2]="Fleet Engineer, Hollands Pies"
download[2]="/userfiles/file/CS-Hollands.pdf"

testimonial[3]="Our fleet is 100% Solomon. Quality and attention to detail from a company that cares..."
author[3]="Mickey Montague"
company[3]="JJ Foodservice"
download[3]="/userfiles/file/CS-JJ.pdf"

testimonial[4]="I`ve bought Solomon bodies for over 20 years, they offer unrivalled quality and performance." 
author[4]="Bill Mooney"
company[4]="MD, Ruskim Seafoods Ltd"
download[4]="/userfiles/file/CS-Ruskins.pdf"

testimonial[5]="Being more profitable whilst reducing our carbon footprint is very important to us. The solution Solomon provided exceeded our expectations..."
author[5]="Paul Stephens";
company[5]="National Fleet Engineer, Sainsburys"
download[5]="/userfiles/file/CS-Sainsburys.pdf"

testimonial[6]="Solomon listens to our input and designs our bodies to suit our exact operation, reducing damage and saving money"
author[6]="Paul Martin";
company[6]="Managing Director, David Price Foodservice"
download[6]="/userfiles/file/CS-FoodService.pdf"

testimonial[7]="The Solomon refrigerated conversion gives us a great payload with maximum load space"
author[7]="Michael Harris";
company[7]="AF Blakemore"
download[7]="/userfiles/file/CS-Spar.pdf"

testimonial[8]="Fantastic industry leading hygienic van conversion with attention to detail to prevent wear and tear"
author[8]="Bryn Griffin";
company[8]="Openshaws"
download[8]="/userfiles/file/CS-Openshaw.pdf"

testimonial[9]="Quality conversions that are a credit to our fleet and compliment our image perfectly"
author[9]="Philip de Ternant";
company[9]="Creed"
download[9]="/userfiles/file/CS-Creed.pdf"


$(document).ready(function(){
var rand_no = Math.random();
rand_no = rand_no * 9;
rand_no = Math.ceil(rand_no);

var tID = rand_no;

$('#testimonial_txt').text(testimonial[tID]);
$('.author').text(author[tID]);
$('.company').text(company[tID]);
$('#download_testimonial').attr({'href': download[tID]});
$('#testimonial_next').click(function() {
if(tID<9){;
tID++;
}else{;
tID = 1;
};
$('#testimonial').hide();
$('#testimonial_txt').text(testimonial[tID]);
$('.author').text(author[tID]);
$('.company').text(company[tID]);
$('#download_testimonial').attr({'href': download[tID]});
$('#testimonial').fadeIn("slow");
})
});