var mess = new Array(
'<img src="../images/rand01.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand02.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand03.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand04.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand05.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand06.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand07.jpg" width="160" height="66" alt="" />',
'<img src="../images/rand08.jpg" width="160" height="66" alt="" />');
var max = mess.length;
var num = Math.floor((Math.random() * max));
document.writeln(mess[num]);