/* Test for Tag=img and Event=onbeforeactivate */