function include(pURL) {
   	xmlHttp=GetXmlHttpObject();
    if (xmlHttp==null)
  	{
  		alert ("Your browser does not support AJAX!");
  		return;
  	} 
	xmlHttp.onreadystatechange=postFileReady;
	xmlHttp.open('GET',pURL,true);
	xmlHttp.send(null);
}
function GetXmlHttpObject()
{
  var xmlHttp=null;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    }
  return xmlHttp;
}

// function to handle asynchronous call
function postFileReady() {
   if (xmlHttp.readyState==4)
	{ 
		var str=xmlHttp.responseText.split("\n");
		for(i=0; i < str.length - 1; i++) {
			var newitem=str[i].split("=>");
			addOption(document.getElementById("catid"),newitem[1],newitem[0],newitem[2]);
		}
	}
}
function addOption(selectbox,text,value,enabled)
{
	var optn = document.createElement("OPTION");
	optn.text = text;
	optn.value = value;
	if(parseInt(enabled)==0)
	{
		optn.disabled=true;
	}
	selectbox.options.add(optn);
}


