"Adding Thumbnails" tutorial + upper level

[left][font=Arial]Hi everyone, I’m new here.[/font]
[font=Arial]I tried the [color=black][color=#800080]“Adding Thumbnails” kirupa tutorial[/color], and it worked great (Thank you).[/color][/font]
[font=Arial][color=black]The only problem is that - this page is loaded on another page in the site (the main page). When it opens like this, the thumbnails overlap one another and don’t work.[/color][/font]
[color=black][font=Arial]I know I have to change this line – “target_mc._x = hit_left._x+(this.target_mc._width+5)*k;” but how? I tried many ways but nothing works.[/font][/color]

[font=Arial] [/font][/left]

[color=black][font=Arial][size=2]Thanks in advance:look: [/size][/font][/color]