function gameinput (sender,id,attachedID)

    if sender==30 then
        DeleteResource("tutor0" );    
        DeleteResource("tutor17");
        DeleteResource("tutor");
        setcurentleaf("kabinet",0,0);
    fromtutorial=true
    WaitRender();
    end;

    if sender==6 then
        if from_menu then
            from_menu=false
        --    DelTreeFromMenu("manual")
        else
            clear_satelite_leaf("kabinet");  
        end;
        --DeleteRenderTarget(123321)
    end;

    -- if sender==7 then
        -- StartProgress(151,20,true)
    -- end;    
    
end; 