Debes declarar como array la variable heseleccionado
Código:
<SCRIPT language=JavaScript>
heselecionado = new Array()
function alertselected(){
//alert(document.form1.CatIdParent.selectedIndex)
heselecionado='Hijos'+document.form1.CatIdParent.selectedIndex
alert(heselecionado)
![sonriente](http://static.forosdelweb.com/fdwtheme/images/smilies/smile.png)