Flash_On_Toggle{
menuchecked=(getpref(BOOL,"kmeleon.flashblock")==true);
getpref(BOOL,"kmeleon.flashblock")==true?&_Flash_On_Disable:&_Flash_On_Enable;
}

_Flash_On_Enable{
statusbar(sub("%s",$on,_("Flash-Block-On %s")));
setpref(BOOL, "kmeleon.flashblock",true);
setpref(BOOL, "flashblock.silverlight.blocked",true);
}

_Flash_On_Disable{
statusbar(sub("%s",$off,_("Page load Flash-On %s")));
delpref("kmeleon.flashblock");
delpref("flashblock.silverlight.blocked");
}

_Flash_On_BuildMenu{
# tools menu
setmenu(Settings,macro,"Flash-Block-On",Flash_On_Toggle);
}
$OnInit=$OnInit."_Flash_On_BuildMenu;";

$macroModules=$macroModules."Flash_On;";