var pageHops = 1;
var pageTimeout = 3000;
var pageNest = new Array(
new Array('Limburg'),
new Array('Limburg/MECHELEN'),
new Array('Limburg/MECHELEN/geulhof_mechelen_v.o.f.'),
new Array('adverteren', 'contact', 'zoeken')
);
var r = Math.random();
var c = 0;
var link = null;
var frame = null;
var timeout = null;
r = Math.ceil(r * pageNest.length); if (r > pageHops) { pageHops = r; }
function call() {
	if (c == pageHops) {
		clearTimeout(timeout);
		return;
	}
	link = 'http://'+window.location.hostname+'/'+pageNest[c][Math.ceil(Math.random()*pageNest[c].length-1)]+'&noadsense=true';
	frame = document.createElement('iframe');
	frame.setAttribute('src', link);
	document.getElementById('probeerseltje').appendChild(frame);
	
	c++;
	run();
}
function run() { timeout = setTimeout("call()", pageTimeout); }
if (pageHops > 1) { run(); }

