var how_many_ads = 2; var now = new Date(); var sec = now.getSeconds(); var ad = sec % how_many_ads; ad +=1; if (ad==1) { var msg4="