creating objects in for loop javascript
===

I hope you can help me with this hopefully stupid problem.
I try to do the following:
* creating array with data
* looping through this array within a for loop (based on array.length)
* create new object based on data in array

So far I got the following:
* create array
* loop through array
* create one object based on my constructor

The problem is, the array has a length of 4 and should therefore create 4 objects but it creates only one. If I remove the creation of the object and just log "i' it works, but in the original intention it ends after the first
The loop looks as follows:

    for(i=0;i<array.length;i++)
			{
			newObj[i]=new ObjectName(array[i].param1,array[i].param2,array[i].param3)
			}

I have no idea why it ends after the first run and I also don't get an error displayed when looking into firebug.

Cheers