// blocking()
// Source: www.xs4all.nl/~ppk

var supported = (document.getElementById || document.all);

if (supported)
{
	document.write("<style type='text/css'>");
	document.write(".dropdown { display:none; }");
	document.write(".answer { display:none; }");
	document.write("</style>");

	var max = 100;
	var shown = new Array();

//	for (var i=1;i<=max;i++)
//	{
//		shown[i+1] = false;
//	}

}



function blocking(name)
{
	
	if (!supported)
	{
		alert('This link does not work in your browser.');
		return;
	}
	
	var section = '"' + name + '"';
	
	
	shown[section] = (shown[section]) ? false : true;
	

	current = (shown[section]) ? 'block' : 'none';
	

	if (document.getElementById)
	{
		document.getElementById(name).style.display = current;
	}
	else if (document.all)
	{
		document.all[name].style.display = current;	
	}

}
