﻿var texts = new Array()

texts[1] = "<p align='center'><a href='http://sdi.ac.ir/' target='_blank'><img class='image' title='1' height='140' src='http://www.sdi.ac.ir/upload/randompic/1.jpg' width='180' border='0'></a></p>"

texts[2] = "<p align='center'><a href='http://sdi.ac.ir/' target='_blank'><img class='image' title='2' height='140' src='http://www.sdi.ac.ir/upload/randompic/2.jpg' width='180' border='0'></a></p>"

texts[3] = "<p align='center'><a href='http://sdi.ac.ir/' target='_blank'><img class='image' title='3' height='140' src='http://www.sdi.ac.ir/upload/randompic/3.jpg' width='180' border='0'></a></p>"

texts[4] = "<p align='center'><a href='http://sdi.ac.ir/' target='_blank'><img class='image' title='1' height='140' src='http://www.sdi.ac.ir/upload/randompic/4.jpg' width='180' border='0'></a></p>"


var ry = Math.floor(Math.random() * texts.length)
if (ry == 0) { ry = 1 }

document.write(texts[ry]);
