fires before a sheet is opened
$$("ssheet").attachEvent("onBeforeSheetShow", function(name){ // some code here });
Returning false in the handler function will block the operation.