function loadCats()
		{
			makeAjaxRequest("includes/Help_GetCat.aspx","fillCatList(XML_OBJECT)");
		}

		function loadQuestions(obj)
		{
			makeAjaxRequest("includes/Help_GetQuestions.aspx?cat_id=" + obj.value,"fillQuestions(XML_OBJECT)");
		}

		function fillCatList(xmlObj)
		{
			var categories = xmlObj.selectNodes("//Categories/Category");
			var catCombo = document.getElementById("cat_list");
			for (var i=0;i<categories.length;i++)
				catCombo.options[catCombo.options.length] = new Option(getSingleNode(getNode(categories,i),"Name"),getSingleNode(getNode(categories,i),"ID"));
		}

		function fillQuestions(xmlObj)
		{
			document.getElementById("answer").innerHTML = "";
			var questionsCombo = document.getElementById("questions");
			for (var i=questionsCombo.options.length;i>0;i--)
				questionsCombo.options[i] = null;
			
			var questions = xmlObj.selectNodes("//Questions/Question");
			for (var i=0;i<questions.length;i++)
			{
				questionsCombo.options[questionsCombo.options.length] = new Option(getSingleNode(getNode(questions,i),"Problem"),getSingleNode(getNode(questions,i),"ID"));
				questionsCombo.options[questionsCombo.options.length-1].solution = getSingleNode(getNode(questions,i),"Answer")
			}
		}

		function showSolution(obj)
		{
			document.getElementById("answer").innerHTML = obj.options[obj.options.selectedIndex].solution;
		}
