1. Battery
2. Car Battery Replacement
3. Service Battery/cables
4. Serpentine/Drive Belt Replacement
5. Service Battery/cables
6. xxx

when I clicked on a battery that should appear other items should disappear.

```
 function serviceid(id){
    var searchid=id;
    alert(searchid); 
     i f (searchid!=="")
     {
          if(document.getElementById("myText").value!=="")
          {
              document.getElementById("myText").value+=","+searchid;
              var x = document.getElementById('myText');
              if (x.style.display === 'none') 
              {
                x.style.display = 'block';
                  }
                      else 
                  {
                     x.style.display = 'none';
                  }
        }
        else{
             document.getElementById("myText").value+=searchid;
        }
    }   //document.getElementById("myText").value+=','+searchid;  
    else{
        document.getElementById("myText").value+=searchid;
        alert(document.getElementById("myText").value);
    }
}

```