	// AJAX - create HTTP request
	// referenced from StartRequest_ function
		function CreateXMLHttpRequest()
		{
			if (window.ActiveXObject)
		    	{xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");}
		    else if (window.XMLHttpRequest)
		    	{xmlHttp = new XMLHttpRequest();}
		}
		
	// AJAX - start HTTP request
	// referenced from getscreeninfo function
	//get_direct_level.cfm?cat=#qGetCat.cat_code#&award=#award#&awdyr=#awdyr#&awdse=#awdse#&product_code=#p_code#"	
		function StartRequest(cat_code,awd_yr) 
		{
			CreateXMLHttpRequest();
			//alert("Hello");
			if(!xmlHttp)
				return;	
			
			// Build the querystring, pushing the right variables to run the query	
			var querystring = "./include/_getCategoryPrevious.cfm?award=aw&";
			var qsCat = "cat=" + cat_code;
			var qsYear = "&awdyr=" + awd_yr;
			querystring = querystring + qsCat + qsYear
			
			xmlHttp.onreadystatechange = HandleStateChange;
			//alert(querystring);
			
			xmlHttp.open("GET", querystring, true);
		    xmlHttp.send(null);
			
			
		}

		// AJAX - Callback handler
		// referenced from StartRequestfunction
			function HandleStateChange()
			{ 
				if(xmlHttp.readyState == 4)
    				{if(xmlHttp.status == 200)
       	 				{
							//this grabs the data coming back from the query and tells it where (div) to go in the HTML
							document.getElementById("list").innerHTML=xmlHttp.responseText;
						}
    				}
			}
				
