after the first time the function is executed........if it is reexecuted then the cursor wont show at the right spot.............???????:undecide d