Alex Frost,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script>
window.onload = function() {
var name = new Array(10);
name[0] = "Vadim";
name[1] = "Sasha";
name[2] = "Slava";
name[3] = "Gleb";
name[4] = "Gosha";
name[5] = "Viktor";
name[6] = "Valya";
name[7] = "Alex";
name[8] = "Vlad";
name[9] = "Sergey";
name[10] = "Kostya";
var surename = new Array(10);
surename[0] = "Petrov";
surename[1] = "Ivanov";
surename[2] = "Kuznechov";
surename[3] = "Kashenko";
surename[4] = "Pushkin";
surename[5] = "Moroz";
surename[6] = "Aksenov";
surename[7] = "Nikolaev";
surename[8] = "Ppovorov";
surename[9] = "Patapenko";
surename[10] = "Popov";
var elem = document.getElementById("show"), i = 0, len = surename.length;
void function f() {
elem.innerHTML = name[ i ] + ' ' +surename[ i ] + '<br>';
i = ++i % len;
window.setTimeout(f, 1000)
}()
};
</script>
</head>
<body>
<div id="show"></div>
</body>
</html>