First of all i've no skill into Javascript and english is not my language ! So be indulgent...

Well, i would like to rename a bunch of files like this :
what i have > tile_00001.jpg, tile_00002.jpg... up to tile_00153.jpg
renamed in > tile_x=001&y=001.jpg, tile_x=001&y=002.jpg... up to tile_x=001&y=153.jpg
AND After that
tile_00154.jpg, tile_00155.jpg... up to tile_00306.jpg
renamed in > tile_x=002&y=001.jpg, tile_x=002&y=002.jpg... up to tile_x=002&y=153.jpg
AND so on... (every 153 th)
In another way to say it, i want :
X=001 and Y=001....to.... Y=153
and
X=002 and Y=001...to...Y=153
and
X=003 and Y=001...to...Y=153
and so on...
Does someone can help me ?
Thanks.