var how_many_pics_1 = 3;
var now_1 = new Date()
var sec_1 = now_1.getSeconds()
var pic_1 = sec_1 % how_many_pics_1;
pic_1 +=1;

if (pic_1==1) {
pic1="images/oshodi.jpg";

}
if (pic_1==2) {
pic1="images/topimage1_2.jpg";
}
if (pic_1==3) {
pic1="images/topimage1_3.jpg";
}

if (document.getElementById) {
  document.getElementById('rotatepic_1').src = pic1;	
  }
