function doOnLoad() {
	loadBanner();
	document.body.style.display = "";
	if ((document.getElementById('divNewsCont')) && (document.getElementById('divNewsText'))) {
		newsScrollInit();
	}
}


function loadBanner() {
	if (document.getElementById('photo_banner')) {
		var randomNum = (Math.round(Math.random() * 1000) % 3 )+1;
		var fileToLoad = "images/img_maintitle" + randomNum + ".jpg";
		
		document.getElementById('photo_banner').src = fileToLoad;
	}
}

function chgMenuItemBG(inAction) {
	if (inAction == 'fill') {
		document.getElementById('menu_first_item').style.background = "url('images/menu_selectedback_first.png') repeat-x";
	} else if (inAction == 'clear') {
		document.getElementById('menu_first_item').style.background = "";
	}
	
}