/**
* simpleToggle.js
* ---------------
* This is just a very simple javascript to toggle
* an element in an HTML. Just provide the id of it,
* it works seamlessly.
* 
* This was written to reveal an riddle in my Blog. :)
* Feel free to use it
* 
* (written in 2007-07-05)
*
* @author Koala Yeung
*/

function simpleToggle(Id) {
  if (document.getElementById(Id).style.display=='') {
    document.getElementById(Id).style.display='none';
  } else {
    document.getElementById(Id).style.display='';
  }
}
