function toggleVis(elementId,t) {
if(document.getElementById(elementId)){
-if( document.getElementById(elementId).style.visibility == "visible") {
- document.getElementById(elementId).style.visibility = "collapse";
+if( document.getElementById(elementId).style.maxHeight == "600px") {
+ //document.getElementById(elementId).style.visibility = "collapse";
document.getElementById(elementId).style.maxHeight = "1px";
visHash[elementId]=false;
t.innerHTML = " + ";
} else {
- document.getElementById(elementId).style.visibility = "visible" ;
+ //document.getElementById(elementId).style.visibility = "visible" ;
document.getElementById(elementId).style.maxHeight = "600px";
visHash[elementId]=true;
t.innerHTML = " − ";
}
function showElement(elementId) {
if(document.getElementById(elementId)){
- document.getElementById(elementId).style.visibility = "visible" ;
+ //document.getElementById(elementId).style.visibility = "visible" ;
document.getElementById(elementId).style.maxHeight = "600px";
visHash[elementId]=true;
}
}
function hideElement(elementId) {
if(document.getElementById(elementId)){
- document.getElementById(elementId).style.visibility = "hidden" ;
+ //document.getElementById(elementId).style.visibility = "hidden" ;
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.visibility = "collapse" ;
document.getElementById(elementId).style.maxHeight = "1px";
visHash[elementId]=false;
}