Thanks for the advice Richard, I wasn't aware of that <div> thing. I have found what was upsetting 4.7. It doesn't support swopping properties of the <a> tag: eg. atag.href = swopURL[image] atag.target = swopTarget[image] where atag is the name of the <a> tag. cheers, George.