                    }

                    if (obj.dbError.length > 0) {
                        //alert('error');
                        $$("itemTable").innerHTML = "Error: " + obj.dbError;
                        return;
                    }

                    if (parseInt(obj.listSize) == 0) {
                        //alert('no match');
                        $$("itemTable").innerHTML = "No items match your search";
                        return;
                    }

                    var newR