Layers and Listbox Control

I had a post yesterday (http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/f05d09948e35e37685256fbd0075c9fe?OpenDocument) trying to find a workaround for the issue of layers appearing behind combobox and listbox controls.

I have some sample code:

var isActive = false;

function showMenu(fieldName){

  isActive = true;

  document.getElementById(fieldName).style.visibility="hidden";

  document.getElementById("subMenus").style.visibility="visible";

}

function hideMenu(fieldName){

  isActive = false;

  setTimeout('hide(' + fieldName +')',100);

}

function hide(fieldName){

  if(!isActive){

    document.getElementById("subMenus").style.visibility = "hidden";

    document.getElementById(fieldName).style.visibility="visible";

  }

}

“subMenus” is the sample name of the layer. However, I cannot find the name of the layer that I need to place where “subMenus” is. The layer(s) are generated dynamically by JavaScript and I cannot view the source code behind those layers.

I was hoping to view the source code of the layer, but I can’t get that to work. I used the suggestions from other posts I had

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/389f39b1f34ffce885256dcd0071c560?OpenDocument

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/7df94a08ed280c5185256fa8007de569?OpenDocument

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/c3da77f82e58fe8785256fa900352721?OpenDocument

but no luck on any of them.

Is there some code out there that I can use without finding the layer name OR is there a way for me to get the layer ID/name from the dynamically generated layer???

Thanks!

Dan