function updateBackground(newBackgroundImage, newBackgroundColor) {
	elBackground = findObject('backgroundContainer');
	elBackground.style.backgroundImage = "url('http://glsfileserver.greenlightsolutions.nl"+wwwroot+"/images/nav/"+newBackgroundImage+"')";
	elBackground.style.backgroundColor = "#"+newBackgroundColor;
}

function changeMedialist(album, listToShow, mediaType) {
	var i=1;
	while (findObject(mediaType+'List_'+album+'_'+i)!=null) {
		findObject(mediaType+'List_'+album+'_'+i).style.display = (i==listToShow ? '' : 'none');
		findObject(mediaType+'Link_'+album+'_'+i).className = (i==listToShow ? 'inactiveMoreLink' : 'activeMoreLink');
		i++;
	}
}

function delayShowCorrectButton() {
	if (mouseInId[1] || mouseInId[2] || mouseInId[3]) {
		ct_button.style.display = 'none';
		ct_button_f2.style.display = '';
	} else {
		ct_button.style.display = '';
		ct_button_f2.style.display = 'none';
	}
}

function showCorrectButton() {
	setTimeout("delayShowCorrectButton()", '50');
}