Thanks mark, but I think that g_anaeig calculates the degree of overlap then what method would you use to calculate this?<br clear="all"><br>-- <br>Pawan