
function randomHead( num ){
	var imgNum = Math.ceil(Math.random() * num);
	document.write('<style type="text/css">');
	document.write('#randomhead {background-image: url(/images/top_bg_'+imgNum+'.jpg);}');
	document.write('</style>');
}

randomHead(5);
