// var promax = 2;
var i = 0;
function change() {
var i = Math.floor((Math.random() * 100) % promax);
// if (i >= promax) i = 0; i++;
frames["profileplace"].location.href=site[i];
var place = document.getElementById("loaded");
place.innerHTML = " " + (i+1) + "/" + promax + " " + site[i];
// place.innerHTML = site[i];
}
function next() {
//var i = Math.floor((Math.random() * 100) % promax);
if (i >= promax) i = 0;
frames["profileplace"].location.href=site[i];
var place = document.getElementById("loaded");
place.innerHTML = " " + (i+1) + "/" + promax + " " + site[i];
i++;
// place.innerHTML = site[i];
}
function start() {
setInterval(function() {
var k = Math.floor((Math.random() * 100) % promax);
frames["profileplace"].location.href=site[k];
var place = document.getElementById("loaded");
place.innerHTML = " " + (k+1) + "/" + promax + " " + site[k];
},4000);
}
document.write("");
document.write("start / change / next");
document.write("
");
