My Title
...
1st computed value: "/" + @WebDbName
2nd computed value: "/" + @WebDbName + "/iconplus.gif"
function toggleLayer(layerId, iconpath) {
// assumes image is plusminus.gif rollover image
var thisLayer = document.getElementById( layerId );
var thisImg = document.getElementById(layerId + 'img');
if (thisLayer.style.visibility == 'hidden') {
// change icon
thisImg.src= iconpath + '/iconminus.gif';
// display layer
thisLayer.style.visibility = 'visible';
thisLayer.style.display = 'block';
} else {
// hide layer
thisLayer.style.visibility = 'hidden';
thisLayer.style.display = 'none';
// change icon
thisImg.src= iconpath + '/iconplus.gif';
}
}