function toggleDisplay(e){
element = document.getElementById(e);
//if IE
if (element.currentStyle){
 if (element.currentStyle.display=='block') {element.style.display='none';}
 else {element.style.display='block';}
}else{
//if FF
//alert(document.defaultView.getComputedStyle(element,'').display);
 if (document.defaultView.getComputedStyle(element,'').display=='block') {element.setAttribute( 'style', 'display:none');}
 else {element.setAttribute( 'style', 'display:block');}
 }
}