var path =top.location.host ; path=top.location.protocol+'//'+path; //Please comment the code below if //var dir = top.location.pathname; //dir = dir.substr(dir.indexOf("/")+1); //dir = dir.substr(0,dir.indexOf("/")); //path=path +'/'+dir; var randomnumber=Math.floor(Math.random()*3); var myImage = new Array(); myImage[0] = "
"; myImage[1] = "
"; myImage[2] = "
"; document.write(myImage[randomnumber]);