hint = false;
function Buttons_T(sender,obj_id)
    ButtonTreatment(obj_id,10001,10002,10003,CloseBtnX,CloseBtnY,34,34,sender,"kabinet",false)
end;

function gameinput (sender,obj_id,attachedID)    
Buttons_T(sender,obj_id)
CursorTreatment(obj_id,sender);
  if sender == 100 then
    Block_Show_Cur(false);
  return; end;
  
  
  if sender==30 then
      DeleteResource("d_0002");     
      DeleteResource("d_bg");
      setcurentleaf("kabinet",0,0);
  return;end;

  
  if sender==1 then
    if attachedID~=-1 then
        RemObjFromMouse()
    end;
    
  return;end;
  
end
function SheetSwitched(nCount)
end;