thanks guys but how I can place the bmap (x,y only) using the function. Also I have to be able to change the layer in the function.