fires before item deleting
some.attachEvent("onBeforeDelete", function(id){ //... some code here ... //return false to block operation return true; });