function toggleFlag(btId, btFlag){
            if (btFlag === true) {
                document.getElementById(btId).className = "list_sub" + " " + "red";}
            else{
                document.getElementById(btId).className = "list_sub" + " " + "green";}
            return !btFlag;

        }
//toggle function to change toggle variable flags
toggle function to change toggle variable flags
toggle function to change toggle variable flags
function toggleFlag(btId, btFlag){
            if (btFlag === true) {
                document.getElementById(btId).className = "list_sub" + " " + "red";}
            else{
                document.getElementById(btId).className = "list_sub" + " " + "green";}
            return !btFlag;
        }
function toggleFlag ( btId , btFlag ) { if ( btFlag === true ) { document . getElementById ( btId ) . className = "list_sub" + " " + "red" ; } else { document . getElementById ( btId ) . className = "list_sub" + " " + "green" ; } return ! btFlag ; }
toggle function to change toggle variable flags
toggle function to change toggle variable flags