staff_image = new Array();
ind=0;
staff_image[ind] = '<a href="341.html"><img title="Greig Tosh :: Managing Director" class="tip" src="images/staff-Greig-Tosh-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="352.html"><img title="Alexios Chouchoulas :: Technical Specialist" class="tip" src="images/staff-Alexios-Chouchoulas-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="351.html"><img title="Ali Hall :: Front-End Developer" class="tip" src="images/staff-Ali-Hall-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="741.html"><img title="Darcie Tanner Condie :: Digital Marketing Geek" class="tip" src="images/staff-Darcie-Condie-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="361.html"><img title="Douglas McCormack :: Traffic Manager" class="tip" src="images/staff-Douglas-McCormack-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="342.html"><img title="Greg Rouchotas :: Technical Specialist" class="tip" src="images/staff-Greg-Rouchotas-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="382.html"><img title="James Ferguson :: Designer" class="tip" src="images/staff-James-Ferguson-s.jpg" alt=""  /></a>';
staff_image[ind++]= '<a href="357.html"><img title="Jon Melville :: Content Analyst" class="tip" src="images/staff-Jon-Melville-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="346.html"><img title="Keith Johnston :: Lead Developer" class="tip" src="images/staff-Keith-Johnston-s.jpg" alt=""  /></a>';
staff_image[ind++]= '<a href="353.html"><img title="Kelly Jones :: Head of Content &amp; Marketing Services" class="tip" src="images/staff-Kelly-Jones-s.jpg" alt=""  /></a>';
staff_image[ind++]= '<a href="345.html"><img title="Nigel Percival :: Head of Technical Delivery" class="tip" src="images/staff-Nigel-Percival-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="349.html"><img title="Panos Roupakias :: Java Developer" class="tip" src="images/staff-Panos-Roupakias-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="360.html"><img title="Pauline Harrington :: Account Manager" class="tip" src="images/staff-Pauline-Harrington-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="347.html"><img title="Petteri Hietavirta :: Java Specialist" class="tip" src="images/staff-Petteri-Hietavirta-s.jpg" alt=""  /></a>';
staff_image[ind++] = '<a href="358.html"><img title="Will Price :: Head of Design" class="tip" src="images/staff-Will-Price-s.jpg" alt=""  /></a>';

thumbbegin = '<p class="thumbs">';
thumbend = '</p>';  
    
function randomize(n, Max) {
var a = new Array();
var dealCnt = 0;
while (n > dealCnt) {
var r = 0 + Math.floor(Max*Math.random());
var dupe = null != a[r];
if (!dupe) {
a[r] = 'assigned';
dealCnt++;
}
}


var deal = new Array(n);
var i = 0;
for (key in a) {
if (a[key] == 'assigned') {
  deal[i] = key;
  i++;
}
}
return deal;
}

function drawstaff() {
document.write(thumbbegin);
var index = randomize(6, ind);
for (var i = 0; i < index.length; i++) {
document.write(staff_image[index[i]]);
}
document.write(thumbend);
}
