// RETURN THE HTML ID's
function $(idTag){
	return document.getElementById(idTag);
}


// CLOSE LIST
function closeList(lg) {
	for(i=1;/* PUT HERE THE NUMBER OF LIST TO COLLAPSE */i<=15;i++){
		if ($('list'+lg+i) != null)
			$('list'+lg+i).style.display = 'none';
	}	
}


// LANGUAGE BLOCK HEIGHT CALCULATOR
function langBlockHeight() {
	maxHeight = Math.max($('langBlockFR').clientHeight,$('langBlockNL').clientHeight,$('langBlockEN').clientHeight);
	$('langBlockFR').style.height = maxHeight+'px';
	$('langBlockNL').style.height = maxHeight+'px';
	$('langBlockEN').style.height = maxHeight+'px';
}


// SITEMAP COlLAPSE AND EXPAND
function openList(id){
	if($('list'+id).style.display == 'none'){
		$('list'+id).style.display = 'block';
		$('img'+id).src='/wabxlint/splash/img/bottomArrow.gif';
	}
	else{
		$('list'+id).style.display = 'none';
		$('img'+id).src='/wabxlint/splash/img/rightArrow.gif';
	}
}


