//JSON description of questions and their options (if any)
var questDB = {
"questions":
	[

	{"question":
		{
		"name":"From",
		"id":"qFrom",
		"type":"text",
		"options":[]
		}//end question properties
	}//end question
	,

    {"question":
		{
		"name":"To",
		"id":"qTo",
		"type":"text list",
		"options":[
    		{"text": "[me]", "value": "me"},
			{"text": "Juan Perez", "value": "jperez"},
			{"text": "Carlos Gomez", "value": "cgomez"},
			{"text": "Mariana Fernandez", "value": "mfernandez"}
		]
		}//end question properties
	}//end question
	,

    {"question":
		{
		"name":"Message body",
		"id":"qMsgBody",
		"type":"text",
		"options":[]
		}//end question properties
	}//end question
	,
	/*
	{"question":
		{
		"name":"Peso (Kb)",
		"id":"qKb",
		"type":"text numeric",
		"options":[]
		}//end question properties
	}//end question
	,
	*/

	{"question":
		{//question properties
		"name":"Category", //name is string
		"id":"qLabel",
		"type":"list",
//			type define si la pregunta tiene opciones ("list"),
//			acepta cualquier cosa ("text"),
//			o ambas a la vez ("list text").
//			Esto es, se pueden declarar varios tipos, con espacios.
//			El JS los ordena alfabeticamente y pone al P q contiene los terminos,
//			un CLASS con los type, x ej:
//				"list text" y "text list" dan ambos
//				class="qype_list_text".

		"options":[//options is an array
			{"text": "Very important", "value": "100"},
			{"text": "Important", "value": "90"},
			{"text": "New", "value": "50"},
			{"text": "Normal", "value": "0"},
			{"text": "Reply", "value": "-10"},
			{"text": "Old", "value": "-20"},
			{"text": "Problems", "value": "-50"},
			{"text": "Spam", "value": "-100"}
			]//end options
		}//end question properties
	}//end question


]//end questions
}// end questDB 


