// JavaScript Document
var defaultLoc=1;

var isShowingLocs=true;


function toggleLocs()
{
	isShowingLocs=!isShowingLocs;
	updateChecks();
}

function showLoc(num)

{
	if(!isShowingLocs)
		return;

	hideAllLocs();

	
	if(document.getElementById('loc'+num) != null)
		document.getElementById('loc'+num).style.display='block';
}

function hideAllLocs()

{
	if(!isShowingLocs)
		return;

	var i=1;

	while(document.getElementById('loc'+i)!=null)

	{
		document.getElementById('loc'+i).style.display='none';

		i++;
	}
}

function showDefaultLoc()

{
	showLoc(defaultLoc);

}
