<!--

var MD_BoxOne_ChooseProj_AutoMode = true;

function MD_BoxOne_ChooseProj(whatItem, setAutoMode) {

	if(!setAutoMode) {
		MD_BoxOne_ChooseProj_AutoMode = setAutoMode;
	}
	
	if(setAutoMode && !MD_BoxOne_ChooseProj_AutoMode) {
		return false;
	}
	
	document.getElementById('BoxOneSplash_1').style.display = 'none';
	document.getElementById('BoxOneSplash_2').style.display = 'none';
	document.getElementById('BoxOneSplash_3').style.display = 'none';
	document.getElementById('BoxOneSplash_' + whatItem).style.display = 'block';		
	
	document.getElementById('BoxOneSplash_Numeral_1').className = 'thispage-box-one-header-numbers';
	document.getElementById('BoxOneSplash_Numeral_2').className = 'thispage-box-one-header-numbers';
	document.getElementById('BoxOneSplash_Numeral_3').className = 'thispage-box-one-header-numbers';
	document.getElementById('BoxOneSplash_Numeral_' + whatItem).className = 'thispage-box-one-header-selectednumber';		

	if(MD_BoxOne_ChooseProj_AutoMode) {
	
		var nextNum = new Number(whatItem);
		if(nextNum >= 3) {
			nextNum = 1;
		} else {
			nextNum += 1;
		}
		
		setTimeout('MD_BoxOne_ChooseProj(\'' + nextNum + '\', true)', 5000);
		
	}
	
}

function boxOver(src, act) {
	if(act == 0) { src.style.backgroundColor = '#F8F8F8';src.style.borderColor = '#CCCCCC'; }
	if(act == 1) { src.style.backgroundColor = '';src.style.borderColor = ''; }
}

function MD_AdjustSplashVSpace() {

	var clheight;
	var contheight;
	
	try {
		clheight = MD_GetClientSize()[1];
		contheight = document.getElementById('page-container').offsetHeight;
	} catch(ex) {
		clheight = 0;
		contheight = 0;
	}

	if(clheight != 0 && contheight != 0) {
		if(clheight > contheight) {
			var freespace;
			freespace = clheight - contheight;
			if(document.getElementById('page-header-toptab')) {
				document.getElementById('page-header-toptab').style.marginBottom = (freespace/2) + 'px';
			}
		}
	}

}

-->