/*NOTE: In order to help this function work properly, on the Web page itself you must do two things:

1) When calling the function in the element's onclick event, use "return:false;" to prevent
   the page from returning to the top when the link is clicked.
2) On the element that's being toggled, use a "style='display:none'".  (This must be done on 
   the page.)  This prevents the element from being visible when the page is loaded.

*/

function toggle(id){
 
    var e = document.getElementById(id);
  
    if(e.style.display == 'none'){
       e.style.display = "block";
    }
    else{
       e.style.display = 'none';

    }   
}