if(document.getElementById(elementId)){
if( document.getElementById(elementId).style.visibility == "visible") {
document.getElementById(elementId).style.visibility = "collapse";
- document.getElementById(elementId).style.maxHeight = "0px";
+ document.getElementById(elementId).style.maxHeight = "1px";
visHash[elementId]=false;
t.innerHTML = " + ";
} else {
function hideElement(elementId) {
if(document.getElementById(elementId)){
document.getElementById(elementId).style.visibility = "hidden" ;
- document.getElementById(elementId).style.maxHeight = "0px";
+ document.getElementById(elementId).style.maxHeight = "1px";
visHash[elementId]=false;
}
}
function collapseElement(elementId) {
if(document.getElementById(elementId)){
document.getElementById(elementId).style.visibility = "collapse" ;
- document.getElementById(elementId).style.maxHeight = "0px";
+ document.getElementById(elementId).style.maxHeight = "1px";
visHash[elementId]=false;
}
}