var howMany = 5; var outmessage = new Array(howMany+1); outmessage[0]="0" outmessage[1]="1" outmessage[2]="2" outmessage[3]="3" outmessage[4]="4" outmessage[5]="5" function rndnumber(){ var randscript = -1; while (randscript < 0 || randscript > howMany || isNaN(randscript)){ randscript = parseInt(Math.random()*(howMany+1))} return randscript;} quo = rndnumber(); quoz = outmessage[quo]; if(mystatus==9) {document.getElementById('leftdiv').innerHTML += ''+symbols[4] +set_time+"<b><font color=yellow>"+nick_r+'</font><span style="color:'+color_r+';"> <font color="#fff" size="2px"><b>лично вам</b></font> '+ mynick +' : <b>'+quoz+'</b></span></br><span onclick="tonick(\'' + nick_r + ': \')" style="color:rgb(15, 247, 16); cursor: pointer;"></span>';}
#mediains {border: 20px solid #cccccc; border-radius: 20px; box-sizing: border-box;overflow:hidden;}