fires after the mode of viewing files has been changed on clicking the Modes button
$$("fmanager").attachEvent("onAfterModeChange", function(){ // your code });