﻿function getRand(range) {
return Math.round(Math.random() * range);
}
ad2 = new Array();
ad2[0] = "<img class='picframe' src='art/homepage-image3.jpg' alt='Random Image' height='240' width='160' border='0' vspace='15' />";
ad2[1] = "<img class='picframe' src='art/homepage-image4.jpg' alt='Random Image' height='240' width='160' border='0' vspace='15' />";
ad2[2] = "<img class='picframe' src='art/homepage-image5.jpg' alt='Random Image' height='240' width='160' border='0' vspace='15' />";
num = getRand(2);

document.write(ad2[num]);
