Number is a keyword (or type) in JS so I wouldn't use that as a variable name.
So width is an array but height isn't? Personally, I would not use width or height as identifiers either.
check that width[i] is a number, rather than a string or something else, so that it can be ADDED to sourcepointer.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity
." Me Myself & Irene
Validate your HTML
Last edited by AndrewGSW; 11-17-2012 at 08:31 PM..