Ooops.  This is obviously wrong:

            if (a[i].name = 'editor') {

It should be:

            if (a[i].name == 'editor') {


Mike

Reply via email to