
			//Checks if list is already displayed or not and executes the appropriate statement
		
			function generateList(type)
			{
				if (document.getElementById(type + 'List').style.display != 'none')
				{
					document.getElementById(type + 'List').style.display = 'none';
				}
				else
				{
					document.getElementById(type + 'List').style.display = 'block';
				}
			}
