  In a cosmological context dust has been always poorly understood. That is
true also for the statistic of GRBs so that we started a program to understand
its role both in relation to GRBs and in function of z. This paper presents a
composite model in this direction. The model considers a rather generic
distribution of dust in a spiral galaxy and considers the effect of changing
some of the parameters characterizing the dust grains, size in particular. We
first simulated 500 GRBs distributed as the host galaxy mass distribution,
using as model the Milky Way. If we consider dust with the same properties as
that we observe in the Milky Way, we find that due to absorption we miss about
10% of the afterglows assuming we observe the event within about 1 hour or even
within 100s. In our second set of simulations we placed GRBs randomly inside
giants molecular clouds, considering different kinds of dust inside and outside
the host cloud and the effect of dust sublimation caused by the GRB inside the
clouds. In this case absorption is mainly due to the host cloud and the
physical properties of dust play a strong role. Computations from this model
agree with the hypothesis of host galaxies with extinction curve similar to
that of the Small Magellanic Cloud, whereas the host cloud could be also
characterized by dust with larger grains. To confirm our findings we need a set
of homogeneous infrared observations. The use of coming dedicated infrared
telescopes, like REM, will provide a wealth of cases of new afterglow
observations.
