# ----------------------Reload All Images----------------------------------------

Reload_All_Images{
statusbar("Reload All Image ");
$s_im =false;
getpref(INT,$pref_Images)==1? $s_im = true:setpref(INT,$pref_Images,1);
$JS_doit="var m=document.images;for (i=0;i< m.length ;i++ ){var sd=m[i].src;m[i].src='';m[i].src=sd;}";&JS_hndlDoc;
$s_im ?0:setpref(INT,$pref_Images,2);

}

ReloadAllImages_BuildToolbar{
#setaccel("CTRL r","macros(Reload_All_Images)");
pluginmsg(toolbars,"AddToolbar","Reload All Images,64,16","");
pluginmsg(toolbars,"AddButton","Reload All Images,Imagereload,macros(Reload_All_Images),,Reload All Images,64,16,ReloadImages.bmp[1],ReloadImages.bmp[0],","");
}

#----------------------------

$OnSetup=$OnSetup."ReloadAllImages_BuildToolbar;";
$macroModules=$macroModules."ReloadImages";
