var aAccolades = new Array();

function registerAccolade( sAccolade )
{
	if( aAccolades.length != 0 )
		hideLayer( sAccolade );
	
	aAccolades.push( sAccolade );	
}

function showAccolade( sAccolade )
{
	for( var nIndex = 0; nIndex < aAccolades.length; nIndex++ )
	{
		if( aAccolades[ nIndex ] == sAccolade )
			showLayer( aAccolades[ nIndex ] );
		else
			hideLayer( aAccolades[ nIndex ] );
	}
}

var aLocations = new Array();

function registerLocation( sLocation )
{
	if( aLocations.length != 0 )
		hideLayer( sLocation );
	
	aLocations.push( sLocation );	
}

function showLocation( sLocation )
{
	for( var nIndex = 0; nIndex < aLocations.length; nIndex++ )
	{
		if( aLocations[ nIndex ] == sLocation )
			showLayer( aLocations[ nIndex ] );
		else
			hideLayer( aLocations[ nIndex ] );
	}
}