var mess = new Array(
'<img src="images/homepageimage1.jpg" width="425" height="240" alt="" border="0">',
'<img src="images/homepageimage2.jpg" width="425" height="240" alt="" border="0">',
'<img src="images/homepageimage3.jpg" width="425" height="240" alt="" border="0">',
'<img src="images/homepageimage4.jpg" width="425" height="240" alt="" border="0">',
'<img src="images/homepageimage5.jpg" width="425" height="240" alt="" border="0">',
'<img src="images/homepageimage6.jpg" width="425" height="240" alt="" border="0">',
'<img src="images/homepageimage7.jpg" width="425" height="240" alt="" border="0">');
var max = mess.length;
var num = Math.floor((Math.random() * max));
document.writeln(mess[num]);