var imgs = new Array(); var links = new Array(); var alts = new Array();
var imgcnt = 0; var thisimg = 0;


links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Rail.aspx';
imgs[imgcnt] = '../images/homepage/Rail-722x255.jpg';
alts[imgcnt] = "Tarmac's innovative products for the rail sector.";


imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/sustainability';
imgs[imgcnt] = '../images/homepage/Sustain-722x255.jpg';
alts[imgcnt] = "Tarmac's Sustainability Report 2008/09";

imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Waste.aspx';
imgs[imgcnt] = '../images/homepage/Waste-722x255.jpg';
alts[imgcnt] = "Tarmac's products for the waste sector helping you to save money.  Cost effective solutions for heavy duty applications.";

imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Coastal.aspx';
imgs[imgcnt] = '../images/homepage/Coastal-722x255.jpg';
alts[imgcnt] = "Tarmac's coastal products - products to help you tame the power of the sea.";


imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Supermarkets.aspx';
imgs[imgcnt] = '../images/homepage/Retail-722x255v2.jpg';
alts[imgcnt] = "Tarmac's effective solutions for time-sensitive retail projects.";

imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Schools.aspx';
imgs[imgcnt] = '../images/school-722x255.jpg';
alts[imgcnt] = "Tarmac and Building schools for the future.";

imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Products.aspx';
imgs[imgcnt] = '../images/homepage/homepage722x255b.jpg';
alts[imgcnt] = "Tarmac sectors include Retail, Coastal, Rail, Waste, Schools, and Health and Education.";

imgcnt++;
links[imgcnt] = 'http:\/\/www.tarmac.co.uk\/Products.aspx';
imgs[imgcnt] = '../images/homepage/homepage722x255b.jpg';
alts[imgcnt] = "Tarmac sectors include Retail, Coastal, Rail, Waste, Schools, and Health and Education.";



function rotate() {
if (document.images) {
thisimg++;
if (thisimg >= imgcnt) thisimg = 0;
document.rollimg.src = imgs[thisimg];
document.rollimg.alt = alts[thisimg];
document.getElementById('rolllink').setAttribute('href', links[thisimg]);
setTimeout("rotate();",10000);
}
}
setTimeout("rotate();",10000); 

