<!--//

/*
 * Got this code from 
 * 		http://johnzeratsky.com/archives/000444.php
 *
 * specifically this page:
 * 		http://zemuweb.com/dump/expandablemenu/
 *
 * modified it so that the associated '+' button would toggle to a '-'
 * 
 * the top two variables should be the only editing that you will need
 * to do in this file.
 *
 */

var path = "/assets/templates/fiveq/images/";
var prefix = "updown_";

function toggleSub(submenu) {
  if (document.getElementById(submenu)) {
    if (document.getElementById(submenu).style.display == 'none') {
        document.getElementById(submenu).style.display = 'block'
        abit      = prefix + submenu;
        arrow     = document.getElementById(abit);
        arrow.src = path + "collapse.gif";
    } else {
        document.getElementById(submenu).style.display = 'none'
        abit      = prefix + submenu;
        arrow     = document.getElementById(abit);
        arrow.src = path + "expand.gif";
    }
  }
}


//-->
