function getRandom() {
	return Math.floor(Math.random() * 6 + 1);
}

window.onload = function() {
	var element = document.getElementById("topimage");
	element.src = "images/top_0" + getRandom() + ".jpg";
}
