function writeTopImage() {
	aRandomNum = Math.floor(Math.random() * 2);
	document.write('<div id="homepagemain" class="image' + aRandomNum + '">&nbsp;</div>');
}
	
	