function displayCoordsAfterQuads() {
	/* Only allows the coordinates field in the from to
		be displayed IF a quadrant has been selected */
	
		// Get the value of the selected option
		quad_index = document.create.star_quadrant.selectedIndex;
		quad_selected = document.create.star_quadrant.options[quad_index].value;

		if  (quad_selected == "none" || quad_selected == '') {
			// Warn that no quadrant was selected
			none_msg = document.getElementById('star_chart');
			none_msg.innerHTML = '<span style="color:red;font-weight:bold;">Doh! Please select a quadrant from the list.</span>';
			// Hide the coordinates form field
			document.getElementById('form_coords').style.display = 'none';
			document.getElementById('form_submit').style.display = 'none';
		} else {
			// Show the associated quadrant chart
			current_quad = document.getElementById('star_chart');
			current_quad.innerHTML = '<label for="get_coords">Chart for ' + quad_selected + ':</label> <br /><iframe id="get_coords" name="get_coords" src="get_coords.php?quadrant=' + quad_selected + '" frameborder="0"></iframe></iframe>';
			//current_quad.innerHTML = ' <img src="stars/' + quad_selected + '.jpg" alt="' + quad_selected + '" id="chart_' + quad_selected + '" />';
			// Show the coordinates form field
			document.getElementById('form_coords').style.display = '';
			document.getElementById('form_submit').style.display = '';
		}
	}
	
	
