	/*
		brief description of one pertinent section of section 508 found on the web.
				
				Software Applications and Operating Systems (1194.21)
		Most of the specifications for software pertain to usability for people with 
		vision impairments. For example, one provision requires alternative keyboard 
		navigation, which is essential for people with vision impairments who cannot 
		rely on pointing devices, such as a mouse. Other provisions address animated 
		displays, color and contrast settings, flash rate, and electronic forms, among 
		others.	
		
	*/
	function compliance()
	{
		var f = document.Form1;
		var c = f.compliance; 
		c.value = "508" // federal code that says this should work without using a mouse
		f.submit() // submits the form
	}
			
	function disableEnter()
	{
			
		document.Form1.compliance.value=""; //set it to an empty string 
		if ((window.event.keyCode == 13) || (window.event.keyCode == 10))
		{
			event.keyCode=0
			//event.returnValue = false;
			//event.cancel = true;
			// These are disabled to prevent the accidental firing of an event
			// associated with a control in the browser.
			// The code that originally handled this worked similiar to a callback method
			// in that it would be called in response to an event occuring on the users machine.
			// In some case the previous arrow would recieve the focus if the user clicked on the 
			// page. Subsequently, when enter is pressed the event of clicking the previous imagebutton
			// is raised and the user goes backwards. Page traversal is still handled using the code-behind
			// technique.
			//window.event.keyCode = 0
			//compliance()
			getNextQuestion()
			
		}
		return false
	}