xpanel("Model parameteres")
	xmenu("Morphology")
		xradiobutton("aged neuron, Aug3a" , "neuron_index = 0" , 1)
		xradiobutton("aged neuron, Aug3c" , "neuron_index = 1")
		xradiobutton("aged neuron, Aug3e" , "neuron_index = 2")
		xradiobutton("aged neuron, Aug3f" , "neuron_index = 3")
		xradiobutton("aged neuron, Aug3g" , "neuron_index = 4")
		xradiobutton("aged neuron, Feb27n" , "neuron_index = 5")
		xradiobutton("young neuron, Dec15e" , "neuron_index = 6")
		xradiobutton("young neuron, Jun7d" , "neuron_index = 7")
		xradiobutton("young neuron, May3d" , "neuron_index = 8")
		xradiobutton("young neuron, May3h" , "neuron_index = 9")
		xradiobutton("young neuron, May3i" , "neuron_index = 10")
		xradiobutton("youn neuron, May3t" , "neuron_index = 11")
	xmenu()
	xmenu("Passive parameters")
		xstatebutton("Use customized passive parameters? Yes/No" , &custPass)
	xmenu()
	xmenu("Model types")
		xradiobutton("Passive model" , "model_index = 0" , 1)
		xradiobutton("Hodgkin-Huxley" , "model_index = 1")
		xradiobutton("modified Traub, baseline" , "model_index = 2")
		xradiobutton("modified Traub, low Na/K" , "model_index = 3")
		xradiobutton("modified Traub, high Ca" , "model_index = 4")	
	xmenu()
	xmenu("Task")
		xradiobutton("apply threshold steps" , "task_index = 0" , 1)
		xradiobutton("compute EPSCs" , "task_index = 1")
		xradiobutton("test firing rate" , "task_index = 2")
		xradiobutton("spaceplots of max voltage and Ca2+" , "task_index = 3")
	xmenu()

	xbutton( "GO!" , "go_button()" )
xpanel(0,100)