<div id="ok" ></div>
<br/>
<input style="width:64px;" id="init" type="text" value="">
<button type="button" id="ok" onmousedown="reset('')" onclick="leftkolco(i)">Click</button>
<script type="text/javascript">
var i=0;
function reset(a) {
document.getElementById("init").value=a;
}
function leftkolco(i) {//alert(i)
var ring1 = ["картинка", "факт", "0", "0", "0", "0", "0", "0", "1", "0"];
if(i>ring1.length-1){alert("Массив закончился!"); return;}
document.getElementById("init").value= ring1[i];
window.i++;
}
</script>