function toggleSound(){
    sound = !sound;
    $("#sound-toggle").css(
        "background-image",
        sound
            ? "url(" + images.path("iconSoundOn") + ")"
            : "url(" + images.path("iconSoundOff") + ")"
    );
}
// fnc to toggle sound on/off
fnc to toggle sound on/off
fnc to toggle sound on / off
function toggleSound(){
    sound = !sound;
    $("#sound-toggle").css(
        "background-image",
        sound
            ? "url(" + images.path("iconSoundOn") + ")"
            : "url(" + images.path("iconSoundOff") + ")"
    );
}
function toggleSound ( ) { sound = ! sound ; $ ( "#sound-toggle" ) . css ( "background-image" , sound ? "url(" + images . path ( "iconSoundOn" ) + ")" : "url(" + images . path ( "iconSoundOff" ) + ")" ) ; }
fnc to toggle sound on/off
fnc to toggle sound on / off