Ah, it starts with 0!
Any way to make it start with 1?
(I have others who will be populating the images, and I'd like to K.I.S.S.)
And how can I also make this change sequential text files on Monday for virtual SSI includes?
I tried this, but it didn't work. I'm sure I've got something totally wrong:
var n, now= new Date(), d= new Date(now.getFullYear(), 0, 0);
while(d.getDay()!== 1) d.setDate(d.getDate()+1);