> Be careful with rand(). look for random(), which has a much longer period and is more useful if you wish to avoid statistical correlations in long sequences of generated values. s. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com