annyf
committed
on 29 Jan 05
move query to common file