function randomNumber(limit){
  return Math.floor(Math.random()*limit);
}

function randomImage()
{
  var N;
  N = randomNumber(4)+1;

document.write('<img src="http://www.aeromech.usyd.edu.au/biomedical/06/common/people/0'+N+'.jpg">');
}