var type = "images"; var AD = Array(); var a = {}; a = {"linkurl":"https://www.trenki.net/html/special/2017scld/","image":"https://www.trenki.net/uploadfile/2019/1113/20191113112842226.jpg","alt":""}; AD.push(a); a = {"linkurl":"https://www.trenki.net/html/jswmcj/","image":"https://www.trenki.net/uploadfile/2019/1113/20191113112855963.jpg","alt":""}; AD.push(a); var str = ''; for (var i=0;i"; str += ""; if (AD[i].linkurl!='') str += ""; }else if(type == "flash"){ str += ""; str += ""; str += ""; str += ""; str += ""; str += ""; } } if (str!='') str = '
'+str+'
'; document.write(str);