var myArray18 = []; myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); myArray18.push(''); var rnd18 = Math.floor(Math.random() * (99 - 10)) + 10; var elm18 = 'ad18'+rnd18; document.write("
"); moreSnow18(elm18); setInterval("moreSnow18(elm18)", 10000); function moreSnow18(elmnt) { var item = myArray18[Math.floor(Math.random()*myArray18.length)]; //document.write(item); var x=document.getElementById(elmnt); x.innerHTML = item; //alert(item); } //document.write('');