For loop troubles

Hi, I created this for loop so that I an use it to set the properties for buttons. Starting from img1 - img20. However when I go to click, it always says img20. How do I get it to register each one?

//For loop creates function that can be reused for up down and over states
for(i=1;i<20;i++) {

_root.mcHolder["img"+i].onRelease = function() {
 hImgLoader.loadMovie("http://www.sergprotector.com/glitteration/images/test/img" +* +".jpg");
vImgLoader.unloadMovie();}

}