I got it now. Works like a charm.

This makes AC go into the realm of artificial intelligence.

Thanks a bunch.
I have posted at Emrupdate.com about this.
http://www.emrupdate.com/forums/thread/64510.aspx

Last edited by joseph2; 03/31/2007 5:06 PM.