Page is a not externally linkable
Fotiman - 9:31 pm on Jan 19, 2012 (gmt 0)
What you need is a closure.
For example:
[webmasterworld.com...]
Or
mypics[x].onload = (function (i) {
return function() {
imageheight[i] = mypics[i].height;
};
})(x);