function Suggest1Cats()
{this.makeList=function(aj)
{var x;
var k=0;
var s=document.getElementById(this.inputId);
if(aj.readyState==4&&(aj.getStatus()==200||aj.getStatus()==304)){
	aj.suggestionMaker.categories=new Array();
	x=aj.getXML().documentElement.childNodes;
	for(k=0;k<x.length;k++){
		if(x[k].nodeName=='category'){
			aj.suggestionMaker.categories[aj.suggestionMaker.categories.length]=(typeof x[k].text=='string'?x[k].text:typeof x[k].textContent=='string'?x[k].textContent:typeof x[k].nodeValue=='string'?x[k].nodeValue:typeof x[k].innerText=='string'?x[k].innerText:null);}}
for(k=0;k<aj.suggestionMaker.categories.length;k++){
s.options[s.options.length]=new Option(aj.suggestionMaker.categories[k],aj.suggestionMaker.categories[k]);}}}
this.sendRequest=function()
{Suggest1Cats.prototype.sendRequest('cats=1','GET');}
Suggest1Cats.prototype.responseHandler=this.makeList;}

Suggest1Cats.prototype=new SuggestionMaker('categorySelect','categorySelect','suggest.php',false);

