getting DOM errors - cleaning up code
Ah ha - you have to copy the @uimage too
one line if's are cool