			// check if a variable has been selected
			function sendForm(num_results) 
			{
				if (num_results > 1)
				{
					if (document.selectForm.selectedDatasettype.value == "Global")
					{
						//document.selectForm.action = "mod_table/table.php";
					}
					
					// set var radio_choice to false
					var radio_choice = false;

					// Loop from zero to the one minus the number of radio button selections
					// If a radio button has been selected it will return true
					// (If not it will return false)
					for (counter = 0; counter < document.selectForm.selectedID.length; counter++)
						if (document.selectForm.selectedID[counter].checked) radio_choice = true; 
				
					// If there were no selections made display an alert box 
					if (!radio_choice)
						alert("Please select a VARIABLE by clicking on one of the circles in front of the variable name.")
					else
					{
						document.selectForm.submit();
					}
				}
				else
					document.selectForm.submit();
			}
